/* =========================================
   1. Root Variables
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Sora:wght@400;500;600;700;800&display=swap');

    :root {
    /* Brand */
    --primary-color: #1767B9;
    --primary-color-dark: #031F53;
    --secondary-color: #031F53;
    --accent-color: #F5A000;
    --tertiary-color: #526174;
    --success-color: #19C987;
    --deep-color: #010C28;
    --cream-color: #FFF4D6;
    --dark-color:#000000;

    --sun: #ffe28a;
    --mint: #b8e7d1;
    --sky: #b9ddf5;
    --coral: #ffc1a7;
    --violet: #d8c8f5;

    /* RGB */
    --primary-rgb: 23, 103, 185;
    --secondary-rgb: 3, 31, 83;
    --accent-rgb: 245, 160, 0;
    --tertiary-rgb: 82, 97, 116;
    --success-rgb: 25, 201, 135;
    --deep-rgb: 1, 12, 40;

    /* Background */
    --body-bg: #ffffff;
    --section-bg: #ffffff;
    --surface-color: #F7F9FC;
    --surface-color-alt: #EEF4FA;

    /* Typography */
    --heading-color: var(--secondary-color);
    --text-color: var(--tertiary-color);
    --muted-color: rgba(var(--secondary-rgb), .65);
    --on-dark-color: rgba(255, 255, 255, .78);
    --on-dark-muted: rgba(255, 255, 255, .6);

    /* Borders & Shadows */
    --border-color: rgba(var(--tertiary-rgb), .16);
    --shadow-sm: 0 4px 10px rgba(var(--secondary-rgb), .08);
    --shadow-md: 0 10px 24px rgba(var(--secondary-rgb), .10);
    --shadow-lg: 0 18px 36px -16px rgba(var(--secondary-rgb), .22);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --radius-pill: 999px;

    /* Spacing (already fluid — reuse everywhere instead of hardcoded px) */
    --section-padding-y: clamp(56px, 8vw, 100px);
    --card-gap: clamp(16px, 2.4vw, 24px);
    --gutter: clamp(16px, 4vw, 32px);

    /* Fonts */
--font-display: "Sora", sans-serif;
--font-text: "Inter", sans-serif;


    /* Fluid type scale — reuse instead of one-off clamp() per rule */
    --fs-h1: clamp(34px, 6vw, 68px);
    --fs-h2: clamp(24px, 3vw, 32px);
    --fs-card-title: clamp(20px, 2vw, 24px);
    --fs-price: clamp(24px, 2.4vw, 30px);
    --fs-body: clamp(14px, 1.4vw, 16px);
    --fs-small: 12px;
    --fs-micro: 10px;

    /* Transitions */
    --transition: .25s ease;
    --transition-slow: .35s ease;




      --sticky-top: 100px;
            --stack-card-height: 460px;
            --stack-scroll-room: 70vh;
            --stack-bottom-space: 24px;
            --stack-peek: 18px;
}

/* =========================================
   2. Global / Reset
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-text);
    color: var(--text-color);
    background: var(--body-bg);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

p,
a {
    font-size: 1rem;
}

:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================
   3. Typography
========================================= */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--heading-color);
}

/* =========================================
   4. Reusable Components
========================================= */

/* --- Section Badge --- */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--primary-color);
    background: rgba(var(--primary-rgb), .08);
    border: 1px solid rgba(var(--primary-rgb), .25);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 14px;
}

.section-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-color);
    flex: 0 0 auto;
}

/* variant for use on dark / photographic backgrounds (hero) */
.section-badge--light {
    color: #fff;
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .18);
}

.section-badge--light .dot {
    background: var(--accent-color);
}

/* --- Section Heading --- */
.section-heading {
    max-width: 680px;
}

.section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.section-title {
    /* font-weight: 700; */
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--heading-color);
    margin-bottom: 14px;
}

.section-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
}

/* --- Buttons --- */
.btn-custom {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: .9rem;
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
    white-space: nowrap;
    font-family: var(--font-display);
}

.btn-custom svg {
    flex-shrink: 0;
}

.btn-custom--primary {
    color: #fff;
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 8px 18px -6px rgba(var(--primary-rgb), .45);
}

.btn-custom--primary:hover {
    transform: translateY(-2px);
    background: var(--primary-color-dark);
    border-color: var(--primary-color-dark);
    box-shadow: 0 12px 22px -6px rgba(var(--primary-rgb), .55);
}

.btn-custom--secondary {
    color: var(--secondary-color);
    background: #fff;
    border-color: var(--secondary-color);
}

.btn-custom--secondary:hover {
    background: var(--secondary-color);
    color: #fff;
}

.btn-custom--ghost {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 255, 255, .35);
}

.btn-custom--ghost:hover {
    border-color: var(--primary-color);
    background: rgba(var(--primary-rgb), .12);
}

.btn-custom--lg {
    padding: 16px 30px;
    font-size: .95rem;
}

.btn-custom--block {
    width: 100%;
    justify-content: center;
}

/* --- Cards: generic surface used as the base for feature / mission / program cards --- */
.card-base {
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* --- Nav circular icon buttons (used for all swiper prev/next controls) --- */
.nav-circle {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.nav-circle:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.nav-circle.swiper-button-disabled {
    opacity: .35;
    cursor: not-allowed;
}

/* variant: solid dark circular nav (mission / testimonials) */
.nav-circle--solid {
    background: var(--deep-color);
    color: #fff;
    border: none;
}

.nav-circle--solid:hover {
    background: var(--primary-color);
}

/* variant: solid on light panel background (programs) */
.nav-circle--panel {
    width: 42px;
    height: 42px;
}

/* --- Reveal on scroll --- */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   5. Header / Navbar
========================================= */
/* =========================================
   5. Header / Navbar
========================================= */
.top-header {
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    gap: 16px;
}

/* Logo — fixed, never shrinks/disappears */
.brand-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.brand-logo img {
    max-height: 48px;
    width: auto;
     scale: 1.3;
    display: block;
}

/* Links — take remaining space, shrink gracefully instead of pushing logo out */
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
    gap: 2px;
}

.nav-links a {
    padding: 10px 10px;
    border-radius: var(--radius-sm);
    color: var(--dark-color);
    font-weight: 500;
    font-size: clamp(12.5px, 1vw, 14.5px);
    white-space: nowrap;
    transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a:focus-visible {
    background: rgba(var(--primary-rgb), .12);
    color: var(--primary-color);
}

.math-course{
  color: #fff !important;
    background: var(--primary-color);
    border-color: var(--primary-color);

}

.math-course:hover,
.math-course:focus-visible {
 color: #fff !important;
    background: var(--primary-color) !important;
    border-color: var(--primary-color);
    box-shadow: 0 8px 18px -6px rgba(var(--primary-rgb), .45);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Hamburger button */
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    align-items: center;
    justify-content: center;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
}

/* Slightly compress links before dropping to hamburger, so logo+cta always stay visible */
@media (max-width: 1200px) {
    .nav-links a {
        padding: 10px 6px;
    }
}

@media (max-width: 1080px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .btn-call {
        display: none;
    }
}

/* =========================================
   Mobile Drawer (slides RIGHT -> LEFT)
========================================= */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(1, 12, 40, .5);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-slow);
    z-index: 998;
}

.nav-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(82vw, 340px);
    background: var(--secondary-color);
    display: flex;
    flex-direction: column;
    padding: 18px 22px 28px;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    z-index: 999;
    box-shadow: -8px 0 30px rgba(0, 0, 0, .25);
    overflow-y: auto;
}

.mobile-nav.is-open {
    transform: translateX(0);
}

.mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.brand-logo-mobile img {
    max-height: 38px;
    padding: 8px;
    background-color: white;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
}

.nav-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .25);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
}

.mobile-nav-links a {
    color: #fff;
    padding: 13px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: .95rem;
    font-weight: 500;
    transition: color var(--transition), padding-left var(--transition);
}

.mobile-nav-links a:hover,
.mobile-nav-links a:focus-visible {
    color: var(--accent-color);
    padding-left: 10px;
}

.mobile-call {
    margin-top: auto;
    text-align: center;
    background: var(--accent-color);
    color: var(--deep-color) !important;
    font-weight: 600;
    padding: 13px 0;
    border-radius: var(--radius-pill);
    margin-top: 18px;
}

/* Lock body scroll when drawer open */
body.nav-open {
    overflow: hidden;
}

/* =========================================
   6. Hero
========================================= */
/*.hero {*/
/*    position: relative;*/
/*    overflow: hidden;*/
/*    padding-top: 40px;*/
/*    isolation: isolate;*/
/*    background-image: url("img/hero.png");*/
/*    background-size: cover;*/
/*    background-position: center;*/
/*}*/




/*.hero::before {*/
/*    content: "";*/
/*    position: absolute;*/
/*    inset: 0;*/
/*background: linear-gradient(*/
/*  to right,*/
/*  rgba(0, 0, 0, 0.20) 0%,*/
/*  rgba(0, 0, 0, 0.30) 50%,*/
/*  rgba(0, 0, 0, 0.35) 100%*/

/*);*/

/*    z-index: 1;*/
/*}*/

/*.hero-glow {*/
/*    position: absolute;*/
/*    z-index: 0;*/
/*    border-radius: 50%;*/
/*    filter: blur(90px);*/
/*    opacity: .45;*/
/*    pointer-events: none;*/
/*}*/

/*.hero-glow--blue {*/
/*    width: 520px;*/
/*    height: 520px;*/
/*    background: var(--primary-color);*/
/*    top: -160px;*/
/*    right: -120px;*/
/*}*/

/*.hero-glow--amber {*/
/*    width: 380px;*/
/*    height: 380px;*/
/*    background: var(--accent-color);*/
/*    bottom: -140px;*/
/*    left: -100px;*/
/*    opacity: .28;*/
/*}*/

/*.circuit-svg {*/
/*    position: absolute;*/
/*    inset: 0;*/
/*    z-index: 0;*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    opacity: .5;*/
/*}*/

/*.hero-inner {*/
/*    position: relative;*/
/*    z-index: 2;*/
/*    padding: 96px 0 76px;*/
/*}*/

/*.hero-title {*/
/*    font-size: clamp(2.1rem, 4.4vw, 3.5rem);*/
/*    line-height: 1.12;*/
/*    letter-spacing: -0.02em;*/
/*    color: #fff;*/
/*    max-width: 900px;*/
/*}*/

/* .hero-title em {
    font-style: normal;
    background: linear-gradient(180deg, var(--accent-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
} */

/*.hero-sub {*/
/*    margin-top: 22px;*/
/*    font-size: 1.05rem;*/
/*    line-height: 1.65;*/
/*    color: rgba(255, 255, 255, .68);*/
/*    max-width: 540px;*/
/*}*/

/*.hero-actions {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 16px;*/
/*    margin-top: 36px;*/
/*    flex-wrap: wrap;*/
/*}*/

/*.chip-strip {*/
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*    gap: 12px;*/
/*    margin-top: 44px;*/
/*    padding-top: 30px;*/
/*    border-top: 1px solid rgba(255, 255, 255, .12);*/
/*    max-width: 640px;*/
/*}*/

/*.chip {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 9px;*/
/*    font-size: .85rem;*/
/*    font-weight: 600;*/
/*    color: rgba(255, 255, 255, .85);*/
/*    background: rgba(255, 255, 255, .06);*/
/*    border: 1px solid rgba(255, 255, 255, .14);*/
/*    padding: 9px 14px 9px 10px;*/
/*    border-radius: var(--radius-pill);*/
/*}*/

/*.chip .chip-icon {*/
/*    width: 22px;*/
/*    height: 22px;*/
/*    border-radius: 50%;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    background: var(--primary-color);*/
/*    flex: 0 0 auto;*/
/*}*/

/*.chip .chip-icon svg {*/
/*    width: 12px;*/
/*    height: 12px;*/
/*}*/

/*.chip:nth-child(odd) .chip-icon {*/
/*    background: var(--accent-color);*/
/*}*/

/*@media (max-width: 480px) {*/
/*    .hero-actions {*/
/*        flex-direction: column;*/
/*        align-items: flex-start;*/
/*    }*/
/*}*/

/* =========================================
   7. Sections
========================================= */

/* --- About (photo mosaic) --- */
.about-section {
    padding: var(--section-padding-y) 0;
    position: relative;
}

.about-section .row img{
    position: static;
    top: 20px;
    border-radius: 8px;
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.star-chain {
    position: absolute;
    left: 2%;
    top: 0;
    z-index: 1;
}

.deco-rocket {
    position: absolute;
    right: 2%;
    bottom: 12%;
    z-index: 1;
    animation: float 3.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

.photo-mosaic {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1;
    margin: 0 auto;
}

.mosaic-tile {
    position: absolute;
    background-repeat: no-repeat;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    background-position: center;
    background-size: contain;
    background-image: url("img/about-home.png");
}

.mosaic-tile.t1 { left: 10.3%; top: 0%; width: 22.4%; height: 15.9%; background-size: 446% 627.5%; background-position: 13.3% 0%; }
.mosaic-tile.t2 { left: 0%; top: 18.6%; width: 32.8%; height: 27.9%; background-size: 305.3% 358.6%; background-position: 0% 25.8%; }
.mosaic-tile.t3 { left: 10.3%; top: 48.9%; width: 22.4%; height: 19.9%; background-size: 446% 502%; background-position: 13.3% 61%; }
.mosaic-tile.t4 { left: 10.3%; top: 71.2%; width: 22.4%; height: 19.9%; background-size: 446% 502%; background-position: 13.3% 88.9%; }
.mosaic-tile.t5 { left: 34.5%; top: 0%; width: 29.3%; height: 43.8%; background-size: 341.2% 228.2%; background-position: 48.8% 0%; }
.mosaic-tile.t6 { left: 34.5%; top: 45.8%; width: 29.3%; height: 19.9%; background-size: 341.2% 502%; background-position: 48.8% 57.2%; }
.mosaic-tile.t7 { left: 34.5%; top: 67.7%; width: 29.3%; height: 32.3%; background-size: 341.2% 309.9%; background-position: 48.8% 100%; }
.mosaic-tile.t8 { left: 65.5%; top: 11.95%; width: 19.8%; height: 21.9%; background-size: 504.3% 456.4%; background-position: 81.7% 15.3%; }
.mosaic-tile.t9 { left: 65.5%; top: 35.9%; width: 29.3%; height: 26.6%; background-size: 341.2% 376.5%; background-position: 92.7% 48.8%; }
.mosaic-tile.t10 { left: 65.5%; top: 64.4%; width: 29.3%; height: 21.9%; background-size: 341.2% 456.4%; background-position: 92.7% 82.5%; }
.mosaic-tile.t11 { left: 65.5%; top: 88.3%; width: 15.5%; height: 11.7%; background-size: 644.4% 855.7%; background-position: 77.6% 100%; }

.about-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-color);
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 40px;
    border-top: 1px dashed var(--border-color);
    border-bottom: 1px dashed var(--border-color);
    padding: 26px 0;
    margin: 26px 0 30px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: rgba(var(--primary-rgb), .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.stat-num {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--heading-color);
    line-height: 1;
}

.stat-label {
    font-size: .85rem;
    color: var(--text-color);
    margin-top: 2px;
}

.checklist-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 30px;
    margin-bottom: 34px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--heading-color);
    font-size: .95rem;
}

.check-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .star-chain, .deco-rocket { display: none; }
    .checklist-grid { grid-template-columns: 1fr; }

    .brand-logo img{
        height: 50px;
    }
}

/* --- Mission (swiper cards) --- */
.mission-section {
    padding: var(--section-padding-y) 0;
}

.mission-row,
.testi-row,
.pathway-nav-row {
    display: flex;
    align-items: center;
    gap: 18px;
}

.mission-swiper,
.testi-swiper {
    flex: 1;
    overflow: hidden;
    padding:  0px;
}

.mission-card {
    position: relative;
    border-radius: 44px 20px 44px 20px / 60px 20px 60px 20px;
    padding: 44px 26px 32px;
    text-align: center;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.mission-card.card-1 { background-image: url("img/misson-bg1.png"); }
.mission-card.card-2 { background-image: url("img/misson-bg2.png"); }
.mission-card.card-3 { background-image: url("img/misson-bg3.png"); }
.mission-card.card-4 { background-image: url("img/misson-bg4.png"); }
.mission-card.card-5 { background-image: url("img/misson-bg2.png"); }
.mission-card.card-6 { background-image: url("img/misson-bg3.png"); }
.mission-card.card-7 { background-image: url("img/misson-bg1.png"); }

.mission-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.mission-icon img {
    width: 80px;
}

.mission-card-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--heading-color);
    position: relative;
    z-index: 2;
    line-height: 1.4;
    margin-bottom: 10px;
}

.mission-card-text {
    font-size: .88rem;
    line-height: 1.6;
    color: var(--text-color);
    position: relative;
    z-index: 2;
}


/* --- Pathways (age-wise learning levels) --- */
.pathways-section {
    padding: var(--section-padding-y) 0 60px;
    position: relative;
    /* background:#F9F1DA; */

        background-image: url("img/bg-main.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

.pathways-section::before {
    content: "";
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    z-index: 1;
} 

.level-card-body {
    -webkit-mask-image: url("img/age-cards-bg.png");
    mask-image: url("img/age-cards-bg.png");
    max-height: 450px;
    position: relative;
    /* z-index: 2; */
    padding: 170px 45px 30px;
    margin-top: -140px;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center top;
    mask-position: center top;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    background-color: rgba(var(--accent-rgb), .18);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.level-badge {
    overflow: hidden;
    width: 280px;
    height: 280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    -webkit-mask-image: url("img/bg-3.png");
    mask-image: url("img/bg-3.png");
}

.level-title {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.level-age {
    display: inline-block;
    background: #fff;
    color: var(--primary-color);
    font-weight: 700;
    font-size: .78rem;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 14px;
}

.level-desc {
    font-size: .9rem;
    color: var(--text-color);
    min-height: 44px;
    margin-bottom: 18px;
}

.featured-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.project-tags span {
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--heading-color);
    font-size: .76rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
}

.pathway-nav-row {
    justify-content: center;
    margin-top: 10px;
}

.pathways-cta {
    text-align: center;
    margin-top: 44px;
    position: relative;
    z-index: 1;
}

/* --- Why choose (feature list + center image) --- */
.why-section {
    padding: var(--section-padding-y) 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 44px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item--right {
    flex-direction: row-reverse;
    text-align: right;
}

.feature-icon {
    width: 100px;
    height: 100px;
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    justify-content: center;
    border: 1.5px dashed var(--primary-color);
    background: rgba(var(--primary-rgb), .08);
    color: var(--primary-color);
}

.feature-title {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--heading-color);
    margin-bottom: 4px;
}

.feature-desc {
    font-size: .86rem;
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
}

.why-center-col {
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-center-img {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .feature-item,
    .feature-item--right {
        flex-direction: row;
        text-align: left;
    }

    .why-center-img {
        margin: 40px auto;
    }
}

/* --- Programs panel --- */
.programs-outer {
    padding: 60px 0;
}

.programs-panel {
    background: linear-gradient(135deg, #fdda02, var(--accent-color));
    border-radius: var(--radius-lg);
    padding: 50px 44px 46px;
    position: relative;
    overflow: hidden;
}

.panel-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 38px;
    flex-wrap: wrap;
}

.panel-heading h2 {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 2.1rem;
    margin-bottom: 8px;
}

.panel-heading p {
    color: var(--secondary-color);
    opacity: .75;
    font-size: .95rem;
    max-width: 560px;
    margin: 0;
}

.panel-nav {
    display: flex;
    gap: 10px;
}

.program-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 26px 24px 24px;
    height: 100%;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
}

.program-thumb {
    position: relative;
}

.program-thumb img {
    width: 100%;
    height: 100%;
    min-height: 200px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    display: block;
}

.thumb-level {
    position: absolute;
    top: 30px;
    left: 30px;
    background: #fff;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: .7rem;
    letter-spacing: .4px;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: var(--radius-pill);
}

.program-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(var(--primary-rgb), .1);
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 10px;
    font-size: .72rem;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
    width: fit-content;
}

.program-title {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 6px;
}

.program-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 12px;
}

.program-meta svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.program-desc {
    font-size: .88rem;
    color: var(--text-color);
    opacity: .85;
}

.program-price {
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 16px;
    margin-top: auto;
}

.program-price span {
    font-size: .75rem;
    font-weight: 500;
    color: var(--text-color);
    opacity: .7;
}

.panel-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 38px;
    flex-wrap: wrap;
    gap: 14px;
    border-top: 1px solid rgba(var(--secondary-rgb), .15);
    padding-top: 22px;
}

.view-all-link {
    font-weight: 600;
    color: var(--secondary-color);
}

.view-all-link:hover {
    color: #fff;
}

.panel-note {
    font-size: .82rem;
    color: var(--secondary-color);
    opacity: .7;
    font-style: italic;
    margin: 0;
}

@media (max-width: 575px) {
    .programs-panel {
        padding: 36px 22px 34px;
    }
}
/* --- Testimonials --- */
.testi-section {
    padding: var(--section-padding-y) 0 90px;
    position: relative;
    overflow: hidden;
}

.deco-pencil {
    position: absolute;
    top: 20px;
    left: 6%;
    transform: rotate(-8deg);
    opacity: .9;
}

.deco-spark {
    position: absolute;
    top: 70px;
    right: 6%;
    color: var(--primary-color);
    opacity: .8;
}

.testi-badge {
    display: inline-block;
    background: var(--deep-color);
    color: #fff;
    font-weight: 600;
    font-size: .85rem;
    padding: 9px 22px;
    border-radius: var(--radius-pill);
    margin-bottom: 22px;
}

.testi-title .underline-word {
    position: relative;
    display: inline-block;
}

.testi-title .underline-word svg {
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 14px;
}

.testi-card {
    padding: 36px 30px 34px;
    position: relative;
    height: 100%;
    background-size: contain;
    min-height: 350px;
    background-image: url("img/testi.png");
    background-repeat: no-repeat;
}

.testi-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    object-fit: cover;
    position: absolute;
    top: -10px;
    left: -20px;
    background: #fff;
}

.testi-stars {
    display: flex;
    gap: 4px;
    margin-left: 78px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.testi-quote {
    font-size: .98rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 26px;
}

.testi-divider {
    border: none;
    border-top: 2px dashed rgba(255, 88, 51, .4);
    margin-bottom: 18px;
}

.testi-name {
    font-weight: 700;
    color: var(--heading-color);
    font-size: 1rem;
    margin-bottom: 2px;
}

.testi-role {
    font-size: .85rem;
    color: var(--text-color);
    opacity: .8;
}

.testi-mark {
    position: absolute;
    right: 22px;
    bottom: 20px;
    color: var(--deep-color);
}

/* ============================================================
   RESPONSIVE
   The card's avatar/mark are absolutely positioned and the
   quote's left margin is hand-tuned to the 80px avatar — all
   three need to shrink together, or the avatar clips outside
   the card on narrow slides (see screenshot: 4th card cut off
   is a Swiper width issue, but the avatar/text spacing below
   fixes the part that's actually this CSS's job).
   ============================================================ */

@media (max-width: 1199.98px) {
    .testi-card {
        min-height: 330px;
    }
}

@media (max-width: 991.98px) {

    .deco-pencil,
    .deco-spark {
        transform: scale(.75) rotate(-8deg);
        opacity: .6;
    }

    .deco-spark {
        transform: scale(.75);
    }

    .testi-card {
        padding: 32px 26px 30px;
        min-height: 310px;
    }

    .testi-avatar {
        width: 70px;
        height: 70px;
        top: -8px;
        left: -14px;
    }

    .testi-stars {
        margin-left: 66px;
        margin-bottom: 16px;
    }
}

@media (max-width: 767.98px) {

    .testi-section {
        padding: var(--section-padding-y) 0 70px;
    }

    .deco-pencil,
    .deco-spark {
        display: none; /* decorative doodles just clutter narrow slides */
    }

    .testi-card {
        padding: 30px 22px 26px;
        min-height: 315px; /* let content decide height on mobile */
        background-size: cover;
    }

    .testi-avatar {
        width: 60px;
        height: 60px;
        top: -6px;
        left: -10px;
        border-width: 2px;
    }

    .testi-stars {
        margin-left: 54px;
        margin-bottom: 14px;
        gap: 3px;
    }

    .testi-stars svg {
        width: 14px;
        height: 14px;
    }

    .testi-quote {
        font-size: .92rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .testi-mark {
        right: 16px;
        bottom: 14px;
    }

    .testi-mark svg {
        width: 26px;
        height: 26px;
    }

    .nav-circle {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 420px) {
    .testi-card {
        padding: 26px 18px 22px;
    }

    .testi-avatar {
        width: 52px;
        height: 52px;
        top: -4px;
        left: -6px;
    }

    .testi-stars {
        margin-left: 44px;
    }

    .testi-quote {
        font-size: .88rem;
    }
}
@media (max-width: 767px) {
    .deco-pencil, .deco-spark { display: none; }
}

/* --- FAQ --- */
.faq-section {
    padding: 70px 0 80px;
}

.faq-title {
    font-weight: 700;
    text-align: center;
    color: var(--heading-color);
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    line-height: 1.15;
    max-width: 640px;
    margin: 0 auto 46px;
}

.faq-item {
    background: var(--surface-color);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
    transition: background var(--transition);
}

.faq-item.active {
    background: var(--surface-color-alt);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px;
    cursor: pointer;
    user-select: none;
    width: 100%;
    background: transparent;
    border: none;
    text-align: left;
}

.faq-question h3 {
    font-weight: 600;
    font-size: 1.05rem;
    color: #17121a;
    margin: 0;
}

.faq-toggle {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background: #E7E5E6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    position: relative;
    transition: transform var(--transition-slow), background var(--transition-slow);
}

.faq-toggle::before,
.faq-toggle::after {
    content: "";
    position: absolute;
    background: var(--secondary-color);
    border-radius: 2px;
}

.faq-toggle::before {
    width: 14px;
    height: 2px;
}

.faq-toggle::after {
    width: 2px;
    height: 14px;
    transition: transform var(--transition-slow), opacity var(--transition-slow);
}

.faq-item.active .faq-toggle {
    background: var(--primary-color);
    transform: rotate(180deg);
}

.faq-item.active .faq-toggle::before,
.faq-item.active .faq-toggle::after {
    background: #fff;
}

.faq-item.active .faq-toggle::after {
    opacity: 0;
    transform: rotate(90deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.faq-answer-inner {
    padding: 0 26px 24px;
    font-size: .92rem;
    color: var(--tertiary-color);
    line-height: 1.6;
}

@media (max-width: 575px) {
    .faq-question { padding: 18px; }
    .faq-question h3 { font-size: .96rem; }
    .faq-answer-inner { padding: 0 18px 20px; }

    .testi-mark {
    position: absolute;
    right: 3px;
    bottom: 21px;}
}

/* =========================================
   8. Footer
========================================= */
.site-footer {
    background: var(--secondary-color);
    color: var(--on-dark-color);
    z-index:3;
    
    position: relative;
}

.footer-inner {
    padding: 50px 0 0;
}

.footer-brand {
    display: flex;
    padding: 8px;
    border-radius: 8px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 26px;
    border-bottom: 1px dashed rgba(255, 255, 255, .2);
    margin-bottom: 40px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.footer-logo img {
    width: 250px;
    padding: 10px;
    background-color: white;
    border-radius: 8px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}

.footer-col h4 {
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-about-text {
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: 22px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform var(--transition), opacity var(--transition);
}

.footer-socials a:hover {
    transform: translateY(-3px);
    opacity: .9;
}

.footer-socials a:nth-child(1) { background: #3B5998; }
.footer-socials a:nth-child(2) { background: var(--accent-color); color: var(--secondary-color); }
.footer-socials a:nth-child(3) { background: #1DA1F2; }
.footer-socials a:nth-child(4) { background: var(--primary-color); }

.footer-links li {
    margin-bottom: 13px;
}

.footer-links a {
    color: rgba(255, 255, 255, .8);
    font-size: .92rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition), padding-left var(--transition);
}

.footer-links a::before {
    content: "\203A";
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 4px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
}

.contact-list strong {
    display: block;
    color: #fff;
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-list span {
    font-size: .86rem;
    color: rgba(255, 255, 255, .75);
}

.subscribe-text {
    font-size: .9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.subscribe-form input {
    width: 100%;
    border: none;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: .9rem;
    margin-bottom: 12px;
    outline: none;
}

.footer-bottom {
    margin-top: 50px;
    border-top: 1px dashed rgba(255, 255, 255, .2);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .85rem;
    color: rgba(255, 255, 255, .7);
}

.footer-bottom a {
    color: rgba(255, 255, 255, .85);
}

.footer-bottom a:hover {
    color: var(--accent-color);
}

@media (max-width: 767px) {
    .footer-col { margin-bottom: 34px; }
    .footer-bottom { justify-content: center; text-align: center; }
}

/* =========================================
   9. Responsive (page-level)
========================================= */
@media (max-width: 480px) {
    .container,
    .container-fluid {
        padding-inline: 20px;
    }
}

/* ================================
   Breadcrumb Section
================================ */

.breadcrumb-section {
    position: relative;
    min-height: 400px;

    display: flex;
    align-items: center;

    background-image: url('img/breadcrumb.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    overflow: hidden;
}

/* Dark Blue Overlay */
.breadcrumb-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 31, 83, .92) 0%,
            rgba(3, 31, 83, .78) 45%,
            rgba(23, 103, 185, .55) 100%
        );

    z-index: 1;
}

.breadcrumb-section .container {
    position: relative;
    z-index: 2;
}

/* Content */
.breadcrumb-content {
    text-align: center;
}

/* Page Title */
.breadcrumb-title {
    margin: 0 0 14px;

    color: #fff;

    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 700;

    letter-spacing: -.5px;
}

/* Breadcrumb */
.breadcrumb-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 10px;

    font-size: 15px;
    font-weight: 500;
}

/* Home */
.breadcrumb-list a {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #fff;
    text-decoration: none;

    transition: var(--transition);
}

.breadcrumb-list a i {
    color: var(--accent-color);
    font-size: 14px;
}

.breadcrumb-list a:hover {
    color: var(--accent-color);
}

/* Separator */
.breadcrumb-separator {
    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--accent-color);
}

.breadcrumb-separator i {
    font-size: 11px;
}

/* Current Page */
.breadcrumb-current {
    color: rgba(255, 255, 255, .75);
    font-weight: 500;
}


/* ================================
   Decorative Elements
================================ */

.breadcrumb-section::before {
    content: "";
    position: absolute;

    width: 180px;
    height: 180px;

    right: -60px;
    top: -70px;

    border: 2px solid rgba(245, 160, 0, .25);
    border-radius: 50%;

    z-index: 2;
}

.breadcrumb-section::after {
    content: "";

    position: absolute;

    width: 100px;
    height: 100px;

    left: -40px;
    bottom: -45px;

    border: 2px solid rgba(255, 255, 255, .12);
    border-radius: 50%;

    z-index: 2;
}


/* ================================
   Responsive
================================ */

@media (max-width: 767px) {

    .breadcrumb-section {
        min-height: 210px;
    }

    .breadcrumb-title {
        font-size: 32px;
    }

    .breadcrumb-list {
        font-size: 14px;
    }
}

/* =========================================
   PROJECT SUPPORT
========================================= */

.project-support {
    position: relative;
    padding: var(--section-padding-y) 24px;

 
}




/* =========================================
   HEADING
========================================= */

.support-heading {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.project-support .support-heading span {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--primary-color);
    font-size: 15px;
    font-weight: 600;
}

.project-support .support-heading h2 {
    margin-bottom: 16px;

    color: var(--heading-color);

    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.15;
    font-weight: 600;
}

.project-support .support-heading p {
    color: var(--muted-color);

    font-size: 15px;
    line-height: 1.75;
}


/* =========================================
   GRID
========================================= */

.support-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}


/* =========================================
   CARD
========================================= */

.project-support .support-card {
    position: relative;

    overflow: hidden;

    display: flex;

    background: var(--section-bg);

    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);

    box-shadow: var(--shadow-sm);

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition);
}

.support-card:hover {
    transform: translateY(-7px);

    border-color: rgba(var(--primary-rgb), .20);

    box-shadow: var(--shadow-lg);
}


/* =========================================
   IMAGE
========================================= */

.support-card-image {
    position: relative;
    width: 100%;
    height: 100%;

    background: var(--surface-color-alt);

    mask-image: url("img/support-card.svg");
    -webkit-mask-image: url("img/support-card.svg");

    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;

    mask-position: center;
    -webkit-mask-position: center;

    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;

    overflow: hidden;
}

.support-card-image img {
    width: 100%;
    height: 200px;

    display: block;

    object-fit: cover;

    transition:
        transform var(--transition-slow);
}

.support-card:hover .support-card-image img {
    transform: scale(1.06);
}


/* =========================================
   CARD CONTENT
========================================= */

.support-card-content {
    position: relative;

    padding: 25px 26px 28px;
}


/* Number */

.support-number {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    margin-bottom: 13px;

    border-radius: var(--radius-pill);

    background: var(--surface-color-alt);

    color: var(--primary-color);

    font-size: 12px;
    font-weight: 600;
}


/* Heading */

.support-card-content h3 {
    margin-bottom: 11px;

    color: var(--heading-color);

    font-family: var(--font-display);
    font-size: 21px;
    line-height: 1.25;
    font-weight: 600;
}


/* Paragraph */

.support-card-content p {
    margin-bottom: 20px;

    color: var(--text-color);

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================
   LEARN MORE
========================================= */

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: var(--primary-color);

    font-size: 14px;
    font-weight: 600;

    transition: var(--transition);
}

.support-link::after {
    content: "→";

    font-size: 16px;

    transition: transform var(--transition);
}

.support-link:hover {
    color: var(--primary-color-dark);
}

.support-link:hover::after {
    transform: translateX(4px);
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 950px) {

    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 600px) {

    .project-support {
        padding: 60px 18px;
    }

    .support-heading {
        margin-bottom: 38px;
    }

    .support-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .support-card-image {
        height: 220px;
    }

    .support-card-content {
        padding: 23px;
    }
}

.support-section .support-card{
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    min-height: 280px;
}




        /* ---------- Support cards section ---------- */
        .support-section {
            padding: var(--section-padding-y) 0;
            text-align: center;
        }

        .support-head {
            max-width: 560px;
            margin: 0 auto 46px;
        }

        .support-head .eyebrow {
            justify-content: center;
        }

        .support-head .eyebrow::before {
            display: none;
        }

        .support-head h2 {
            font-size: clamp(26px, 3vw, 34px);
            position: relative;
            display: inline-block;
        }

        .bulb {
            display: inline-flex;
            width: 46px;
            height: 46px;
            align-items: center;
            justify-content: center;
            background: var(--cream-color);
            border-radius: 50%;
            margin: 0 auto 18px;
        }

        .bulb svg {
            width: 22px;
            height: 22px;
            color: var(--accent-color);
        }

        .support-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: var(--card-gap);
        }

      .support-section  .support-card {
            border-radius: var(--radius-lg);
            padding: 34px 26px 30px;
            color: #fff;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            box-shadow: var(--shadow-md);
            transition: transform var(--transition);
        }

     .support-section   .support-card:hover {
            transform: translateY(-6px);
        }

  /* Dummy Images */
.support-card.c-primary {
    background-image: url("img/support1.png");
}

.support-card.c-accent {
    background-image: url("img/support2.png");
}

.support-card.c-success {
    background-image: url("img/support3.png");
}

.support-section .support-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(3, 31, 83, 0.75); /* overlay */
    z-index: 1;
}

.support-card > * {
    position: relative;
    z-index: 2;
}

    .support-section    .support-card .icon-badge {
            width: 46px;
            height: 46px;
            border-radius: var(--radius-md);
            background: rgba(255, 255, 255, .2);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 18px;
        }

    .support-section    .support-card .icon-badge svg {
            width: 22px;
            height: 22px;
        }

   .support-section     .support-card h3 {
            color: #fff;
            font-size: 23px;
            margin-bottom: 10px;
        }

   .support-section     .support-card p {
            color: rgba(255, 255, 255, .85);
            font-size: 16px;
            margin-bottom: 20px;
        }

     .support-section   .support-card .btn-ghost {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: rgba(255, 255, 255, .16);
            color: #fff;
            font-size: 13px;
            font-weight: 600;
            padding: 9px 18px;
            border-radius: var(--radius-pill);
            border: 1px solid rgba(255, 255, 255, .35);
            transition: background var(--transition);
        }

    .support-section    .support-card .btn-ghost:hover {
            background: rgba(255, 255, 255, .28);
        }

        /* ---------- Responsive ---------- */
        @media (max-width: 900px) {
            .info-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .hero-inner {
                grid-template-columns: 1fr;
                padding: 90px 24px 60px;
            }

            .support-grid {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 560px) {
            .info-items {
                grid-template-columns: 1fr;
            }

            .form-row {
                grid-template-columns: 1fr;
            }

            .contact-form-card {
                padding: 26px 20px;
            }
        }

        .card-body {
            padding: 30px !important;
            border: 2px dashed white;
            border-radius: 8px;
            display: flex;
            justify-items: center;
            align-items: center;
            text-align: center;
            flex-direction: column;
        }
  .stemlabs-section {
        --primary: #FF5833;
        --secondary: #390920;
        --third: #474450;
        --fourth: #FFBA03;
        --fifth: #19dd8d;
        --sixth: #5E0144;
        --sevth: #F9F89D;
       
        padding: 80px 0;
        background: #FFF9F0;
    }

    .stemlabs-section .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .stemlabs-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }

    .stemlabs-card {
        background: #fff;
        border-radius: 20px;
        padding: 32px 26px;
        box-shadow: 0 6px 24px rgba(57, 9, 32, 0.08);
        border: 2px solid transparent;
        transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
        position: relative;
        overflow: hidden;
    }

    .stemlabs-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 14px 32px rgba(255, 88, 51, 0.18);
        border-color: var(--primary);
    }

    .stemlabs-card::before {
        content: "";
        position: absolute;
        top: -40px;
        right: -40px;
        width: 110px;
        height: 110px;
        background: var(--card-accent, var(--fourth));
        opacity: .12;
        border-radius: 50%;
    }

    .stemlabs-icon-wrap {
        width: 64px;
        height: 64px;
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--card-accent, var(--fourth));
        margin-bottom: 20px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
    }

    .stemlabs-icon-wrap i {
        font-size: 30px;
        color: #fff;
    }

    .stemlabs-card h3 {
        font-size: 20px;
        font-weight: 600;
        color: var(--secondary);
        margin-bottom: 16px;
    }

    .stemlabs-card ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .stemlabs-card ul li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 14.5px;
        color: var(--third);
        padding: 8px 0;
        border-bottom: 1px dashed rgba(71, 68, 80, 0.15);
    }

    .stemlabs-card ul li:last-child {
        border-bottom: none;
    }

    .stemlabs-card ul li i {
        color: var(--card-accent, var(--primary));
        font-size: 15px;
        margin-top: 2px;
        flex-shrink: 0;
    }

    .stemlabs-header {
        text-align: center;
        margin-bottom: 48px;
    }

    .stemlabs-header .badge-label {
        display: inline-block;
        background: var(--sevth);
        color: var(--secondary);
        font-weight: 600;
        font-size: 13px;
        padding: 6px 18px;
        border-radius: 30px;
        margin-bottom: 14px;
    }

    .stemlabs-header h2 {
        font-size: 38px;
        font-weight: 700;
        color: var(--secondary);
        margin: 0;
    }

    .stemlabs-header h2 span {
        color: var(--primary);
    }

    @media (max-width:1100px) {
        .stemlabs-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width:600px) {
        .stemlabs-grid {
            grid-template-columns: 1fr;
        }

        .stemlabs-header h2 {
            font-size: 28px;
        }
    }

         .founder-card {
            background: var(--section-bg);
            max-width: 1040px;
            width: 100%;
            margin: auto;
            border-radius: var(--radius-xl);
            display: grid;
            grid-template-columns: 360px 1fr;
            gap: var(--card-gap);
            padding: clamp(28px, 4vw, 52px);
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-lg);
            position: relative;
            overflow: hidden;
        }

        .founder-card::before {
            content: "";
            position: absolute;
            top: 0;
            right: 0;
            width: 230px;
            height: 230px;
            background-image:
                linear-gradient(var(--border-color) 1px, transparent 1px),
                linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
            background-size: 23px 23px;
            mask-image: radial-gradient(circle at top right, black, transparent 70%);
            -webkit-mask-image: radial-gradient(circle at top right, black, transparent 70%);
            pointer-events: none;
        }

        .founder-card__portrait {
            position: relative;
            border-radius: var(--radius-lg);
            aspect-ratio: 3/3.6;
            background:
                radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.10), transparent 55%),
                linear-gradient(155deg, var(--primary-color) 0%, var(--primary-color-dark) 65%, var(--deep-color) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .founder-card__traces {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            opacity: 0.35;
        }

        .founder-card__avatar-ring {
            position: relative;
            width: 190px;
            height: 190px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.08);
            border: 1.5px dashed rgba(255, 255, 255, 0.45);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .founder-card__avatar {
            width: 158px;
            height: 158px;
            border-radius: 50%;
            background: var(--cream-color);
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-display);
            font-weight: 700;
            font-size: 56px;
            color: var(--primary-color-dark);
            letter-spacing: 1px;
        }

        .founder-card__tag {
            position: absolute;
            bottom: 22px;
            left: 22px;
            right: 22px;
            color: var(--on-dark-color);
            font-size: 12.5px;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            font-weight: 600;
            border-top: 1px solid rgba(255, 255, 255, 0.25);
            padding-top: 12px;
        }

        .founder-card__content {
            position: relative;
            z-index: 1;
        }

        .founder-card__eyebrow {
            color: var(--accent-color);
            font-weight: 700;
            font-size: 13.5px;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .founder-card__name {
            font-family: var(--font-display);
            font-size: clamp(30px, 3.2vw, 40px);
            font-weight: 700;
            color: var(--heading-color);
            line-height: 1.1;
            margin-bottom: 6px;
            letter-spacing: -0.02em;
        }

        .founder-card__role {
            font-size: 15px;
            color: var(--text-color);
            font-weight: 500;
            margin-bottom: 22px;
        }

        .founder-card__role span {
            color: var(--primary-color-dark);
            font-weight: 600;
        }

        .founder-card__quote {
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-color);
            border-left: 3px solid var(--primary-color);
            padding-left: 18px;
            margin-bottom: 28px;
            max-width: 560px;
        }

        .founder-card__label {
            font-size: 13px;
            font-weight: 600;
            color: var(--heading-color);
            letter-spacing: 0.02em;
            margin-bottom: 12px;
        }

        .founder-card__chips {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 30px;
        }

        .founder-card__chip {
            background: var(--surface-color-alt);
            color: var(--primary-color-dark);
            font-size: 13px;
            font-weight: 600;
            padding: 8px 16px;
            border-radius: var(--radius-pill);
            border: 1px solid var(--border-color);
        }

        .founder-card__details {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 18px 40px;
            padding-top: 24px;
            border-top: 1px solid var(--border-color);
        }

        .founder-card__detail .founder-card__detail-label {
            font-size: 11.5px;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--muted-color);
            font-weight: 600;
            margin-bottom: 4px;
        }

        .founder-card__detail .founder-card__detail-value {
            font-size: 14.5px;
            color: var(--heading-color);
            font-weight: 500;
        }

        .founder-card__social {
            display: flex;
            align-items: center;
            gap: 14px;
            margin-top: 28px;
        }

        .founder-card__social-label {
            font-size: 13px;
            font-weight: 600;
            color: var(--heading-color);
            margin-right: 4px;
        }

        .founder-card__social a {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1.5px solid var(--primary-color);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color-dark);
            text-decoration: none;
            font-size: 14px;
            font-weight: 600;
            transition: var(--transition);
        }

        .founder-card__social a:hover {
            background: var(--surface-color-alt);
        }

        @media (max-width: 760px) {
            .founder-card {
                grid-template-columns: 1fr;
                padding: 28px;
            }

            .founder-card__portrait {
                aspect-ratio: 16/10;
            }

            .founder-card__details {
                grid-template-columns: 1fr;
            }
        }




.stem-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.stem-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px 9px 9px;
    border-radius: 50px;
    color: #252525;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

.stem-badge-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    font-size: 16px;
}

.badge-sun {
    background: var(--sun);
}

.badge-violet {
    background: var(--violet);
}

.badge-sky {
    background: var(--sky);
}

.badge-mint {
    background: var(--mint);
}

.stem-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}







.level-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.level-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--primary-color);
  color: #fff;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 14px;
  transition: background var(--transition), transform var(--transition), gap var(--transition);
}

.level-readmore i {
  transition: transform var(--transition);
  -webkit-transition: transform var(--transition);
  -moz-transition: transform var(--transition);
  -ms-transition: transform var(--transition);
  -o-transition: transform var(--transition);
}

.level-card:hover .level-readmore {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.level-card:hover .level-readmore i {
  transform: translateX(4px);
}

/* ============================================================
   Course Enquiry Form — Component Styles
   Reads the site's existing :root design tokens. No tokens are
   redefined here — this file only consumes them.
   ============================================================ */

.course-enquiry-form{
  --ceq-radius: var(--radius-lg, 22px);
  background: var(--surface-color, #F7F9FC);
  border: 1px solid var(--border-color, rgba(82,97,116,.16));
  border-radius: var(--ceq-radius);
  box-shadow: var(--shadow-lg, 0 18px 36px -16px rgba(3,31,83,.22));
  overflow: hidden;
  font-family: var(--font-text);
}

.course-enquiry-form__inner{
  padding: clamp(28px, 4vw, 48px);
}

/* ---------- Head ---------- */
.course-enquiry-form__head{
  text-align: center;
  max-width: 520px;
  margin: 0 auto clamp(24px, 3vw, 34px);
}
.course-enquiry-form__eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: var(--fs-small, 12px);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary-color);
  background: rgba(var(--primary-rgb), .08);
  padding: 6px 14px;
  border-radius: var(--radius-pill, 999px);
  margin-bottom: 14px;
}
.course-enquiry-form__title{
  font-family: var(--font-display, serif);
  font-size: var(--fs-h2, 28px);
  color: var(--heading-color);
  line-height: 1.2;
}
.course-enquiry-form__subtitle{
  margin-top: 10px;
  font-size: var(--fs-body, 15px);
  color: var(--text-color);
  line-height: 1.6;
}

/* ---------- Fields ---------- */
.course-enquiry-form__label{
  font-family: var(--font-text);
  font-weight: 600;
  font-size: var(--fs-small, 12px);
  color: var(--heading-color);
  margin-bottom: 8px;
  display: block;
}
.course-enquiry-form__required{ color: var(--accent-color); }
.course-enquiry-form__optional{ color: var(--muted-color); font-weight: 500; }

.course-enquiry-form__control{
  position: relative;
  display: flex;
  align-items: center;
}
.course-enquiry-form__control i{
  position: absolute;
  left: 16px;
  color: var(--tertiary-color);
  font-size: 16px;
  pointer-events: none;
}
.course-enquiry-form__control--textarea i{ align-self: flex-start; margin-top: 14px; }

.course-enquiry-form .form-control{
  width: 100%;
  font-family: var(--font-text);
  font-size: var(--fs-body, 15px);
  color: var(--heading-color);
  background: var(--body-bg, #fff);
  border: 1.5px solid var(--border-color, rgba(82,97,116,.16));
  border-radius: var(--radius-md, 14px);
  padding: 13px 16px 13px 44px;
  transition: border-color var(--transition, .25s ease), box-shadow var(--transition, .25s ease);
}
.course-enquiry-form .form-control::placeholder{ color: var(--muted-color); }
.course-enquiry-form .form-control:focus{
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), .12);
}
.course-enquiry-form textarea.form-control{ padding-top: 13px; resize: vertical; min-height: 96px; }

/* invalid state (native + JS-toggled) */
.course-enquiry-form .form-control:invalid.was-validated,
.course-enquiry-form .form-control.is-invalid{
  border-color: #E4544B;
  box-shadow: 0 0 0 4px rgba(228,84,75,.10);
}
.course-enquiry-form .invalid-feedback{
  display: none;
  font-size: var(--fs-small, 12px);
  color: #E4544B;
  margin-top: 6px;
}
.course-enquiry-form .form-control.is-invalid ~ .invalid-feedback,
.course-enquiry-form__consent input.is-invalid ~ .invalid-feedback{
  display: block;
}

/* ---------- Consent ---------- */
.course-enquiry-form__consent{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface-color-alt, #EEF4FA);
  border-radius: var(--radius-md, 14px);
  padding: 14px 16px;
}
.course-enquiry-form__consent input[type="checkbox"]{
  width: 19px; height: 19px;
  margin-top: 2px;
  accent-color: var(--primary-color);
  flex-shrink: 0;
}
.course-enquiry-form__consent label{
  font-size: var(--fs-small, 12px);
  color: var(--text-color);
  line-height: 1.55;
}
.course-enquiry-form__consent a{ color: var(--primary-color); font-weight: 600; text-decoration: underline; }

/* ---------- Submit ---------- */
.course-enquiry-form__submit{
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-text);
}
.course-enquiry-form__spinner{
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  display: none;
  animation: ceq-spin .7s linear infinite;
}
.course-enquiry-form__submit.is-loading .course-enquiry-form__spinner{ display: inline-block; }
.course-enquiry-form__submit.is-loading .course-enquiry-form__submit-label,
.course-enquiry-form__submit.is-loading .bi-arrow-right{ opacity: .5; }
@keyframes ceq-spin{ to{ transform: rotate(360deg); } }

/* ---------- Status message ---------- */
.course-enquiry-form__status{
  font-size: var(--fs-small, 12px);
  font-weight: 600;
  border-radius: var(--radius-sm, 8px);
  padding: 0;
  min-height: 0;
  transition: var(--transition, .25s ease);
}
.course-enquiry-form__status.is-success{
  padding: 12px 16px;
  background: rgba(var(--success-rgb), .12);
  color: var(--success-color);
}
.course-enquiry-form__status.is-error{
  padding: 12px 16px;
  background: rgba(228,84,75,.10);
  color: #E4544B;
}

/* ---------- Fallback btn-custom (only applies if the site's own
   btn-custom classes aren't already loaded on the page) ---------- */
.course-enquiry-form .btn-custom{
  font-family: var(--font-text);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-pill, 999px);
  cursor: pointer;
  transition: var(--transition, .25s ease);
}
.course-enquiry-form .btn-custom--primary{
  background: var(--primary-color);
  color: #fff;
}
.course-enquiry-form .btn-custom--primary:hover{
  background: var(--primary-color-dark);
  transform: translateY(-2px);
}
.course-enquiry-form .btn-custom--md{ padding: 15px 28px; font-size: var(--fs-body, 15px); }

/* ============================================================
   Modal wrapper (course-enquiry-modal.php)
   ============================================================ */
.course-enquiry-modal .modal-content{
  border: none;
  border-radius: var(--radius-xl, 30px);
  overflow: hidden;
  box-shadow: var(--shadow-lg, 0 18px 36px -16px rgba(3,31,83,.22));
}

/* form loses its own card chrome when nested inside the modal */
.course-enquiry-modal .course-enquiry-form{
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.course-enquiry-modal__close{
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-color-alt, #EEF4FA);
  opacity: 1;
}
.course-enquiry-modal__close:hover{ background: var(--surface-color-alt, #EEF4FA); opacity: .8; }

@media (max-width: 576px){
  .course-enquiry-modal .modal-dialog{ margin: 12px; }
  .hero{
        background-image: url("img/hero-responsive.png");

}

}

.contact-form-card{
  background-color: white;
  position: relative;
  padding: 40px;
  border-radius: 10px;
  z-index: 9999;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

/* 
ns1.secure-web.cloud
ns2.secure-web.cloud */


/* ============================================================
   Process Section — "Idea to Demo Day" 9-step timeline
   Consumes the site's existing :root tokens (Fraunces/Sora,
   radius/shadow scale, surface colors). Also defines the
   --pstep-* accent colors referenced inline in the HTML.
   ============================================================ */

:root{
  --pstep-orange: #F5A000;
  --pstep-green:  #19C987;
  --pstep-blue:   #1767B9;
  --pstep-purple: #8B6FD6;
  --pstep-red:    #E4544B;
  --pstep-teal:   #17A6A0;
  --pstep-pink:   #E8639E;
}

.process-section{
  padding: var(--section-padding-y, clamp(56px, 8vw, 100px)) 0;
  background:
    radial-gradient(560px 340px at 8% 0%, rgba(var(--primary-rgb), .05) 0%, transparent 60%),
    radial-gradient(500px 360px at 96% 10%, rgba(var(--accent-rgb), .06) 0%, transparent 55%),
    var(--body-bg, #fff);
  position: relative;
}

/* ---------- Head ---------- */
.process-head{
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(44px, 6vw, 68px);
}
.process-section .section-eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-text);
  font-weight: 700;
  font-size: var(--fs-small, 12px);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary-color);
  background: rgba(var(--primary-rgb), .08);
  padding: 7px 16px;
  border-radius: var(--radius-pill, 999px);
  margin-bottom: 16px;
}
.process-section .section-title{
  font-family: var(--font-display, serif);
  font-size: var(--fs-h2, 32px);
  color: var(--heading-color);
  line-height: 1.22;
}
.process-section .section-subtitle{
  margin-top: 14px;
  font-family: var(--font-text);
  font-size: var(--fs-body, 16px);
  color: var(--text-color);
  line-height: 1.65;
}

/* ---------- Steps grid ---------- */
.process-steps{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap, clamp(16px, 2.4vw, 24px));
  counter-reset: step;
  position: relative;
}

.step{
  position: relative;
  background: var(--body-bg, #fff);
  border: 1px solid var(--border-color, rgba(82,97,116,.14));
  border-radius: var(--radius-lg, 22px);
  padding: clamp(26px, 2.6vw, 34px) clamp(22px, 2.4vw, 28px) 28px;
  box-shadow: var(--shadow-sm, 0 4px 10px rgba(3,31,83,.08));
  transition: transform var(--transition, .25s ease),
              box-shadow var(--transition, .25s ease),
              border-color var(--transition, .25s ease);
  overflow: hidden;
}
.step::before{
  /* top accent bar */
  content: "";
  position: absolute; left: 0; top: 0; right: 0; height: 4px;
  background: var(--accent, var(--primary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow, .35s ease);
}
.step:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg, 0 18px 36px -16px rgba(3,31,83,.22));
  border-color: rgba(var(--secondary-rgb), .06);
}
.step:hover::before{ transform: scaleX(1); }

/* connecting arrow between cards in the same row (desktop only) */
.step:not(:nth-child(3n))::after{
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  width: 14px; height: 14px;
  border-top: 2.5px solid rgba(var(--tertiary-rgb), .28);
  border-right: 2.5px solid rgba(var(--tertiary-rgb), .28);
  transform: translateY(-50%) rotate(45deg);
  z-index: 2;
}

/* ghost step number */
.step-num-wrap{
  position: absolute;
  top: 8px;
  right: 18px;
  line-height: 1;
}
.step-num{
  font-family: var(--font-display, serif);
  font-size: clamp(46px, 4.4vw, 60px);
  font-weight: 700;
  color: var(--accent, var(--primary-color));
  opacity: .12;
  letter-spacing: -0.02em;
}

/* icon */
.step-icon{
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md, 14px);
  background: color-mix(in srgb, var(--accent, var(--primary-color)) 14%, transparent);
  color: var(--accent, var(--primary-color));
  font-size: 24px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  transition: transform var(--transition, .25s ease);
}
.step:hover .step-icon{ transform: scale(1.08) rotate(-4deg); }

.step h4{
  font-family: var(--font-display, serif);
  font-size: var(--fs-card-title, 20px);
  color: var(--heading-color);
  line-height: 1.3;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.step p{
  font-family: var(--font-text);
  font-size: var(--fs-body, 15px);
  color: var(--text-color);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ---------- Responsive ---------- */
@media (max-width: 992px){
  .process-steps{ grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3n)::after{
    top: 50%; right: -20px;
    border-top: 2.5px solid rgba(var(--tertiary-rgb), .28);
    border-right: 2.5px solid rgba(var(--tertiary-rgb), .28);
  }
  .step:nth-child(2n)::after{ display: none; }
}

@media (max-width: 640px){
  .process-steps{ grid-template-columns: 1fr; }
  .step::after{ display: none !important; }
  .step-num{ font-size: 42px; }
}

/* =========================================================
   ADDITIONAL RESPONSIVE FIXES — append after main stylesheet
   (covers gaps: nav/footer logo, pathway level-badge sizing,
   support-card row->stack on mobile, founder avatar, consent row)
========================================================= */

@media (max-width: 991px) {
  .brand-logo {
    width: 190px;
    transform: scale(1);
    -webkit-transform: scale(1);
  }
  .footer-logo img { width: 190px; }

  .level-card-body {
    max-height: none;
    padding: 140px 30px 26px;
    margin-top: -110px;
  }
}

@media (max-width: 767px) {
  .brand-logo { width: 160px; }
  .footer-logo img { width: 160px; }

  .level-card-body {
    padding: 110px 45px 24px;
    margin-top: -90px;
  }

  .project-support .support-card { flex-direction: column; }
  .support-card-image { height: 200px; }
  .support-card-image img { height: 200px; }
}

@media (max-width: 575px) {
  .brand-logo { width: 140px; }
  .footer-logo img { width: 140px; }

  .level-title { font-size: 1.1rem; }
  .level-age { font-size: .72rem; padding: 4px 12px; }

  .founder-card__avatar-ring { width: 150px; height: 150px; }
  .founder-card__avatar {
    width: 120px;
    height: 120px;
    font-size: 42px;
  }

  .course-enquiry-form__consent {
    flex-direction: column;
    align-items: flex-start;
  }

  .stem-badge { font-size: 13px; padding: 8px 14px 8px 8px; }
  .stem-badge-icon { width: 30px; height: 30px; flex: 0 0 30px; }
}

.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 25px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 22px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    color: #fff;
    transform: translateY(-4px) scale(1.05);
}

.floating-whatsapp {
    background: #25D366;
}

.floating-call {
    background: #1767B9;
}

@media (max-width: 575px) {
    .floating-contact {
        right: 15px;
        bottom: 18px;
        gap: 10px;
    }

    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .card-modal-3{
        right: -140px;
    }
}


/* 01 - Robotics */
.support-card.c-one {
    background-image: url("/img/support/robotics.jpg");
}

/* 02 - Smart Dustbin */
.support-card.c-two {
    background-image: url("/img/support/smart-dustbin.jpg");
}

/* 03 - Scratch Game */
.support-card.c-three {
    background-image: url("/img/support/scratch-game.jpg");
}

/* 04 - Artificial Intelligence */
.support-card.c-four {
    background-image: url("/img/support/artificial-intelligence.jpg");
}

/* 05 - Arduino & Sensor */
.support-card.c-five {
    background-image: url("/img/support/arduino-sensor.jpg");
}

/* 06 - Automatic Street Light */
.support-card.c-six {
    background-image: url("/img/support/automatic-street-light.jpg");
}

/* 07 - IoT Home Automation */
.support-card.c-seven {
    background-image: url("/img/support/iot-home-automation.jpg");
}

/* 08 - Python Programming */
.support-card.c-eight {
    background-image: url("/img/support/python-programming.jpg");
}

/* 09 - STEM Design Challenge */
.support-card.c-nine {
    background-image: url("img/support/stem-design-challenge.jpg");
}


.breadcrumb-title, .breadcrumb-list{
        text-transform: capitalize;

}

    .hero {
            padding-top: var(--section-padding-y);
        }

        .hero-heading {
            text-align: center;
            font-family: var(--font-display);
            font-size: var(--fs-h1);
            font-weight: 800;
            line-height: 1.05;
            color: var(--dark-color);
            margin: 0 0 20px;
        }

        .hero-heading .highlight {
            color: var(--accent-color);
            position: relative;
            display: inline-block;
        }

        .hero-heading .highlight::after {
            content: "";
            position: absolute;
            left: 0;
            right: 0;
            bottom: -8px;
            height: 4px;
            background: var(--primary-color);
            border-radius: var(--radius-pill);
        }

        .hero-sub {
            text-align: center;
            font-size: var(--fs-h2);
            color: var(--muted-color);
            margin: 0 0 var(--section-padding-y);
        }

        .hero-sub .bold {
            font-weight: 700;
            color: var(--heading-color);
        }

        /* ---- Marquee ---- */
        .marquee {
            position: relative;
            overflow: hidden;
            padding: var(--card-gap) 0;
            -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
        }

        .marquee-track {
            display: flex;
            width: max-content;
            gap: var(--card-gap);
            animation: scroll-left 28s linear infinite;
        }

        .marquee:hover .marquee-track {
            animation-play-state: paused;
        }

        .marquee-track img {
            height: clamp(200px, 24vw, 340px);
            width: clamp(160px, 20vw, 280px);
            object-fit: cover;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-md);
            flex-shrink: 0;
            transition: transform var(--transition);
        }

        .marquee-track img:hover {
            transform: translateY(-6px) scale(1.02);
        }

        @keyframes scroll-left {
            from {
                transform: translateX(0);
            }

            to {
                transform: translateX(-50%);
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .marquee-track {
                animation: none;
            }

            .marquee {
                overflow-x: auto;
            }
        }
        
        
                .hero {
            position: relative;
            overflow: hidden;
            padding: 75px 20px 85px;
            background:
                radial-gradient(circle at 10% 20%, rgba(23, 103, 185, .08), transparent 30%),
                radial-gradient(circle at 90% 70%, rgba(25, 201, 135, .08), transparent 30%),
                var(--light-blue);
        }

        .hero-inner {
            max-width: 1450px;
            margin: auto;
            text-align: center;
        }

        /* ================= TOP BADGE ================= */

        .hero-top-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 9px 18px;
            margin-bottom: 20px;

            background: rgba(255, 255, 255, .85);
            border: 1px solid rgba(23, 103, 185, .12);
            border-radius: var(--radius-pill);

            color: var(--primary-color);
            font-size: 13px;
            font-weight: 800;
            letter-spacing: .8px;

            box-shadow: 0 5px 18px rgba(3, 31, 83, .06);
        }

        .hero-top-badge span {
            color: var(--accent-color);
        }

        /* ================= HEADING ================= */

        .hero-heading {
            max-width: 1000px;
            margin: 0 auto 18px;

            font-size: clamp(36px, 5vw, 68px);
            line-height: 1.04;
            font-weight: 850;
            letter-spacing: -2px;

           
        }

        .hero-heading .highlight {
            color: var(--primary-color);
            position: relative;
            display: inline-block;
        }

        .hero-heading .highlight::after {
            content: "";
            position: absolute;
            left: 3%;
            right: 3%;
            bottom: -8px;
            height: 6px;

            background: var(--accent-color);
            border-radius: var(--radius-pill);
        }

        /* ================= SUBTEXT ================= */

        .hero-sub {
            max-width: 760px;
            margin: 0 auto 34px;

            color: var(--text-color);
            font-size: clamp(17px, 2vw, 21px);
            line-height: 1.6;
        }

        .hero-sub strong {
            color: var(--primary-dark);
            font-weight: 800;
        }

        /* ================= VIDEO MARQUEE ================= */

        .video-marquee {
            position: relative;
            overflow: hidden;
            width: 100%;

            padding: 18px 0 28px;

            -webkit-mask-image: linear-gradient(90deg,
                    transparent 0%,
                    #000 5%,
                    #000 95%,
                    transparent 100%);

            mask-image: linear-gradient(90deg,
                    transparent 0%,
                    #000 5%,
                    #000 95%,
                    transparent 100%);
        }

        .video-track {
            display: flex;
            width: max-content;
            gap: 20px;

            animation: videoScroll 32s linear infinite;
        }

        .video-marquee:hover .video-track {
            animation-play-state: paused;
        }

        .video-card {
            position: relative;
            max-width: 190px;

            flex-shrink: 0;
            overflow: hidden;

            border-radius: var(--radius-lg);
            background: #dceeff;

            box-shadow: var(--shadow-md);
        }

        .video-card video {
            width: 100%;
            height: 100%;
            display: block;

            object-fit: cover;
        }

        /* Soft overlay */

        .video-card::after {
            content: "";
            position: absolute;
            inset: 0;

            background: linear-gradient(to top,
                    rgba(3, 31, 83, .18),
                    transparent 45%);

            pointer-events: none;
        }

        @keyframes videoScroll {
            from {
                transform: translateX(0);
            }

            to {
                transform: translateX(-50%);
            }
        }

        /* ================= INFO BADGES ================= */

        .hero-badges {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 12px;

            margin: 30px auto 26px;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;

            padding: 11px 17px;

            background: rgba(255, 255, 255, .9);
            border: 1px solid rgba(23, 103, 185, .12);

            border-radius: var(--radius-pill);

            color: var(--primary-dark);
            font-size: 14px;
            font-weight: 700;

            box-shadow: 0 5px 16px rgba(3, 31, 83, .06);
        }

        .hero-badge .icon {
            display: flex;
            align-items: center;
            justify-content: center;

            width: 22px;
            height: 22px;

            background: #e8f7ff;
            border-radius: 50%;

            color: var(--primary-color);
            font-size: 12px;
        }

        .hero-badge.green .icon {
            background: #e6fff5;
            color: var(--success-color);
        }

        .hero-badge.orange .icon {
            background: #fff4dc;
            color: var(--accent-color);
        }

        /* ================= BUTTONS ================= */

        .hero-actions {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 14px;
        }

        .hero-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;

            min-width: 170px;
            padding: 15px 25px;

            border-radius: var(--radius-pill);

            text-decoration: none;
            font-size: 15px;
            font-weight: 800;

            transition: .25s ease;
        }

        .hero-btn.primary {
            color: #fff;
            background: var(--primary-color);
            box-shadow: 0 10px 24px rgba(23, 103, 185, .22);
        }

        .hero-btn.primary:hover {
            transform: translateY(-3px);
            background: var(--primary-dark);
        }

        .hero-btn.secondary {
            color: var(--primary-dark);
            background: #fff;
            border: 1px solid rgba(3, 31, 83, .12);
        }

        .hero-btn.secondary:hover {
            transform: translateY(-3px);
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        /* ================= MOBILE ================= */

        @media (max-width: 768px) {

            .hero {
                padding: 55px 14px 65px;
            }

            .hero-heading {
                letter-spacing: -1px;
            }

            .hero-heading .highlight::after {
                height: 4px;
                bottom: -5px;
            }

            .hero-sub {
                margin-bottom: 24px;
            }

            .video-card {
                width: 220px;
                height: 300px;
            }

            .video-track {
                gap: 14px;
                animation-duration: 25s;
            }

            .hero-badges {
                gap: 8px;
                margin-top: 22px;
            }

            .hero-badge {
                font-size: 12px;
                padding: 9px 13px;
            }

            .hero-btn {
                width: 100%;
                max-width: 300px;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .video-track {
                animation: none;
            }
        }
        
        
        
        .bubbles {
            position: fixed;
            inset: 0;
            overflow: hidden;
            pointer-events: none;
        }

        .bubble {
            position: absolute;
            width: 16px;
            height: 16px;
            border: 3px solid;
            border-radius: 50%;
            will-change: transform;
        }

        .bubble:nth-child(1) {
            border-color: #ffd978;
        }

        .bubble:nth-child(2) {
            border-color: #ff4d57;
        }

        .bubble:nth-child(3) {
            border-color: #f28bc4;
        }

        .bubble:nth-child(4) {
            border-color: #8db8df;
        }

        .bubble:nth-child(5) {
            border-color: #ffb44d;
        }

        .bubble:nth-child(6) {
            border-color: #9ed6ff;
        }

        .bubble:nth-child(7) {
            border-color: #c49cff;
        }
        
        
        
        /* =========================
   CTA SECTION
========================= */

.cta-section {
    padding: var(--section-padding-y) 0;
    background: #ffd978;
     position: relative;
     padding-bottom:0px;
     z-index:2;
}

.cta-wrapper {
   
    min-height: 360px;

    padding: clamp(35px, 5vw, 60px);

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    border-radius: var(--radius-lg);
}

/* CTA Background Image */
.cta-section::after {
    content: "";
    position: absolute;
    top: -20px;
    left: 0px;
  background-image: url("img/cta-bg.svg");
    background-repeat: repeat-x;
    width: 100%;
    height: 25px;
}



/* =========================
   CONTENT
========================= */

.cta-content {
    position: relative;
    z-index: 2;

    width: min(100%, 560px);
}

.cta-label {
    display: inline-block;
    margin-bottom: 12px;

    font-family: var(--font-text);
    font-size: var(--fs-small);
    font-weight: 700;
    letter-spacing: 1.5px;

    color: var(--primary-color-dark);
}

.cta-content h2 {
    margin: 0 0 16px;

    font-family: var(--font-display);
    font-size: var(--fs-h2);
    line-height: 1.15;
    font-weight: 700;

    color: var(--secondary-color);
}

.cta-content h2 span {
    color: var(--primary-color);
}

.cta-content p {
    max-width: 500px;
    margin: 0 0 26px;

    font-family: var(--font-text);
    font-size: var(--fs-body);
    line-height: 1.7;

    color: var(--secondary-color);
}

/* =========================
   BUTTON
========================= */

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 13px 22px;

    font-family: var(--font-text);
    font-size: var(--fs-body);
    font-weight: 600;
    text-decoration: none;

    color: #fff;
    background: var(--primary-color);

    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-sm);

    transition: var(--transition);
}

.cta-btn i {
    font-size: 17px;
    transition: var(--transition);
}

.cta-btn:hover {
    color: #fff;
    background: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-btn:hover i {
    transform: translateX(4px);
}

/* =========================
   ROBOT IMAGE
========================= */

.cta-image {
    position: absolute;
    z-index: 2;

    right: 25px;
    bottom: 0;

    width: min(42%, 430px);

    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.cta-image img {
    display: block;

    width: 100%;
 display: block;
    width: 100%;
    height: auto;
   
 
    margin-bottom: -40px;
}




/* Large Desktop */
@media (max-width: 1199.98px) {
    .cta-image img {
     
        margin-bottom: -30px;
    }
}

/* Tablet */
@media (max-width: 991.98px) {
    .cta-image img {
       
        margin-bottom: -25px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .cta-image {
        width: 75%;
        margin: 0 auto;
    }

    .cta-image img {
        width: 100%;
       
        margin-bottom: -20px;
    }
}

/* Small Mobile */
@media (max-width: 575.98px) {
    .cta-image {
        width: 85%;
    }

    .cta-image img {
        max-height: 320px;
        margin-bottom: -15px;
    }
}

/* Extra Small */
@media (max-width: 400px) {
    .cta-image {
        width: 90%;
    }

    .cta-image img {
        
        margin-bottom: -10px;
    }
}

/* =========================
   LARGE TABLET
========================= */

@media (max-width: 1199.98px) {

    .cta-wrapper {
       
        padding: 45px;
        gap: 30px;
    }

    .cta-content {
        width: 58%;
    }

    .cta-image {
        width: 40%;
        right: 15px;
    }
}

/* =========================
   TABLET
========================= */

@media (max-width: 991.98px) {

    .cta-section {
        padding: 60px 0;
    }

    .cta-wrapper {
        min-height: 320px;
        padding: 40px;

        gap: 25px;
    }

    .cta-content {
        width: 60%;
    }

    .cta-image {
        width: 40%;
        right: 10px;
    }

    .cta-image img {
        max-width: 340px;
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 767.98px) {

    .cta-section {
        padding: 50px 0;
    }

    .cta-wrapper {
        min-height: auto;

        padding: 40px 25px 0;

        flex-direction: column;
        align-items: flex-start;

        gap: 30px;
    }

    .cta-content {
        width: 100%;
    }

    .cta-content h2 {
        font-size: clamp(26px, 7vw, 34px);
        line-height: 1.2;
    }

    .cta-content p {
        max-width: 100%;
    }

    /* Robot goes below content */
    .cta-image {
        position: relative;

        width: 75%;

        right: auto;
        bottom: auto;

        align-self: center;

        margin-top: 5px;
    }

    /* Keep CTA background visible */
    .cta-wrapper::after {
        background-position: center;
        background-size: cover;
    }
}

/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 575.98px) {

    .cta-wrapper {
        padding: 32px 20px 0;
        gap: 25px;
    }

    .cta-label {
        font-size: 10px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 14px;
        line-height: 1.6;
    }

    .cta-btn {
        width: 100%;
    }

    .cta-image {
        width: 88%;
    }
}

/* =========================
   EXTRA SMALL
========================= */

@media (max-width: 400px) {

    .cta-wrapper {
        padding: 28px 16px 0;
    }

    .cta-content h2 {
        font-size: 25px;
    }

    .cta-image {
        width: 95%;
    }
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    color: #fff;
    background: var(--primary-color);
    border-color: var(--primary-color);
}
        
  /* =========================================
   LEARN MORE ARROW BUTTON
========================================= */

.program-thumb {
    position: relative;
}

.program-learn-more {
    position: absolute;
    right: 16px;
    bottom: 16px;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--accent-color);
    color: #fff;

    border-radius: 50%;

    font-size: 25px;
    line-height: 1;

    z-index: 5;

    transition:
        transform var(--transition),
        background-color var(--transition),
        box-shadow var(--transition);
}

.program-learn-more i {
    line-height: 1;
    transition: transform var(--transition);
}

.program-card-link:hover .program-learn-more {
    background: var(--primary-color);
    transform: scale(1.08);
    box-shadow: var(--shadow-md);
}

.program-card-link:hover .program-learn-more i {
    transform: translate(2px, -2px);
}


/* Image + title link */
.program-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.program-card-link:hover {
    color: inherit;
    text-decoration: none;
}


/* Mobile */
@media (max-width: 575px) {
    .program-learn-more {
        width: 54px;
        height: 54px;
        right: 12px;
        bottom: 12px;
        font-size: 21px;
    }
}


  .learn-section {
        
            margin: 0 auto;
            padding: 60px 24px 120px;
        }

   .stem-stack-grid {
            display: grid;
            grid-template-columns: 6fr 6fr;
            gap: 32px;
            align-items: start;
        }

        /* ---- LEFT: 8-col sticky video ---- */
        .stack-video-col {
           height: 100%;
        }

        .stack-video-sticky {
            position: sticky;
            top: 100px;
            /* match your header height / desired offset */
            border-radius: 24px;
            overflow: hidden;
            aspect-ratio: 4 / 3;
            background: linear-gradient(135deg, #2b2118, #4a3826);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 20px 50px rgba(43, 33, 24, 0.18);
        }

        .stack-video-sticky video,
        .stack-video-sticky img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* placeholder styling only — remove once real <video> is wired in */
        .stack-video-placeholder {
            color: #f4e9d8;
            font-size: 14px;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            opacity: 0.6;
        }

        /* ---- RIGHT: 4-col stacking cards ---- */
        .stack-cards-col {
            position: relative;
        }

   
        .stack-item {
            position: sticky;
            padding-bottom: 40px;
           
            --stack-peek: 18px;
           
            --stack-base-top: 100px;
          
        }

        .stack-item:nth-child(1) {
            top: calc(var(--stack-base-top) + 0 * var(--stack-peek));
            z-index: 1;
        }

        .stack-item:nth-child(2) {
            top: calc(var(--stack-base-top) + 1 * var(--stack-peek));
            z-index: 2;
        }

        .stack-item:nth-child(3) {
            top: calc(var(--stack-base-top) + 2 * var(--stack-peek));
            z-index: 3;
        }

        .stack-item:nth-child(4) {
            top: calc(var(--stack-base-top) + 3 * var(--stack-peek));
            z-index: 4;
        }

        .stack-item:nth-child(5) {
            top: calc(var(--stack-base-top) + 4 * var(--stack-peek));
            z-index: 5;
        }

        /* ============================================================
     2) EXISTING CARD DESIGN — untouched, only re-scoped from
        `.learn-grid` (CSS grid) to plain stacked blocks.
     ============================================================ */
        .learn-card {
            border-radius: 28px;
            padding: 28px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 320px;
            box-shadow: 0 16px 40px rgba(43, 33, 24, 0.12);
            position: relative;
            overflow: hidden;
        }

        .learn-card--tan {
            background: #f0dcb8;
        }

        .learn-card--pink {
            background: #f6d3d9;
        }

        .learn-card--lav {
            background: #ddd6f3;
        }

        .learn-card--sky {
            background: #cfe8f3;
        }

        .learn-card--green {
            background: #d3ecd0;
        }

        .learn-card-icon {
            
            position: absolute;
            bottom: 0;
            left:0;
            height: 150px;
            margin-bottom: 16px;
        }

        .learn-card-icon img {
            width: 100%;
            height: 100%;
            
        }

        .learn-card-icon--corner {
            position: absolute;
            bottom: -30px;
            right: 20px;
            width: 200px;
        
        }

        .learn-card-tag {
            display: inline-block;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.06em;
            text-transform: uppercase;
            background: rgba(43, 33, 24, 0.08);
            padding: 4px 10px;
            border-radius: 999px;
            margin-bottom: 10px;
        }

        .learn-card h3 {
            margin: 0 0 8px;
            font-size: 22px;
        }

        .learn-card p {
            margin: 0;
            font-size: 14.5px;
            line-height: 1.5;
            max-width: 50%;
            opacity: 0.85;
        }

        .learn-card-img {
            align-self: flex-end;
            margin-top: 16px;
            border-radius: 16px;
        
            max-height: 300px;
            bottom: 0;
            right: 0;
            object-fit: contain;
           
          position: absolute;
        }

        .learn-foot {
    text-align: center;
    margin-top: 56px;
    font-size: .95rem;
    font-weight: 600;
    color: var(--heading-color);
}

        /* ============================================================
     3) RESPONSIVE
     ============================================================ */

        /* Tablet — scale down, keep the same behavior */
        @media (max-width: 1024px) {
            .stem-stack-grid {
                grid-template-columns: 7fr 5fr;
                gap: 20px;
            }

            .stack-video-sticky {
                top: 80px;
            }

            .stack-item {
                --stack-base-top: 80px;
                --stack-peek: 14px;
            }

            .learn-card {
                min-height: 280px;
                padding: 22px;
            }
        }

        /* Mobile — drop the split, keep the card-stacking concept,
     video becomes a normal (non-sticky) block up top so nothing
     overlaps oddly on small screens. */
        @media (max-width: 768px) {
            .stem-stack-section {
                padding: 40px 16px 80px;
            }

            .stem-stack-grid {
                display: block;
            }

            .stack-video-col {
                margin-bottom: 24px;
            }

            .stack-video-sticky {
                position: static;
                aspect-ratio: 16 / 10;
            }

            .stack-item {
                --stack-base-top: 16px;
                --stack-peek: 10px;
                padding-bottom: 24px;
            }

            .learn-card {
                min-height: auto;
            }

            .learn-card-img {
                height: 160px;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .stack-item {
                position: static;
                padding-bottom: 16px;
            }

            .stack-video-sticky {
                position: static;
            }
        }
        
        
        .course-meta {
    margin-top: 20px;
}

.course-meta-item {
    background: #f7f9fc;
    border: 1px solid #e8edf3;
    border-radius: 12px;
    padding: 14px 16px;
    height: 100%;
    transition: all 0.3s ease;
}

.course-meta-item strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1a4268;
    margin-bottom: 5px;
}

.course-meta-item span {
    display: block;
    font-size: 14px;
    color: #6c757d;
    line-height: 1.4;
}

.course-meta-item:hover {
    transform: translateY(-3px);
    border-color: #37a4a3;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

@media (max-width: 575px) {
    .course-meta-item {
        padding: 12px;
    }

    .course-meta-item strong,
    .course-meta-item span {
        font-size: 13px;
    }
}

.pr-section {
  position: relative;
  background: linear-gradient(180deg, #F7F9FC 0%, #ffffff 55%);
  color: #031F53;
  font-family: 'Inter', sans-serif;
  padding: clamp(56px, 8vw, 100px) 0;
  overflow: hidden;
}

.pr-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 103, 185, .10) 0%, rgba(23, 103, 185, 0) 70%);
  pointer-events: none;
}

.pr-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.pr-header-text {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pr-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  background: #EEF4FA;
  color: #1767B9;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pr-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #19C987;
  display: block;
  box-shadow: 0 0 0 4px rgba(25, 201, 135, .18);
}

.pr-headline {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #031F53;
  text-wrap: pretty;
}

.pr-subhead {
  margin: 0;
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.7;
  color: #526174;
  max-width: 48ch;
  text-wrap: pretty;
}

.pr-header-controls {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}

.pr-rating {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid rgba(82, 97, 116, .16);
  border-radius: 22px;
  padding: 16px 22px;
  box-shadow: 0 6px 16px rgba(3, 31, 83, .06);
}

.pr-rating-score {
  font-family: 'Sora', sans-serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #031F53;
}

.pr-rating-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pr-stars {
  color: #F5A000;
  font-size: 14px;
  letter-spacing: 0.14em;
}

.pr-rating-count {
  font-size: 12px;
  color: #526174;
}

.pr-nav {
  display: flex;
  gap: 10px;
}

.pr-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid rgba(82, 97, 116, .22);
  background: #ffffff;
  color: #031F53;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .25s ease;
}

.pr-nav-btn:hover {
  background: #1767B9;
  border-color: #1767B9;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -8px rgba(23, 103, 185, .5);
}

.pr-rail {
  margin-top: clamp(32px, 4vw, 52px);
  overflow: hidden;
  padding: 6px 0 10px;
  position: relative;
  z-index: 1;
}

.pr-track {
  display: flex;
  gap: clamp(16px, 2.4vw, 24px);
  padding: 0 clamp(16px, 4vw, 32px);
  will-change: transform;
}

.pr-card {
  flex: 0 0 auto;
  width: 380px;
  max-width: 84vw;
  background: #ffffff;
  border: 1px solid rgba(82, 97, 116, .14);
  border-radius: 22px;
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 4px 14px rgba(3, 31, 83, .07);
  transition: box-shadow .28s ease, border-color .28s ease, transform .28s ease;
}

.pr-card:hover {
  box-shadow: 0 20px 40px -18px rgba(3, 31, 83, .26);
  border-color: rgba(23, 103, 185, .4);
  transform: translateY(-5px);
}

.pr-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pr-card-num {
  font-size: 12px;
  color: rgba(3, 31, 83, .4);
  font-variant-numeric: tabular-nums;
}

.pr-quote {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: #526174;
  text-wrap: pretty;
  flex: 1;
}

.pr-quote::before {
  content: open-quote;
  color: #1767B9;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
}

.pr-quote::after {
  content: close-quote;
  color: #1767B9;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
}

.pr-person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px dashed rgba(82, 97, 116, .24);
}

.pr-avatar {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, #EEF4FA, #E1EBF7);
  color: #1767B9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.pr-person-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pr-person-name {
  font-family: 'Sora', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #031F53;
}

.pr-person-role {
  font-size: 13px;
  color: #526174;
}

.pr-cta {
  flex: 0 0 auto;
  width: 380px;
  max-width: 84vw;
  border-radius: 22px;
  background: radial-gradient(120% 140% at 0% 0%, #0C2E6E 0%, #031F53 60%);
  color: #ffffff;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  box-shadow: 0 20px 40px -18px rgba(3, 31, 83, .5);
}

.pr-cta-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F5A000;
}

.pr-cta-title {
  font-family: 'Sora', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.pr-cta-copy {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .72);
}

.pr-cta-btn {
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 4px;
  padding: 13px 22px;
  border-radius: 999px;
  background: #F5A000;
  color: #031F53;
  transition: .25s ease;
}

.pr-cta-btn:hover {
  background: #ffffff;
  color: #031F53;
  transform: translateY(-2px);
  box-shadow: 0 12px 22px -10px rgba(0, 0, 0, .35);
}

.pr-progress-row {
  max-width: 1240px;
  margin: 28px auto 0;
  padding: 0 clamp(16px, 4vw, 32px);
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.pr-progress-track {
  flex: 1;
  height: 3px;
  background: #EEF4FA;
  border-radius: 999px;
  overflow: hidden;
}

.pr-progress-bar {
  height: 100%;
  width: 14%;
  background: linear-gradient(90deg, #1767B9, #19C987);
  border-radius: 999px;
  transition: width .2s ease;
}

.pr-progress-hint {
  font-size: 12px;
  color: #526174;
}


@media (max-width: 457px) {
    .learn-card-icon {
        display: none;
    }
}




























/* maths page sections */
            /* ===================== ACTIVITIES SECTION ===================== */

.activities-sec {
    padding: 60px 0;
}

.activities-sec .section-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6366f1;
    margin-bottom: 1rem;
}

.activities-sec .section-title {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
}

.activity-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #ddd;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.activity-card.accent-1 {
    border-top-color: #fbbf24;
}

.activity-card.accent-2 {
    border-top-color: #a78bfa;
}

.activity-card.accent-3 {
    border-top-color: #60a5fa;
}

.activity-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 50%;
}

.activity-card.accent-1 .activity-icon {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
}

.activity-card.accent-2 .activity-icon {
    background: rgba(167, 139, 250, 0.1);
    color: #a78bfa;
}

.activity-card.accent-3 .activity-icon {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
}

.activity-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1a202c;
}

.activity-desc {
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.activity-concepts {
    font-size: 0.85rem;
    color: #718096;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.activity-concepts strong {
    color: #2d3748;
}

/* ===================== METHODOLOGY SECTION ===================== */

.methodology-sec {
    padding: 60px 0;
    /* background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); */
}

.methodology-sec .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
}

.methodology-sec .section-title + p {
    font-size: 1.1rem;
    color: #4a5568;
}

.method-step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.method-step:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.method-num {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 700;
background: linear-gradient(135deg, #1767B9 0%, #4A90D9 100%);

    color: white;
    border-radius: 50%;
}

.method-step h5 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a202c;
}

.method-step p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
}

/* ===================== TOOLS SECTION UPDATE ===================== */

.tools-sec {
    padding: 60px 0;
}

.tools-sec .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 2rem;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tool-card {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    align-items: flex-start;
}

.tool-card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.tool-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
  background: linear-gradient(135deg, #1767B9 0%, #4A90D9 100%);

    color: white;
    border-radius: 8px;
}

.tool-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.tool-desc {
    font-size: 0.9rem;
    color: #4a5568;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 768px) {
    .activities-sec .section-title,
    .methodology-sec .section-title,
    .tools-sec .section-title {
        font-size: 1.75rem;
    }

    .activity-card {
        padding: 1.5rem;
    }

    .method-step {
        padding: 1.5rem;
    }

    .tool-card {
        gap: 1rem;
        padding: 1rem;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .about-section {
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    .activity-card {
        padding: 1.25rem;
    }

    .activity-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .activity-title {
        font-size: 1.1rem;
    }

    .method-num {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .method-step h5 {
        font-size: 1.1rem;
    }
}


     /* Feature checklist — bulleted item with icon circle (used for Topics Covered / Real-World Activities) */
        .feature-checklist {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        .feature-checklist__item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 14px;
            background: var(--surface-color);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
        }

        .feature-checklist__item:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-sm);
            border-color: rgba(var(--primary-rgb), .3);
        }

        .feature-checklist__icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            flex: 0 0 auto;
            border-radius: 50%;
            background: var(--mint);
            color: var(--heading-color);
        }

        .feature-checklist__icon svg {
            width: 14px;
            height: 14px;
        }

        .feature-checklist__item span {
            font-size: var(--fs-small);
            font-weight: 600;
            color: var(--heading-color);
            line-height: 1.4;
        }

        .feature-checklist--topics .feature-checklist__icon { background: var(--sky); }
        .feature-checklist--activities .feature-checklist__icon { background: var(--sun); }

        /* Curriculum level block (Class 3 / 4 / 5) */
        .curriculum-section {
            padding: var(--section-padding-y) 0 20px;
        }

        .curriculum-level {
            background: var(--section-bg);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-sm);
            padding: clamp(26px, 4vw, 44px);
            margin-bottom: var(--card-gap);
        }

        .curriculum-level__header {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 28px;
        }

        .curriculum-level__badge {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 56px;
            height: 56px;
            flex: 0 0 auto;
            border-radius: 50%;
            background: var(--violet);
            color: var(--heading-color);
            font-family: var(--font-display);
            font-weight: 700;
            font-size: 20px;
        }

        .curriculum-level__title {
            margin: 0;
            font-family: var(--font-display);
            font-size: var(--fs-h2);
            color: var(--heading-color);
        }

        .curriculum-columns {
            display: grid;
            grid-template-columns: 1fr;
            gap: var(--card-gap);
            margin-bottom: 24px;
        }

        .curriculum-columns h4 {
            font-size: var(--fs-small);
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.08em;
            color: var(--primary-color);
            margin-bottom: 14px;
        }

        .curriculum-outcome {
            display: flex;
            gap: 14px;
            align-items: flex-start;
            padding: 18px 20px;
            border-left: 3px solid var(--primary-color);
            background: var(--surface-color-alt);
            border-radius: var(--radius-md);
        }

        .curriculum-outcome strong {
            display: block;
            margin-bottom: 4px;
            font-size: var(--fs-micro);
            font-weight: 800;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            color: var(--heading-color);
        }

        .curriculum-outcome p {
            margin: 0;
            color: var(--text-color);
            font-size: var(--fs-small);
            line-height: 1.6;
        }

        @media (max-width: 768px) {
            .curriculum-columns {
                grid-template-columns: 1fr;
            }
        }