    *,
    *::before,
    *::after {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    :root {
      --cream: #f5f5f5;
      --parchment: #f2ece0;
      --navy: #151f3d;
      --gold: #b8963a;
      --gold-lt: #b8963a;
      --text: #1a1a2e;
      --muted: #6b6b7a;
      --border: #ededed;
      --white: #ffffff;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: "Segoe UI", sans-serif;
      color: var(--text);
      background: var(--cream);
    }

    img {
      max-width: 100%;
      display: block;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      line-height: 56px;
    }

    /* TOPBAR */
    .topbar {
      background: var(--navy);
      color: rgba(255, 255, 255, 0.7);
      font-size: 16px;
      padding: 7px 48px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      letter-spacing: 0.3px;
    }

    .topbar a {
      color: rgba(255, 255, 255, 0.7);
      margin-left: 20px;
      transition: color 0.2s;
    }

    .topbar a:hover {
      color: var(--gold-lt);
    }

    /* NAVBAR */
    .navbar {
      background: var(--white);
      border-bottom: 1px solid #070e222e;
      position: sticky;
      top: 0;
      z-index: 999;
      height: 110px;
      display: flex;
      align-items: center;
      padding: 0 48px;
      box-shadow: 0 2px 16px rgba(13, 27, 62, 0.08);
    }

    .logo {
      margin-right: auto;
    }

    .nav-logo-img {
      height: 90px;
      width: auto;
      object-fit: contain;
      display: block;
    }

    .nav-links {
      display: flex;
      gap: 2px;
      align-items: center;
    }

    .nav-links a {
      padding: 9px 16px;
      font-size: 15px;
      font-weight: 400;
      color: var(--text);
      border-radius: 4px;
      transition: all 0.18s;
      letter-spacing: 0.2px;
    }

    .nav-links .nav-actions {
      display: flex;
      gap: 10px;
      margin-left: 24px;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: #ffffff;
      background: var(--navy);
      font-weight: 400;
    }

    .nav-links a.french {
      background: var(--navy);
      color: white;
      border-radius: 5px;
      padding: 9px 18px;
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }

    .nav-links a.french .fr-flag {
      display: inline-flex;
      width: 22px;
      height: 15px;
      border-radius: 2px;
      overflow: hidden;
      flex-shrink: 0;
      box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
    }

    .nav-links a.french .fr-flag svg {
      display: block;
      width: 100%;
      height: 100%;
    }

    .navbar .toggle-menu-icon {
      display: none;
    }

    .btn-ol {
      padding: 9px 22px;
      border: 2px solid var(--navy);
      color: var(--navy);
      font-weight: 600;
      font-size: 16px;
      border-radius: 4px;
      background: transparent;
      cursor: pointer;
      transition: all 0.18s;
    }

    .btn-ol:hover {
      background: var(--navy);
      color: var(--white);
    }

    .btn-prim {
      padding: 9px 22px;
      background: var(--gold);
      color: var(--white);
      font-weight: 600;
      font-size: 16px;
      border-radius: 4px;
      border: none;
      cursor: pointer;
      transition: background 0.18s;
    }

    .btn-prim:hover {
      background: #9a7a2a;
    }

    /* HERO */
    .hero {
      background: var(--navy);
      min-height: 600px;
      display: flex;
      align-items: center;
      padding: 80px 20px;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23B8963A' fill-opacity='0.05'%3E%3Cpath d='M0 0h80v80H0z'/%3E%3Cpath d='M20 20h40v40H20z' fill='none' stroke='%23B8963A' stroke-width='0.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

    .hero-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 80px;
      align-items: center;
      position: relative;
      z-index: 1;
      width: 100%;
    }

    .hero-rule {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 18px;
    }

    .hero-rule::before,
    .hero-rule::after {
      content: "";
      flex: 1;
      height: 1px;
      background: var(--gold);
      display: none;
    }

    .hero-rule span {
      color: var(--gold-lt);
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      white-space: nowrap;
    }

    .hero h1 {
      font-size: 52px;
      font-weight: 800;
      color: var(--white);
      line-height: 1.12;
      margin-bottom: 22px;
      letter-spacing: -0.3px;
    }

    .hero h1 em {
      color: var(--gold-lt);
      font-style: italic;
    }

    .hero p {
      font-size: 16px;
      color: rgb(255 255 255);
      line-height: 1.75;
      margin-bottom: 36px;
    }

    .hero-btns {
      display: flex;
      gap: 14px;
    }

    .btn-gold-hero {
      padding: 14px 15px;
      background: var(--gold);
      color: var(--white);
      font-weight: 700;
      font-size: 16px;
      border-radius: 4px;
      border: none;
      cursor: pointer;
      transition: background 0.18s;
      width: 145px;
    }

    .btn-gold-hero:hover {
      background: #9a7a2a;
    }

    .btn-ghost {
      padding: 14px 10px;
      border: 1.5px solid rgba(255, 255, 255, 0.35);
      color: var(--white);
      font-size: 16px;
      font-weight: 600;
      border-radius: 4px;
      background: var(--navy);
      cursor: pointer;
      transition: all 0.18s;
      width: 220px;
    }

    .btn-ghost:hover {
      border-color: var(--gold-lt);
      background: var(--navy);
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        background: rgb(7 14 34);
        border: 1px solid rgb(255 255 255 / 27%);
        border-radius: 8px;
        overflow: hidden;
        padding: 8px;
    }

    .hero-stat {
      padding: 28px 24px;
      background: rgba(255, 255, 255, 0.04);
      text-align: center;
    }

    .hero-stat strong {
      display: block;
      font-size: 34px;
      font-weight: 700;
      color: #ffffff;
    }

    .hero-stat span {
      font-size: 16px;
      color: rgba(255, 255, 255, 0.55);
      letter-spacing: 0.4px;
      text-transform: uppercase;
    }

    /* SECTIONS */
    section {
      padding: 84px 48px;
    }

    .max-w {
      max-width: 1200px;
      margin: 0 auto;
    }

    .sec-label {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-bottom: 12px;
    }

    .sec-label::before,
    .sec-label::after {
      content: "";
      flex: 0 0 32px;
      height: 1px;
      background: var(--gold);
    }

    .sec-label span {
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 2px;
      text-transform: uppercase;
      color: var(--gold);
    }

    .sec-title {
      font-size: 48px;
      font-weight: 800;
      color: var(--navy);
      letter-spacing: -0.2px;
    }

    .sec-title em {
      color: var(--gold);
      font-style: italic;
    }

    .sec-sub {
      font-size: 16px;
      color: var(--muted);
      line-height: 1.7;
      margin-top: 10px;
    }

    .sec-head {
      text-align: center;
      margin-bottom: 52px;
    }

    .sec-head .sec-label {
      justify-content: center;
    }

    .sec-head .sec-sub {
      max-width: 540px;
      margin: 10px auto 0;
    }

    /* GRADES */
    .grades-section {
      background: var(--white);
    }

    .grades-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 18px;
      margin-bottom: 18px;
    }

    .grade-card {
      display: block;
      height: 100%;
      border: 1px solid #ededed;
      border-radius: 15px;
      padding: 28px 18px 22px;
      background: var(--white);
      transition: all 0.2s;
      cursor: pointer;
      text-decoration: none;
      color: inherit;
    }

    .grade-card:hover {
      border-color: var(--navy);
      box-shadow: 0 6px 28px rgba(13, 27, 62, 0.1);
      transform: translateY(-3px);
    }

    .g-num {
      font-size: 36px;
      font-weight: 700;
      color: var(--navy);
      line-height: 1;
      margin-bottom: 10px;
    }

    .grade-card:hover .g-num {
      color: var(--navy);
    }

    .grade-card h3 {
      font-size: 18px;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 8px;
    }

    .grade-card p {
      font-size: 16px;
      color: var(--muted);
      line-height: 1.6;
      margin-bottom: 16px;
    }

    .grade-link {
      font-size: 16px;
      font-weight: 700;
      color: var(--gold);
      letter-spacing: 0.3px;
    }

    .grades-cta {
      text-align: center;
      margin-top: 10px;
    }

    .btn-navy {
      padding: 13px 20px;
      background: var(--navy);
      color: var(--white);
      font-weight: 700;
      font-size: 16px;
      border-radius: 4px;
      border: none;
      cursor: pointer;
      transition: background 0.18s;
      width: max-content;
    }

    /* FRENCH */
    .french-section {
      background: var(--cream);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .french-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 72px;
      align-items: start;
    }

    .french-feat {
      list-style: none;
      margin: 24px 0 32px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .french-feat li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-size: 16px;
      color: var(--text);
    }

    .check {
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: var(--navy);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .check svg {
      width: 11px;
      height: 11px;
      stroke: #ffffff;
      fill: none;
      stroke-width: 2.5;
    }

    .french-cards {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    .fr-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 26px 22px;
    }

    .fr-card-lvl {
      font-size: 30px;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      color: var(--gold);
      margin-bottom: 0px;
    }

    .fr-card h4 {
      font-size: 18px;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 8px;
      line-height: 30px;
    }

    .fr-card p {
      font-size: 16px;
      color: var(--muted);
      line-height: 1.6;
    }

    .fr-card-wide {
      grid-column: span 2;
    }

    .fr-tag {
      display: inline-block;
      margin-top: 12px;
      background: var(--navy);
      color: #ffffff;
      border-radius: 4px;
      padding: 5px 10px 8px;
      font-size: 16px;
      font-weight: 600;
    }

    a.fr-card-link {
      text-decoration: none;
      color: inherit;
      display: block;
      transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    }

    a.fr-card-link:hover {
      border-color: rgba(21, 31, 61, 0.25);
      box-shadow: 0 10px 24px rgba(21, 31, 61, 0.08);
      transform: translateY(-2px);
    }

    .french-level-panel {
      display: flex;
      flex-direction: column;
      gap: 28px;
    }

    .french-level-image {
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid var(--border);
      background: var(--white);
    }

    .french-level-image img {
      display: block;
      width: 100%;
      height: auto;
      max-height: 320px;
      object-fit: cover;
    }

    .fr-card-featured {
      padding: 32px 26px;
    }

    .french-other-levels h3 {
      font-size: 18px;
      font-weight: 700;
      color: var(--navy);
      margin: 0 0 14px;
    }

    .french-other-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    @media (max-width: 1099px) {
      .french-other-grid {
        grid-template-columns: 1fr;
      }
    }

    /* WHY */
    .why-section {
      background: var(--navy);
    }

    .why-section .sec-title {
      color: var(--white);
    }

    .why-section .sec-sub {
      color: rgba(255, 255, 255, 0.65);
    }

    .why-section .sec-label span {
      color: var(--gold-lt);
    }

    .why-section .sec-label::before,
    .why-section .sec-label::after {
      background: var(--gold-lt);
    }

    .why-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: rgba(255, 255, 255, 0.08);
    }

    .why-card {
      background: var(--navy);
      padding: 40px 28px;
      transition: background 0.2s;
    }

    .why-card:hover {
      background: #0c1329;
    }

    .why-num {
      font-size: 52px;
      font-weight: 700;
      color: rgb(184 150 58);
      line-height: 1;
      margin-bottom: 16px;
    }

    .why-card h3 {
      font-size: 18px;
      font-weight: 700;
      color: var(--white);
      margin-bottom: 10px;
    }

    .why-card p {
      font-size: 16px;
      color: rgba(255, 255, 255, 0.6);
      line-height: 1.7;
    }

    /* TESTIMONIALS */
    .t-section {
      background: var(--cream);
    }

    .t-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 22px;
    }

    .t-card {
      background: var(--white);
      border: 1px solid var(--border);
      border-radius: 6px;
      padding: 30px 24px;
      transition: box-shadow 0.2s;
    }

    .t-card:hover {
      box-shadow: 0 8px 32px rgba(13, 27, 62, 0.1);
    }

    .t-quote {
      font-size: 40px;
      color: var(--navy);
      line-height: 0.8;
      margin-bottom: 12px;
    }

    .t-text {
      font-size: 16px;
      color: var(--text);
      line-height: 1.75;
      margin-bottom: 20px;
      font-style: italic;
    }

    .t-stars {
      color: var(--gold);
      font-size: 16px;
      letter-spacing: 2px;
      margin-bottom: 16px;
    }

    .t-author {
      display: flex;
      align-items: center;
      gap: 12px;
      padding-top: 16px;
      border-top: 1px solid var(--border);
    }

    .t-av {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--navy);
      color: var(--gold-lt);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
      font-weight: 800;
      flex-shrink: 0;
    }

    .t-info strong {
      display: block;
      font-size: 16px;
      font-weight: 700;
      color: var(--navy);
    }

    .t-info span {
      font-size: 16px;
      color: var(--muted);
    }

    /* CTA */
    .cta {
      background: var(--gold);
      padding: 80px 48px;
      text-align: center;
    }

    .cta h2 {
      font-size: 48px;
      font-weight: 800;
      color: var(--white);
      margin-bottom: 14px;
    }

    .cta p {
      color: rgba(255, 255, 255, 0.85);
      font-size: 16px;
      margin-bottom: 36px;
    }

    .cta-btns {
      display: flex;
      gap: 14px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .btn-white {
      padding: 14px 34px;
      background: var(--white);
      color: var(--navy);
      font-weight: 600;
      font-size: 16px;
      border-radius: 4px;
      border: none;
      cursor: pointer;
      transition: all 0.18s;
    }

    .btn-white:hover {
      background: var(--navy);
      color: var(--white);
      border: 1px solid white;
    }

    .btn-outline-w {
      padding: 14px 28px;
      border: 2px solid rgba(255, 255, 255, 0.7);
      color: var(--white);
      font-size: 16px;
      font-weight: 600;
      border-radius: 4px;
      background: transparent;
      cursor: pointer;
      transition: all 0.18s;
    }

    .btn-outline-w:hover {
      border-color: var(--white);
      background: rgba(255, 255, 255, 0.15);
    }

    /* FOOTER */
    .footer {
      background: #070e22;
      color: rgba(255, 255, 255, 0.65);
      padding: 64px 30px 40px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
      gap: 40px;
      margin-bottom: 48px;
    }

    .footer-logo-img {
      height: 90px;
      width: auto;
      object-fit: contain;
      background: var(--white);
      border-radius: 8px;
      padding: 6px 10px;
      display: block;
    }

    .footer-brand p {
      font-size: 16px;
      line-height: 1.75;
      color: rgba(255, 255, 255, 0.5);
      margin-top: 18px;
    }

    .footer-col h4 {
      font-size: 18px;
      font-weight: 700;
      color: var(--white);
      letter-spacing: 1.5px;
      text-transform: uppercase;
      margin-bottom: 16px;
      padding-bottom: 10px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 9px;
    }

    .footer-col ul li a {
      font-size: 16px;
      color: rgba(255, 255, 255, 0.5);
      transition: color 0.18s;
    }

    .footer-col ul li a:hover {
      color: var(--gold-lt);
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding-top: 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 16px;
      color: rgba(255, 255, 255, 0.3);
      flex-wrap: wrap;
      gap: 12px;
    }

    .footer-socials {
      display: flex;
      gap: 10px;
    }

    .footer-socials a {
      width: 36px;
      height: 36px;
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.06);
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255, 255, 255, 0.45);
      font-size: 16px;
      font-weight: 700;
      transition: all 0.18s;
    }

    .footer-socials a:hover {
      background: var(--gold);
      color: var(--white);
    }

    .toggle-menu-close-icon {
      display: none;
      font-size: 30px;
      cursor: pointer;
      position: absolute;
      right: 5px;
      top: 2px;
      z-index: 1;
      color: black;
      width: 30px;
      height: 30px;
    }

    .mobile-contact-info {
      display: none;
  }

    /* GRADES */
    .course-grades-section {
      background: var(--white);
    }

    .course-grades-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
      margin-bottom: 18px;
    }

    .course-grade-card {
      border: 1px solid var(--navy);
      border-radius: 15px;
      padding: 5px 18px 22px;
      background: var(--white);
      transition: all 0.2s;
      cursor: pointer;
      height: 100%;
    }
    .serial-number-course {
      font-size: 48px;
      font-weight: 900;
      color: transparent;
      -webkit-text-stroke: 1px #151f3db3;
      margin-bottom: 10px;
  }

    .course-grade-card:hover {
      border-color: var(--navy);
      box-shadow: 0 6px 28px rgba(13, 27, 62, 0.1);
      transform: translateY(-3px);
    }

    .g-num {
      font-size: 36px;
      font-weight: 700;
      color: var(--navy);
      line-height: 1;
      margin-bottom: 10px;
    }

    .course-grade-card:hover .g-num {
      color: var(--navy);
    }

    .course-grade-card h3 {
      font-size: 18px;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 8px;
      line-height: normal;
    }

    .course-grade-card p {
      font-size: 16px;
      color: var(--muted);
      line-height: 1.6;
      margin-bottom: 16px;
    }

    .course-grade-link {
      font-size: 16px;
      font-weight: 700;
      color: var(--gold);
      letter-spacing: 0.3px;
    }

    .course-grades-cta {
      text-align: center;
      margin-top: 10px;
    }

/* About Us CSS Style */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 300px; /* Default height for desktop */
    /* Replace the URL below with your actual hosted image path */
    background-image: linear-gradient(to right, rgb(10 48 66) 20%, rgb(10 48 66 / 76%) 100%), url(../img/header-banner.jpg); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.banner-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ==========================================================================
   3. Typography & Breadcrumbs
   ========================================================================== */
.banner-content h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
}

.breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.breadcrumb a:hover {
    opacity: 0.8;
}

.breadcrumb .separator {
    color: #b8963a; /* Matches the reddish-orange arrow in the image */
    font-weight: 700;
}

.breadcrumb .current {
    color: #b8963a;
    font-weight: 700;
}

.about-section {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 0;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* --- Left Column (Image) --- */
.about-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    border-radius: 20px;
    object-fit: cover;
    object-position: center;
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  object-position: 100% 20%;
}

/* --- Right Column (Text Content) --- */
.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badge {
  align-self: flex-start;
  border: 1px solid var(--navy);
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.main-heading {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.25;
  color: #111111;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.description {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 36px;
}

/* --- Features Grid (2 columns for bullets) --- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  row-gap: 16px;
  column-gap: 24px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-icon {
  background-color: var(--navy); /* Vibrant blue icon background */
  color: #ffffff;
  font-size: 11px;
  font-weight: bold;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.feature-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy); /* Blue text style matches image items */
}

/* Responsive Code */
    @media(max-width: 1200px) {
      .grades-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
        margin-bottom: 18px;
      }

      .why-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
        background: rgba(255, 255, 255, 0.08);
      }

      .t-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
      }

      .hero h1 {
        font-size: 38px;
        font-weight: 800;
        color: var(--white);
        line-height: 1.12;
        margin-bottom: 22px;
        letter-spacing: -0.3px;
      }
    }

    @media(max-width: 1099px) {
      .french-inner {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 72px;
        align-items: start;
      }

      .footer-col h4 {
        font-size: 16px;
      }

      .nav-links {
        display: none;
        gap: 2px;
        align-items: flex-start;
        position: fixed;
        width: 95%;
        top: 0;
        left: 0;
        height: 100%;
        background: white;
        flex-direction: column;
        padding: 50px 25px 30px;
        max-width: 320px;
      }

      .nav-links.open {
        display: flex;
      }

      .nav-links a:hover,
      .nav-links a.active {
        display: block;
        width: 100%;
      }

      .nav-links a {
        display: block;
        width: 100%;
      }

      .nav-links .nav-actions {
        display: flex;
        gap: 10px;
        margin-left: 0px;
        margin-top: 20px;
      }

      .navbar .toggle-menu-icon {
        display: flex;
        font-size: 30px;
        cursor: pointer;
      }

      .nav-actions {
        display: none;
        gap: 10px;
        margin-left: 24px;
      }

      .toggle-menu-close-icon {
        display: flex;
      }

      .mobile-contact-info {
        display: block;
        position: absolute;
        bottom: 0;
        left: 0;
        background: #151f3d;
        color: white;
        padding: 18px 20px 15px;
        font-size: 14px;
      }
      .mobile-contact-info a {
        text-decoration: none;
        color: white;
        display: block;
        padding: 10px 0px 0px;
        font-size: 14px;
      }
      .topbar{
        display: none;
      }
    }

    @media(max-width: 991px) {
      .footer-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        margin-bottom: 48px;
      }

      .footer-col h4 {
        font-size: 16px;
      }

      .topbar {
        display: none;
      }

      section {
        padding: 84px 30px;
      }
      .hero-inner {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 80px;
        align-items: unset;
        position: relative;
        z-index: 1;
        width: 80%;
      }
    .course-grades-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 18px;
      margin-bottom: 18px;
    }
    }

    @media(max-width: 767px) {
      .hero-inner {
          max-width: 1200px;
          margin: 0 auto;
          display: flex;
          flex-direction: column;
          gap: 80px;
          align-items: unset;
          position: relative;
          z-index: 1;
          width: 100%;
      }
      .hero-rule span {
          color: var(--gold-lt);
          font-size: 16px;
          font-weight: 700;
          letter-spacing: 2px;
          text-transform: uppercase;
          white-space: normal;
      }
      .grades-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        margin-bottom: 18px;
      }

      .cta h2 {
        font-size: 32px;
      }

      .footer-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 39px;
        margin-bottom: 48px;
      }

      .hero-btns {
        display: flex;
        gap: 14px;
        align-items: flex-start;
        flex-wrap: wrap;
      }

      .sec-title {
        font-size: 32px;
        line-height: normal;
      }
    }

    @media(max-width: 600px) {
      .why-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 1px;
        background: rgba(255, 255, 255, 0.08);
      }

      .t-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 22px;
      }

      .footer-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 39px;
        margin-bottom: 48px;
      }
    }

    @media(max-width: 540px) {
        .hero-stats {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 1px;
            background: rgb(7 14 34);
            border: 1px solid rgb(255 255 255 / 27%);
            border-radius: 8px;
            overflow: hidden;
        }
        .grades-grid {
            display: grid;
            grid-template-columns: repeat(1, 1fr);
            gap: 18px;
            margin-bottom: 18px;
        }

        .french-cards {
            display: flex;
            flex-direction: column;
            gap: 16px;
            width: 100%;
        }

        .btn-navy {
            padding: 13px 10px;
            background: var(--navy);
            color: var(--white);
            font-weight: 600;
            font-size: 14px;
            border-radius: 4px;
            border: none;
            cursor: pointer;
            transition: background 0.18s;
            width: 100%;
            max-width: max-content;
        }

        section {
            padding: 84px 20px;
        }
        .cta {
            background: var(--gold);
            padding: 40px 20px;
            text-align: center;
        }
        .btn-outline-w {
            padding: 14px 12px;
        }
        .why-card {
            padding: 40px 10px;
        }
        .course-grades-grid {
          display: grid;
          grid-template-columns: repeat(1, 1fr);
          gap: 18px;
          margin-bottom: 18px;
        }
    }

/* ==========================================================================
   4. Responsiveness (Media Queries)
   ========================================================================== */

/* Tablets and Medium Screens */
@media (max-width: 768px) {
    .hero-banner {
        min-height: 240px; /* Slightly shorter banner for smaller screens */
    }

    .banner-container {
        padding: 0 24px;
    }

    .banner-content h1 {
        font-size: 2.3rem;
        margin-bottom: 8px;
    }
    
    .breadcrumb {
        font-size: 0.9rem;
    }
}

/* Mobile Devices */
@media (max-width: 480px) {
    .hero-banner {
        min-height: 180px;
    }

    .banner-container {
        padding: 0 16px;
    }

    .banner-content h1 {
        font-size: 1.8rem;
    }
    .sec-title {
        font-size: 24px;
        line-height: normal;
    }
    .cta h2 {
      font-size: 24px;
      line-height: normal;
    }
}

/* --- Responsive Media Queries --- */

/* For smaller screens and tablets */
@media (max-width: 992px) {
  .about-container {
    gap: 40px;
  }
  
  .main-heading {
    font-size: 32px;
  }
}

/* For mobile devices */
@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr; /* Stack layout vertically */
    gap: 32px;
  }
  
  .about-image {
    max-height: 400px; /* Prevent image from getting too tall on mobile */
  }

  .main-heading {
    font-size: 28px;
  }

  .features-grid {
    grid-template-columns: 1fr; /* Stack features in a single list on small screens */
    row-gap: 12px;
  }
}

/* Course Page HTML CSS Style */
/* Container Setup */
.tabs-container {
    display: flex;
    width: 90%;
    max-width: 1200px;
    margin: 60px auto 30px;
    background: #ffffff;
    border-radius: 12px;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: visible;
    min-height: 450px;
}

/* Sidebar Tab Menu */
.tabs-menu {
    list-style: none;
    width: 250px;
    background-color: #f8fafc;
    border-right: 1px solid #e2e8f0;
    padding: 20px 0;
    flex-shrink: 0;
    align-self: self-start;
    position: sticky;
    top: 110px;
}

.tabs-menu {
  width: 100%;
  border-right: none;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  z-index: 10;
}

.tab-item {
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
}

.tab-item:hover {
    background-color: #f1f5f9;
    color: #1e293b;
}

/* Active Tab State */
.tab-item.active {
    background-color: #151f3d;
    color: var(--gold);
    border-left-color: var(--gold);
    font-weight: 600;
}

/* Tab Content Window */
.tabs-content-wrapper {
    flex-grow: 1;
    padding: 20px 40px;
    background: #ffffff;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

/* Active Content State */
.tab-content.active {
    display: block;
}

.tab-content h2 {
    font-size: 24px;
    color: #1e293b;
    margin-bottom: 15px;
}

.tab-content p {
    color: #475569;
    line-height: 1.6;
    font-size: 15px;
}

/* Smooth Fade-in Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Responsive Layout (Mobile Breakdown) --- */
@media (max-width: 768px) {
    .tabs-container {
        flex-direction: column; /* Stack tabs vertically on top of content */
        min-height: auto;
    }

    .tabs-menu {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        display: flex;
        padding: 0;
        overflow-x: auto; /* Allows horizontal scrolling if tabs exceed screen width */
        scrollbar-width: none; /* Hides scrollbar on Firefox */
    }

    .tabs-menu::-webkit-scrollbar {
        display: none; /* Hides scrollbar on Chrome/Safari */
    }

    .tab-item {
        flex: 1;
        text-align: center;
        padding: 15px 20px;
        white-space: nowrap;
        border-left: none;
        border-bottom: 4px solid transparent;
    }

    .tab-item.active {
        border-left-color: transparent;
        border-bottom-color: var(--gold); /* Switches active indicator line to bottom */
    }

    .tabs-content-wrapper {
        padding: 25px;
    }
}

@media(max-width: 420px){
  .btn-gold-hero {
    width: 100%;
  }
  .btn-ghost {
    width: 100%;
  }
}

/* Ticker Text CSS Style */
/* Container styling to match the image background and hide overflow */
.ticker-container {
  width: 100%;
  overflow: hidden;
  background-color: #f2ece0; /* Cream color sampled from the image */
  padding: 15px 0;
  box-sizing: border-box;
}

/* Flex wrapper to align the original list and its duplicate side-by-side */
.ticker-wrap {
  display: flex;
  width: max-content;
}

/* Base styling for the list groupings */
.ticker-item-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  white-space: nowrap;
  /* Adjust the duration (30s) to make it faster or slower */
  animation: scroll-left 30s linear infinite; 
}

/* Individual item styling with the custom bullet points */
.ticker-item {
  display: inline-flex;
  align-items: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Fallback font */
  font-weight: 600;
  color: var(--navy); /* Deep blue text color */
  font-size: 1rem;
  padding: 0 2rem; /* Spacing between items */
}

/* CSS-based bullet points matching the golden/tan color in the image */
.ticker-item::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--gold); /* Golden bullet color */
  border-radius: 50%;
  margin-right: 12px;
}

/* Keyframe animation for smooth, infinite translation */
@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Pause animation on hover for better user experience (Optional) */
.ticker-container:hover .ticker-item-group {
  animation-play-state: paused;
}

/* Responsive adjustment for smaller mobile screens */
@media (max-width: 600px) {
  .ticker-item {
    font-size: 0.85rem;
    padding: 0 1.2rem;
  }
  .ticker-item-group {
    animation-duration: 20s; /* Speeds it up slightly on mobile for better flow */
  }
}


/* Custom Grade Inner Page CSS Style */

/* Container */
.custom-unique-container {
    max-width: 1170px;
    margin: 0 auto;
    width: 95%;
}

/* Header Banner Section */
.custom-unique-course-header {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-top: 40px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.custom-unique-header-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media(min-width: 768px) {
    .custom-unique-header-grid {
        grid-template-columns: 320px 1fr;
        align-items: center;
    }
}

/* Video Thumbnail Mockup */
.custom-unique-video-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.1);
}

.custom-unique-thumbnail-mock {
    color: rgba(255, 255, 255, 0.2);
    font-size: 4rem;
}

.custom-unique-badge-version {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #0ea5e9;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 4px 8px;
    border-radius: 20px;
    border: 2px solid white;
}

.custom-unique-play-btn {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: rgba(15, 23, 42, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 2;
}

.custom-unique-play-btn:hover {
    transform: scale(1.1);
}

/* Header Text info */
.custom-unique-course-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.custom-unique-course-subtitle {
    font-size: 15px;
    color: #1a1a2e;
    margin-bottom: 16px;
}

.custom-unique-meta-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 20px;
}

.custom-unique-tag i {
    color: #f43f5e;
    margin-right: 4px;
}

.custom-unique-category-tag {
    background-color: #151f3d;
    color: #ffffff;
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 100px;
    font-size: 0.75rem;
    width: 150px;
    text-align: center;
}

/* Instructor & Rating */
.custom-unique-instructor-rating {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-top: 1px solid #e2e8f0;
    padding-top: 16px;
}

.custom-unique-instructor {
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-unique-instructor-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.custom-unique-instructor-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
}

.custom-unique-instructor-title {
    font-size: 0.75rem;
    color: #94a3b8;
}

.custom-unique-stars {
    color: #f59e0b;
    font-size: 0.9rem;
    margin-right: 4px;
}

.custom-unique-rating-text {
    font-size: 0.85rem;
    color: #64748b;
}

/* Layout Breakdown For Dashboard */
.custom-unique-main-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media(min-width: 992px) {
    .custom-unique-main-layout {
        grid-template-columns: 2fr 1fr;
    }
}

/* Structural Cards */
.custom-unique-card {
    background-color: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.custom-unique-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 16px;
}

.custom-unique-sub-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
}

.custom-unique-description-text {
    font-size: 15px;
    color: #1a1a2e;
    line-height: 1.6;
}

/* Lectures Section styling */
.custom-unique-lectures-list {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.custom-unique-lecture-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
    gap: 16px;
}

.custom-unique-lecture-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.custom-unique-lecture-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-unique-play-icon {
    color: #f43f5e;
    font-size: 1rem;
}

.custom-unique-lecture-name {
    font-size: 18px;
    color: #151f3d;
    font-weight: 600;
}

.custom-unique-lecture-right {
    display: flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
}

.custom-unique-preview-link {
    color: #151f3d;
    font-size: 18px;
    font-weight: 500;
}

.custom-unique-duration {
    font-size: 0.85rem;
    color: #64748b;
}

/* Sidebar Pricing elements */
.custom-unique-pricing-block {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}

.custom-unique-price-free {
    font-size: 1.8rem;
    font-weight: 800;
    color: #22c55e;
}

.custom-unique-price-strike {
    font-size: 0.9rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.custom-unique-discount {
    color: #64748b;
    text-decoration: none;
    display: inline-block;
    margin-left: 4px;
    font-size: 0.85rem;
}

.custom-unique-action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

/* Buttons styling */
.custom-unique-btn-primary, 
.custom-unique-btn-secondary {
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    text-align: center;
}

.custom-unique-btn-primary {
    width: 100%;
    background-color: #3b3383;
    color: white;
    border: none;
}

.custom-unique-btn-primary:hover {
    background-color: #2e2866;
}

.custom-unique-btn-secondary {
    background-color: white;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.custom-unique-btn-secondary:hover {
    background-color: #f8fafc;
}

/* Features Include List */
.custom-unique-sidebar-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.2px;
}

.custom-unique-sidebar-title em {
    color: var(--gold);
    font-style: italic;
}

.custom-unique-includes-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.custom-unique-includes-list li {
    font-size: 16px;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 12px;
}

.custom-unique-includes-list li i {
    color: #f43f5e;
    font-size: 0.95rem;
    text-align: center;
}

/* Optional Sticky Panel on large viewports */
@media(min-width: 992px) {
    .custom-unique-sticky-pricing {
        position: sticky;
        top: 24px;
    }
}


/* 3-Column Grid Container Layout */

.sb-kp-dashboard-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    max-width: 1170px;
    margin: 40px auto;
    justify-content: center;
    width: 95%;
}

/* LEFT SIDEBAR: LECTURES */
.sb-kp-sidebar {
    background-color: var(--white);
    border-radius: 12px;
    padding: 10px;
    height: max-content;
    border: 1px solid #e2e8f0;
    position: sticky;
    top: 150px;
}

.sb-kp-sidebar-title {
    color: #151f3d;
    font-size: 1.25rem;
    margin-top: 10px;
    margin-bottom: 15px;
    padding-left: 10px;
    font-weight: 700;
    line-height: normal;
}

.sb-kp-nav-item {
    display: flex;
    align-items: center;
    padding: 5px 15px;
    color: rgb(21 31 61);
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 5px;
    transition: all 0.25s ease;
}

.sb-kp-nav-item:hover {
    color: #ffffff;
    background: #b8963a;
}
h3.chapter-title-heading {
    line-height: 21px;
    padding-left: 10px;
    margin-bottom: 12px;
    font-size: 17px;
}
.sb-kp-nav-active {
    border-left: 5px solid var(--sb-accent-gold);
    color: #ffffff;
    font-weight: 500;
    color: #ffffff;
    background: #b8963a;
}

.sb-kp-nav-icon {
    margin-right: 15px;
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.sb-kp-nav-text {
    flex-grow: 1;
    font-size: 1rem;
    font-weight: 600;
}

.sb-kp-arrow {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* MIDDLE CONTENT: WORKSHEET CARD */
.sb-kp-main-content {
    display: flex;
    flex-direction: column;
}

.sb-kp-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e2e8f0;
}

.sb-kp-card-header {
    color: #0f172a;
    padding: 18px 25px 5px;
    font-size: 2.5rem;
    font-weight: 700;
}

.sb-kp-card-body {
    padding: 20px 30px 30px 30px;
    flex-grow: 1;
}

/* Kid-Friendly Passage Setup */
.sb-kp-passage-section {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.sb-kp-passage-text-wrapper {
    flex: 1;
}
.passage-image-box {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 12px;
    max-height: 400px;
}
.sb-kp-paragraph {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.sb-kp-paragraph:last-child {
    margin-bottom: 0;
}

.sb-kp-mascot-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sb-kp-mascot-img {
    width: 110px;
    height: auto;
    object-fit: contain;
}

/* Big Interactive Answer Options */
.sb-kp-quiz-section {
    margin-top: 10px;
    margin-bottom: 40px;
}

.quiz-section-title {
    background: #f5f5f5;
    padding: 0px 20px;
    border-radius: 5px;
    color: #151f3d;
}

.sb-kp-question-title {
    font-size: 1.1rem;
    color: var(--sb-navy-dark);
    margin-bottom: 4px;
}

.question-list-box {
    padding: 10px 20px 0px;
}

.sb-kp-question-text {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.sb-kp-options-container {
    display: flex;
    gap: 12px;
    padding: 20px 20px;
    align-items: center;
    justify-content: center;
}
.sb-kp-word-bank-word {
    background: #151f3d;
    border-radius: 9px;
    padding: 10px 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sb-kp-option-btn {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    font-family: inherit;
}

.sb-kp-option-btn:hover {
    border-color: var(--sb-teal-sidebar);
    background-color: #f0fdfa;
    transform: translateY(-1px);
}

.sb-kp-option-selected {
    border-color: var(--sb-teal-sidebar) !important;
    background-color: #ecfdf5 !important;
    box-shadow: 0 4px 12px rgba(14, 131, 136, 0.1);
}

.sb-kp-option-word {
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    line-height: 16px;
    margin-bottom: 0px;
}

.sb-kp-option-desc {
    font-size: 0.9rem;
    color: var(--sb-text-light);
}

/* Middle Footer Progress Indicator */
.sb-kp-card-footer {
    background-color: var(--sb-navy-medium);
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.sb-kp-progress-status {
    color: #ffffff;
    font-size: 0.9rem;
    white-space: nowrap;
}

.sb-kp-progress-bar-bg {
    background-color: rgba(255,255,255,0.15);
    height: 10px;
    border-radius: 20px;
    flex-grow: 1;
    overflow: hidden;
}

.sb-kp-progress-bar-fill {
    height: 100%;
    background-color: var(--sb-teal-sidebar);
    border-radius: 20px;
}

/* RIGHT SIDEBAR: STATUS & INSIGHTS */
.sb-kp-right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sb-kp-right-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.sb-kp-right-card-header {
    background-color: var(--gold);
    color: #ffffff;
    padding: 14px 20px;
    font-size: 1.05rem;
    font-weight: 600;
}

/* Grade Circle & List Info Layout */
.sb-kp-grades-body {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.sb-kp-grade-circle {
    width: 75px;
    height: 75px;
    background: radial-gradient(circle, #f0fdfa, #ccfbf1);
    border: 4px solid var(--sb-teal-sidebar);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--sb-teal-sidebar);
}

.sb-kp-grade-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sb-kp-stat-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
}

.sb-kp-bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
    flex-shrink: 0;
}

.sb-kp-bullet-complete { background-color: var(--sb-teal-sidebar); }
.sb-kp-bullet-done { background-color: #065f46; }
.sb-kp-bullet-pending { background-color: #b45309; }

.sb-kp-stat-item p {
    color: var(--sb-text-dark);
    font-weight: 500;
}

.sb-kp-stat-item span {
    color: var(--sb-text-light);
    font-weight: 400;
}

/* Gamified Offers Styling */
.sb-kp-offers-list {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sb-kp-offer-item {
    display: flex;
    align-items: center;
    background-color: #f8fafc;
    border: 1px solid #edf2f7;
    padding: 12px;
    border-radius: 8px;
}

.sb-kp-offer-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    font-size: 1rem;
}

.sb-kp-icon-star {
    background-color: #fef3c7;
    color: #d97706;
}

.sb-kp-icon-shield {
    background-color: #dbeafe;
    color: #2563eb;
}

.sb-kp-offer-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--sb-text-dark);
    line-height: 1.4;
}

/* Container framework for header list item */
.chapter-title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: #b8963a00;
  color: rgb(0, 0, 0);
  border-radius: 5px;
  padding: 3px 15px;
  margin-bottom: 5px;
}

/* Parent anchor link text styling */
.chapter-title-g {
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  color: #000000; /* Apne color scheme ke hisab se badlein */
  flex-grow: 1;
}

/* Clickable control area for trigger icon */
.sb-kp-toggle-btn {
  cursor: pointer;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Base styles for sub-menu */
.sb-kp-sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-in-out;
}

/* Open template state triggers */
.sb-kp-lecture-nav.is-open .sb-kp-sub-menu {
  max-height: 1000px;
  margin-left: 10px;
}

/* Rotate icon on open */
.sb-kp-lecture-nav.is-open .sb-kp-toggle-btn i {
  transform: rotate(180deg);
}

/* --- ACTIVE HIGHLIGHT STATES --- */
/* Parent container active hone par text aur arrow highlight karein */

/* Sub-menu item active state styling */
.sb-kp-nav-item.sb-kp-nav-active .sb-kp-nav-text,
.sb-kp-nav-item.sb-kp-nav-active .sb-kp-arrow {
  color: #cda250 !important;
  font-weight: 700;
}
nav.sb-kp-lecture-nav.is-open.parent-active .chapter-title-wrapper {
    background: #b8963a;
    color: white;
    padding: 5px 15px;
    border-radius: 5px;
}
nav.sb-kp-lecture-nav.is-open.parent-active .chapter-title-wrapper .chapter-title-g {
  color: white;
}
.sb-kp-card-header {
    display: flex;
    align-items: center;
    color: #b8963a;
}
.lecture-title-img {
    width: 60px;
    margin-right: 20px;
}



/* Level 2 Wrapper alignment */
.sub-item-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.sub-item-wrapper .sb-kp-nav-item {
  flex-grow: 1;
  margin-bottom: 0; /* Align perfectly with button */
}

/* Level 3 Toggle Style */
.sb-kp-nested-toggle-btn {
  cursor: pointer;
  padding: 5px 15px;
  display: inline-flex;
  align-items: center;
  color: rgb(21, 31, 61);
}
.sb-kp-nested-toggle-btn i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

/* LEVEL 3 Dropdown Base Configuration */
.sb-kp-nested-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 0 15px; /* Thoda right shift clear depth ke liye */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-in-out;
}

/* Level 3 Item customization */
.sb-kp-nav-item.nested-item {
  padding: 5px 20px;
  font-size: 0.95rem;
  background: transparent;
}

/* Active State Triggers for Level 3 opening */
.sb-kp-lecture-nav .is-nested-open .sb-kp-nested-menu {
  max-height: 500px; /* Safe slide down */
  margin-bottom: 5px;
}
.sb-kp-lecture-nav .is-nested-open .sb-kp-nested-toggle-btn i {
  transform: rotate(180deg);
}

/* Level 3 nested link active coloring */
.sb-kp-nav-item.nested-item.sb-kp-nav-active {
  background: #b8963a1c !important; /* Soft distinct color output */
  color: #b8963a !important;
  border-left: 3px solid #b8963a;
  border-radius: 0 5px 5px 0;
}



/* 📱 RESPONSIVE BREAKPOINTS (Tablet and Mobile Friendly) */
@media (max-width: 1100px) {
    .sb-kp-dashboard-container {
        grid-template-columns: 240px 1fr;
    }
    .sb-kp-right-sidebar {
        grid-column: span 2;
        flex-direction: row;
    }
    .sb-kp-right-card {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .sb-kp-dashboard-container {
        display: flex;
        flex-direction: column-reverse;
    }
    .sb-kp-right-sidebar {
        grid-column: span 1;
        flex-direction: column;
    }
    .sb-kp-sidebar {
        background-color: var(--white);
        border-radius: 12px;
        padding: 10px;
        height: max-content;
        border: 1px solid #e2e8f0;
        position: relative;
        top: 10px;
    }
    .sb-kp-passage-section {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }
}

/* Container wrapper */
section.breadcrub-inner-page-cuse {
    padding: 0 !important;
    background: #151f3d;
}
.cuse_breadcrumb-container {
  width: 95%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 16px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.sb-kp-content-header h1 {
  margin: 4px 0 8px;
  color: #151f3d;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
}

.sb-kp-content-header p {
  margin: 0 0 22px;
  color: #4b5563;
  font-size: 15px;
  line-height: 1.5;
}

.grid-container > a.lesson-card-link {
  display: block;
  height: 100%;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

/* Flexbox setup for the list */
.cuse_breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
}

/* Base item styling */
.cuse_item {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}

/* Link styling */
.cuse_item a {
  color: #ffffff; /* Dark text matching the header style */
  text-decoration: none;
  transition: color 0.2s ease;
}

.cuse_item a:hover {
  color: #ffffff;
}

/* 
   Using the ::before pseudo-element on every item 
   that follows another item to inject the separator 
*/
.cuse_item + .cuse_item::before {
  content: "/";
  padding: 0 10px;
  color: #ffffff; /* Light gray slash */
  font-weight: 400;
}

/* Active item matching the gold color in image_c1c15a.png */
.cuse_item.cuse_active {
  color: #b8963a; 
  pointer-events: none; /* Disables clicking on the active page */
}

/* Responsive breakpoint for mobile viewports */
@media (max-width: 480px) {
  .cuse_item {
    font-size: 13px;
  }
  .cuse_item + .cuse_item::before {
    padding: 0 6px;
  }
}


/* Chapter sub topics CSS Style Code */
/* Responsive Grid Container */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    width: 100%;
    margin-bottom: 40px;
}

        /* Card Layout (Image -> Title -> Desc -> Button) */
        .card {
    background-color: var(--card-bg);
    padding: 0px;
    box-shadow: 0 8px 24px var(--card-shadow);
    border: 2px solid #b8963a42;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}

        /* Hover Effect */
        .card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 30px rgba(52, 138, 150, 0.15);
        }

        /* 1. Image Styling Placed at Top */
        .card-image-box {
            width: 100%;
            height: 140px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 20px;
            background-color: #f7fbf9;
            border-radius: 12px;
            overflow: hidden;
        }

        /* Placeholder styles for preview since local images aren't present */
        .card-image-box img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        /* Dummy color boxes instead of missing images for demo */
        .img-placeholder {
            font-size: 40px;
            font-weight: 800;
            color: var(--primary-btn);
        }

        .card-contents {
    padding: 0px 12px 20px;
}

        /* 2. Title Styling */
.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-main);
    line-height: 1.3;
    margin-bottom: 12px;
}

        /* 3. Short Description Styling */
.card-desc {
    font-size: 0.95rem;
    color: var(--text-sub);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 18px;
}

        /* 4. Button Styling */
.card-btn {
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    background: #151f3d !important;
    color: white;
    display: inline-block;
    margin-bottom: 15px;
}

        .btn-filled:hover {
            background-color: var(--primary-btn-hover);
        }

        /* Outlined Button Variant */
        .btn-outlined {
            background-color: transparent;
            color: var(--primary-btn);
            border: 2px solid var(--primary-btn);
        }

        .btn-outlined:hover {
            background-color: var(--primary-btn);
            color: #ffffff;
        }

        @media(max-width: 1100px){
          .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    width: 100%;
}
        }

        /* Responsive Breakpoints */
        @media (max-width: 600px) {
            .grid-container {
                grid-template-columns: 1fr; /* Full width row on mobile */
                gap: 16px;
            }
            .card-title, .card-desc {
                min-height: auto; /* Removes fix heights for natural flow on small screens */
            }
        }