/* --- General Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f4f4f4;    
}
header {
    position: relative;
    z-index: 99999; /* Ensures the entire header block is on top */
}

/* --- Top Bar --- */
.top-bar {
    background-color: #1a4231;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    font-size: 0.95rem;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-right i {
    margin-right: 5px;
}

/* --- Main Navigation Bar --- */
.main-header {
    background-color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative; 
    z-index: 9999; 
}

/* Logo Section */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-icon {
    background-color: #1a4231;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.logo-text h1 {
    color: #111;
    font-size: 1.4rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin-bottom: 2px;
}

.logo-text p {
    color: #777;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigation Menu (Desktop) */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 20px;
}

.nav-menu li {
    position: relative; 
}

.nav-menu a {
    text-decoration: none;
    color: #666;
    font-size: 1rem;
    padding: 8px 12px;
    transition: all 0.3s ease;
    white-space: nowrap; 
}

.nav-menu a:hover {
    color: #1a4231;
}

.nav-menu a.active {
    background-color: #1a4231;
    color: #ffffff;
    border-radius: 20px;
    padding: 8px 20px;
}

/* Dropdown Submenus (Desktop) */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-radius: 5px;
    list-style: none;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.nav-menu li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #444;
    font-size: 0.95rem;
}

.dropdown-menu a:hover {
    background-color: #f4f4f4;
    color: #1a4231;
}

.has-dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 6px;
    font-size: 0.8rem;
}

.cta-btn {
    background-color: #f1b325;
    color: #111;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 24px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
}

.cta-btn:hover {
    background-color: #e0a31d;
}

/* --- Mobile Menu Icon --- */
.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    color: #1a4231;
    cursor: pointer;
}

/* =========================================
    RESPONSIVE MEDIA QUERIES
   ========================================= */
@media screen and (max-width: 1080px) {
    .top-bar {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        padding: 10px;
    }

    .mobile-menu-icon {
        display: block; 
    }

    .cta-btn {
        display: none; 
    }

    .main-header {
        position: relative;
    }

    .nav-menu {
        display: none !important; 
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 8px 15px rgba(0,0,0,0.1); /* Slightly larger shadow for depth */
        padding: 0;
        z-index: 99999; /* BOOSTED Z-INDEX */
    }

    .nav-menu.show-menu {
        display: flex !important; 
    }

    .nav-menu li {
        width: 100%;
        text-align: left;
    }

    .nav-menu a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }

    .nav-menu a.active {
        border-radius: 0; 
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        display: none; 
        transform: none;
        padding-left: 20px;
        background-color: #f9f9f9;
    }

    .nav-menu li:hover .dropdown-menu {
        display: block;
    }
}

/* ==========================================
    UTILITIES & BASE STYLES
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.text-light { color: #fff !important; }

.section-subtitle {
    display: block;
    color: #1a4231;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-title {
    font-size: 2.5rem;
    color: #111;
    font-family: Georgia, serif;
    margin-bottom: 20px;
}
.section-desc {
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}
.btn-primary {
    background-color: #f1b325;
    color: #111;
}
.btn-primary:hover { background-color: #e0a31d; }

.btn-outline {
    border-color: #fff;
    color: #fff;
}
.btn-outline:hover { background-color: #fff; color: #111; }

.btn-outline-dark {
    border-color: #1a4231;
    color: #1a4231;
}
.btn-outline-dark:hover { background-color: #1a4231; color: #fff; }

/* ==========================================
    HERO SECTION
   ========================================== */
.hero {
    position: relative;
    background-image: url('https://homebase-hostel-hub.lovable.app/assets/hero-school-Dv2j_kcw.jpg');
    background-size: cover;
    background-position: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(26, 66, 49, 0.9) 0%, rgba(26, 66, 49, 0.6) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
}
.hero .badge {
    display: inline-block;
    background: rgba(241, 179, 37, 0.2);
    color: #f1b325;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid #f1b325;
}
.hero h1 {
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
}
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

/* ==========================================
    NOTICE BAR
   ========================================== */
.notice-bar {
    background-color: #f1b325;
    color: #111;
    /* 20px top, 0 sides, 20px bottom to make room for the overlapping cards */
    padding: 20px 0 20px 0; 
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
}
.notice-bar a {
    color: #111;
    font-weight: bold;
    margin-left: 10px;
}

/* ==========================================
    STATS SECTION
   ========================================== */
/* ==========================================
    STATS SECTION
   ========================================== */
.stats-section {
    margin-top: 50px; /* FIX: Changed from -40px to 50px to push it below the notice bar */
    position: relative;
    z-index: 5;
    margin-bottom: 60px;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.stat-card {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 4px solid #f1b325;
    transition: transform 0.3s;
}
.stat-card:hover { transform: translateY(-5px); }
.stat-card i {
    font-size: 2.5rem;
    color: #1a4231;
    margin-bottom: 15px;
}
.stat-card h3 { font-size: 2rem; color: #111; margin-bottom: 5px; }
.stat-card p { color: #666; font-size: 0.9rem; }

/* ==========================================
    ABOUT SECTION
   ========================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}
.about-image { position: relative; }
.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.year-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: #1a4231;
    color: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    border-bottom: 4px solid #f1b325;
}
.year-badge span { display: block; font-size: 0.9rem; opacity: 0.8;}
.year-badge strong { font-size: 2rem; font-family: Georgia, serif;}

/* ==========================================
    FACILITIES SECTION
   ========================================== */
.facilities-section {
    background-color: #1a4231;
    color: #fff;
}
.facilities-section .section-subtitle { color: #f1b325; }
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.facility-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: left;
    transition: background 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}
.facility-card:hover { background: rgba(255, 255, 255, 0.1); }
.facility-card i {
    font-size: 2rem;
    color: #f1b325;
    margin-bottom: 20px;
}
.facility-card h4 { font-size: 1.2rem; margin-bottom: 10px; }
.facility-card p { color: #d1d1d1; font-size: 0.9rem; line-height: 1.6; }

/* ==========================================
    WHY CHOOSE US SECTION
   ========================================== */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}
.features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.4;
}
.features-list i { color: #1a4231; margin-top: 3px;}

.why-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.w-stat {
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    color: #fff;
}
.w-stat i { font-size: 2.5rem; margin-bottom: 15px; }
.w-stat h3 { font-size: 2.2rem; margin-bottom: 5px; }
.bg-green { background-color: #1a4231; }
.bg-green i { color: #f1b325; }
.bg-yellow { background-color: #f1b325; color: #111; }
.bg-yellow i { color: #1a4231; }

/* ==========================================
    CTA SECTION
   ========================================== */
.cta-section { background-color: #f4f7f6; }
.cta-section h2 { font-family: Georgia, serif; font-size: 2.5rem; margin-bottom: 15px;}
.cta-section p { color: #555; max-width: 600px; margin: 0 auto 30px auto; line-height: 1.6;}
.cta-buttons { display: flex; justify-content: center; gap: 15px; }

/* ==========================================
    FOOTER
   ========================================== */
.site-footer {
    background-color: #112d21;
    color: #ddd;
    padding-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; color: #fff;}
.footer-logo .logo-icon {
    background: #fff; color: #1a4231;
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center; font-size: 1.2rem;
}
.footer-logo h3 { font-family: Georgia, serif; font-size: 1.3rem; margin-bottom: 2px;}
.footer-logo p { font-size: 0.7rem; letter-spacing: 1px; }
.footer-desc { font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }

.social-links a {
    display: inline-flex; justify-content: center; align-items: center;
    width: 35px; height: 35px; border-radius: 50%;
    background: rgba(255,255,255,0.1); color: #fff; text-decoration: none;
    margin-right: 10px; transition: background 0.3s;
}
.social-links a:hover { background: #f1b325; color: #111; }

.footer-col h4 { color: #fff; font-size: 1.2rem; margin-bottom: 20px; border-bottom: 2px solid #f1b325; padding-bottom: 10px; display: inline-block;}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: #ddd; text-decoration: none; transition: color 0.3s; font-size: 0.95rem;}
.footer-col ul a:hover { color: #f1b325; }

.contact-col p { display: flex; gap: 15px; margin-bottom: 15px; font-size: 0.95rem; line-height: 1.5;}
.contact-col i { color: #f1b325; margin-top: 4px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #aaa;
}

@media screen and (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .about-grid, .why-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media screen and (max-width: 768px) {
    .hero { text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .features-list { grid-template-columns: 1fr; }
    .stats-section { margin-top: 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 10px; }
}
@media screen and (max-width: 768px) {
    /* ... your other mobile rules ... */

    /* Reset the notice bar so it's normal size on phones */
    .notice-bar {
        padding: 15px 10px; 
    }
    
    /* Push the stats section down so it doesn't overlap on phones */
    .stats-section {
        margin-top: 30px; 
    }
}

/* ==========================================
    SCROLL ANIMATIONS
   ========================================== */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }
.delay-7 { transition-delay: 0.7s; }
.delay-8 { transition-delay: 0.8s; }


/* ==========================================
   ABOUT US PAGE STYLES
   ========================================== */

/* Page Header Banner */
.page-header-banner {
    background-color: #1a4231;
    padding: 80px 20px;
    border-bottom: 5px solid #f1b325;
}
.page-title {
    font-size: 3rem;
    font-family: Georgia, serif;
    margin-bottom: 15px;
}
.page-desc {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Background Utility */
.bg-light {
    background-color: #fafafa;
}
.mt-4 {
    margin-top: 40px;
}

/* Who We Are Section */
.who-we-are-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.who-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}
.who-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* Reusable Icon Box */
.icon-box {
    background-color: #fdf5e6; /* Very light yellow */
    color: #f1b325; /* Dark yellow/gold */
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

/* Mission & Vision Section */
.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.mv-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.mv-card h3 {
    font-family: Georgia, serif;
    font-size: 1.8rem;
    color: #111;
    margin-bottom: 15px;
}
.mv-card p {
    color: #555;
    line-height: 1.7;
}

/* Core Values Section */
.core-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: left;
}
.value-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}
.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-color: #f1b325;
}
.value-card h4 {
    font-size: 1.3rem;
    color: #111;
    margin-bottom: 10px;
}
.value-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Responsive adjustments for new grids */
@media screen and (max-width: 992px) {
    .who-we-are-grid, 
    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .core-values-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .core-values-grid {
        grid-template-columns: 1fr;
    }
    .page-title {
        font-size: 2.2rem;
    }
}

/* ==========================================
   ACADEMICS PAGE STYLES
   ========================================== */

.mb-5 { margin-bottom: 40px; }

/* Curriculum Overview Grid */
.curriculum-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.curriculum-box {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border-top: 4px solid #f1b325;
}

.curriculum-box h3 {
    font-family: Georgia, serif;
    font-size: 1.6rem;
    color: #111;
    margin-bottom: 20px;
}

.curriculum-list {
    list-style: none;
    padding: 0;
}

.curriculum-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: #555;
    font-size: 1.05rem;
}

.curriculum-list li:last-child {
    border-bottom: none;
}

.curriculum-list i {
    color: #f1b325;
    font-size: 1.2rem;
}

/* Streams & Programs Grid (Syllabus) */
.streams-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stream-card {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stream-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.stream-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.board-badge {
    background-color: #e8f5e9;
    color: #1a4231;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.class-badge {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.stream-card h3 {
    font-family: Georgia, serif;
    font-size: 1.5rem;
    color: #111;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

/* Subject Tags Layout */
.subject-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background-color: #fdf5e6;
    color: #b8860b;
    border: 1px solid #f1b325;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Achievements Grid */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: background 0.3s;
}

.achievement-card:hover {
    background: rgba(255, 255, 255, 0.1);
}

.achievement-card i {
    font-size: 2.5rem;
    color: #f1b325;
    margin-bottom: 15px;
}

.achievement-card h3 {
    font-size: 2.2rem;
    margin-bottom: 5px;
}

.achievement-card p {
    color: #d1d1d1;
    font-size: 0.95rem;
}

/* Responsive Rules for Academics Page */
@media screen and (max-width: 992px) {
    .curriculum-overview-grid,
    .streams-grid {
        grid-template-columns: 1fr;
    }
    .achievements-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}


/* --- Page-Specific Styles for Faculty Page --- *//* --- Page-Specific Styles for Faculty Page --- */
/* --- Page-Specific Styles for Faculty Page --- *//* --- Page-Specific Styles for Faculty Page --- */

        /* Common Page Banner */
        .page-banner {
            background-color: #1a4a3a; /* Theme dark green */
            color: #ffffff;
            padding: 80px 0;
            text-align: center;
        }
        .page-banner h1 {
            font-size: 2.8rem;
            margin-bottom: 15px;
            color: #f0c419; /* Theme yellow/gold */
        }
        .page-banner p {
            font-size: 1.1rem;
            opacity: 0.9;
        }

        /* Faculty Section */
        .faculty-section {
            padding: 60px 20px;
            background-color: #f4f7f6;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }
        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }
        .section-header h2 {
            font-size: 2.2rem;
            color: #1a4a3a;
            margin-bottom: 10px;
            position: relative;
            display: inline-block;
        }
        .section-header h2::after {
            content: '';
            display: block;
            width: 60px;
            height: 3px;
            background-color: #f0c419;
            margin: 10px auto 0;
        }
        .section-header p {
            color: #666;
            max-width: 700px;
            margin: 0 auto;
        }

        /* Faculty Grid & Cards */
        .faculty-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        .teacher-card {
            background-color: #fff;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .teacher-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.12);
        }
        .teacher-image {
            height: 350px;
            overflow: hidden;
        }
        .teacher-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top center;
            transition: transform 0.5s ease;
        }
        .teacher-card:hover .teacher-image img {
            transform: scale(1.05);
        }
        .teacher-info {
            padding: 25px;
            text-align: center;
        }
        .teacher-info h3 {
            font-size: 1.4rem;
            color: #1a4a3a;
            margin-bottom: 5px;
        }
        .designation {
            display: block;
            font-weight: 600;
            color: #f0c419;
            margin-bottom: 15px;
        }
        .qualification {
            font-size: 0.9rem;
            color: #555;
            font-style: italic;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }
        .bio {
            font-size: 0.95rem;
            color: #666;
            line-height: 1.6;
        }


                /* ==========================================
        ACADEMIC CALENDAR STYLES
        ========================================== */

        .calendar-actions {
            margin-bottom: 40px;
        }

        .calendar-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }

        .calendar-card {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
            overflow: hidden;
            border: 1px solid #eee;
        }

        .calendar-card-header {
            background-color: #1a4231;
            color: #fff;
            padding: 20px;
            text-align: center;
            border-bottom: 4px solid #f1b325;
        }

        .calendar-card-header h3 {
            font-family: Georgia, serif;
            font-size: 1.5rem;
            margin: 0;
        }

        .event-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .event-list li {
            display: flex;
            align-items: center;
            padding: 20px;
            border-bottom: 1px solid #eee;
            transition: background-color 0.3s;
        }

        .event-list li:hover {
            background-color: #fdf5e6; /* Light yellow hover effect */
        }

        .event-list li:last-child {
            border-bottom: none;
        }

        .date-badge {
            background-color: #f4f7f6;
            border: 2px solid #1a4231;
            border-radius: 8px;
            min-width: 70px;
            text-align: center;
            padding: 8px 5px;
            margin-right: 20px;
            display: flex;
            flex-direction: column;
        }

        .date-badge .month {
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            color: #1a4231;
            margin-bottom: 2px;
        }

        .date-badge .day {
            font-size: 1.5rem;
            font-weight: bold;
            color: #111;
            line-height: 1;
        }

        /* Color coding for specific types of events */
        .date-badge.holiday {
            border-color: #e74c3c;
        }
        .date-badge.holiday .month {
            color: #e74c3c;
        }

        .date-badge.exam {
            border-color: #f1b325;
            background-color: #fffde7;
        }

        .event-info h4 {
            font-size: 1.1rem;
            color: #111;
            margin-bottom: 5px;
        }

        .event-info p {
            font-size: 0.9rem;
            color: #666;
            margin: 0;
        }

        /* Mobile Responsiveness for Calendar */
        @media screen and (max-width: 992px) {
            .calendar-grid {
                grid-template-columns: 1fr;
                gap: 30px;
            }
        }


                /* ==========================================
        STUDENT RESULTS STYLES
        ========================================== */

        .results-container {
            max-width: 900px;
            margin: 0 auto;
        }

        .result-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: #ffffff;
            padding: 25px 30px;
            border-radius: 10px;
            margin-bottom: 20px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.05);
            border-left: 5px solid #1a4231;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .result-item:hover {
            transform: translateX(5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.08);
            border-left-color: #f1b325;
        }

        .result-info {
            display: flex;
            align-items: center;
            gap: 25px;
        }

        .pdf-icon {
            font-size: 2.5rem;
            color: #e74c3c; /* A standard PDF red color */
        }

        .result-info h4 {
            font-size: 1.2rem;
            color: #111;
            margin-bottom: 8px;
            font-family: 'Segoe UI', sans-serif;
        }

        .result-info p {
            color: #777;
            font-size: 0.9rem;
            margin: 0;
        }

        /* Mobile Responsiveness for Results */
        @media screen and (max-width: 768px) {
            .result-item {
                flex-direction: column;
                text-align: center;
                gap: 20px;
                padding: 25px 20px;
            }
            
            .result-info {
                flex-direction: column;
                gap: 15px;
            }
            
            .stats-grid[style] {
                grid-template-columns: 1fr !important; /* Forces the 3 stats to stack on mobile */
            }
        }


                /* ==========================================
        FACILITIES PAGE STYLES
        ========================================== */

        /* Hostel Showcase Layout */
        .hostel-showcase {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .hostel-text p {
            color: #555;
            line-height: 1.8;
            margin-bottom: 25px;
            font-size: 1.05rem;
        }

        .hostel-image img {
            width: 100%;
            border-radius: 12px;
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
            border: 5px solid #fff;
        }

        /* Facilities Grid Layout for the Dedicated Page */
        .fac-page-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .fac-page-card {
            background: #fff;
            padding: 40px 30px;
            border-radius: 12px;
            text-align: center;
            border: 1px solid #eee;
            box-shadow: 0 4px 15px rgba(0,0,0,0.03);
            transition: all 0.3s ease;
        }

        .fac-page-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 30px rgba(0,0,0,0.08);
            border-color: #f1b325;
        }

        .fac-icon-wrapper {
            width: 80px;
            height: 80px;
            background-color: #fdf5e6;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 auto 20px auto;
            transition: background-color 0.3s ease;
        }

        .fac-page-card:hover .fac-icon-wrapper {
            background-color: #1a4231;
        }

        .fac-icon-wrapper i {
            font-size: 2rem;
            color: #f1b325;
        }

        .fac-page-card h3 {
            font-size: 1.4rem;
            color: #111;
            margin-bottom: 15px;
            font-family: Georgia, serif;
        }

        .fac-page-card p {
            color: #666;
            line-height: 1.6;
            font-size: 0.95rem;
        }

        /* Responsive adjustments for Facilities */
        @media screen and (max-width: 992px) {
            .hostel-showcase {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            
            .fac-page-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media screen and (max-width: 768px) {
            .fac-page-grid {
                grid-template-columns: 1fr;
            }
        }


                /* ==========================================
        BRANCHES PAGE STYLES
        ========================================== */

        .branches-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
            margin-top: 20px;
        }

        .branch-card {
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.06);
            border: 1px solid #eee;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
        }

        .branch-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.12);
        }

        .branch-img {
            position: relative;
            height: 220px;
        }

        .branch-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .branch-badge {
            position: absolute;
            bottom: -15px;
            right: 20px;
            color: #fff;
            padding: 8px 20px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: bold;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        }

        .branch-badge.bg-green {
            background-color: #1a4231;
            color: #f1b325;
        }

        .branch-badge.bg-yellow {
            background-color: #f1b325;
            color: #1a4231;
        }

        .branch-content {
            padding: 30px 25px 25px 25px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .branch-content h3 {
            font-family: Georgia, serif;
            font-size: 1.5rem;
            color: #111;
            margin-bottom: 10px;
        }

        .branch-focus {
            color: #1a4231;
            font-size: 0.95rem;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px dashed #ddd;
        }

        .branch-focus i {
            color: #f1b325;
            margin-right: 5px;
        }

        .branch-desc {
            color: #666;
            line-height: 1.6;
            font-size: 0.95rem;
            margin-bottom: 25px;
            flex-grow: 1;
        }

        .branch-contact {
            background-color: #f9f9f9;
            padding: 15px;
            border-radius: 8px;
            border-left: 3px solid #f1b325;
        }

        .branch-contact p {
            font-size: 0.85rem;
            color: #444;
            margin-bottom: 8px;
            display: flex;
            align-items: flex-start;
            gap: 10px;
            line-height: 1.4;
        }

        .branch-contact p:last-child {
            margin-bottom: 0;
        }

        .branch-contact i {
            color: #1a4231;
            margin-top: 3px;
        }

        /* Responsive adjustments for Branches */
        @media screen and (max-width: 992px) {
            .branches-grid {
                grid-template-columns: 1fr 1fr;
            }
        }

        @media screen and (max-width: 768px) {
            .branches-grid {
                grid-template-columns: 1fr;
            }
        }



        /* ==========================================
        ADMISSION PAGE STYLES
        ========================================== */

        /* Hero Section */
        .adm-hero {
            background-color: #1a4231;
            color: #fff;
            padding: 80px 20px 60px 20px;
        }

        .adm-subtitle {
            display: block;
            color: #f1b325;
            font-weight: 700;
            letter-spacing: 2px;
            font-size: 0.9rem;
            margin-bottom: 10px;
        }

        .adm-title {
            font-family: Georgia, serif;
            font-size: 3.5rem;
            margin-bottom: 20px;
        }

        .adm-desc {
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto 30px auto;
            line-height: 1.6;
            opacity: 0.9;
        }

        .adm-hero-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
        }

        /* Dates Banner */
        .adm-dates-banner {
            background-color: #f1b325;
            padding: 20px 0;
        }

        .dates-banner-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            text-align: center;
            gap: 15px;
        }

        .date-col {
            display: flex;
            flex-direction: column;
            border-right: 1px solid rgba(0,0,0,0.1);
        }

        .date-col:last-child {
            border-right: none;
        }

        .date-label {
            font-size: 0.75rem;
            font-weight: 700;
            color: #1a4231;
            letter-spacing: 1px;
            margin-bottom: 5px;
        }

        .date-value {
            font-size: 1.1rem;
            font-weight: bold;
            color: #111;
        }

        /* Process Steps Grid */
        .process-steps-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            margin-top: 40px;
        }

        .step-card {
            background: #fff;
            padding: 40px 25px 25px 25px;
            border-radius: 12px;
            text-align: center;
            position: relative;
            box-shadow: 0 5px 20px rgba(0,0,0,0.04);
            border: 1px solid #eee;
        }

        .step-number {
            position: absolute;
            top: -20px;
            left: 50%;
            transform: translateX(-50%);
            width: 40px;
            height: 40px;
            background-color: #1a4231;
            color: #fff;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: bold;
            font-size: 1.2rem;
            border: 4px solid #f4f7f6; /* matches bg-light */
        }

        .step-icon {
            margin-bottom: 15px;
        }

        .step-icon i {
            font-size: 2.2rem;
            color: #f1b325;
            background: #fdf5e6;
            width: 60px;
            height: 60px;
            line-height: 60px;
            border-radius: 10px;
        }

        .step-card h3 {
            font-size: 1.2rem;
            color: #111;
            margin-bottom: 10px;
        }

        .step-card p {
            font-size: 0.9rem;
            color: #666;
            line-height: 1.5;
        }

        /* Eligibility & Dates Grid */
        .adm-info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
        }

        .info-box {
            background: #fff;
            padding: 35px;
            border-radius: 12px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.04);
            border: 1px solid #eee;
        }

        .info-title {
            font-size: 1.4rem;
            color: #111;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }

        /* Left List (Eligibility) */
        .criteria-list {
            list-style: none;
            padding: 0;
        }

        .criteria-list li {
            display: flex;
            align-items: flex-start;
            gap: 15px;
            margin-bottom: 15px;
            font-size: 0.95rem;
            color: #444;
            line-height: 1.5;
        }

        .criteria-list li i {
            color: #f1b325;
            font-size: 1.1rem;
            margin-top: 3px;
        }

        /* Right List (Dates) */
        .dates-list {
            display: flex;
            flex-direction: column;
            gap: 20px;
            margin-bottom: 25px;
        }

        .date-list-item {
            display: flex;
            align-items: center;
            gap: 20px;
            background: #fdf5e6;
            padding: 15px;
            border-radius: 8px;
            border-left: 4px solid #f1b325;
        }

        .date-list-item i {
            font-size: 1.8rem;
            color: #1a4231;
        }

        .date-list-item h4 {
            font-size: 1rem;
            color: #111;
            margin-bottom: 3px;
        }

        .date-list-item span {
            font-size: 0.85rem;
            color: #555;
            font-weight: 600;
        }

        .nb-note {
            background: #fff9e6;
            padding: 15px;
            border-radius: 8px;
            font-size: 0.85rem;
            color: #666;
            line-height: 1.5;
            border: 1px dashed #f1b325;
        }

        .nb-note strong {
            color: #e74c3c;
        }

        /* Responsive adjustments */
        @media screen and (max-width: 992px) {
            .dates-banner-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
            .date-col {
                border-right: none;
            }
            .process-steps-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 40px;
            }
            .adm-info-grid {
                grid-template-columns: 1fr;
            }
        }

        @media screen and (max-width: 768px) {
            .adm-title {
                font-size: 2.8rem;
            }
            .adm-hero-buttons {
                flex-direction: column;
            }
            .dates-banner-grid, 
            .process-steps-grid {
                grid-template-columns: 1fr;
            }
        }

        /* ==========================================
        FEE STRUCTURE PAGE STYLES
        ========================================== */

        /* Table Styles */
        .table-responsive {
            width: 100%;
            overflow-x: auto;
            margin-bottom: 30px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
            border-radius: 10px;
        }

        .fee-table {
            width: 100%;
            border-collapse: collapse;
            background-color: #fff;
            text-align: left;
        }

        .fee-table th {
            background-color: #1a4231;
            color: #fff;
            padding: 18px 20px;
            font-weight: 600;
            font-size: 1.05rem;
            white-space: nowrap;
        }

        .fee-table td {
            padding: 18px 20px;
            border-bottom: 1px solid #eee;
            color: #444;
            font-size: 0.95rem;
        }

        .fee-table tbody tr:last-child td {
            border-bottom: none;
        }

        .fee-table tbody tr:hover {
            background-color: #fdf5e6; /* light yellow hover */
        }

        /* Fee Notes List */
        .fee-notes {
            background-color: #fff;
            padding: 25px 30px;
            border-left: 4px solid #f1b325;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.03);
        }

        .fee-notes h4 {
            color: #1a4231;
            margin-bottom: 15px;
            font-size: 1.1rem;
        }

        .fee-notes ul {
            list-style: none;
            padding: 0;
        }

        .fee-notes li {
            position: relative;
            padding-left: 20px;
            margin-bottom: 10px;
            color: #666;
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .fee-notes li::before {
            content: '\2022';
            color: #f1b325;
            font-weight: bold;
            font-size: 1.2rem;
            position: absolute;
            left: 0;
            top: -2px;
        }

        /* Payment Section Grid */
        .payment-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 50px;
            align-items: center;
        }

        .bank-details-box {
            background-color: #1a4231;
            color: #fff;
            padding: 30px;
            border-radius: 12px;
            margin-top: 25px;
            border-bottom: 5px solid #f1b325;
        }

        .bank-details-box h3 {
            color: #f1b325;
            margin-bottom: 20px;
            font-family: Georgia, serif;
            font-size: 1.3rem;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 10px;
        }

        .bank-details-box p {
            margin-bottom: 12px;
            font-size: 0.95rem;
            display: flex;
            justify-content: space-between;
        }

        .bank-details-box strong {
            font-weight: 500;
            opacity: 0.9;
        }

        .payment-options {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .pay-card {
            background: #fff;
            padding: 25px;
            border-radius: 10px;
            border: 1px solid #eee;
            box-shadow: 0 4px 15px rgba(0,0,0,0.03);
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .pay-card i {
            font-size: 2rem;
            color: #1a4231;
            margin-bottom: 15px;
        }

        .pay-card h4 {
            font-size: 1.1rem;
            color: #111;
            margin-bottom: 8px;
        }

        .pay-card p {
            color: #666;
            font-size: 0.9rem;
            line-height: 1.5;
            margin: 0;
        }

        /* Responsive Rules for Fees */
        @media screen and (max-width: 992px) {
            .payment-grid {
                grid-template-columns: 1fr;
            }
        }
    
