/* PRESCHOOL DEMO GLOBAL STYLES */

:root {
    --primary: #fde047; /* Yellow */
    --primary-dark: #eab308;
    --secondary: #38bdf8; /* Blue */
    --accent: #fb7185; /* Coral */
    --success: #4ade80; /* Green */
    --bg-light: #fafaf9; /* Off-white */
    --text-dark: #1e293b;
    --text-regular: #475569;
    --white: #ffffff;
    --radius-lg: 40px;
    --radius-md: 24px;
    --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-regular);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 5%;
}

/* NAVIGATION */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

nav.scrolled {
    padding: 15px 5%;
    box-shadow: var(--shadow);
}

nav h1 {
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
}

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

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.mobile-nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: 0.3s;
}

/* HERO SECTION */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.45);
    z-index: 2;
}

.hero.dark::after {
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 40px;
}

.hero h2 {
    font-size: clamp(40px, 8vw, 72px);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero.dark h2 {
    color: var(--white);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.hero.dark p {
    color: rgba(255, 255, 255, 0.9);
}

/* BUTTONS */
.btn {
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-dark);
    box-shadow: 0 10px 20px -5px rgba(253, 224, 71, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(56, 189, 248, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
}

/* GRIDS OVERVIEW */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: 20px;
}

/* FEATURE CARDS */
.card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    transition: 0.4s;
    text-align: center;
    position: relative;
    border-top: 8px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
}

.card-img {
    width: calc(100% + 80px);
    height: 250px;
    margin: -40px -40px 30px -40px;
    object-fit: cover;
    border-radius: calc(var(--radius-md) - 8px) calc(var(--radius-md) - 8px) 0 0;
}

.card.yellow { border-top-color: var(--primary); }
.card.blue { border-top-color: var(--secondary); }
.card.pink { border-top-color: var(--accent); }
.card.green { border-top-color: var(--success); }

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    color: var(--white);
}

.yellow .card-icon { background: var(--primary); }
.blue .card-icon { background: var(--secondary); }
.pink .card-icon { background: var(--accent); }
.green .card-icon { background: var(--success); }

/* STATS AREA */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.stat-item {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow);
}

.stat-item h4 {
    font-size: 48px;
    color: var(--secondary);
    margin-bottom: 8px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* SCHEDULE BLOCK */
.schedule-block {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.s-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 25px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--secondary);
    transition: 0.3s;
}

.s-item:hover {
    transform: translateX(10px);
}

.s-item strong {
    font-family: 'Inter', sans-serif;
    color: var(--secondary);
    font-size: 14px;
    min-width: 80px;
}

.s-item span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

/* FOOTER */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 80px 5% 40px;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto 60px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .grid-3, .stats, .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
    
    .container {
        padding: 60px 5%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        padding: 100px 5%;
        z-index: 1050;
        gap: 30px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }
    
    .mobile-nav-toggle {
        display: flex;
        z-index: 1100;
    }

    .nav-links a {
        font-size: 20px;
    }

    .grid-3, .stats, .grid-2, .programs-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
    }

    .hero {
        height: 100vh;
        min-height: 500px;
        padding-top: 60px;
    }

    .hero-content {
        padding: 20px;
    }

    .hero h2 {
        font-size: 38px !important;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .contact-cta h2 {
        font-size: 32px !important;
    }

    section {
        padding: 60px 5% !important;
    }
}
