@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --brand: #EC2029;
    --brand-dark: #c41a22;
    --brand-light: #ff3a42;
    --dark: #0c1222;
    --dark-2: #141c30;
    --dark-3: #1a2540;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f0f1f3;
    --gray-200: #e1e3e8;
    --gray-300: #c4c8d0;
    --gray-400: #8b92a0;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --text-light: #e2e8f0;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Dynamic Header Offset */
    --header-height: 108px;
    /* Announcement (40) + Nav (68 approx) */
}

body.no-announcement {
    --header-height: 68px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── ANNOUNCEMENT BAR ─── */
.announcement-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--brand);
    color: var(--white);
    z-index: 1001;
    display: flex;
    align-items: center;
    overflow: hidden;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(236, 32, 41, 0.3);
}

@media (max-width: 640px) {
    .announcement-bar {
        height: 36px;
        font-size: 12px;
    }
}

.announcement-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}

.marquee-text {
    display: flex;
    white-space: nowrap;
    animation: marquee 50s linear infinite;
    /* Slower speed */
    gap: 80px;
    padding-left: 20px;
    /* Immediate visibility */
}

.marquee-text span {
    padding-right: 80px;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.announcement-close {
    background: transparent;
    /* Remove the box background */
    border: none;
    color: var(--white);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1002;
    opacity: 0.8;
}

@media (max-width: 640px) {
    .announcement-close {
        width: 36px;
        height: 36px;
    }
}

.announcement-close:hover {
    background: transparent;
    opacity: 1;
    transform: scale(1.1);
}

/* ─── NAVBAR ─── */
.navbar {
    position: fixed;
    top: 40px;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(12, 18, 34, 0.95);
    backdrop-filter: blur(16px);
    padding: 12px 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 640px) {
    .navbar {
        top: 36px;
        padding: 10px 0;
    }

    body.no-announcement .navbar {
        top: 0;
    }
}

.navbar.top-zero {
    top: 0 !important;
}

/* Ensure body respects fixed header even when scrolling starts */
body {
    padding-top: 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo img {
    height: 44px;
}

@media (max-width: 640px) {
    .navbar-logo img {
        height: 36px;
    }
}

.navbar-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.navbar-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.navbar-links a:hover {
    color: var(--white);
}

.btn-enroll {
    background: var(--brand);
    color: var(--white) !important;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 14px;
    display: inline-block;
}

.btn-enroll:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(236, 32, 41, 0.35);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1002;
    padding: 10px;
    /* Larger hit area */
    margin: -10px;
    /* Offset padding to keep icon aligned */
}

@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }

    .navbar-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(12, 18, 34, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
    }

    .navbar-links.active {
        right: 0;
        opacity: 1;
        visibility: visible;
    }

    .navbar-links a {
        font-size: 20px;
        font-weight: 700;
        color: var(--white);
    }

    .navbar-links .btn-enroll {
        font-size: 18px;
        margin-top: 20px;
        width: 80%;
        text-align: center;
    }
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

/* ─── FOLD 1: HERO ─── */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, var(--dark-3) 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: calc(var(--header-height) + 40px);
    /* Increased safety margin */
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + 20px);
        padding-bottom: 40px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(236, 32, 41, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 6s ease-in-out infinite;
    pointer-events: none;
}

@media (max-width: 900px) {
    .hero::before {
        width: 400px;
        height: 400px;
        top: -10%;
        right: -10%;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Reduce vertical gap to bring stats bar closer */
    column-gap: 60px;
    row-gap: 24px;
    align-items: center;
    /* Ensure stats bar can span full width */
    grid-auto-flow: row;
    margin-top: auto;
    /* Works with flex-direction column to center vertically */
    margin-bottom: auto;
    width: 100%;
}

@media (max-width: 900px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: left;
        /* UX: Left alignment for scannability */
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

@media (max-width: 900px) {
    .hero-content {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(236, 32, 41, 0.15);
    border: 1px solid rgba(236, 32, 41, 0.3);
    padding: 8px 18px;
    border-radius: 50px;
    color: var(--brand-light);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: 60px;
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

@media (max-width: 900px) {
    .hero h1 {
        font-size: 38px;
        margin-bottom: 16px;
        text-align: left;
        /* UX: Consistent left alignment */
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 34px;
    }
}

.hero h1 span {
    color: var(--brand);
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(236, 32, 41, 0.2);
    z-index: -1;
}

.hero-desc {
    color: var(--gray-300);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 520px;
}

@media (max-width: 900px) {
    .hero-desc {
        font-size: 16px;
        margin-bottom: 24px;
        margin-left: 0;
        /* UX: Anchored to left */
        margin-right: 0;
        text-align: left;
    }
}

/* Hero Features List (bootcamp style) */
.hero-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (max-width: 900px) {
    .hero-features-list {
        order: 3;
        /* Move visual (2) and card above this on mobile */
        text-align: left;
        align-self: stretch;
    }
}

.hero-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: var(--gray-300);
    font-size: 15px;
    line-height: 1.5;
}

.hero-features-list li strong {
    color: var(--white);
}

.feature-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.feature-icon-green {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.feature-icon-blue {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.feature-icon-purple {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.feature-icon-red {
    background: rgba(236, 32, 41, 0.15);
    color: var(--brand);
}

.hero-cta {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .hero-cta {
        order: 2;
        /* CTA immediately after description */
        flex-direction: column;
        width: 100%;
        margin-bottom: 32px;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-outline {
        width: 100%;
        justify-content: center;
    }
}

/* ─── Hero Course Card (Right Side) ─── */
.hero-visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    padding-right: 15px;
    /* Fix for card truncation/shadow cutting */
}

@media (max-width: 900px) {
    .hero-visual {
        order: 4;
        display: flex;
        justify-content: flex-start;
        /* UX: Align card to left axis */
        padding-right: 0;
        width: 100%;
        margin-top: 20px;
    }
}

.hero-course-card {
    background: linear-gradient(165deg, rgba(20, 28, 48, 0.8), rgba(12, 18, 34, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 440px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

@media (max-width: 480px) {
    .hero-course-card {
        padding: 24px 20px;
    }
}

.hero-course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand), #ff6b6b, var(--brand));
}

.course-card-badge {
    display: inline-block;
    background: rgba(236, 32, 41, 0.15);
    color: var(--brand-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    text-transform: uppercase;
    border: 1px solid rgba(236, 32, 41, 0.2);
}

.hero-course-card h3 {
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.course-card-date {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    /* Maximum visibility as requested */
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 24px;
    opacity: 0.9;
}

.course-card-date svg {
    color: var(--brand);
}

/* ─── Timer Styling ─── */
.course-timer-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: center;
}

.timer-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--gray-400);
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.course-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.timer-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timer-num {
    font-size: 28px;
    font-weight: 900;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    line-height: 1;
}

.timer-unit {
    font-size: 9px;
    font-weight: 700;
    color: var(--brand-light);
    margin-top: 4px;
    letter-spacing: 1px;
}

.timer-separator {
    font-size: 24px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 12px;
}

/* ─── Seats Highlight ─── */
.seats-highlight-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(236, 32, 41, 0.1);
    border: 1px solid rgba(236, 32, 41, 0.2);
    padding: 14px;
    border-radius: 12px;
    margin-top: 24px;
}

.seats-text {
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
}

.pulse-icon {
    font-size: 20px;
    animation: bounce-pulse 1.5s ease-in-out infinite;
}

@keyframes bounce-pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 0px var(--brand));
    }

    50% {
        transform: scale(1.2);
        filter: drop-shadow(0 0 8px var(--brand));
    }
}

.course-card-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}

.course-card-price {
    margin-bottom: 24px;
}

.price-current {
    font-size: 44px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.price-note {
    color: var(--gray-400);
    font-size: 14px;
}

.course-card-highlights {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.course-card-highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-300);
    font-size: 14px;
}

.course-card-highlights li svg {
    color: #22c55e;
    flex-shrink: 0;
}

.course-card-cta {
    width: 100%;
    justify-content: center;
    padding: 16px 36px;
    font-size: 16px;
}

.course-card-seats {
    text-align: center;
    color: #f59e0b;
    font-size: 13px;
    font-weight: 600;
    margin-top: 14px;
}

/* ─── Hybrid Learning Section ─── */
.hybrid-section {
    background: var(--white);
    padding: 32px 0;
    border-bottom: 1px solid var(--gray-200);
}

.hybrid-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.hybrid-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(236, 32, 41, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    flex-shrink: 0;
}

.hybrid-text h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 2px;
}

.hybrid-text p {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
}

/* ─── FOLD 2: QUICK STATS BAR ─── */
/* ─── HERO STATS BAR (Integrated) ─── */
.hero-stats-bar {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 10px 30px;
    backdrop-filter: blur(10px);
}

@media (max-width: 900px) {
    .hero-stats-bar {
        order: 5;
        margin-top: 32px;
        padding: 0;
        background: transparent;
        border: none;
        backdrop-filter: none;
    }
}

.quick-stats-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .quick-stats-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

.qs-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    flex: 1;
    transition: all 0.3s ease;
    border-radius: 12px;
}

@media (max-width: 900px) {
    .qs-item {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        padding: 12px;
        flex-direction: column;
        text-align: left;
        /* UX: Consistent left alignment */
        gap: 12px;
        align-items: flex-start;
    }
}

.qs-item:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-2px);
}

.qs-divider {
    width: 1px;
    height: 56px;
    background: linear-gradient(180deg, transparent, rgba(236, 32, 41, 0.35), transparent);
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .qs-divider {
        display: none;
    }
}

.qs-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    /* Solid brand color for visibility */
    background: var(--brand);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(236, 32, 41, 0.3);
}

@media (max-width: 480px) {
    .qs-icon {
        width: 40px;
        height: 40px;
    }

    .qs-icon svg {
        width: 20px;
        height: 20px;
    }
}

.qs-content {
    min-width: 0;
}

.qs-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.3;
    letter-spacing: -0.3px;
}

@media (max-width: 480px) {
    .qs-value {
        font-size: 15px;
    }
}

.qs-review-count {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
}

.qs-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 3px;
    line-height: 1.3;
}

@media (max-width: 480px) {
    .qs-label {
        font-size: 11px;
    }
}

.btn-primary {
    background: var(--brand);
    color: var(--white);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(236, 32, 41, 0.4);
}

.btn-secondary {
    background: rgba(236, 32, 41, 0.05);
    color: var(--brand);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
    border: 2px solid rgba(236, 32, 41, 0.2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: var(--brand);
    color: var(--white);
    border-color: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(236, 32, 41, 0.2);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    border-color: var(--brand);
    color: var(--brand);
}

/* Curriculum Mode Popup Styles */
#popupModal.curriculum-mode .not-for-curriculum {
    display: none !important;
}

#popupModal.curriculum-mode .popup-submit {
    background: var(--brand);
    /* Back to brand color */
}

#popupModal.curriculum-mode .popup-submit:hover {
    background: var(--brand-dark);
}





/* ─── WHERE OUR GRADUATES WORK (MARQUEE) ─── */
.graduates-work {
    padding: 60px 0;
    /* Cleaner, premium cool gray backing */
    background: #f4f6f8;
    background: linear-gradient(180deg, #f7f9fb 0%, #edf1f3 100%);
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

@media (max-width: 640px) {
    .graduates-work {
        padding: 40px 0;
    }
}

.gw-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 40px;
}

@media (max-width: 640px) {
    .gw-title {
        font-size: 17px;
        margin-bottom: 30px;
        padding: 0 24px;
        /* Align with container padding */
        text-align: left;
        /* UX: Left alignment for scannability */
    }
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

@media (max-width: 640px) {

    .marquee-container::before,
    .marquee-container::after {
        content: '';
        position: absolute;
        top: 0;
        width: 50px;
        height: 100%;
        z-index: 2;
        pointer-events: none;
    }

    .marquee-container::before {
        left: 0;
        background: linear-gradient(to right, #f7f9fb, transparent);
    }

    .marquee-container::after {
        right: 0;
        background: linear-gradient(to left, #edf1f3, transparent);
    }
}

.marquee-content {
    display: inline-block;
    animation: marquee 30s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-33.33%);
    }
}

.marquee-item {
    display: inline-block;
    margin: 0 40px;
    vertical-align: middle;
}

@media (max-width: 640px) {
    .marquee-item {
        margin: 0 25px;
    }
}

.marquee-item img {
    height: 38px;
    width: auto;
    /* Make logos dark gray/black to match reference */
    filter: grayscale(100%) brightness(0.2);
    opacity: 0.7;
    transition: var(--transition);
}

@media (max-width: 640px) {
    .marquee-item img {
        height: 28px;
    }
}

.marquee-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}


/* ─── FOLD 3: MODULES ─── */
.modules {
    padding: 100px 0;
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(236, 32, 41, 0.1);
    color: var(--brand);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-header p {
    color: var(--gray-500);
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.module-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand);
    transform: scaleX(0);
    transition: var(--transition);
}

.module-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.module-card:hover::before {
    transform: scaleX(1);
}

.module-card .icon {
    width: 52px;
    height: 52px;
    background: rgba(236, 32, 41, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--brand);
}

.module-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.module-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

.module-num {
    font-size: 12px;
    color: var(--gray-300);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* ─── 3-column grid variant for 11 modules ─── */
.modules-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* ─── Module tagline (outcome sub-headline) ─── */
.module-tagline {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 14px;
    line-height: 1.4;
}

/* ─── Module bullet list ─── */
.module-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.module-bullets li {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
    padding-left: 16px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.module-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--brand);
    opacity: 0.5;
    flex-shrink: 0;
}

/* inline tag inside bullet (e.g. "Figma AI, Galileo") */
.bullet-tag {
    background: rgba(236, 32, 41, 0.08);
    color: var(--brand);
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 50px;
    white-space: nowrap;
}

/* ═══ MODULE 08 – AI HIGHLIGHT ═══ */
.module-card--ai {
    background: linear-gradient(145deg, #0e1628, #131d36);
    border-color: rgba(236, 32, 41, 0.35);
    box-shadow: 0 0 0 1px rgba(236, 32, 41, 0.18), 0 8px 32px rgba(236, 32, 41, 0.12);
    position: relative;
    overflow: hidden;
}

.module-card--ai::before {
    background: linear-gradient(90deg, var(--brand), #ff6b35, var(--brand));
    transform: scaleX(1);
}

.module-card--ai::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(236, 32, 41, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.module-card--ai:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 0 1px rgba(236, 32, 41, 0.4), 0 16px 48px rgba(236, 32, 41, 0.2);
    border-color: rgba(236, 32, 41, 0.55);
}

/* AI badge pill */
.module-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(90deg, var(--brand), #ff5c34);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.module-num--ai {
    color: rgba(255, 255, 255, 0.4);
}

.module-card--ai h4 {
    color: var(--white);
    font-size: 19px;
}

.module-tagline--ai {
    color: rgba(255, 200, 150, 0.9);
}

.module-bullets--ai li {
    color: rgba(255, 255, 255, 0.75);
}

.module-bullets--ai li::before {
    background: var(--brand);
    opacity: 0.9;
}

.icon--ai {
    background: rgba(236, 32, 41, 0.2) !important;
    box-shadow: 0 4px 16px rgba(236, 32, 41, 0.25);
}

/* AI closing note */
.module-ai-note {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    font-style: italic;
}

/* ─── FOLD 4: CLASSROOM ─── */
.classroom {
    padding: 100px 0;
    background: var(--dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle background accent to match Hero */
.classroom::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(236, 32, 41, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.classroom .container {
    display: block;
    position: relative;
    z-index: 1;
}

.classroom .section-tag {
    background: rgba(236, 32, 41, 0.2);
}

.classroom .section-header h2 {
    color: var(--white);
}

.classroom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 50px;
}

.classroom-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    padding: 40px 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.classroom-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--brand);
    transform: scaleX(0);
    transition: var(--transition);
}

.classroom-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(236, 32, 41, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.classroom-card:hover::before {
    transform: scaleX(1);
}

.classroom-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    color: var(--brand);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    background: rgba(236, 32, 41, 0.1);
    padding: 6px 14px;
    border-radius: 100px;
    width: fit-content;
}

.classroom-icon {
    width: 56px;
    height: 56px;
    background: rgba(236, 32, 41, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--brand);
    box-shadow: 0 8px 16px rgba(236, 32, 41, 0.1);
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--brand);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 0 0 rgba(236, 32, 41, 0.4);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(236, 32, 41, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(236, 32, 41, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(236, 32, 41, 0);
    }
}

.classroom-card h3 {
    font-size: 24px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 14px;
    line-height: 1.25;
}

.classroom-subtitle {
    font-size: 16px;
    color: var(--gray-400);
    margin-bottom: 28px;
    line-height: 1.6;
    font-weight: 500;
    min-height: 3.2em;
}

.classroom-list {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.classroom-list li {
    padding-left: 28px;
    position: relative;
    font-size: 15px;
    color: var(--gray-300);
    margin-bottom: 14px;
    line-height: 1.4;
}

.classroom-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--brand);
    font-size: 24px;
    line-height: 1;
    top: -2px;
}

.classroom-footer {
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    margin-top: auto;
}

@media (max-width: 1024px) {
    .classroom-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─── FOLD 5: ACCELERATOR ROADMAP ─── */
.accelerator {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.roadmap-wrapper {
    margin-top: 80px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    position: relative;
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 60px 40px;
    /* Optimized gap for better row proximity */
    position: relative;
    margin-bottom: 60px;
}

.roadmap-cta {
    text-align: center;
    margin-top: 20px;
}

.roadmap-cta .btn {
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(236, 32, 41, 0.2);
}

.roadmap-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 15px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.roadmap-step:hover {
    transform: translateY(-5px);
}

.step-marker {
    width: 70px;
    height: 70px;
    background: var(--white);
    border: 1px solid rgba(236, 32, 41, 0.2);
    /* Light Brand Border */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(236, 32, 41, 0.05);
    transition: var(--transition);
    position: relative;
    z-index: 3;
}

.step-num {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: rgba(236, 32, 41, 0.6);
    /* Primary Light color */
    color: var(--white);
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.step-icon {
    color: rgba(236, 32, 41, 0.4);
    /* Light Brand Icon */
    transition: var(--transition);
}

.roadmap-step:hover .step-marker,
.roadmap-step.active .step-marker {
    border-color: var(--brand);
    box-shadow: 0 10px 25px rgba(236, 32, 41, 0.15);
}

.roadmap-step:hover .step-num,
.roadmap-step.active .step-num {
    background: var(--brand);
    /* Pure Brand Color */
    transform: scale(1.1);
}

.roadmap-step:hover .step-icon,
.roadmap-step.active .step-icon {
    color: var(--brand);
    /* Pure Brand Color */
    transform: scale(1.1);
}

.step-content h3 {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-600);
    line-height: 1.5;
    transition: var(--transition);
    max-width: 160px;
    margin: 0 auto;
}

.roadmap-step:hover .step-content h3,
.roadmap-step.active .step-content h3 {
    color: var(--dark);
}

/* Triple Chevron Connectors */
.roadmap-step::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 50%;
    width: 80px;
    /* Width between steps */
    height: 30px;
    background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 5l7 7-7 7' stroke='%23EC2029' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M13 5l7 7-7 7' stroke='%23EC2029' stroke-width='2' fill='none' stroke-opacity='0.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M18 5l7 7-7 7' stroke='%23EC2029' stroke-width='2' fill='none' stroke-opacity='0.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 30px 30px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.35;
    /* Better default visibility */
    transition: all 0.4s ease;
    animation: chevron-flow 2s infinite linear;
}

@keyframes chevron-flow {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 30px 0;
    }
}

.roadmap-step:hover::after,
.roadmap-step.active::after {
    opacity: 1;
    /* Pure Brand on Hover/Active */
}

/* Horizontal connectors (1-4 and 6-9) */
.roadmap-step:nth-child(n+1):nth-child(-n+4)::after,
.roadmap-step:nth-child(n+6):nth-child(-n+9)::after {
    left: calc(50% + 35px);
    width: calc(100% - 70px);
}

/* Diagonal "Z" Jump (Step 5 to 6) */
.roadmap-step:nth-child(5)::after {
    top: 100px;
    left: -350%;
    /* Position roughly between 5 and 6 */
    width: 400px;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 19L5 5' stroke='%23EC2029' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M8 5l7 7-7 7' stroke='%23EC2029' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(155deg);
    /* Pointing from 5 down towards 6 */
    animation: none;
    opacity: 0.1;
}

/* Final Step (10) - No connector */
.roadmap-step:nth-child(10)::after {
    display: none;
}

@media (max-width: 1024px) {
    .roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px 20px;
    }

    .roadmap-step {
        flex-direction: row !important;
        align-items: center !important;
        text-align: left !important;
        gap: 20px;
        padding: 30px 10px !important;
    }

    .step-marker {
        margin-bottom: 0 !important;
        flex-shrink: 0;
    }

    .step-content h3 {
        max-width: 100% !important;
        margin: 0 !important;
    }

    .roadmap-step::after {
        display: none !important;
    }

    .step-marker::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
        height: 60px;
        background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 8l5 7 5-7' stroke='%23EC2029' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7 3l5 7 5-7' stroke='%23EC2029' stroke-width='2' fill='none' stroke-opacity='0.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M7 -2l5 7 5-7' stroke='%23EC2029' stroke-width='2' fill='none' stroke-opacity='0.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: repeat-y;
        background-size: 30px 40px;
        z-index: 1;
        opacity: 0.35;
        display: block;
        transition: all 0.4s ease;
        animation: chevron-flow-vertical 2s infinite linear;
    }

    @keyframes chevron-flow-vertical {
        from {
            background-position: 0 0;
        }

        to {
            background-position: 0 40px;
        }
    }

    .roadmap-step:last-child .step-marker::after {
        display: none;
    }

    .roadmap-step:hover .step-marker::after,
    .roadmap-step.active .step-marker::after {
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .roadmap-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .roadmap-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── FOLD 6: CAREER OUTCOMES (REDESIGN) ─── */
.outcomes {
    padding: 100px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-100);
}

.outcomes-header-box {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    gap: 40px;
}

.header-left h2 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--dark);
    margin-top: 10px;
}

.header-right {
    max-width: 450px;
}

.header-right p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 16px;
}

.outcomes-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.outcome-card {
    background: #fdf1f2;
    /* Soft red tint */
    padding: 30px;
    border-radius: 20px;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    /* Aesthetic cut-corner look */
    clip-path: polygon(0 0, 85% 0, 100% 15%, 100% 100%, 0 100%);
    border: 1px solid rgba(236, 32, 41, 0.05);
}

.outcome-card.card-highlight {
    background: linear-gradient(135deg, var(--brand), #c41921);
    color: var(--white);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
    /* Inverse cut corner */
}

.card-icon {
    width: 40px;
    height: 40px;
    background: rgba(236, 32, 41, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    margin-bottom: 30px;
}

.card-highlight .card-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.card-value {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    color: var(--dark);
}

.card-highlight .card-value {
    color: var(--white);
}

.card-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand);
    margin-bottom: 25px;
}

.card-highlight .card-label {
    color: rgba(255, 255, 255, 0.8);
}

.card-role {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.card-highlight .card-role {
    color: var(--white);
}

.card-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.4;
}

.card-highlight .card-desc {
    color: rgba(255, 255, 255, 0.7);
}

.outcome-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.outcomes-footer {
    text-align: right;
}

.starting-salary-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-700);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.starting-salary-tag span {
    color: var(--brand);
    font-weight: 800;
}

@media (max-width: 1100px) {
    .outcomes-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .outcomes-header-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .outcomes-cards-grid {
        grid-template-columns: 1fr;
    }

    .header-left h2 {
        font-size: 32px;
    }

    .card-value {
        font-size: 42px;
    }
}

/* ─── FOLD 7: TOOLS (DARK THEME) ─── */
.tools-section {
    padding: 120px 0;
    background: #050505;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.tools-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    perspective: 1000px;
}

.tools-bg-grid {
    position: absolute;
    width: 200%;
    height: 100%;
    left: -50%;
    background-image:
        linear-gradient(rgba(236, 32, 41, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(236, 32, 41, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 80%);
}

.tools-bg-grid--floor {
    bottom: -20%;
    transform: rotateX(60deg) translateY(0);
    animation: grid-move 20s linear infinite;
}

.tools-bg-grid--ceiling {
    top: -20%;
    transform: rotateX(-60deg) translateY(0);
    animation: grid-move-reverse 20s linear infinite;
    opacity: 0.5;
}

@keyframes grid-move {
    from {
        transform: rotateX(60deg) translateY(0);
    }

    to {
        transform: rotateX(60deg) translateY(60px);
    }
}

@keyframes grid-move-reverse {
    from {
        transform: rotateX(-60deg) translateY(0);
    }

    to {
        transform: rotateX(-60deg) translateY(-60px);
    }
}

.tools-scanline {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            transparent,
            rgba(236, 32, 41, 0.05) 40%,
            rgba(236, 32, 41, 0.2) 50%,
            rgba(236, 32, 41, 0.05) 60%,
            transparent);
    height: 200%;
    top: -100%;
    animation: scan-move 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes scan-move {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(50%);
    }
}

.tools-section .container {
    position: relative;
    z-index: 2;
}

.tools-section .container {
    position: relative;
    z-index: 2;
}

.tools-section .section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.tools-section .section-tag {
    background: rgba(236, 32, 41, 0.2);
}

.tools-section h2 {
    color: var(--white);
    font-size: 38px;
    font-weight: 800;
    margin-top: 10px;
}

.tools-section p {
    color: var(--gray-400);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px 30px;
    position: relative;
    z-index: 2;
}

.tool-card {
    text-align: center;
    transition: var(--transition);
}

.tool-icon-box {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    padding: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.tool-icon-box img,
.tool-icon-box svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tool-card span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-300);
    transition: var(--transition);
}

.tool-card:hover {
    transform: translateY(-8px);
}

.tool-card:hover .tool-icon-box {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(236, 32, 41, 0.3);
}

.tool-card:hover span {
    color: var(--brand);
}

@media (max-width: 900px) {
    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─── FOLD 8: WHY ADORO ─── */
.why-adoro {
    padding: 100px 0;
    background: var(--white);
    color: var(--dark);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 32px;
    display: flex;
    gap: 20px;
    transition: var(--transition);
}

.why-card:hover {
    border-color: var(--brand);
    background: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(236, 32, 41, 0.08);
}

.why-card .why-icon {
    width: 48px;
    height: 48px;
    background: rgba(236, 32, 41, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    flex-shrink: 0;
}

.why-card h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.why-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ─── COMPARISON TABLE (LIGHT THEME) ─── */
.comparison-table-wrapper {
    margin-top: 60px;
    overflow-x: auto;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 24px 30px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.comparison-table th {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-600);
    background: #fcfcfc;
}

.comparison-table th.adoro-header {
    background: #fdf2f2;
    color: var(--brand);
    position: relative;
    font-weight: 900;
}

.comparison-table th.adoro-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--brand);
}

.feature-name {
    font-weight: 700;
    color: var(--dark);
    font-size: 16px;
}

.adoro-cell {
    background: #fdf2f2;
    font-weight: 700;
    color: var(--dark);
}

.others-cell {
    color: var(--gray-500);
    font-weight: 500;
}

.comp-icon-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.comp-icon-box svg {
    flex-shrink: 0;
}

.comp-check {
    color: var(--brand);
}

.comp-cross {
    color: #ccc;
}

@media (max-width: 768px) {
    .comparison-table-wrapper {
        border-radius: 12px;
        margin-top: 40px;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 18px 20px;
        font-size: 14px;
    }

    .feature-name {
        font-size: 14px;
    }
}

/* ─── FOLD 9: GOOGLE REVIEWS CAROUSEL ─── */
.google-reviews {
    padding: 100px 0;
    background: var(--gray-50);
    overflow: hidden;
}

/* Google Rating Badge */
.google-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 60px;
    padding: 12px 28px;
    margin-top: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.google-rating-info {
    text-align: left;
}

.google-rating-score {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
}

.google-rating-stars {
    color: #f59e0b;
    font-size: 16px;
    margin-left: 4px;
}

.google-rating-count {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 2px;
}

/* Carousel Wrapper */
.reviews-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 48px;
}

/* Nav Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 24px rgba(236, 32, 41, 0.3);
}

.carousel-btn-prev {
    left: -24px;
}

.carousel-btn-next {
    right: -24px;
}

/* Carousel Container */
.reviews-carousel {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

/* Track — the scrolling strip */
.reviews-track {
    display: flex;
    gap: 24px;
    animation: reviewScroll 60s linear infinite;
    width: max-content;
}

.reviews-track:hover {
    animation-play-state: paused;
}

@keyframes reviewScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Individual Review Card */
.g-review-card {
    flex-shrink: 0;
    width: 380px;
    background: var(--white);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
}

.g-review-card:hover {
    border-color: rgba(66, 133, 244, 0.3);
    box-shadow: 0 8px 32px rgba(66, 133, 244, 0.1);
    transform: translateY(-4px);
}

/* Card Header */
.g-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.g-review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.g-review-meta {
    flex: 1;
}

.g-review-meta h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.2;
}

.g-review-time {
    font-size: 12px;
    color: var(--gray-400);
}

.g-review-google {
    flex-shrink: 0;
    opacity: 0.7;
    transition: var(--transition);
}

.g-review-card:hover .g-review-google {
    opacity: 1;
}

/* Stars */
.g-review-stars {
    color: #f59e0b;
    font-size: 14px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

/* Review Text */
.g-review-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ─── FOLD 11: STATS / CAMPUS ─── */
.campus-stats {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.campus-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.campus-stats .container {
    position: relative;
    z-index: 1;
}

.campus-stats h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 12px;
}

.campus-stats>.container>p {
    font-size: 17px;
    opacity: 0.85;
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-item {
    padding: 20px;
}

.stat-item .stat-num {
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
}

.stat-item .stat-label {
    font-size: 15px;
    opacity: 0.85;
    margin-top: 8px;
}

/* ─── FOLD 12: FAQ ─── */
.faq {
    padding: 100px 0;
    background: var(--white);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--brand);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--brand);
}

.faq-question svg {
    transition: var(--transition);
    flex-shrink: 0;
    color: var(--brand);
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ─── FOLD 13: CTA BANNER ─── */
.cta-banner {
    padding: 100px 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(236, 32, 41, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-inner h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-inner h2 span {
    color: var(--brand);
}

.cta-inner p {
    font-size: 17px;
    color: var(--gray-400);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ─── FOLD 14: FOOTER ─── */
.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand img {
    height: 44px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition);
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--brand);
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--brand);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

/* ─── FOLD 15: ENROLL FORM SECTION ─── */
.enroll-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    position: relative;
    overflow: hidden;
}

.enroll-section.roadmap-styled {
    background: linear-gradient(140deg, #1a0508 0%, #2d0a0e 45%, #1c0305 100%);
    border: 1px solid rgba(236, 32, 41, 0.4);
    animation: roadmapGlow 4s ease-in-out infinite;
}

.enroll-section .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.enroll-roadmap-meta {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin-top: 30px;
}

.enroll-text .roadmap-label {
    margin-bottom: 12px;
}

.enroll-text .roadmap-title {
    font-size: 42px !important;
    font-weight: 800;
    color: var(--white) !important;
    margin-bottom: 24px;
    line-height: 1.2;
}

.enroll-text .roadmap-sub {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.95);
    /* Improved contrast from 0.8 */
    margin-bottom: 0;
}

.enroll-text .roadmap-check-icon {
    background: var(--brand);
    color: var(--white);
    box-shadow: 0 0 10px rgba(236, 32, 41, 0.4);
}

.enroll-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.enroll-features li {
    color: var(--white);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.enroll-features li svg {
    flex-shrink: 0;
}

.enroll-form {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.enroll-form h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 28px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 8px;
}

/* Success state for inline form */
.enroll-form .form-success-state h2 {
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
    background: var(--white);
    color: var(--dark);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(236, 32, 41, 0.08);
}

.form-group textarea {
    resize: none;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 8px;
    font-family: inherit;
    letter-spacing: 0.3px;
}

.form-submit:hover {
    background: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(236, 32, 41, 0.3);
}

/* ─── ANIMATIONS ─── */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-desc {
        margin: 0 auto 32px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-features-list {
        align-items: center;
    }

    .hero-visual {
        margin-top: 40px;
    }

    .hero-course-card {
        max-width: 380px;
        margin: 0 auto;
    }

    .quick-stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        align-items: stretch;
    }

    .qs-item {
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 16px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        height: 100%;
        margin-bottom: 0;
    }

    .qs-divider {
        display: none;
    }

    .qs-divider:nth-child(4) {
        display: none;
    }

    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .classroom-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .classroom-card {
        padding: 32px 24px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tools-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tools-grid.tools-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .review-summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 20px;
        gap: 16px;
    }

    .navbar-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-course-card {
        max-width: 100%;
        padding: 28px;
    }

    .price-current {
        font-size: 32px;
    }

    .quick-stats-grid {
        flex-direction: column;
        gap: 0;
    }

    .qs-divider {
        width: 100%;
        height: 1px;
    }

    .qs-item {
        flex: 1;
        width: 100%;
        padding: 20px;
    }

    .modules-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }

    .g-review-card {
        width: 300px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn-prev {
        left: -8px;
    }

    .carousel-btn-next {
        right: -8px;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tools-grid.tools-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .tool-card.tool-primary {
        transform: scale(1);
    }

    .tool-card.tool-primary:hover {
        transform: translateY(-4px);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-inner h2 {
        font-size: 30px;
    }

    .enroll-section .container {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 24px;
    }

    .campus-stats h2 {
        font-size: 30px;
    }
}

/* ─── POPUP MODAL ─── */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-modal {
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    max-height: 90vh;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.popup-modal::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.popup-overlay.active .popup-modal {
    transform: translateY(0) scale(1);
}

.popup-header {
    background: var(--brand);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.popup-title {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.popup-close {
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    border-radius: 6px;
    color: var(--white);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-family: inherit;
}

.popup-close:hover {
    background: rgba(0, 0, 0, 0.4);
}

.popup-body {
    padding: 32px 28px 36px;
}

.popup-body h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 28px;
    line-height: 1.3;
}

.popup-field {
    margin-bottom: 20px;
}

.popup-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.popup-field input,
.popup-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
    background: var(--white);
    color: var(--dark);
}

.popup-field textarea {
    resize: vertical;
    min-height: 80px;
}

.popup-field input:focus,
.popup-field textarea:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(236, 32, 41, 0.08);
}

.popup-field input::placeholder {
    color: var(--gray-400);
}

.phone-input-wrap {
    display: flex;
    align-items: center;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    background: var(--white);
}

.phone-input-wrap:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(236, 32, 41, 0.08);
}

.country-code {
    padding: 14px 14px 14px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-50);
    border-right: 2px solid var(--gray-200);
    white-space: nowrap;
    user-select: none;
    transition: border-color 0.3s ease;
}

.phone-input-wrap:focus-within .country-code {
    border-color: var(--brand);
}

.phone-input-wrap input {
    border: none !important;
    border-radius: 0 !important;
    padding: 14px 16px !important;
    box-shadow: none !important;
    flex: 1;
}

.phone-input-wrap input:focus {
    box-shadow: none !important;
}

.popup-submit {
    width: 100%;
    padding: 15px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    margin-top: 8px;
    letter-spacing: 0.3px;
}

.popup-submit:hover {
    background: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(236, 32, 41, 0.3);
}

/* ─── CUSTOM SELECT (PREMIUM THEME) ─── */
.custom-select {
    position: relative;
    width: 100%;
    user-select: none;
    margin-bottom: 20px;
}

.select-trigger {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-size: 15px;
    background: var(--white);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: var(--transition);
}

.select-trigger:hover {
    border-color: var(--brand);
}

.custom-select.active .select-trigger {
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(236, 32, 41, 0.08);
}

.select-arrow {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    color: var(--gray-400);
}

.custom-select.active .select-arrow {
    transform: rotate(180deg);
    color: var(--brand);
}

.select-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.custom-select.active .select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.select-option {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--gray-700);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.select-option:hover {
    background: rgba(236, 32, 41, 0.05);
    color: var(--brand);
}

.select-option.selected {
    background: var(--brand);
    color: var(--white) !important;
}

/* Inline form adjustment */
.enroll-form .custom-select .select-options {
    background: var(--white);
}

/* Popup responsive */
@media (max-width: 480px) {
    .popup-modal {
        max-width: 95%;
    }

    .popup-body {
        padding: 24px 20px 28px;
    }

    .popup-body h3 {
        font-size: 19px;
    }
}

/* ─── FLOATING ACTIONS ─── */
/* ─── FLOATING ACTIONS ─── */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    gap: 16px;
    align-items: center;
    pointer-events: auto;

    /* Scroll visibility styles */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-actions.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-floating {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.btn-floating:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-callback {
    background: var(--brand);
    /* Reverted to Primary Brand Color */
}

.btn-whatsapp {
    background: #25D366;
    /* WhatsApp Green */
}

.btn-floating .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-floating .icon svg {
    /* Ensure clean strokes */
    display: block;
}

@media (max-width: 640px) {
    .floating-actions {
        bottom: 15px;
        left: 15px;
        right: 15px;
        background: rgba(12, 18, 34, 0.85);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 8px;
        border-radius: 100px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        display: flex;
        justify-content: space-between;
        gap: 8px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        transform: translateY(20px);
    }

    .floating-actions.visible {
        transform: translateY(0);
    }

    .btn-floating {
        flex: 1;
        padding: 12px 8px;
        font-size: 11px;
        font-weight: 700;
        justify-content: center;
        box-shadow: none;
        /* Flat inside dock for minimal look */
        border-radius: 100px;
        gap: 6px;
    }

    .btn-floating:hover {
        transform: none;
        /* Disable lift on hover for dock-based buttons */
    }

    .btn-floating .text {
        white-space: nowrap;
    }

    .btn-floating svg {
        width: 16px;
        height: 16px;
    }
}

/* ─── MODULES GRID – RESPONSIVE ─── */
@media (max-width: 1024px) {
    .modules-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .modules-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════
   ROADMAP LANDSCAPE BANNER
════════════════════════════════════════ */

/* ─── MODAL FIELDS ─── */
.popup-field.counselling-only {
    display: none;
}

.popup-modal.counselling-mode .counselling-only {
    display: block;
}

/* ─── SUCCESS STATE ─── */
.form-success-state {
    text-align: center;
    padding: 20px 0;
    animation: fadeInScale 0.4s ease-out forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.form-success-state h2 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 12px;
}

.form-success-state p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 24px;
}

.success-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.success-ctas .btn-floating {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 14px 24px;
}

.success-ctas .btn-callback {
    background: var(--dark);
    color: var(--white);
}

.success-ctas .btn-callback:hover {
    background: var(--brand);
}

.success-ctas .btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.success-ctas .btn-whatsapp:hover {
    background: #128C7E;
}

.roadmap-banner {
    margin-top: 40px;
    background: linear-gradient(140deg, #1a0508 0%, #2d0a0e 45%, #1c0305 100%);
    border: 1px solid rgba(236, 32, 41, 0.4);
    border-radius: var(--radius-lg, 20px);
    box-shadow:
        0 0 0 1px rgba(236, 32, 41, 0.15),
        0 8px 40px rgba(236, 32, 41, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    /* Landscape: 3 columns */
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 40px 48px;
    animation: roadmapGlow 4s ease-in-out infinite;
}

/* Left column: icon + text stacked horizontally */
.roadmap-left {
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
    z-index: 2;
}

/* Checklist landscape variant — 2 rows × 3 cols grid */
.roadmap-checks--landscape {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
    margin: 0;
    position: relative;
    z-index: 2;
}

/* Right column: note + button stacked */
.roadmap-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    position: relative;
    z-index: 2;
    min-width: 220px;
}

/* Persistent animated border glow */
@keyframes roadmapGlow {

    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(236, 32, 41, 0.15),
            0 8px 40px rgba(236, 32, 41, 0.18),
            inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }

    50% {
        box-shadow:
            0 0 0 2px rgba(236, 32, 41, 0.35),
            0 12px 60px rgba(236, 32, 41, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
}

.roadmap-banner:hover {
    transform: translateY(-4px);
}

/* ── Floating background orbs ── */
.roadmap-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    will-change: transform, opacity;
}

.roadmap-orb-1 {
    width: 180px;
    height: 180px;
    top: -60px;
    right: -60px;
    background: radial-gradient(circle, rgba(236, 32, 41, 0.25), transparent 70%);
    animation: orbFloat1 7s ease-in-out infinite;
}

.roadmap-orb-2 {
    width: 120px;
    height: 120px;
    bottom: 30px;
    left: -30px;
    background: radial-gradient(circle, rgba(236, 80, 41, 0.18), transparent 70%);
    animation: orbFloat2 9s ease-in-out infinite 1s;
}

.roadmap-orb-3 {
    width: 80px;
    height: 80px;
    bottom: -20px;
    right: 40px;
    background: radial-gradient(circle, rgba(255, 100, 60, 0.12), transparent 70%);
    animation: orbFloat1 11s ease-in-out infinite 2.5s;
}

@keyframes orbFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }

    33% {
        transform: translate(-12px, 18px) scale(1.1);
        opacity: 1;
    }

    66% {
        transform: translate(8px, -10px) scale(0.95);
        opacity: 0.85;
    }
}

@keyframes orbFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    40% {
        transform: translate(16px, -14px) scale(1.08);
        opacity: 0.9;
    }

    70% {
        transform: translate(-8px, 12px) scale(0.92);
        opacity: 0.75;
    }
}

/* ── Shimmer sweep ── */
.roadmap-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg,
            transparent 0%,
            rgba(255, 255, 255, 0.04) 40%,
            rgba(255, 255, 255, 0.07) 50%,
            rgba(255, 255, 255, 0.04) 60%,
            transparent 100%);
    pointer-events: none;
    animation: shimmerSweep 5s ease-in-out infinite 0.8s;
}

@keyframes shimmerSweep {
    0% {
        left: -100%;
    }

    40%,
    100% {
        left: 160%;
    }
}

/* ── Icon with pulsing rings ── */
.roadmap-icon-wrap {
    position: relative;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    flex-shrink: 0;
}

.roadmap-icon-wrap svg {
    position: relative;
    z-index: 2;
    color: #fff;
    background: var(--brand);
    border-radius: 50%;
    padding: 13px;
    width: 52px;
    height: 52px;
    box-sizing: border-box;
}

.roadmap-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid rgba(236, 32, 41, 0.6);
    animation: pulseRing 2.8s ease-out infinite;
    z-index: 1;
}

.roadmap-pulse-ring-2 {
    animation-delay: 1.4s;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }

    80% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0;
    }
}

/* ── Copy ── */
.roadmap-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--brand-light);
    margin-bottom: 10px;
    opacity: 0.85;
}

.roadmap-title {
    font-size: 18px !important;
    font-weight: 800;
    color: #fff !important;
    line-height: 1.3;
    margin-bottom: 10px;
}

.roadmap-sub {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 14px;
    line-height: 1.5;
}

/* ── Checklist ── */
.roadmap-checks {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

.roadmap-checks li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.roadmap-check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background: rgba(236, 32, 41, 0.25);
    border-radius: 50%;
    color: var(--brand-light);
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Closing note ── */
.roadmap-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
    margin-bottom: 0;
    line-height: 1.6;
    text-align: right;
}

/* ── CTA Button ── */
.roadmap-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: auto;
    white-space: nowrap;
    background: var(--brand);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: 12px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 20px rgba(236, 32, 41, 0.4);
    position: relative;
    overflow: hidden;
}

.roadmap-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.roadmap-cta-btn:hover::before {
    transform: translateX(100%);
}

.roadmap-cta-btn:hover {
    background: var(--brand-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(236, 32, 41, 0.5);
}

/* Bouncing arrow */
.roadmap-arrow {
    font-size: 18px;
    display: inline-block;
    animation: arrowBounce 1.6s ease-in-out infinite;
}

@keyframes arrowBounce {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

/* Optimize for shorter laptop screens */
@media (max-height: 900px) {
    .hero {
        padding-top: calc(var(--header-height) + 20px);
        padding-bottom: 30px;
    }

    .hero h1 {
        font-size: 48px !important;
        margin-bottom: 12px !important;
    }

    .hero-desc {
        margin-bottom: 20px !important;
        font-size: 16px !important;
    }

    .hero-course-card {
        padding: 24px !important;
    }

    .course-timer-container {
        padding: 12px !important;
        margin-bottom: 16px !important;
    }
}

/* ── Roadmap banner responsive ── */
@media (max-width: 900px) {
    .roadmap-banner {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 28px;
    }

    .roadmap-right {
        align-items: flex-start;
        min-width: unset;
    }

    .roadmap-note {
        text-align: left;
    }

    .roadmap-cta-btn {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 640px) {
    .roadmap-checks--landscape {
        grid-template-columns: 1fr;
    }
}



/* ─── Download Curriculum CTA Strip ─────────────────────────────── */
.download-cta-strip {
    margin-top: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: var(--white);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px 32px;
    transition: var(--transition);
}

.download-cta-strip:hover {
    border-color: rgba(236, 32, 41, 0.35);
    box-shadow: 0 4px 24px rgba(236, 32, 41, 0.08);
}

.download-cta-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.download-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(236, 32, 41, 0.07);
    border-radius: 12px;
    color: var(--brand);
    flex-shrink: 0;
}

.download-cta-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.download-cta-sub {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
    line-height: 1.5;
}

.download-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--dark);
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 24px;
    border-radius: 10px;
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
}

.download-cta-btn:hover {
    background: var(--brand);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 32, 41, 0.3);
}



@media (max-width: 640px) {

    .download-cta-strip {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
    }


    /* ─── MOBILE UX REFINEMENT (STRICT LEFT-ALIGNMENT F-PATTERN) ─── */
    @media (max-width: 768px) {
        .container {
            padding: 0 24px;
        }

        /* Force Left Alignment on Headers */
        .section-header,
        .hero-content,
        .outcomes-header-box,
        .tools-section .section-header,
        .why-adoro .section-header,
        .google-reviews .section-header,
        .faq .section-header,
        .campus-stats,
        .enroll-form h3 {
            text-align: left !important;
            align-items: flex-start !important;
        }

        .section-header p,
        .hero-desc,
        .header-right p,
        .tools-section p,
        .campus-stats>.container>p,
        .hero-features-list {
            margin-left: 0 !important;
            margin-right: 0 !important;
            padding-left: 0 !important;
            text-align: left !important;
        }

        /* Cards & Components */
        .module-card,
        .classroom-card,
        .outcome-card,
        .why-card,
        .g-review-card,
        .qs-item,
        .stat-item,
        .faq-item {
            text-align: left !important;
            align-items: flex-start !important;
        }

        .tool-card,
        .hero-features-list li {
            text-align: left !important;
            align-items: flex-start !important;
            margin-left: 0 !important;
        }

        .tool-icon-box {
            margin-left: 0 !important;
        }

        /* Hero Pricing Card Axis */
        .hero-visual {
            justify-content: flex-start !important;
        }

        /* Perfected 2x2 Stats Grid */
        .quick-stats-grid {
            display: grid !important;
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 12px !important;
            align-items: stretch !important;
            width: 100% !important;
            margin-left: 0 !important;
        }

        .qs-item {
            display: flex !important;
            flex-direction: column !important;
            align-items: flex-start !important;
            text-align: left !important;
            padding: 16px !important;
            background: rgba(255, 255, 255, 0.04) !important;
            border: 1px solid rgba(255, 255, 255, 0.1) !important;
            border-radius: 12px !important;
            height: 100% !important;
            margin: 0 !important;
            box-shadow: none !important;
            backdrop-filter: blur(8px) !important;
        }

        .qs-icon {
            margin-bottom: 12px !important;
            margin-left: 0 !important;
        }

        .qs-content {
            text-align: left !important;
            width: 100% !important;
        }

        .qs-value {
            font-size: 14px !important;
            margin-bottom: 4px !important;
        }

        .qs-label {
            font-size: 11px !important;
            line-height: 1.4 !important;
        }

        /* Accelerator Step Alignment */
        .roadmap-step {
            margin-left: 0 !important;
            margin-right: 0 !important;
            width: 100% !important;
            max-width: none !important;
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            gap: 20px !important;
            text-align: left !important;
        }

        .step-marker {
            margin: 0 !important;
            flex-shrink: 0 !important;
        }

        .step-content h3 {
            margin: 0 !important;
            max-width: none !important;
            text-align: left !important;
            font-size: 16px !important;
        }

        .roadmap-grid {
            gap: 30px !important;
        }

        /* Footer Left-Alignment */
        .footer-grid,
        .footer-section,
        .footer-bottom {
            text-align: left !important;
        }

        .footer-social {
            justify-content: flex-start !important;
        }

        /* Module List Refinements */
        .module-card {
            padding: 24px 20px !important;
        }

        .module-bullets li {
            align-items: flex-start !important;
            /* UX: Better for multi-line text */
            gap: 12px !important;
            padding-left: 0 !important;
        }

        .module-bullets li::before {
            position: static !important;
            transform: none !important;
            margin-top: 6px !important;
            /* Align dot with first line */
            width: 6px !important;
            height: 6px !important;
        }

        /* Classroom Redesign Alignment */
        .classroom-card {
            align-items: flex-start !important;
            text-align: left !important;
        }

        .classroom-icon {
            margin-left: 0 !important;
        }

        .classroom-list {
            padding-left: 0 !important;
        }

        .classroom-list li {
            padding-left: 24px !important;
            text-align: left !important;
        }

        .classroom-list li::before {
            left: 0 !important;
        }

        /* Spacing Refinements */
        .section-header {
            margin-bottom: 40px !important;
        }
    }

    .hero-features-list {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .hero-features-list li {
        width: 100% !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
        text-align: left !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }

    @media (max-width: 480px) {
        .hero h1 {
            font-size: 34px !important;
        }

        .section-header h2 {
            font-size: 28px !important;
        }
    }

    .download-cta-btn {
        width: 100%;
        justify-content: center;
    }
}