/* Basic Styles */
:root {
    --primary-color: #ff914d; /* Orange */
    --secondary-color: #5aa9e6; /* Blue */
    --accent-green: #82d173; /* Playful Green */
    --accent-yellow: #ffcb57; /* Sunny Yellow */
    --accent-purple: #b39ddb; /* Soft Purple */
    --text-color: #333;
    --bg-color: #f7f9fc;
    --light-bg: #fff;
    --font-family: 'Quicksand', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    overflow-x: hidden;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

h1, h2 {
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0.5rem auto 0;
}

/* --- Colorful Section Headers --- */
/* About Section */
#about h2 { color: var(--accent-green); }
#about h2::after { background-color: var(--accent-green); }

/* Services Section */
#services h2 { color: var(--accent-yellow); }
#services h2::after { background-color: var(--accent-yellow); }

/* Schedule Section */
#schedule h2 { color: var(--primary-color); }
#schedule h2::after { background-color: var(--primary-color); }

/* Gallery Section */
#gallery h2 { color: var(--accent-purple); }
#gallery h2::after { background-color: var(--accent-purple); }

/* Testimonials Section */
#testimonials h2 { color: var(--secondary-color); }
#testimonials h2::after { background-color: var(--secondary-color); }

/* Contact Section - uses default primary color */
#contact h2 { color: var(--accent-green); }
#contact h2::after { background-color: var(--accent-green); }

/* --- Top Bar --- */
.top-bar {
    background-color: #e9eef5; /* A slightly different shade from bg-color */
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    border-bottom: 1px solid #d8dde4;
}

.top-bar p {
    margin: 0;
}

.top-bar a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-purple) 100%);
    color: #fff;
    text-align: center;
    padding: 6rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
    margin: 0.5rem 0 0;
}

.tagline {
    font-size: 1.6rem;
    margin: 1rem 0 1.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    font-weight: 500;
}

.contact-info {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-info p {
    margin: 0;
}

.hero-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

/* Section Styles */
section {
    padding: 4rem 0;
}

#about, #testimonials, #contact, #gallery {
    background-color: var(--light-bg);
}

#services {
    background-color: var(--bg-color);
}

#schedule {
    background-color: var(--bg-color);
}

/* Award Section */
.award-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background-color: #fffaf0; /* A very light, warm yellow */
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin: 0 auto 3rem auto;
    border: 1px solid var(--accent-yellow);
    box-shadow: 0 4px 12px rgba(255, 203, 87, 0.2);
    max-width: 800px;
}

.award-image {
    max-width: 200px;
    height: auto;
    flex-shrink: 0;
}

.award-text h3 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
}

.award-text p {
    margin: 0;
    color: #666;
}

/* About Section Enhancements */
.about-intro {
    text-align: center;
    font-size: 1.1rem;
    max-width: 750px;
    margin: 0 auto 2.5rem auto;
    color: #555;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.feature-item {
    padding: 2rem 1.5rem;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.feature-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.1) rotate(-5deg);
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.feature-item p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Assigning colors to feature icons */
.feature-item:nth-child(1) i { color: var(--primary-color); } /* Orange */
.feature-item:nth-child(2) i { color: var(--accent-green); } /* Green */
.feature-item:nth-child(3) i { color: var(--accent-purple); } /* Purple */

/* Assigning background colors to feature items */
.feature-item:nth-child(1) { background-color: rgba(255, 145, 77, 0.08); }
.feature-item:nth-child(2) { background-color: rgba(130, 209, 115, 0.08); }
.feature-item:nth-child(3) { background-color: rgba(179, 157, 219, 0.1); }

/* FADE-IN ANIMATION */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Services List */
#services ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

#services li {
    background-color: var(--light-bg);
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
    transition: transform 0.2s ease-in-out;
}

#services li:hover {
    transform: translateY(-5px);
}

#services li:nth-of-type(4n+1) {
    background-color: var(--accent-yellow);
}

#services li:nth-of-type(4n+2) {
    background-color: var(--accent-green);
}

#services li:nth-of-type(4n+3) {
    background-color: var(--accent-purple);
}

#services li:nth-of-type(4n+4) {
    background-color: var(--secondary-color);
}

/* Schedule Section */
.schedule-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
}

.schedule-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    background-color: var(--light-bg);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.07);
    border-left: 5px solid;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.schedule-item:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.schedule-item:nth-child(odd) { border-color: var(--secondary-color); }
.schedule-item:nth-child(even) { border-color: var(--accent-purple); }

.schedule-time {
    font-weight: 700;
    color: var(--text-color);
    font-size: 1.1rem;
}

.schedule-time i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.schedule-activity h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
}

.schedule-activity p {
    margin: 0;
    color: #666;
}

/* Gallery Section */
#gallery {
    background-color: var(--bg-color);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.image-grid img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    /* REFINED SHADOW */
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.image-grid img:hover {
    transform: scale(1.03);
    /* NEW HOVER SHADOW */
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.gallery-note {
    text-align: center;
    margin-top: 2rem;
    font-style: italic;
    color: #666;
}

/* Testimonials */
.testimonial {
    background-color: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    /* REFINED SHADOW */
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    margin-bottom: 1.5rem;
}

/* --- Contact Section Details --- */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
    text-align: center;
}

.contact-item {
    background-color: var(--bg-color);
    padding: 2rem 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 0 0 0.5rem 0;
}

.contact-item p,
.contact-item a {
    font-size: 1rem;
    color: #555;
    text-decoration: none;
    margin: 0;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Map Container */
.map-container {
    overflow: hidden;
    padding-top: 56.25%;
    position: relative;
    margin-top: 2rem;
}

.map-container iframe {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

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

    .tagline {
        font-size: 1.2rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .top-bar {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
    }

    #services ul {
        flex-direction: column;
    }

    #services li {
        width: 100%;
    }

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

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

    .schedule-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        text-align: center;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .award-section {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
}