/* ===== COURSE DETAIL PAGE STYLES ===== */

.problems-section {
  background-color: #ffffff;
  /* Even more accurate scattered question marks */
  background-image:
    url("data:image/svg+xml,%3Csvg width='300' height='300' viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='40' y='150' font-family='Arial' font-size='140' fill='%23f8fafc' font-weight='900' transform='rotate(-20 40 150)'%3E?%3C/text%3E%3Ctext x='210' y='250' font-family='Arial' font-size='90' fill='%23f1f5f9' font-weight='900' transform='rotate(15 210 250)'%3E?%3C/text%3E%3Ctext x='240' y='80' font-family='Arial' font-size='60' fill='%23f3f4f6' font-weight='900' transform='rotate(5 240 80)'%3E?%3C/text%3E%3Ctext x='150' y='60' font-family='Arial' font-size='40' fill='%23f8fafc' font-weight='900' transform='rotate(-10 150 60)'%3E?%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
  padding: 80px 0;
}

/* Desktop: 1170px container alignment */
@media (min-width: 1200px) {
  .problems-section .container {
    max-width: 1170px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

.problems-title {
  color: #0d2c49;
  font-weight: 600;
  font-size: 2.22rem;
  margin-bottom: 70px;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.5px;
}

.problems-list {
  max-width: 100%;

}

.problem-item {
  display: flex;
  align-items: center;
  /* Vertically center card with its list block */
  margin-bottom: 35px;
  width: 100%;
}

.problem-card-wrapper {
  flex: 0 0 50%;
  /* Default */
  max-width: 70%;
}

.problem-item-01 .problem-card-wrapper {
  flex: 0 0 55%;
}

.problem-item-02 .problem-card-wrapper {
  flex: 0 0 40%;
}

.problem-item-03 .problem-card-wrapper {
  flex: 0 0 45%;
}

.problem-item-04 .problem-card-wrapper {
  flex: 0 0 48%;
}

.problem-item-05 .problem-card-wrapper {
  flex: 0 0 42%;
}

.problem-item-06 .problem-card-wrapper {
  flex: 0 0 48%;
}

.problem-card {
  background: linear-gradient(to right, #f1f8ff 75%, rgba(241, 248, 255, 0) 100%);
  border-radius: 20px;
  padding: 15px 35px;
  display: flex;
  align-items: center;
  gap: 25px;
  width: 100%;
}

.problem-number {
  width: 80px;
  height: 80px;
  background-color: #ffb703;
  color: #1a1a1a;
  font-size: 44px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Montserrat', sans-serif;
  box-shadow: 0 4px 12px rgba(255, 183, 3, 0.35);
}

.problem-content-title {
  color: #0d2c49;
  font-weight: 700;
  font-size: 1.75rem;
  margin-bottom: 0;
  line-height: 1.2;
  letter-spacing: -0.8px;
}

.problem-list-wrapper {
  flex: 1;
  padding-left: 30px;
  /* Consistent gap from card to list bullets */
}

.problem-details-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.problem-details-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #444;
  /* Darker as per design */
  line-height: 1.4;
  font-weight: 500;
}

.problem-details-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background-color: #333;
  border-radius: 50%;
}

.problem-details-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 1199.98px) {
  .problem-card-wrapper {
    flex: 0 0 440px;
  }
}

@media (max-width: 991.98px) {
  .problems-title {
    font-size: 1.6rem;
  }

  .problem-item {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 40px;
  }

  .problem-card-wrapper {
    flex: 0 0 auto;
    width: 100%;
    margin-bottom: 15px;
    max-width: 100%;
  }

  .problem-list-wrapper {
    padding-left: 0;
    width: 100%;
  }

  .problem-details-list li {
    padding-left: 20px;
  }
}

/* ===== ACADEMY BENEFITS SECTION ===== */

.academy-section {
  background-color: #0d2c49;
  /* Dark pattern with icons - subtle and spread out */
  background-image: url("data:image/svg+xml,%3Csvg width='400' height='400' viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M40 40h20v20H40z' fill='%23ffffff' opacity='0.03'/%3E%3Ccircle cx='130' cy='130' r='15' fill='%23ffffff' opacity='0.03'/%3E%3Ctext x='320' y='80' font-family='Arial' font-size='24' fill='%23ffffff' opacity='0.03'%3E🍸%3C/text%3E%3Ctext x='50' y='320' font-family='Arial' font-size='28' fill='%23ffffff' opacity='0.03'%3E☕%3C/text%3E%3Ctext x='220' y='220' font-family='Arial' font-size='22' fill='%23ffffff' opacity='0.02'%3E🍋%3C/text%3E%3C/svg%3E");
  background-repeat: repeat;
  color: #ffffff;
  padding-top: 80px;
  /* Space for title */
  position: relative;
  overflow: hidden;
}

/* Desktop: 1170px container with 570x1070 left, 570 right */
@media (min-width: 1200px) {
  .academy-section .container {
    max-width: 1170px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .academy-section .row.align-items-end {
    justify-content: space-between !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-items: flex-end !important;
  }

  .academy-section .col-lg-6 {
    width: 570px !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
  }

  /* Left column - Model image */
  .academy-section .col-lg-6:first-child {
    height: 1070px !important;
  }

  .academy-model {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: bottom center !important;
  }

  /* Right column - Benefits list */
  .academy-section .col-lg-6:last-child {
    height: auto !important;
    padding-bottom: 40px !important;
  }

  /* Button dimensions */
  .btn-academy-cta {
    width: 278px !important;
    height: 48px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.9rem !important;
  }
}

.academy-title {
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: 1px;
}

.academy-divider {
  width: 80px;
  height: 4px;
  background-color: #ffb703;
}

.benefit-icon-badge {
  width: 80px;
  height: 80px;
  background-color: #ffffff;
  /* Pure white in UI */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.benefit-icon-badge i {
  color: #4361ee;
  font-size: 1.8rem;
}

.benefit-text {
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 500;
  color: #ffffff;
}

.btn-academy-cta {
  background-color: #ffb703 !important;
  color: #000 !important;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-academy-cta:hover {
  background-color: #e6a600 !important;
  transform: translateY(-2px);
  color: #000 !important;
}

.academy-model {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 991.98px) {
  .academy-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .academy-model {
    max-width: 350px;
    margin: 40px auto 0 auto;
  }
}

/* ===== COURSE CONTENT SECTION ===== */

.course-content-section {
  background-color: #ffffff;
  /* Light pattern with lemon/drink outlines */
  background-repeat: repeat;
  padding: 100px 0;
}

/* Desktop: 1170px container with equal 570px boxes */
@media (min-width: 1200px) {
  .course-content-section .container {
    max-width: 1170px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .course-content-section .row.align-items-start {
    justify-content: space-between !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .course-content-section .col-lg-5,
  .course-content-section .col-lg-7 {
    width: 570px !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
  }
}

.course-content-section .academy-title {
  color: #0d2c49 !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.22rem;
}

.content-badge-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.content-badge {
  padding: 8px 30px;
  font-weight: 700;
  font-size: 1.5rem;
  color: #1a1a1a;
  text-transform: uppercase;
  display: inline-block;
}

.badge-shape-left {
  border-radius: 0 50px 50px 50px;
}

.badge-shape-right {
  border-radius: 50px 0 50px 50px;
}

.badge-green {
  background-color: #b3df4a;
}

.badge-orange {
  background-color: #ffb703;
}

.badge-blue {
  background-color: #4361ee;
}

.content-marker {
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  display: inline-block;
  outline: 6px solid rgba(179, 223, 74, 0.2);
  /* Green halo */
  outline-offset: 2px;
}

.marker-green {
  background-color: #b3df4a;
  outline-color: rgba(179, 223, 74, 0.3);
}

.marker-orange {
  background-color: #ffb703;
  outline-color: rgba(255, 183, 3, 0.3);
}

.marker-blue {
  background-color: #4361ee;
  outline-color: rgba(67, 97, 238, 0.3);
}

.content-info-title {
  color: #0d2c49;
  font-weight: 700;
  font-size: 1.5rem;
  /* Slightly larger */
  line-height: 1.3;
  margin-top: 10px;
  letter-spacing: -0.5px;
}

.content-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 50px;
  /* More horizontal padding */
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
  /* More pronounced shadow */
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.content-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.content-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 18px;
  /* More space between items */
  color: #333;
  /* Darker text */
  font-size: 1.05rem;
  /* Larger font */
  line-height: 1.5;
  font-weight: 500;
}

.content-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background-color: #333;
  border-radius: 50%;
}



@media (max-width: 991.98px) {
  .course-content-section {
    padding: 60px 0;
  }

  .content-info-wrapper {
    margin-bottom: 40px;
    padding-top: 0;
    /* No top padding on mobile */
  }

  .content-badge-wrapper {
    justify-content: center;
  }

  .content-info-title {
    text-align: center;
  }
}

/* Course Gallery Section */
.course-gallery-section {
  background-color: #f8f9fa;
  padding: 80px 0;
}

.course-gallery-section .container-fluid {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.course-gallery-section .academy-title {
  color: #0d2c49 !important;
  font-weight: 700;
  font-size: 2.1rem;
  letter-spacing: -0.5px;
  padding: 0 15px;
  /* Keep title aligned within safe area */
}

.gallery-row-wrapper {
  margin-bottom: 30px;
  /* Reduced space between rows */
}

.gallery-slider {
  padding: 0;
  width: 100%;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 220px;
  /* Adjusted height for 3 rows */
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .course-gallery-section {
    padding: 60px 0;
  }

  .gallery-item {
    height: 180px;
  }

  .gallery-row-wrapper {
    margin-bottom: 20px;
  }
}

@media (max-width: 575.98px) {
  .gallery-item {
    height: 150px;
  }
}

/* Testimonial Masonry Section */
.testimonial-section {
  background-color: #ffffff;
  padding: 80px 0;
}

.testimonial-section .academy-title {
  color: #0d2c49 !important;
  font-weight: 700;
  font-size: 2.1rem;
  letter-spacing: -0.5px;
}

/* Desktop: 1170px container with 270x370 cards */
@media (min-width: 1200px) {
  .testimonial-section .container {
    max-width: 1170px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .testimonial-masonry {
    display: grid;
    grid-template-columns: repeat(4, 270px);
    gap: 30px;
    justify-content: space-between;
    width: 100%;
  }

  .testimonial-item {
    width: 270px !important;
    height: 370px !important;
    margin-bottom: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
  }

  .testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  }

  .testimonial-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

/* Tablet and below: responsive masonry */
@media (max-width: 1199.98px) {
  .testimonial-masonry {
    column-count: 3;
    column-gap: 20px;
    width: 100%;
  }

  .testimonial-item {
    display: inline-block;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    aspect-ratio: 270 / 370;
  }

  .testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  }

  .testimonial-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

@media (max-width: 991.98px) {
  .testimonial-masonry {
    column-count: 2;
  }
}

@media (max-width: 575.98px) {
  .testimonial-masonry {
    column-count: 1;
  }
}


.home_khoahoc {
  color: #fbbf24 !important;
}