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

:root {
    --primary-blue: #0A0F2C;
    --accent-yellow: #FFCF00;
    --text-dark: #1A1D2D;
    --text-medium: #505673;
    --text-light: #8E94B3;
    --bg-light: #F8F9FF;
    --white: #FFFFFF;
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Patterns --- */
.chalkboard-bg {
    background-color: var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.chalkboard-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('Background-Overlay.png');
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    opacity: 0.20;
    pointer-events: none;
    z-index: 1;
}

/* Secondary chalk overlay */
.chalkboard-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('bgoverlay4-150x150.png');
    opacity: 0.1;
    pointer-events: none;
    z-index: 2;
}

/* Ensure children are above backgrounds */
.chalkboard-bg>* {
    position: relative;
    z-index: 10;
}

/* --- Utilities --- */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-decoration: none !important;
}

.btn-yellow {
    background: linear-gradient(135deg, #FFD93D 0%, #FFCF00 100%);
    color: var(--primary-blue);
}

.btn-yellow:hover {
    transform: translateY(-5px);
    background: transparent !important;
    color: var(--accent-yellow) !important;
    border-color: var(--accent-yellow) !important;
    box-shadow: 0 10px 20px rgba(255, 207, 0, 0.2);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-blue);
}

.btn-white:hover {
    transform: translateY(-5px);
    background: transparent !important;
    color: var(--accent-yellow) !important;
    border-color: var(--accent-yellow) !important;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.section-padding {
    padding: 100px 0;
}

/* --- Header --- */
header {
    background: transparent;
    padding: 1.5rem 0;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--white);
}

.logo span {
    color: var(--accent-yellow);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--accent-yellow);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.5rem;
}

/* --- Hero --- */
.hero {
    min-height: 90vh;
    padding-top: 120px;
    padding-bottom: 0;
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: var(--accent-yellow);
}

.hero p {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.hero-visual {
    position: relative;
    max-width: 900px;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 0;
}

.hero-visual img {
    order: 3;
    width: 100%;
    max-width: 600px;
    border-bottom: none;
    display: block;
    margin: 0 auto;
}

.stat-bubble {
    order: 2;
    position: absolute;
    bottom: 20%;
    right: 5%;
    background: var(--white);
    color: var(--primary-blue);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    z-index: 10;
}

.whatsapp-float {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #25D366;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.stat-bubble h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.stat-bubble p {
    font-size: 0.9rem !important;
    margin: 0 !important;
    font-weight: 600;
    color: var(--text-medium);
}

.edge-box {
    order: 1;
    position: absolute;
    top: 10%;
    left: 0;
    background: var(--white);
    color: var(--primary-blue);
    padding: 1.5rem;
    border-radius: 12px;
    width: 200px;
    text-align: left;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.edge-box h4 {
    font-size: 1.1rem;
    font-weight: 800;
}

/* --- Parents Top Choice --- */
.top-choice {
    background-color: var(--white);
    text-align: center;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 4rem;
}

/* --- Testimonial Slider --- */
.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slider-item {
    flex: 0 0 100%;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.slider-item.active {
    display: block;
    opacity: 1;
}

.test-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(0, 0, 0, 0.03);
    opacity: 1 !important;
    transform: none !important;
}

.stars {
    color: var(--accent-yellow);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.test-content {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-style: italic;
    line-height: 1.8;
}

.test-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #DDD;
}

.author-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.quote-mark {
    font-size: 4rem;
    font-family: serif;
    color: var(--accent-yellow);
    opacity: 0.2;
    line-height: 1;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #DDD;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary-blue);
    transform: scale(1.3);
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    padding: 0 10px;
}

.slider-nav button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    pointer-events: auto;
    transition: all 0.3s;
}

.slider-nav button:hover {
    background: var(--primary-blue);
    color: var(--white);
}

@media (max-width: 768px) {
    .test-card {
        padding: 2rem;
    }

    .test-content {
        font-size: 1rem;
    }

    .slider-nav {
        display: none;
    }
}

/* --- Brighter Future --- */
.brighter-future {
    background-color: var(--white);
}

.flex-section {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.flex-content {
    flex: 1;
}

.flex-content h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.flex-content p {
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.benefit-list {
    margin-bottom: 2.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.benefit-item i {
    color: var(--accent-yellow);
}

.flex-image {
    flex: 1;
    position: relative;
}

.flex-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.growth-badge {
    position: absolute;
    bottom: 20px;
    left: -30px;
    background: var(--white);
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    font-weight: 800;
    color: var(--primary-blue);
    max-width: 200px;
}

/* --- Why Academy --- */
.why-academy {
    background-color: var(--bg-light);
}

.why-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.why-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.why-row.reverse {
    flex-direction: row-reverse;
}

.why-text {
    flex: 1;
}

.why-text .icon-circle {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.why-text h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.why-img {
    flex: 1;
}

.why-img img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
}

/* --- Results CTA --- */
.results-cta {
    text-align: center;
    color: var(--white);
    padding: 120px 0;
}

.results-cta h2 {
    font-size: 3.5rem;
    color: var(--accent-yellow);
    margin-bottom: 1.5rem;
}

.results-cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.trusted-by {
    margin-top: 3rem;
}

.trusted-by p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    margin-bottom: 1.5rem;
}

.face-pile {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.face {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #DDD;
    border: 2px solid var(--primary-blue);
}

/* --- FAQ --- */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    background: var(--bg-light);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 700;
}

.faq-question.active {
    background: var(--primary-blue);
    color: var(--white);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
    background: var(--white);
    border: 1px solid #EEE;
    border-top: none;
    border-radius: 0 0 12px 12px;
}

.faq-answer.show {
    padding: 1.5rem 2rem;
    max-height: 500px;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-brand {
    max-width: 300px;
}

.footer-nav {
    display: flex;
    gap: 6rem;
}

.footer-nav h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-nav ul li {
    margin-bottom: 0.8rem;
    opacity: 0.7;
}

/* --- Mobile Responsive --- */
@media (max-width: 992px) {
    header nav {
        padding: 0;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .flex-section {
        flex-direction: column;
        gap: 3rem;
        text-align: center;
    }

    .why-row,
    .why-row.reverse {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .why-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 3rem;
    }

    .footer-nav {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding: 100px 0 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-visual {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .stat-bubble {
        position: relative;
        margin: 1rem auto;
        width: 100%;
        max-width: 280px;
        bottom: auto;
        right: auto;
        order: 2;
    }

    .edge-box {
        position: relative;
        margin: 1rem auto;
        width: 100%;
        max-width: 280px;
        top: auto;
        left: auto;
        text-align: center;
        order: 1;
    }

    .hero-visual img {
        order: 3;
        margin-top: 2rem;
    }

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

    .test-card {
        padding: 2rem;
    }

    .results-cta h2 {
        font-size: 2.2rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    nav .btn {
        display: inline-block;
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero h1 br {
        display: none;
    }
}

/* --- WhatsApp Widget --- */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-widget:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: var(--primary-blue);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 10px 0 10px 10px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-blue);
}

.whatsapp-widget:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
    }

    .whatsapp-tooltip {
        display: none;
    }
}