/* Base & Variables - Kid's World Kalamboli */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Poppins:wght@400;500;600&display=swap');

:root {
    --primary-color: #4BB3E8; /* Warm Sky Blue */
    --primary-dark: #3A99CC;
    --secondary-color: #FFD93D; /* Sunny Yellow */
    --secondary-dark: #E6C233;
    --accent-color: #FF6B6B; /* Soft Coral/Orange */
    --accent-dark: #E65555;
    --support-color: #6BCB77; /* Leafy Green */
    
    --bg-main: #FFFDF5; /* Off-white/cream */
    --bg-white: #FFFFFF;
    --bg-light-blue: #F0F8FC; 
    --bg-cream: #FFF9E6;

    --text-main: #2D2D2D; /* Dark charcoal */
    --text-muted: #666666;
    
    --font-heading: 'Nunito', sans-serif;
    --font-body: 'Poppins', sans-serif;
    
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-main);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
}
.subtitle {
    font-family: var(--font-heading);
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 12px;
    display: block;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Utilities */
.bg-cream { background-color: var(--bg-cream); }
.bg-white { background-color: var(--bg-white); }
.bg-light-blue { background-color: var(--bg-light-blue); }
.bg-yellow { background-color: var(--secondary-color); color: var(--text-main); }
.bg-blue { background-color: var(--primary-color); color: var(--bg-main); }

/* Pattern Backgrounds */
.pattern-clouds {
    background-image: 
        radial-gradient(ellipse at center, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 60%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M25,60 a20,20 0 0,1 0,-40 a20,20 0 0,1 30,-10 a20,20 0 0,1 20,40 a20,20 0 0,1 -50,10 z' fill='%23FFFFFF' opacity='0.3'/%3E%3C/svg%3E");
    background-size: 100px 100px;
    background-repeat: repeat;
}
.pattern-dots {
    background-image: radial-gradient(var(--bg-light-blue) 15%, transparent 15%), radial-gradient(var(--bg-light-blue) 15%, transparent 15%);
    background-position: 0 0, 20px 20px;
    background-size: 40px 40px;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 32px; font-family: var(--font-body); font-weight: 600; font-size: 15px;
    border-radius: var(--radius-pill); text-decoration: none; transition: var(--transition);
    border: none; cursor: pointer; gap: 8px;
}
.btn:hover { transform: scale(1.04); }
.btn-primary { background-color: var(--primary-color); color: #fff; box-shadow: 0 4px 15px rgba(75,179,232,0.3); }
.btn-primary:hover { background-color: var(--primary-dark); }
.btn-secondary { background-color: var(--secondary-color); color: var(--text-main); box-shadow: 0 4px 15px rgba(255,217,61,0.3); }
.btn-secondary:hover { background-color: var(--secondary-dark); }
.btn-accent { background-color: var(--accent-color); color: #fff; }
.btn-outline { background-color: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-outline:hover { background-color: var(--primary-color); color: #fff; }
.btn-whatsapp { background-color: #25D366; color: #fff; font-weight: 600; }
.btn-whatsapp:hover { background-color: #1EBE5D; }
.mt-2 { margin-top: 30px; }
.text-center { text-align: center; }

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; padding: 20px 0;
    z-index: 1000; transition: var(--transition); background-color: var(--bg-main);
}
.navbar.scrolled {
    padding: 12px 0; box-shadow: var(--shadow-soft); background-color: rgba(255, 253, 245, 0.95); backdrop-filter: blur(8px);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-text { font-family: var(--font-heading); font-size: 24px; font-weight: 800; color: var(--primary-color); text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo-text span { color: var(--secondary-color); }
.nav-menu ul { list-style: none; display: flex; gap: 24px; }
.nav-links a {
    text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 15px;
    transition: var(--transition); position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary-color); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0%; height: 3px;
    background-color: var(--secondary-color); transition: var(--transition); border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.mobile-toggle { display: none; font-size: 24px; color: var(--text-main); cursor: pointer; }

/* Mobile Menu */
.mobile-menu {
    display: none; position: fixed; top: 0; right: -100%; width: 75%; max-width: 300px; height: 100vh;
    background-color: var(--bg-main); z-index: 2000; padding: 80px 32px 40px; flex-direction: column; gap: 40px;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}
.mobile-menu.open { right: 0; }
.mobile-overlay {
    display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.4); z-index: 1999; opacity: 0; pointer-events: none; transition: opacity 0.4s ease;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-nav-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.mobile-nav-links li a {
    text-decoration: none; color: var(--text-main); font-size: 20px; font-family: var(--font-heading); font-weight: 700;
    display: block; padding: 12px 0; border-bottom: 1px solid rgba(0,0,0,0.05); transition: color 0.3s ease, padding-left 0.3s ease;
}
.mobile-nav-links li a:hover, .mobile-nav-links li a.active { color: var(--primary-color); padding-left: 8px; }

/* Layout Blocks */
.section-padding { padding: 80px 0; }
.section-header { margin-bottom: 50px; text-align: center; }
.section-header h2 { font-size: 36px; margin-bottom: 12px; }
.section-header p { font-size: 16px; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* Placeholders */
.placeholder-box {
    background-color: #E2E8F0; display: flex; align-items: center; justify-content: center;
    border-radius: var(--radius-lg); color: var(--text-muted); font-weight: 600; font-size: 14px;
    text-align: center; padding: 20px; box-shadow: var(--shadow-soft); object-fit: cover; width: 100%;
}

/* Animations */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* UI Cards */
.card {
    background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
    padding: 30px; transition: var(--transition);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

/* Trust Strip */
.trust-strip { display: flex; justify-content: space-around; background: var(--bg-white); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); margin-top: -50px; position: relative; z-index: 10; flex-wrap: wrap; gap: 24px; }
.trust-item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.trust-icon { font-size: 36px; color: var(--primary-color); }
.trust-item span { font-weight: 700; font-family: var(--font-heading); color: var(--text-main); font-size: 18px; }

/* Hero Sections */
.hero { min-height: 90vh; display: flex; align-items: center; padding-top: 100px; position: relative; }
.hero-content { flex: 1; padding-right: 40px; }
.hero-content h1 { font-size: 52px; line-height: 1.15; margin-bottom: 24px; }
.hero-content p { font-size: 18px; color: var(--text-muted); margin-bottom: 32px; max-width: 500px; }
.hero-visual { flex: 1; display: flex; justify-content: center; }
.hero-visual .placeholder-box { height: 500px; max-width: 500px; }

.page-hero { padding: 140px 0 60px; text-align: center; }
.page-hero h1 { font-size: 48px; margin-bottom: 16px; }

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.align-center { align-items: center; }

/* Why Choose Us & Info Blocks */
.icon-box {
    width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin-bottom: 20px; background: var(--bg-light-blue); color: var(--primary-color);
}
.card h3 { font-size: 20px; margin-bottom: 12px; }
.card p { font-size: 14px; color: var(--text-muted); }

/* Program Preview Cards */
.program-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.program-card .placeholder-box { border-radius: 0; min-height: 200px; }
.program-card .prog-body { padding: 30px; text-align: center; }
.program-card h3 { font-size: 22px; margin-bottom: 8px; }
.program-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; }

/* Programs Full Layout */
.prog-detailed-card {
    display: flex; background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
    overflow: hidden; margin-bottom: 40px;
}
.prog-detailed-card.reverse { flex-direction: row-reverse; }
.prog-detailed-card .placeholder-box { flex: 1; border-radius: 0; min-height: 350px; }
.prog-detailed-content { flex: 1; padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.prog-detailed-content .age-tag { color: var(--primary-color); font-weight: 700; font-size: 14px; margin-bottom: 12px; display: inline-block; }
.prog-detailed-content h3 { font-size: 32px; margin-bottom: 16px; }
.prog-detailed-content p { color: var(--text-muted); margin-bottom: 24px; font-size: 16px; }
.prog-focus { background: var(--bg-main); padding: 15px 20px; border-radius: var(--radius-md); font-size: 14px; font-weight: 600; color: var(--text-main); }

/* Testimonials */
.reviews-wrapper { display: flex; gap: 30px; overflow-x: auto; padding-bottom: 20px; scrollbar-width: none; }
.review-card { min-width: 320px; flex: 1; }
.review-card i.fa-quote-left { font-size: 30px; color: var(--secondary-color); margin-bottom: 16px; opacity: 0.5; }
.stars { color: #FFB800; margin-bottom: 12px; font-size: 14px; }
.reviewer { font-weight: 700; font-family: var(--font-heading); margin-top: 16px; font-size: 15px; }

/* CTA Banner */
.cta-banner { padding: 60px 0; border-radius: var(--radius-lg); text-align: center; }
.cta-banner h2 { font-size: 36px; margin-bottom: 16px; }
.cta-banner p { font-size: 18px; margin-bottom: 30px; opacity: 0.9; }

/* Gallery */
.gallery-filters { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn { padding: 8px 24px; border: 2px solid var(--primary-color); border-radius: var(--radius-pill); background: transparent; color: var(--text-main); font-family: var(--font-body); font-weight: 600; cursor: pointer; transition: var(--transition); }
.filter-btn.active, .filter-btn:hover { background: var(--primary-color); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 50px; }
.gallery-item { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 1; display: none; }
.gallery-item.show { display: block; animation: zoomIn 0.5s ease; }
@keyframes zoomIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.gallery-item .placeholder-box { width: 100%; height: 100%; border-radius: 0; transition: var(--transition); background-color: #E2E8F0; }
.gallery-item:hover .placeholder-box { transform: scale(1.05); }
.gallery-badge { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,0.9); padding: 4px 12px; border-radius: var(--radius-pill); font-size: 12px; font-weight: 700; }

/* Admissions & Content Tables */
.eligibility-table { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.eligibility-table th, .eligibility-table td { padding: 16px 24px; text-align: left; }
.eligibility-table th { background: var(--primary-color); color: white; font-weight: 700; font-family: var(--font-heading); }
.eligibility-table tr:nth-child(even) { background: var(--bg-main); }
.eligibility-table tr:nth-child(odd) { background: var(--bg-white); }
.process-timeline { display: flex; flex-direction: column; gap: 30px; }
.process-step { display: flex; align-items: flex-start; gap: 20px; }
.step-number { width: 40px; height: 40px; border-radius: 50%; background: var(--secondary-color); color: var(--text-main); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 20px; flex-shrink: 0; }
.step-text { font-size: 18px; font-family: var(--font-heading); font-weight: 600; margin-top: 6px; }

/* Form */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; margin-bottom: 8px; font-size: 14px; }
.form-control { width: 100%; padding: 16px 20px; border: 2px solid #E2E8F0; border-radius: var(--radius-md); font-family: var(--font-body); font-size: 15px; outline: none; transition: var(--transition); background: var(--bg-white); }
.form-control:focus { border-color: var(--primary-color); }
textarea.form-control { height: 120px; resize: vertical; }

/* Contact Details */
.contact-list { list-style: none; }
.contact-list li { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; font-size: 16px; }
.contact-list i { font-size: 22px; color: var(--primary-color); margin-top: 2px; }

/* Footer */
footer { background: #2D2D2D; color: #F0F0F0; padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { font-size: 24px; font-weight: 800; font-family: var(--font-heading); color: var(--secondary-color); margin-bottom: 16px; display: block; }
.footer-col p { color: #A0A0A0; font-size: 14px; margin-bottom: 20px; max-width: 300px; }
.footer-col h4 { font-size: 18px; color: #fff; margin-bottom: 24px; font-weight: 700; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: #A0A0A0; text-decoration: none; transition: var(--transition); font-size: 14px; }
.footer-col a:hover { color: var(--primary-color); }
.footer-bottom { text-align: center; padding: 24px 0; font-size: 14px; color: #888; }

/* Floating Buttons */
.floating-whatsapp {
    position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px;
    background-color: #25D366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 32px; box-shadow: var(--shadow-hover); z-index: 1000; text-decoration: none; transition: var(--transition);
}
.floating-whatsapp:hover { transform: scale(1.1); background-color: #1EBE5D; }

.back-to-top {
    position: fixed; bottom: 100px; right: 30px; width: 45px; height: 45px;
    background-color: var(--primary-color); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 20px; box-shadow: var(--shadow-soft); z-index: 999; cursor: pointer; opacity: 0; pointer-events: none; transition: var(--transition);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-5px); }

/* Flex Utils */
.flex { display: flex; }
.gap-16 { gap: 16px; }

/* Responsive */
@media (max-width: 1120px) {
    .nav-menu ul { gap: 18px; }
    .nav-links a { font-size: 14px; }
    .nav-actions .btn { padding: 10px 20px !important; font-size: 13px !important; }
}

@media (max-width: 1024px) {
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .hero-content h1 { font-size: 42px; }
}

@media (max-width: 768px) {
    .nav-menu, .nav-actions .btn { display: none; }
    .mobile-toggle { display: block; }
    .mobile-menu { display: flex; border-left: 2px solid var(--primary-color); }
    .mobile-overlay { display: block; }
    
    .hero { flex-direction: column; text-align: center; padding-top: 120px; }
    .hero-content { padding-right: 0; margin-bottom: 40px; }
    .hero-content h1 { font-size: 36px; }
    .hero-content p { margin: 0 auto 30px; }
    .hero-buttons { justify-content: center; }
    
    .grid-2, .grid-3, .grid-4, .trust-strip { grid-template-columns: 1fr; flex-direction: column; }
    .trust-strip { gap: 30px; padding: 30px; }
    
    .prog-detailed-card, .prog-detailed-card.reverse { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-col p { margin: 0 auto 20px; }
    
    .floating-whatsapp { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 26px; }
    .back-to-top { bottom: 80px; right: 20px; width: 40px; height: 40px; font-size: 16px; }
}
