:root {
    /* Color Palette */
    --primary-color: #FFD700;
    /* Soft Yellow */
    --secondary-color: #87CEEB;
    /* Sky Blue */
    --accent-color: #32CD32;
    /* Grass Green */
    --warm-color: #FFA500;
    /* Warm Orange */
    --text-color: #333333;
    --bg-color: #FFFFFF;
    --light-bg: #F9F9F9;
    --white: #FFFFFF;

    /* Typography */
    --heading-font: 'Fredoka', sans-serif;
    --body-font: 'Open Sans', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utility Classes */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: scale(1.05);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.btn-secondary {
    background-color: var(--warm-color);
    color: var(--white);
    font-size: 1.1rem;
    padding: 12px 30px;
}

/* Announcement Banner */
.announcement-banner {
    background: linear-gradient(90deg, var(--accent-color), var(--warm-color));
    color: var(--white);
    padding: 10px 0;
    overflow: hidden;
    position: relative;
    font-weight: 600;
}

.banner-content {
    display: flex;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
}

.banner-content span {
    padding: 0 2rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Header & Nav */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 60px;
    width: auto;
    border-radius: 8px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    align-items: center;
}

.logo-main {
    color: var(--warm-color);
    font-size: 1.8rem;
    font-family: var(--heading-font);
    font-weight: 600;
}

.logo-sub {
    color: var(--warm-color);
    font-size: 1rem;
    font-family: var(--heading-font);
    font-weight: 600;
}

/* Mobile Menu Toggle (Hidden by default) */
.mobile-menu-toggle {
    display: none;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.social-header {
    display: flex;
    gap: 10px;
}

.social-header a {
    color: var(--text-color);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-header a:hover {
    color: var(--warm-color);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1));
    /* Overlay */
}

.hero h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--light-bg);
    text-align: center;
}

.features h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h4 {
    color: var(--warm-color);
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    text-align: center;
}

.testimonials h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.testimonial-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.testimonial-card {
    background: var(--white);
    padding: 1.5rem;
    border-left: 5px solid var(--primary-color);
    max-width: 400px;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.testimonial-card span {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
    color: var(--text-color);
}

/* Page Header */
.page-header {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Mission & Vision */
.mission-vision {
    padding: 4rem 0;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mv-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border-top: 5px solid var(--accent-color);
}

.mv-card h3 {
    color: var(--warm-color);
    margin-bottom: 1rem;
}

/* Principal's Message */
.principal-msg {
    background-color: var(--light-bg);
    padding: 4rem 0;
    text-align: center;
}

.msg-content {
    max-width: 800px;
    margin: 0 auto;
}

.msg-content h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.msg-content p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.msg-content span {
    font-weight: bold;
    color: var(--text-color);
}

/* Staff Section */
.staff {
    padding: 4rem 0;
    text-align: center;
}

.staff h3 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.staff-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.staff-card {
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 200px;
    text-align: center;
}

.staff-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 1rem;
    display: block;
}

.staff-img-placeholder {
    width: 100%;
    height: 150px;
    background-color: #ddd;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.staff-card h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.staff-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Programs Section */
.programs {
    padding: 4rem 0;
}

.program-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.program-item {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    border-left: 8px solid var(--primary-color);
}

.program-item:nth-child(even) {
    border-left-color: var(--secondary-color);
}

.program-item:nth-child(3) {
    border-left-color: var(--accent-color);
}

.program-item:nth-child(4) {
    border-left-color: var(--warm-color);
}

.program-content {
    padding: 2rem;
}

.program-content h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.age-group {
    display: inline-block;
    background-color: var(--light-bg);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #666;
    margin-bottom: 1rem;
}

/* Daycare Section */
.daycare {
    background-color: var(--light-bg);
    padding: 4rem 0;
    text-align: center;
}

.daycare h3 {
    color: var(--warm-color);
    margin-bottom: 1.5rem;
}

.daycare-content {
    max-width: 800px;
    margin: 0 auto;
}

.daycare-features {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.daycare-features li {
    background: var(--white);
    padding: 10px 20px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-weight: 600;
}

/* Admission Process */
.process {
    padding: 4rem 0;
    text-align: center;
}

.process h3 {
    color: var(--secondary-color);
    margin-bottom: 3rem;
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    position: relative;
}

.step-number {
    background-color: var(--primary-color);
    color: var(--text-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.step h4 {
    color: var(--warm-color);
    margin-bottom: 0.5rem;
}

/* Fees Section */
.fees {
    background-color: var(--light-bg);
    padding: 4rem 0;
    text-align: center;
}

.fees h3 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.fees p {
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
}

.faq h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.faq-item h4 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: #666;
}

/* Contact Info */
.contact-info {
    padding: 4rem 0;
    text-align: center;
}

.info-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.info-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Contact Form Section */
.contact-form-section {
    background-color: var(--light-bg);
    padding: 4rem 0;
    text-align: center;
}

.contact-form-section h3 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.form-container {
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.form-container iframe {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background: var(--white);
}

/* Map Section */
.map {
    padding: 4rem 0;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Gallery Section */
.gallery {
    padding: 4rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    background-color: #f5f5f5;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    display: block;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.gallery-placeholder {
    width: 100%;
    height: 250px;
    background-color: #ddd;
    background-image: linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee),
        linear-gradient(45deg, #eee 25%, transparent 25%, transparent 75%, #eee 75%, #eee);
    background-size: 20px 20px;
    background-position: 0 0, 10px 10px;
}

/* Inline Links */
.inline-link {
    color: var(--warm-color);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.inline-link:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--text-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--white);
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: scale(1.2);
}

.social-links svg {
    width: 28px;
    height: 28px;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ======================================== */

/* Tablet and below (max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    nav {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .nav-links {
        gap: 15px;
        font-size: 0.9rem;
    }

    .logo-img {
        height: 50px;
    }

    .logo-main {
        font-size: 1.5rem;
    }

    .logo-sub {
        font-size: 0.85rem;
    }

    .feature-grid,
    .mv-grid,
    .program-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .staff-grid {
        gap: 1.5rem;
    }
}

/* Mobile devices (max-width: 768px) */
@media (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    /* Navigation - Mobile Menu */
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo {
        width: 100%;
        justify-content: space-between;
    }

    /* Mobile Menu Toggle Button */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--warm-color);
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .nav-links.active {
        max-height: 500px;
        padding: 10px 0;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        padding: 15px 20px;
    }

    .social-header {
        justify-content: center;
        width: 100%;
        gap: 20px;
        padding: 15px 0 10px 0;
    }

    .social-header svg {
        width: 24px;
        height: 24px;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    /* Announcement Banner */
    .announcement-banner {
        font-size: 0.9rem;
        padding: 8px 0;
    }

    .banner-content {
        animation: scroll 15s linear infinite;
    }

    /* Grids - Single Column */
    .feature-grid,
    .mv-grid,
    .program-list,
    .staff-grid,
    .info-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Cards */
    .feature-card,
    .mv-card,
    .program-item,
    .staff-card,
    .info-item,
    .testimonial-card {
        max-width: 100%;
    }

    .info-item {
        min-width: 100%;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Process Steps */
    .steps {
        flex-direction: column;
    }

    .step {
        width: 100%;
    }

    /* Fees */
    .fees-grid {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-content {
        gap: 1.5rem;
    }

    .social-links {
        gap: 2rem;
    }

    /* Buttons */
    .btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .btn-secondary {
        padding: 10px 25px;
        font-size: 1rem;
    }

    /* Map */
    .map-container iframe {
        height: 300px;
    }

    /* Page Headers */
    .page-header {
        padding: 2rem 0;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .page-header p {
        font-size: 0.95rem;
    }

    /* Sections Padding */
    section {
        padding: 2rem 0;
    }

    .features,
    .programs,
    .staff,
    .mission-vision,
    .principal-msg,
    .contact-info,
    .process,
    .fees-section,
    .testimonials {
        padding: 2rem 0;
    }
}

/* Small mobile devices (max-width: 480px) */
@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 10px;
    }

    /* Typography */
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    /* Logo */
    .logo-img {
        height: 40px;
    }

    .logo-main {
        font-size: 1.2rem;
    }

    .logo-sub {
        font-size: 0.7rem;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 1.4rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    /* Announcement Banner */
    .announcement-banner {
        font-size: 0.8rem;
        padding: 6px 0;
    }

    /* Cards */
    .feature-card,
    .mv-card,
    .program-item,
    .testimonial-card {
        padding: 1rem;
    }

    /* Gallery */
    .gallery-item img {
        height: 200px;
    }

    /* Staff Images */
    .staff-img,
    .staff-img-placeholder {
        height: 120px;
    }

    /* Buttons */
    .btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    /* Footer */
    footer {
        padding: 1.5rem 0;
        font-size: 0.9rem;
    }

    .social-links svg {
        width: 24px;
        height: 24px;
    }

    /* Map */
    .map-container iframe {
        height: 250px;
    }

    /* Info Grid Items */
    .info-item h3 {
        font-size: 1.1rem;
    }

    .info-item p {
        font-size: 0.9rem;
    }
}

/* Landscape orientation fixes for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .page-header {
        padding: 1.5rem 0;
    }
}

/* Print styles */
@media print {
    header,
    footer,
    .btn,
    .social-links,
    .social-header {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    .container {
        max-width: 100%;
    }
}