:root {
    --primary: #FF6B6B;
    --secondary: #4ECDC4;
    --accent: #FFE66D;
    --purple: #A78BFA;
    --orange: #FF9F43;
    --pink: #FF85A1;
    --sky: #5BC0EB;
    --dark: #2D3436;
    --light-bg: #FFF9F0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--light-bg);
    color: var(--dark);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
}

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: 'Baloo 2', cursive;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand .brand-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.navbar-nav .nav-link {
    font-weight: 700;
    color: var(--dark) !important;
    margin: 0 8px;
    padding: 8px 16px !important;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: linear-gradient(135deg, var(--primary), var(--orange));
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.35);
    transform: translateY(-2px);
}

.btn-enroll {
    background: linear-gradient(135deg, var(--secondary), #2ecc9f);
    border: none;
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 800;
    font-family: 'Baloo 2', cursive;
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-enroll:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(78, 205, 196, 0.55);
    color: #fff;
}

/* ===== HERO SECTION ===== */
.hero-section {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #FFF9F0 0%, #FFF0F5 30%, #F0F9FF 70%, #FFFAF0 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -150px;
    animation: float 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.07) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, -20px);
    }
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #FFD93D);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #7c6a00;
    box-shadow: 0 4px 15px rgba(255, 230, 109, 0.5);
    margin-bottom: 20px;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%,
    100% {
        box-shadow: 0 4px 15px rgba(255, 230, 109, 0.5);
    }
    50% {
        box-shadow: 0 8px 30px rgba(255, 230, 109, 0.8);
    }
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    color: var(--dark);
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-title .highlight-2 {
    background: linear-gradient(135deg, var(--secondary), #2ecc9f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.15rem;
    color: #636e72;
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary), #ff5252);
    border: none;
    border-radius: 50px;
    padding: 14px 35px;
    font-weight: 800;
    font-family: 'Baloo 2', cursive;
    color: #fff;
    font-size: 1.05rem;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.45);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary-custom:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(255, 107, 107, 0.6);
    color: #fff;
}

.btn-secondary-custom {
    background: #fff;
    border: 3px solid var(--secondary);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 800;
    font-family: 'Baloo 2', cursive;
    color: var(--secondary);
    font-size: 1.05rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary-custom:hover {
    background: var(--secondary);
    color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .number {
    font-family: 'Baloo 2', cursive;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #636e72;
    letter-spacing: 0.5px;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-main {
    width: 100%;
    max-width: 520px;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
    animation: float-image 6s ease-in-out infinite;
}

@keyframes float-image {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    animation: float-shape 5s ease-in-out infinite;
}

.floating-shape.shape-1 {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), #ff5252);
    top: -20px;
    right: 10px;
    animation-delay: 0s;
}

.floating-shape.shape-2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary), #2ecc9f);
    bottom: 30px;
    left: -20px;
    animation-delay: 1s;
}

.floating-shape.shape-3 {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), #FFD93D);
    top: 40%;
    right: -15px;
    animation-delay: 2s;
    font-size: 1.5rem;
}

@keyframes float-shape {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(10deg);
    }
}

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title .subtitle {
    font-family: 'Baloo 2', cursive;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title .divider {
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--orange), var(--secondary));
    border-radius: 10px;
    margin: 0 auto;
}

/* ===== PROGRAMS SECTION ===== */
.programs-section {
    padding: 80px 0;
    background: #fff;
}

.program-card {
    border: none;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
    transition: all 0.4s ease;
    height: 100%;
    background: #fff;
    position: relative;
}

.program-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.program-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-radius: 0;
}

.program-card .card-body {
    padding: 28px;
    text-align: center;
}

.program-card .program-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    margin: -60px auto 20px;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.program-card:hover .program-icon {
    transform: scale(1.15) rotate(10deg);
}

.program-icon.icon-red {
    background: linear-gradient(135deg, var(--primary), #ff5252);
}
.program-icon.icon-green {
    background: linear-gradient(135deg, var(--secondary), #2ecc9f);
}
.program-icon.icon-yellow {
    background: linear-gradient(135deg, var(--orange), #f39c12);
}
.program-icon.icon-purple {
    background: linear-gradient(135deg, var(--purple), #7c3aed);
}

.program-card .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.program-card .card-text {
    color: #636e72;
    font-size: 0.95rem;
    line-height: 1.7;
}

.program-card .age-badge {
    display: inline-block;
    background: #f8f9fa;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #636e72;
    margin-top: 15px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #FFF9F0, #FFF0F5);
}

.about-image {
    border-radius: 30px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.about-feature .feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
}

.about-feature h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.9rem;
    color: #636e72;
    margin-bottom: 0;
}

/* ===== TEACHERS SECTION ===== */
.teachers-section {
    padding: 80px 0;
    background: #fff;
}

.teacher-card {
    border: none;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
    transition: all 0.4s ease;
    height: 100%;
    text-align: center;
    background: #fff;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.teacher-card .teacher-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 30px auto 15px;
    border: 6px solid var(--light-bg);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.teacher-card:hover .teacher-img {
    border-color: var(--accent);
    transform: scale(1.05);
}

.teacher-card .card-body {
    padding: 10px 25px 30px;
}

.teacher-card .teacher-role {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.teacher-card .social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.teacher-card .social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.teacher-card .social-links a:hover {
    transform: scale(1.2);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #FFF9F0, #FFF0F5);
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.12);
}

.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item .gallery-overlay span {
    color: #fff;
    font-weight: 700;
    font-family: 'Baloo 2', cursive;
    font-size: 1.1rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials-section {
    padding: 80px 0;
    background: #fff;
}

.testimonial-card {
    background: var(--light-bg);
    border-radius: 25px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
    text-align: center;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-card .quote-icon {
    font-size: 2.5rem;
    color: var(--accent);
    opacity: 0.5;
    margin-bottom: 15px;
}

.testimonial-card .testimonial-text {
    font-size: 0.95rem;
    color: #636e72;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card .testimonial-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 4px solid var(--accent);
}

.testimonial-card .testimonial-name {
    font-weight: 800;
    font-family: 'Baloo 2', cursive;
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.testimonial-card .testimonial-role {
    font-size: 0.8rem;
    color: #636e72;
    font-weight: 600;
}

.testimonial-card .stars {
    color: #FFD93D;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2D3436 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.contact-section .section-title h2 {
    color: #fff;
}

.contact-section .section-title .subtitle {
    color: var(--accent);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 14px 20px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(255, 230, 109, 0.15);
    color: #fff;
}

.contact-form label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.contact-form select.form-control option {
    background: #2D3436;
    color: #fff;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--orange));
    border: none;
    border-radius: 50px;
    padding: 14px 40px;
    font-weight: 800;
    font-family: 'Baloo 2', cursive;
    color: #fff;
    font-size: 1.05rem;
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(255, 107, 107, 0.6);
    color: #fff;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info-item .info-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
}

.contact-info-item h6 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.contact-info-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.footer {
    background: #1a1a2e;
    padding: 30px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    margin-bottom: 0;
}

.footer .footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.footer .footer-links a:hover {
    color: var(--accent);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-delay-1 {
    animation-delay: 0.2s;
}
.fade-in-delay-2 {
    animation-delay: 0.4s;
}
.fade-in-delay-3 {
    animation-delay: 0.6s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-section {
        padding: 120px 0 60px;
        text-align: center;
    }
    .hero-text {
        margin: 0 auto 30px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-image-wrapper {
        margin-top: 40px;
    }
    .navbar-nav {
        text-align: center;
        padding: 20px 0;
    }
    .navbar-nav .nav-link {
        margin: 5px 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .section-title h2 {
        font-size: 2rem;
    }
    .hero-stats {
        gap: 20px;
    }
    .hero-stat .number {
        font-size: 1.8rem;
    }
    .contact-form {
        padding: 25px;
    }
    .floating-shape {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.9rem;
    }
    .btn-primary-custom,
    .btn-secondary-custom {
        padding: 12px 22px;
        font-size: 0.9rem;
    }
    .hero-stats {
        gap: 15px;
    }
    .hero-stat .number {
        font-size: 1.5rem;
    }
}