/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    --primary-color: #0d3b66;
    /* Professional Deep Blue */
    --secondary-color: #f4d35e;
    /* School Accent Gold */
    --text-color: #333333;
    /* Dark Charcoal Body Text */
    --light-bg: #f8f9fa;
    /* Off-white background elements */
    --white: #ffffff;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: #f0f2f5;
    line-height: 1.6;
}

/* Global Container Utility */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-left: 4px solid var(--secondary-color);
    padding-left: 10px;
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   ========================================================================== */
 /* ==========================================================================
           2. SCHOOL HEADER & NAVIGATION
           ========================================================================== */
        .school-header {
            background: linear-gradient(135deg, var(--primary-color) 0%, #061c30 100%);
            color: var(--white);
            padding: 2.5rem 0;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .logo-container h1 {
            font-size: 2.5rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
        }

        .trust-tag {
            display: inline-block;
            color: var(--secondary-color);
            font-size: 1.1rem;
            font-weight: 500;
            margin: 5px 0;
        }

        .location-tag {
            font-size: 0.95rem;
            opacity: 0.8;
        }
/* Nav Styles */
.main-nav {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--text-color);
    text-decoration: none;
    padding: 1rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
    background-color: rgba(13, 59, 102, 0.05);
    border-bottom: 3px solid var(--primary-color);
}

.main-nav a {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
}

/* ==========================================================================
   3. LAYOUT & SIDEBAR (TOP SPLIT)
   ========================================================================== */
.main-layout {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.top-split-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
    .top-split-layout {
        grid-template-columns: 1fr;
    }
}

/* Left Content Areas */
.gallery-section,
.teachers-section {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.img-wrapper {
    overflow: hidden;
    border-radius: var(--border-radius);
    aspect-ratio: 4/3;
}

.photo-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.photo-grid img:hover {
    transform: scale(1.05);
}

/* Wing Split Style */
.wing-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .wing-split {
        grid-template-columns: 1fr;
    }
}

.wing-card {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-top: 4px solid var(--primary-color);
}

.wing-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.wing-card ul {
    list-style-position: inside;
    color: #555;
}

/* Right Sidebar & CSS Animated Ticker */
.right-sidebar {
    height: max-content;
}

.notification-board {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-top: 4px solid #d9534f;
    /* Alert color */
}

.notification-board h3 {
    margin-bottom: 1.2rem;
    color: #d9534f;
}

.ticker-wrapper {
    height: 250px;
    overflow: hidden;
    position: relative;
    border: 1px solid #eee;
    border-radius: 4px;
    background: var(--light-bg);
}

.ticker-content {
    position: absolute;
    width: 100%;
    padding: 10px;
    animation: ticketUp 12s linear infinite;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-content p {
    padding: 12px 8px;
    border-bottom: 1px dashed #ddd;
    font-size: 0.9rem;
}

.highlight-link {
    color: #d9534f;
    text-decoration: none;
    font-weight: 600;
}

@keyframes ticketUp {
    0% {
        top: 100%;
    }

    100% {
        top: -100%;
    }
}

/* ==========================================================================
   4. LEADERSHIP & ABOUT SECTIONS
   ========================================================================== */
.leadership-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.leadership-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.photo-placeholder {
    background-color: #e9ecef;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-weight: 500;
    border-bottom: 2px solid var(--light-bg);
}

.message-box {
    padding: 1.5rem;
}

.message-box h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.non-teaching {
    border-left: 5px solid var(--secondary-color);
    justify-content: center;
}

.about-founder-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* ==========================================================================
   5. FOOTER
   ========================================================================== */
.site-footer {
    background-color: #111;
    color: #bbb;
    padding: 3rem 0 0 0;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    padding-bottom: 3rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 35px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 4px;
}

.footer-address {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.map-container iframe {
    width: 100%;
    height: 180px;
    border: none;
    border-radius: 4px;
    background-color: #222;
}

/* Copyright Bar */
.copyright-bar {
    background-color: #0a0a0a;
    padding: 1.5rem 0;
    font-size: 0.85rem;
    border-top: 1px solid #222;
}

.copyright-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.dev-name {
    color: var(--secondary-color);
    font-weight: 500;
}

@media (max-width: 600px) {
    .copyright-flex {
        flex-direction: column;
        text-align: center;
    }
}


/*======================================================
    About school
=======================================================*/
/* ==========================================================================
   ABOUT PAGE SPECIFIC STYLES
   ========================================================================== */

.about-page-wrapper {
    margin-top: 2.5rem;
    margin-bottom: 3rem;
}

/* 1. Hero Summary Card */
.about-hero-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    border-left: 5px solid var(--primary-color);
}

.establishment-badge {
    display: inline-block;
    background-color: rgba(13, 59, 102, 0.08);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.intro-paragraph {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
}

/* 2. Key Metrics Dashboard Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.metric-box {
    background-color: var(--white);
    padding: 1.5rem;
    text-align: center;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-bottom: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.metric-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.08);
}

.metric-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

.metric-box h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2px;
}

.metric-box p {
    font-size: 0.9rem;
    color: #666;
}

/* 3. Main Data Split Columns Layout */
.info-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
    .info-split-layout {
        grid-template-columns: 1fr;
    }
}

.details-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
}

.details-card h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1.2rem;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--light-bg);
}

/* Clean Custom Styled Unordered Stats Profile List */
.stats-list {
    list-style: none;
}

.stats-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    font-size: 0.95rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.stats-list li:last-child {
    border-bottom: none;
}

.stats-list li strong {
    color: #555;
}

/* Faculty Section Multi-Colored Visual Gauge Split Styling */
.staff-card .staff-total {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.gender-bar-wrapper {
    display: flex;
    height: 30px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-align: center;
    line-height: 30px;
}

.male-split {
    background-color: #3498db;
}

.female-split {
    background-color: #e84393;
}

.sub-list {
    margin-top: 1rem;
}

/* 4. Right Side Campus Infrastructure Utilities Grid */
.infra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 500px) {
    .infra-grid {
        grid-template-columns: 1fr;
    }
}

.infra-item {
    background-color: var(--light-bg);
    padding: 10px 12px;
    border-radius: 4px;
    border-left: 3px solid var(--primary-color);
}

.infra-lbl {
    display: block;
    font-size: 0.8rem;
    color: #777;
    text-transform: uppercase;
    font-weight: 600;
}

.infra-val {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
}

/* Feature Badges Cloud */
.infra-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.tag-badge {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 4px;
    font-weight: 500;
}

.tag-badge.check {
    background-color: #ebfbee;
    color: #2b8a3e;
    border: 1px solid #c3fae8;
}

.tag-badge.info {
    background-color: #fff9db;
    color: #f08c00;
    border: 1px solid #fff3bf;
}

/* 5. Bottom Institutional Verification Sub-footer */
.legal-info-card {
    background-color: #222;
    color: #aaa;
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
}

.legal-info-card h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.registry-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.registry-flex strong {
    color: var(--secondary-color);
}

---
/* ### 🎨 2. The Presentation (`contact.css`)  */
/* ```css */
/* ==========================================================================
   CONTACT MODULE SYSTEM DEPLOYMENT SPECIFICS
   ========================================================================== */
/* .contact-page-wrapper {
    margin-top: 4rem;
    margin-bottom: 4rem;
    padding: auto;

    
} */

.contact-split-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 2.5rem;
    margin: 0 auto;

}

@media (max-width: 950px) {
    .contact-split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contact-portal-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.portal-tabs {
    display: flex;
    background-color: #f8f9fa;
    border-bottom: 2px solid #edf2f7;
    flex-wrap: wrap;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 1.2rem 1rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    color: #4a5568;
    transition: all 0.3s ease;
    text-align: center;
}

.tab-btn:hover {
    background-color: rgba(13, 59, 102, 0.03);
    color: #0d3b66;
}

.tab-btn.active {
    background-color: #ffffff;
    color: #0d3b66;
    font-weight: 600;
    border-bottom: 3px solid #0d3b66;
}

.tab-btn.highlight-btn.active {
    border-bottom: 3px solid #d97706;
    color: #d97706;
}

.contact-tab-panel {
    display: none;
    padding: 2.5rem;
}

.contact-tab-panel.active {
    display: block;
}

.panel-header-block p {
    color: #718096;
    font-size: 0.95rem;
    margin-top: 6px;
}

/* Form Component Rules */
.portal-form-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.form-input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .form-input-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.form-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-input-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a5568;
}

.form-input-group input,
.form-input-group select,
.form-input-group textarea {
    font-family: 'Poppins', sans-serif;
    padding: 11px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 0.95rem;
    background-color: #f8fafc;
    transition: all 0.3s ease;
}

.form-input-group input:focus,
.form-input-group select:focus,
.form-input-group textarea:focus {
    outline: none;
    border-color: #0d3b66;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(13, 59, 102, 0.1);
}

.form-action-btn {
    font-family: 'Poppins', sans-serif;
    padding: 12px 26px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.submit-primary {
    background-color: #0d3b66;
    color: #ffffff;
}

.submit-danger {
    background-color: #d9534f;
    color: #ffffff;
}

/* Tracker Engine Architecture */
.tracker-search-engine {
    background-color: #f8fafc;
    padding: 2rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.search-input-flex {
    display: flex;
    gap: 1rem;
}

.lookup-input-bar {
    flex: 1;
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
}

.search-trigger-btn {
    background-color: #334155;
    color: #ffffff;
}

@media (max-width: 500px) {
    .search-input-flex {
        flex-direction: column;
    }
}

.status-pipeline-display {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.status-pipeline-display.unlinked-hidden {
    display: none;
}

.pipeline-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 1rem;
}

.status-pill {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.state-review {
    background-color: #fef3c7;
    color: #d97706;
}

.state-success {
    background-color: #dcfce7;
    color: #16a34a;
}

/* Horizontal Vector Roadmap Pipeline */
.horizontal-roadmap-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin: 2.5rem 0;
    padding: 0 1rem;
}

.horizontal-roadmap-wrapper::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 2rem;
    right: 2rem;
    height: 3px;
    background-color: #e2e8f0;
    z-index: 1;
}

.roadmap-node {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.indicator-ring {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: #cbd5e1;
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 1px #cbd5e1;
}

.node-caption {
    font-size: 0.78rem;
    color: #64748b;
    text-align: center;
}

/* JavaScript Target Vector Rules */
.roadmap-node.path-done .indicator-ring {
    background-color: #22c55e;
    box-shadow: 0 0 0 1px #22c55e;
}

.roadmap-node.path-done .node-caption {
    color: #16a34a;
    font-weight: 500;
}

.roadmap-node.path-current .indicator-ring {
    background-color: #f59e0b;
    box-shadow: 0 0 0 1px #f59e0b;
}

.roadmap-node.path-current .node-caption {
    color: #b45309;
    font-weight: 600;
}

.internal-audit-log {
    background-color: #f8fafc;
    padding: 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #475569;
    border-left: 3px solid #cbd5e1;
}

/* Sidebars styling elements */
.contact-details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-info-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.sidebar-info-card h3 {
    color: #0d3b66;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 6px;
}

.directory-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.directory-item strong {
    font-size: 0.85rem;
    color: #475569;
    display: block;
}

.directory-item p {
    font-size: 0.95rem;
    color: #1e293b;
}

.identity-border-highlight {
    border-top: 4px solid #f4d35e;
}

.udise-badge-code {
    display: inline-block;
    background-color: #f8f9fa;
    padding: 6px 12px;
    font-weight: 600;
    color: #0d3b66;
    border: 1px dashed #cbd5e1;
    margin-top: 6px;
}