
  .navbar {
    padding: 1rem 0;
  }

  .navbar .container-fluid {
    max-width: 990px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
  }



  .btn-a11y {
    border-color: #dbecd0;
    color: inherit;
    background: transparent;
  }

  .btn-a11y:hover {
    border-color: #999;
    background: transparent;
    color: inherit;
  }

  .btn-a11y-active {
    border-color: #f5c400 !important;
    background-color: #fff9d6 !important;
  }

  [data-highlight-links] a:not(.btn):not(.navbar-brand) {
    background-color: #ffef6a !important;
    color: #000 !important;
    border-radius: 2px;
    padding: 0 2px;
    text-decoration: underline !important;
    text-decoration-color: #A7DC37 !important;
    text-decoration-thickness: 3px !important;
    text-underline-offset: 3px !important;
  }

  .nav-separator {
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    color: #ccc;
    font-weight: 300;
    user-select: none;
  }

  .navbar-nav .nav-link {
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1.5rem;
    font-family: Nunito, sans-serif;
  }



.active { 
    text-decoration-line: underline;
    text-decoration-thickness: 3px;
      text-underline-offset: 10px;
    text-decoration-color: #00B2E5;
  }






  .container {
    max-width: 990px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
  }

  /* Hero Card Styles */
  .hero-card {
    display: flex; align-items: stretch;
    margin: 4rem 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    border: 1px solid var(--bs-border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
  }

  [data-bs-theme="dark"] .hero-card {
    box-shadow: 0 2px 12px rgba(0,0,0,0.5);
  }

  [data-bs-theme="dark"] .hero-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  }

  .hero-card.reverse {
    flex-direction: row-reverse;
  }

  .hero-image {
    flex: 0 0 50%; display: flex; align-items: center;
    justify-content: center;
    font-size: 12rem;
    gap: 1.5rem;
    min-height: 300px;
  }

  .hero-content {
    flex: 0 0 50%;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bs-body-bg);
  }

  .hero-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
  }

  /* Transition Ribbons - Quote Style */
  .transition-ribbon {
    text-align: center;
    padding: 4rem 2rem;
    margin: 4rem 0;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.5;
    font-style: italic;
    position: relative;
    background: var(--bs-body-bg);
  }

  .transition-ribbon::before {
    content: '"';
    font-size: 4rem;
    color: #e0e0e0;
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
  }

  /* Quiz Banner */
  .quiz-banner {
    background: white;
    color: #212529;
    text-align: center;
    padding: 3rem 2rem;
    margin: 3rem 0;
  }

  .quiz-banner h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
  }

  /* Final CTA */
  .final-cta {
    text-align: center;
    margin: 4rem 0;
    padding: 3rem 2rem;
    background: white;
    color: #212529;
  }

  .final-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
  }

  /* Mobile adjustments */
  @media (max-width: 991px) {
    .hero-card,
    .hero-card.reverse {
      flex-direction: column;
    }

    .hero-image {
      flex: none;
      width: 100%;
      min-height: 250px;
    }

    .hero-content {
      flex: none; width: 100%;
      padding: 2rem 1.5rem; 
    }

    .hero-content h2 {
      font-size: 1.8rem;
    }

    .hero-content p {
      font-size: 1rem;
    }

    .transition-ribbon {
      font-size: 1.3rem;
      padding: 3rem 1.5rem;
    }
  }