/* Color Variables */
:root {
    --primary-color: #8CC63F;
    --primary-dark: #7AB035;
    --primary-light: #A2D65B;
    --secondary-color: #4A4A4A;
    --background-light: #F8F9FA;
    --text-dark: #333333;
    --text-light: #FFFFFF;
}

/* Global Styles */
body {
    font-family: 'Comic Sans MS', 'Bubblegum Sans', cursive;
    background: var(--background-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Animation Keyframes */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Navigation Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    transform-origin: left center;
    animation: wiggle 2s ease-in-out infinite;
}

.nav-logo {
    height: 30px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 5px 0;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 600;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: var(--primary-color);
    color: white !important;
    transform: scale(1.1);
}

.nav-link.active {
    background: var(--primary-dark);
    color: white !important;
}

/* Button Styles */
.btn {
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(140, 198, 63, 0.3);
}

.btn-secondary {
    background: linear-gradient(45deg, var(--primary-purple), var(--primary-red));
    border: none;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
    line-height: 1.5;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    background: linear-gradient(135deg, #f0f9e8 0%, #e8f5e0 50%, #dff2d0 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/toys-pattern.svg') repeat;
    opacity: 0.08;
    animation: float 20s linear infinite;
}

.hero h1 {
    font-size: 3.5rem;
    background: linear-gradient(45deg, var(--primary-color) 30%, var(--primary-dark) 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    font-weight: 800;
    margin-bottom: 1.5rem;
    position: relative;
}

.hero .lead {
    color: var(--secondary-color);
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.hero .btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    border: none;
    box-shadow: 0 4px 15px rgba(140, 198, 63, 0.3);
    transition: all 0.3s ease;
}

.hero .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(140, 198, 63, 0.4);
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
}

/* Text Colors */
.text-primary {
    color: var(--primary-color) !important;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.shadow-hover {
    transition: all 0.3s ease;
}

.shadow-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(140, 198, 63, 0.15);
}

.card-img-top {
    transition: all 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 1rem auto;
    border-radius: 2px;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #4a4a4a 0%, #2d2d2d 100%);
    color: white;
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, 
        var(--primary-dark),
        var(--primary-light),
        var(--primary-color),
        var(--primary-color),
        var(--primary-color)
    );
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-logo {
        height: 25px;
    }

    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-link {
        margin: 0.5rem 0;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1.1rem;
    }

    .d-grid .btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .btn-lg {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Interactive Elements */
.interactive-element {
    cursor: pointer;
    transition: all 0.3s ease;
}

.interactive-element:hover {
    transform: scale(1.05);
}

/* Form Styles */
.form-control {
    border-radius: 15px;
    border: 2px solid #eee;
    padding: 0.8rem 1.2rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(140, 198, 63, 0.25);
}

/* List Styles */
.custom-list {
    list-style: none;
    padding-left: 0;
}

.custom-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.custom-list li::before {
    content: '🌟';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Program Cards */
.program-card {
    border-radius: 20px;
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Testimonial Section */
.testimonial {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary-light);
    opacity: 0.5;
}

/* Contact Section */
.contact-info {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Animations for Page Load */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease-in forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}