@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    /* Color Palette */
    --primary: #0284c7; /* Sky Blue */
    --primary-gradient: linear-gradient(135deg, #38bdf8, #0284c7);
    --secondary: #8b5cf6; /* Soft Purple */
    --secondary-gradient: linear-gradient(135deg, #a78bfa, #8b5cf6);
    --accent: #10b981; /* Light Green */
    --primary-light: #e0f2fe;
    
    --bg-color: #f0f7ff;
    --text-main: #0f172a;
    --text-muted: #475569;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.8);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    
    --white: #ffffff;
    --radius: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    --bg-color: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --glass-bg: rgba(30, 41, 59, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    
    --primary-light: #0c4a6e;
    --white: #1e293b;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', 'Hind Siliguri', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s, color 0.3s;
}

/* Utilities */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--radius);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-header .line {
    height: 4px;
    width: 80px;
    background: var(--secondary-gradient);
    margin: 0 auto;
    border-radius: 4px;
}

section {
    padding: 5rem 5%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(2, 132, 199, 0.4);
}

.btn-secondary {
    background: var(--secondary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-whatsapp-outline {
    background: transparent;
    border: 2px solid #25D366;
    color: #25D366;
}

.btn-whatsapp-outline:hover {
    background: #25D366;
    color: white;
}

/* Loader */
#loader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s;
}

.spinner {
    width: 50px; height: 50px;
    border: 5px solid var(--primary-light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Top Notice */
.top-notice {
    background: var(--secondary-gradient);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Navbar */
.navbar {
    position: sticky;
    top: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    padding: 0 5%;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--glass-shadow);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-en {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-bn {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
    border-left: 2px solid var(--text-muted);
    padding-left: 8px;
}

.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-book-nav {
    background: var(--primary);
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
}
.btn-book-nav::after { display: none; }
.btn-book-nav:hover { background: var(--secondary); }

.nav-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.theme-btn, .hamburger {
    background: transparent;
    border: none;
    font-size: 1.2rem;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
}

.hamburger { display: none; }

/* Hero Section */
.hero {
    position: relative;
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.shape-1 { width: 400px; height: 400px; background: rgba(2, 132, 199, 0.2); top: -100px; left: -100px; }
.shape-2 { width: 300px; height: 300px; background: rgba(139, 92, 246, 0.2); bottom: 100px; right: -50px; }
.shape-3 { width: 250px; height: 250px; background: rgba(16, 185, 129, 0.15); top: 50%; left: 40%; transform: translate(-50%, -50%); }

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    animation: fadeUp 1s ease forwards;
}

.tagline {
    color: var(--secondary);
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    color: transparent;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero-contact-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    max-width: 600px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.focus-areas h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.focus-areas ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.focus-areas li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.focus-areas li i {
    color: var(--accent);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--glass-shadow);
}

.service-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    border-color: var(--primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Facilities */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.facility-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--glass-bg);
    border-radius: 15px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.facility-card:hover {
    transform: scale(1.05);
    background: var(--secondary-gradient);
    color: white;
}

.facility-card i {
    font-size: 1.5rem;
    color: var(--primary);
}

.facility-card:hover i {
    color: white;
}

/* Awareness */
.awareness-banner {
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ribbon-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.awareness-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.theme-text {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
    font-style: italic;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    animation: zoomIn 0.3s;
}

.close-lightbox {
    position: absolute;
    top: 20px; right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Testimonials */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 40px;
    text-align: center;
}

.stars {
    color: #fbbf24;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.review-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 30px;
}

.parent-info h4 {
    color: var(--primary);
    margin-bottom: 5px;
}

.parent-info span {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.parent-avatar {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.slider-controls button {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.slider-controls button:hover {
    background: var(--secondary);
}

/* Booking Form */
.booking-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
}

.booking-info h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.booking-history-btn {
    margin-top: 30px;
}

.booking-form-wrapper {
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.required {
    color: #ef4444;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--text-muted);
    border-radius: 10px;
    background: var(--bg-color);
    color: var(--text-main);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
}

.btn-block {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
    position: relative;
    background: var(--bg-color);
}

.close-modal {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 30px;
    cursor: pointer;
}

.booking-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.booking-item {
    background: var(--white);
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--glass-shadow);
}

.booking-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-details {
    padding: 40px;
}

.contact-methods {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    color: var(--primary);
}

.contact-item .icon {
    width: 50px; height: 50px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-call {
    background: var(--primary);
    color: white;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 60px 5% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-logo span {
    color: var(--primary);
}

.footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 3px;
    background: var(--primary);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
}

/* Floating Elements */
.floating-whatsapp {
    position: fixed;
    bottom: 30px; left: 30px;
    width: 60px; height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: var(--glass-shadow);
    z-index: 1000;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

.back-to-top {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: var(--glass-shadow);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #10b981;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: var(--glass-shadow);
    z-index: 3000;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title { font-size: 2.5rem; }
    .about-container { grid-template-columns: 1fr; }
    .booking-container { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    
    .nav-menu {
        position: fixed;
        top: 108px; /* Below top notice and navbar */
        left: -100%;
        width: 100%;
        height: calc(100vh - 108px);
        background: var(--bg-color);
        flex-direction: column;
        justify-content: center;
        transition: 0.3s;
    }
    
    .nav-menu.active { left: 0; }
    
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons, .hero-contact-btns { justify-content: center; }
    
    .form-row { grid-template-columns: 1fr; }
}
