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

:root {
    --sage-green: #C2D0AE;
    --balloon-yellow: #F2DD8E;
    --golden-yellow: #D6BE6F;
    --warm-brown: #735F51;
    --taupe-gray: #A09C88;
    --off-white: #EEEEED;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--sage-green);
    color: var(--warm-brown);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Baloo 2', cursive;
    color: var(--warm-brown);
}

/* Navigation */
nav {
    background-color: var(--off-white);
    padding: 1.5rem 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text {
    font-family: 'Comic Neue', cursive;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--warm-brown);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--warm-brown);
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(242, 221, 142, 0.3) 0%, rgba(214, 190, 111, 0.3) 100%),
                url('magic-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 5rem 5%;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--warm-brown);
    animation: fadeInUp 0.8s ease;
}

.cta-button {
    display: inline-block;
    background-color: var(--warm-brown);
    color: var(--off-white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Baloo 2', cursive;
    font-size: 1.2rem;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

/* Features Section */
.features {
    padding: 5rem 5%;
    background-color: var(--sage-green);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--off-white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--warm-brown);
}

.feature-card p {
    color: var(--taupe-gray);
}

/* Programs Section */
.programs {
    padding: 5rem 5%;
    background-color: var(--off-white);
}

.programs-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.program-card {
    background: linear-gradient(135deg, var(--balloon-yellow) 0%, var(--golden-yellow) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    transition: transform 0.3s;
}

.program-card:hover {
    transform: scale(1.03);
}

.program-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.program-age {
    color: var(--taupe-gray);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonials {
    padding: 5rem 5%;
    background-color: var(--sage-green);
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background-color: var(--off-white);
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--golden-yellow);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--warm-brown);
}

.testimonial-author {
    font-weight: 700;
    color: var(--golden-yellow);
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background-color: var(--off-white);
    text-align: center;
}

.contact-container {
    max-width: 1100px;
    margin: 2rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.map-container {
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.contact-info {
    background-color: var(--balloon-yellow);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
}

.contact-item {
    margin: 1rem 0;
    font-size: 1.1rem;
}

.contact-item strong {
    color: var(--warm-brown);
}

.social-media {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--golden-yellow);
}

.social-media h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--warm-brown);
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-icons a {
    display: inline-block;
    transition: transform 0.3s;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons img {
    width: 40px;
    height: 40px;
}

/* Footer */
footer {
    background-color: var(--warm-brown);
    color: var(--off-white);
    text-align: center;
    padding: 2rem 5%;
}

footer p {
    color: var(--off-white);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Mobile Menu */
@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

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

    .hero p {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .map-container {
        min-height: 300px;
    }
}
