/* /* --- 1. GLOBAL RESET & VARIABLES --- */
:root {
    --primary: #1e293b;       /* Deep Navy */
    --secondary: #0f172a;     /* Darker Navy */
    --accent: #f59e0b;        /* Gold/Amber */
    --text-light: #f8fafc;
    --text-dim: #94a3b8;
    --header-height: 100px;
}

body {
    margin: 0;
    padding-top: var(--header-height); /* Prevents content from hiding under header */
    font-family: 'Inter', sans-serif;
}

/* --- 2. HEADER / NAVBAR STYLES --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-bottom: 3px solid var(--accent);
}

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

/* Logo & School Name */
.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.school-logo {
    height: 65px;
    width: auto;
    border-radius: 8px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.school-name {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.2;
}

.school-tagline {
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

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

/* --- 3. FOOTER STYLES --- */
.main-footer {
    background: var(--secondary);
    color: var(--text-dim);
    padding: 80px 0 20px 0;
    margin-top: 60px;
    border-top: 5px solid var(--primary);
}

.footer-grid {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr; /* Three distinct columns */
    gap: 60px;
}

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

/* Gold line under footer headings */
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
}

.footer-col p {
    line-height: 1.6;
    font-size: 0.95rem;
}

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

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

.footer-col ul li a {
    color: var(--text-dim);
    text-decoration: none;
    transition: 0.3s;
}

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

.footer-logo {
    height: 55px;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.contact-item {
    margin-bottom: 18px;
}

.contact-item strong {
    color: var(--accent);
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}

/* --- 4. RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Stack footer columns on mobile */
        text-align: center;
        gap: 40px;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .nav-links {
        display: none; /* Hide nav links on mobile (add a burger menu later) */
    }

    .school-name {
        font-size: 1.1rem;
    }
}
/* Hero */
.hero { height: 70vh; background: linear-gradient(rgba(15,23,42,0.7), rgba(15,23,42,0.7)), url('hero-bg.jpg') center/cover; display: flex; align-items: center; justify-content: center; color: white; text-align: center; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; }

/* Tables */
.disclosure-table { width: 100%; border-collapse: collapse; margin-top: 20px; background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.05); }
.disclosure-table th, .disclosure-table td { padding: 18px; text-align: left; border-bottom: 1px solid #e2e8f0; }
.disclosure-table th { background: #f1f5f9; color: var(--primary); }

/* Buttons */
.btn-view { background: var(--accent); color: white; padding: 8px 16px; border-radius: 6px; text-decoration: none; font-size: 0.85rem; }
.btn-primary { background: var(--accent); color: white; padding: 15px 30px; border-radius: 8px; text-decoration: none; font-weight: bold; }

Footer */
footer { background: var(--primary); color: white; padding: 60px 5%; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
.footer-grid h4 { margin-bottom: 20px; color: var(--accent); }
/* --- Extra Modern Page Styles ---

/* Text Eyebrow (Above headings) */
.eyebrow { font-size: 0.8rem; font-weight: bold; color: var(--accent); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 5px; display: block; }
.page-title-section { text-align: center; padding-bottom: 60px; }

/* 1. Gallery Grid (Filterable) */
.gallery-filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter-btn { background: var(--white); border: 1px solid #e2e8f0; color: var(--primary); padding: 10px 20px; border-radius: 50px; cursor: pointer; font-weight: 600; transition: all 0.3s; }
.filter-btn.active, .filter-btn:hover { background: var(--accent); color: white; border-color: var(--accent); box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 15px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 12px; height: 250px; opacity: 1; transition: opacity 0.4s ease; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item.hide { display: none; opacity: 0; }
.gallery-item .overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: white; display: flex; align-items: flex-end; }
.gallery-item .overlay span { font-size: 1.1rem; font-weight: 600; }

/* 2. Facilities (Vertical Stack) */
.facility-section { display: flex; align-items: center; position: relative; margin-bottom: 100px; }
.facility-image { width: 50%; height: 80vh; background-size: cover; background-position: center; filter: brightness(0.9); }
.facility-text { position: absolute; left: 5%; width: 50%; background: var(--white); padding: 50px; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.1); border-left: 5px solid var(--accent); }
.facility-text h3 { color: var(--primary); font-size: 2rem; margin-bottom: 15px; }

/* Right Align Odd Sections */
.facility-section.even { justify-content: flex-end; }
.facility-section.even .facility-text { left: auto; right: 5%; border-left: none; border-right: 5px solid var(--accent); }

/* 3. Contact Us (Dual Plane) */
.contact-page { padding-bottom: 100px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: center; }
.contact-info-panel .description { margin: 20px 0 40px; }
.info-block { margin-bottom: 25px; }
.info-block h4 { color: var(--primary); }

.contact-form-panel { background: var(--white); padding: 40px; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }
.input-group { margin-bottom: 20px; }
.input-group label { display: block; font-weight: bold; margin-bottom: 8px; font-size: 0.85rem; }
.input-group input, .input-group select, .input-group textarea { width: 100%; padding: 15px; border: 1px solid #e2e8f0; border-radius: 8px; font-family: inherit; font-size: 1rem; }
.input-group input:focus, .input-group textarea:focus { outline: none; border-color: var(--accent); }
.form-submit { width: 100%; border: none; cursor: pointer; }

/* Responsive Adjustments for new pages */
@media (max-width: 900px) {
    .facility-section { flex-direction: column; margin-bottom: 50px; height: auto; }
    .facility-image { width: 100%; height: 300px; }
    .facility-text { position: static; width: 100%; border-radius: 0; box-shadow: none; border-left: none; padding: 30px 5%; border-bottom: 5px solid var(--accent); }
    .facility-section.even .facility-text { border-right: none; }
    .contact-grid { grid-template-columns: 1fr; }
}
/* --- High-End Home Page Enhancements --- */

/* Gradient Text */
.text-gradient {
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Premium */
.hero-premium {
    height: 90vh;
    background: linear-gradient(rgba(15,23,42,0.8), rgba(15,23,42,0.5)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?q=80&w=1200');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax Effect */
    display: flex;
    align-items: center;
    padding: 0 10%;
}

.hero-overlay h1 { font-size: 4.5rem; color: white; line-height: 1.1; margin: 20px 0; font-weight: 800; }
.hero-overlay .badge { background: var(--accent); color: white; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }

.hero-btns { display: flex; gap: 20px; margin-top: 30px; }
.btn-outline { border: 2px solid white; color: white; padding: 15px 30px; border-radius: 8px; text-decoration: none; font-weight: bold; transition: 0.3s; }
.btn-outline:hover { background: white; color: var(--primary); }

/* Floating Button */
.floating-apply {
    position: fixed;
    right: -50px;
    top: 50%;
    transform: rotate(-90deg);
    background: #ef4444;
    color: white;
    padding: 15px 25px;
    text-decoration: none;
    font-weight: bold;
    z-index: 2000;
    border-radius: 8px 8px 0 0;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
}

/* Stats Bar */
.stats-bar {
    display: flex;
    justify-content: space-around;
    background: var(--white);
    padding: 50px 10%;
    margin-top: -60px;
    z-index: 10;
    position: relative;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.stat-item { text-align: center; }
.stat-item h2 { font-size: 2.5rem; color: var(--accent); }

/* Principal Section */
.principal-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.p-image-box { position: relative; }
.p-image-box img { width: 100%; border-radius: 30px; }
.p-experience-card {
    position: absolute; bottom: 20px; right: -20px;
    background: var(--primary); color: white;
    padding: 20px; border-radius: 15px; font-weight: bold;
}

/* Feature Cards (Glassmorphism) */
.bg-dark { background: var(--primary); padding: 100px 0; }
.feature-grid-premium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 50px; }
.f-card {
    background: rgba(255,255,255,0.05);
    padding: 40px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1);
    color: white; transition: 0.4s;
}
.f-card:hover { background: var(--accent); transform: translateY(-10px); }
.f-card .icon { font-size: 3rem; margin-bottom: 20px; }

/* News Cards */
.news-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 30px; }
.news-card { background: white; padding: 30px; border-radius: 15px; border-left: 5px solid var(--accent); }
.news-card .date { font-weight: bold; color: var(--accent); margin-bottom: 10px; }

/* Responsive */
@media (max-width: 768px) {
    .hero-overlay h1 { font-size: 2.5rem; }
    .principal-section, .feature-grid-premium, .news-grid { grid-template-columns: 1fr; }
    .stats-bar { flex-wrap: wrap; gap: 20px; }
}
/* --- Facilities Size & Shape Adjustment --- */

.facilities-page {
    padding-top: 100px;
    background-color: #f8fafc; /* Subtle background for contrast */
}

.page-title-section {
    padding: 100px 0 60px;
    text-align: center;
}

/* 1. Main Row Container - Symmetrical Layout */
.facility-row {
    display: flex;
    flex-wrap: wrap; 
    align-items: center; /* Vertically center content */
    justify-content: center; /* Horizontally center contents */
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 50px auto; /* Centered with bottom spacing */
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden; /* Important for border-radius on children */
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #eee;
}

/* Reversing logic for Z-Pattern */
.facility-row.reverse {
    flex-direction: row-reverse;
}

/* 2. Image: NEW Size & Shape */
.facility-image {
    flex: 0 0 40%; /* Decreased width to 40% */
    height: 350px; /* Fixed height for consistency */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* NEW Shape: Rounded andInset */
    margin: 20px; /* Spacing around the image inside the card */
    border-radius: 16px; /* Rounded corners for the image itself */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); /* Soft drop shadow */
}

/* 3. Content: NEW Size and Spacing */
.facility-content {
    flex: 0 0 60%; /* Increased width to 60% */
    display: flex;
    justify-content: center; /* Horizontally center text buffer */
    padding: 40px;
}

/* Inner Buffer to control line length */
.content-buffer {
    max-width: 480px;
    width: 100%;
}

/* Facility Badge (Optional, but adds style) */
.facility-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.1);
    color: #6366f1;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* Typography Polish */
.content-buffer h3 {
    font-size: 2rem; /* Balanced size */
    color: #1e293b;
    margin-bottom: 15px;
    font-weight: 800;
}

.content-buffer p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #64748b;
}

/* Responsive Alignment */
@media (max-width: 992px) {
    .facility-row {
        flex-direction: column !important; /* Stack vertically on mobile */
        width: 100%;
        border-radius: 0;
        margin: 0 0 30px 0;
    }
    
    .facility-image {
        flex: 0 0 100%;
        width: calc(100% - 40px); /* 100% minus the margin */
        height: 280px;
        margin: 20px auto 0;
    }
    
    .facility-content {
        flex: 0 0 100%;
        text-align: center;
        padding: 40px 20px;
    }

    .content-buffer h3 {
        font-size: 1.8rem;
    }
}
/* --- Admission Page Styles --- */

.admission-page {
    padding-top: 60px; /* Adjust based on navbar height */
    background: #f8fafc;
    padding-bottom: 80px;
}

.page-header {
    text-align: center;
    max-width: 1100px;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 50px;
    font-weight: 900;
}

/* Admission Process Steps */

/* --- Centering Logic --- */

/* 1. The Main Page Wrapper */
.admission-page {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers children horizontally */
    justify-content: flex-start;
    width: 100%;
    padding-top: 140px; /* Space for the fixed header */
    padding-bottom: 80px;
    background: #f8fafc;
}

/* 2. The Content Container */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto; /* The "Magic" line that centers the block itself */
    text-align: center; /* Centers the text inside the block */
}

/* 3. The Grid Alignment */
.admission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
    margin: 50px auto; /* Centers the grid */
    justify-content: center; /* Centers grid items if they don't fill the row */
}

/* 4. Fix for the Documents and FAQ sections */
.docs-section, .faq-section {
    margin-left: auto;
    margin-right: auto;
    text-align: left; /* Keeps text readable while the box stays centered */
    max-width: 900px;
}

.docs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    justify-content: center;
}

/* 5. Center the Download Buttons */
.download-box {
    display: flex;
    justify-content: center; /* Centers buttons side-by-side */
    gap: 20px;
    margin-top: 50px;
    width: 100%;
}
/* Documents Section */
.docs-section {
    background: var(--primary);
    color: white;
    padding: 60px;
    border-radius: 30px;
    margin: 60px 0;
    text-align: left;
}

.docs-section h2 {
    color: var(--accent);
    margin-bottom: 30px;
    font-size: 2rem;
}

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

.docs-grid ul {
    list-style: none;
    padding: 0;
}

.docs-grid ul li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.docs-grid ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 60px;
    text-align: left;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
}

.faq-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
}

.faq-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Download & Buttons */
.download-box {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    transition: 0.3s;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
}

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

/* Responsive */
@media (max-width: 768px) {
    .docs-grid { grid-template-columns: 1fr; }
    .download-box { flex-direction: column; }
    .admission-page { padding-top: 120px; }
}