@import url('/cbt/css/root-b4ad5577f1d3135a99b22c2782151139.css');

:root {
    --primary-green: #3d8644;
    --hero-green: #50844B;
    --light-green: #4a7c59;
    --dark-green: #2E7D32;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --section-gray: #F7F7F8;
    --border-gray: #e9ecef;
}

body {
    font-family: var(--default-font);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--section-gray);
    padding-top: 0;
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--hero-green);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
    text-align: center;
}

.announcement-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: white;
}

.hero-section {
    --hero-display: young-serif, Georgia, 'Times New Roman', serif;
    --hero-wash: #e6f0e3;
    --hero-accent-text: var(--dark-green);
    --hero-highlight: #f4d35e;
    position: relative;
    overflow: hidden;
    padding: 110px 24px 80px;
    background: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="dark"] .hero-section {
    --hero-wash: var(--bg-secondary);
    --hero-accent-text: var(--primary-green);
    --hero-highlight: #8a7224;
}

body:has(.hero-section) #app-default-nav-bar:not(.scrolled):not(:has(.navbar-collapse.show, .navbar-collapse.collapsing)) {
    background-color: transparent !important;
}

@media (min-width: 1200px) {
    body:has(.hero-section) .gb-strip {
        transition: background-color .35s ease, box-shadow .35s ease, color .35s ease;
    }

    body:has(.hero-section) .gb-strip:not(.gb-strip-solid) {
        --gb-strip-bg: transparent;
        --gb-strip-fg: var(--text-primary);
    }

    body:has(.gb-strip) .hero-section {
        margin-top: -30px;
        padding-top: 140px;
    }
}

.hero-wash {
    position: absolute;
    inset: 0 auto auto 0;
    width: min(80%, 1000px);
    height: 100%;
    color: var(--hero-wash);
    z-index: 0;
    pointer-events: none;
}

.hero-wash svg {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-grid {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    padding-top: 40px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 56px;
    align-items: center;
}

.hero-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.hero-label {
    align-self: flex-start;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
}

.hero-label-title {
    position: relative;
    padding-bottom: 6px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.hero-label-title::after {
    content: "";
    position: absolute;
    left: -2px;
    right: -4px;
    bottom: -2px;
    height: 9px;
    background: var(--primary-green);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7c40-5 90-6 140-3 20 1 38 2 56-1' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7c40-5 90-6 140-3 20 1 38 2 56-1' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.hero-label-boards {
    font-size: 13px;
    letter-spacing: .06em;
    color: var(--text-secondary);
}

.hero-label-boards span + span::before {
    content: " \00B7  ";
    white-space: pre;
}

.hero-title {
    margin: 0;
    font-family: var(--hero-display);
    font-weight: 400;
    font-size: clamp(2.5rem, 1.4rem + 4.2vw, 4.8rem);
    line-height: 1.04;
    letter-spacing: -.015em;
    color: var(--text-primary);
    text-wrap: balance;
}

.hero-title .hero-accent {
    color: var(--hero-accent-text);
    padding: 0 .06em;
    margin: 0 -.06em;
    background: linear-gradient(transparent 80%, var(--hero-highlight) 80%, var(--hero-highlight) 90%, transparent 90%);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

@media (min-width: 1200px) {
    .hero-title {
        text-wrap: pretty;
    }

    html:lang(en) .hero-title .hero-accent {
        white-space: nowrap;
    }
}

.hero-lead-group {
    max-width: 34em;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-lead {
    margin: 0;
    font-size: 1.075rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.hero-motto {
    margin: 0;
    font-family: var(--hero-display);
    font-size: min(1.35rem, 3.8vw);
    line-height: 1.25;
    color: var(--text-primary);
}

.hero-motto span,
.hero-motto em {
    white-space: nowrap;
}

.hero-motto em {
    font-style: normal;
    color: var(--hero-accent-text);
}

.hero-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 28px;
    margin-top: 4px;
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: 4px;
    background: var(--primary-green);
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 4px 4px 0 var(--dark-green);
    transition: transform .15s ease, box-shadow .15s ease;
}

.hero-cta-primary:hover {
    color: #ffffff;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--dark-green);
}

.hero-cta-secondary {
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--primary-green);
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

.hero-cta-secondary:hover {
    color: var(--primary-green);
}

.hero-cta-primary:focus-visible,
.hero-cta-secondary:focus-visible {
    outline: 3px solid var(--hero-highlight);
    outline-offset: 3px;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-proof strong {
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.hero-proof-stars {
    color: #d9a420;
    font-size: 14px;
    letter-spacing: 2px;
}

.hero-facts {
    list-style: none;
    margin: 6px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-facts li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-facts i {
    color: var(--primary-green);
}

.hero-visual {
    position: relative;
    min-width: 0;
    justify-self: center;
    width: min(100%, 520px);
}

.hero-photo {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.04;
    object-fit: cover;
    object-position: 50% 42%;
    border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%;
}

.hero-seal {
    position: absolute;
    left: -34px;
    top: 18px;
    width: 132px;
    height: 132px;
    color: var(--hero-accent-text);
}

.hero-seal svg {
    width: 100%;
    height: 100%;
    font-family: var(--default-font);
    animation: heroSealSpin 38s linear infinite;
}

.hero-seal-core {
    position: absolute;
    inset: 34px;
    border-radius: 50%;
    background: #f4d35e;
    color: #1f2a1f;
    display: grid;
    place-items: center;
    font-family: var(--hero-display);
    font-size: 22px;
}

.hero-note {
    position: absolute;
    right: -40px;
    bottom: 28px;
    width: min(255px, 62%);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 12px 14px;
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 14px 14px 14px 4px;
    font-size: 14px;
    line-height: 1.45;
    box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .45);
}

.hero-note-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 2px var(--primary-green);
}

.hero-note-name {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 2px;
    font-size: 12.5px;
    font-weight: 700;
}

.hero-note-name span {
    font-weight: 400;
    color: var(--text-secondary);
}

.hero-note-msg {
    margin: 0;
}

.hero-note-msg strong {
    display: block;
}

.hero-note-msg span {
    color: var(--text-secondary);
}

@keyframes heroSealSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (min-width: 1320px) {
    .hero-note {
        right: -90px;
    }
}

@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
        padding-top: 32px;
    }

    .hero-wash {
        width: 100%;
        height: 62%;
    }

    .hero-visual {
        width: min(100%, 420px);
    }

    .hero-seal {
        left: -6px;
        top: -10px;
        width: 108px;
        height: 108px;
    }

    .hero-seal-core {
        inset: 28px;
        font-size: 18px;
    }

    .hero-note {
        right: -8px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 100px 16px 56px;
    }

    .hero-note {
        right: 0;
        bottom: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-seal svg {
        animation: none;
    }

    .hero-cta-primary {
        transition: none;
    }
}

/* Section Styles */
.section-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.section-description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: center;
}

/* Dark Mode - Make section titles more visible */
[data-theme="dark"] .section-title {
    color: var(--text-primary) !important;
    font-weight: 700;
    text-shadow: none;
}

[data-theme="dark"] .section-description {
    color: var(--text-secondary) !important;
}

/* Preview Learning Section */
.preview-learning-section {
    background: linear-gradient(135deg, rgba(247, 247, 248, 1) 0%, rgba(255, 255, 255, 1) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.preview-learning-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(61, 134, 68, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(80, 132, 75, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.preview-learning-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.preview-learning-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.preview-video-container {
    margin: 50px auto;
    max-width: 1200px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.video-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: var(--white);
    padding: 8px;
}

.video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.video-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.video-wrapper:hover img {
    opacity: 0.95;
}

.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.video-play-overlay i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.video-wrapper:hover .video-play-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-wrapper:hover .video-play-overlay i {
    transform: scale(1.1);
    color: rgba(255, 255, 255, 1);
}

.preview-cta-container {
    position: relative;
    z-index: 1;
}

.preview-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary-green), var(--hero-green));
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(61, 134, 68, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.preview-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(61, 134, 68, 0.4);
    color: white;
    background: linear-gradient(135deg, var(--hero-green), var(--dark-green));
}

.preview-cta-button i {
    font-size: 1.5rem;
}

/* Practice Section */
.practice-section {
    background-color: var(--section-gray);
    padding: 80px 0;
}

.stats-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    gap: 20px;
}

.stat-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid var(--border-gray);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--hero-green));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-color: var(--primary-green);
}

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

.stat-icon-wrapper {
    margin-bottom: 20px;
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    transition: transform 0.3s ease, color 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
    color: var(--hero-green);
}

.stat-content {
    flex-grow: 1;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1;
    /* Gradient text effect with fallback */
    color: var(--primary-green); /* Fallback color */
    background: linear-gradient(135deg, var(--primary-green), var(--hero-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 10px;
}

.card-arrow-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, rgba(61, 134, 68, 0.1), rgba(80, 132, 75, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    z-index: 2;
}

.card-arrow-icon i {
    color: var(--primary-green);
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.stat-card:hover .card-arrow-icon {
    background: linear-gradient(135deg, var(--primary-green), var(--hero-green));
    transform: scale(1.1);
}

.stat-card:hover .card-arrow-icon i {
    color: white;
    transform: translateX(3px);
}

.card-arrow-icon:hover {
    background: linear-gradient(135deg, var(--primary-green), var(--hero-green));
    transform: scale(1.15);
}

.card-arrow-icon:hover i {
    color: white;
    transform: translateX(5px);
}

/* Trending Section */
.trending-section {
    background-color: var(--section-gray);
    padding: 80px 0;
}

.trending-section .section-description {
    text-align: left;
}

.view-all-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    background: white;
    padding: 8px 16px;
    border-radius: 6px;
}

.view-all-link:hover {
    color: var(--primary-green);
}

.trending-qual-pills {
    display: flex;
    gap: 0.5rem;
}

.trending-qual-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1.4rem;
    border-radius: 50px;
    border: 2px solid var(--primary-green, #28a745);
    background: transparent;
    color: var(--primary-green, #28a745);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
}

.trending-qual-pill:hover {
    background: rgba(40, 167, 69, 0.1);
}

.trending-qual-pill.active {
    background: var(--primary-green, #28a745);
    color: #fff;
    border-color: var(--primary-green, #28a745);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.course-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-gray);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-green);
}

.course-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-green), var(--hero-green));
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image {
    transform: scale(1.1);
}

.course-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.course-card:hover .course-overlay {
    opacity: 1;
}

.course-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-green);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.course-card:hover .course-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.course-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.course-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.course-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.course-badge-level {
    background: rgba(61, 134, 68, 0.1);
    color: var(--primary-green);
}

.course-badge-type {
    background: rgba(61, 134, 68, 0.1);
    color: var(--primary-green);
}

.course-badge i {
    font-size: 0.7rem;
}

.course-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.course-description {
    color: var(--text-light);
    margin: 0 0 20px 0;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.course-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    color: var(--text-dark);
    border: 1px solid var(--border-gray);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 1rem;
}

.course-action-btn:hover {
    background-color: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 134, 68, 0.3);
}

.course-action-btn i {
    transition: transform 0.3s ease;
}

.course-action-btn:hover i {
    transform: translateX(4px);
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: var(--white);
}

.testimonials-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
    gap: 20px;
}

.testimonial-card {
    background: var(--section-gray);
    padding: 30px;
    margin-bottom: 20px;
    width: calc(50% - 10px);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-gray);
}

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

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.6;
    min-height: 70px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.read-story {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.read-story:hover {
    color: var(--light-green);
}

.testimonial-rating {
    display: flex;
    gap: 3px;
    margin-bottom: 15px;
}

.testimonial-rating i {
    font-size: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-avatar-initials {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), var(--hero-green));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.author-role {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

/* Results/Stats Section */
.results-section {
    background-color: var(--white);
    padding: 80px 0;
}

.results-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.result-stat-item {
    text-align: center;
    min-width: 200px;
}

.result-stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    color: var(--primary-green);
    line-height: 1;
    margin-bottom: 10px;
}

.result-stat-label {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.results-method {
    margin-top: 28px;
    font-size: 0.95rem;
}

.results-method a {
    color: var(--primary-green);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Exam Boards Coverage Section */
/* Scholarship Banner Section */
.scholarship-banner-section {
    background-color: var(--white);
    padding: 40px 0;
}

.scholarship-banner-link {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.scholarship-banner-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    text-decoration: none;
}

.scholarship-banner-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.exam-boards-section {
    background-color: var(--white);
    padding: 80px 0;
}

.exam-board-card {
    background-color: var(--section-gray);
    padding: 30px;
    border-radius: 12px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-gray);
}

.exam-board-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.exam-board-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.exam-board-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-dark);
    margin: 0;
}

.exam-board-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
    min-height: 80px;
}

.exam-board-practice-btn {
    background-color: #f8f9fa;
    color: var(--text-dark);
    border: 1px solid var(--border-gray);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    width: auto;
    text-align: left;
}

.exam-board-practice-btn:hover {
    background-color: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 134, 68, 0.3);
}

.exam-board-providers {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.exam-board-provider-link {
    font-size: 0.78rem;
    color: var(--primary-green);
    text-decoration: none;
    padding: 3px 10px;
    border-radius: 100px;
    border: 1px solid rgba(46, 125, 50, 0.2);
    background: rgba(46, 125, 50, 0.04);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.exam-board-provider-link:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

/* FAQ Section */
.faq-section {
    background-color: white;
    padding: 80px 0;
}

.faq-see-all-btn {
    background-color: #f8f9fa;
    color: var(--text-dark);
    border: 1px solid var(--border-gray);
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    width: auto;
    text-align: left;
}

.faq-see-all-btn:hover {
    background-color: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 134, 68, 0.3);
}

.faq-section a[href*="/users/help"] {
    color: var(--primary-green) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.faq-section a[href*="/users/help"]:hover {
    color: var(--dark-green) !important;
    text-decoration: underline;
}

/* Newsletter Subscription Section */
.newsletter-section {
    background: linear-gradient(135deg, rgba(61, 134, 68, 0.05) 0%, rgba(80, 132, 75, 0.05) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(61, 134, 68, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.newsletter-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(80, 132, 75, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.newsletter-card {
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    border: 1px solid rgba(61, 134, 68, 0.1);
}

.newsletter-icon-wrapper {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-green), var(--hero-green));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.newsletter-icon-wrapper i {
    font-size: 2.5rem;
    color: white;
}

.newsletter-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.newsletter-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 25px;
}

.newsletter-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.newsletter-benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.newsletter-benefit-item i {
    color: var(--primary-green);
    font-size: 1rem;
}

.newsletter-subscriber-count {
    font-size: 0.85rem;
    color: var(--text-light);
    display: block;
    margin-top: 15px;
    font-weight: 500;
}

.newsletter-form-wrapper {
    background: var(--section-gray);
    border-radius: 16px;
    padding: 30px;
    border: 2px solid rgba(61, 134, 68, 0.1);
}

.newsletter-form-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.newsletter-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.newsletter-input-icon {
    position: absolute;
    left: 20px;
    color: var(--text-light);
    font-size: 1.1rem;
    z-index: 2;
}

.newsletter-input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-dark);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(61, 134, 68, 0.1);
}

.newsletter-subscribe-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--primary-green), var(--hero-green));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(61, 134, 68, 0.3);
}

.newsletter-subscribe-btn:hover {
    background: linear-gradient(135deg, var(--dark-green), var(--primary-green));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61, 134, 68, 0.4);
}

.newsletter-subscribe-btn:active {
    transform: translateY(0);
}

.newsletter-subscribe-btn i {
    transition: transform 0.3s ease;
}

.newsletter-subscribe-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .newsletter-card {
        padding: 30px 20px;
    }

    .newsletter-title {
        font-size: 2rem;
    }

    .newsletter-form-wrapper {
        padding: 20px;
    }

    .newsletter-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .newsletter-icon-wrapper i {
        font-size: 2rem;
    }
}

.faq-accordion {
    margin-top: 2rem;
}

.faq-item {
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    color: var(--text-dark);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Mobile App Promotion Section */
.mobile-app-section {
    background-color: var(--white);
}

.app-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.app-feature-item {
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: var(--text-dark);
}

.app-download-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.app-badge-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.app-badge-link:hover {
    transform: translateY(-3px);
}

.app-mockup-container {
    position: relative;
    padding: 20px;
}

.app-mockup-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.app-mockup-image:hover {
    transform: scale(1.02);
}

/* Feature Highlights Section */
.features-section {
    background-color: var(--white);
}

.feature-card {
    padding: 30px 20px;
    background-color: var(--section-gray);
    border-radius: 12px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 15px;
}

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

.value-pillar-card {
    padding: 28px 22px;
    background-color: var(--section-gray);
    border-radius: 12px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.value-pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-pillar-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(46, 125, 50, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.4rem;
    color: var(--primary-green);
}

.value-pillar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.value-pillar-description {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .stat-card {
        margin-bottom: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-icon {
        font-size: 2rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .course-card, .testimonial-card {
        width: 100%;
    }

    .exam-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .course-image-wrapper {
        height: 180px;
    }

    .course-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .course-content {
        padding: 20px;
    }

    .course-title {
        font-size: 1.3rem;
    }

    .app-download-badges {
        justify-content: center;
    }

    .feature-card {
        margin-bottom: 20px;
    }

    .mobile-app-section .row {
        text-align: center;
    }

    .mobile-app-section .text-start {
        text-align: center !important;
    }

    .results-stats {
        gap: 40px;
    }

    .result-stat-number {
        font-size: 2.5rem;
    }

    .preview-learning-title {
        font-size: 2rem;
    }

    .preview-learning-subtitle {
        font-size: 1.1rem;
    }

    .video-play-overlay i {
        font-size: 3.5rem;
    }

    .preview-cta-button {
        font-size: 1rem;
        padding: 14px 30px;
    }

    .stat-card {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .scholarship-banner-section {
        padding: 30px 15px;
    }
}

/* Dark Mode Styles for Index Page */
[data-theme="dark"] body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="dark"] .preview-learning-section {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

[data-theme="dark"] .preview-learning-title,
[data-theme="dark"] .section-title {
    color: var(--text-primary);
}

[data-theme="dark"] .preview-learning-subtitle,
[data-theme="dark"] .section-description {
    color: var(--text-secondary);
}

[data-theme="dark"] .video-wrapper {
    background: var(--card-bg);
}

[data-theme="dark"] .practice-section,
[data-theme="dark"] .trending-section {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .stat-card,
[data-theme="dark"] .course-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .exam-board-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .value-pillar-card {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .value-pillar-icon {
    background: rgba(120, 200, 130, 0.12);
}

[data-theme="dark"] .stat-card:hover,
[data-theme="dark"] .course-card:hover,
[data-theme="dark"] .testimonial-card:hover,
[data-theme="dark"] .exam-board-card:hover,
[data-theme="dark"] .feature-card:hover,
[data-theme="dark"] .value-pillar-card:hover {
    border-color: var(--primary-green);
}

[data-theme="dark"] .stat-label,
[data-theme="dark"] .course-title,
[data-theme="dark"] .exam-board-title,
[data-theme="dark"] .feature-title {
    color: var(--text-primary);
}

[data-theme="dark"] .course-description,
[data-theme="dark"] .exam-board-description,
[data-theme="dark"] .feature-description,
[data-theme="dark"] .testimonial-text {
    color: var(--text-secondary);
}

[data-theme="dark"] .course-action-btn,
[data-theme="dark"] .exam-board-practice-btn,
[data-theme="dark"] .faq-see-all-btn,
[data-theme="dark"] .view-all-link {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .course-action-btn:hover,
[data-theme="dark"] .exam-board-practice-btn:hover,
[data-theme="dark"] .faq-see-all-btn:hover {
    background-color: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

[data-theme="dark"] .trending-qual-pill {
    border-color: var(--primary-green, #28a745);
    color: var(--primary-green, #28a745);
}

[data-theme="dark"] .trending-qual-pill:hover {
    background: rgba(40, 167, 69, 0.2);
}

[data-theme="dark"] .trending-qual-pill.active {
    background: var(--primary-green, #28a745);
    color: #fff;
}

[data-theme="dark"] .exam-board-provider-link {
    color: #8fe6a3;
    border-color: rgba(120, 200, 130, 0.25);
    background: rgba(120, 200, 130, 0.08);
}

[data-theme="dark"] .exam-board-provider-link:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
}

[data-theme="dark"] .course-badge-type {
    background: rgba(61, 134, 68, 0.2);
    color: var(--primary-green);
}

[data-theme="dark"] .testimonials-section,
[data-theme="dark"] .results-section,
[data-theme="dark"] .exam-boards-section,
[data-theme="dark"] .faq-section,
[data-theme="dark"] .mobile-app-section,
[data-theme="dark"] .features-section {
    background-color: var(--bg-primary);
}

[data-theme="dark"] .author-name {
    color: var(--text-primary);
}

[data-theme="dark"] .author-role {
    color: var(--text-secondary);
}

[data-theme="dark"] .newsletter-section {
    background: linear-gradient(135deg, rgba(61, 134, 68, 0.1) 0%, rgba(80, 132, 75, 0.1) 100%);
}

[data-theme="dark"] .newsletter-card {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

[data-theme="dark"] .newsletter-title {
    color: var(--text-primary);
}

[data-theme="dark"] .newsletter-description,
[data-theme="dark"] .newsletter-subscriber-count {
    color: var(--text-secondary);
}

[data-theme="dark"] .newsletter-benefit-item {
    color: var(--text-primary);
}

[data-theme="dark"] .newsletter-form-wrapper {
    background-color: var(--bg-secondary);
    border-color: var(--border-color);
}

[data-theme="dark"] .newsletter-input {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .newsletter-input:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(61, 134, 68, 0.2);
}

[data-theme="dark"] .faq-question {
    background-color: var(--card-bg);
    color: var(--text-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .faq-question:hover {
    background-color: var(--bg-tertiary);
}

[data-theme="dark"] .faq-answer {
    color: var(--text-secondary);
}

[data-theme="dark"] .app-feature-item {
    color: var(--text-primary);
}

/* Dark Mode - Fix navbar menu items on index page */
[data-theme="dark"] #app-default-nav-bar .navbar-nav .menu_btn,
[data-theme="dark"] #app-default-nav-bar .navbar-nav .nav-link {
    color: var(--text-primary) !important;
}

[data-theme="dark"] #app-default-nav-bar .navbar-nav .menu_btn:hover,
[data-theme="dark"] #app-default-nav-bar .navbar-nav .nav-link:hover {
    color: var(--primary-green) !important;
}

[data-theme="dark"] #app-default-nav-bar {
    background-color: var(--navbar-bg) !important;
}

/* ============================================
   Desktop App Promo Section
   ============================================ */
.desktop-app-promo-section {
    background-color: var(--bg-primary);
}

.desktop-app-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(76, 175, 80, 0.1);
    color: var(--primary-green);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.desktop-app-promo-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 16px;
}

.desktop-app-promo-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.desktop-app-promo-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.desktop-app-promo-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.desktop-app-promo-feature-item i {
    color: var(--primary-green);
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.desktop-app-promo-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.desktop-app-promo-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-green), #2E7D32);
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(61, 134, 68, 0.3);
    width: fit-content;
}

.desktop-app-promo-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(61, 134, 68, 0.4);
    color: #fff;
}

.desktop-app-promo-platforms {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.desktop-app-promo-platforms img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

.desktop-app-promo-banner-wrapper {
    text-align: center;
}

.desktop-app-promo-banner-wrapper .desktop-app-banner-link {
    display: block;
    text-decoration: none !important;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.desktop-app-promo-banner-wrapper .desktop-app-banner-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.desktop-app-promo-banner-wrapper .desktop-app-banner-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

/* Dark Mode - Desktop App Promo */
[data-theme="dark"] .desktop-app-promo-badge {
    background: rgba(76, 175, 80, 0.15);
    color: #81C784;
}

[data-theme="dark"] .desktop-app-promo-title {
    color: var(--text-primary);
}

[data-theme="dark"] .desktop-app-promo-feature-item {
    color: var(--text-secondary);
}

[data-theme="dark"] .desktop-app-promo-feature-item i {
    color: #81C784;
}

[data-theme="dark"] .desktop-app-promo-banner-wrapper .desktop-app-banner-link {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .desktop-app-promo-banner-wrapper .desktop-app-banner-link:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

@media (max-width: 991px) {
    .desktop-app-promo-title {
        font-size: 1.5rem;
    }

    .desktop-app-promo-content {
        text-align: center;
    }

    .desktop-app-promo-download-btn {
        width: 100%;
        justify-content: center;
    }

    .desktop-app-promo-platforms {
        justify-content: center;
    }

    .desktop-app-promo-features {
        align-items: center;
    }
}

/* Dark Mode - Override inline styles for sections */
[data-theme="dark"] section[style*="background-color: var(--white)"] {
    background-color: var(--bg-primary) !important;
}

/* Dark Mode - Fix inline text color styles */
[data-theme="dark"] h3[style*="color: var(--text-dark)"] {
    color: var(--text-primary) !important;
}

/* Dark Mode - Make section titles more prominent */
[data-theme="dark"] .section-title {
    color: var(--text-primary) !important;
    font-weight: 700 !important;
    opacity: 1 !important;
}

.result-stat-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    line-height: 1;
}

.result-stat-stars {
    display: inline-flex;
    gap: 4px;
    color: #FFC107;
}

.eco,
.who {
    --bg: var(--bg-primary);
    --fg: var(--text-primary);
    --fg-2: var(--text-secondary);
    --green: var(--primary-green);
    --green-deep: var(--dark-green);
    --accent-text: var(--dark-green);
    --border: var(--border-color);
    --paper: var(--card-bg);
    --wash: #e6f0e3;
    --wash-2: #f1f6ef;
    --highlight: #f4d35e;
    --display: young-serif, Georgia, 'Times New Roman', serif;
    --body: var(--default-font);
    --mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
    --bridge-ink: #2f3a30;
    --bridge-soft: rgba(47, 58, 48, .28);
    --water: rgba(61, 134, 68, .22);
    --bank: #e6f0e3;
    --red-pen: #c0392b;
    --board: #2f4a35;
    --chalk: #f4f7f2;
}

[data-theme="dark"] .eco,
[data-theme="dark"] .who {
    --accent-text: var(--primary-green);
    --wash: #2d2d2d;
    --wash-2: #242424;
    --highlight: #8a7224;
    --bridge-ink: #cfd6cf;
    --bridge-soft: rgba(207, 214, 207, .22);
    --water: rgba(61, 134, 68, .35);
    --bank: #2d2d2d;
    --red-pen: #ff6b5b;
    --board: #22382a;
}

.eco {
    padding-block: 96px 88px;
    background: var(--bg);
    overflow-x: clip;
}

.eco-kicker {
    align-self: flex-start;
}

.eco-head {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.eco-head h2 {
    font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem);
    line-height: 1.08;
    color: var(--fg);
}

.eco-head p {
    margin: 0;
    color: var(--fg-2);
    font-size: 1.075rem;
    max-width: 34em;
}

.eco-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 34px;
}

.eco-roles button {
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--paper);
    color: var(--fg);
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.eco-roles button .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: background-color .2s ease;
}

.eco-roles button:hover {
    border-color: var(--green);
}

.eco-roles button[aria-pressed="true"] {
    border-color: var(--green);
    background: var(--wash);
}

.eco-roles button[aria-pressed="true"] .dot {
    background: var(--green);
}

.eco-stage {
    position: relative;
    margin-top: 18px;
}

.eco-bridge {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.eco-bridge .wave {
    fill: none;
    stroke: var(--water);
    stroke-width: 2;
}

.eco-bridge .w1 {
    animation: eco-drift 9s linear infinite;
}

.eco-bridge .w2 {
    animation: eco-drift 13s linear infinite reverse;
}

.eco-bridge .w3 {
    animation: eco-drift 17s linear infinite;
}

@keyframes eco-drift {
    to {
        transform: translateX(200px);
    }
}

.eco-bridge .bank {
    fill: var(--bank);
}

.eco-bridge .bank-label {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: .18em;
    fill: var(--fg-2);
}

.eco-bridge .cable {
    fill: none;
    stroke: var(--bridge-ink);
    stroke-width: 3;
    stroke-linecap: round;
}

.eco-bridge .hangers line {
    stroke: var(--bridge-soft);
    stroke-width: 1.4;
}

.eco-bridge .tower path {
    fill: none;
    stroke: var(--bridge-ink);
    stroke-width: 5;
    stroke-linecap: round;
}

.eco-bridge .tower rect {
    fill: var(--bridge-ink);
}

.eco-bridge .deck {
    fill: var(--bridge-ink);
}

.eco-bridge .anchor {
    fill: var(--bg);
    stroke: var(--bridge-ink);
    stroke-width: 3;
}

.eco-bridge .route {
    fill: none;
    stroke: var(--green);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    stroke-dasharray: 2 14;
    transition: opacity .35s ease;
}

.eco-bridge[data-active="student"] .route[data-for="student"],
.eco-bridge[data-active="parent"] .route[data-for="parent"],
.eco-bridge[data-active="school"] .route[data-for="school"],
.eco-bridge[data-active="teacher"] .route[data-for="teacher"],
.eco-bridge[data-active="tutor"] .route[data-for="tutor"] {
    opacity: 1;
    animation: eco-march 1.2s linear infinite;
}

@keyframes eco-march {
    to {
        stroke-dashoffset: -32;
    }
}

.eco-bridge .packet rect {
    fill: var(--paper);
    stroke: var(--green);
    stroke-width: 1.5;
}

.eco-bridge .packet text {
    font-family: var(--body);
    font-size: 12.5px;
    font-weight: 700;
    fill: var(--fg);
    text-anchor: middle;
    dominant-baseline: central;
}

.eco-bridge .packet.back rect {
    stroke-dasharray: 4 3;
}

.eco-bridge .walker-body circle,
.eco-bridge .walker-body path {
    fill: var(--green);
}

.eco-bridge .walker-book {
    fill: var(--highlight);
}

.eco-nodes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.eco-node {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, calc(-100% - 14px));
    pointer-events: auto;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: 4px;
    background: var(--paper);
    color: var(--fg);
    border: 1px solid var(--bridge-ink);
    cursor: pointer;
    box-shadow: 3px 3px 0 var(--bridge-soft);
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.eco-node:hover {
    transform: translate(-50%, calc(-100% - 17px));
}

.eco-node.on {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.eco-node.eco-node-balloon {
    transform: translate(-100%, -50%);
}

.eco-node.eco-node-balloon:hover {
    transform: translate(-100%, calc(-50% - 3px));
}

.eco-node[data-role="parent"] {
    transform: translate(-20%, calc(-100% - 14px));
}

.eco-node[data-role="parent"]:hover {
    transform: translate(-20%, calc(-100% - 17px));
}

.eco-panel {
    margin-top: 26px;
}

.eco-panel-body[hidden] {
    display: none;
}

.eco-panel-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px 48px;
    align-items: end;
    padding: 26px 28px;
    border: 1px solid var(--border);
    border-left: 4px solid var(--green);
    background: var(--wash-2);
    border-radius: 4px;
}

.eco-panel-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.eco-panel-role {
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent-text);
}

.eco-panel-title {
    font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
    line-height: 1.2;
    color: var(--fg);
}

.eco-panel-points {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: grid;
    gap: 8px;
    color: var(--fg-2);
}

.eco-panel-points li {
    position: relative;
    padding-left: 22px;
}

.eco-panel-points li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: .62em;
    width: 10px;
    height: 2px;
    background: var(--green);
}

.eco-panel-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.eco-panel-swap {
    animation: eco-swap .35s ease;
}

@keyframes eco-swap {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
}

@media (max-width: 760px) {
    .eco-nodes {
        display: none;
    }
    .eco-panel {
        grid-template-columns: minmax(0, 1fr);
        padding: 22px 20px;
    }
    .eco-bridge .bank-label,
    .eco-bridge .packet text {
        font-size: 20px;
    }
    .eco-bridge .walker-tag text {
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eco-bridge .wave {
        animation: none;
    }
    .eco-bridge .route {
        animation: none !important;
    }
    .eco-panel-swap {
        animation: none;
    }
}

.eco-bridge .balloon .env {
    fill: var(--green);
}

.eco-bridge .balloon .gore {
    fill: var(--green-deep);
}

.eco-bridge .balloon .band {
    fill: var(--highlight);
}

.eco-bridge .balloon .rope {
    fill: none;
    stroke: var(--bridge-ink);
    stroke-width: 1.5;
}

.eco-bridge .balloon .basket {
    fill: #9a6b3c;
}

.eco-bridge .balloon .passenger {
    fill: var(--bridge-ink);
}

.eco-bridge .balloon-bob {
    animation: eco-bob 6s ease-in-out infinite;
}

@keyframes eco-bob {
    50% {
        transform: translateY(-8px);
    }
}

.eco-bridge .walker {
    cursor: pointer;
}

.eco-bridge .walker-tag rect {
    fill: var(--green);
}

.eco-bridge .walker-tag text {
    fill: #fff;
    font-family: var(--body);
    font-size: 13px;
    font-weight: 700;
    text-anchor: middle;
    dominant-baseline: central;
}

@media (prefers-reduced-motion: reduce) {
    .eco-bridge .balloon-bob {
        animation: none;
    }
}

.eco-bridge .chute path {
    fill: none;
    stroke: var(--bridge-soft);
    stroke-width: 1.6;
    stroke-dasharray: 4 7;
    stroke-linecap: round;
}

.eco-bridge .trail {
    fill: var(--green);
    opacity: .85;
}

.eco-bridge .parent-figure circle,
.eco-bridge .parent-figure path {
    fill: var(--bridge-ink);
}

.eco-bridge .walker-pack {
    fill: var(--highlight);
}

.eco-bridge .meter-dot {
    fill: var(--paper);
    stroke: var(--green);
    stroke-width: 1;
    transition: fill .3s ease;
}

.eco-bridge .meter-dot.on {
    fill: var(--green);
}

.eco-bridge .plus {
    font-family: var(--body);
    font-size: 13px;
    font-weight: 700;
    fill: var(--accent-text);
    text-anchor: middle;
}

.eco-bridge .prop .paper {
    fill: var(--paper);
    stroke: var(--bridge-ink);
    stroke-width: 1.4;
}

.eco-bridge .prop .flip {
    fill: var(--wash);
}

.eco-bridge .prop .ink {
    stroke: var(--bridge-ink);
    stroke-width: 2;
    stroke-linecap: round;
}

.eco-bridge .prop .map-node {
    fill: var(--green);
}

.eco-bridge .prop .bulb {
    fill: var(--highlight);
}

.eco-bridge .glyph {
    font-family: var(--body);
    font-size: 16px;
    font-weight: 700;
    fill: var(--fg);
    text-anchor: middle;
    dominant-baseline: central;
}

.eco-bridge .glyph.good {
    fill: var(--green);
}

.eco-bridge .glyph.small {
    font-size: 12px;
}

.eco-bridge .glyph.tiny {
    font-size: 8px;
}

.eco-bridge .prop .phones {
    fill: none;
    stroke: var(--bridge-ink);
    stroke-width: 3;
    stroke-linecap: round;
}

.eco-bridge .prop .phone-cup {
    fill: var(--green);
}

.eco-bridge .prop .wave-note {
    fill: none;
    stroke: var(--green);
    stroke-width: 2;
    stroke-linecap: round;
}

.eco-bridge .prop .screen {
    fill: var(--bridge-ink);
}

.eco-bridge .prop .play {
    fill: var(--paper);
}

.eco-bridge .prop .progress {
    fill: var(--green);
}

.eco-bridge .prop .notif {
    fill: var(--green);
}

.eco-bridge .prop .box {
    fill: none;
    stroke: var(--bridge-ink);
    stroke-width: 1;
}

.eco-bridge .prop .clock {
    fill: var(--paper);
    stroke: var(--bridge-soft);
    stroke-width: 3;
}

.eco-bridge .prop .clock-cap {
    fill: var(--bridge-ink);
}

.eco-bridge .prop .clock-ring {
    fill: none;
    stroke: var(--green);
    stroke-width: 3;
}

.eco-bridge .prop .lazuli-ring {
    fill: var(--paper);
    stroke: var(--green);
    stroke-width: 2;
}

.eco-bridge .bubble rect {
    fill: var(--paper);
    stroke: var(--green);
    stroke-width: 1.5;
}

.eco-bridge .bubble text {
    font-family: var(--body);
    font-size: 12.5px;
    font-weight: 500;
    fill: var(--fg);
    text-anchor: middle;
    dominant-baseline: central;
}

.eco-bridge .prop .pencil {
    fill: var(--highlight);
    stroke: var(--bridge-ink);
    stroke-width: 1;
}

.eco-bridge .prop .redpen {
    fill: none;
    stroke: var(--red-pen);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.eco-bridge .prop .board {
    fill: var(--board);
    stroke: #9a6b3c;
    stroke-width: 3;
}

.eco-bridge .prop .chalk {
    font-family: var(--body);
    font-size: 13px;
    fill: var(--chalk);
    text-anchor: middle;
    dominant-baseline: central;
}

.eco-bridge .prop .bar {
    fill: var(--green);
}

.eco-bridge .prop .flap {
    fill: var(--wash);
    stroke: var(--bridge-ink);
    stroke-width: 1.4;
    stroke-linejoin: round;
}

.eco-bridge .prop .character circle,
.eco-bridge .prop .character path {
    fill: var(--accent-text);
}

.eco-bridge .tutor circle,
.eco-bridge .tutor path {
    fill: var(--green-deep);
}

.eco-bridge .badge circle {
    fill: var(--highlight);
    stroke: var(--bridge-ink);
    stroke-width: 1.2;
}

.eco-bridge[data-active="student"] .packet:not([data-role="student"]) > * {
    opacity: .32;
}

.eco-bridge[data-active="parent"] .packet:not([data-role="parent"]) > * {
    opacity: .32;
}

.eco-bridge[data-active="school"] .packet:not([data-role="school"]) > * {
    opacity: .32;
}

.eco-bridge[data-active="teacher"] .packet:not([data-role="teacher"]) > * {
    opacity: .32;
}

.eco-bridge[data-active="tutor"] .packet:not([data-role="tutor"]) > * {
    opacity: .32;
}

.eco-bridge[data-active="student"] .packet[data-role="student"] rect {
    fill: var(--wash);
    stroke-width: 2.2;
}

.eco-bridge[data-active="parent"] .packet[data-role="parent"] rect {
    fill: var(--wash);
    stroke-width: 2.2;
}

.eco-bridge[data-active="school"] .packet[data-role="school"] rect {
    fill: var(--wash);
    stroke-width: 2.2;
}

.eco-bridge[data-active="teacher"] .packet[data-role="teacher"] rect {
    fill: var(--wash);
    stroke-width: 2.2;
}

.eco-bridge[data-active="tutor"] .packet[data-role="tutor"] rect {
    fill: var(--wash);
    stroke-width: 2.2;
}

.eco-wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding-inline: 24px;
}

.eco-head h2,
.eco-panel-title {
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: -.01em;
    text-wrap: balance;
    margin: 0;
}

.eco-accent {
    color: var(--accent-text);
}

.eco-kicker {
    position: relative;
    display: inline-block;
    font-size: 15px;
    font-weight: 500;
    padding-bottom: 6px;
    color: var(--fg);
    align-self: flex-start;
}

.eco-kicker::after {
    content: "";
    position: absolute;
    left: -2px;
    right: -4px;
    bottom: -2px;
    height: 9px;
    background: var(--green);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7c40-5 90-6 140-3 20 1 38 2 56-1' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7c40-5 90-6 140-3 20 1 38 2 56-1' fill='none' stroke='black' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.eco-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s ease, transform .6s ease;
}

.eco-reveal.in {
    opacity: 1;
    transform: none;
}

.eco-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 26px;
    border-radius: 4px;
    background: var(--green);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 4px 4px 0 var(--green-deep);
    transition: transform .15s ease, box-shadow .15s ease;
}

.eco-cta:hover {
    color: #fff;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--green-deep);
}

.eco-link {
    color: var(--fg);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--green);
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

.eco-link:hover {
    color: var(--green);
}

.eco-cta:focus-visible,
.eco-link:focus-visible,
.eco button:focus-visible {
    outline: 3px solid var(--highlight);
    outline-offset: 3px;
}

@media (max-width: 480px) {
    .eco-wrap {
        padding-inline: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .eco-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .eco-cta {
        transition: none;
    }
}

.who {
    padding-block: 88px 96px;
    background: var(--bg);
}

.who-head {
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 44px;
}

.who-head h2 {
    font-family: var(--display);
    font-weight: 400;
    letter-spacing: -.01em;
    text-wrap: balance;
    margin: 0;
    color: var(--fg);
    font-size: clamp(2rem, 1.3rem + 2.4vw, 3rem);
    line-height: 1.08;
}

.who-head p {
    margin: 0;
    color: var(--fg-2);
    font-size: 1.075rem;
}

.who-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
}

.who-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    color: var(--fg);
    text-decoration: none;
}

.who-card:hover {
    color: var(--fg);
}

.who-art {
    position: relative;
    aspect-ratio: 1 / 1.08;
    margin-bottom: 10px;
}

.who-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--blob-a);
    transition: border-radius .6s ease, transform .4s ease;
}

.who-card[data-persona="student"] {
    --blob-a: 58% 42% 46% 54% / 48% 56% 44% 52%;
    --blob-b: 44% 56% 58% 42% / 56% 44% 52% 48%;
}

.who-card[data-persona="parent"] {
    --blob-a: 46% 54% 42% 58% / 54% 46% 56% 44%;
    --blob-b: 56% 44% 52% 48% / 44% 58% 42% 56%;
}

.who-card[data-persona="school"] {
    --blob-a: 52% 48% 56% 44% / 44% 54% 46% 56%;
    --blob-b: 42% 58% 46% 54% / 56% 42% 58% 44%;
}

.who-card[data-persona="teacher"] {
    --blob-a: 44% 56% 50% 50% / 58% 44% 56% 42%;
    --blob-b: 54% 46% 42% 58% / 46% 56% 44% 54%;
}

.who-card[data-persona="student"] img {
    object-position: 28% 20%;
}

.who-card[data-persona="parent"] img {
    object-position: 50% 18%;
}

.who-card[data-persona="teacher"] img {
    object-position: 55% 16%;
}

.who-card[data-persona="school"] img {
    object-position: 50% 45%;
}

.who-card:hover .who-art img,
.who-card:focus-visible .who-art img {
    border-radius: var(--blob-b);
    transform: scale(1.02);
}

.who-card:focus-visible {
    outline: none;
}

.who-card:focus-visible h3 {
    text-decoration: underline;
    text-decoration-color: var(--highlight);
    text-underline-offset: 6px;
}

.who-card h3 {
    font-family: var(--display);
    font-weight: 400;
    margin: 0;
    color: var(--fg);
    font-size: 1.45rem;
    line-height: 1.15;
}

.who-card p {
    margin: 0;
    color: var(--fg-2);
    font-size: .95rem;
}

.who-go {
    margin-top: auto;
    padding-top: 6px;
    font-weight: 700;
    color: var(--accent-text);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.who-go svg {
    width: 16px;
    height: 16px;
    transition: transform .2s ease;
}

.who-card:hover .who-go svg {
    transform: translateX(3px);
}

.who-card[data-persona="student"]:hover .who-go svg {
    transform: translateY(3px);
}

.who-extra {
    margin: 30px 0 0;
    font-size: .95rem;
    color: var(--fg-2);
}

.who-extra a {
    color: var(--fg);
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: var(--green);
    text-underline-offset: 4px;
}

@media (max-width: 980px) {
    .who-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 18px;
    }
}

@media (max-width: 480px) {
    .who-card h3 {
        font-size: 1.2rem;
    }

    .who-card p {
        font-size: .88rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .who-art img,
    .who-go svg {
        transition: none;
    }
}

.section-title,
.preview-learning-title,
.newsletter-title,
.desktop-app-promo-title,
[data-theme="dark"] .section-title {
    font-family: young-serif, Georgia, 'Times New Roman', serif;
    font-weight: 400 !important;
    letter-spacing: -.01em;
}
