﻿/* ============================================================
   GOVT HOMEOPATHIC MEDICAL COLLEGE — FINAL STYLESHEET v3.0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap');

/* ============================================================
   VARIABLES
   ============================================================ */
:root {
    --primary: #0a5c4a;
    --primary-dark: #063d31;
    --primary-light: #0e7a63;
    --accent: #c9a227;
    --accent-dark: #a8851d;
    --secondary: #1e3a5f;
    --text-dark: #1a1a1a;
    --text-body: #4a5568;
    --text-muted: #718096;
    --bg-light: #f7faf9;
    --bg-cream: #fdfcf7;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 12px rgba(10,92,74,0.08);
    --shadow-lg: 0 12px 32px rgba(10,92,74,0.12);
    --shadow-xl: 0 24px 48px rgba(10,92,74,0.16);
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 24px;
    --radius-pill: 100px;
    --trans: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', 'Noto Sans Devanagari', sans-serif;
    color: var(--text-body);
    line-height: 1.7;
    background: #fff;
    overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
}
a { text-decoration: none; color: inherit; transition: var(--trans); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
main { display: block; margin: 0; padding: 0; }
.container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
.container-fluid { max-width: 100%; margin: 0; padding: 0; }

/* ============================================================
   GOVT TOP STRIP
   ============================================================ */
.govt-strip {
    background: linear-gradient(90deg, #1a3a1f 0%, #2d5016 100%);
    color: rgba(255,255,255,0.9);
    font-size: 12.5px;
    padding: 8px 0;
    border-bottom: 3px solid var(--accent);
}
.govt-strip-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    font-weight: 500;
}
.govt-strip i { color: var(--accent); margin-right: 6px; }
.govt-strip .divider { color: rgba(255,255,255,0.25); }

/* ============================================================
   COLLEGE HEADER
   ============================================================ */
.college-header {
    background: #ffffff;
    padding: 18px 0;
    border-bottom: 1px solid #e5e7eb;
}
.college-header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}
.college-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 110px;
    height: 120px;
}
.college-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 991px) {
    .college-logo {
        width: 55px;
        height: 62px;
    }
}
@media (max-width: 576px) {
    .college-logo {
        width: 48px;
        height: 55px;
    }
}
.college-name { flex: 1; text-align: left; min-width: 0; }
.college-name h1 {
    font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
    font-size: 20px;
    color: #1a3a1f;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 5px;
    letter-spacing: -0.2px;
}
.college-address {
    font-size: 13px;
    color: #4a5568;
    font-weight: 500;
    margin-bottom: 3px;
}
.college-address i { color: var(--primary); margin-right: 5px; font-size: 12px; }
.college-tagline {
    font-size: 11.5px;
    color: var(--accent-dark);
    font-style: italic;
    letter-spacing: 0.8px;
    margin-top: 2px;
}
.college-header-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 230px;
    flex-shrink: 0;
    padding-left: 20px;
    border-left: 1px solid #e5e7eb;
}
.header-info-item { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.header-info-item > i {
    width: 34px; height: 34px;
    background: rgba(10,92,74,0.08);
    color: var(--primary);
    border-radius: 8px;
    display: grid; place-items: center;
    font-size: 14px; flex-shrink: 0;
}
.header-info-item > div { display: flex; flex-direction: column; line-height: 1.3; }
.header-info-item strong {
    color: #1a3a1f;
    font-size: 10.5px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.header-info-item span { color: #4a5568; font-size: 12px; font-weight: 500; }

.btn-apply-header {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white !important;
    padding: 11px 16px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 12.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(201,162,39,0.35);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
}
.btn-apply-header:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(201,162,39,0.5); color: white !important; }

/* ============================================================
   MAIN NAVIGATION — WITH WORKING DESKTOP DROPDOWN
   ============================================================ */
.main-navigation {
    background: linear-gradient(90deg, #1a3a1f 0%, #2d5016 50%, #1a3a1f 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: visible;
}
.main-navigation .container-fluid {
    overflow: visible;
    max-width: 100%;
    padding: 0;
}
.main-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 0;
    overflow: visible;
    margin: 0;
    padding: 0;
    list-style: none;
}
.menu-item { position: relative; flex-shrink: 0; }

/* Invisible bridge — keeps hover alive */
.menu-item.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
    z-index: 998;
    pointer-events: none;
}
.menu-item.has-dropdown:hover::after { pointer-events: auto; }

.menu-item > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 15px 10px;
    color: rgba(255,255,255,0.92) !important;
    font-size: 11.5px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.2px;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
    text-decoration: none;
    transition: all 0.25s ease;
}
.menu-item > a i:first-child { color: var(--accent); font-size: 11px; }
.menu-item > a .arrow { font-size: 7px; margin-left: 2px; color: rgba(255,255,255,0.5); transition: transform 0.25s ease; }
.menu-item:hover > a,
.menu-item.active > a {
    background: rgba(201,162,39,0.12);
    color: white !important;
    border-bottom-color: var(--accent);
}
.menu-item:hover > a .arrow { transform: rotate(180deg); color: var(--accent); }

/* Dropdown */
.menu-item .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: white;
    padding: 8px 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.25);
    border-top: 3px solid var(--accent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 9999;
    pointer-events: none;
    list-style: none;
    margin: 0;
}
.menu-item.has-dropdown:hover .dropdown,
.menu-item:hover > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}
.menu-item .dropdown li { border-bottom: 1px solid rgba(10,92,74,0.06); list-style: none; }
.menu-item .dropdown li:last-child { border-bottom: none; }
.menu-item .dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    color: #1a3a1f !important;
    font-size: 12.5px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    border: none;
    white-space: normal;
    text-decoration: none;
    transition: all 0.2s ease;
}
.menu-item .dropdown a i { color: var(--primary); font-size: 10px; transition: transform 0.2s ease; }
.menu-item .dropdown a:hover {
    background: rgba(10,92,74,0.06);
    color: var(--primary) !important;
    padding-left: 26px;
}
.menu-item .dropdown a:hover i { transform: translateX(3px); }

.menu-item.has-dropdown.force-open .dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.badge-new {
    background: #dc2626; color: white;
    font-size: 7px; padding: 1px 4px;
    border-radius: 3px; font-weight: 700;
    letter-spacing: 0.2px; margin-left: 2px;
    animation: pulseBadge 2s infinite;
}
@keyframes pulseBadge { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

.menu-item.lang-item {
    display: flex; align-items: center; gap: 2px;
    padding: 0 6px; margin-left: 6px;
    border-left: 1px solid rgba(255,255,255,0.15);
    flex-shrink: 0;
}
.menu-item.lang-item a {
    padding: 5px 8px !important;
    border-radius: 5px;
    font-size: 11px !important;
    color: rgba(255,255,255,0.7) !important;
    font-weight: 700; text-transform: none !important;
    border: none !important; cursor: pointer;
    white-space: nowrap; min-width: 26px; text-align: center;
    display: inline-block; text-decoration: none;
}
.menu-item.lang-item a.active,
.menu-item.lang-item a:hover { background: rgba(201,162,39,0.25) !important; color: var(--accent) !important; }

.menu-item.admin-item { flex-shrink: 0; margin-left: 4px; }
.menu-item.admin-item > a { padding: 15px 12px !important; background: rgba(220,38,38,0.15); border-bottom-color: transparent; }
.menu-item.admin-item > a i { color: #f87171 !important; font-size: 12px !important; }

/* ============================================================
   MOBILE NAV BAR
   ============================================================ */
.mobile-nav-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 16px;
}
.nav-mobile-toggle {
    display: flex;
    background: transparent; border: none; color: white;
    padding: 14px 0; font-size: 13px; font-weight: 700;
    letter-spacing: 1px; cursor: pointer;
    align-items: center; gap: 10px;
    flex-grow: 1; justify-content: flex-start;
    font-family: 'Poppins', sans-serif;
}
.nav-mobile-toggle i { font-size: 20px; color: var(--accent); }
.mobile-lang-switch {
    display: flex; gap: 4px;
    background: rgba(0,0,0,0.25);
    padding: 3px; border-radius: 100px; flex-shrink: 0;
}
.mobile-lang-switch a {
    padding: 6px 14px; border-radius: 100px;
    color: rgba(255,255,255,0.7) !important;
    font-size: 12px; font-weight: 700;
    cursor: pointer; min-width: 38px; text-align: center;
    display: inline-block; transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif; text-decoration: none;
}
.mobile-lang-switch a.active {
    background: var(--accent); color: #1a3a1f !important; font-weight: 800;
}
.mobile-lang-switch a:hover { color: white !important; }

/* ============================================================
   MOBILE DRAWER
   ============================================================ */
.nav-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.6); z-index: 1090;
    opacity: 0; transition: opacity 0.35s ease;
}
.nav-overlay.active { display: block; opacity: 1; }
.nav-drawer {
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 340px; max-width: 88%;
    background: #fff; z-index: 1100;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 30px rgba(0,0,0,0.25);
    display: flex; flex-direction: column; overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }

.drawer-header {
    background: linear-gradient(135deg, #1a3a1f 0%, #2d5016 100%);
    padding: 16px 20px;
    display: flex; align-items: center; justify-content: space-between;
    color: white; position: sticky; top: 0; z-index: 10;
    border-bottom: 3px solid var(--accent); flex-shrink: 0;
}
.drawer-brand { display: flex; align-items: center; gap: 10px; }
.drawer-brand .logo-text h4 { font-size: 15px; color: white; margin: 0; font-weight: 700; }
.drawer-brand .logo-text p { font-size: 10px; color: rgba(255,255,255,0.7); margin: 2px 0 0; letter-spacing: 1px; text-transform: uppercase; }
.drawer-close {
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,0.15); border: none;
    color: white; display: grid; place-items: center;
    font-size: 15px; cursor: pointer;
    transition: var(--trans); flex-shrink: 0;
}
.drawer-close:hover { background: rgba(255,255,255,0.3); transform: rotate(90deg); }

.drawer-nav { flex-grow: 1; }
.drawer-nav > li { border-bottom: 1px solid rgba(10,92,74,0.08); }
.drawer-nav > li > a {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 20px; color: #1a3a1f !important;
    font-size: 14px; font-weight: 600;
    font-family: 'Poppins', sans-serif; text-decoration: none;
}
.drawer-nav > li > a i:first-child {
    width: 32px; height: 32px;
    background: rgba(10,92,74,0.08); color: var(--primary);
    border-radius: 8px; display: grid; place-items: center;
    font-size: 13px; flex-shrink: 0; transition: var(--trans);
}
.drawer-nav > li > a:hover,
.drawer-nav > li.open > a { background: rgba(10,92,74,0.05); color: var(--primary) !important; }
.drawer-nav > li > a:hover i:first-child,
.drawer-nav > li.open > a i:first-child { background: var(--primary); color: white; }

.sub-arrow { margin-left: auto; font-size: 11px; color: #94a3b8; transition: var(--trans); }
.has-sub.open > a .sub-arrow { transform: rotate(180deg); color: var(--accent); }

.sub-menu {
    background: #f7faf9; max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease;
    border-top: 1px solid rgba(10,92,74,0.08);
    list-style: none; padding: 0; margin: 0;
}
.sub-menu li { border-bottom: 1px solid rgba(10,92,74,0.05); }
.sub-menu li:last-child { border-bottom: none; }
.sub-menu a {
    display: flex; align-items: center;
    padding: 11px 20px 11px 50px;
    color: #4a5568 !important;
    font-size: 13px; font-weight: 500; position: relative;
    text-decoration: none;
}
.sub-menu a::before {
    content: '›'; position: absolute; left: 32px;
    color: var(--accent); font-weight: 700; font-size: 16px;
}
.sub-menu a:hover { background: rgba(10,92,74,0.05); color: var(--primary) !important; padding-left: 56px; }

.drawer-cta {
    padding: 16px 20px; background: #f7faf9;
    border-top: 1px solid rgba(10,92,74,0.1); flex-shrink: 0;
}
.drawer-cta .btn-drawer {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 13px 20px; border-radius: 10px;
    font-weight: 700; font-size: 13px; font-family: 'Poppins', sans-serif;
    margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px;
    color: white !important; text-decoration: none;
}
.drawer-cta .btn-drawer:last-child { margin-bottom: 0; }
.btn-drawer-primary { background: linear-gradient(135deg, var(--primary), var(--primary-light)); }
.btn-drawer-admin { background: white; color: #1a3a1f !important; border: 1.5px solid rgba(10,92,74,0.2); }

body.no-scroll { overflow: hidden; position: fixed; width: 100%; }

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
    position: relative;
    height: 78vh;
    min-height: 520px;
    max-height: 720px;
    overflow: hidden;
    background: #0a1f1a;
    color: white;
    margin: 0;
    padding: 0;
    display: block;
}
.hero-slide {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden;
    transition: opacity 1.2s ease-in-out, visibility 1.2s;
    z-index: 1;
}
.hero-slide.active { opacity: 1; visibility: visible; z-index: 2; }

.hero-slide-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1);
    transition: transform 8s ease-out;
    z-index: 1;
}
.hero-slide.active .hero-slide-bg { transform: scale(1.12); }

.hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(6,61,49,0.55) 0%, 
        rgba(10,92,74,0.40) 50%, 
        rgba(6,61,49,0.60) 100%);
    z-index: 2;
}
.hero-slide::before {
    content: '';
    position: absolute; top: -120px; right: -120px;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(201,162,39,0.2) 0%, transparent 70%);
    z-index: 3;
    animation: floatAccent 8s ease-in-out infinite;
}
@keyframes floatAccent {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.1); }
}
.hero-slide-content {
    position: relative; z-index: 4; height: 100%;
    display: flex; align-items: center; color: white;
}
.hero-slide-inner { max-width: 780px; padding: 40px 0; }

.hero-slide .hero-badge,
.hero-slide h1,
.hero-slide .hero-desc,
.hero-slide .hero-buttons {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-slide.active .hero-badge { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.hero-slide.active h1 { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }
.hero-slide.active .hero-desc { opacity: 1; transform: translateY(0); transition-delay: 0.8s; }
.hero-slide.active .hero-buttons { opacity: 1; transform: translateY(0); transition-delay: 1s; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(201,162,39,0.18);
    border: 1px solid rgba(201,162,39,0.4);
    color: #f0e0a0 !important;
    padding: 8px 20px; border-radius: var(--radius-pill);
    font-size: 13px; font-weight: 500;
    margin-bottom: 24px; backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}
.hero-slide h1 {
    font-size: clamp(32px, 5vw, 58px);
    color: white !important; font-weight: 800;
    line-height: 1.15; margin-bottom: 20px;
    letter-spacing: -0.02em;
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
}
.hero-slide h1 .highlight { color: var(--accent) !important; position: relative; display: inline-block; }
.hero-slide h1 .highlight::after {
    content: ''; position: absolute;
    bottom: 6px; left: 0; right: 0; height: 10px;
    background: rgba(201,162,39,0.25); border-radius: 4px; z-index: -1;
}
.hero-desc {
    font-size: 17px; color: rgba(255,255,255,0.9) !important;
    margin-bottom: 32px; max-width: 640px; line-height: 1.7;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.btn-hero {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 32px; border-radius: var(--radius-pill);
    font-weight: 600; font-size: 14.5px;
    font-family: 'Poppins', sans-serif;
    transition: var(--trans); border: none;
    cursor: pointer; text-decoration: none;
}
.btn-hero-primary {
    background: var(--accent); color: var(--primary-dark) !important;
    box-shadow: 0 10px 30px rgba(201,162,39,0.4);
}
.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(201,162,39,0.5);
    background: #d9b23a; color: var(--primary-dark) !important;
}
.btn-hero-outline {
    background: rgba(255,255,255,0.1); color: white !important;
    border: 1.5px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(10px);
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,0.25); border-color: white;
    color: white !important; transform: translateY(-3px);
}

.hero-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.3);
    color: white; font-size: 18px; cursor: pointer;
    z-index: 10; display: grid; place-items: center;
    backdrop-filter: blur(12px); transition: all 0.3s ease;
    opacity: 0; visibility: hidden;
}
.hero-slider:hover .hero-nav { opacity: 1; visibility: visible; }
.hero-nav:hover {
    background: var(--accent); border-color: var(--accent);
    color: var(--primary-dark); transform: translateY(-50%) scale(1.1);
}
.hero-nav.prev { left: 30px; }
.hero-nav.next { right: 30px; }

.hero-dots {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 12px; z-index: 10;
}
.hero-dot {
    width: 40px; height: 4px; border-radius: 4px;
    background: rgba(255,255,255,0.35); border: none;
    cursor: pointer; position: relative; overflow: hidden;
    transition: all 0.3s ease; padding: 0;
}
.hero-dot:hover { background: rgba(255,255,255,0.6); }
.hero-dot.active { background: rgba(255,255,255,0.25); width: 60px; }
.hero-dot.active::after {
    content: ''; position: absolute; top: 0; left: 0;
    height: 100%; background: var(--accent); border-radius: 4px;
    animation: dotProgress 5s linear forwards;
}
@keyframes dotProgress { from { width: 0%; } to { width: 100%; } }

.hero-progress {
    position: absolute; top: 0; left: 0;
    height: 3px; background: var(--accent); z-index: 15;
    width: 0%; box-shadow: 0 0 12px rgba(201,162,39,0.6);
}
.hero-progress.animate { animation: progressBar 5s linear forwards; }
@keyframes progressBar { from { width: 0%; } to { width: 100%; } }

/* ============================================================
   NEWS TICKER — Clean, No Overlap
   ============================================================ */
.news-ticker {
    background: linear-gradient(90deg, #991b1b 0%, #dc2626 50%, #991b1b 100%);
    color: white;
    padding: 0;
    box-shadow: 0 4px 12px rgba(220,38,38,0.2);
    position: relative;
    z-index: 9;
    height: 48px;
    overflow: hidden;
}
.news-ticker .container {
    height: 100%;
    max-width: 1400px;
    padding: 0 20px;
}
.ticker-inner {
    display: flex;
    align-items: center;
    height: 100%;
    overflow: hidden;
}
.ticker-label {
    background: #7f1d1d;
    padding: 0 22px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}
.ticker-label::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 0;
    bottom: 0;
    width: 0;
    border-top: 24px solid transparent;
    border-bottom: 24px solid transparent;
    border-left: 10px solid #7f1d1d;
}
.ticker-label i {
    color: #fbbf24;
    font-size: 15px;
    animation: tickerPulse 1.5s infinite;
}
.ticker-label span { white-space: nowrap; }
@keyframes tickerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}
.ticker-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    padding-left: 25px;
}
.ticker-scroll {
    display: flex;
    gap: 60px;
    white-space: nowrap;
    animation: tickerScroll 35s linear infinite;
}
.ticker-item {
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    line-height: 1;
}
.ticker-item i { color: #fbbf24; font-size: 11px; }
@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.news-ticker:hover .ticker-scroll { animation-play-state: paused; }

/* ============================================================
   HERO STATS — Below Ticker, No Overlap
   ============================================================ */
.hero-stats-wrapper {
    position: relative;
    z-index: 10;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 0 20px;
}
.hero-stats {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(10,92,74,0.12);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 32px 20px;
    border: 1px solid rgba(10,92,74,0.06);
}
.stat-item {
    text-align: center;
    padding: 10px 20px;
    border-right: 1px solid rgba(10,92,74,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -1px;
}
.stat-label {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ============================================================
   SECTIONS — Professional Spacing
   ============================================================ */
.section { padding: 90px 0; position: relative; }
.section-light { background: #f7faf9; padding: 90px 0; }
.section-cream { background: #fdfcf7; padding: 90px 0; }

.section-head {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 55px;
    padding: 0 20px;
}
.section-head h2 {
    font-size: clamp(26px, 3.5vw, 40px);
    color: var(--primary-dark);
    margin-bottom: 16px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.section-head h2::after {
    content: '';
    display: block;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin: 16px auto 0;
    border-radius: 4px;
}
.section-head p {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
}
.section-tag {
    display: inline-block;
    color: var(--primary);
    background: rgba(10,92,74,0.08);
    padding: 7px 20px;
    border-radius: 100px;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    border: 1px solid rgba(10,92,74,0.12);
}

/* ============================================================
   INFO CARDS — Professional Notices & Events
   ============================================================ */
.info-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(10,92,74,0.08);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(10,92,74,0.06);
    position: relative;
}
.info-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    z-index: 1;
}
.notices-card::before { background: linear-gradient(90deg, #dc2626 0%, #991b1b 100%); }
.events-card::before { background: linear-gradient(90deg, var(--accent) 0%, var(--accent-dark) 100%); }

.info-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 26px 20px;
    background: #fbfdfc;
    border-bottom: 1px solid rgba(10,92,74,0.08);
    gap: 15px;
    flex-wrap: wrap;
}
.info-card-header h3 {
    font-size: 17px;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}
.info-card-header h3 i {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 16px;
    flex-shrink: 0;
}
.notices-card .info-card-header h3 i { background: rgba(220,38,38,0.12); color: #dc2626; }
.events-card .info-card-header h3 i { background: rgba(201,162,39,0.15); color: var(--accent-dark); }

.view-all {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(10,92,74,0.08);
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.view-all:hover {
    background: var(--primary);
    color: white !important;
    transform: translateX(2px);
}
.view-all i { font-size: 10px; transition: transform 0.3s; }
.view-all:hover i { transform: translateX(4px); }

/* Notice List */
.notice-list { padding: 8px 0; flex: 1; }
.notice-list li {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 26px;
    border-bottom: 1px solid rgba(10,92,74,0.06);
    transition: all 0.3s ease;
    position: relative;
}
.notice-list li:last-child { border-bottom: none; }
.notice-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 3px; height: 0;
    background: var(--accent);
    transition: height 0.3s ease;
    border-radius: 0 3px 3px 0;
}
.notice-list li:hover {
    background: linear-gradient(90deg, rgba(10,92,74,0.04) 0%, transparent 100%);
    padding-left: 32px;
}
.notice-list li:hover::before { height: 60%; }

.notice-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 12px;
    padding: 10px 14px;
    flex-shrink: 0;
    min-width: 60px;
    box-shadow: 0 6px 14px rgba(10,92,74,0.25);
    position: relative;
    overflow: hidden;
}
.notice-date::after {
    content: '';
    position: absolute;
    top: -20px; right: -20px;
    width: 50px; height: 50px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}
.notice-date .day {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2px;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}
.notice-date .month {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}
.notice-text {
    color: var(--text-dark) !important;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.55;
    flex: 1;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    transition: color 0.25s ease;
}
.notice-text:hover { color: var(--primary) !important; }
.badge-new-mini {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: white;
    font-size: 8.5px;
    padding: 3px 7px;
    border-radius: 4px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    animation: pulseBadge 2s infinite;
    flex-shrink: 0;
}

/* Event List */
.event-list { padding: 8px 0; flex: 1; }
.event-list li {
    display: flex;
    gap: 16px;
    padding: 18px 26px;
    border-bottom: 1px solid rgba(10,92,74,0.06);
    transition: all 0.3s ease;
    position: relative;
}
.event-list li:last-child { border-bottom: none; }
.event-list li:hover {
    background: linear-gradient(90deg, rgba(201,162,39,0.05) 0%, transparent 100%);
}
.event-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    display: grid;
    place-items: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(10,92,74,0.22);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.event-icon::after {
    content: '';
    position: absolute;
    top: -15px; right: -15px;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.event-icon i { position: relative; z-index: 2; }
.event-list li:hover .event-icon { transform: scale(1.05) rotate(-5deg); }
.event-icon.gold {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    box-shadow: 0 6px 16px rgba(201,162,39,0.28);
}
.event-info { flex: 1; min-width: 0; }
.event-info h4 {
    font-size: 14.5px;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.4;
    transition: color 0.25s ease;
}
.event-list li:hover .event-info h4 { color: var(--primary); }
.event-info p {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.event-info p i { color: var(--primary); font-size: 11px; }
.event-time {
    font-size: 11.5px;
    color: var(--accent-dark);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(201,162,39,0.12);
    border-radius: 100px;
    letter-spacing: 0.3px;
}
.event-time i { color: var(--accent); font-size: 10px; }

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 26px;
}
.feature-card {
    background: white;
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
    border: 1px solid rgba(10,92,74,0.06);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transform-origin: left;
    transition: var(--trans);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(10,92,74,0.1), rgba(10,92,74,0.05));
    display: grid; place-items: center;
    color: var(--primary); font-size: 24px;
    margin-bottom: 20px;
    transition: var(--trans);
}
.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white; transform: scale(1.08) rotate(-5deg);
}
.feature-card h3 { font-size: 19px; margin-bottom: 10px; color: var(--primary-dark); }
.feature-card p { color: var(--text-muted); font-size: 14.5px; line-height: 1.7; margin-bottom: 14px; }
.feature-link {
    color: var(--primary); font-weight: 600; font-size: 14px;
    display: inline-flex; align-items: center; gap: 6px;
}
.feature-link:hover { color: var(--accent); gap: 10px; }

/* ============================================================
   ABOUT SPLIT
   ============================================================ */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-wrap img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%; height: 480px;
    object-fit: cover;
}
.experience-badge {
    position: absolute;
    bottom: -25px; right: -15px;
    background: white; border-radius: var(--radius);
    padding: 20px 28px; box-shadow: var(--shadow-xl);
    text-align: center; border-top: 4px solid var(--accent);
}
.experience-badge .num {
    font-family: 'Poppins', sans-serif;
    font-size: 42px; font-weight: 800;
    color: var(--primary); line-height: 1;
}
.experience-badge .num span { color: var(--accent); }
.experience-badge .label {
    font-size: 11px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1.5px;
    font-weight: 600; margin-top: 4px;
}
.about-content h2 {
    font-size: clamp(26px, 3vw, 36px);
    color: var(--primary-dark);
    margin-bottom: 18px; line-height: 1.2;
}
.about-content > p {
    font-size: 15.5px; color: var(--text-body);
    margin-bottom: 24px; line-height: 1.8;
}
.about-list { margin-bottom: 28px; }
.about-list li {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 10px 0; font-size: 15px;
    color: var(--text-dark); font-weight: 500;
}
.about-list li i {
    color: var(--primary); background: rgba(10,92,74,0.1);
    width: 26px; height: 26px; border-radius: 50%;
    display: grid; place-items: center;
    font-size: 11px; flex-shrink: 0; margin-top: 3px;
}
.btn-primary-lg {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white !important;
    padding: 14px 34px; border-radius: var(--radius-pill);
    border: none; font-weight: 600; font-size: 14.5px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer; transition: var(--trans);
    box-shadow: 0 8px 24px rgba(10,92,74,0.3);
    display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(10,92,74,0.4);
    color: white !important;
}

/* ============================================================
   PRINCIPAL MESSAGE
   ============================================================ */
.principal-message {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
}
.principal-photo { position: relative; text-align: center; }
.principal-photo img {
    width: 100%; max-width: 280px;
    aspect-ratio: 1 / 1.15; object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 6px solid white; margin: 0 auto;
}
.photo-caption {
    margin-top: -30px;
    background: white;
    padding: 16px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    position: relative; z-index: 2;
    display: inline-block;
    border-top: 4px solid var(--accent);
}
.photo-caption h4 { font-size: 16px; color: var(--primary-dark); margin-bottom: 4px; font-weight: 700; }
.photo-caption p {
    font-size: 12px; color: var(--text-muted);
    font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; margin: 0;
}
.principal-text .section-tag { margin-bottom: 16px; }
.principal-text h2 {
    font-size: clamp(22px, 3vw, 32px);
    color: var(--primary-dark);
    margin-bottom: 20px; line-height: 1.3;
    position: relative;
}
.principal-text h2 i {
    color: var(--accent); font-size: 28px;
    opacity: 0.3; margin-right: 8px;
}
.principal-text > p {
    font-size: 15.5px; color: var(--text-body);
    line-height: 1.85; margin-bottom: 20px;
}
.principal-sign {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 15px; padding-top: 20px;
    border-top: 2px dashed rgba(10,92,74,0.15);
}
.principal-sign > span {
    font-family: 'Poppins', sans-serif;
    font-weight: 700; color: var(--primary);
    font-size: 15px; letter-spacing: 0.5px;
}
.read-more-link {
    color: var(--primary); font-weight: 600; font-size: 13.5px;
    display: inline-flex; align-items: center; gap: 8px;
}
.read-more-link:hover { color: var(--accent); gap: 12px; }

/* ============================================================
   GALLERY GRID
   ============================================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--trans);
}
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }
.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover; transition: transform 0.6s;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,92,74,0) 40%, rgba(10,92,74,0.9) 100%);
    display: flex; flex-direction: column;
    align-items: center; justify-content: flex-end;
    padding: 20px; color: white;
    opacity: 0; transition: var(--trans);
    text-align: center;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i {
    font-size: 22px; margin-bottom: 6px;
    color: var(--accent);
    transform: translateY(-10px);
    transition: transform 0.4s 0.1s;
}
.gallery-overlay span { font-size: 13px; font-weight: 600; letter-spacing: 0.5px; }
.gallery-item:hover .gallery-overlay i { transform: translateY(0); }

/* ============================================================
   LINKS & DOWNLOADS CARD
   ============================================================ */
.links-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    height: 100%;
}
.links-card-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 20px 24px;
    display: flex; align-items: center; gap: 12px;
    color: white;
}
.links-card-header i {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.15);
    border-radius: 10px;
    display: grid; place-items: center;
    font-size: 17px; color: var(--accent);
    flex-shrink: 0;
}
.links-card-header h3 { color: white; font-size: 17px; margin: 0; font-weight: 700; }
.downloads-card .links-card-header {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
}
.downloads-card .links-card-header i {
    color: var(--primary-dark); background: rgba(0,0,0,0.1);
}

.links-list { padding: 8px 0; }
.links-list li { border-bottom: 1px solid rgba(10,92,74,0.06); }
.links-list li:last-child { border-bottom: none; }
.links-list a {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 24px;
    color: var(--text-dark) !important;
    font-size: 13.5px; font-weight: 500;
    transition: var(--trans); line-height: 1.4;
}
.links-list a i {
    width: 32px; height: 32px;
    background: rgba(10,92,74,0.08); color: var(--primary);
    border-radius: 8px;
    display: grid; place-items: center;
    font-size: 13px; flex-shrink: 0;
    transition: var(--trans);
}
.links-list a:hover {
    background: rgba(10,92,74,0.04);
    color: var(--primary) !important;
    padding-left: 28px;
}
.links-list a:hover i { background: var(--primary); color: white; }
.downloads-card .links-list a i { background: rgba(201,162,39,0.12); color: var(--accent-dark); }
.downloads-card .links-list a:hover i { background: var(--accent); color: white; }
.file-size {
    margin-left: auto; font-size: 11px;
    color: var(--text-muted); font-weight: 500;
    flex-shrink: 0;
}

/* ============================================================
   EMERGENCY STRIP
   ============================================================ */
.emergency-strip {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    padding: 30px 0; color: white;
    position: relative; overflow: hidden;
}
.emergency-strip::before {
    content: '';
    position: absolute; top: -50%; right: -5%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}
.emergency-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 30px; flex-wrap: wrap;
    position: relative; z-index: 2;
}
.emergency-item { display: flex; align-items: center; gap: 14px; }
.emergency-icon {
    width: 54px; height: 54px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 22px; flex-shrink: 0;
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255,255,255,0.25);
    animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
    70% { box-shadow: 0 0 0 12px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}
.emergency-info { display: flex; flex-direction: column; line-height: 1.3; }
.emergency-info span {
    font-size: 11.5px; text-transform: uppercase;
    letter-spacing: 1px; opacity: 0.85; font-weight: 600;
}
.emergency-info strong {
    font-size: 16px; font-family: 'Poppins', sans-serif;
    font-weight: 700; color: white;
}
.emergency-btn {
    background: white;
    color: #dc2626 !important;
    padding: 14px 28px;
    border-radius: 100px;
    font-weight: 700; font-size: 14px;
    display: inline-flex; align-items: center; gap: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    white-space: nowrap; transition: var(--trans);
}
.emergency-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
    color: #dc2626 !important;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 60px 0; color: white;
    position: relative; overflow: hidden;
}
.cta-content {
    position: relative;
    display: flex; align-items: center; justify-content: space-between;
    gap: 30px; flex-wrap: wrap;
}
.cta-content h2 {
    color: white !important;
    font-size: clamp(22px, 3vw, 32px);
    margin-bottom: 8px; font-weight: 800;
}
.cta-content p { color: rgba(255,255,255,0.85) !important; font-size: 15.5px; margin: 0; }
.btn-gold {
    background: var(--accent);
    color: var(--primary-dark) !important;
    padding: 16px 34px;
    border-radius: var(--radius-pill);
    font-weight: 700; font-size: 15px;
    font-family: 'Poppins', sans-serif;
    display: inline-flex; align-items: center; gap: 10px;
    box-shadow: 0 10px 30px rgba(201,162,39,0.4);
    white-space: nowrap;
}
.btn-gold:hover {
    background: white;
    transform: translateY(-3px);
    color: var(--primary-dark) !important;
}

/* ============================================================
   HOSTEL CARD
   ============================================================ */
.hostel-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--trans);
}
.hostel-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.hostel-image {
    height: 220px;
    background-size: cover; background-position: center;
    position: relative;
}
.hostel-image::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.3) 100%);
}
.hostel-type-badge {
    position: absolute; top: 16px; right: 16px;
    background: rgba(255,255,255,0.95);
    padding: 6px 14px; border-radius: var(--radius-pill);
    font-size: 11.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    z-index: 2;
}
.hostel-type-badge.boys { color: #1e40af; }
.hostel-type-badge.girls { color: #be185d; }
.hostel-body { padding: 24px; }
.hostel-body h3 { color: var(--primary-dark); margin-bottom: 14px; font-size: 19px; }
.hostel-stats {
    display: flex; gap: 24px;
    padding: 14px 0; margin: 14px 0;
    border-top: 1px solid rgba(10,92,74,0.1);
    border-bottom: 1px solid rgba(10,92,74,0.1);
}
.hostel-stat .num {
    font-family: 'Poppins', sans-serif;
    font-size: 20px; font-weight: 700; color: var(--primary);
}
.hostel-stat .lbl {
    font-size: 11px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1px;
}
.hostel-facilities { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0a1f1a; color: rgba(255,255,255,0.7); }
.footer-top {
    background: #0d2620;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-top-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.footer-top-item { display: flex; gap: 15px; align-items: flex-start; }
.footer-top-item i {
    width: 46px; height: 46px;
    background: rgba(201,162,39,0.15);
    color: var(--accent); border-radius: 12px;
    display: grid; place-items: center;
    font-size: 18px; flex-shrink: 0;
}
.footer-top-item h5 {
    color: white; font-size: 13px; margin-bottom: 5px;
    text-transform: uppercase; letter-spacing: 1px;
}
.footer-top-item p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.6; }
.footer-main { padding: 55px 0 35px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-brand h3 {
    color: white; font-size: 14px; line-height: 1.4;
    margin-bottom: 14px; font-weight: 600;
}
.footer-brand p {
    font-size: 13px; color: rgba(255,255,255,0.6);
    line-height: 1.7; margin-bottom: 18px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: white !important;
    display: grid; place-items: center;
    font-size: 15px;
}
.footer-social a:hover { background: var(--accent); color: #1a3a1f !important; }
.footer-col h4 {
    color: white; font-size: 14px;
    margin-bottom: 18px; position: relative;
    padding-bottom: 12px;
}
.footer-col h4::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; width: 30px; height: 3px;
    background: var(--accent); border-radius: 3px;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.65) !important;
    font-size: 13px;
    display: inline-flex; align-items: center; gap: 8px;
}
.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900; color: var(--accent); font-size: 11px;
}
.footer-links a:hover { color: var(--accent) !important; padding-left: 6px; }
.footer-bottom {
    background: #051410;
    padding: 20px 0; text-align: center;
    font-size: 12.5px; color: rgba(255,255,255,0.5);
}
.footer-bottom strong { color: var(--accent); }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.float-whatsapp {
    position: fixed; bottom: 28px; right: 28px;
    width: 56px; height: 56px;
    background: #25D366; color: white !important;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 26px;
    box-shadow: 0 8px 30px rgba(37,211,102,0.4);
    z-index: 998;
}
.float-whatsapp:hover { transform: scale(1.1); color: white !important; }
.back-to-top {
    position: fixed; bottom: 100px; right: 28px;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--primary); color: white;
    border: none; font-size: 16px; cursor: pointer;
    z-index: 997; opacity: 0; visibility: hidden;
    transition: var(--trans);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); }

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 1200px) {
    .menu-item > a { padding: 14px 8px; font-size: 11px; }
}
@media (max-width: 1100px) {
    .menu-item > a { padding: 13px 6px; font-size: 10.5px; }
    .menu-item > a i:first-child { display: none; }
    .menu-item > a .arrow { font-size: 6px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (max-width: 991px)
   ============================================================ */
@media (max-width: 991px) {
    /* Govt strip */
    .govt-strip { padding: 6px 0; font-size: 11px; border-bottom-width: 2px; }
    .govt-strip-inner {
        gap: 8px; flex-wrap: nowrap; overflow-x: auto;
        justify-content: flex-start; padding: 0 12px;
        scrollbar-width: none; -ms-overflow-style: none;
        white-space: nowrap;
    }
    .govt-strip-inner::-webkit-scrollbar { display: none; }
    .govt-strip .divider { display: none; }
    .govt-strip-inner > span {
        flex-shrink: 0; padding: 2px 10px;
        background: rgba(255,255,255,0.06); border-radius: 100px;
    }
    .govt-strip-inner > span:first-child { background: transparent; padding-left: 0; }

    /* College Header */
    .college-header { padding: 12px 0; }
    .college-header-inner {
        flex-direction: row; align-items: center;
        justify-content: flex-start; text-align: left; gap: 12px;
    }
    .college-logo { width: 55px; height: 62px; flex-shrink: 0; }
    .college-name { text-align: left; flex: 1; min-width: 0; }
    .college-name h1 { font-size: 13px; line-height: 1.3; margin-bottom: 3px; }
    .college-address { font-size: 10.5px; line-height: 1.4; margin-bottom: 2px; }
    .college-address i { font-size: 10px; }
    .college-tagline { font-size: 10px; }
    .college-header-right { display: none; }

    /* Nav */
    .mobile-nav-bar { display: flex; }
    .main-menu { display: none; }

    /* News ticker */
    .news-ticker { height: 42px; }
    .ticker-label { padding: 0 14px; font-size: 11px; }
    .ticker-label span { display: none; }
    .ticker-label i { font-size: 16px; }
    .ticker-label::after {
        border-top-width: 21px;
        border-bottom-width: 21px;
    }
    .ticker-item { font-size: 12px; }
    .ticker-scroll { gap: 40px; animation-duration: 28s; }
    .ticker-content { padding-left: 20px; }

    /* Hero stats */
    .hero-stats-wrapper {
        margin-top: 25px;
        margin-bottom: 30px;
        padding: 0 15px;
    }
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px 10px;
    }
    .stat-item { padding: 14px 8px; border-right: none; }
    .stat-item:nth-child(odd) { border-right: 1px solid rgba(10,92,74,0.1); }
    .stat-item:nth-child(3), .stat-item:nth-child(4) {
        border-top: 1px solid rgba(10,92,74,0.1);
    }
    .stat-number { font-size: 30px; }
    .stat-label { font-size: 10.5px; }

    /* Sections */
    .section, .section-light, .section-cream { padding: 60px 0; }
    .section-head { margin-bottom: 40px; }

    /* Info cards */
    .info-card-header { padding: 16px 20px; }
    .info-card-header h3 { font-size: 15px; }
    .notice-list li, .event-list li { padding: 12px 20px; }
    .notice-date { min-width: 50px; padding: 8px 12px; }
    .notice-date .day { font-size: 18px; }
    .notice-text { font-size: 12.5px; }

    /* Hero slider */
    .hero-slider { height: 68vh; min-height: 460px; max-height: 560px; }
    .hero-slide-inner { padding: 30px 0; }
    .hero-badge { padding: 6px 14px; font-size: 11px; margin-bottom: 16px; }
    .hero-slide h1 { font-size: 28px; line-height: 1.2; margin-bottom: 14px; }
    .hero-desc { font-size: 14px; margin-bottom: 20px; line-height: 1.6; }
    .btn-hero { padding: 12px 22px; font-size: 13px; }
    .hero-nav { display: none; }
    .hero-dots { bottom: 20px; gap: 8px; }
    .hero-dot { width: 30px; }
    .hero-dot.active { width: 45px; }

    /* Principal */
    .principal-message { grid-template-columns: 1fr; gap: 40px; }
    .principal-photo img { max-width: 220px; }
    .principal-text h2 { font-size: 20px; }
    .principal-text > p { font-size: 14px; }

    /* Gallery */
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    /* Emergency */
    .emergency-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .emergency-btn { width: 100%; justify-content: center; }
    .emergency-icon { width: 48px; height: 48px; font-size: 19px; }
    .emergency-info strong { font-size: 14px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-top-grid { grid-template-columns: 1fr; }

    /* About */
    .about-split { grid-template-columns: 1fr; gap: 50px; }
    .about-image-wrap img { height: 320px; }
    .experience-badge { position: static; margin-top: 20px; display: inline-block; }

    /* Links */
    .links-card-header { padding: 16px 20px; }
    .links-card-header h3 { font-size: 15px; }
    .links-list a { padding: 12px 20px; font-size: 13px; }
    .file-size { font-size: 10px; }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (max-width: 576px)
   ============================================================ */
@media (max-width: 576px) {
    .college-name h1 { font-size: 12px; }
    .college-address { font-size: 10px; }
    .college-tagline { font-size: 9.5px; }
    .college-logo { width: 48px; height: 55px; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-top-item { gap: 12px; }
    .footer-top-item i { width: 40px; height: 40px; font-size: 15px; }

    .hero-slide h1 { font-size: 24px; }
    .hero-desc { font-size: 13.5px; }
    .btn-hero { width: 100%; justify-content: center; }
    .hero-buttons { flex-direction: column; width: 100%; }

    .hero-stats { grid-template-columns: 1fr; }
    .stat-item {
        border-right: none !important;
        border-top: 1px solid rgba(10,92,74,0.1);
        padding-top: 16px; margin-top: 8px;
    }
    .stat-item:first-child {
        border-top: none;
        padding-top: 10px;
        margin-top: 0;
    }

    .govt-strip { font-size: 10px; padding: 5px 0; }
    .govt-strip i { font-size: 10px; margin-right: 4px; }

    .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .info-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .view-all { align-self: flex-end; }
    .ticker-item { font-size: 11.5px; }
    .emergency-info span { font-size: 10.5px; }
    .emergency-info strong { font-size: 13px; }
}
/* ============================================================
   PAGE HEADER (Internal Pages)
   ============================================================ */
.page-header {
    background: linear-gradient(135deg, rgba(6,61,49,0.95) 0%, rgba(10,92,74,0.88) 100%),
                url('https://images.unsplash.com/photo-1562774053-701939374585?w=1920') center/cover;
    padding: 70px 0 60px;
    color: white;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,162,39,0.18) 0%, transparent 70%);
    animation: floatAccent 10s ease-in-out infinite;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary-light) 50%, var(--accent) 100%);
}
.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}
.page-header h1 {
    font-size: clamp(28px, 4vw, 46px);
    color: white !important;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}
.page-header h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent);
    margin: 16px auto 0;
    border-radius: 4px;
}
.page-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 100px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    font-size: 13px;
    font-weight: 500;
}
.page-breadcrumb a {
    color: var(--accent);
    font-weight: 600;
}
.page-breadcrumb a:hover {
    color: white;
}
.page-breadcrumb i.sep {
    font-size: 9px;
    color: rgba(255,255,255,0.5);
}
.page-breadcrumb span {
    color: rgba(255,255,255,0.85);
}

/* ============================================================
   CONTENT LAYOUT — Sidebar + Main
   ============================================================ */
.page-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 60px 0;
}
.page-wrapper-full {
    padding: 60px 0;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sidebar-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(10,92,74,0.08);
    border: 1px solid rgba(10,92,74,0.06);
}
.sidebar-card-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 16px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}
.sidebar-card-header i {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,0.15);
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: 15px;
    color: var(--accent);
    flex-shrink: 0;
}
.sidebar-card-header h3 {
    color: white;
    font-size: 15px;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.sidebar-list {
    padding: 6px 0;
}
.sidebar-list li {
    border-bottom: 1px solid rgba(10,92,74,0.06);
}
.sidebar-list li:last-child {
    border-bottom: none;
}
.sidebar-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    color: var(--text-dark) !important;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.25s ease;
}
.sidebar-list a i {
    color: var(--primary);
    font-size: 11px;
    transition: transform 0.25s ease;
}
.sidebar-list a:hover {
    background: rgba(10,92,74,0.04);
    color: var(--primary) !important;
    padding-left: 28px;
}
.sidebar-list a:hover i {
    transform: translateX(3px);
    color: var(--accent);
}

/* Sidebar Notice Items */
.sidebar-notices {
    padding: 12px 0;
}
.sidebar-notice-item {
    display: flex;
    gap: 14px;
    padding: 12px 22px;
    border-bottom: 1px solid rgba(10,92,74,0.06);
    transition: all 0.25s ease;
    text-decoration: none;
}
.sidebar-notice-item:last-child {
    border-bottom: none;
}
.sidebar-notice-item:hover {
    background: rgba(10,92,74,0.04);
}
.sidebar-notice-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 8px;
    padding: 6px 10px;
    flex-shrink: 0;
    min-width: 48px;
    line-height: 1;
}
.sidebar-notice-date .day {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 800;
}
.sidebar-notice-date .mon {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.8px;
    margin-top: 2px;
    opacity: 0.9;
}
.sidebar-notice-title {
    color: var(--text-dark);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.5;
    align-self: center;
}
.sidebar-notice-item:hover .sidebar-notice-title {
    color: var(--primary);
}

/* Sidebar Contact */
.sidebar-contact {
    padding: 20px 22px;
}
.sidebar-contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--text-body);
    line-height: 1.55;
}
.sidebar-contact-item:last-child {
    margin-bottom: 0;
}
.sidebar-contact-item i {
    width: 34px;
    height: 34px;
    background: rgba(10,92,74,0.08);
    color: var(--primary);
    border-radius: 9px;
    display: grid;
    place-items: center;
    font-size: 13px;
    flex-shrink: 0;
}
.sidebar-contact-item strong {
    display: block;
    color: var(--primary-dark);
    font-size: 12.5px;
    font-weight: 700;
    margin-bottom: 2px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ============================================================
   MAIN CONTENT AREA
   ============================================================ */
.content-main {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.content-card {
    background: white;
    border-radius: 16px;
    padding: 36px 40px;
    box-shadow: 0 4px 20px rgba(10,92,74,0.06);
    border: 1px solid rgba(10,92,74,0.06);
    position: relative;
}
.content-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px;
    height: 80px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: 0 0 4px 0;
}
.content-card h2 {
    font-size: clamp(20px, 2.5vw, 28px);
    color: var(--primary-dark);
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 14px;
}
.content-card h2 i {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(10,92,74,0.25);
}
.content-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin: 22px 0 12px;
    font-weight: 700;
}
.content-card p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.85;
    margin-bottom: 14px;
}
.content-card p:last-child {
    margin-bottom: 0;
}

/* Content with image */
.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 20px;
}
.content-with-image img {
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(10,92,74,0.15);
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.content-with-image.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}
.content-with-image.reverse > * {
    direction: ltr;
}

/* Content List */
.content-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}
.content-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
    font-size: 14.5px;
    color: var(--text-dark);
    line-height: 1.65;
}
.content-list li i {
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 10px;
    flex-shrink: 0;
    margin-top: 3px;
    box-shadow: 0 3px 8px rgba(10,92,74,0.2);
}

/* Highlight box */
.highlight-box {
    background: linear-gradient(135deg, rgba(10,92,74,0.05), rgba(201,162,39,0.05));
    border-left: 4px solid var(--accent);
    padding: 20px 26px;
    border-radius: 10px;
    margin: 20px 0;
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.75;
    font-style: italic;
}
.highlight-box i {
    color: var(--accent);
    font-size: 20px;
    margin-right: 8px;
}

/* Info Grid (2 or 3 column info) */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.info-grid-item {
    background: #fbfdfc;
    padding: 20px;
    border-radius: 12px;
    border-left: 3px solid var(--primary);
    transition: all 0.3s ease;
}
.info-grid-item:hover {
    background: white;
    box-shadow: 0 8px 20px rgba(10,92,74,0.1);
    transform: translateY(-3px);
}
.info-grid-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(10,92,74,0.1), rgba(10,92,74,0.05));
    color: var(--primary);
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 16px;
    margin-bottom: 12px;
}
.info-grid-item h4 {
    font-size: 15px;
    color: var(--primary-dark);
    margin-bottom: 6px;
    font-weight: 700;
}
.info-grid-item p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Faculty / Cards Grid */
.cards-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
    margin: 20px 0;
}
.person-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(10,92,74,0.08);
    border: 1px solid rgba(10,92,74,0.06);
    transition: all 0.35s ease;
    text-align: center;
}
.person-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(10,92,74,0.15);
}
.person-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-bottom: 4px solid var(--accent);
}
.person-info {
    padding: 20px 16px;
}
.person-info h4 {
    font-size: 15px;
    color: var(--primary-dark);
    margin-bottom: 4px;
    font-weight: 700;
}
.person-info .role {
    font-size: 12.5px;
    color: var(--accent-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.person-info .dept {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============================================================
   TABLES (Fees, Results, Timetable)
   ============================================================ */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(10,92,74,0.06);
}
.data-table thead {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}
.data-table th {
    color: white;
    padding: 14px 18px;
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Poppins', sans-serif;
}
.data-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(10,92,74,0.08);
    color: var(--text-dark);
}
.data-table tbody tr {
    transition: background 0.2s ease;
}
.data-table tbody tr:hover {
    background: rgba(10,92,74,0.03);
}
.data-table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================================================
   FORM ELEMENTS (Admission, Contact)
   ============================================================ */
.form-section {
    background: white;
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 20px rgba(10,92,74,0.06);
    border: 1px solid rgba(10,92,74,0.06);
}
.form-section h3 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid rgba(10,92,74,0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}
.form-section h3 i {
    color: var(--accent);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.form-group label .req {
    color: #dc2626;
    margin-left: 3px;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: #fbfdfc;
    transition: all 0.25s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(10,92,74,0.08);
}
.form-group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: 'Inter', sans-serif;
}

/* File input */
.file-input-wrapper {
    border: 2px dashed rgba(10,92,74,0.2);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    background: #fbfdfc;
    transition: all 0.25s ease;
    cursor: pointer;
}
.file-input-wrapper:hover {
    border-color: var(--primary);
    background: rgba(10,92,74,0.03);
}
.file-input-wrapper i {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}
.file-input-wrapper span {
    font-size: 13px;
    color: var(--text-muted);
}

/* Buttons */
.btn-form-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 14px 40px;
    border-radius: 100px;
    border: none;
    font-weight: 700;
    font-size: 14.5px;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 22px rgba(10,92,74,0.28);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-form-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(10,92,74,0.4);
}
.btn-form-secondary {
    background: white;
    color: var(--primary);
    padding: 14px 40px;
    border-radius: 100px;
    border: 1.5px solid var(--primary);
    font-weight: 700;
    font-size: 14.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-form-secondary:hover {
    background: var(--primary);
    color: white;
}

/* ============================================================
   CTA SECTION (Bottom of every page)
   ============================================================ */
.page-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 50px 0;
    color: white;
    position: relative;
    overflow: hidden;
}
.page-cta::before {
    content: '';
    position: absolute;
    top: -50%; right: -5%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(201,162,39,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.page-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}
.page-cta h3 {
    color: white !important;
    font-size: clamp(20px, 2.5vw, 28px);
    margin-bottom: 6px;
    font-weight: 800;
}
.page-cta p {
    color: rgba(255,255,255,0.85);
    margin: 0;
    font-size: 15px;
}

/* ============================================================
   RESPONSIVE — Page Layouts
   ============================================================ */
@media (max-width: 991px) {
    .page-header { padding: 55px 0 45px; }
    .page-header h1 { font-size: 26px; }
    .page-header h1::after { width: 60px; }
    .page-breadcrumb { font-size: 12px; padding: 6px 16px; }
    
    .page-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0;
    }
    .content-card { padding: 26px 22px; }
    .content-card h2 { font-size: 20px; }
    .content-card h2 i { width: 38px; height: 38px; font-size: 15px; }
    
    .content-with-image {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .content-with-image img { height: 220px; }
    
    .cards-grid-3 {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 16px;
    }
    .form-section { padding: 24px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 16px; }
    
    .page-cta-content { text-align: center; justify-content: center; }
}

@media (max-width: 576px) {
    .page-header { padding: 45px 0 35px; }
    .page-header h1 { font-size: 22px; }
    .content-card { padding: 20px 18px; }
    .content-card h2 { font-size: 18px; gap: 10px; }
    .content-card h2 i { width: 34px; height: 34px; font-size: 14px; }
    .content-card p { font-size: 14px; }
    
    .cards-grid-3 { grid-template-columns: 1fr 1fr; }
    .data-table { font-size: 12.5px; }
    .data-table th, .data-table td { padding: 10px 12px; }
}
/* ============================================================
   FORM MESSAGES (Success/Error)
   ============================================================ */
.form-message {
    display: block;
    padding: 16px 22px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.6;
    border-left: 4px solid;
    animation: slideDown 0.4s ease;
}
.form-message.success {
    background: #ecfdf5;
    color: #065f46;
    border-color: #10b981;
}
.form-message.error {
    background: #fef2f2;
    color: #991b1b;
    border-color: #dc2626;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: #fbfdfc;
    transition: all 0.25s ease;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(10,92,74,0.08);
}

/* Gallery Tabs */
.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.gallery-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: var(--text-dark) !important;
    border-radius: 100px;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(10,92,74,0.08);
    border: 1.5px solid rgba(10,92,74,0.08);
    transition: all 0.3s ease;
}
.gallery-tabs a i { color: var(--primary); }
.gallery-tabs a:hover,
.gallery-tabs a.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white !important;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10,92,74,0.25);
}
.gallery-tabs a:hover i,
.gallery-tabs a.active i { color: var(--accent); }

/* Full Gallery Grid */
.gallery-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.gallery-item-full {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(10,92,74,0.1);
    transition: all 0.35s ease;
    display: block;
}
.gallery-item-full:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(10,92,74,0.2);
}
.gallery-item-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-item-full:hover img { transform: scale(1.1); }
.gallery-item-full .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10,92,74,0.85) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item-full:hover .gallery-overlay { opacity: 1; }
.gallery-item-full .gallery-overlay i {
    color: white;
    font-size: 26px;
    background: rgba(201,162,39,0.9);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    transform: scale(0.8);
    transition: transform 0.4s ease 0.1s;
}
.gallery-item-full:hover .gallery-overlay i { transform: scale(1); }

@media (max-width: 768px) {
    .gallery-grid-full { grid-template-columns: 1fr 1fr; gap: 12px; }
    .gallery-tabs a { padding: 10px 18px; font-size: 12.5px; }
}
@media (max-width: 480px) {
    .gallery-grid-full { grid-template-columns: 1fr; }
}
.notice-feed {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.notice-feed-item {
    display: flex;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(10,92,74,0.08);
    transition: all 0.3s ease;
}
.notice-feed-item:last-child { border-bottom: none; }
.notice-feed-item:hover {
    padding-left: 12px;
    background: rgba(10,92,74,0.02);
}
.notice-feed-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 12px;
    padding: 12px 16px;
    flex-shrink: 0;
    min-width: 76px;
    box-shadow: 0 6px 16px rgba(10,92,74,0.22);
}
.notice-feed-date .day {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}
.notice-feed-date .month {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-top: 3px;
}
.notice-feed-date .year {
    font-size: 9px;
    opacity: 0.7;
    margin-top: 2px;
}
.notice-feed-content { flex: 1; }
.notice-feed-content h4 {
    font-size: 15px;
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.notice-feed-content p {
    font-size: 13.5px;
    color: var(--text-body);
    margin-bottom: 10px;
    line-height: 1.6;
}
.notice-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-dark) !important;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    background: rgba(201,162,39,0.12);
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.notice-download:hover {
    background: var(--accent);
    color: white !important;
}
.notice-download i { font-size: 11px; }

@media (max-width: 576px) {
    .notice-feed-item { flex-direction: column; gap: 12px; }
    .notice-feed-date {
        flex-direction: row;
        align-self: flex-start;
        gap: 6px;
        padding: 6px 14px;
        min-width: auto;
    }
    .notice-feed-date .day { font-size: 16px; }
    .notice-feed-date .month, .notice-feed-date .year { font-size: 10px; margin: 0; }
}

/* ============================================================
   GOVERNMENT SITE COMPONENTS
   ============================================================ */

/* Person/Profile Card Grid */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
    margin: 20px 0;
}
.profile-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(10,92,74,0.08);
    border: 1px solid rgba(10,92,74,0.06);
    transition: all 0.35s ease;
    text-align: center;
}
.profile-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(10,92,74,0.15);
}
.profile-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-bottom: 4px solid var(--accent);
}
.profile-info { padding: 18px 14px; }
.profile-info h4 {
    font-size: 15px;
    color: var(--primary-dark);
    margin-bottom: 4px;
    font-weight: 700;
}
.profile-info .role {
    font-size: 12px;
    color: var(--accent-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.profile-info .dept {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Document List (for downloads) */
.doc-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.doc-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(10,92,74,0.08);
    transition: all 0.3s ease;
}
.doc-item:last-child { border-bottom: none; }
.doc-item:hover {
    padding-left: 12px;
    background: rgba(10,92,74,0.02);
}
.doc-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 22px;
    color: #dc2626;
    flex-shrink: 0;
}
.doc-info { flex: 1; min-width: 0; }
.doc-info h4 {
    font-size: 14px;
    color: var(--primary-dark);
    margin-bottom: 4px;
    font-weight: 700;
    line-height: 1.4;
}
.doc-info p {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0;
}
.doc-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white !important;
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 12.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.doc-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10,92,74,0.3);
    color: white !important;
}

/* Event/News Card */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
    margin: 20px 0;
}
.event-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(10,92,74,0.08);
    border: 1px solid rgba(10,92,74,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(10,92,74,0.15);
}
.event-card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.event-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(10,92,74,0.6) 100%);
}
.event-card-date {
    position: absolute;
    top: 12px;
    left: 12px;
    background: white;
    padding: 8px 14px;
    border-radius: 10px;
    text-align: center;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.event-card-date .day {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    display: block;
}
.event-card-date .month {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-top: 2px;
}
.event-card-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.event-card-body h3 {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.4;
}
.event-card-body p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 14px;
    flex: 1;
}
.event-card-meta {
    display: flex;
    gap: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(10,92,74,0.08);
    font-size: 12px;
    color: var(--text-muted);
}
.event-card-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.event-card-meta i { color: var(--accent); }

/* Stats/Info Cards */
.stat-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin: 20px 0;
}
.stat-block {
    background: linear-gradient(135deg, white, #fbfdfc);
    padding: 24px 20px;
    border-radius: 14px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 14px rgba(10,92,74,0.06);
    transition: all 0.3s ease;
}
.stat-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(10,92,74,0.12);
}
.stat-block i {
    font-size: 26px;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}
.stat-block .label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 6px;
}
.stat-block .value {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1;
}

/* Government Notice Board Table */
.notice-board-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 16px rgba(10,92,74,0.06);
    border-radius: 12px;
    overflow: hidden;
}
.notice-board-table th {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 14px 18px;
    text-align: left;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.notice-board-table td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(10,92,74,0.08);
    font-size: 13.5px;
    color: var(--text-dark);
}
.notice-board-table tr:last-child td { border-bottom: none; }
.notice-board-table tr:hover { background: rgba(10,92,74,0.03); }
.notice-board-table a {
    color: var(--primary) !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.notice-board-table a:hover { color: var(--accent-dark) !important; }

/* Alert Box */
.alert-box {
    padding: 18px 22px;
    border-radius: 12px;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.7;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.alert-box i {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}
.alert-box.warning {
    background: #fffbeb;
    color: #92400e;
    border-left: 4px solid #f59e0b;
}
.alert-box.warning i { color: #f59e0b; }
.alert-box.info {
    background: #eff6ff;
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}
.alert-box.info i { color: #3b82f6; }
.alert-box.danger {
    background: #fef2f2;
    color: #991b1b;
    border-left: 4px solid #dc2626;
}
.alert-box.danger i { color: #dc2626; }

/* Officer/Admin Cards (for Governing Body) */
.officer-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(10,92,74,0.08);
    border-top: 4px solid var(--accent);
    padding: 24px 20px;
    text-align: center;
    transition: all 0.3s ease;
}
.officer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(10,92,74,0.15);
}
.officer-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 4px solid rgba(201,162,39,0.2);
    display: block;
}
.officer-card h4 {
    font-size: 16px;
    color: var(--primary-dark);
    margin-bottom: 4px;
    font-weight: 700;
}
.officer-card .designation {
    font-size: 12.5px;
    color: var(--accent-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}
.officer-card .description {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin: 20px 0;
}
.contact-block {
    background: white;
    padding: 24px 22px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(10,92,74,0.08);
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}
.contact-block:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(10,92,74,0.12);
}
.contact-block i {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 18px;
    margin-bottom: 14px;
}
.contact-block h4 {
    font-size: 14px;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-weight: 700;
}
.contact-block p {
    font-size: 13.5px;
    color: var(--text-body);
    line-height: 1.7;
    margin: 0;
}
.contact-block a {
    color: var(--primary) !important;
    font-weight: 600;
}
.contact-block a:hover { color: var(--accent-dark) !important; }

/* Quick Action Buttons */
.quick-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 20px 0;
}
.quick-action-btn {
    background: white;
    border: 2px solid rgba(10,92,74,0.15);
    padding: 14px 22px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-dark) !important;
    font-weight: 700;
    font-size: 13.5px;
    transition: all 0.3s ease;
}
.quick-action-btn i {
    color: var(--primary);
    font-size: 16px;
}
.quick-action-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white !important;
    transform: translateY(-2px);
}
.quick-action-btn:hover i { color: var(--accent); }

/* Responsive */
@media (max-width: 768px) {
    .profile-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .event-grid { grid-template-columns: 1fr; }
    .stat-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .notice-board-table { font-size: 12px; }
    .notice-board-table th, .notice-board-table td { padding: 10px 12px; }
    .doc-item { flex-wrap: wrap; }
}
@media (max-width: 480px) {
    .profile-grid { grid-template-columns: 1fr 1fr; }
    .stat-cards-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   LIGHTBOX — Pop-up Image Viewer
   ============================================================ */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}
.lightbox-image-wrap {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    animation: lightboxZoom 0.4s ease;
}
@keyframes lightboxZoom {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.lightbox-close {
    position: absolute;
    top: -50px;
    right: -10px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.3s ease;
    z-index: 2;
}
.lightbox-close:hover {
    background: #c9a227;
    color: #0a5c4a;
    border-color: #c9a227;
    transform: rotate(90deg);
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.3s ease;
    z-index: 2;
    backdrop-filter: blur(10px);
}
.lightbox-nav:hover {
    background: #c9a227;
    color: #0a5c4a;
    border-color: #c9a227;
    transform: translateY(-50%) scale(1.1);
}
.lightbox-nav.prev { left: -70px; }
.lightbox-nav.next { right: -70px; }

.lightbox-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 100px;
    backdrop-filter: blur(10px);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .lightbox-overlay { padding: 20px; }
    .lightbox-nav { width: 44px; height: 44px; font-size: 16px; }
    .lightbox-nav.prev { left: 10px; }
    .lightbox-nav.next { right: 10px; }
    .lightbox-close { top: 10px; right: 10px; width: 38px; height: 38px; }
    .lightbox-counter { bottom: 10px; }
}

/* ============================================================
   ADMIN PANEL STYLES
   ============================================================ */
.admin-page-header {
    background: white;
    padding: 20px 26px;
    border-radius: 14px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(10,92,74,0.06);
    border-left: 4px solid var(--accent);
}
.admin-page-header h2 {
    font-size: 22px;
    color: var(--primary-dark);
    margin: 0 0 4px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.admin-page-header h2 i { color: var(--accent); }
.admin-page-header p {
    margin: 0;
    font-size: 13.5px;
    color: var(--text-muted);
}

.admin-card {
    background: white;
    border-radius: 14px;
    padding: 26px;
    margin-bottom: 24px;
    box-shadow: 0 4px 16px rgba(10,92,74,0.06);
}
.admin-card h3 {
    font-size: 16px;
    color: var(--primary-dark);
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(10,92,74,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}
.admin-card h3 i { color: var(--accent); }

.admin-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}
.admin-form-group { margin-bottom: 18px; }
.admin-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.admin-form-group label .req { color: #dc2626; }

.admin-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 9px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background: #fbfdfc;
    transition: all 0.25s ease;
}
.admin-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(10,92,74,0.08);
}

.admin-form-actions {
    display: flex;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(10,92,74,0.08);
    margin-top: 16px;
}
.btn-admin-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 12px 28px;
    border-radius: 9px;
    border: none;
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(10,92,74,0.2);
}
.btn-admin-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(10,92,74,0.35);
}
.btn-admin-secondary {
    background: white;
    color: var(--primary);
    padding: 12px 28px;
    border-radius: 9px;
    border: 1.5px solid var(--primary);
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-admin-secondary:hover {
    background: var(--primary);
    color: white;
}

/* Admin Table */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.admin-table th {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: white;
    padding: 13px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.admin-table td {
    padding: 13px 16px;
    border-bottom: 1px solid rgba(10,92,74,0.08);
    color: var(--text-dark);
}
.admin-table tr:hover { background: rgba(10,92,74,0.03); }

.btn-icon-edit, .btn-icon-delete {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    color: white !important;
    margin-right: 4px;
    text-decoration: none;
    transition: all 0.25s ease;
}
.btn-icon-edit {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}
.btn-icon-delete {
    background: linear-gradient(135deg, #ef4444, #991b1b);
}
.btn-icon-edit:hover, .btn-icon-delete:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.badge-active {
    background: #dcfce7;
    color: #166534;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
}
.badge-inactive {
    background: #fee2e2;
    color: #991b1b;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
}

/* Admin Gallery Grid */
.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}
.admin-gallery-item {
    position: relative;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(10,92,74,0.08);
    transition: all 0.3s ease;
}
.admin-gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(10,92,74,0.15);
}
.admin-gallery-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}
.admin-gallery-item-info {
    padding: 10px 12px;
}
.admin-gallery-title {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.admin-gallery-cat {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.admin-gallery-delete {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    background: rgba(220,38,38,0.9);
    color: white !important;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    opacity: 0;
    transition: all 0.3s ease;
}
.admin-gallery-item:hover .admin-gallery-delete { opacity: 1; }
.admin-gallery-delete:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.alert-success-pro, .alert-error-pro {
    display: block;
    padding: 14px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    border-left: 4px solid;
}
.alert-success-pro {
    background: #ecfdf5;
    color: #065f46;
    border-color: #10b981;
}
.alert-error-pro {
    background: #fef2f2;
    color: #991b1b;
    border-color: #dc2626;
}

@media (max-width: 768px) {
    .admin-form-grid { grid-template-columns: 1fr; }
    .admin-table { font-size: 12px; }
    .admin-table th, .admin-table td { padding: 10px 12px; }
}

/* ============================================================
   GALLERY — Empty State
   ============================================================ */
.gallery-empty {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(10,92,74,0.06);
}
.gallery-empty i {
    font-size: 70px;
    color: #cbd5e0;
    margin-bottom: 20px;
    display: block;
}
.gallery-empty h3 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.gallery-empty p {
    color: var(--text-muted);
    font-size: 14.5px;
    margin: 0;
}

/* Gallery item loading shimmer */
.gallery-item-full img {
    background: linear-gradient(90deg, #f0f4f8 25%, #e2e8f0 50%, #f0f4f8 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
.gallery-item-full img[src] { animation: none; }
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* ============================================================
   COLLEGE HEADER — COMPACT & PROFESSIONAL
   ============================================================ */
.college-header {
    background: #ffffff;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.college-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: nowrap;
}

/* LEFT SIDE — Logo + Name */
.college-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    min-width: 0;
}

.college-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 72px;
    height: 80px;
}
.college-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.college-name {
    flex: 1;
    min-width: 0;
    text-align: left;
}
.college-name h1 {
    font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
    font-size: 17px;
    color: #1a3a1f;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 4px;
    letter-spacing: -0.2px;
}
.college-address {
    font-size: 12px;
    color: #4a5568;
    font-weight: 500;
    margin: 0;
    line-height: 1.4;
}
.college-address i { 
    color: var(--primary); 
    margin-right: 5px; 
    font-size: 11px; 
}

/* RIGHT SIDE — Info + Button */
.college-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.header-info-block {
    display: flex;
    flex-direction: row;
    gap: 18px;
    padding-right: 16px;
    border-right: 1px solid #e5e7eb;
}

.header-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}
.header-info-item > i {
    width: 30px;
    height: 30px;
    background: rgba(10,92,74,0.08);
    color: var(--primary);
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 13px;
    flex-shrink: 0;
}
.header-info-item > div {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.header-info-item strong {
    color: #1a3a1f;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.3px;
}
.header-info-item span { 
    color: #4a5568; 
    font-size: 11.5px; 
    font-weight: 500; 
}

.btn-apply-header {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white !important;
    padding: 10px 18px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(201,162,39,0.35);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-apply-header:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 8px 22px rgba(201,162,39,0.5); 
    color: white !important; 
}
.btn-apply-header i {
    font-size: 14px;
}

/* ============================================================
   RESPONSIVE — COLLEGE HEADER
   ============================================================ */
@media (max-width: 1200px) {
    .header-info-block {
        flex-direction: column;
        gap: 6px;
    }
    .college-name h1 { font-size: 15px; }
}

@media (max-width: 991px) {
    .college-header { padding: 10px 0; }
    .college-header-inner { 
        gap: 12px;
    }
    .college-left { gap: 12px; }
    .college-logo { width: 55px; height: 62px; }
    .college-name h1 { font-size: 13px; line-height: 1.3; margin-bottom: 3px; }
    .college-address { font-size: 10.5px; }
    .college-header-right { display: none; }
}

@media (max-width: 576px) {
    .college-logo { width: 48px; height: 55px; }
    .college-name h1 { font-size: 11.5px; }
    .college-address { font-size: 9.5px; line-height: 1.35; }
    .college-address i { font-size: 9px; margin-right: 3px; }
}