/* ==========================================================================
   VIVEKANAND POST GRADUATE COLLEGE (VNC ANJANA), BANSWARA
   Design Concept A: Prestigious Heritage & Modern Editorial
   Mobile-First Master Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Palette - Royal Emerald & Burnished Brass */
    --emerald-950: #02231b;
    --emerald-900: #022c22;
    --emerald-800: #064e3b;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-100: #d1fae5;
    --emerald-50:  #ecfdf5;

    --brass-700: #855b16;
    --brass-600: #a9751e;
    --brass-500: #c28e2b;
    --brass-400: #d99b26;
    --brass-100: #fef3c7;
    --brass-50:  #fffbeb;

    /* Editorial Surfaces */
    --bg-page: #faf8f5;
    --bg-surface: #ffffff;
    --bg-subtle: #f4efe6;
    --bg-surface-elevated: #ffffff;

    /* Text */
    --text-primary: #0f1f1a;
    --text-secondary: #2d3d36;
    --text-muted: #64776e;
    --text-light: #f4efe6;

    /* Borders & Hairlines */
    --border-hairline: rgba(6, 78, 59, 0.12);
    --border-brass: rgba(194, 142, 43, 0.35);
    --border-focus: #c28e2b;

    /* Shadows */
    --shadow-subtle: 0 2px 8px rgba(6, 78, 59, 0.05);
    --shadow-card: 0 10px 25px -4px rgba(6, 78, 59, 0.08), 0 4px 10px -2px rgba(6, 78, 59, 0.03);
    --shadow-float: 0 20px 40px -10px rgba(6, 78, 59, 0.15);
    --shadow-brass: 0 8px 20px rgba(194, 142, 43, 0.28);

    /* Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 30px;
    --radius-pill: 9999px;

    /* Typography scale */
    --font-serif-display: 'Cinzel', serif;
    --font-serif-body: 'Playfair Display', serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Transition */
    --transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES (MOBILE-FIRST)
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-page);
    color: var(--text-secondary);
    line-height: 1.68;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.drawer-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

.heading-display {
    font-family: var(--font-serif-display);
    letter-spacing: 0.02em;
}

.heading-editorial {
    font-family: var(--font-serif-body);
}

a {
    color: var(--emerald-800);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--brass-600);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
}

/* Fluid responsive container */
.container {
    width: 100%;
    max-width: 1260px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 3.5vw, 2.5rem);
}

/* ==========================================================================
   TOP EDITORIAL TICKER & UTILITY BAR
   ========================================================================== */
.top-utility-bar {
    background: var(--emerald-950);
    color: var(--bg-subtle);
    font-size: 0.8125rem;
    padding-block: 7px;
    border-bottom: 1px solid rgba(194, 142, 43, 0.25);
}

.utility-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.utility-left {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.utility-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e5ede8;
}

.utility-item a {
    color: #e5ede8;
}

.utility-item a:hover {
    color: var(--brass-400);
}

.utility-badge {
    background: rgba(194, 142, 43, 0.2);
    color: var(--brass-400);
    border: 1px solid rgba(194, 142, 43, 0.35);
    padding: 2px 9px;
    border-radius: var(--radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.utility-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.utility-link {
    color: #e5ede8;
    font-weight: 600;
}

.utility-link:hover {
    color: var(--brass-400);
}

/* ==========================================================================
   HEADER & NAVIGATION BAR (FLOATING EDITORIAL PILL)
   ========================================================================== */
.site-header-wrap {
    position: sticky;
    top: 0;
    z-index: 100;
    padding-block: 10px;
    transition: var(--transition);
}

.site-header-wrap.scrolled {
    padding-block: 6px;
}

.navbar-island {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
}

.brand-crest {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.crest-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 50%;
    padding: 2px;
    background: #fff;
    border: 2px solid var(--brass-500);
    box-shadow: 0 2px 8px rgba(6, 78, 59, 0.12);
}

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

.brand-title {
    font-family: var(--font-serif-display);
    font-size: clamp(1rem, 2vw, 1.28rem);
    font-weight: 800;
    color: var(--emerald-900);
    letter-spacing: 0.02em;
    line-height: 1.15;
}

.brand-sub {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--brass-600);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Desktop Navigation Links */
.desktop-nav {
    display: none;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 6px;
    }
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover, .nav-link.active {
    color: var(--emerald-900);
    background: var(--bg-subtle);
}

.nav-link.active {
    font-weight: 700;
    color: var(--emerald-800);
    box-shadow: inset 0 -2px 0 var(--brass-500);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-float);
    min-width: 240px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 110;
}

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

.dropdown-item {
    display: block;
    padding: 9px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.dropdown-item:hover {
    background: var(--bg-subtle);
    color: var(--emerald-800);
    padding-left: 22px;
}

/* CTA Pill Button in Header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-brass-pill {
    background: linear-gradient(135deg, var(--brass-500) 0%, var(--brass-400) 100%);
    color: #ffffff;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    box-shadow: var(--shadow-brass);
    transition: var(--transition);
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
}

.btn-brass-pill:hover {
    background: linear-gradient(135deg, var(--brass-600) 0%, var(--brass-500) 100%);
    color: #fff;
    transform: translateY(-2px);
}

/* Hamburger toggle for mobile */
.mobile-drawer-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-hairline);
    background: var(--bg-subtle);
    color: var(--emerald-900);
    cursor: pointer;
    padding: 0;
}

@media (min-width: 1024px) {
    .mobile-drawer-toggle {
        display: none;
    }
}

.mobile-drawer-toggle svg {
    width: 24px;
    height: 24px;
}

/* ==========================================================================
   MOBILE SLIDE-OUT DRAWER
   ========================================================================== */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 44, 34, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(85vw, 360px);
    background: var(--bg-surface);
    z-index: 210;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-float);
    overflow-y: auto;
}

.mobile-drawer.active {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-hairline);
    background: var(--emerald-950);
    color: #fff;
}

.drawer-brand {
    font-family: var(--font-serif-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.drawer-close {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-nav {
    padding: 16px 0;
    flex: 1;
}

.drawer-nav-item {
    border-bottom: 1px solid rgba(6, 78, 59, 0.06);
}

.drawer-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.drawer-nav-link:hover, .drawer-nav-link.active {
    background: var(--bg-subtle);
    color: var(--emerald-800);
}

.drawer-submenu {
    background: var(--bg-subtle);
    padding-left: 20px;
    display: none;
}

.drawer-submenu.show {
    display: block;
}

.drawer-sublink {
    display: block;
    padding: 10px 20px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.drawer-footer {
    padding: 20px;
    border-top: 1px solid var(--border-hairline);
    background: var(--bg-page);
    text-align: center;
}

/* ==========================================================================
   ANNOUNCEMENT TICKER (TOP)
   ========================================================================== */
.announcement-ribbon {
    background: #ecfdf5;
    border-block: 1px solid #bbf7d0;
    padding-block: 6px;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.ribbon-tag {
    background: var(--emerald-800);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 12px;
    flex-shrink: 0;
    margin-left: 15px;
}

.ribbon-content {
    display: inline-block;
    animation: ticker 32s linear infinite;
    color: var(--emerald-900);
    font-size: 0.875rem;
    font-weight: 600;
}

.ribbon-content a {
    color: var(--emerald-900);
    text-decoration: underline;
    margin-inline: 18px;
}

.ribbon-content a:hover {
    color: var(--brass-600);
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* ==========================================================================
   HERO SECTION (CONCEPT A: ASYMMETRIC EDITORIAL HERITAGE)
   ========================================================================== */
.hero-editorial {
    position: relative;
    padding-block: clamp(2.5rem, 5vw, 4.5rem);
    background: radial-gradient(circle at 10% 20%, rgba(209, 250, 229, 0.4) 0%, transparent 60%),
                radial-gradient(circle at 90% 80%, rgba(254, 243, 199, 0.35) 0%, transparent 60%),
                var(--bg-page);
    overflow: hidden;
    border-bottom: 1px solid var(--border-hairline);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.15fr 0.85fr;
        gap: 50px;
    }
}

.hero-content {
    max-width: 660px;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border-brass);
    border-radius: var(--radius-pill);
    padding: 6px 14px;
    margin-bottom: 18px;
    box-shadow: var(--shadow-subtle);
}

.pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brass-500);
    box-shadow: 0 0 8px var(--brass-400);
}

.pill-text {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brass-700);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-family: var(--font-serif-display);
    font-size: clamp(2rem, 3.8vw + 0.5rem, 3.4rem);
    font-weight: 800;
    color: var(--emerald-950);
    line-height: 1.15;
    margin-bottom: 14px;
}

.hero-title span.accent {
    color: var(--brass-600);
    position: relative;
    display: inline-block;
}

.hero-subtitle-hi {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 600;
    color: var(--emerald-800);
    margin-bottom: 16px;
    line-height: 1.4;
}

.hero-description {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    color: var(--text-secondary);
    margin-bottom: 26px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.btn-primary-emerald {
    background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-900) 100%);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 13px 26px;
    border-radius: var(--radius-pill);
    box-shadow: 0 6px 16px rgba(6, 78, 59, 0.25);
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-emerald:hover {
    background: linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-950) 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(6, 78, 59, 0.35);
}

.btn-outline-brass {
    background: var(--bg-surface);
    color: var(--emerald-950);
    border: 1px solid var(--border-brass);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 13px 24px;
    border-radius: var(--radius-pill);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline-brass:hover {
    background: var(--bg-subtle);
    border-color: var(--brass-500);
    color: var(--brass-700);
}

/* Stat Ribbon inside hero */
.hero-stats-ribbon {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid var(--border-hairline);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: var(--font-serif-display);
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: var(--emerald-900);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 4px;
}

/* Hero Visual & Feature Stack */
.hero-visual-frame {
    position: relative;
}

.hero-main-card {
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    padding: 14px;
    border: 1px solid var(--border-hairline);
    box-shadow: var(--shadow-float);
    position: relative;
    overflow: hidden;
}

.hero-main-card img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 340px;
    object-fit: cover;
}

.floating-quote-badge {
    position: absolute;
    bottom: -15px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-brass);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    gap: 12px;
}

.quote-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brass-500);
    flex-shrink: 0;
}

.quote-text {
    font-size: 0.8125rem;
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.4;
}

.quote-author {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--emerald-900);
    font-style: normal;
    display: block;
    margin-top: 2px;
}

/* ==========================================================================
   SECTION COMMON STYLES
   ========================================================================== */
.section-pad {
    padding-block: clamp(3rem, 6vw, 5.5rem);
}

.section-head {
    text-align: center;
    max-width: 720px;
    margin-inline: auto;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--brass-600);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    display: inline-block;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-serif-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--emerald-950);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   ACADEMIC PROGRAM BENTO CARDS (COURSES)
   ========================================================================== */
.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
}

@media (min-width: 640px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.course-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--emerald-800), var(--brass-500));
    opacity: 0;
    transition: var(--transition);
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--border-brass);
}

.course-card:hover::before {
    opacity: 1;
}

.course-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--emerald-800);
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
    align-self: flex-start;
}

.course-title {
    font-family: var(--font-serif-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--emerald-950);
    margin-bottom: 6px;
}

.course-title-hi {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brass-600);
    margin-bottom: 12px;
}

.course-meta-list {
    margin-block: 14px;
    padding-top: 14px;
    border-top: 1px dashed var(--border-hairline);
    font-size: 0.8125rem;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.meta-key {
    color: var(--text-muted);
}

.meta-val {
    font-weight: 600;
    color: var(--text-primary);
}

/* ==========================================================================
   EDITORIAL LEADERSHIP / WELCOME SPOTLIGHT
   ========================================================================== */
.welcome-editorial-wrap {
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 4vw, 3.5rem);
    box-shadow: var(--shadow-card);
}

.editorial-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
}

@media (min-width: 900px) {
    .editorial-split {
        grid-template-columns: 320px 1fr;
        gap: 45px;
    }
}

.leader-portrait-wrap {
    text-align: center;
}

.leader-portrait {
    width: 240px;
    height: 280px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-inline: auto;
    border: 4px solid var(--bg-surface);
    box-shadow: var(--shadow-float);
    outline: 2px solid var(--brass-500);
}

.leader-name {
    font-family: var(--font-serif-display);
    font-size: 1.2rem;
    color: var(--emerald-950);
    margin-top: 14px;
}

.leader-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--brass-600);
}

.editorial-quote-mark {
    font-family: var(--font-serif-body);
    font-size: 3.5rem;
    color: var(--brass-500);
    line-height: 1;
    margin-bottom: -10px;
    opacity: 0.5;
}

.editorial-body p {
    font-size: 1rem;
    line-height: 1.78;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* ==========================================================================
   FACILITIES SHOWCASE (CAMPUS AMENITIES)
   ========================================================================== */
.facilities-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 600px) {
    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .facilities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.facility-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}

.facility-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--border-brass);
}

.facility-img-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.facility-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.facility-card:hover .facility-img-wrap img {
    transform: scale(1.05);
}

.facility-content {
    padding: 20px;
}

.facility-title {
    font-family: var(--font-serif-display);
    font-size: 1.15rem;
    color: var(--emerald-950);
    margin-bottom: 8px;
}

.facility-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   STATUTORY NCTE DISCLOSURE CARDS & TABLES (RESPONSIVE)
   ========================================================================== */
.disclosure-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .disclosure-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.doc-download-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    transition: var(--transition);
    box-shadow: var(--shadow-subtle);
}

.doc-download-card:hover {
    border-color: var(--brass-500);
    box-shadow: var(--shadow-card);
    transform: translateY(-2px);
}

.doc-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.doc-icon-badge {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: #fee2e2;
    color: #b91c1c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.78rem;
    flex-shrink: 0;
    letter-spacing: 0.05em;
}

.doc-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--emerald-950);
    line-height: 1.35;
}

.doc-clause {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.btn-doc-download {
    background: var(--bg-subtle);
    color: var(--emerald-900);
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-hairline);
    white-space: nowrap;
    transition: var(--transition);
}

.doc-download-card:hover .btn-doc-download {
    background: var(--emerald-800);
    color: #ffffff;
    border-color: var(--emerald-800);
}

/* Responsive Table Wrapper */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-hairline);
    background: var(--bg-surface);
    box-shadow: var(--shadow-subtle);
    margin-block: 20px;
}

.editorial-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

.editorial-table th {
    background: var(--emerald-950);
    color: #fff;
    font-family: var(--font-serif-display);
    font-weight: 700;
    padding: 14px 18px;
    letter-spacing: 0.03em;
    border-bottom: 2px solid var(--brass-500);
}

.editorial-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-hairline);
    color: var(--text-secondary);
}

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

.editorial-table tr:hover td {
    background: var(--bg-subtle);
}

/* ==========================================================================
   FACULTY DIRECTORY
   ========================================================================== */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.staff-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition);
}

.staff-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: var(--border-brass);
}

.staff-photo {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin-inline: auto;
    margin-bottom: 14px;
    border: 3px solid var(--bg-subtle);
    box-shadow: 0 4px 12px rgba(6, 78, 59, 0.12);
}

.staff-name {
    font-family: var(--font-serif-display);
    font-size: 1.05rem;
    color: var(--emerald-950);
    margin-bottom: 4px;
}

.staff-designation {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--brass-600);
    margin-bottom: 6px;
}

.staff-qual {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================================================
   PHOTO GALLERY WITH LIGHTBOX MODAL
   ========================================================================== */
.gallery-filter-chips {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-chip {
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
}

.filter-chip:hover, .filter-chip.active {
    background: var(--emerald-800);
    color: #fff;
    border-color: var(--emerald-800);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 220px;
    cursor: pointer;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--border-hairline);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(2, 44, 34, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(2, 35, 27, 0.92);
    backdrop-filter: blur(8px);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-modal.active {
    display: flex;
}

.lightbox-content {
    max-width: 900px;
    max-height: 85vh;
    position: relative;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-float);
    margin-inline: auto;
}

.lightbox-title {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 14px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}

/* ==========================================================================
   FORMS & APPLICATION PORTAL
   ========================================================================== */
.form-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-xl);
    padding: clamp(1.5rem, 4vw, 3rem);
    box-shadow: var(--shadow-card);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (min-width: 640px) {
    .form-grid.two-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--emerald-950);
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px; /* Prevents auto-zoom in mobile Safari */
    border: 1px solid #d5cebf;
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--brass-500);
    box-shadow: 0 0 0 3px rgba(194, 142, 43, 0.2);
}

.alert-box {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.alert-success { background: #d1fae5; border: 1px solid #6ee7b7; color: #065f46; }
.alert-error { background: #fee2e2; border: 1px solid #fca5a5; color: #991b1b; }

/* ==========================================================================
   FOOTER (EDITORIAL ROYAL EMERALD)
   ========================================================================== */
.site-footer {
    background: var(--emerald-950);
    color: #d1ded8;
    padding-top: clamp(3rem, 6vw, 4.5rem);
    padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
    border-top: 3px solid var(--brass-500);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 40px;
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
    }
}

.footer-col h4 {
    font-family: var(--font-serif-display);
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--brass-500);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #b4c7be;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--brass-400);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(209, 222, 216, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.8125rem;
    color: #8da59a;
}

/* ==========================================================================
   MOBILE QUICK ACTION BOTTOM DOCK (MOBILE-FIRST)
   ========================================================================== */
.mobile-action-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(2, 35, 27, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(194, 142, 43, 0.35);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 90;
}

@media (min-width: 768px) {
    .mobile-action-dock {
        display: none;
    }
}

.dock-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #e5ede8;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.dock-btn svg {
    width: 20px;
    height: 20px;
    stroke: var(--brass-400);
}

.dock-btn.primary {
    background: linear-gradient(135deg, var(--brass-500) 0%, var(--brass-400) 100%);
    color: #fff;
    border-radius: var(--radius-pill);
    padding: 6px 14px;
}

.dock-btn.primary svg {
    stroke: #fff;
}

@media (min-width: 900px) {
    .two-col-desktop {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Body pad for dock */
@media (max-width: 767px) {
    body {
        padding-bottom: 60px;
    }
}
