/* =========================================
   1. Root Variables
========================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600;9..144,700&family=Sora:wght@300;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;

    --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: "Fraunces", serif;
--font-text: "Sora", 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;
}

/* =========================================
   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
========================================= */
.top-header {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 999;
}

.brand-logo {
    width: 250px;
    display: flex;
    transform: scale(1.2);
    align-items: center;
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
}

.brand-logo img {
    max-height: 80px;
    
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    gap: 24px;
}

.nav-links {
    display: flex;
    align-items: center;
   
    font-size: .92rem;
}

.nav-links a {
    padding: 10px 8px;
    border-radius: var(--radius-sm);
    color: #fff;
    position: relative;
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    background: rgba(var(--primary-rgb), .12);
    color: var(--primary-color);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.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;
}

@media (max-width: 1080px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .btn-call {
        display: none;
    }
}

/* Mobile nav drawer */
.mobile-nav {
    display: flex;
    flex-direction: column;
    background: var(--secondary-color);
    padding: 12px 24px 20px;
}

.mobile-nav[hidden] {
    display: none;
}

.mobile-nav a {
    color: #fff;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: .95rem;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

/* =========================================
   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;
    overflow: hidden;
}

.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: 580 / 753;
    margin: 0 auto;
}

.mosaic-tile {
    position: absolute;
    background-repeat: no-repeat;
    border-radius: 18px;
    box-shadow: var(--shadow-md);
    background-image: url("https://images.unsplash.com/photo-1503919545889-aef636e10ad4?w=1000&h=1300&fit=crop");
}

.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; }
}

/* --- 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: 16px 4px 30px;
}

.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;
}

/* --- Learn (five tracks bento grid) --- */
.learn-section {
    background: var(--section-bg);
    padding: var(--section-padding-y) 0;
}

.learn-head {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 56px;
    align-items: end;
    margin-bottom: 52px;
}

.learn-head-right p a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
}

.learn-grid {
    display: grid;
    grid-template-columns: 1.2fr .9fr .9fr;
    grid-template-rows: repeat(2, 1fr);
    gap: var(--card-gap);
    width: 100%;
    min-height: 650px;
}

.learn-card {
    border-radius: var(--radius-lg);
    padding: 26px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 300px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.learn-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.learn-card--lg {
    grid-column: 1;
    grid-row: 1 / 3;
    align-items: flex-start;
    justify-content: flex-start;
}

.learn-card--lg2 {
    grid-column: 3;
    grid-row: 1 / 3;
}

.learn-card--tan { background: rgba(var(--accent-rgb), .16); }
.learn-card--pink { background: rgba(var(--primary-rgb), .12); }
.learn-card--lav { background: rgba(var(--deep-rgb), .14); }
.learn-card--sky { background: rgba(var(--success-rgb), .14); }

.learn-card-tag {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .02em;
    color: var(--accent-color);
    display: block;
    margin-bottom: 6px;
}

.learn-card h3 {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--heading-color);
    line-height: 1.25;
    margin-bottom: 8px;
}

.learn-card p {
    font-size: .84rem;
    line-height: 1.55;
    color: rgba(var(--secondary-rgb), .66);
    max-width: 300px;
}

.learn-card-icon {
    position: absolute;
    display: flex;
    bottom: 0;
    justify-content: center;
    align-items: center;
   /* z-index: -1; */
    width: 200pxpx;
}

.learn-card--lg .learn-card-icon {
    left: 30px;
    bottom: 50px;
}

.learn-card-icon--corner {
    left: -100px;
    z-index: 0;
    width: 100%;
}

.learn-card-img {
    position: absolute;
    right: -220px;
    bottom: 0;
    z-index: 1;
    width: 100%;
}

.learn-card-img--sm {
    right: -100px;
    z-index: -1;
    bottom: -50px;
    max-height: 250px;
    object-fit: contain;
    width: 100%;
}

.learn-copy,
.learn-body {
    position: relative;
    z-index: 2;
}

.learn-foot {
    text-align: center;
    margin-top: 56px;
    font-size: .95rem;
    font-weight: 600;
    color: var(--heading-color);
}

.learn-foot a {
    color: var(--heading-color);
    text-decoration: underline;
}

@media (max-width: 980px) {
    .learn-head {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 24px;
    }

    .learn-grid {
        grid-template-columns: 1fr 1fr;
    }

    .learn-card--lg {
        grid-column: 1 / span 2;
        grid-row: 1;
    }
}

@media (max-width: 600px) {
    .learn-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 220px);
    }

    .learn-card--lg {
        grid-column: 1;
        grid-row: 1;
    }
}

/* --- 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%;
    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);
}

@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; }
}

/* =========================================
   8. Footer
========================================= */
.site-footer {
    background: var(--secondary-color);
    color: var(--on-dark-color);
}

.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;
    
    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;
}

.support-heading span {
    display: inline-block;

    margin-bottom: 10px;

    color: var(--primary-color);
    font-size: 15px;
    font-weight: 600;
}

.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;
}

.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
========================================= */

.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-card{
    display: flex;
    gap: 20px;
}



        /* ---------- 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-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-card:hover {
            transform: translateY(-6px);
        }

        .support-card.c-primary {
            background: #00B0DD;
        }

        .support-card.c-accent {
            background: #C64E38;
        }

        .support-card.c-success {
            background: #86C542;
        }

        .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-card .icon-badge svg {
            width: 22px;
            height: 22px;
        }

        .support-card h3 {
            color: #fff;
            font-size: 23px;
            margin-bottom: 10px;
        }

        .support-card p {
            color: rgba(255, 255, 255, .85);
            font-size: 16px;
            margin-bottom: 20px;
        }

        .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-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;
        font-family: 'Fredoka', sans-serif;
        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;
            }
        }