 :root {
            --bg-main: #FEEAC9;
            --accent: #FFB76C;
            --accent-hover: #f39c12;
            --text-primary: #1a1a1a;
            --text-secondary: #5C5C5C;
            --white: #ffffff;
            --footer-bg: #121481;
            --shadow: 0 10px 30px rgba(255, 183, 108, 0.3);
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; outline: none; }
        
        body { 
            font-family: 'Patrick Hand', cursive; 
            background-color: var(--bg-main); 
            color: var(--text-primary);
            overflow-x: hidden;
            line-height: 1.6;
            font-size: 1.2rem;
        }

        h1, h2, h3, h4, .playful { 
            font-family: 'The Girl Next Door', cursive; 
            font-weight: normal;
        }

        .container { max-width: 1300px; margin: 0 auto; padding: 0 25px; }

        /* --- STICKY HEADER --- */
        header {
            position: sticky;
            top: 0;
            background: var(--bg-main);
            padding: 15px 0;
            z-index: 1000;
            border-bottom: 2px solid var(--accent);
            box-shadow: 0 4px 15px rgba(0,0,0,0.03);
        }
        .header-inner { display: flex; justify-content: space-between; align-items: center; }
        .logo { font-size: 2rem; cursor: pointer; display: flex; align-items: center; gap: 10px; }
        .logo span { color: var(--text-primary); }

        /* --- CIRCULAR MENU --- */
        .menu-wrapper { position: relative; }
        .menu-btn {
            width: 50px; height: 50px; border-radius: 50%; border: 3px solid var(--accent);
            background: var(--white); cursor: pointer; display: flex; align-items: center; 
            justify-content: center; transition: var(--transition); z-index: 1001;
        }
        .menu-btn:hover { transform: scale(1.1); background: var(--accent); color: white; }
        
        .nav-items {
            position: absolute; right: 60px; top: 0; display: flex; gap: 10px;
            opacity: 0; visibility: hidden; transform: translateX(30px);
            transition: var(--transition);
        }
        .nav-items.active { opacity: 1; visibility: visible; transform: translateX(0); }
        .nav-link {
            background: var(--white); border: 2px solid var(--accent); padding: 5px 20px;
            border-radius: 25px; text-decoration: none; color: var(--text-primary);
            white-space: nowrap; transition: 0.3s;
        }
        .nav-link:hover { background: var(--accent); color: white; transform: scale(1.05); }

        /* --- BACKGROUND ANIMATION --- */
        .bg-shapes {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
            pointer-events: none; overflow: hidden;
        }
        .shape {
            position: absolute; border-radius: 50%; background: var(--accent);
            opacity: 0.1; animation: float 20s infinite linear;
        }

        @keyframes float {
            0% { transform: translateY(100vh) rotate(0deg); }
            100% { transform: translateY(-100px) rotate(360deg); }
        }

        /* --- HERO SECTION --- */
        .hero { padding: 80px 0; }
        .highlight-box {
            background: var(--white); border: 4px solid var(--accent); border-radius: 40px;
            padding: 50px; position: relative; box-shadow: var(--shadow);
            margin-bottom: 80px; animation: fadeIn 1s ease-out;
        }
        .highlight-box h1 { font-size: 5rem; color: var(--accent); line-height: 1; margin-bottom: 20px; }
        .tagline { position: absolute; bottom: 20px; left: 30px; display: flex; gap: 15px; font-size: 1.5rem; opacity: 0.7; }

        .hero-middle { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }
        .hero-img-box {
            background: var(--white); padding: 20px; border-radius: 30px; 
            box-shadow: var(--shadow); transform: rotate(-1deg);
        }
        .hero-img-box img { width: 100%; border-radius: 20px; display: block; }
        .hero-text h2 { font-size: 3rem; color: var(--accent); margin-bottom: 20px; }

        .hero-features { display: flex; justify-content: space-around; gap: 30px; text-align: center; }
        .feat-item { flex: 1; cursor: pointer; }
        .feat-icon {
            width: 100px; height: 100px; border-radius: 50%; border: 3px solid var(--accent);
            background: var(--white); display: flex; align-items: center; justify-content: center;
            margin: 0 auto 15px; transition: var(--transition);
        }
        .feat-item:hover .feat-icon { transform: scale(1.1); background: var(--accent); color: white; }
        .feat-item:hover h4 { font-weight: bold; }

        /* --- PAGES & SECTIONS --- */
        .page { display: none; min-height: 80vh; animation: fadeIn 0.5s ease; }
        .page.active { display: block; }
        @keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

        .section-header { text-align: center; padding: 60px 0; }
        .section-header h2 { font-size: 4rem; color: var(--accent); }
        .section-header p { max-width: 700px; margin: 10px auto; color: var(--text-secondary); }

        /* --- PROGRAMS --- */
        .programs-bg { background: radial-gradient(circle, #ffb76c11 10%, transparent 10%); background-size: 30px 30px; }
        .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 40px 0; }
        .program-card {
            background: var(--white); border-radius: 30px; overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: var(--transition); border: 3px solid transparent;
        }
        .program-card:hover { transform: translateY(-15px); border-color: var(--bg-main); box-shadow: var(--shadow); }
        .card-img { height: 220px; overflow: hidden; }
        .card-img img { width: 100%; height: 100%; object-fit: cover; }
        .card-content { padding: 30px; }
        .card-content h3 { font-size: 2.2rem; margin-bottom: 10px; color: var(--accent); }
        .btn-guide { 
            background: var(--accent); color: white; border: none; padding: 10px 20px; 
            border-radius: 20px; font-family: inherit; font-size: 1.1rem; cursor: pointer;
            margin-top: 20px; width: 100%; transition: 0.3s;
        }
        .btn-guide:hover { background: var(--accent-hover); }

        /* --- ROOMS --- */
        .room-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 100px; }
        .room-row.reverse { direction: rtl; }
        .room-row.reverse .room-text { direction: ltr; }
        .room-img { border-radius: 40px; box-shadow: var(--shadow); border: 10px solid var(--white); }

        /* --- ADMISSIONS --- */
        .admissions-split { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; background: var(--white); padding: 60px; border-radius: 50px; box-shadow: var(--shadow); }
        .step-card { 
            display: flex; gap: 20px; margin-bottom: 30px; padding: 25px; 
            border: 2px solid var(--accent); border-radius: 25px; transition: 0.3s;
        }
        .step-card:hover { background: var(--bg-main); transform: translateX(10px); }
        .step-num { 
            background: var(--accent); color: white; min-width: 50px; height: 50px; 
            border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
        }

        /* --- CONTACT --- */
        .contact-box { background: var(--accent); border-radius: 50px; padding: 80px 40px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; }
        .contact-form { background: var(--white); padding: 40px; border-radius: 30px; }
        .form-group { margin-bottom: 20px; }
        .form-group label { display: block; margin-bottom: 8px; }
        .form-group input, .form-group textarea { 
            width: 100%; padding: 15px; border-radius: 15px; border: 2px solid #eee; 
            font-family: inherit; font-size: 1.1rem;
        }
        .form-group input:focus { border-color: var(--accent); }
        .contact-info { color: white; }
        .info-item { display: flex; gap: 15px; margin-bottom: 30px; font-size: 1.3rem; }

        /* --- FOOTER --- */
        footer { background: var(--footer-bg); color: var(--white); padding: 100px 0 40px; margin-top: 100px; }
        .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
        .footer-logo { font-size: 2.5rem; color: var(--accent); margin-bottom: 20px; display: block; }
        .footer-col h4 { font-size: 1.8rem; margin-bottom: 25px; border-bottom: 2px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
        .footer-col ul { list-style: none; }
        .footer-col ul li { margin-bottom: 12px; }
        .footer-col a { color: rgba(255,255,255,0.7); text-decoration: none; transition: 0.3s; }
        .footer-col a:hover { color: var(--accent); padding-left: 8px; }

        /* --- MODAL --- */
        #modal-overlay {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(18, 20, 129, 0.4); backdrop-filter: blur(8px);
            z-index: 2000; display: none; align-items: center; justify-content: center;
        }
        #modal-overlay.active { display: flex; }
        .modal-body {
            background: var(--bg-main); width: 90%; max-width: 800px; border-radius: 40px;
            padding: 50px; position: relative; border: 6px solid var(--accent);
            max-height: 85vh; overflow-y: auto; box-shadow: 0 30px 60px rgba(0,0,0,0.3);
            animation: zoomIn 0.4s ease;
        }
        @keyframes zoomIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
        .close-modal { position: absolute; top: 20px; right: 20px; cursor: pointer; color: var(--accent); }

        @media (max-width: 900px) {
            .hero-middle, .hero-features, .grid-3, .room-row, .admissions-split, .contact-box, .footer-grid {
                grid-template-columns: 1fr; flex-direction: column;
            }
            .highlight-box h1 { font-size: 3rem; }
            .nav-items { display: none; } /* Mobile would use a vertical drawer */
        }
        /* Popup styles */
.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: #111;
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    text-align: center;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

