/* faq */
/* FAQ Section Styles */
.faq-section .accordion-button {
  font-size: var(--font-size-base);
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 1rem 1.25rem;
  border-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
}

.faq-section .accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: white;
  box-shadow: none;
}

.faq-section .accordion-body {
  font-size: var(--font-size-sm);
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.6;
}

.dark-theme .faq-section .accordion-button {
  font-size: var(--font-size-base);
  background-color: var(--card-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 5px !important;
}

.dark-theme .faq-section .accordion-button:not(.collapsed) {
  background-color: var(--primary-color);
  color: white;
  box-shadow: none;
}

.dark-theme .faq-section .accordion-body {
  background-color: var(--card-bg);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-top: none;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

.dark-theme .faq-section .accordion-item {
  background-color: transparent;
  border: none;
  margin-bottom: 15px;
  overflow: hidden;
  border-radius: 5px;
}

.dark-theme .faq-section .accordion-button::after {
  filter: invert(0.8);
}

.dark-theme .faq-section .accordion-button:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

/* hero change */
body {
  font-family: var(--font-primary);
  line-height: 1.6;
  background: var(--bg-primary);
  color: var(--text-primary);
  margin: 0;
}
 header {
      text-align: center;
      padding: 4rem 1rem 3rem;
      background-image: url(assets/images/courses/stu.jfif);
      background-color: #00ffd5;
      background-size: cover;
      background-position: center;
      color: white;
      border-radius: 10px;
      position: relative;
      margin-top: 4rem;
      box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    }
    header::before {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.4);
      z-index: 0;
      border-radius: 10px;
    }
    header h1,
    header p,
    header button {
      position: relative;
      z-index: 1;
    }
    header h1 {
      font-size: 2.8rem;
      margin-bottom: 0.5rem;
      font-family: var(--font-secondary);
      font-weight: 700;
    }
    header p {
      font-size: 1.2rem;
      margin-bottom: 1.5rem;
      font-family: var(--font-primary);
      font-weight: 400;
    }
    .btn-primary {
      background: #ffd84d;
      color: #000;
      font-weight: 600;
      padding: 0.75rem 1.5rem;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-size: 1rem;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }
    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    }
     .section {
      max-width: 1100px;
      margin: 3rem auto;
      padding: 0 1rem;
      width: 100%;
    }

    .choose-path, .certificate {
      background-color: var(--bg-secondary);
      border-radius: 10px;
      padding: 2.5rem 1.5rem;
      box-shadow: 0 8px 20px rgba(0,0,0,0.08);
      margin-bottom: 2.5rem;
      position: relative;
      overflow: hidden;
      max-width: 1100px;
      margin-left: auto;
      margin-right: auto;
      width: 100%;
      transform: translateZ(0);
    }
    
    .choose-path::before, .certificate::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      background: var(--asset-blue);
      z-index: 2;
    }
    
    .certificate::before {
      background: var(--asset-yellow);
    }
    
    .choose-path::after, .certificate::after {
      content: '';
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
      z-index: 1;
      pointer-events: none;
    }
    
    .choose-path h2, .certificate h2 {
      font-size: 1.8rem;
      margin-bottom: 1.5rem;
      text-align: center;
      font-weight: 600;
      position: relative;
      padding-bottom: 15px;
    }
    
    .choose-path h2:after, .certificate h2:after {
      content: '';
      position: absolute;
      width: 80px;
      height: 4px;
      background: linear-gradient(to right, var(--asset-red), var(--asset-blue), var(--asset-purple));
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      border-radius: 4px;
    }
    
    .path-steps {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
      position: relative;
      max-width: 800px;
      margin: 0 auto;
    }

    .step {
      padding: 1.2rem 1.5rem 1.2rem 3rem;
      border-radius: 8px;
      position: relative;
      width: 85%;
      animation: none; /* Disable default animation to use scroll-triggered animation */
      margin-left: 40px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
      opacity: 0;
      transform: translateY(30px);
      transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .step:hover {
      transform: translateY(-3px);
    }

    .step.animate {
      opacity: 1;
      transform: translateY(0);
    }

    .step.animate:hover {
      transform: translateY(-3px);
    }

    .step:nth-child(1).animate {
      transition-delay: 0.1s;
    }

    .step:nth-child(2).animate {
      transition-delay: 0.3s;
    }

    .step:nth-child(3).animate {
      transition-delay: 0.5s;
    }

    .step:nth-child(1) {
      background-color: #ec6c5a;
      color: white;
      margin-left: 3rem;
      animation-delay: 0.1s;
    }
    .step:nth-child(2) {
      background-color: #3ecbb3;
      color: white;
      margin-left: 5rem;
      animation-delay: 0.2s;
    }
    .step:nth-child(3) {
      background-color: #f7c843;
      color: black;
      margin-left: 7rem;
      animation-delay: 0.3s;
    }

    .step::before {
      content: "\f0a4";
      font-family: 'Font Awesome 5 Free';
      font-weight: 900;
      position: absolute;
      left: 1rem;
      top: 1.1rem;
      font-size: 1.2rem;
      color: white;
    }

    .step:nth-child(3)::before {
      color: black;
    }

    .step h3 {
      margin: 0 0 0.5rem;
      font-weight: 600;
      font-size: 1.1rem;
    }

    .step p {
      font-size: 0.9rem;
      margin: 0;
    }

    .certificate-content {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 3rem;
      max-width: 700px;
      margin: 0 auto;
    }

    .certificate img {
      max-width: 100%;
      width: 400px;
      border-radius: 10px;
      box-shadow: 0 10px 25px rgba(0,0,0,0.15);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .certificate img:hover {
      transform: scale(1.02);
      box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    }

    .certificate ul {
      list-style: none;
      padding: 0;
      margin: 0 0 1.5rem 0;
    }

    .certificate li {
      margin-bottom: 0.8rem;
      font-size: 1rem;
      position: relative;
      padding-left: 1.5rem;
    }

    .certificate li::before {
      content: '✓';
      position: absolute;
      left: 0;
      top: 0;
      color: var(--asset-blue);
    }

    /* Add back table wrapper styles */
    .table-wrapper {
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      padding-bottom: 5px; /* Add some padding to show scrollbar */
      margin-bottom: 20px; /* Add margin to separate from other content */
    }

    @keyframes fadeInUp {
      from {
        transform: translateY(20px);
        opacity: 0;
      }
      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    @media (max-width: 768px) {
      .step {
        width: 100%;
        margin-left: 0 !important;
      }

      .certificate-content {
        flex-direction: column;
        align-items: center;
      }

      .certificate img {
        margin: 0;
      }
    }
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 110px 50px 50px 50px; /* Increased top padding to account for navbar height */
  gap: 40px;
  background: linear-gradient(135deg, 
    rgba(var(--asset-red-rgb), 0.04) 0%, 
    rgba(var(--asset-blue-rgb), 0.04) 100%);
  position: relative;
  overflow: hidden;
  margin-bottom: 0; /* Ensure no bottom margin */
  width: 100vw; /* Full viewport width */
  max-width: 100%; /* Ensure it doesn't exceed parent container */
  margin-left: 0;
  margin-right: 0;
  left: 0;
  box-sizing: border-box;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/pattern-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.04;
  z-index: 0;
}

.hero .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  gap: 40px;
  z-index: 1;
  padding-bottom: 50px; /* Add padding at the bottom to prevent content overlap */
}

.text-content {
  flex: 1 1 450px;
  max-width: 600px;
  position: relative;
  z-index: 1;
  padding-right: 20px;
}

.text-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--text-primary);
}

.text-content .highlight {
  color: var(--asset-red);
}

.text-content p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.text-content button {
  background-color: var(--asset-red);
  color: white;
  padding: 12px 24px;
  font-size: 1rem;
  border: none;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(var(--asset-red-rgb), 0.3);
}

.text-content button:hover {
  background-color: var(--asset-blue);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(var(--asset-blue-rgb), 0.35);
}

/* New styles for hero image */
.hero-image {
  flex: 1 1 400px;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  position: relative;
  z-index: 1;
}

/* Media query for screens below 1144px */
@media (max-width: 1144px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
    padding-bottom: 60px; /* Extra padding to ensure no overlap */
  }
  
  .text-content {
    padding-right: 0;
    margin-bottom: 20px;
  }
  
  .hero-image {
    margin-top: 20px;
    margin-bottom: 30px;
    max-width: 80%;
  }
  
  /* Add margin to the section after hero to ensure separation */
  .hero + section {
    margin-top: 30px;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .text-content h1 {
    font-size: 2rem;
  }

  .text-content p {
    font-size: 0.95rem;
  }

  .hero {
    padding: 100px 20px 40px 20px;
    width: 100%;
    overflow-x: hidden;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
    padding-bottom: 50px;
  }

  .text-content {
    padding-right: 0;
    margin-bottom: 10px;
  }

  .text-content button {
    margin-top: 15px;
  }
  
  .hero-image {
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  .hero {
    width: 100%;
    max-width: 100%;
    padding: 100px 15px 40px 15px;
  }
  
  .hero .container {
    padding-bottom: 40px;
  }
  
  .hero-image {
    max-width: 100%;
  }
  
  /* Ensure proper spacing with next section */
  .no-top-gap {
    padding-top: 20px !important;
  }

  .text-content h1 {
    font-size: 1.8rem;
    margin-top: 0;
  }
  
  .text-content p {
    font-size: 1rem;
  }
  
  .text-content button {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .step {
    width: 95%;
    margin-left: 5px !important;
    padding: 1rem 1rem 1rem 2rem;
  }
  
  .step h3 {
    font-size: 1rem;
  }
  
  .step p {
    font-size: 0.85rem;
  }
  
  .certificate-content {
    gap: 1.5rem;
  }
  
  .certificate img {
    max-width: 100%;
  }
}

/* Fix for white straps on mobile */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 0;
  overflow-x: hidden;
  font-size: 1.05rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  color: var(--text-primary);
}

p, li, a, span {
  font-family: var(--font-primary);
}

h1 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--text-primary);
  font-size: var(--font-size-3xl);
}

/* Specific font size adjustments */
.heading-section h1 {
  font-size: var(--font-size-3xl);
}

.section-title.enhancement-training {
  font-size: 2rem;
  text-align: center;
  color: var(--text-primary);
  margin: 3rem 0 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title.enhancement-training::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, var(--asset-red), var(--asset-blue));
  border-radius: 2px;
}

.overview-description {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.program-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-secondary);
  padding: 1.5rem;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.bullet-point {
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: -0.5rem;
  color: var(--asset-blue);
  line-height: 1;
  width: 24px;
  text-align: center;
}

.feature-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-primary);
  flex: 1;
}

.exclusive-tag {
  display: inline-block;
  background: var(--asset-red);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-weight: 500;
}

.program-tagline {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 2.5rem 0;
  padding: 0 1rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .section-title.enhancement-training {
    font-size: 1.8rem;
    margin: 2rem 0 1.2rem;
  }

  .overview-description {
    font-size: 1rem;
    padding: 0 1rem;
    margin-bottom: 2rem;
  }

  .program-features {
    padding: 0 0.5rem;
  }

  .feature-item {
    padding: 1.2rem;
  }

  .feature-text {
    font-size: 0.95rem;
  }

  .program-tagline {
    font-size: 1.1rem;
    margin: 2rem 0;
  }
}

@media (max-width: 480px) {
  .section-title.enhancement-training {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
  }

  .overview-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .feature-item {
    padding: 1rem;
    flex-direction: row;
    gap: 0.8rem;
    align-items: flex-start;
  }

  .bullet-point {
    margin-top: 0;
    font-size: 1.5rem;
  }

  .feature-text {
    font-size: 0.9rem;
  }

  .exclusive-tag {
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
  }
}

/* Colorful span headings - using theme variables */
span1 { color: var(--asset-red); }
span2 { color: var(--asset-yellow); }
span3 { color: var(--asset-blue); }
span4 { color: var(--asset-purple); }
span5 { color: var(--asset-green); }

/* Programs Cards */
.cards-container, .speaking-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.speaking-cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin-top: 20px; /* Reduced from 40px to 20px */
  position: relative;
  z-index: 1;
  padding-top: 20px; /* Reduced from 40px to 20px */
  padding-bottom: 40px; /* Reduced from 60px to 40px */
}

.card {
  flex: 1 1 300px;
  max-width: 360px;
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  border: none;
  z-index: 1;
  padding: 0 0 20px 0;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--asset-red), var(--asset-blue), var(--asset-purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
  border-radius: 6px 6px 0 0;
  z-index: 2;
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
  position: relative;
  z-index: 0;
}

.card:hover img {
  transform: scale(1.05);
}

.card h2 {
  color: var(--text-primary);
  font-size: 1.5rem;
  margin: 20px 20px 15px;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.card h2:after {
  content: '';
  position: absolute;
  width: 50px;
  height: 3px;
  bottom: 0;
  left: 0;
  border-radius: 3px;
}

.card p {
  color: var(--text-secondary);
  margin: 0 20px 15px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.card ul {
  list-style: none;
  padding-left: 0;
  text-align: left;
  min-height: 120px;
  margin: 0 20px 15px;
}

.card ul li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

.card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color);
  font-weight: bold;
  background: rgba(var(--primary-color-rgb), 0.1);
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.card .btn {
  margin: 0 20px 15px;
  width: auto;
}

.btn {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: white;
  cursor: pointer;
  width: 100%;
  margin-top: 15px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn a {
  color: white;
  text-decoration: none;
  display: block;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
}

.red { 
  background-color: var(--asset-red);
  box-shadow: 0 4px 12px rgba(var(--asset-red-rgb), 0.3);
}

.blue { 
  background-color: var(--asset-blue);
  box-shadow: 0 4px 12px rgba(var(--asset-blue-rgb), 0.3);
}

.purple { 
  background-color: var(--asset-purple);
  box-shadow: 0 4px 12px rgba(var(--asset-purple-rgb), 0.3);
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Speaking Skills Section Cards */
.card-custom {
  position: relative;
  height: 380px;
  width: 330px;
  background: blue;
  margin: 10px;
  border-radius: 20px;
  border-bottom-left-radius: 160px;
  border-bottom-right-radius: 160px;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1),
              inset 0 -15px 0 rgba(255,255,255,0.25),
              0 45px 0 rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  z-index: 2;
}

.card-custom:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15),
              inset 0 -15px 0 rgba(255,255,255,0.3),
              0 45px 0 rgba(0,0,0,0.08);
}

.card-custom:nth-child(1) {
  background: linear-gradient(to bottom, var(--asset-red), #ff9f7f);
}
.card-custom:nth-child(2) {
  background: linear-gradient(to bottom, var(--asset-blue), #75a8ff);
}
.card-custom:nth-child(3) {
  background: linear-gradient(to bottom, var(--asset-green), #6aefaa);
}

.icon {
  position: absolute;
  top: -30px;
  width: 140px;
  height: 120px;
  background: white;
  border-bottom-left-radius: 100px;
  border-bottom-right-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1),
              inset 0 -8px 0 #fff;
}

.icon ion-icon {
  font-size: 3.2rem;
  color: #222;
}

.content {
  position: absolute;
  top: 110px;
  width: 100%;
  padding: 30px 25px;
}

.content h2 {
  font-size: var(--font-size-lg);
  color: white;
  margin-bottom: 15px;
  font-weight: bold;
}

.content p {
  color: white;
  font-size: var(--font-size-sm);
  line-height: 1.5;
}

/* Section Headings */
.heading-section {
  padding: 40px 0 20px; /* Increased top padding from 30px to 40px */
  position: relative;
  margin-top: 0; /* Ensure no top margin */
}

.heading-section h1 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px; /* Reduced from 40px to 15px */
  position: relative;
  color: var(--text-primary);
}

.heading-section h1:after {
  content: '';
  position: absolute;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--asset-red), var(--asset-blue));
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 4px;
}

.section-subheading {
  text-align: center;
  font-size: 0.95rem;
  max-width: 800px;
  margin: 0 auto 10px; /* Reduced bottom margin from 40px to 10px */
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.6;
}

/* Program Overview Section */
.program-overview {
  background-color: var(--bg-secondary);
  padding: 60px 0;
  margin: 30px 0;
  border-radius: 0; /* Remove border radius to fit the screen */
}

.section-title {
  font-size: var(--font-size-xl);
  margin-bottom: 25px;
  text-align: center;
  color: var(--text-primary);
  font-weight: 700;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title:after {
  content: '';
  position: absolute;
  width: 100px;
  height: 4px;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--asset-red), var(--asset-blue), var(--asset-purple));
  border-radius: 2px;
}

.overview-description {
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.7;
  margin-top: 35px;
}

.program-features {
  margin-bottom: 40px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  background: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.check-icon {
  font-size: 22px;
  margin-right: 15px;
}

.feature-text {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: var(--font-size-sm);
}

.exclusive-tag {
  display: inline-block;
  background: linear-gradient(90deg, var(--asset-red), var(--asset-purple));
  color: white;
  padding: 3px 10px;
  border-radius: 30px;
  font-size: 12px;
  margin-left: 10px;
  font-weight: 500;
}

.program-tagline {
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  margin-top: 30px;
  color: var(--primary-color);
}

.section-divider {
  margin: 30px auto;
  width: 150px;
  border: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

/* Program Details Styling */
.program-detail {
  padding: 60px 20px;
  margin-top: 30px;
  border-top: 1px solid var(--border-color);
  position: relative;
  background-color: var(--bg-secondary);
  border-radius: 0; /* Remove border radius to fit full width */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.program-title {
  text-align: center;
  font-size: var(--font-size-xl);
  margin-bottom: 35px;
  color: var(--text-primary);
  font-weight: 700;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  line-height: 1.4;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.program-name {
  font-size: 36px;
  margin-bottom: 10px;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.program-suffix {
  font-weight: 300; /* Much lighter weight for the program suffix (Juniors, NextGen, ProTalk) */
}

.program-description {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

.program-title:after {
  content: '';
  display: block;
  width: 100px;
  height: 4px;
  margin: 20px auto 0;
  background: linear-gradient(90deg, var(--asset-red), var(--asset-blue), var(--asset-purple));
  border-radius: 2px;
}

.program-objective {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--primary-color);
}

.program-objective h3 {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.program-objective h3 i {
  color: var(--primary-color);
  margin-right: 10px;
}

.program-objective p {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

.curriculum-table {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  width: 100%;
}

/* Create a wrapper for better scrolling on small screens */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-header {
  display: grid;
  grid-template-columns: 1fr 3fr;
  background: #333;
  color: white;
  font-weight: 600;
  padding: 15px;
}

.table-cell {
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
}

.month-title {
  font-size: var(--font-size-lg);
  padding: 20px;
  margin: 0;
  color: white;
  font-weight: 700;
  text-align: left;
  position: relative;
  grid-column: 1/-1;
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 3fr;
  background: var(--card-bg);
}

.focus-area {
  background: rgba(var(--primary-color-rgb), 0.05);
  font-weight: 600;
}

.focus-title {
  font-size: 16px;
  color: var(--primary-color);
}

.table-cell ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.table-cell ul li {
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.progress-check {
  background: rgba(var(--primary-color-rgb), 0.1);
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: 500;
  font-size: var(--font-size-sm);
  color: var(--primary-color);
}

.special-opportunity {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(var(--asset-red-rgb), 0.1), rgba(var(--asset-purple-rgb), 0.1));
  padding: 25px;
  border-radius: 12px;
  margin-top: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px dashed var(--primary-color);
}

.opportunity-icon {
  font-size: 32px;
  margin-right: 20px;
}

.opportunity-text {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: var(--font-size-sm);
}

/* School Program Styling */
.school-program .month-title {
  background: linear-gradient(135deg, var(--asset-red), #ff6b6b);
}

.school-program .focus-title {
  color: var(--asset-red);
}

.school-program .progress-check {
  background: rgba(var(--asset-red-rgb), 0.1);
  color: var(--asset-red);
}

.school-program .program-objective {
  border-left-color: var(--asset-red);
}

.school-program .program-objective h3 i {
  color: var(--asset-red);
}

.school-program .program-name {
  color: var(--asset-red);
}

/* College Program Styling */
.college-program .month-title {
  background: linear-gradient(135deg, var(--asset-blue), #5b86e5);
}

.college-program .focus-title {
  color: var(--asset-blue);
}

.college-program .progress-check {
  background: rgba(var(--asset-blue-rgb), 0.1);
  color: var(--asset-blue);
}

.college-program .program-objective {
  border-left-color: var(--asset-blue);
}

.college-program .program-objective h3 i {
  color: var(--asset-blue);
}

.college-program .program-name {
  color: var(--asset-blue);
}

/* Working Professionals Program Styling */
.working-program .month-title {
  background: linear-gradient(135deg, var(--asset-purple), #a287e5);
}

.working-program .focus-title {
  color: var(--asset-purple);
}

.working-program .progress-check {
  background: rgba(var(--asset-purple-rgb), 0.1);
  color: var(--asset-purple);
}

.working-program .program-objective {
  border-left-color: var(--asset-purple);
}

.working-program .program-objective h3 i {
  color: var(--asset-purple);
}

.working-program .program-name {
  color: var(--asset-purple);
}

/* Media Queries */
@media (max-width: 992px) {
  .cards-container, .speaking-cards-container {
    gap: 15px;
  }
  
  .card, .card-custom {
    width: 300px;
  }
  
  .curriculum-table {
    min-width: 750px; /* Minimum width to ensure content is readable */
  }
  
  /* Style scrollbar for better visibility */
  .table-wrapper::-webkit-scrollbar {
    height: 8px;
  }
  
  .table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }
  
  .table-wrapper::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
  }
  
  .table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
}

@media (max-width: 768px) {
  .cards-container, .speaking-cards-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 1rem;
    width: 100%;
  }
  
  .card, .card-custom {
    width: 100%;
    max-width: 350px;
    margin: 1rem auto;
    height: auto;
    min-height: 380px;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
  }
  
  .content {
    position: relative;
    top: 90px;
    padding: 1.5rem;
    text-align: center;
    width: 100%;
  }
  
  .content h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  
  .content p {
    font-size: 0.95rem;
    text-align: center;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: var(--font-size-3xl);
    margin-bottom: 30px;
  }
  
  .content h2 {
    font-size: var(--font-size-lg);
  }
  
  .program-name {
    font-size: 26px;
  }
  
  .program-description {
    font-size: 16px;
  }
  
  .program-title {
    font-size: var(--font-size-xl);
  }
  
  .section-title {
    font-size: var(--font-size-xl);
  }
  
  .program-detail {
    padding: 40px 15px;
    margin-top: 20px;
  }
  
  .heading-section {
    margin: 0 0 30px; /* Removed top margin to be consistent */
    padding: 90px 15px 0; /* Adjusted top padding for smaller screens */
  }
  
  .card-custom {
    max-width: 300px;
    margin: 1rem auto;
  }
  
  .icon {
    width: 120px;
    height: 100px;
  }
  
  .content {
    top: 85px;
    padding: 1rem;
  }
  
  .content h2 {
    font-size: 1.3rem;
  }
  
  .content p {
    font-size: 0.9rem;
    padding: 0 0.5rem;
  }
  
  .step {
    width: 100%;
    margin-left: 0 !important;
    padding: 1rem 1rem 1rem 2.2rem;
  }
  
  .step::before {
    left: 0.8rem;
  }
  
  .step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    width: 100%;
  }
  
  .step p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .path-steps {
    padding: 0 1rem;
  }
}

/* Dark Theme Specifics */
.dark-theme .card {
  background: var(--card-bg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.dark-theme .feature-item {
  background: var(--card-bg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.dark-theme .program-objective {
  background: var(--card-bg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.dark-theme .table-row {
  background: var(--card-bg);
}

.dark-theme .focus-area {
  background: rgba(255, 255, 255, 0.05);
}

.dark-theme .special-opportunity {
  background: linear-gradient(135deg, rgba(var(--asset-red-rgb), 0.2), rgba(var(--asset-purple-rgb), 0.2));
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Dark theme scrollbar styling */
.dark-theme .table-wrapper::-webkit-scrollbar-track {
  background: #333;
}

.dark-theme .table-wrapper::-webkit-scrollbar-thumb {
  background: #666;
}

.dark-theme .table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #888;
}

/* Make button text stay visible on hover */
.btn:hover a {
  color: #000; /* Dark text color on hover */
  font-weight: 600; /* Make text slightly bolder for better visibility */
}

.course-title {
  font-size: var(--font-size-3xl);
}

.course-subtitle {
  font-size: var(--font-size-2xl);
}

.course-details-title {
  font-size: var(--font-size-xl);
}

.course-features li {
  font-size: var(--font-size-sm);
}

.module-title {
  font-size: var(--font-size-lg);
}

.module-description {
  font-size: var(--font-size-sm);
}

.module-bullets li {
  font-size: var(--font-size-sm);
}

.course-info p {
  font-size: var(--font-size-sm);
}

.pricing-header h2 {
  font-size: var(--font-size-3xl);
}

.pricing-subtitle {
  font-size: var(--font-size-xl);
}

.pricing-description {
  font-size: var(--font-size-sm);
}

.pricing-title {
  font-size: var(--font-size-2xl);
}

.pricing-price {
  font-size: var(--font-size-lg);
}

.pricing-feature-title {
  font-size: var(--font-size-lg);
}

.pricing-feature-text {
  font-size: var(--font-size-sm);
}

.testimonial-title {
  font-size: var(--font-size-xl);
}

.testimonial-text {
  font-size: var(--font-size-sm);
}

.testimonial-author {
  font-size: var(--font-size-base);
}

.testimonial-position {
  font-size: var(--font-size-sm);
}

.faq-title {
  font-size: var(--font-size-2xl);
}

.accordion-button {
  font-size: var(--font-size-base);
}

.accordion-body {
  font-size: var(--font-size-sm);
}

.contact-info p {
  font-size: var(--font-size-sm);
}

.contact-form-title {
  font-size: var(--font-size-xl);
}

.contact-form-description {
  font-size: var(--font-size-base);
}

.form-text {
  font-size: var(--font-size-xs);
}

.cta-title {
  font-size: var(--font-size-2xl);
}

.cta-text {
  font-size: var(--font-size-base);
}

.enroll-title {
  font-size: var(--font-size-2xl);
}

.enroll-header {
  font-size: var(--font-size-xl);
}

.enroll-description {
  font-size: var(--font-size-md);
}

.program-header {
  font-size: var(--font-size-3xl);
}

.program-card-badge {
  font-size: var(--font-size-xs);
}

.program-card-title {
  font-size: var(--font-size-lg);
}

.summary-title {
  font-size: var(--font-size-xl);
}

.summary-subtitle {
  font-size: var(--font-size-lg);
}

.summary-point {
  font-size: var(--font-size-lg);
}

.summary-description {
  font-size: var(--font-size-sm);
}

.summary-cta {
  font-size: var(--font-size-lg);
}

.countdown-title {
  font-size: var(--font-size-lg);
} 
  .tabs {
      display: flex;
      justify-content: center;
      padding: 25px 20px;
      margin: 25px 0;
      gap: 20px;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
    }

    .tab {
      width: 180px;
      height: 45px;
      border-radius: 8px;
      cursor: pointer;
      opacity: 0.7;
      display: flex;
      justify-content: center;
      align-items: center;
      transition: all 0.3s ease;
      border: 2px solid transparent;
      font-weight: 500;
      font-size: 0.95rem;
      color: white;
      box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    }

    .tab.active {
      opacity: 1;
      font-weight: 600;
      border-color: rgba(255, 255, 255, 0.25);
      transform: translateY(-3px);
      box-shadow: 0 6px 15px rgba(0,0,0,0.12);
    }
    
    .tab:hover {
      opacity: 0.9;
      transform: translateY(-2px);
    }

    .tab.red { 
      background: var(--asset-red);
    }
    .tab.purple { 
      background: var(--asset-blue);
    }
    .tab.yellow { 
      background: var(--asset-purple);
    }

    .tab-content {
      display: none;
      padding: 25px;
      margin: 15px auto 40px;
      max-width: 1100px;
      border-radius: 10px;
      background-color: var(--bg-secondary);
      box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    }

    .tab-content.active {
      display: flex;
      flex-wrap: wrap;
      animation: fadeIn 0.4s ease-in-out;
    }
    
    @keyframes fadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .left-column {
      flex: 1;
      min-width: 300px;
      display: flex;
      flex-direction: column;
      gap: 12px;
      padding-right: 25px;
    }

    .dropdown {
      background-color: var(--bg-primary);
      color: var(--text-primary);
      border-radius: 8px;
      box-shadow: 0 3px 10px rgba(0,0,0,0.08);
      overflow: hidden;
      transition: all 0.3s ease;
      transform-origin: top center;
    }
    
    .dropdown:hover {
      box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    }

    .dropdown-header {
      padding: 12px 18px;
      cursor: pointer;
      font-weight: 500;
      font-size: 0.95rem;
      position: relative;
      transition: background-color 0.3s ease;
      border-left: 3px solid transparent;
    }
    
    .dropdown-header:hover {
      background-color: rgba(0,0,0,0.02);
    }
    
    .dropdown-header::after {
  content: '';
  display: none;
}

.dropdown.open .dropdown-header::after {
  display: none;
}
    
    #tab-0 .dropdown-header {
      border-left-color: var(--asset-red);
    }
    
    #tab-1 .dropdown-header {
      border-left-color: var(--asset-blue);
    }
    
    #tab-2 .dropdown-header {
      border-left-color: var(--asset-purple);
    }
    
    .dropdown-content {
      padding: 12px 20px;
      display: none;
      line-height: 1.5;
      font-size: 0.9rem;
      transition: all 0.3s ease;
      border-top: 1px solid rgba(0,0,0,0.05);
    }
     #tab-0 .dropdown-content {
      background-color: rgba(255, 77, 77, 0.05);
      color: var(--text-primary);
    }

    #tab-1 .dropdown-content {
      background-color: rgba(122, 92, 255, 0.05);
      color: var(--text-primary);
    }

    #tab-2 .dropdown-content {
      background-color: rgba(171, 90, 206, 0.05);
      color: var(--text-primary);
    }
    .dropdown.open .dropdown-content {
      display: block;
      animation: slideDown 0.3s ease forwards;
    }
    
    @keyframes slideDown {
      from {
        opacity: 0;
        transform: translateY(-8px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .right-column {
      flex: 1;
      min-width: 300px;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 15px;
    }

    .responsive-img {
      max-width: 100%;
      height: auto;
      border-radius: 10px;
    }
    
    .responsive-img:hover {
      /* No hover effect for plain style */
    }

/* Pattern background for sections */
.pattern-bg-section {
  position: relative;
  z-index: 1;
  padding: 30px 0;
  margin: 0; /* Remove margin to fix unwanted space */
  border-radius: 0;
  overflow: hidden;
}

.pattern-bg-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.025;
  z-index: -1;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.dark-theme .pattern-bg-section::before {
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Section spacing adjustments */
.programs {
  padding-top: 50px;
  padding-bottom: 60px;
  margin-bottom: 50px;
}

.faq-section {
  padding-top: 50px;
  padding-bottom: 60px;
  margin-top: 30px;
}

.faq-section .container {
  max-width: 900px;
  margin: 0 auto;
}

.faq-section .accordion-item {
  margin-bottom: 15px;
  border: none;
}

.faq-section .accordion-item:last-child {
  margin-bottom: 0;
}

section.section.choose-path {
  margin-top: 80px;
}

/* Visual dividers */
.section-divider {
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, rgba(255,75,75,0.7), rgba(122,92,255,0.7), rgba(171,90,206,0.7));
  margin: 70px auto;
  max-width: 80%;
  border-radius: 2px;
  opacity: 0.6;
}

/* Enhance tabs container */
.tabs-container {
  margin-top: 60px;
  padding-top: 20px;
  position: relative;
}

.tabs-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--asset-blue);
  border-radius: 2px;
}

/* Responsive media queries */
@media (max-width: 768px) {
  .tab-content {
    flex-direction: column;
    align-items: center;
  }
  
  .right-column {
    margin-top: 20px;
  }
  
  .certificate-content {
    flex-direction: column;
    align-items: center;
  }
  
  .certificate img {
    margin: 0;
  }
  
  .step {
    width: 95%;
    margin-left: 10px !important;
    padding: 1.2rem 1.5rem 1rem 2.5rem;
  }
  
  .certificate-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .certificate img {
    max-width: 90%;
  }
  
  .section {
    padding: 0 1rem;
  }
  
  .choose-path, .certificate, .choose-path.pattern-bg-section, .certificate.pattern-bg-section {
    padding: 2rem 1rem;
  }
  
  .pattern-bg-section {
    padding: 25px 0;
  }
}

/* Improve tab button responsiveness */
@media (max-width: 600px) {
  .tabs {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 20px 10px;
  }

  .tab {
    width: 90%;
    max-width: 300px;
  }
}

/* Improve left-right column stacking */
@media (max-width: 768px) {
  .left-column, .right-column {
    width: 100%;
    padding-right: 0;
  }

  .dropdown-header, .dropdown-content {
    font-size: 16px;
  }
}

/* Media Queries for Speaking Cards */
@media (max-width: 1100px) {
  .speaking-cards-container {
    justify-content: center;
  }
  
  .card-custom {
    width: 300px;
    height: 350px;
  }
  
  .content {
    top: 100px;
    padding: 25px 20px;
  }
}

@media (max-width: 768px) {
  .speaking-cards-container {
    padding-top: 20px;
    padding-bottom: 40px;
  }
  
  .card-custom {
    margin: 30px 10px;
  }
}

.choose-path.pattern-bg-section, .certificate.pattern-bg-section {
  background-color: var(--bg-secondary);
  border-radius: 10px;
  padding: 2.5rem 1.5rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  transform: translateZ(0);
}

.choose-path.pattern-bg-section::before, .certificate.pattern-bg-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--asset-blue);
  z-index: 3;
}

.certificate.pattern-bg-section::before {
  background: var(--asset-yellow);
}

.container {
  width: 100%;
  max-width: 1320px;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
}

.right-column .plain-img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  transform: none !important;
  transition: none !important;
  box-shadow: none !important;
}

/* Certificate image should retain its original styling */
.certificate img {
  max-width: 100%;
  width: 400px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.certificate img:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Ensure hover states don't apply effects to plain images */
.right-column:hover .plain-img {
  transform: none !important;
  box-shadow: none !important;
}

/* Fix for unwanted gap between hero and sections */
.no-top-gap {
  margin-top: 30px !important; /* Changed from 0 to 30px to add space */
  padding-top: 15px !important;
  border-top: none !important;
}

/* Remove scroll indicators from table content */
.table-wrapper::after {
  display: none !important;
}

/* Program Cards Container */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
  padding: 1rem;
  width: 100%;
  box-sizing: border-box;
}

/* Base Card Styles */
.card {
  flex: 1 1 300px;
  max-width: 350px;
  min-height: 500px;
  background-color: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  position: relative;
  border: none;
  z-index: 1;
  padding: 0 0 70px 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.card .btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  width: calc(100% - 40px);
  margin: 0;
}

/* Tablet Responsive Fixes */
@media (max-width: 992px) {
  .cards-container {
    gap: 2rem;
  }

  .card {
    flex: 1 1 300px;
    max-width: 350px;
    min-height: 520px;
  }
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {
  .cards-container {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 350px;
    min-height: 500px;
    margin: 1rem auto;
  }

  .card .btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    width: calc(100% - 40px);
    opacity: 1;
    visibility: visible;
  }
}

/* Small Mobile Fixes */
@media (max-width: 480px) {
  .card {
    min-height: 650px;
    margin: 1rem auto;
    padding-bottom: 85px;
  }

  .card.protalk-card {
    min-height: 750px;  /* Increased height specifically for ProTalk */
  }

  .speaking-cards-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;  /* Align to the right */
    padding: 0.5rem;
    width: 100%;
    margin: 0;
  }

  .card-custom {
    width: 90%;
    max-width: 280px;
    margin: 2rem 1rem;  /* Added right margin */
    height: auto;
    min-height: 400px;
  }

  .heading-section {
    text-align: right !important;
    width: 100% !important;
    padding: 1rem !important;
    margin: 0;
  }

  .heading-section h1 {
    font-size: 1.8rem;
    text-align: right !important;
    width: 100% !important;
    margin: 0 0 1.5rem auto;
  }

  .section-title {
    text-align: right !important;
    width: 100% !important;
    margin: 0 0 1.5rem auto;
    padding-right: 1rem !important;
  }

  .card ul {
    margin: 0 15px 25px !important;
    padding: 0;
    min-height: auto;
    list-style: none;
  }

  .card ul li {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
    padding-left: 28px !important;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .card ul li::before {
    top: 2px;
    width: 18px;
    height: 18px;
    font-size: 12px;
  }

  .card .btn {
    position: absolute;
    bottom: 25px !important;
    left: 15px !important;
    right: 15px !important;
    width: calc(100% - 30px !important);
    margin: 0;
    z-index: 2;
  }

  .card p {
    margin: 0 15px 15px !important;
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
  }

  .card h2 {
    font-size: 1.3rem !important;
    margin: 15px 15px 12px !important;
    line-height: 1.4 !important;
  }
}

/* Medium screen adjustments */
@media (max-width: 768px) {
  .card.protalk-card {
    min-height: 780px !important;
  }
}

@media (max-width: 992px) {
  .card.protalk-card {
    min-height: 750px !important;
  }
}

/* ProTalk card specific fixes */
.card[id="protalk-card"] {
  min-height: 800px !important;
  padding-bottom: 90px !important;
}

.card[id="protalk-card"] ul {
  margin: 0 15px 35px !important;
}

.card[id="protalk-card"] ul li {
  margin-bottom: 14px !important;
  font-size: 0.85rem !important;
  line-height: 1.5 !important;
}

.card[id="protalk-card"] .btn {
  bottom: 25px !important;
}

/* Master the Art heading fixes */
.heading-section {
  text-align: right !important;
  padding: 1rem !important;
  width: 100% !important;
  display: block !important;
}

.heading-section h1 {
  text-align: right !important;
  width: 100% !important;
  margin-right: 1rem !important;
  display: block !important;
  float: right !important;
  clear: both !important;
}

.section-title {
  text-align: right !important;
  width: 100% !important;
  margin-right: 1rem !important;
  display: block !important;
  float: right !important;
  clear: both !important;
}

.heading-section h1:after,
.section-title:after {
  right: 0 !important;
  left: auto !important;
  transform: none !important;
}

@media (max-width: 480px) {
  .card[id="protalk-card"] {
    min-height: 800px !important;
  }

  .heading-section,
  .heading-section h1,
  .section-title {
    text-align: right !important;
    padding-right: 1rem !important;
  }
}

@media (max-width: 768px) {
  .card[id="protalk-card"] {
    min-height: 780px !important;
  }
}

@media (max-width: 992px) {
  .card[id="protalk-card"] {
    min-height: 750px !important;
  }
}

/* Fix for ProTalk card */
.card h2.professional {
  margin-bottom: 15px;
}

.cards-container .card:last-child {
  min-height: 750px;
}

.cards-container .card:last-child ul {
  margin-bottom: 30px;
}

.cards-container .card:last-child .btn {
  position: absolute;
  bottom: 20px;
  left: 15px;
  right: 15px;
  width: calc(100% - 30px);
}

@media (max-width: 480px) {
  .cards-container .card:last-child {
    min-height: 800px;
  }
  
  .cards-container .card:last-child ul {
    margin-bottom: 35px;
  }
}

/* Fix for Master the Art heading */
.heading-section.pattern-bg-section {
  text-align: right;
}

.heading-section.pattern-bg-section h1 {
  text-align: right;
  padding-right: 1rem;
  width: 100%;
}

.heading-section.pattern-bg-section .section-subheading {
  text-align: right;
  padding-right: 1rem;
  width: 100%;
}

@media (max-width: 480px) {
  .heading-section.pattern-bg-section h1,
  .heading-section.pattern-bg-section .section-subheading {
    text-align: right !important;
    padding-right: 1rem;
  }
}

/* Fix for Master the Art heading and section titles */
.heading-section {
  text-align: center !important;
  padding: 40px 0 20px !important;
  width: 100% !important;
  display: block !important;
}

.heading-section h1 {
  text-align: center !important;
  width: 100% !important;
  margin: 0 auto 15px !important;
  display: block !important;
  float: none !important;
  clear: both !important;
  padding: 0 1rem !important;
}

.section-title {
  text-align: center !important;
  width: 100% !important;
  margin: 0 auto 25px !important;
  display: block !important;
  float: none !important;
  clear: both !important;
  padding: 0 1rem !important;
}

.heading-section h1:after,
.section-title:after {
  left: 50% !important;
  transform: translateX(-50%) !important;
  right: auto !important;
}

/* Enhancement Training Section Fixes */
.section-title.enhancement-training {
  text-align: center !important;
  margin: 3rem auto 1.5rem !important;
  float: none !important;
  max-width: 1000px;
  padding: 0 1rem 1rem !important;
}

.section-title.enhancement-training::after {
  left: 50% !important;
  transform: translateX(-50%) !important;
  right: auto !important;
}

/* Pattern Background Section Fixes */
.heading-section.pattern-bg-section {
  text-align: center !important;
}

.heading-section.pattern-bg-section h1 {
  text-align: center !important;
  padding: 0 1rem !important;
  width: 100% !important;
  margin: 0 auto 15px !important;
}

.heading-section.pattern-bg-section .section-subheading {
  text-align: center !important;
  padding: 0 1rem !important;
  width: 100% !important;
  margin: 0 auto 10px !important;
}

/* Responsive Fixes */
@media (max-width: 480px) {
  .heading-section,
  .heading-section h1,
  .section-title,
  .heading-section.pattern-bg-section h1,
  .heading-section.pattern-bg-section .section-subheading {
    text-align: center !important;
    padding: 0 1rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  .heading-section {
    padding: 40px 0 20px !important;
  }
}

/* Enhancement Training Section Container Fix */
.program-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

.overview-description {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* Enhancement Training Title Fix */
.section-title.enhancement-training {
  text-align: center !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  margin: 3rem auto 1.5rem !important;
  padding: 0 1rem 1rem !important;
  position: relative;
  left: 0 !important;
  transform: none !important;
  float: none !important;
}

.section-title.enhancement-training::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, var(--asset-red), var(--asset-blue));
  border-radius: 2px;
}

/* Container for the entire enhancement training section */
.enhancement-training-section {
  width: 100%;
  padding: 2rem 0;
  background-color: var(--bg-primary);
}

.enhancement-training-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title.enhancement-training {
  font-size: 2rem;
  color: var(--text-primary);
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin: 2rem auto 1.5rem;
  padding-bottom: 1rem;
  position: relative;
  display: block;
}

.section-title.enhancement-training::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, var(--asset-red), var(--asset-blue));
  border-radius: 2px;
}

/* Responsive styles */
@media (max-width: 1200px) {
  .section-title.enhancement-training {
    font-size: 1.8rem;
    max-width: 700px;
  }
}

@media (max-width: 768px) {
  .section-title.enhancement-training {
    font-size: 1.6rem;
    max-width: 100%;
    padding: 0 1rem 1rem;
  }
}

@media (max-width: 480px) {
  .section-title.enhancement-training {
    font-size: 1.4rem;
    margin: 1.5rem auto 1rem;
  }
}
