/* --- 1. GENERAL SETTINGS (Root Variables) --- */
:root {
    --primary: #0056b3;
    --dark-blue: #003d80;
    --accent: #25d366; /* WhatsApp Green */
    --logo-green-dark: #1b5e20;
    --logo-green-light: #2e7d32;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --notify-bg: #fff3cd;
    
    /* 🟢 FONTS */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body { 
    background-color: var(--light-bg); 
    line-height: 1.6; 
    padding-bottom: 80px; 
    font-family: var(--font-body); 
    color: #333;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; }

/* --- 2. HEADER & NAVIGATION --- */
.top-bar { 
    background: var(--dark-blue); 
    color: white; 
    padding: 8px 0; 
    font-size: 0.85rem; font-family: var(--font-heading); 
}
.top-flex { display: flex; justify-content: space-between; align-items: center; }
.contact-info a { margin-right: 15px; letter-spacing: 0.5px; display: inline-flex; align-items: center; text-decoration: none; color: white; }
.contact-info i { color: var(--accent); margin-right: 5px; }
.social-icons-top a { color: white; margin-left: 10px; transition: 0.3s; }
.social-icons-top a:hover { color: var(--accent); }
.container { padding: 0 20px; max-width: 1200px; margin: 0 auto; }

#main-header { 
    background: var(--white); 
    padding: 10px 0; 
    position: sticky; top: 0; z-index: 1000; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); 
}
.header-flex { display: flex; justify-content: space-between; align-items: center; }

/* 🔹 LOGO STYLING (Bold Green Text - Original Font) */
.logo { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    text-decoration: none;
    cursor: pointer;
}

.logo img { 
    height: 65px; 
    width: auto; 
    margin-right: 5px; 
    transition: transform 0.4s ease; 
}

.logo-text { 
    display: flex; 
    flex-direction: column; 
    line-height: 1; /* Tight spacing */
    margin-left: 5px;
    transition: all 0.4s ease; 
}

/* "The" - Light Green & Bold */
.logo-text span:first-child { 
    font-family: var(--font-heading); /* Original Font */
    font-weight: 800; 
    font-size: 1.4rem; 
    color: #4caf50; /* Light Green */
    text-transform: uppercase;
    letter-spacing: -0.5px;
    text-shadow: 1px 1px 0px #1b5e20;
    margin-bottom: -2px;
    transition: all 0.3s ease;
}

/* "Admission Center" - Dark Green & Extra Bold */
.sub-logo, .logo-main { 
    font-family: var(--font-heading); /* Original Font */
    font-size: 1.9rem; 
    color: #1b5e20; /* Dark Green */
    font-weight: 900; 
    text-transform: uppercase; 
    letter-spacing: -1px;
    text-shadow: 2px 2px 0px #81c784; /* Light shadow */
    transition: all 0.4s ease;
}

/* Hover Effects */
.logo:hover img { transform: rotate(-5deg) scale(1.1); }
.logo:hover .logo-text span:first-child { 
    color: #2e7d32; 
    transform: translateY(-2px); 
}
.logo:hover .sub-logo, .logo:hover .logo-main { 
    color: #004d40; 
    text-shadow: 3px 3px 0px #81c784;
    transform: scale(1.02); 
}

/* Image Only Logo Support (Fallback) */
.brand-logo { 
    height: 75px; 
    width: auto; 
    object-fit: contain; 
    transition: transform 0.3s ease;
}
.logo:hover .brand-logo { transform: scale(1.05); }


nav ul { display: flex; align-items: center; gap: 30px; }
.nav-link { 
    font-family: var(--font-heading); font-weight: 600; 
    color: #444; font-size: 0.95rem; text-transform: uppercase; 
    position: relative;
}
.nav-link:hover { color: var(--accent); }

/* Header Button */
.header-btn { 
    font-family: var(--font-heading);
    background: linear-gradient(45deg, #25d366, #128c7e); 
    color: white !important; 
    padding: 10px 25px; 
    border-radius: 50px; 
    font-weight: 700; 
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); 
    letter-spacing: 0.5px;
    transition: transform 0.3s;
    display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; 
}
.header-btn:hover { transform: scale(1.05); }
.menu-toggle { display: none; font-size: 1.5rem; color: var(--logo-green-dark); cursor: pointer; }

/* Notification */
.notification-bar { background-color: var(--notify-bg); color: #856404; padding: 8px 20px; display: flex; align-items: center; border-bottom: 1px solid #ffeeba; font-size: 0.9rem; }
.notify-label { font-family: var(--font-heading); font-weight: 800; margin-right: 15px; text-transform: uppercase; white-space: nowrap; }
.notify-text { flex-grow: 1; overflow: hidden; }

/* --- 3. HERO SLIDER --- */
.hero-slider { position: relative; height: 70vh; width: 100%; overflow: hidden; }
.slider-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s ease-in-out; }
.slider-img.active { opacity: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: var(--white); padding: 20px; z-index: 2; }
.hero-content h1 { font-family: var(--font-heading); font-size: 3rem; margin-bottom: 15px; text-transform: uppercase; font-weight: 900; letter-spacing: 1px; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.1rem; margin-bottom: 25px; font-weight: 500; }
.btn { padding: 12px 30px; border-radius: 50px; font-family: var(--font-heading); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin: 5px; display: inline-block; transition: 0.3s; border: none; cursor: pointer; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.btn-primary { background: var(--primary); color: white; }
.btn-whatsapp { background: var(--accent); color: white; }

/* --- 4. POSTER & SECTIONS --- */
.promo-poster { background: linear-gradient(135deg, #1b5e20 0%, #003d80 100%); color: white; padding: 50px 20px; margin: 50px auto; border-radius: 25px; text-align: center; border: 5px solid #fff; outline: 3px solid #25d366; max-width: 1000px; box-shadow: 0 20px 50px rgba(0,0,0,0.2); position: relative; overflow: hidden; }
.poster-content h2 { font-family: var(--font-heading); font-size: 2.2rem; color: #ffeb3b; text-transform: uppercase; font-weight: 900; letter-spacing: 1px; }
.poster-content h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.2rem; margin-bottom: 20px; margin-top: 0; }
.poster-features { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.p-feature { background: rgba(255,255,255,0.2); padding: 8px 20px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; }
.poster-btn { background: #ffeb3b; color: #000; padding: 15px 35px; border-radius: 50px; font-weight: 800; display: inline-block; margin-top: 20px; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 1px; }

/* Sections */
.section-title { text-align: center; margin: 60px 0 30px; color: var(--logo-green-dark); font-size: 2rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; position: relative; }
.section-title::after { content: ''; display: block; width: 80px; height: 4px; background: var(--accent); margin: 10px auto; border-radius: 2px; }
.grid-box { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; margin-bottom: 60px; }
.course-card { background: var(--white); padding: 30px; border-radius: 20px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; border-bottom: 5px solid var(--logo-green-light); }
.course-card:hover { transform: translateY(-10px); }
.course-card i { font-size: 3rem; color: var(--logo-green-light); margin-bottom: 15px; }
.course-card h3 { margin: 15px 0 5px; font-size: 1.3rem; font-family: var(--font-heading); }
.course-card p { color: #666; font-size: 0.9rem; }

/* Process */
.steps-container { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-bottom: 50px; }
.step { background: var(--white); padding: 30px; width: 220px; text-align: center; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.step-num { background: var(--logo-green-dark); color: var(--white); width: 40px; height: 40px; border-radius: 50%; line-height: 40px; margin: 0 auto 15px; font-weight: 800; font-size: 1.2rem; font-family: var(--font-heading); }
.step h3 { font-size: 1.2rem; margin-bottom: 5px; }

/* --- 🟢 SLIDING REVIEWS --- */
.review-section { background: #fff; padding: 40px 0; overflow: hidden; }
.review-slider-window { width: 100%; overflow: hidden; position: relative; }
.review-track { display: flex; width: calc(350px * 8); animation: scroll 20s linear infinite; }
.review-slide { width: 350px; padding: 15px; flex-shrink: 0; }
.review-card { background: #f9f9f9; padding: 25px; border-radius: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-left: 5px solid var(--accent); position: relative; height: 100%; }
.quote-icon { font-size: 2rem; color: #ddd; position: absolute; top: 10px; right: 20px; }
.review-text { font-style: italic; font-size: 0.9rem; color: #555; margin-bottom: 15px; line-height: 1.5; }
.student-info { display: flex; align-items: center; gap: 10px; }
.student-info img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.student-info h4 { margin: 0; font-size: 1rem; color: var(--dark-blue); }
.student-info span { font-size: 0.8rem; color: #777; }
.stars { color: #ffc107; margin-top: 10px; font-size: 0.9rem; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-350px * 4)); } 
}

/* Contact */
.contact-wrapper { display: flex; flex-wrap: wrap; gap: 30px; background: white; padding: 40px; border-radius: 20px; margin-bottom: 40px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.contact-info-box { flex: 1; min-width: 300px; }
.contact-info-box h3 { font-size: 1.8rem; margin-bottom: 25px; color: var(--dark-blue); }
.contact-item { display: flex; align-items: flex-start; margin-bottom: 25px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.contact-item i { font-size: 24px; color: var(--dark-blue); margin-right: 15px; margin-top: 5px; width: 40px; text-align: center; }
.contact-item h4 { font-family: var(--font-heading); font-size: 1.1rem; margin: 0 0 5px; color: #333; }
.contact-item p { margin: 0; color: #555; font-size: 0.95rem; }
.map-box { flex: 1; min-width: 300px; height: 350px; border-radius: 15px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.map-box iframe { width: 100%; height: 100%; border: 0; }
.map-link-btn { font-family: var(--font-heading); font-weight: 700; background: #db4437; color: white; padding: 12px 25px; border-radius: 50px; display: inline-block; margin-top: 10px; font-size: 0.9rem; }

/* Enquiry Form */
.enquiry-section { background: var(--dark-blue); padding: 50px 20px; border-radius: 25px; color: var(--white); text-align: center; margin-bottom: 50px; }
.enquiry-section h2 { font-size: 2.2rem; margin-bottom: 10px; }
.form-box { max-width: 500px; margin: auto; }
.form-box input, .form-box select { width: 100%; padding: 15px; margin: 10px 0; border-radius: 10px; border: none; font-size: 1rem; font-family: var(--font-body); }
.form-box button { width: 100%; padding: 15px; background: var(--accent); color: white; border: none; border-radius: 10px; font-size: 1.1rem; font-weight: 800; cursor: pointer; text-transform: uppercase; font-family: var(--font-heading); transition: 0.3s; }
.form-box button:hover { background: #128c7e; letter-spacing: 1px; }

/* --- 5. ABOUT PAGE STYLES --- */
.page-header { background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?q=80&w=1600&auto=format&fit=crop'); background-size: cover; background-position: center; height: 350px; display: flex; align-items: center; justify-content: center; color: white; text-align: center; margin-bottom: 50px; }
.page-header h1 { font-size: 3rem; letter-spacing: 2px; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); text-transform: uppercase; }
.page-header p { font-size: 1.2rem; margin-top: 10px; font-family: var(--font-body); }
.mission-box { background: var(--white); padding: 50px; border-radius: 20px; margin: 0 auto 50px; max-width: 1000px; box-shadow: 0 20px 60px rgba(0,0,0,0.08); text-align: center; border-top: 5px solid var(--accent); }
.mission-box h2 { color: var(--dark-blue); margin-bottom: 20px; font-size: 2rem; }
.mission-box p { font-size: 1.1rem; color: #555; }
.team-section { padding: 40px 20px; max-width: 1200px; margin: 0 auto; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 40px; }
.team-card { background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 30px rgba(0,0,0,0.1); text-align: center; transition: transform 0.3s; border-bottom: 5px solid var(--accent); }
.team-card:hover { transform: translateY(-10px); }
.member-img { width: 100%; height: 320px; object-fit: cover; object-position: top; }
.member-info { padding: 25px; }
.member-info h3 { font-size: 1.3rem; color: var(--dark-blue); margin-bottom: 5px; }
.member-info .designation { color: var(--logo-green-dark); font-weight: bold; font-size: 0.95rem; display: block; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.connect-btn { display: inline-block; padding: 10px 25px; background: #25d366; color: white; border-radius: 50px; font-weight: 700; font-size: 0.9rem; margin-top: 10px; font-family: var(--font-heading); box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3); }
.connect-btn:hover { background: #128c7e; transform: scale(1.05); }

/* --- 6. FOOTER --- */
.main-footer { background: linear-gradient(to right, #111, #222); color: #ddd; padding-top: 60px; margin-top: 50px; border-top: 5px solid var(--accent); }
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; max-width: 1200px; margin: 0 auto; padding: 0 20px 40px; }
.footer-col h3 { color: white; font-family: var(--font-heading); letter-spacing: 1px; margin-bottom: 20px; border-left: 4px solid var(--accent); padding-left: 10px; font-size: 1.2rem; }
.footer-col p { font-size: 0.9rem; color: #bbb; margin-bottom: 10px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #bbb; transition: 0.3s; display: block; font-size: 0.95rem; }
.footer-links a:hover { color: var(--accent); transform: translateX(5px); }
.footer-contact li { display: flex; align-items: start; gap: 10px; margin-bottom: 15px; font-size: 0.9rem; }
.footer-contact i { color: var(--accent); margin-top: 4px; }
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-links a { width: 40px; height: 40px; background: #333; color: white; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: 0.3s; }
.social-links a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-bottom { background: #000; padding: 20px; font-size: 0.8rem; color: #888; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 1px; text-align: center; border-top: 1px solid #333; }

/* --- 7. CHATBOT & MOBILE NAV --- */
.chat-widget { position: fixed; bottom: 90px; right: 20px; z-index: 2000; }
.chat-btn { background: var(--logo-green-dark); color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 30px; cursor: pointer; animation: bounce 2s infinite; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.chat-box { display: none; position: absolute; bottom: 75px; right: 0; width: 300px; background: white; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.2); overflow: hidden; flex-direction: column; }
.chat-header { background: var(--logo-green-dark); color: white; padding: 15px; font-weight: bold; display: flex; justify-content: space-between; font-family: var(--font-heading); letter-spacing: 0.5px; }
.chat-body { padding: 15px; height: 250px; overflow-y: auto; background: #f9f9f9; font-size: 0.9rem; }
.bot-msg { background: #e0e0e0; padding: 8px 12px; border-radius: 15px 15px 15px 0; margin-bottom: 10px; width: fit-content; }
.user-msg { background: var(--logo-green-light); color: white; padding: 8px 12px; border-radius: 15px 15px 0 15px; margin-bottom: 10px; margin-left: auto; width: fit-content; }
.chat-options { padding: 10px; display: flex; flex-wrap: wrap; gap: 5px; border-top: 1px solid #ddd; background: #fff; }
.option-btn { background: white; border: 1px solid var(--logo-green-light); color: var(--logo-green-light); padding: 8px 12px; border-radius: 15px; font-size: 0.85rem; cursor: pointer; transition: 0.3s; font-family: var(--font-heading); font-weight: 600; }
.option-btn:hover { background: var(--logo-green-light); color: white; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% {transform: translateY(0);} 40% {transform: translateY(-10px);} 60% {transform: translateY(-5px);} }

.bottom-nav { display: none; justify-content: space-around; align-items: center; position: fixed; bottom: 0; left: 0; width: 100%; background: white; height: 65px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); z-index: 1000; border-top-left-radius: 15px; border-top-right-radius: 15px; }
.nav-item { display: flex; flex-direction: column; align-items: center; color: #555; font-size: 0.8rem; flex: 1; transition: 0.3s; }
.nav-item.active { color: var(--logo-green-dark); font-weight: bold; }
.nav-center { position: relative; top: -25px; }
.nav-center div { background: var(--accent); color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 2rem; border: 5px solid var(--light-bg); box-shadow: 0 5px 10px rgba(37, 211, 102, 0.4); }

/* --- 8. MOBILE RESPONSIVE FIX (New & Working) --- */
@media (max-width: 768px) {
    .top-bar { display: none; }
    
    /* Menu Icon (Visible on Mobile) */
    .menu-toggle { 
        display: block; 
        font-size: 1.8rem; 
        color: var(--logo-green-dark); 
        cursor: pointer; 
    }
    
    /* Navbar Adjustment for Mobile */
    #navbar {
        width: 100%;
        position: absolute;
        top: 100%; /* Header ke neeche */
        left: 0;
        z-index: 999;
    }

    #navbar ul { 
        display: none; /* Default Hidden */
        flex-direction: column; 
        background: white; 
        text-align: center; 
        padding: 20px 0; 
        box-shadow: 0 10px 15px rgba(0,0,0,0.1); 
        gap: 20px; 
        border-top: 2px solid var(--accent);
    }

    /* Active Class (JS se add hogi) */
    #navbar.active ul { 
        display: flex !important; /* Force Show */
        animation: slideDown 0.4s ease forwards; 
    }
    
    .header-btn { display: inline-block; width: auto; margin-top: 10px; }
    .hero-slider { height: 60vh; }
    .hero-content h1 { font-size: 2rem; }
    
    .bottom-nav { display: flex; }
    .chat-widget { bottom: 80px; right: 10px; }
    .contact-wrapper { flex-direction: column; }
    
    /* Mobile Logo Text Adjust */
    .logo img { height: 50px; }
    .logo-text span:first-child { font-size: 1rem; }
    .sub-logo, .logo-main { font-size: 1.3rem; }
    .header-flex { padding: 5px 15px; position: relative; } /* Relative zaroori hai dropdown ke liye */
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}