/* =========================================
   TEDDIKIDZ - Complete Stylesheet
   Matching Kidzee.com UI Design
   ========================================= */

:root {
    --purple: #6B2D8B;
    --yellow: #FFC107;
    --lavender: #F3E5F5;
    --white: #ffffff;
    --cream: #FFFDE7;
    --grey: #555555;
    --text: #2D2D2D;
    --text-muted: #555555;
    --light-bg: #F8F9FA;
    --shadow: 0 10px 30px rgba(107, 45, 139, 0.1);
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 16px;
    --border-radius: 24px;
}

/* Page Entry Animations */
body.loading {
    overflow: hidden;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

body.loaded .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-tagline {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}

body.loaded .hero-tagline {
    opacity: 1;
    transform: translateY(0);
}

.enroll-banner {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}

body.loaded .enroll-banner {
    opacity: 1;
    transform: scale(1);
}

.site-header {
    margin-top: -120px;
    transition: margin-top 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

body.loaded .site-header {
    margin-top: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800;900&display=swap');

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
html, body { font-family:'Poppins', sans-serif; color:var(--text); overflow-x:hidden; max-width: 100%; width: 100%; }
.mobile-only { display: none !important; }
.desktop-only { display: block; }
span.desktop-only { display: inline; }
span.highlight-yellow { color: var(--yellow); }
img { max-width:100%; display:block; }
a { text-decoration:none; color:inherit; transition:var(--transition); }
ul { list-style:none; }

.container { max-width:1200px; margin:0 auto; padding:0 24px; }

/* ---- BUTTONS ---- */
.btn { display:inline-flex; align-items:center; gap:10px; padding:15px 35px; border-radius:50px; font-weight:800; font-size:16px; cursor:pointer; border:none; transition:var(--transition); }
.btn-yellow { background:var(--yellow); color:var(--purple); box-shadow:0 4px 10px rgba(255, 193, 7, 0.2); }
.btn-yellow:hover { transform:translateY(-2px); box-shadow:0 6px 15px rgba(255, 193, 7, 0.3); }

/* ---- REVEAL ANIMATION ---- */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
[data-reveal].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Background Particles (Fixed) */
.particle-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}
.dot {
    position: absolute;
    width: 4px; height: 4px;
    background: var(--white);
    border-radius: 50%;
    opacity: 0.3;
}

/* ---- SECTION TITLES ---- */
.section-title { font-size:36px; font-weight:800; color:var(--purple); margin-bottom:16px; }
.section-title.center { text-align:center; }
.section-title.left { text-align:left; }
.section-title.yellow { color:var(--yellow); }
.section-subtitle { text-align:center; color:var(--text-muted); max-width:700px; margin:0 auto 50px; font-size:15px; }

/* ===================
   HEADER (Integrated)
=================== */
.site-header { position:absolute; top:0; left:0; width:100%; z-index:1000; padding:30px 0; }

.navbar-inner { display:flex; align-items:center; justify-content:space-between; max-width:1300px; margin:0 auto; padding:0 40px; }
.brand { display:flex; align-items:center; }
.header-logo { height:80px; object-fit:contain; background:var(--white); padding:5px 15px; border-radius:10px; box-shadow:0 5px 15px rgba(0,0,0,0.1); }
.hamburger { display: none; }
.main-nav-wrapper { border:1.5px solid rgba(255,255,255,0.4); border-radius:12px; padding:8px 30px; display:flex; gap:30px; background:rgba(255,255,255,0.05); backdrop-filter:blur(10px); }
.main-nav { display:flex; gap:35px; }
.main-nav a { color:var(--white); font-weight:700; font-size:16px; letter-spacing:0.5px; }
.main-nav a:hover { color:var(--yellow); text-shadow: 0 0 10px rgba(255,210,0,0.4); }

/* ===================
   HERO (Organic Blob Style)
=================== */
.hero {
    position:relative;
    min-height:90vh;
    background:var(--purple);
    display:flex;
    align-items:center;
    overflow:hidden;
    color:var(--white);
    padding:120px 0 60px;
}

.hero-bg-blobs {
    position:absolute;
    top:0; left:0; width:100%; height:100%;
    z-index:1;
}

.blob-1 { 
    position:absolute; width:100%; height:100%; 
    background: var(--purple); 
    top:0; left:0; 
}

.blob-2 { 
    position:absolute; width:70%; height:140%; 
    background:var(--yellow); 
    right:-10%; top:-20%; 
    border-radius:50% 50% 50% 50% / 40% 40% 60% 60%;
    transform: rotate(-15deg);
    z-index:2;
}

.hero-content { 
    position:relative; z-index:10; width:55%; padding-left:8%; 
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 { 
    font-size:72px; font-weight:900; line-height:1; margin-bottom:20px; 
    text-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-tagline { 
    font-size:28px; font-weight:600; margin-bottom:50px; 
    color:var(--white); opacity:1;
}

.enroll-banner {
    display:inline-flex;
    align-items:center;
    background:var(--yellow);
    color:var(--purple);
    padding:16px 50px;
    font-size:24px;
    font-weight:900;
    border-radius:15px 60px 15px 50px;
    transform:rotate(-3deg);
    cursor:pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition:var(--transition);
}
.enroll-banner:hover { transform:rotate(0deg) scale(1.08); box-shadow: 0 15px 35px rgba(0,0,0,0.3); }

.hero-right { position:relative; z-index:10; width:45%; display:flex; justify-content:center; align-items:center; }
.hero-child-frame {
    position:relative;
    width:550px; height:550px;
    border-radius:30% 70% 70% 30% / 30% 30% 70% 70%;
    box-shadow:0 40px 80px rgba(0,0,0,0.3);
    animation:blobAnimate 12s infinite ease-in-out;
    z-index:5;
}

@keyframes blobAnimate {
    0%,100% { border-radius:30% 70% 70% 30% / 30% 30% 70% 70%; }
    33% { border-radius:50% 50% 30% 70% / 50% 30% 70% 40%; }
    66% { border-radius:70% 30% 50% 50% / 30% 60% 40% 70%; }
}

.hero-child-img { 
    width:100%; height:100%; object-fit:cover; 
    border-radius: inherit;
}

.deco-plus { position:absolute; font-size:80px; color:var(--yellow); font-weight:900; bottom:10%; right:15%; opacity:0.6; z-index:11; }
.deco-squiggle { 
    position:absolute; top:15%; left:-10%; width:100px; height:100px; 
    border:10px solid rgba(255,255,255,0.2); border-radius:50%; 
    z-index:1;
}

@keyframes fadeInUp {
    from { opacity:0; transform: translateY(30px); }
    to { opacity:1; transform: translateY(0); }
}

/* ===================
   SCROLLING MARQUEE (Lavender Style)
=================== */
.marquee-wrapper {
    background: var(--yellow);
    padding: 20px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-top: 4px solid var(--purple);
    border-bottom: 4px solid var(--purple);
    transform: rotate(-2deg) scale(1.05); /* Slight tilt for that modern SaaS startup feel */
    margin-top: -30px;
    margin-bottom: 50px;
    z-index: 20;
    box-shadow: var(--shadow-soft);
}

.marquee-content {
    display: inline-block;
    animation: marquee-scroll 25s linear infinite;
}

.marquee-content span {
    font-size: 28px;
    font-weight: 900;
    color: var(--purple);
    text-transform: uppercase;
    margin: 0 40px;
    letter-spacing: 2px;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===================
   ABOUT (Organic Wavy Style)
=================== */
.about { 
    padding: 120px 0; 
    position: relative; 
    background: var(--cream); /* Right side base */
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Wavy Purple Background Blob */
.about-wave-bg {
    position: absolute;
    top: 0; left: 0; width: 46%; height: 100%;
    background: var(--purple);
    clip-path: polygon(0% 0%, 100% 0%, 80% 50%, 100% 100%, 0% 100%);
    z-index: 1;
}

.about-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 0 40px;
}

.about-purple-side { color: var(--white); z-index: 15; }
.about-cream-side { color: var(--text); z-index: 15; position: relative; }

.about-purple-side .section-title { 
    color: var(--purple); /* Rule: Red headings */
    font-size: 52px; 
    font-weight: 900; 
    margin-bottom: 50px;
    text-align: left;
}

.stat-cards-vertical {
    display: flex;
    flex-direction: column;
    gap: 25px;
    max-width: 420px;
}

.stat-card-rect {
    background: var(--white);
    padding: 25px 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    animation: bob 4s infinite ease-in-out;
}
.stat-card-rect:nth-child(2) { animation-delay: -1.5s; }
.stat-card-rect:nth-child(3) { animation-delay: -3s; }

.stat-card-rect h5 { color: var(--purple); font-size: 26px; font-weight: 800; margin-bottom: 5px; }
.stat-card-rect p { color: var(--grey); font-size: 15px; font-weight: 600; }

/* Floating Doodles */
.doodle {
    position: absolute;
    pointer-events: none;
    z-index: 5;
    animation: bob 5s infinite ease-in-out;
}

.d-balloon { top: 10%; right: 5%; font-size: 40px; color: var(--purple); }
.d-fish { bottom: 20%; right: 2%; font-size: 30px; color: var(--purple); }
.d-apple { top: 20%; left: 5%; font-size: 35px; color: var(--yellow); }
.d-spiral { bottom: 10%; left: 10%; font-size: 50px; color: var(--yellow); }
.d-circle { width: 15px; height: 15px; border: 2px solid var(--purple); border-radius: 50%; }

.about-cream-side h3 { color: var(--purple); font-size: 30px; font-weight: 900; margin-bottom: 15px; }
.about-cream-side h4 { color: var(--purple); font-size: 24px; font-weight: 800; margin: 30px 0 10px; }
.about-cream-side p { color: var(--purple); font-size: 16px; line-height: 1.8; margin-bottom: 20px; }


.about-child-bottom {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 320px;
}

.about-child-photo-contained {
    width: 100%; height: auto;
    border-radius: 25px;
    border: 8px solid var(--white);
    box-shadow: 0 15px 35px rgba(107, 45, 139, 0.2);
    object-fit: contain;
    background: var(--white);
}

.yellow-stripe {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 12px;
    background: var(--yellow);
    z-index: 20;
}

@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* ===================
   PROGRAMMES (Kidzee Scalloped Style)
=================== */
.programmes {
    padding: 100px 0;
    background-color: var(--purple);
    background-image: 
        linear-gradient(rgba(255,255,255,0.05) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 2px, transparent 2px);
    background-size: 40px 40px;
    position: relative;
    overflow: hidden;
}

.programmes .section-title { 
    color: var(--yellow); 
    text-align: center; 
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.programmes .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 10px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 10" preserveAspectRatio="none"><path d="M0,5 Q25,0 50,5 T100,5" fill="none" stroke="%23FFC107" stroke-width="2"/><circle cx="50" cy="5" r="3" fill="%23FFC107"/></svg>') no-repeat center;
    background-size: contain;
}

.prog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
}

.prog-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.prog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(107, 45, 139, 0.15);
}

.prog-img {
    height: 220px;
    position: relative;
}

.prog-img img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* Scalloped Edge Effect */
.prog-content-wrap {
    position: relative;
    padding-top: 40px;
    background: var(--white);
    margin-top: -30px; /* Overlap the image */
    border-radius: 30px 30px 0 0;
}

.prog-content-wrap::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 30px;
    background-image: radial-gradient(circle at 50% 100%, transparent 15px, white 16px);
    background-size: 40px 30px;
    background-repeat: repeat-x;
}

.prog-icon-overlap {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: var(--purple);
    border-radius: 50%;
    border: 5px solid var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 32px;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.prog-body {
    padding: 25px 20px;
    text-align: center;
    flex-grow: 1;
}

.prog-body h3 { 
    color: var(--text); 
    font-size: 20px; 
    font-weight: 800; 
    margin-bottom: 12px; 
}

.prog-body p { 
    color: var(--text-muted); 
    font-size: 14px; 
    line-height: 1.6; 
    margin-bottom: 20px;
    min-height: 60px;
}

.prog-read-more {
    color: var(--purple);
    font-weight: 700;
    font-size: 15px;
    display: inline-block;
    margin-bottom: 25px;
}

/* Split Info Box */
.prog-info-box {
    background: #f8f8f8;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 10px;
    margin: 0 15px 15px;
}

.info-item {
    padding: 12px 5px;
    border-right: 1px solid #ddd;
}
.info-item:last-child { border-right: none; }

.info-item label { 
    display: block; 
    font-size: 11px; 
    color: var(--text-muted); 
    font-weight: 600; 
    margin-bottom: 4px;
}

.info-item span { 
    font-size: 13px; 
    font-weight: 700; 
    color: var(--text); 
}

.prog-footer-note {
    font-size: 11px;
    color: #999;
    padding-bottom: 20px;
    font-style: italic;
}

/* ===================
   PEDAGOGY (Mockup Full Layout)
=================== */
.pedagogy-full-layout {
    padding: 80px 0 100px;
    background: var(--cream);
    color: var(--purple);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.pedagogy-wave-bg-full {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 350px;
    background: var(--purple);
    clip-path: polygon(0% 0%, 100% 0%, 100% 15%, 65% 35%, 35% 15%, 0% 45%);
    z-index: 1;
}

.pedagogy-full-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}


.pedagogy-header {
    text-align: center;
    margin-bottom: 60px;
    margin-top: 20px;
}

.pedagogy-header .mockup-title { 
    font-size: 64px; 
    font-weight: 900; 
    color: var(--purple); 
    margin-bottom: 15px; 
}

.pedagogy-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.pedagogy-grid-full {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.mind-col-full {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.left-col { align-items: flex-end; text-align: left; }
.right-col { align-items: flex-start; text-align: left; }

.mind-label-full {
    position: relative;
    animation: bob 6s infinite ease-in-out;
    width: 250px;
}

.left-col .mind-label-full { text-align: left; }

.mind-label-full strong { display: block; font-size: 22px; font-weight: 900; color: var(--purple); margin-bottom: 5px; }
.mind-label-full span { font-size: 14px; color: var(--text-muted); font-weight: 600; }

.mind-line-full {
    position: absolute;
    height: 1px;
    background: var(--yellow);
    width: 60px;
    top: 50%;
}
.left-col .mind-line-full { right: -80px; }
.right-col .mind-line-full { left: -80px; }

.brain-graphic-full {
    flex: 0 0 450px;
    height: 450px;
    position: relative;
    animation: pulse 4s infinite ease-in-out;
}

.brain-svg-full { width: 100%; height: 100%; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15)); }

.equals-sign {
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #888;
    font-weight: bold;
}
.minus-sign {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #888;
    font-weight: bold;
}

.pedagogy-footer-full {
    text-align: center;
    margin-top: 50px;
}

.btn-yellow-pill {
    background: var(--yellow);
    color: #1A1A1A;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 20px;
    display: inline-block;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
}

.btn-yellow-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(255, 193, 7, 0.4);
}

/* Floating Doodles Positioned Like Mockup Image */
.doodle { position: absolute; pointer-events: none; z-index: 5; animation: bob 5s infinite ease-in-out; }
.d-apple-full { bottom: 15%; left: 8%; color: var(--yellow); font-size: 40px; }
.d-fish-full { top: 5%; right: 4%; color: var(--purple); font-size: 45px; }
.d-spiral-full { bottom: 10%; right: 15%; color: var(--purple); font-size: 50px; opacity: 0.5; }

.d-sunburst { top: 30%; right: 18%; font-size: 30px; font-weight: 900; color: var(--purple); letter-spacing: 2px; }
.d-circle-accent { top: 22%; right: 12%; font-size: 24px; font-weight: 900; color: var(--purple); }
.d-infinity { top: 55%; right: 8%; font-size: 45px; color: var(--purple); transform: rotate(-30deg); }


/* ===================
   WHY CHOOSE US (Kidzee Path Style)
=================== */
.whyus {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.whyus-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    object-fit: cover;
}

.whyus-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(107, 45, 139, 0.75); /* Low intensity purple shade overlay */
    z-index: 1;
}

.whyus .container { position: relative; z-index: 10; }

.whyus .section-title { color: var(--yellow); margin-bottom: 20px; }
.whyus .section-subtitle { color: var(--white); margin-bottom: 80px; font-size: 16px; max-width: 900px; margin-left: auto; margin-right: auto; text-align: center; }

.why-path-container {
    position: relative;
    max-width: 1200px;
    margin: 40px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 24px 80px;
}


.why-svg-path {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 350px;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
}

.why-item {
    position: relative;
    z-index: 5;
    width: 220px;
    text-align: center;
}

.why-shape-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 25px;
    position: relative;
}

.why-img-container {
    width: 100%; height: 100%;
    background: var(--white);
    padding: 10px;
    box-shadow: 0 10px 25px rgba(107, 45, 139, 0.15);
    overflow: hidden;
}

.why-img-container img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* Specific Shapes */
.shape-tilted-1 { transform: rotate(-8deg); border: 3px dashed var(--purple); }
.shape-circle { border-radius: 50%; border: 4px dashed var(--yellow); }
.shape-circle img { border-radius: 50%; }
.shape-tilted-2 { transform: rotate(8deg); border: 3px dashed var(--purple); }
.shape-triangle { 
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    border: none;
}
.triangle-border {
    position: absolute;
    top: -5px; left: -5px;
    width: 210px; height: 210px;
    background: transparent;
    border: 4px dashed var(--yellow);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    z-index: -1;
}

.why-item h4 { color: var(--yellow); font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.why-item p { color: var(--white); font-size: 14px; line-height: 1.6; }

/* Decorative Icons */
.why-deco {
    position: absolute;
    color: var(--purple);
    font-size: 28px;
    opacity: 0.5;
    z-index: 2;
}
.deco-star { top: -20px; left: 0; }
.deco-flower { bottom: -20px; right: 0; }
.deco-plane { top: 40px; left: 50%; font-size: 36px; }
.deco-cherries { bottom: 20px; right: 25%; }



/* ===================
   FAQs
=================== */
.faqs { padding:90px 0; background:var(--purple); }
.faqs .section-title { color: var(--yellow); }
.faq-list { max-width:820px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.faq-item { border-radius:12px; overflow:hidden; box-shadow:0 10px 30px rgba(0,0,0,0.15); }
.faq-q {
    width:100%; background:var(--white); color:var(--purple);
    border:none; padding:18px 24px; font-size:15px; font-weight:600;
    display:flex; justify-content:space-between; align-items:center;
    cursor:pointer; text-align:left; font-family:'Poppins',sans-serif;
    transition:var(--transition);
}
.faq-q:hover { background:var(--yellow); color:var(--purple); }
.faq-q i { transition:var(--transition); flex-shrink:0; margin-left:10px; }
.faq-item.open .faq-q i { transform:rotate(180deg); }
.faq-a { background:var(--light-bg); max-height:0; overflow:hidden; transition:max-height 0.4s ease, padding 0.3s ease; padding:0 24px; }
.faq-item.open .faq-a { max-height:200px; padding:18px 24px; }
.faq-a p { color:var(--text-muted); font-size:15px; line-height:1.7; }

/* ===================
   BLOGS
=================== */
.blogs { padding:80px 0; background:var(--purple); }
.blogs .section-title { color: var(--yellow); margin-bottom: 40px; }
.blog-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:24px; margin-top:20px; }
.blog-card { background:var(--white); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow); transition:var(--transition); opacity:0; transform:translateY(30px); }
.blog-card.visible { opacity:1; transform:translateY(0); }
.blog-card:hover { transform:translateY(-8px); }
.blog-thumb { height:200px; overflow:hidden; }
.blog-thumb img { width:100%; height:100%; object-fit:cover; transition:var(--transition); }
.blog-card:hover .blog-thumb img { transform:scale(1.05); }
.blog-body { padding:22px; }
.blog-date { font-size:12px; color:#aaa; display:block; margin-bottom:8px; }
.blog-body h4 { color:var(--purple); font-size:17px; font-weight:700; margin-bottom:8px; }
.blog-body p { color:var(--text-muted); font-size:14px; }

/* ===================
   TESTIMONIALS
=================== */
.testimonials { background:var(--purple); padding:90px 0; text-align:center; }
.testi-box { max-width:860px; margin:40px auto 0; }
.testi-quote { font-size:18px; color:var(--white); font-style:italic; line-height:1.8; margin-bottom:24px; }
.testi-stars { color:var(--yellow); font-size:22px; margin-bottom:14px; letter-spacing:3px; }
.testi-author { color:var(--yellow); font-weight:700; font-size:17px; }

/* ===================
   FOOTER
=================== */
.site-footer { background:#fffcf0; padding:70px 0 0; }
.footer-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr 1.4fr; gap:40px; padding-bottom:50px; }
.footer-logo { height:100px; object-fit:contain; margin-bottom:20px; background:var(--white); padding:10px; border-radius:10px; }
.f-company { font-weight:700; color:var(--purple); margin-bottom:6px; }
.f-col p { color:var(--text-muted); font-size:14px; line-height:1.7; }
.f-col h4 { color:var(--purple); font-size:16px; font-weight:700; margin-bottom:18px; }
.f-col ul li { margin-bottom:10px; }
.f-col ul li a { color:var(--text-muted); font-size:14px; }
.f-col ul li a:hover { color:var(--purple); }
.f-contact p { color:var(--text-muted); font-size:14px; display:flex; align-items:center; gap:10px; margin-bottom:12px; }
.f-contact p i { color:var(--purple); width:16px; }
.footer-socials { display:flex; gap:12px; margin-top:16px; }
.footer-socials a { width:38px; height:38px; background:var(--purple); color:var(--white); border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:15px; }
.footer-socials a:hover { background:var(--red-dark); transform:translateY(-2px); }
.footer-bottom { border-top:1px solid #f5e6cc; padding:20px 0; text-align:center; font-size:13px; color:var(--text-muted); }

/* ===================
   WHATSAPP FAB
=================== */
.whatsapp-fab {
    position:fixed; bottom:28px; right:28px;
    background:#25D366; color:var(--white);
    width:58px; height:58px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-size:28px; box-shadow:0 6px 20px rgba(0,0,0,0.2);
    z-index:9999; transition:var(--transition);
}
.whatsapp-fab:hover { transform:scale(1.1); background:#1fb855; }

/* ===================
   RESPONSIVE
=================== */
/* ===================
   STRICT MOBILE RESPONSIVENESS (max-width: 768px)
=================== */
@media (max-width: 768px) {
    /* GENERAL RULES */
    html, body { overflow-x: hidden; max-width: 100%; position: relative; }
    h1, h2, .section-title { font-size: 2rem !important; line-height: 1.3 !important; margin-bottom: 25px; }
    p, .section-subtitle { font-size: 1rem !important; line-height: 1.6 !important; }
    
    /* NAVBAR FIXES */
    .site-header { padding: 10px 0; background: var(--purple); position: sticky; top: 0; box-shadow: 0 4px 15px rgba(0,0,0,0.15); z-index: 1000; }
    .navbar-inner { padding: 0 20px; }
    .header-logo { height: 35px; padding: 4px 8px; border-radius: 6px; width: auto !important; }
    .hamburger { display: block !important; color: var(--white); background: none; border: none; font-size: 22px; cursor: pointer; padding: 5px; position: relative; z-index: 1000; }
    
    .main-nav-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%; 
        height: 100vh;
        background: linear-gradient(135deg, rgba(81, 34, 105, 0.98) 0%, rgba(41, 13, 56, 0.99) 100%);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 999;
        box-shadow: none;
        border: none;
        
        opacity: 0;
        visibility: hidden;
        transform: scale(0.95);
        transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                    visibility 0.4s;
    }
    .main-nav-wrapper::before {
        content: '';
        position: absolute;
        width: 250px;
        height: 250px;
        background: radial-gradient(circle, rgba(255, 193, 7, 0.15) 0%, transparent 70%);
        top: 10%;
        left: 10%;
        pointer-events: none;
    }
    .main-nav-wrapper::after {
        content: '';
        position: absolute;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
        bottom: 10%;
        right: 10%;
        pointer-events: none;
    }
    .main-nav-wrapper.open { 
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }
    .main-nav { 
        display: flex;
        flex-direction: column; 
        gap: 25px; 
        text-align: center; 
        padding: 0;
        margin: 0;
        position: relative;
        z-index: 2;
    }
    .main-nav li {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }
    .main-nav-wrapper.open .main-nav li {
        opacity: 1;
        transform: translateY(0);
    }
    .main-nav-wrapper.open .main-nav li:nth-child(1) { transition-delay: 0.1s; }
    .main-nav-wrapper.open .main-nav li:nth-child(2) { transition-delay: 0.15s; }
    .main-nav-wrapper.open .main-nav li:nth-child(3) { transition-delay: 0.2s; }
    .main-nav-wrapper.open .main-nav li:nth-child(4) { transition-delay: 0.25s; }
    .main-nav-wrapper.open .main-nav li:nth-child(5) { transition-delay: 0.3s; }
    .main-nav-wrapper.open .main-nav li:nth-child(6) { transition-delay: 0.35s; }

    .main-nav li a { 
        font-family: 'Outfit', sans-serif;
        font-size: 26px; 
        color: var(--white) !important; 
        font-weight: 800; 
        padding: 8px 20px; 
        display: inline-block; 
        text-transform: uppercase; 
        letter-spacing: 2px;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
    }
    .main-nav li a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 3px;
        background: var(--yellow);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }
    .main-nav li a:hover {
        color: var(--yellow) !important;
        transform: scale(1.08);
    }
    .main-nav li a:hover::after {
        width: 60%;
    }
    
    /* MARQUEE */
    .marquee-wrapper { margin-top: -15px; margin-bottom: 30px; padding: 12px 0; }
    .marquee-content span { font-size: 16px; margin: 0 15px; }
    
    .mobile-only { display: block !important; }
    span.mobile-only { display: inline !important; }
    i.mobile-only { display: inline-block !important; }
    .desktop-only { display: none !important; }
    
    /* HERO FIX */
    .hero { 
        flex-direction: column !important; 
        text-align: left !important; 
        padding: 0 !important; 
        min-height: auto; 
        gap: 0 !important; 
        background: var(--yellow) !important;
        position: relative;
        overflow: hidden !important;
    }
    .blob-1 { 
        position: absolute !important;
        background: var(--purple) !important; 
        width: 150vw !important; 
        height: 68% !important; 
        top: -10vh !important; 
        left: -35vw !important; 
        border-radius: 0 0 50% 40% / 0 0 75% 50% !important;
        z-index: 1 !important;
        transform: rotate(-8deg) !important;
        display: block !important;
    }
    .blob-2 { 
        display: none !important; 
    }
    
    .deco-airplane {
        position: absolute;
        top: 6%;
        right: 8%;
        font-size: 32px;
        color: rgba(107, 45, 139, 0.25) !important;
        z-index: 10;
        transform: rotate(15deg);
        display: block !important;
    }
    .deco-star {
        position: absolute;
        top: 38%;
        right: 12%;
        font-size: 26px;
        color: rgba(255, 255, 255, 0.2) !important;
        z-index: 10;
        transform: rotate(20deg);
        display: block !important;
    }
    .deco-dots {
        position: absolute;
        top: 42%;
        left: 4%;
        width: 40px;
        height: 70px;
        background-image: radial-gradient(rgba(255, 255, 255, 0.15) 20%, transparent 20%);
        background-size: 12px 12px;
        z-index: 10;
        display: block !important;
    }
    
    .hero-content { 
        width: 100%; 
        padding: 120px 24px 20px !important; 
        background: transparent !important;
        text-align: left !important;
        position: relative;
        z-index: 10;
    }
    .hero-content::after {
        display: none !important;
    }
    
    .hero-content h1 { 
        font-family: 'Outfit', sans-serif;
        font-size: 2.6rem !important; 
        font-weight: 800;
        margin-bottom: 5px; 
        text-shadow: 0 2px 10px rgba(0,0,0,0.15); 
        line-height: 1.25 !important; 
        color: var(--white);
        text-align: left !important;
    }
    
    .hero-divider-mobile {
        display: flex !important;
        align-items: center;
        justify-content: flex-start !important;
        gap: 10px;
        margin: 15px 0 20px !important;
    }
    .hero-divider-mobile .divider-line {
        width: 85px;
        height: 4px;
        background: var(--yellow);
        border-radius: 2px;
    }
    .hero-divider-mobile .divider-heart {
        color: var(--yellow);
        font-size: 18px;
    }
    
    .hero-tagline { 
        font-size: 1.25rem !important; 
        line-height: 1.5 !important;
        margin-bottom: 30px; 
        font-weight: 500; 
        color: rgba(255, 255, 255, 0.95);
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: left !important;
    }
    
    .hero-right { 
        width: 100%; 
        padding: 40px 24px 60px !important; 
        background: transparent !important;
        z-index: 5;
        position: relative;
    }
    .hero-child-frame { 
        width: 100%; 
        height: auto; 
        aspect-ratio: 1/1; 
        max-width: 290px; 
        margin: 0 auto; 
        box-shadow: 0 15px 35px rgba(107, 45, 139, 0.25) !important; 
        border: 8px solid var(--white) !important; 
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70% !important;
        overflow: visible !important;
        position: relative;
    }
    .hero-child-img {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70% !important;
    }
    
    .hero-badge {
        position: absolute;
        bottom: -5px;
        left: -15px;
        background: var(--white);
        border-radius: 18px;
        padding: 10px 16px;
        display: flex !important;
        align-items: center;
        gap: 10px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.12);
        z-index: 12;
        max-width: 220px;
        text-align: left;
        border: 1px solid rgba(107, 45, 139, 0.08);
    }
    .hero-badge .badge-icon {
        width: 38px;
        height: 38px;
        background: var(--purple);
        color: var(--white);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        flex-shrink: 0;
    }
    .hero-badge .badge-text {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }
    .hero-badge .badge-text span {
        font-size: 11px;
        color: var(--text-muted);
        font-weight: 500;
    }
    .hero-badge .badge-text strong {
        font-size: 13px;
        color: var(--purple);
        font-weight: 700;
    }
    
    .enroll-banner.mobile-only { 
        font-size: 1.15rem; 
        padding: 14px 38px; 
        border-radius: 50px; 
        box-shadow: 0 8px 20px rgba(0,0,0,0.25); 
        transform: none !important; 
        opacity: 1 !important;
        display: inline-flex !important; 
        width: auto; 
        margin: 20px 0 0 24px !important; 
        align-self: flex-start !important;
        border: 2px solid var(--white);
        background: var(--yellow);
        color: var(--purple);
        z-index: 12;
        position: relative;
    }
    .enroll-banner.mobile-only:hover {
        transform: scale(1.05) !important;
    }
    
    /* ABOUT FIX */
    .about { padding: 70px 20px !important; flex-direction: column; background: var(--cream); }
    .about-wave-bg, .doodle { display: none !important; }
    .about-container { grid-template-columns: 1fr; gap: 40px; padding: 0; }
    .about-purple-side { text-align: center; }
    .about-purple-side .section-title { font-size: 2.4rem !important; margin-bottom: 30px; text-align: center; }
    .stat-cards-vertical { flex-direction: column; gap: 15px; width: 100%; max-width: 350px; margin: 0 auto; }
    .stat-card-rect { width: 100%; padding: 20px; border-radius: 16px; }
    .stat-card-rect h5 { font-size: 22px; }
    .about-cream-side { text-align: center; }
    .about-cream-side h3 { font-size: 22px; }
    .about-child-bottom { position: relative !important; width: 100%; max-width: 320px; margin: 40px auto 0; order: -1; bottom: auto; right: auto; }
    
    /* PROGRAMMES */
    .programmes { padding: 70px 20px !important; }
    .prog-grid { grid-template-columns: 1fr !important; padding: 0; gap: 30px; }
    .programmes .section-title { font-size: 2.4rem !important; margin-bottom: 50px; }
    .prog-card { border-radius: 20px; }
    .prog-body p { min-height: auto; margin-bottom: 15px; }
    
    /* PENTEMIND */
    .pedagogy-full-layout { padding: 70px 20px !important; }
    .pedagogy-header .mockup-title { font-size: 2.2rem !important; margin-bottom: 15px; }
    .pedagogy-grid-full { flex-direction: column; gap: 40px; }
    .brain-graphic-full { order: -1; flex: 0 0 auto; height: auto; padding: 0; margin: 0 auto; width: 100%; max-width: 250px; }
    .mind-col-full { gap: 20px; width: 100%; }
    .mind-label-full { width: 100%; text-align: center !important; background: var(--white); padding: 15px; border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
    .left-col .mind-label-full { text-align: center; }
    .mind-line-full, .equals-sign, .minus-sign, .doodle, .pedagogy-wave-bg-full { display: none; }
    
    /* WHY CHOOSE US */
    .whyus { padding: 70px 20px !important; }
    .why-path-container { flex-direction: column !important; gap: 40px; padding: 0; margin-top: 30px; }
    .why-item { width: 100% !important; max-width: 320px; margin: 0 auto; }
    .why-img-container { width: 160px; height: 160px; }
    .why-shape-wrapper { width: 160px; height: 160px; margin-bottom: 20px; }
    .triangle-border { width: 170px; height: 170px; }
    .whyus-bg-video { display: none; }
    .whyus-bg-overlay { background: var(--purple); opacity: 0.95; }

    
    /* FAQs & BLOGS & TESTIMONIALS */
    .faqs { padding: 70px 20px !important; }
    .blogs { padding: 70px 20px !important; }
    .testimonials { padding: 70px 20px !important; }
    .testi-quote { font-size: 16px; margin-bottom: 20px; }
    .testi-stars { font-size: 18px; margin-bottom: 10px; }
    
    /* FOOTER */
    .site-footer { padding: 60px 20px 0 !important; }
    .footer-grid { grid-template-columns: 1fr !important; gap: 30px; text-align: center; }
    .footer-logo { margin: 0 auto 15px; }
    .f-contact p { justify-content: center; }
    .footer-socials { justify-content: center; }
    
    /* FAB */
    /* FAB */
    .whatsapp-fab { width: 50px; height: 50px; font-size: 24px; bottom: 20px; right: 20px; }
}

/* BLOG MODAL */
.blog-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}
.blog-modal-content {
    background-color: var(--white);
    margin: 5% auto;
    width: 90%;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    animation: modalFadeIn 0.3s ease-out;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
.close-blog-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--white);
    background: rgba(0,0,0,0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}
.close-blog-modal:hover {
    background: var(--purple);
}
.blog-modal-header img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}
.blog-modal-body {
    padding: 40px;
}
.blog-modal-body p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}
