:root {
    --magenta: #d4006a;
    --orange: #f07800;
    --yellow: #f5c200;
    --green: #4cae34;
    --teal: #00b4a0;
    --blue: #1a6fcb;
    --dark: #1a1a2e;
    --warm-white: #fffaf6;
    --light-gray: #f5f0eb;
    --text: #2d2020;
    --text-muted: #7a6060;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--warm-white);
    color: var(--text);
    overflow-x: hidden;
}

.g-letter {
    font-size: 96px;
    font-weight: 500;
    opacity: 0;
    transform: scale(0.3) rotate(-15deg);
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
    line-height: 1;
}

.g-letter.show {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}


/* ─── NAV ─── */

nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 250, 246, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--magenta);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    z-index: 1001;
}

.nav-logo img {
    height: 56px;
    width: 56px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--magenta);
}

.nav-cta {
    background: var(--magenta);
    color: #fff !important;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    transition: background 0.2s !important;
}

.nav-cta:hover {
    background: #a8004f !important;
}

/* ─── HAMBURGER ─── */

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 3px;
    transition: transform 0.35s ease, opacity 0.25s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}


/* ─── HERO ─── */

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 100px 4rem 4rem;
    gap: 4rem;
    background: linear-gradient(135deg, var(--warm-white) 60%, #ffe8f5 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 0, 106, 0.08) 0%, transparent 70%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: 20%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 120, 0, 0.08) 0%, transparent 70%);
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--magenta);
}

.hero-sub {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--magenta);
    color: #fff;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(212, 0, 106, 0.3);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 0, 106, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--dark);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--dark);
    transition: all 0.2s;
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--dark);
    color: #fff;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px 60px 20px 60px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--orange);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(240, 120, 0, 0.3);
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.3;
}

.hero-badge span {
    font-size: 1.6rem;
    display: block;
    font-family: 'Playfair Display', serif;
}


/* ─── RAINBOW STRIP ─── */

.rainbow-strip {
    height: 6px;
    background: linear-gradient(to right, var(--magenta), var(--orange), var(--yellow), var(--green), var(--teal), var(--blue));
}


/* ─── SECTIONS ─── */

section {
    padding: 6rem 4rem;
}

.section-tag {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--magenta);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 900;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-sub {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 580px;
}


/* ─── ABOUT ─── */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    border-radius: 40px 20px 40px 20px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
}

.about-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--yellow);
    opacity: 0.3;
    z-index: -1;
}

.about-accent2 {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--teal);
    opacity: 0.25;
    z-index: -1;
}

.grow-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.grow-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--light-gray);
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
}

.grow-letter {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    color: #fff;
    flex-shrink: 0;
}

.g-g { background: var(--magenta); }
.g-r { background: var(--orange); }
.g-o { background: var(--teal); }
.g-w { background: var(--blue); }

.grow-item p {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark);
}

.grow-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}


/* ─── STATS ─── */

.stats-section {
    background: var(--dark);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem 1rem;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--orange), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
}


/* ─── PROGRAMS ─── */

.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.program-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border-top: 4px solid;
    transition: transform 0.25s, box-shadow 0.25s;
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.program-card:nth-child(1) { border-color: var(--magenta); }
.program-card:nth-child(2) { border-color: var(--orange); }
.program-card:nth-child(3) { border-color: var(--teal); }
.program-card:nth-child(4) { border-color: var(--blue); }
.program-card:nth-child(5) { border-color: var(--green); }
.program-card:nth-child(6) { border-color: var(--yellow); }

.program-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.program-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
    color: var(--dark);
}

.program-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-muted);
}


/* ─── TESTIMONIALS ─── */

.testimonials-section {
    background: var(--light-gray);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-header .section-sub {
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    position: relative;
    transition: transform 0.25s, box-shadow 0.25s;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 5rem;
    font-family: 'Playfair Display', serif;
    color: var(--magenta);
    opacity: 0.12;
    line-height: 1;
}

.t-child-name {
    font-weight: 700;
    color: var(--magenta);
    margin-bottom: 0.3rem;
}

.t-grade {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 500;
}

.t-quote {
    font-size: 0.93rem;
    line-height: 1.7;
    color: var(--text);
    font-style: italic;
}

.t-location {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange);
}


/* ─── GALLERY ─── */

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(212, 0, 106, 0.7) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}


/* ─── LIGHTBOX ─── */

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

#lb-prev { left: 1.5rem; }
#lb-next { right: 1.5rem; }


/* ─── FOUNDER ─── */

.founder-section {
    background: #fff;
}

.founder-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 5rem;
    align-items: center;
}

.founder-photo {
    position: relative;
}

.founder-photo img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: top;
    border-radius: 30px 10px 30px 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.founder-ribbon {
    position: absolute;
    bottom: -16px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--magenta), var(--orange));
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(212, 0, 106, 0.3);
    text-align: center;
}

.founder-ribbon strong {
    display: block;
    font-size: 1.1rem;
}

.founder-ribbon span {
    font-size: 0.85rem;
    opacity: 0.9;
}

.founder-section blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--dark);
    border-left: 4px solid var(--magenta);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}


/* ─── CONTACT ─── */

.contact-section {
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: #fff;
    padding: 1.2rem 1.5rem;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

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

.ci-phone { background: rgba(212, 0, 106, 0.1); }
.ci-email { background: rgba(240, 120, 0, 0.1); }
.ci-wa    { background: rgba(76, 174, 52, 0.1); }

.contact-item h4 {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
    margin-bottom: 0.2rem;
}

.contact-item a,
.contact-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--magenta);
}


/* ─── TOGGLE PANEL ─── */

.contact-panel-wrapper {
    position: relative;
}

.contact-panel-toggle {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--magenta), var(--orange));
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'DM Sans', sans-serif;
    transition: opacity 0.2s;
}

.contact-panel-toggle:hover {
    opacity: 0.9;
}

.toggle-arrow {
    transition: transform 0.3s;
}

.toggle-arrow.open {
    transform: rotate(180deg);
}

.contact-panel {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
}

.contact-panel.open {
    max-height: 600px;
}

.contact-panel-inner {
    background: #fff;
    border-radius: 0 0 14px 14px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.donate-card {
    background: linear-gradient(135deg, var(--teal), var(--blue));
    color: #fff;
    padding: 1.5rem;
    border-radius: 12px;
}

.donate-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.donate-card p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.donate-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #25D366;
    color: #fff;
    padding: 0.7rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: opacity 0.2s;
}

.donate-wa-btn:hover {
    opacity: 0.85;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.9rem 1rem;
    border: 2px solid #e8e0d8;
    border-radius: 10px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--dark);
    transition: border-color 0.2s;
    background: var(--warm-white);
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--magenta);
}

.contact-form button {
    background: var(--magenta);
    color: #fff;
    padding: 0.9rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.2s;
}

.contact-form button:hover {
    background: #a8004f;
}


/* ─── FOOTER ─── */

footer {
    background: var(--dark);
    color: #fff;
    padding: 3rem 4rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

footer img {
    height: 45px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

footer p {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.6;
}

footer h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #fff;
}

footer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

footer ul a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

footer ul a:hover {
    color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}

.footer-rainbow {
    height: 4px;
    background: linear-gradient(to right, var(--magenta), var(--orange), var(--yellow), var(--green), var(--teal), var(--blue));
    margin-top: 2rem;
    border-radius: 2px;
}


/* ─── FLOATING ACTION BUTTON ─── */

.fab-involve {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 900;
    background: linear-gradient(135deg, var(--magenta), var(--orange));
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 30px rgba(212, 0, 106, 0.4);
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    animation: fabPop 0.5s cubic-bezier(0.22, 1, 0.36, 1) 1.2s forwards;
    transition: transform 0.25s, box-shadow 0.25s;
}

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

.fab-involve:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 14px 40px rgba(212, 0, 106, 0.5);
}


/* ─── ANIMATIONS ─── */

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ─── CURRICULUM PAGE ─── */

.curriculum-hero {
    min-height: 60vh;
    background: linear-gradient(135deg, var(--dark) 0%, #2d1b4e 100%);
    display: flex;
    align-items: center;
    padding: 120px 4rem 5rem;
    position: relative;
    overflow: hidden;
}

.curriculum-hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,0,106,0.15) 0%, transparent 70%);
}

.curriculum-hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.curriculum-hero-content .section-tag {
    color: var(--orange);
}

.curriculum-hero-content .section-title {
    color: #fff;
    font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.curriculum-hero-content .section-sub {
    color: rgba(255,255,255,0.75);
    max-width: 600px;
    margin-top: 1rem;
}

.curriculum-hero-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.ch-badge {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.curriculum-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.age-levels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.age-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.8rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-top: 4px solid var(--magenta);
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s;
}

.age-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.1);
}

.age-card:nth-child(2) { border-color: var(--orange); }
.age-card:nth-child(3) { border-color: var(--blue); }

.age-card .age-icon {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.age-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.age-card .age-range {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--magenta);
    margin-bottom: 0.8rem;
}

.age-card:nth-child(2) .age-range { color: var(--orange); }
.age-card:nth-child(3) .age-range { color: var(--blue); }

.age-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.topic-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    padding: 1rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.topic-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--magenta), var(--orange));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.topic-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.2rem;
}

.topic-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.download-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.8rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.download-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.download-card .dl-icon {
    font-size: 2rem;
}

.download-card h4 {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark);
}

.download-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
}

.dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--light-gray);
    color: var(--dark);
    padding: 0.55rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.2s, color 0.2s;
    align-self: flex-start;
    border: none;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
}

.dl-btn:hover {
    background: var(--magenta);
    color: #fff;
}

.curriculum-cta {
    background: linear-gradient(135deg, var(--dark) 0%, #2d1b4e 100%);
    color: #fff;
    text-align: center;
    padding: 6rem 4rem;
}

.curriculum-cta .section-title {
    color: #fff;
}

.curriculum-cta .section-sub {
    color: rgba(255,255,255,0.75);
    margin: 1rem auto 2.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ─── RESPONSIVE ─── */

@media (max-width: 900px) {

    nav {
        padding: 0 1.2rem;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 250, 246, 0.98);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        padding: 1.5rem 2rem 2rem;
        gap: 0.2rem;
        transform: translateY(-110%);
        transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
        border-bottom: 2px solid var(--magenta);
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-links li {
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    .nav-links li:last-child {
        border-bottom: none;
        padding-top: 0.5rem;
    }

    .nav-links a {
        display: block;
        padding: 0.85rem 0;
        font-size: 1rem;
    }

    .nav-cta {
        display: inline-block;
        margin-top: 0.25rem;
        padding: 0.7rem 1.5rem;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 100px 1.5rem 3rem;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-image {
        display: none;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }

    .about-grid,
    .founder-grid,
    .contact-grid,
    .curriculum-overview-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .programs-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .age-levels-grid {
        grid-template-columns: 1fr;
    }

    .topics-grid {
        grid-template-columns: 1fr;
    }

    .download-grid {
        grid-template-columns: 1fr 1fr;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .curriculum-hero {
        padding: 110px 1.5rem 4rem;
        min-height: auto;
    }

    .curriculum-cta {
        padding: 4rem 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    footer {
        padding: 3rem 1.5rem 2rem;
    }

    .founder-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrap img {
        height: 300px;
    }

    .founder-photo img {
        height: 320px;
    }
}

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

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    section {
        padding: 3.5rem 1.2rem;
    }

    .hero {
        padding: 95px 1.2rem 3.5rem;
    }

    .fab-involve {
        bottom: 1.2rem;
        right: 1.2rem;
        padding: 0.75rem 1.1rem;
        font-size: 0.85rem;
    }

    .curriculum-hero-badges {
        gap: 0.6rem;
    }

    .ch-badge {
        font-size: 0.78rem;
        padding: 0.4rem 0.9rem;
    }
}
