/* ======= VARIABLES & RESETS ======= */
:root {
    --primary-color: #0d6efd; /* Vibrant Blue */
    --primary-hover: #0b5ed7;
    --secondary-color: #ff9800; /* Warm Orange for kids/fun */
    --secondary-hover: #e68a00;
    --accent-cursive: #198754; /* Green */
    --accent-math: #dc3545; /* Red */
    --accent-hindi: #6f42c1; /* Purple */
    --accent-drawing: #0dcaf0; /* Cyan */
    --accent-kinder: #fd7e14; /* Orange */
    
    --bg-light: #f8f9fa;
    --text-main: #333333;
    --text-muted: #6c757d;
    --white: #ffffff;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--bg-light); }
.hide-for-now { display: none; }

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}
.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 50px;
}

/* ======= BUTTONS ======= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn i { margin-right: 8px; }

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

.btn-primary:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(13, 110, 253, 0.3);
}

.btn-secondary {
    background: #25D366; /* WhatsApp Green */
    color: var(--white);
    border: 2px solid #25D366;
}

.btn-secondary:hover {
    background: #1EBD5A;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

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

/* ======= NAVBAR ======= */
.navbar {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: transparent;
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {

    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-math) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.sst-badge {
    background: linear-gradient(135deg, var(--accent-math) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    box-shadow: 0 4px 10px rgba(220, 53, 69, 0.3);
    text-transform: uppercase;
}

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

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

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

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

.nav-links a:hover::after { width: 100%; }

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

/* SEARCH BAR Navbar */
.search-container {
    position: relative;
    margin: 0 20px;
    flex-grow: 1;
    max-width: 300px;
}

.search-container input {
    width: 100%;
    padding: 10px 15px 10px 40px;
    border-radius: 50px;
    border: 1px solid #ddd;
    background: rgba(255,255,255,0.8);
    font-family: var(--font-body);
    outline: none;
    transition: var(--transition);
}

.search-container input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13,110,253,0.1);
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    margin-top: 10px;
    z-index: 1001;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.search-result-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--bg-light); }
.search-result-title { font-weight: 600; color: var(--text-main); font-size: 0.95rem;}
.search-result-desc { font-size: 0.8rem; color: var(--text-muted); margin-top: 3px; }

.hamburger { display: none; cursor: pointer; font-size: 1.5rem; color: var(--primary-color);}

/* ======= HERO SECTION ======= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 140px 5% 40px 5%;
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0fa 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: var(--secondary-color);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(80px);
}

.badge {
    display: inline-block;
    background: rgba(13, 110, 253, 0.1);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.hero-content {
    max-width: 600px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.hero-content p {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 30px;
}

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

.hero-image-placeholder {
    position: relative;
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, var(--primary-color), #4dabf7);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphing 10s ease-in-out infinite;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
}

@keyframes morphing {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
}

.floating-card {
    position: absolute;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(5px);
    padding: 20px;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

.kids-learning {
    top: 10%;
    left: -20%;
    font-size: 2rem;
    color: var(--secondary-color);
}
.cursive-art {
    bottom: 10%;
    right: -10%;
    font-family: 'Brush Script MT', cursive;
    font-size: 1.5rem;
    color: var(--accent-cursive);
    animation-delay: 2s;
}

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

/* ======= ABOUT SECTION ======= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.photo-placeholder {
    width: 100%;
    height: 400px;
    background: #e9ecef;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #adb5bd;
    font-weight: 500;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.05);
}
.fade-icon { font-size: 4rem; margin-bottom: 15px;}

.subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p { margin-bottom: 15px; }

.about-highlights { margin-top: 25px; }
.about-highlights li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-weight: 500;
}
.about-highlights i {
    color: var(--secondary-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover::before { transform: scaleX(1); }

.icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.color-cursive { background: rgba(25, 135, 84, 0.1); color: var(--accent-cursive); }
.color-math { background: rgba(220, 53, 69, 0.1); color: var(--accent-math); }
.color-hindi { background: rgba(111, 66, 193, 0.1); color: var(--accent-hindi); }
.color-drawing { background: rgba(13, 202, 240, 0.1); color: var(--accent-drawing); }
.color-kinder { background: rgba(253, 126, 20, 0.1); color: var(--accent-kinder); }

.grade-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
    background: #f1f3f5;
    padding: 4px 10px;
    border-radius: 5px;
    margin: 10px 0 15px 0;
}

.service-card h3 { font-size: 1.4rem; color: #1a1a1a; }

/* ======= BOOTCAMPS ======= */
.bootcamp-banner {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 25px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.bootcamp-banner::after {
    content: '';
    position: absolute;
    width: 200px;height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -50px; right: -50px;
}

.seasonal-badge {
    background: rgba(255,255,255,0.2);
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.bootcamp-info h2 { font-size: 2.2rem; margin-bottom: 15px; }
.bootcamp-info p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 25px; max-width: 500px;}
.giant-icon { font-size: 8rem; opacity: 0.2; transform: rotate(15deg); }

/* ======= TESTIMONIALS SLIDER ======= */
.testimonial-slider-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

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

.testimonial-slide {
    min-width: 100%;
    padding: 0 20px;
}

.quote-icon {
    font-size: 2.5rem;
    color: rgba(13, 110, 253, 0.1);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: #444;
    margin-bottom: 20px;
}

.testimonial-author {
    color: var(--primary-color);
    font-weight: 700;
}

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

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

.slider-dots { display: flex; gap: 8px; }
.dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #dde2e5;
    cursor: pointer;
    transition: var(--transition);
}
.dot.active { background: var(--primary-color); width: 20px; border-radius: 5px;}

/* ======= FOOTER ======= */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 80px 0 20px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand h2 { color: var(--white); margin-bottom: 15px;}
.footer-brand p { color: #999; margin-bottom: 20px;}
.social-icons a {
    display: inline-block;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: var(--transition);
}
.social-icons a:hover { background: var(--primary-color); }

.footer-contact h3, .footer-qr h3 { font-size: 1.2rem; margin-bottom: 20px; color: var(--white);}
.contact-list li { margin-bottom: 15px; color: #999; display: flex; align-items: center;}
.contact-list i { color: var(--secondary-color); margin-right: 10px; width: 20px;}
.contact-list a { color: #999; transition: var(--transition); }
.contact-list a:hover { color: var(--white); text-decoration: underline;}

.qr-box {
    background: var(--white);
    padding: 10px;
    border-radius: 10px;
    display: inline-block;
    margin-bottom: 10px;
}
.qr-image { width: 120px; height: 120px; border: none; outline: none; display: block; }
.qr-hint { font-size: 0.85rem; color: #777; }

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    color: #777;
    font-size: 0.9rem;
}

/* ======= CHATBOT ======= */
.chatbot-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chatbot-toggle {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(13, 110, 253, 0.4);
    transition: var(--transition);
    position: relative;
    display: flex; justify-content: center; align-items: center;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    background: var(--primary-hover);
}

.chatbot-tooltip {
    position: absolute;
    right: 80px;
    background: #333;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
    font-family: var(--font-body);
}

.chatbot-toggle:hover .chatbot-tooltip {
    opacity: 1;
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: bottom right;
}

.chatbot-window.hidden {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.chatbot-header {
    background: var(--primary-color);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.chatbot-close {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
}

.chatbot-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #f8f9fa;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 0.95rem;
    line-height: 1.4;
}

.bot-message {
    background: white;
    color: #333;
    align-self: flex-start;
    border-bottom-left-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.user-message {
    background: var(--primary-color);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.chatbot-input-area {
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.chatbot-input-area input {
    flex-grow: 1;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 50px;
    outline: none;
    font-family: var(--font-body);
}

.chatbot-input-area input:focus { border-color: var(--primary-color);}

.chatbot-input-area button {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 40px; height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}
.chatbot-input-area button:hover { background: var(--primary-hover); transform: scale(1.05);}

/* ======= FAQ ACCORDION ======= */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.faq-item {
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    background: white;
    box-shadow: var(--shadow-sm);
}
.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: white;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
}
.faq-question:hover {
    color: var(--primary-color);
}
.faq-question.active {
    color: var(--primary-color);
    background: #f8f9fa;
}
.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}
.faq-question.active .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: white;
}
.faq-answer p {
    padding: 0 20px;
    color: #555;
}
.faq-question.active + .faq-answer {
    padding-bottom: 20px;
}

/* ======= INQUIRY FORM ======= */
.inquiry {
    background: #ffffff;
}
.inquiry-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 20px 0;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.inquiry-form input,
.inquiry-form select {
    width: 100%;
    padding: 15px 20px;
    border: 3px solid #008b8b;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    color: #333;
    background: white;
    font-weight: 700;
}

.inquiry-form input::placeholder {
    color: #000;
    font-weight: 700;
    opacity: 1;
}

.inquiry-form input:focus,
.inquiry-form select:focus {
    box-shadow: 0 0 0 3px rgba(0, 139, 139, 0.2);
}

.input-icon-group {
    display: flex;
    flex-direction: row;
}

.input-icon-group .input-icon-wrapper {
    background: transparent;
    border: 3px solid #008b8b;
    border-right: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    min-width: 50px;
    border-radius: 5px 0 0 5px;
    color: #000;
    font-size: 1.1rem;
}

.input-icon-group input {
    border-radius: 0 5px 5px 0;
}

.form-group.has-select {
    position: relative;
}

.inquiry-form select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.select-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #000;
}

.submit-btn {
    background: #008b8b;
    color: white;
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
}

.submit-btn:hover {
    background: #006b6b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 139, 139, 0.3);
}

/* ======= RESPONSIVENESS ======= */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    
    .hero { flex-direction: column; text-align: center; padding-top: 120px; }
    .hero-content { margin-bottom: 50px; }
    .hero-buttons { justify-content: center; }
    
    .about-grid { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero-buttons { flex-direction: column; }
    .bootcamp-banner { flex-direction: column; text-align: center; }
    .giant-icon { display: none; }
    .footer-grid { grid-template-columns: 1fr; }
    .search-container { display: none; /* Hide complex search on mobile to save space, rely on chatbot */ }
    
    .inquiry-form {
        grid-template-columns: 1fr;
    }
}
