/* ========================================================
   WIZOO CUSTOM STYLESHEET
   Extracted from index.html into external custom.css
   ======================================================== */

:root {
    color-scheme: light;
    --ink: #1B3631;
    --muted: #53736B;
    --coral: #F97316;
    --teal: #10B981;
    --yellow: #F59E0B;
    --sun: #FBBF24;
    --blue: #0284C7;
    --mint: #F4FAF7;
    --white: #FFFFFF;
    --display: "Fredoka", "Trebuchet MS", sans-serif;
    --body: "Quicksand", "Trebuchet MS", sans-serif;
    --shadow: 0 7px 0 rgb(27 54 49 / 13%);
    font-family: var(--body);
    color: var(--ink);
    scroll-behavior: smooth;
    scroll-padding-top: 78px;
}

* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--mint);
    padding-top: 71px;
}

/* Banner background video is confined strictly to the banner wrapper and loops smoothly */
.hero-banner-wrapper {
    position: relative;
    background: #0d281a;
    overflow: hidden;
    border-bottom: 4px solid rgba(245, 158, 11, 0.35);
}

.hero-banner-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 39, 28, 0.48) 0%, rgba(20, 44, 25, 0.28) 55%, rgba(10, 37, 22, 0.58) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-banner-wrapper .hero {
    position: relative;
    z-index: 2;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button {
    font: inherit;
}

.wrap {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    background: var(--white);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 3px solid rgba(245, 158, 11, 0.32);
    box-shadow: 0 4px 18px rgba(10, 35, 25, 0.08);
}

.nav {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    z-index: 25;
    height: 48px;
}

.brand img {
    width: auto;
    height: 115px;
    max-height: none;
    object-fit: contain;
    border-radius: 20px;
    transform: translateY(24px);
    filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.18));
    transition: transform .22s cubic-bezier(.22, 1, .36, 1), filter .22s ease;
    will-change: transform;
}

.brand:hover img {
    transform: translateY(26px) scale(1.05);
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.24));
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: var(--ink);
    padding: 8px 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    transition: all .22s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1.5px solid transparent;
}

.nav-links a i {
    font-size: 15px;
    transition: color .22s ease, transform .22s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Default icon theme accents */
.nav-links a[href="#top"] i,
.nav-links a[href="#classes"] i {
    color: #10B981;
}

.nav-links a[href="#about"] i {
    color: #F59E0B;
}

.nav-links a[href="#contact"] i {
    color: #0284C7;
}

/* Mouse hover: text ke sath icon color bhi change hoga */
.nav-links a[href="#top"]:hover,
.nav-links a[href="#classes"]:hover {
    color: #059669;
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.28);
    transform: translateY(-2px);
}

.nav-links a[href="#top"]:hover i,
.nav-links a[href="#classes"]:hover i {
    color: #047857;
    transform: scale(1.18);
}

.nav-links a[href="#about"]:hover {
    color: #D97706;
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.28);
    transform: translateY(-2px);
}

.nav-links a[href="#about"]:hover i {
    color: #EA580C;
    transform: scale(1.18);
}

.nav-links a[href="#contact"]:hover {
    color: #0284C7;
    background: rgba(2, 132, 199, 0.12);
    border-color: rgba(2, 132, 199, 0.28);
    transform: translateY(-2px);
}

.nav-links a[href="#contact"]:hover i {
    color: #0369A1;
    transform: scale(1.18);
}

/* Active State: jis section pe stop hoga wo link active rahega */
.nav-links a.active {
    font-weight: 800;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.nav-links a[href="#top"].active,
.nav-links a[href="#classes"].active {
    color: #047857;
    background: #D1FAE5;
    border-color: rgba(16, 185, 129, 0.55);
}

.nav-links a[href="#top"].active i,
.nav-links a[href="#classes"].active i {
    color: #059669;
    transform: scale(1.15);
}

.nav-links a[href="#about"].active {
    color: #B45309;
    background: #FEF3C7;
    border-color: rgba(245, 158, 11, 0.55);
}

.nav-links a[href="#about"].active i {
    color: #D97706;
    transform: scale(1.15);
}

.nav-links a[href="#contact"].active {
    color: #0369A1;
    background: #E0F2FE;
    border-color: rgba(2, 132, 199, 0.55);
}

.nav-links a[href="#contact"].active i {
    color: #0284C7;
    transform: scale(1.15);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 26px;
    cursor: pointer;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 12px 24px;
    border: 0;
    border-radius: 16px;
    color: var(--ink);
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
    box-shadow: 0 5px 0 #D97706;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease;
}

.button:hover {
    transform: translateY(-3px) rotate(-1deg);
}

.button:active {
    transform: translateY(3px);
    box-shadow: none;
}

.button.teal {
    color: white;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    box-shadow: 0 5px 0 #047857;
}

.button.coral {
    color: white;
    background: linear-gradient(135deg, #FFA000 0%, #F57C00 50%, #E65100 100%);
    box-shadow: 0 5px 0 #B23B00;
}

.button.small {
    min-height: 40px;
    padding: 8px 18px;
    font-size: 14px;
}

.hero {
    min-height: 650px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 5px;
    padding-block: 76px;
}

.hero-copy {
    text-align: left;
    /* above the character carousel: its slides overflow sideways and must never cover the buttons */
    position: relative;
    z-index: 10;
}

.eyebrow {
    display: inline-block;
    padding: 9px 16px;
    margin-bottom: 18px;
    border: 1px solid #f1ce62;
    border-radius: 30px;
    background: rgb(255 220 112 / 80%);
    font-weight: 800;
}

h1,
h2,
h3,
.character-name,
.subject-name {
    font-family: var(--display);
}

h1 {
    margin: 0 0 16px;
    font-size: clamp(44px, 6vw, 74px);
    line-height: 1.02;
}

h1 .title {
    color: var(--coral);
    text-shadow: 3px 3px 0 rgb(255 220 112 / 70%);
}

h1 .subtitle {
    display: block;
    margin-top: 8px;
    font-size: .57em;
}

.hero-description {
    max-width: 530px;
    margin: 0 0 18px;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.6;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(251, 191, 36, 0.6);
    color: #FFFDF0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.taglines {
    max-width: 100%;
    margin: 0 0 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.taglines .tl-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 100px;
    padding: 8px 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: all .2s ease;
}

.taglines .tl-chip:nth-child(1) i {
    color: #FBBF24;
}

.taglines .tl-chip:nth-child(2) i {
    color: #34D399;
}

.taglines .tl-chip:nth-child(3) i {
    color: #38BDF8;
}

.taglines .tl-chip:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: #FBBF24;
    transform: translateY(-2px);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* ── hero CTA button ── */
@keyframes heroPulse {
    0% {
        box-shadow: 0 6px 0 #B23B00, 0 0 0 0 rgba(245, 124, 0, 0.55);
    }

    60% {
        box-shadow: 0 6px 0 #B23B00, 0 0 0 18px rgba(245, 124, 0, 0);
    }

    100% {
        box-shadow: 0 6px 0 #B23B00, 0 0 0 0 rgba(245, 124, 0, 0);
    }
}

@keyframes heroBob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 12px 34px;
    border: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, #FFA000 0%, #F57C00 50%, #E65100 100%);
    color: #fff;
    font-family: var(--display);
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    letter-spacing: .01em;
    box-shadow: 0 6px 0 #B23B00, 0 14px 28px rgba(230, 81, 0, 0.42);
    animation: heroBob 2.8s ease-in-out infinite;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.btn-hero:hover {
    filter: brightness(1.08);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 0 #B23B00, 0 20px 36px rgba(230, 81, 0, 0.55);
}

.btn-hero:active {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #B23B00;
}

.btn-hero .arrow {
    display: inline-block;
    transition: transform .2s;
}

.btn-hero:hover .arrow {
    transform: translateX(4px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 12px 26px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.48);
    color: #ffffff;
    font-family: var(--display);
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
    transition: all .2s ease;
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: #FBBF24;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
    color: #ffffff;
}

.btn-hero-secondary:active {
    transform: translateY(2px);
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}

.hero-guarantee {
    margin: 4px 0 0;
    font-size: 13.5px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    letter-spacing: .01em;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Hero Character Swiper Slider ── */
.hero-art {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 440px;
    width: 100%;
}

.hero-art::before,
.hero-art::after {
    content: "";
    position: absolute;
    border: 2px solid rgba(251, 191, 36, 0.35);
    border-radius: 50%;
    pointer-events: none;
}

.hero-art::before {
    width: min(85%, 380px);
    aspect-ratio: 1;
    animation: orbit 24s linear infinite;
}

.hero-art::after {
    width: min(72%, 310px);
    aspect-ratio: 1;
    border: 2px dashed rgba(16, 185, 129, 0.35);
    animation: orbit 32s linear infinite reverse;
}

.char-glow-backdrop {
    position: absolute;
    width: min(90%, 380px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.35) 0%, rgba(16, 185, 129, 0.18) 45%, transparent 70%);
    filter: blur(32px);
    pointer-events: none;
    z-index: 0;
}

.char-ground-platform {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 480px;
    height: 38px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.12) 55%, transparent 75%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-char-swiper {
    width: 100%;
    max-width: 580px;
    height: 320px;
    padding: 10px 0 15px;
    overflow: visible;
    user-select: none;
    z-index: 2;
}

.hero-char-swiper .swiper-wrapper {
    align-items: flex-end;
}

.char-swiper-slide {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 290px;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
    transform-origin: bottom center;
    opacity: 1 !important;
    /* Full 100% opacity as requested */
    cursor: grab;
}

.char-swiper-slide:active {
    cursor: grabbing;
}

.char-swiper-slide img {
    width: auto;
    height: 90px;
    max-height: 90px;
    max-width: 100%;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.28));
    transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1), max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

/* Center slide: exactly 250px image */
.char-swiper-slide.swiper-slide-active {
    z-index: 10;
    opacity: 1 !important;
    transform: none;
}

.char-swiper-slide.swiper-slide-active img {
    height: 250px;
    max-height: 250px;
    filter: drop-shadow(0 20px 32px rgba(0, 0, 0, 0.46)) drop-shadow(0 0 26px rgba(251, 191, 36, 0.42));
    animation: charCenterBob 3.4s ease-in-out infinite;
}

@keyframes charCenterBob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Left and right slides: exactly 90px image, 100% opacity */
.char-swiper-slide.swiper-slide-prev,
.char-swiper-slide.swiper-slide-next {
    z-index: 5;
    opacity: 1 !important;
    /* Full 100% opacity as requested */
    transform: none;
}

.char-swiper-slide.swiper-slide-prev img,
.char-swiper-slide.swiper-slide-next img {
    height: 90px;
    max-height: 90px;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.26));
}

/* Out-of-view slides */
.char-swiper-slide:not(.swiper-slide-active):not(.swiper-slide-prev):not(.swiper-slide-next) {
    opacity: 0 !important;
    pointer-events: none;
}

.section {
    position: relative;
    padding: 88px 0;
    overflow: hidden;
}

.section.soft {
    background: #FFFFFF;
}

.section.mist {
    background: #E8F5EE;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 42px;
    text-align: center;
}

.section-heading h2 {
    margin: 0 0 10px;
    font-size: clamp(32px, 4vw, 46px);
    text-shadow: 2px 2px 0 rgb(191 218 213 / 99%);
}

.section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

/* ── journey map ── */
@keyframes jmapFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    50% {
        transform: translateY(-9px) scale(1.03);
    }
}

@keyframes jmapPulseRing {
    0% {
        box-shadow: 0 0 0 0 var(--pulse-c), 0 6px 24px var(--shadow-c);
    }

    60% {
        box-shadow: 0 0 0 16px transparent, 0 6px 24px var(--shadow-c);
    }

    100% {
        box-shadow: 0 0 0 0 transparent, 0 6px 24px var(--shadow-c);
    }
}

@keyframes jmapPopBlast {
    0% {
        transform: scale(1);
    }

    18% {
        transform: scale(1.35);
        filter: brightness(1.25);
    }

    55% {
        transform: scale(.88);
    }

    80% {
        transform: scale(1.08);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes jmapParticle {
    0% {
        transform: translate(-50%, -50%) translate(0, 0) scale(1.2);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) translate(var(--pdx), var(--pdy)) scale(0);
        opacity: 0;
    }
}

@keyframes jmapShine {
    0% {
        left: -60%;
    }

    100% {
        left: 130%;
    }
}

.jmap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.jmap-row {
    display: flex;
    align-items: center;
    width: 100%;
}

/* stop node */
.jmap-stop {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    border-radius: 50%;
    background: radial-gradient(circle at 38% 28%, var(--g1) 0%, var(--g2) 100%);
    border: 3.5px solid var(--stroke);
    --pulse-c: color-mix(in srgb, var(--stroke) 50%, transparent);
    --shadow-c: color-mix(in srgb, var(--stroke) 30%, transparent);
    box-shadow: 0 6px 24px var(--shadow-c);
    text-decoration: none;
    cursor: pointer;
    animation: jmapFloat 2.8s ease-in-out infinite, jmapPulseRing 2.4s ease-out infinite;
    will-change: transform;
    z-index: 1;
}

.jmap-stop:not(.jmap-stop--dim):hover {
    animation-play-state: paused;
    transform: scale(1.14) translateY(-5px);
    box-shadow: 0 16px 40px var(--shadow-c), 0 0 0 6px var(--pulse-c);
    filter: brightness(1.08);
    z-index: 2;
}

.jmap-stop--dim {
    opacity: .45;
    cursor: not-allowed;
    filter: grayscale(.6);
    animation: none;
}

/* inner shine sweep */
.jmap-shine {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 45%), transparent);
    transform: skewX(-20deg);
    pointer-events: none;
    animation: jmapShine 3.2s ease-in-out infinite;
}

/* colored outer ring (decorative) */
.jmap-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2.5px dashed var(--stroke);
    opacity: .35;
    pointer-events: none;
}

.jmap-dot {
    font-size: 2.1rem;
    line-height: 1;
    filter: drop-shadow(0 3px 6px rgb(0 0 0 / 18%));
    transition: transform .2s cubic-bezier(.22, 1, .36, 1);
}

.jmap-stop:not(.jmap-stop--dim):hover .jmap-dot {
    transform: scale(1.22) rotate(-8deg);
}

.jmap-label {
    font-family: var(--display);
    font-size: 11.5px;
    font-weight: 800;
    color: #1b3631;
    text-align: center;
    line-height: 1.15;
    text-transform: capitalize;
    max-width: 92px;
    word-break: break-word;
}

.jmap-age {
    font-size: 9.5px;
    font-weight: 700;
    color: #4b6563;
    letter-spacing: .02em;
}

/* step number badge */
.jmap-num {
    position: absolute;
    top: 6px;
    right: 10px;
    background: var(--stroke);
    color: #fff;
    font-size: 9px;
    font-weight: 900;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgb(0 0 0 / 20%);
}

/* connector */
.jmap-connector {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
    min-width: 12px;
    position: relative;
}

.jmap-line {
    width: 100%;
    height: 6px;
    background: repeating-linear-gradient(90deg,
            #c4b5fd 0px, #c4b5fd 8px,
            transparent 8px, transparent 16px);
    border-radius: 3px;
    opacity: .7;
}

/* footprint icon on connector */
.jmap-connector::after {
    content: '\f54b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #9333ea;
    position: absolute;
    font-size: 11px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 1px 2px rgb(0 0 0 / 15%));
}

/* U-turn connector */
.jmap-uturn {
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 2px;
}

.jmap-uturn--right {
    justify-content: flex-end;
}

.jmap-uturn--left {
    justify-content: flex-start;
}

.jmap-uturn-track {
    width: 76px;
    height: 48px;
    border: 4px dashed #c4b5fd;
    border-radius: 0 0 999px 999px / 0 0 48px 48px;
    border-top: none;
    box-sizing: border-box;
    opacity: .65;
}

/* pop blast particles */
.jmap-particle {
    position: fixed;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    animation: jmapParticle .55s cubic-bezier(.22, 1, .36, 1) forwards;
}

/* ripple */
.cls-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgb(255 255 255 / 45%);
    animation: clsRippleKf .5s ease-out forwards;
    pointer-events: none;
}

/* ── class cards (used on subject pages) ── */
@keyframes clsBounceKf {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(.92);
    }

    60% {
        transform: scale(1.07);
    }

    80% {
        transform: scale(.97);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes clsRippleKf {
    from {
        transform: scale(0);
        opacity: .35;
    }

    to {
        transform: scale(1);
        opacity: 0;
    }
}

.cls-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 28px 16px 22px;
    border-radius: 24px;
    background: linear-gradient(145deg, var(--g1), var(--g2));
    border: 2px solid transparent;
    box-shadow: 0 4px 18px rgb(0 0 0 / 6%);
    text-decoration: none;
    cursor: pointer;
    transition: transform .22s cubic-bezier(.22, 1, .36, 1),
        box-shadow .22s ease,
        border-color .18s ease;
    will-change: transform;
}

.cls-card:not(.cls-card--dim):hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 14px 36px rgb(0 0 0 / 12%);
    border-color: var(--stroke);
}

.cls-card.cls-bounce {
    animation: clsBounceKf .38s cubic-bezier(.22, 1, .36, 1) forwards;
}

.cls-card--dim {
    opacity: .55;
    cursor: not-allowed;
    filter: grayscale(.4);
}

.cls-glow {
    position: absolute;
    inset: -20%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--stroke) 0%, transparent 70%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}

.cls-card:not(.cls-card--dim):hover .cls-glow {
    opacity: .08;
}

.cls-icon {
    font-size: 3rem;
    line-height: 1;
    filter: drop-shadow(0 4px 8px rgb(0 0 0 / 15%));
    transition: transform .22s cubic-bezier(.22, 1, .36, 1);
}

.cls-card:not(.cls-card--dim):hover .cls-icon {
    transform: scale(1.18) rotate(-4deg);
}

.cls-name {
    margin: 4px 0 0;
    font-family: var(--display);
    font-size: clamp(15px, 2vw, 18px);
    font-weight: 700;
    color: #1b3631;
    text-align: center;
}

.cls-sub {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    color: #6b7280;
    text-align: center;
}

.cls-badge {
    margin-top: 8px;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 800;
    background: var(--stroke);
    color: #fff;
    opacity: .85;
    letter-spacing: .02em;
}

.cls-card--dim .cls-badge {
    background: #9ca3af;
}

.cls-ripple {
    position: absolute;
    border-radius: 50%;
    background: var(--stroke);
    pointer-events: none;
    animation: clsRippleKf .5s ease-out forwards;
}

#classGrid {
    display: flex;
    justify-content: center;
}

@media (max-width: 700px) {
    .jmap-stop {
        width: 90px;
        height: 90px;
    }

    .jmap-dot {
        font-size: 1.6rem;
    }

    .jmap-label {
        font-size: 9px;
    }

    .jmap-num {
        top: 4px;
        right: 6px;
        width: 15px;
        height: 15px;
        font-size: 7.5px;
    }

    .jmap-uturn-track {
        width: 54px;
        height: 38px;
        border-width: 3px;
    }

    .jmap-connector::after {
        font-size: 10px;
    }
}

@media (max-width: 440px) {
    .jmap-stop {
        width: 72px;
        height: 72px;
        animation: jmapFloat 2.8s ease-in-out infinite;
    }

    .jmap-dot {
        font-size: 1.25rem;
    }

    .jmap-label {
        font-size: 8px;
        max-width: 64px;
    }

    .jmap-age {
        display: none;
    }

    .jmap-ring {
        display: none;
    }

    .jmap-uturn-track {
        width: 44px;
        height: 30px;
    }
}

/* ── Testimonials Swiper ("What parents are saying") ── */
.testimonials-swiper {
    width: 100%;
    padding: 30px 12px 50px;
    overflow: hidden;
}

.testimonials-swiper .swiper-wrapper {
    align-items: stretch;
}

.testimonial-slide {
    height: auto;
    display: flex;
    box-sizing: border-box;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
    /* Left and right items are slightly smaller */
    transform: scale(0.90);
    opacity: 0.88;
    cursor: pointer;
}

.testimonial-slide .testimonial-card {
    width: 100%;
    background: #fff;
    border-radius: 24px;
    border: 1.5px solid #e2f0eb;
    padding: 22px 20px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: row;
    align-items: top;
    justify-content: space-between;
    gap: 2%;
    transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

/* Center item is slightly bigger */
.testimonial-slide.swiper-slide-active {
    transform: scale(1.06);
    opacity: 1;
    z-index: 5;
}

.testimonial-slide.swiper-slide-active .testimonial-card {
    border-color: #FBBF24;
    box-shadow: 0 16px 36px rgba(245, 158, 11, 0.16), 0 4px 16px rgba(0, 0, 0, 0.06);
}

.tcard-media {
    flex: 0 0 35%;
    width: 35%;
    max-width: 35%;
    display: flex;
    align-items: top;
    justify-content: top;
}

.tcard-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 2px solid #eef7f4;
    display: block;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .tcard-img {
    transform: scale(1.04);
}

.tcard-content {
    flex: 0 0 65%;
    width: 65%;
    max-width: 65%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.testimonials-pagination {
    margin-top: 22px;
    position: relative !important;
    bottom: 0 !important;
    text-align: center;
}

.testimonials-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: #F59E0B;
    opacity: 0.35;
    transition: all 0.25s ease;
    cursor: pointer;
}

.testimonials-pagination .swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 999px;
    background: #F59E0B;
    opacity: 1;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.tcard-stars {
    color: #f59e0b;
    font-size: 13px;
    letter-spacing: 1px;
    line-height: 1;
}

.tcard-quote {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    line-height: 1.5;
    text-align: justify;
}

.tcard-author {
    margin-top: 2px;
}

.tcard-author strong {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: #1b3631;
    line-height: 1.25;
}

.tcard-author span {
    font-size: 11px;
    color: #6b7280;
    font-weight: 600;
    display: block;
    margin-top: 2px;
    line-height: 1.3;
}

.character-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
}

.character {
    position: relative;
    min-width: 0;
    padding: 18px 12px;
    text-align: center;
    border: 3px solid var(--edge, var(--coral));
    border-radius: 22px;
    background: rgb(255 254 248 / 92%);
    box-shadow: 0 8px 24px rgb(40 50 30 / 12%);
    transition: transform .2s ease, box-shadow .2s ease;
}

.character:hover {
    transform: translateY(-8px) rotate(-1deg);
    box-shadow: 0 15px 32px rgb(40 50 30 / 19%);
}

.character img {
    width: 108px;
    height: 108px;
    margin: 0 auto 5px;
    object-fit: contain;
    filter: drop-shadow(0 6px 10px rgb(0 0 0 / 20%));
    animation: bob 2.5s ease-in-out infinite;
}

.character:nth-child(even) img {
    animation-delay: -.8s;
}

.character-name {
    margin: 0 0 4px;
    font-size: 16px;
}

.character-tagline {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.fun-fact {
    position: absolute;
    left: 50%;
    bottom: calc(100% - 4px);
    z-index: 2;
    width: max-content;
    max-width: 220px;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--ink);
    color: white;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 5px);
    transition: opacity .18s, transform .18s;
}

.character:hover .fun-fact,
.character:focus-within .fun-fact {
    opacity: 1;
    transform: translate(-50%, 0);
}

.parade {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 8px;
    margin-top: 42px;
    color: #e95f5c;
    font-family: var(--display);
}

.parade img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    animation: hop 1.2s ease-in-out infinite;
}

.parade img:nth-child(2n) {
    animation-delay: .2s;
}

.parade img:nth-child(3n) {
    animation-delay: .4s;
}

.stats {
    position: relative;
    isolation: isolate;
    color: white;
    /* Upar niche gap increase */
    padding: clamp(110px, 12vw, 160px) 0;
}

.stats::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    /* NightForest background image with gentle atmospheric overlay */
    background: linear-gradient(180deg, rgba(8, 24, 20, 0.45) 0%, rgba(10, 28, 38, 0.35) 50%, rgba(8, 24, 20, 0.55) 100%),
        url("../img/all/nightForest.jpg") top center / cover no-repeat;
}

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

.stat {
    padding: 32px 22px;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.12);
    text-align: center;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
    transition: transform .26s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .26s ease, border-color .26s ease;
}

.stat:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.stat-emoji {
    font-size: 40px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-emoji i {
    transition: transform .26s cubic-bezier(0.22, 1, 0.36, 1);
}

.stat:hover .stat-emoji i {
    transform: scale(1.22);
}

/* Multi-color icons according to brand theme */
/* 1. Happy Kids - Kangaroo Warm Sun Gold */
.stat:nth-child(1) .stat-emoji i {
    color: #FBBF24;
    filter: drop-shadow(0 4px 16px rgba(251, 191, 36, 0.55));
}

.stat:nth-child(1) {
    border-color: rgba(251, 191, 36, 0.35);
}

.stat:nth-child(1):hover {
    border-color: rgba(251, 191, 36, 0.85);
    background: rgba(251, 191, 36, 0.12);
}

/* 2. Fun Lessons - Foliage Emerald Leaf Green */
.stat:nth-child(2) .stat-emoji i {
    color: #10B981;
    filter: drop-shadow(0 4px 16px rgba(16, 185, 129, 0.55));
}

.stat:nth-child(2) {
    border-color: rgba(16, 185, 129, 0.35);
}

.stat:nth-child(2):hover {
    border-color: rgba(16, 185, 129, 0.85);
    background: rgba(16, 185, 129, 0.12);
}

/* 3. Mini Games - Azure River Sky Blue */
.stat:nth-child(3) .stat-emoji i {
    color: #38BDF8;
    filter: drop-shadow(0 4px 16px rgba(56, 189, 248, 0.55));
}

.stat:nth-child(3) {
    border-color: rgba(56, 189, 248, 0.35);
}

.stat:nth-child(3):hover {
    border-color: rgba(56, 189, 248, 0.85);
    background: rgba(56, 189, 248, 0.12);
}

/* 4. Parent Rating - Warm CTA Coral Star */
.stat:nth-child(4) .stat-emoji i {
    color: #FB923C;
    filter: drop-shadow(0 4px 16px rgba(251, 146, 60, 0.55));
}

.stat:nth-child(4) {
    border-color: rgba(251, 146, 60, 0.35);
}

.stat:nth-child(4):hover {
    border-color: rgba(251, 146, 60, 0.85);
    background: rgba(251, 146, 60, 0.12);
}

.stat-number {
    margin: 6px 0;
    color: #FFFFFF;
    font-family: var(--display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.stat-label {
    font-weight: 700;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.02em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.cta {
    text-align: center;
}

.cta-mascot {
    width: 138px;
    height: 138px;
    margin: 0 auto 15px;
    object-fit: contain;
    filter: drop-shadow(0 12px 18px rgb(0 0 0 / 28%));
    animation: bob 2.5s ease-in-out infinite;
}

.cta h2 {
    margin: 0 0 12px;
    font-size: clamp(32px, 4vw, 46px);
}

.cta p {
    max-width: 620px;
    margin: 0 auto 26px;
    color: var(--muted);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.55;
}

.cta .button-row {
    justify-content: center;
}

.site-footer {
    padding: 36px 20px;
    background: rgb(27 54 49 / 94%);
    color: rgb(255 255 255 / 76%);
    text-align: center;
}

.footer-tiger {
    width: 72px;
    height: 72px;
    margin: 0 auto 5px;
    object-fit: contain;
}

.footer-name {
    margin: 0 0 5px;
    color: white;
    font-family: var(--display);
    font-size: 22px;
}

.site-footer p:last-child {
    margin: 0;
    font-size: 13px;
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.nav-links a:focus-visible,
.button:focus-visible,
.menu-toggle:focus-visible {
    outline: 3px solid #276c63;
    outline-offset: 4px;
}

@keyframes bob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-11px);
    }
}

@keyframes hop {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-17px) rotate(-5deg);
    }
}

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

@media (max-width: 900px) {
    .hero {
        min-height: 590px;
        gap: 18px;
    }

    .character-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    body {
        padding-top: 65px;
    }

    .wrap {
        width: min(100% - 32px, 520px);
    }

    .nav {
        min-height: 62px;
    }

    .brand {
        height: 46px;
    }

    .brand img {
        height: 82px;
        border-radius: 16px;
        transform: translateY(14px);
    }

    .brand:hover img {
        transform: translateY(16px) scale(1.04);
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 12px 20px 18px;
        border-top: 1px solid #d5e7df;
        background: rgb(255 254 248 / 98%);
        box-shadow: 0 12px 22px rgb(25 45 30 / 12%);
        max-height: calc(100vh - 65px);
        overflow-y: auto;
    }

    .nav-links.open {
        display: grid;
        gap: 0;
    }

    .nav-links a {
        padding: 12px 2px;
    }

    .nav-links .button,
    .nav-links .hr-account {
        width: 100%;
        margin-top: 8px;
        justify-content: center;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 2px;
        min-height: 0;
        padding-block: 0px 44px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-copy {
        text-align: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 14px;
        margin-bottom: 12px;
        max-width: 95%;
        box-sizing: border-box;
        justify-content: center;
    }

    .hero-description {
        margin-inline: auto;
    }

    .taglines {
        justify-content: center;
        gap: 8px;
        margin: 0 auto 12px;
        max-width: 100%;
        width: 100%;
    }

    .taglines .tl-chip {
        padding: 6px 14px;
        font-size: 12px;
        white-space: normal;
        text-align: center;
    }

    .hero-cta-group {
        align-items: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        gap: 0px;
    }

    .button-row {
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 320px;
        gap: 10px;
        flex-direction: column;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .btn-hero {
        font-size: 15px;
        padding: 13px 20px;
        min-height: 50px;
        width: 100%;
        box-sizing: border-box;
    }

    .btn-hero-secondary {
        width: 100%;
        min-height: 46px;
        font-size: 14px;
        padding: 11px 18px;
        box-sizing: border-box;
    }

    .hero-guarantee {
        text-align: center;
        font-size: 11.5px;
        justify-content: center;
        margin-top: 4px;
        max-width: 100%;
        line-height: 1.45;
    }

    .hero-art {
        min-height: 260px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        margin-top: 14px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-art::before {
        width: 250px;
    }

    .hero-art::after {
        width: 210px;
    }

    .char-glow-backdrop {
        width: 250px;
    }

    .hero-char-swiper {
        width: 100%;
        max-width: 340px;
        height: 250px;
        padding: 5px 0 10px;
        overflow: visible;
    }

    .char-swiper-slide {
        height: 220px;
    }

    .char-swiper-slide img {
        height: 65px;
        max-height: 65px;
        width: auto;
    }

    .char-swiper-slide.swiper-slide-active img {
        height: 180px;
        max-height: 180px;
    }

    .char-swiper-slide.swiper-slide-prev img,
    .char-swiper-slide.swiper-slide-next img {
        height: 65px;
        max-height: 65px;
    }

    .char-ground-platform {
        width: 280px;
        height: 28px;
        bottom: 14px;
    }

    .section {
        padding: 66px 0;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .character-grid {
        gap: 12px;
    }

    .character {
        padding: 14px 7px;
        border-width: 2px;
        border-radius: 17px;
    }

    .character img {
        width: 84px;
        height: 84px;
    }

    .character-name {
        font-size: 14px;
    }

    .character-tagline {
        font-size: 11px;
    }

    .fun-fact {
        white-space: normal;
        width: 180px;
    }

    .parade {
        flex-wrap: wrap;
    }

    .parade img {
        width: 34px;
        height: 34px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .stat {
        padding: 17px 10px;
    }
}

@media (max-width: 390px) {
    .brand img {
        height: 72px;
        transform: translateY(12px);
    }

    .button-row .button {
        width: 100%;
    }

    .character-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ── Hero headline ── */
@keyframes heroSlideUp {
    from {
        opacity: 0;
        transform: translateY(28px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.hero-headline {
    margin: 0 0 22px;
    background: rgba(14, 43, 33, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 2px solid rgba(255, 255, 255, 0.22);
    border-radius: 28px;
    padding: 24px 34px 22px;
    display: inline-block;
    box-shadow: 0 20px 48px rgba(5, 25, 18, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hero-line-1 {
    display: block;
    font-family: var(--display);
    font-size: clamp(2.2rem, 4.2vw, 3.5rem);
    font-weight: 500;
    line-height: 1.18;
    white-space: nowrap;
    color: #ffffff;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.45);
    letter-spacing: -0.01em;
}

.hero-line-2 {
    display: block;
    font-family: var(--display);
    font-size: clamp(2.4rem, 4.6vw, 3.9rem);
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    color: #FBBF24;
    text-shadow: 0 3px 12px rgba(0, 0, 0, 0.75), 0 0 28px rgba(251, 191, 36, 0.6);
    letter-spacing: -0.01em;
    position: relative;
    margin-top: 4px;
}

@media (max-width: 768px) {
    .hero-headline {
        display: block;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 14px 14px 12px;
        border-radius: 20px;
        margin: 0 auto 16px;
        text-align: center;
    }

    .hero-line-1 {
        font-size: clamp(1.25rem, 5.2vw, 1.85rem);
        white-space: normal;
        line-height: 1.25;
        overflow-wrap: break-word;
    }

    .hero-line-2 {
        font-size: clamp(1.4rem, 5.8vw, 2.1rem);
        white-space: normal;
        line-height: 1.25;
        margin-top: 4px;
        overflow-wrap: break-word;
    }
}

/* ========================================================
       REDESIGNED ABOUT US SECTION
       ======================================================== */
.about-section {
    background: radial-gradient(circle at 10% 20%, rgba(236, 253, 245, 0.7) 0%, #FFFFFF 50%, rgba(254, 243, 199, 0.4) 100%);
    padding: 96px 0 100px;
    position: relative;
    overflow: hidden;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    border: 1.5px solid rgba(16, 185, 129, 0.35);
    color: #059669;
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.about-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    align-items: stretch;
    margin-bottom: 40px;
}

.about-story-col {
    width: 100%;
}

.about-story-card {
    background: #FFFFFF;
    border-radius: 28px;
    border: 1.5px solid #E2E8F0;
    padding: 38px 34px;
    box-shadow: 0 10px 32px rgba(16, 185, 129, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.about-quote-tag {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(245, 158, 11, 0.12);
    color: #D97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.about-story-card h3 {
    font-size: 24px;
    color: var(--ink);
    margin: 0 0 14px;
    font-family: var(--display);
}

.about-story-card p {
    font-size: 15.5px;
    line-height: 1.7;
    color: #4B5563;
    margin: 0 0 26px;
    font-weight: 500;
}

.about-highlights-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: auto;
}

@media (max-width: 992px) {
    .about-highlights-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .about-highlights-list {
        grid-template-columns: 1fr;
    }
}

.about-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 14px;
    background: #F9FAFB;
    border-radius: 18px;
    border: 1px solid #F3F4F6;
    transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.about-highlight-item:hover {
    transform: translateY(-4px);
    background: #FFFFFF;
    border-color: #10B981;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.08);
}

.highlight-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

.highlight-text strong {
    display: block;
    font-size: 14.5px;
    color: var(--ink);
    margin-bottom: 2px;
}

.highlight-text span {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
    display: block;
}

.about-visual-card {
    background: linear-gradient(145deg, #059669 0%, #10B981 60%, #34D399 100%);
    border-radius: 28px;
    padding: 32px 28px;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 16px 36px rgba(16, 185, 129, 0.25);
    height: 100%;
    box-sizing: border-box;
}

.visual-badge-floating {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: #1F2937;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 7px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    z-index: 4;
}

.visual-badge-floating.top-left {
    top: 22px;
    left: 22px;
}

.visual-badge-floating.bottom-right {
    top: 22px;
    right: 22px;
}

.about-character-stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 230px;
    height: 230px;
    margin-top: 125px;
    margin-bottom: 15px;
}

.stage-sunburst {
    position: absolute;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.05) 60%, transparent 80%);
    animation: rotateGlow 14s linear infinite;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.about-mascot-img {
    max-height: 350px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.32));
    position: relative;
    z-index: 2;
    animation: charCenterBob 3.2s ease-in-out infinite;
}

.about-pledge-box {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 18px 20px;
    position: relative;
    z-index: 3;
}

.pledge-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pledge-tag {
    background: #FFFFFF;
    color: #065F46;
    font-size: 12px;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.about-val-card {
    background: #FFFFFF;
    border-radius: 24px;
    border: 1.5px solid #E2E8F0;
    padding: 28px 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.about-val-card:hover {
    transform: translateY(-6px);
    border-color: #10B981;
    box-shadow: 0 16px 32px rgba(16, 185, 129, 0.12);
}

.val-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    border: 1.5px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.about-val-card h4 {
    font-size: 18px;
    color: var(--ink);
    margin: 0 0 10px;
    font-family: var(--display);
}

.about-val-card p {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

@media (max-width: 900px) {
    .about-main-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .about-values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.cf-field {
    margin-bottom: 14px;
}

.cf-label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 4px;
}

.cf-input {
    width: 100%;
    padding: 11px 14px;
    border-radius: 12px;
    border: 2px solid #d5e7df;
    font: inherit;
    outline: none;
    transition: border-color .2s;
}

.cf-input:focus {
    border-color: #0d9488;
}

.cf-input.cf-err {
    border-color: #f43f5e;
    background: #fff5f5;
}

.cf-error {
    display: none;
    color: #f43f5e;
    font-size: 11px;
    font-weight: 700;
    margin-top: 4px;
}

.cf-error.show {
    display: block;
}

.cf-counter {
    float: right;
    font-size: 10px;
    color: #9ca3af;
    font-weight: 600;
    margin-top: 3px;
}


/* ========================================================
   REDESIGNED CONTACT US SECTION
   ======================================================== */
.contact-section {
    padding: 88px 0 96px;
    position: relative;
    overflow: hidden;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: stretch;
    margin-top: 36px;
}

/* Left Column: Contact Information & Map */
.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
    height: 100%;
}

.contact-info-card {
    background: #FFFFFF;
    border-radius: 28px;
    border: 1.5px solid #E2E8F0;
    padding: 34px 30px;
    box-shadow: 0 10px 32px rgba(16, 185, 129, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.contact-org-header {
    padding-bottom: 18px;
}

.contact-org-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.contact-org-name {
    font-family: var(--display);
    font-size: 24px;
    color: var(--ink);
    margin: 0 0 4px;
}

.contact-org-tagline {
    font-size: 13.5px;
    color: #6B7280;
    margin: 0;
    font-weight: 500;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #F9FAFB;
    border: 1px solid #F3F4F6;
    transition: all 0.22s ease;
}

.contact-detail-item:hover {
    background: #F0FDF4;
    border-color: #DCFCE7;
    transform: translateX(3px);
}

.contact-detail-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-detail-content {
    flex: 1;
}

.contact-detail-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
}

.contact-detail-val {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.45;
    display: block;
}

.contact-detail-val:hover {
    color: #059669;
}

.contact-detail-sub {
    display: block;
    font-size: 12px;
    color: #6B7280;
    margin-top: 2px;
}

/* Map Card */
.contact-map-card {
    background: #FFFFFF;
    border-radius: 28px;
    border: 1.5px solid #E2E8F0;
    padding: 16px;
    box-shadow: 0 10px 32px rgba(16, 185, 129, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.contact-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px 12px;
}

.contact-map-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-map-iframe-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

.contact-map-iframe-wrap iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* Right Column: Contact Form */
.contact-form-card {
    background: #FFFFFF;
    border-radius: 28px;
    border: 1.5px solid #E2E8F0;
    padding: 36px 32px;
    box-shadow: 0 10px 32px rgba(16, 185, 129, 0.06), 0 2px 8px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.contact-form-header {
    margin-bottom: 22px;
}

.contact-form-header h3 {
    font-family: var(--display);
    font-size: 24px;
    color: var(--ink);
    margin: 0 0 6px;
}

.contact-form-header p {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
    font-weight: 500;
}

/* Contact form fields */
.cf-field {
    margin-bottom: 16px;
}

.cf-label {
    display: block;
    font-size: 12.5px;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 6px;
}

.cf-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    border: 2px solid #D5E7DF;
    font: inherit;
    font-size: 14px;
    background: #F9FAFB;
    outline: none;
    box-sizing: border-box;
    transition: all .2s ease;
}

.cf-input:focus {
    border-color: #10B981;
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.cf-input.cf-err {
    border-color: #F43F5E;
    background: #FFF5F5;
}

.cf-error {
    display: none;
    color: #F43F5E;
    font-size: 11.5px;
    font-weight: 700;
    margin-top: 4px;
}

.cf-error.show {
    display: block;
}

.cf-counter {
    float: right;
    font-size: 11px;
    color: #9CA3AF;
    font-weight: 600;
    margin-top: 4px;
}

@media (max-width: 860px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* ========================================================
   MODAL: Wizoo Parent & Family Sign-In
   ======================================================== */

html.modal-open,
body.modal-open {
    overflow: hidden !important;
    height: 100% !important;
}

.wizoo-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    background: rgba(13, 34, 27, 0.68);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 1;
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.wizoo-modal-backdrop::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.wizoo-modal-backdrop.hidden {
    display: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.wizoo-modal-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    max-height: calc(100vh - 32px);
    overflow-x: hidden;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: #FFFFFF;
    border-radius: 30px;
    padding: 32px 24px 24px;
    box-shadow: 0 25px 60px -10px rgba(10, 35, 27, 0.45), 0 0 0 1.5px rgba(16, 185, 129, 0.22);
    animation: modalPopIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    box-sizing: border-box;
    flex-shrink: 1;
    min-width: 0;
}

.wizoo-modal-card::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

@keyframes modalPopIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(18px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.wizoo-modal-card::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -70px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.25) 0%, rgba(16, 185, 129, 0.15) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.wizoo-modal-content {
    position: relative;
    z-index: 1;
}

.wizoo-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F3F4F6;
    border: 1px solid #E5E7EB;
    color: #6B7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.wizoo-modal-close:hover {
    background: #FEE2E2;
    color: #EF4444;
    border-color: #FCA5A5;
    transform: rotate(90deg) scale(1.08);
}

.wizoo-modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.wizoo-modal-avatar {
    width: 68px;
    height: 68px;
    margin: 0 auto 12px;
    border-radius: 22px;
    background: linear-gradient(135deg, #FEF3C7 0%, #D1FAE5 100%);
    border: 2.5px solid #F59E0B;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25);
    padding: 6px;
}

.wizoo-modal-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wizoo-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.wizoo-modal-title {
    font-family: var(--display);
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 6px;
    line-height: 1.2;
}

.wizoo-modal-subtitle {
    font-size: 13px;
    color: #6B7280;
    margin: 0;
    line-height: 1.45;
}

.wizoo-modal-tabs {
    display: flex;
    background: #F3F4F6;
    border-radius: 16px;
    padding: 4px;
    margin-bottom: 18px;
    gap: 4px;
}

.wizoo-modal-tab-btn {
    flex: 1;
    min-width: 0;
    padding: 10px 8px;
    border-radius: 12px;
    border: 0;
    background: transparent;
    font-family: var(--body);
    font-size: 12.5px;
    font-weight: 700;
    color: #6B7280;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.wizoo-modal-tab-btn.active {
    background: #FFFFFF;
    color: #059669;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.oauth-btn {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 16px;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    text-decoration: none;
    box-sizing: border-box;
    padding: 12px 18px;
}

.oauth-btn-google {
    background: #FFFFFF;
    border: 1.5px solid #E5E7EB;
    color: #374151;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.oauth-btn-google:hover {
    border-color: #10B981;
    background: #F9FAFB;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.14);
}

.oauth-btn-apple {
    background: #111827;
    border: 1.5px solid #111827;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.2);
}

.oauth-btn-apple:hover {
    background: #1F2937;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.32);
}

.wizoo-modal-divider {
    display: flex;
    align-items: center;
    margin: 16px 0;
    gap: 12px;
}

.wizoo-modal-divider::before,
.wizoo-modal-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #E5E7EB;
}

.wizoo-modal-divider span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #9CA3AF;
    text-transform: uppercase;
}

.btn-guest-explore {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(245, 158, 11, 0.08) 100%);
    border: 1.5px dashed rgba(16, 185, 129, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    box-sizing: border-box;
}

.btn-guest-explore:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.16) 0%, rgba(245, 158, 11, 0.14) 100%);
    border-color: #10B981;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.15);
}

.btn-guest-explore-left {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    min-width: 0;
    flex: 1;
}

.btn-guest-explore-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #FFFFFF;
    border: 1px solid rgba(16, 185, 129, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #059669;
    flex-shrink: 0;
}

.btn-guest-explore-title {
    font-size: 14px;
    font-weight: 800;
    color: #1B3631;
    line-height: 1.2;
}

.btn-guest-explore-sub {
    font-size: 11.5px;
    color: #6B7280;
    margin-top: 2px;
    white-space: normal;
    line-height: 1.3;
}

.btn-guest-explore-arrow {
    font-size: 13px;
    color: #059669;
    transition: transform 0.2s ease;
}

.btn-guest-explore:hover .btn-guest-explore-arrow {
    transform: translateX(4px);
}

.test-code-input {
    width: 100%;
    padding: 14px 16px;
    border-radius: 18px;
    border: 2px solid #A7F3D0;
    background: #F0FDF4;
    text-align: center;
    font-family: var(--display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 0.35em;
    color: #065F46;
    text-transform: uppercase;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.test-code-input:focus {
    outline: none;
    border-color: #059669;
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

.test-code-submit-btn {
    width: 100%;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 16px;
    border: 0;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    box-shadow: 0 4px 0 #047857, 0 10px 20px rgba(5, 150, 105, 0.25);
    color: #FFFFFF;
    font-family: var(--display);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.test-code-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #047857, 0 14px 26px rgba(5, 150, 105, 0.35);
}

.test-code-submit-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #047857;
}

.wizoo-modal-footer {
    text-align: center;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #F3F4F6;
}

.wizoo-modal-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #059669;
    margin-bottom: 6px;
    text-align: center;
}

.wizoo-modal-terms {
    font-size: 11px;
    color: #9CA3AF;
    margin: 0;
    line-height: 1.4;
}

.wizoo-modal-terms a {
    color: #059669;
    font-weight: 700;
    text-decoration: none;
}

/* Modal mobile responsive adaptation */
@media (max-width: 480px) {
    .wizoo-modal-backdrop {
        padding: 12px;
    }

    .wizoo-modal-card {
        padding: 24px 16px 18px;
        border-radius: 24px;
        max-width: 100%;
    }

    .wizoo-modal-avatar {
        width: 58px;
        height: 58px;
        margin-bottom: 8px;
    }

    .wizoo-modal-title {
        font-size: 20px;
    }

    .wizoo-modal-subtitle {
        font-size: 11.5px;
    }

    .wizoo-modal-tabs {
        padding: 3px;
        gap: 3px;
        margin-bottom: 12px;
    }

    .wizoo-modal-tab-btn {
        padding: 8px 4px;
        font-size: 11px;
        gap: 4px;
    }

    .oauth-btn {
        min-height: 44px;
        font-size: 13px;
        padding: 10px 12px;
    }

    .btn-guest-explore {
        padding: 10px 12px;
    }

    .btn-guest-explore-title {
        font-size: 12.5px;
    }

    .btn-guest-explore-sub {
        font-size: 10px;
    }

    .test-code-input {
        font-size: 20px;
        padding: 10px 12px;
        letter-spacing: 0.25em;
    }
}

@media (max-width: 767px) {
    #classGrid {
        display: block;
    }

    .tcard-media {
        display: block;
    }
}