:root {
    --primary: #FF6B6B;
    --secondary: #4ECDC4;
    --accent: #FFE66D;
    --purple: #A78BFA;
    --dark: #2D3142;
    --light: #FFF9F0;
    --soft-pink: #FFE0E0;
    --soft-blue: #E0F4F3;
}

* { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .display-1, .display-2, .display-3, .display-4, .display-5 {
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
}

/* ---------- NAVBAR ---------- */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 0.8rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Baloo 2', cursive;
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--dark) !important;
}

.navbar-brand .star-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), #FF8E8E);
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(255,107,107,0.4);
}

.navbar-brand span.text-brand {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 600;
    color: var(--dark) !important;
    margin: 0 0.4rem;
    position: relative;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover { color: var(--primary) !important; }
.nav-link:hover::after { width: 70%; }

.btn-enroll {
    background: linear-gradient(135deg, var(--primary), #FF8E8E);
    color: white;
    font-weight: 700;
    border-radius: 50px;
    padding: 0.6rem 1.6rem;
    border: none;
    box-shadow: 0 6px 18px rgba(255,107,107,0.35);
    transition: all 0.3s ease;
}

.btn-enroll:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(255,107,107,0.5);
    color: white;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(160deg, #FFF9F0 0%, #FFE9E9 50%, #E0F4F3 100%);
    overflow: hidden;
}

.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    z-index: 0;
}

.hero::before {
    width: 400px; height: 400px;
    background: var(--accent);
    top: -100px; right: -100px;
}

.hero::after {
    width: 350px; height: 350px;
    background: var(--secondary);
    bottom: -120px; left: -100px;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--primary);
    font-weight: 700;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    line-height: 1.15;
    margin-bottom: 1.3rem;
    font-weight: 800;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p.lead {
    font-size: 1.15rem;
    color: #5A5F73;
    max-width: 540px;
    margin-bottom: 2rem;
    font-weight: 400;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--primary), #FF8E8E);
    color: white;
    font-weight: 700;
    border-radius: 50px;
    padding: 0.9rem 2.2rem;
    border: none;
    box-shadow: 0 8px 22px rgba(255,107,107,0.4);
    transition: all 0.3s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(255,107,107,0.55);
    color: white;
}

.btn-hero-outline {
    background: white;
    color: var(--dark);
    font-weight: 700;
    border-radius: 50px;
    padding: 0.9rem 2.2rem;
    border: 2px solid #EDEDED;
    transition: all 0.3s ease;
}

.btn-hero-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(78,205,196,0.25);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.8rem;
    flex-wrap: wrap;
}

.hero-stat h3 {
    font-size: 2rem;
    margin-bottom: 0;
    color: var(--dark);
}

.hero-stat p {
    font-size: 0.9rem;
    color: #7A7F93;
    margin-bottom: 0;
    font-weight: 600;
}

/* Hero illustration */
.hero-illustration {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--accent), #FFF3B0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 60px rgba(255, 214, 109, 0.4);
    animation: float 6s ease-in-out infinite;
}

.hero-circle svg { width: 62%; height: 62%; }

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

.floating-badge {
    position: absolute;
    background: white;
    border-radius: 20px;
    padding: 0.8rem 1.2rem;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 3;
}

.floating-badge i {
    font-size: 1.4rem;
}

.badge-1 {
    top: 8%; right: 0;
    animation: float 5s ease-in-out infinite;
}
.badge-1 i { color: var(--primary); }

.badge-2 {
    bottom: 12%; left: 0;
    animation: float 5s ease-in-out infinite 1s;
}
.badge-2 i { color: var(--secondary); }

.badge-3 {
    bottom: 40%; right: -4%;
    animation: float 5s ease-in-out infinite 2s;
}
.badge-3 i { color: var(--purple); }

/* ---------- SECTION TITLES ---------- */
.section-title { margin-bottom: 3rem; }

.section-title .tag {
    display: inline-block;
    background: var(--soft-pink);
    color: var(--primary);
    font-weight: 700;
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-title p {
    color: #7A7F93;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ---------- FEATURES ---------- */
.features { padding: 90px 0; }

.feature-card {
    background: white;
    border-radius: 28px;
    padding: 2.5rem 2rem;
    height: 100%;
    border: 2px solid transparent;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 6px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    border-radius: 0 0 6px 6px;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 22px 45px rgba(0,0,0,0.10);
    border-color: #F5F5F5;
}

.feature-card:hover::after { transform: scaleX(1); }

.feature-card.c1::after { background: var(--primary); }
.feature-card.c2::after { background: var(--secondary); }
.feature-card.c3::after { background: var(--purple); }
.feature-card.c4::after { background: #FFB347; }

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    margin-bottom: 1.5rem;
    transition: transform 0.35s ease;
}

.feature-card:hover .feature-icon { transform: rotate(-8deg) scale(1.08); }

.ic-pink { background: var(--soft-pink); color: var(--primary); }
.ic-teal { background: var(--soft-blue); color: var(--secondary); }
.ic-purple { background: #EEE8FF; color: var(--purple); }
.ic-orange { background: #FFF1DC; color: #FFB347; }

.feature-card h4 { font-size: 1.35rem; margin-bottom: 0.8rem; }
.feature-card p { color: #7A7F93; margin-bottom: 0; font-size: 0.98rem; }

/* ---------- PROGRAMS ---------- */
.programs {
    padding: 90px 0;
    background: linear-gradient(180deg, #FFF9F0 0%, #FFF4F4 100%);
}

.program-card {
    background: white;
    border-radius: 30px;
    overflow: hidden;
    height: 100%;
    transition: all 0.35s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.program-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.14);
}

.program-head {
    padding: 2.2rem 2rem 1.8rem;
    text-align: center;
    position: relative;
}

.program-head.p1 { background: linear-gradient(135deg, #FFE0E0, #FFC9C9); }
.program-head.p2 { background: linear-gradient(135deg, #E0F4F3, #B8EAE5); }
.program-head.p3 { background: linear-gradient(135deg, #EEE8FF, #DCD0FF); }

.program-age {
    display: inline-block;
    background: white;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    color: var(--dark);
}

.program-head i {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.8rem;
}

.p1 i { color: var(--primary); }
.p2 i { color: var(--secondary); }
.p3 i { color: var(--purple); }

.program-head h4 { margin-bottom: 0; font-size: 1.5rem; }

.program-body { padding: 2rem; }

.program-body p { color: #7A7F93; font-size: 0.97rem; }

.program-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0 0;
}

.program-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #4A4F63;
}

.program-list li i {
    color: var(--secondary);
    font-size: 1rem;
    margin-top: 3px;
}

/* ---------- ABOUT ---------- */
.about { padding: 90px 0; }

.about-img-wrap {
    position: relative;
    border-radius: 35px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.14);
}

.about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-exp {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: white;
    border-radius: 22px;
    padding: 1.2rem 1.6rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    text-align: center;
}

.about-exp h3 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0;
    line-height: 1;
}

.about-exp p {
    margin-bottom: 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: #7A7F93;
}

.about-list { list-style: none; padding: 0; margin: 2rem 0; }

.about-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 1.4rem;
    align-items: flex-start;
}

.about-list li .tick {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: var(--soft-blue);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.about-list li h6 {
    font-family: 'Baloo 2', cursive;
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.about-list li p {
    margin-bottom: 0;
    color: #7A7F93;
    font-size: 0.95rem;
}

/* ---------- TEACHERS ---------- */
.teachers {
    padding: 90px 0;
    background: linear-gradient(180deg, #FFF4F4 0%, #F3FFFE 100%);
}

.teacher-card {
    background: white;
    border-radius: 28px;
    padding: 2rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: all 0.35s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.teacher-avatar {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    border: 5px solid white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.ta-1 { background: linear-gradient(135deg, #FF6B6B, #FF9F9F); }
.ta-2 { background: linear-gradient(135deg, #4ECDC4, #7FE3DC); }
.ta-3 { background: linear-gradient(135deg, #A78BFA, #C4B1FF); }
.ta-4 { background: linear-gradient(135deg, #FFB347, #FFD08A); }

.teacher-card h5 { font-size: 1.2rem; margin-bottom: 0.2rem; }

.teacher-card .role {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.9rem;
}

.teacher-card p.bio {
    font-size: 0.9rem;
    color: #7A7F93;
    margin-bottom: 1.2rem;
}

.teacher-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F5F5F7;
    color: var(--dark);
    margin: 0 3px;
    transition: all 0.25s ease;
    font-size: 0.85rem;
}

.teacher-socials a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ---------- TESTIMONIALS ---------- */
.testimonials { padding: 90px 0; }

.testimonial-card {
    background: white;
    border-radius: 30px;
    padding: 2.5rem;
    height: 100%;
    position: relative;
    box-shadow: 0 10px 35px rgba(0,0,0,0.06);
    transition: all 0.35s ease;
    border-top: 5px solid transparent;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(0,0,0,0.12);
}

.testimonial-card.t1 { border-top-color: var(--primary); }
.testimonial-card.t2 { border-top-color: var(--secondary); }
.testimonial-card.t3 { border-top-color: var(--purple); }

.quote-icon {
    font-size: 2.2rem;
    opacity: 0.15;
    position: absolute;
    top: 1.5rem;
    right: 2rem;
}

.stars { color: #FFC107; margin-bottom: 1rem; font-size: 0.95rem; }

.testimonial-card p.review {
    color: #5A5F73;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.8rem;
    font-style: italic;
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 14px;
}

.reviewer-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ra-1 { background: linear-gradient(135deg, #FF6B6B, #FF9F9F); }
.ra-2 { background: linear-gradient(135deg, #4ECDC4, #7FE3DC); }
.ra-3 { background: linear-gradient(135deg, #A78BFA, #C4B1FF); }

.reviewer h6 { margin-bottom: 0; font-family: 'Baloo 2', cursive; font-size: 1.05rem; }
.reviewer small { color: #9AA0B4; font-weight: 600; }

/* ---------- CTA ---------- */
.cta {
    padding: 0 0 90px;
}

.cta-box {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E8E 45%, #A78BFA 100%);
    border-radius: 40px;
    padding: 4rem 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(255,107,107,0.35);
}

.cta-box::before, .cta-box::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
}

.cta-box::before { width: 280px; height: 280px; top: -120px; left: -80px; }
.cta-box::after { width: 220px; height: 220px; bottom: -110px; right: -60px; }

.cta-box h2 {
    color: white;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-box p {
    color: rgba(255,255,255,0.92);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 2;
}

.btn-cta {
    background: white;
    color: var(--primary);
    font-weight: 800;
    border-radius: 50px;
    padding: 0.95rem 2.6rem;
    border: none;
    position: relative;
    z-index: 2;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
    color: var(--primary);
}

.btn-cta-ghost {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.7);
    font-weight: 700;
    border-radius: 50px;
    padding: 0.95rem 2.6rem;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.btn-cta-ghost:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-4px);
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--dark);
    color: #C7CBDA;
    padding: 70px 0 0;
}

footer h5 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1.4rem;
}

footer .footer-brand {
    font-family: 'Baloo 2', cursive;
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

footer .footer-brand .star-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), #FF8E8E);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
}

footer p { font-size: 0.95rem; line-height: 1.8; color: #A0A6BC; }

footer ul { list-style: none; padding: 0; }

footer ul li { margin-bottom: 0.75rem; }

footer ul li a {
    color: #A0A6BC;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

footer ul li a:hover { color: var(--accent); padding-left: 5px; }

.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 0.95rem;
    color: #A0A6BC;
}

.footer-contact li i {
    color: var(--primary);
    margin-top: 4px;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: white;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.6rem 0;
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #8A90A8;
}

.footer-bottom a { color: var(--accent); text-decoration: none; }

/* ---------- BACK TO TOP ---------- */
#backToTop {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #FF8E8E);
    color: white;
    border: none;
    box-shadow: 0 10px 25px rgba(255,107,107,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.35s ease;
    z-index: 999;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover { transform: translateY(-5px) scale(1.06); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991px) {
    .hero { padding: 100px 0 60px; }
    .hero-illustration { margin-top: 3.5rem; }
    .floating-badge { font-size: 0.8rem; padding: 0.6rem 1rem; }
    .hero-stats { gap: 1.8rem; }
}

@media (max-width: 575px) {
    .hero-stats { gap: 1.3rem; }
    .hero-stat h3 { font-size: 1.6rem; }
    .cta-box { padding: 2.8rem 1.5rem; border-radius: 28px; }
    .btn-cta, .btn-cta-ghost { width: 100%; margin-bottom: 0.8rem; }
    .badge-2, .badge-3 { display: none; }
}