/* ==========================================================================
   Abeadze State College (ASCO) — Modern Institutional Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  /* Brand Palette */
  --primary-900: #06152B;
  --primary-800: #0B2545;
  --primary-700: #133E87;
  --primary-600: #1D58B5;
  --primary-500: #2563EB;
  --primary-100: #E0EDFD;
  --primary-50:  #EFF6FF;

  /* Accent & Gold Palette */
  --accent-gold: #F59E0B;
  --accent-gold-dark: #D97706;
  --accent-gold-light: #FEF3C7;
  --accent-teal: #0EA5E9;
  --accent-teal-dark: #0284C7;
  --accent-emerald: #10B981;
  --accent-emerald-light: #D1FAE5;

  /* Neutral Surface Colors (Light Mode) */
  --bg-body: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-surface-muted: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-card: rgba(255, 255, 255, 0.75);

  /* Text Colors */
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  /* Borders & Shadows */
  --border-color: #E2E8F0;
  --border-glass: rgba(255, 255, 255, 0.35);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 14px 34px rgba(15, 23, 42, 0.09);
  --shadow-xl: 0 24px 50px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.25);
  --shadow-gold-glow: 0 0 25px rgba(245, 158, 11, 0.25);

  /* Geometry & Layout */
  --maxw: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 76px;
  --topbar-height: 40px;
}

/* Dark Mode Theme */
[data-theme="dark"] {
  --bg-body: #090E17;
  --bg-surface: #111A28;
  --bg-surface-elevated: #182335;
  --bg-surface-muted: #1E2D44;
  --bg-glass: rgba(17, 26, 40, 0.85);
  --bg-glass-card: rgba(24, 35, 53, 0.75);

  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-light: #64748B;

  --border-color: #24344D;
  --border-glass: rgba(255, 255, 255, 0.1);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 14px 34px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 24px 50px rgba(0, 0, 0, 0.6);
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

a {
  color: var(--primary-500);
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

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

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

button, input, textarea, select {
  font: inherit;
}

/* --- Layout Container --- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-muted {
  background-color: var(--bg-surface-muted);
}

.section-dark {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
  color: var(--text-white);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--primary-100);
  color: var(--primary-700);
  margin-bottom: 0.75rem;
}

[data-theme="dark"] .section-tag {
  background: rgba(37, 99, 235, 0.2);
  color: #93C5FD;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* --- Top Utility Bar --- */
.top-bar {
  background: var(--primary-900);
  color: #94A3B8;
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 40;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #CBD5E1;
}

.top-bar-item a {
  color: #CBD5E1;
  text-decoration: none;
}

.top-bar-item a:hover {
  color: var(--accent-gold);
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #34D399;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* Quick Search Trigger */
.search-trigger-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: #CBD5E1;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.78rem;
  transition: all var(--transition-fast);
}

.search-trigger-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.kbd-shortcut {
  background: rgba(0, 0, 0, 0.25);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-family: monospace;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: transparent;
  border: none;
  color: #CBD5E1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--accent-gold);
}

/* --- Sticky Main Header --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  z-index: 35;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  height: 68px;
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--border-color);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* Brand Identity */
.brand-identity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text-main);
  flex-shrink: 0;
}

.brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-normal);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

.brand-identity:hover .brand-logo {
  transform: scale(1.05) rotate(-2deg);
}

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

.brand-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--primary-800);
  line-height: 1.15;
}

[data-theme="dark"] .brand-name {
  color: #FFFFFF;
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-gold-dark);
}

[data-theme="dark"] .brand-tagline {
  color: var(--accent-gold);
}

/* Main Navigation */
.site-nav {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 0.9rem;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.925rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-500);
  background-color: var(--primary-50);
}

[data-theme="dark"] .nav-link:hover, [data-theme="dark"] .nav-link.active {
  background-color: var(--bg-surface-muted);
  color: #60A5FA;
}

.nav-link svg.chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link svg.chevron,
.nav-item[aria-expanded="true"] .nav-link svg.chevron {
  transform: rotate(180deg);
}

/* Dropdown Submenus */
.submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-fast);
  z-index: 50;
}

.nav-item:hover .submenu,
.nav-item[aria-expanded="true"] .submenu,
.nav-item:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.submenu-link:hover {
  background-color: var(--primary-50);
  color: var(--primary-600);
  transform: translateX(4px);
}

[data-theme="dark"] .submenu-link:hover {
  background-color: var(--bg-surface-muted);
  color: #93C5FD;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-500) 100%);
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-600) 100%);
  color: var(--text-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: #111827;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #FBBF24 0%, var(--accent-gold) 100%);
  color: #111827;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

.btn-secondary {
  background: var(--bg-surface-muted);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--border-color);
  color: var(--text-main);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  border-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: var(--text-white);
  color: var(--primary-900);
  transform: translateY(-2px);
  border-color: var(--text-white);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
}

/* Mobile Toggle Hamburger */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-color);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  color: var(--text-main);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.nav-toggle:hover {
  background-color: var(--bg-surface-muted);
}

/* --- Hero Banner & Carousel --- */
.hero-section {
  position: relative;
  background: var(--primary-900);
  color: var(--text-white);
  min-height: calc(88vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.banner-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 6s linear;
  transform: scale(1.05);
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 21, 43, 0.92) 0%, rgba(6, 21, 43, 0.75) 50%, rgba(6, 21, 43, 0.4) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 720px;
  padding: 4rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.2);
  color: #FCD34D;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  color: var(--accent-gold);
  background: linear-gradient(135deg, #FDE68A 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #E2E8F0;
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Banner Nav Arrows & Indicators */
.banner-prev, .banner-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.banner-prev:hover, .banner-next:hover {
  background: var(--text-white);
  color: var(--primary-900);
  transform: translateY(-50%) scale(1.08);
}

.banner-prev { left: 1.5rem; }
.banner-next { right: 1.5rem; }

.banner-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 10;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.indicator.active {
  width: 32px;
  background: var(--accent-gold);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

/* --- Stats Ribbon --- */
.stats-ribbon {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 2rem 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 20;
  margin-top: -30px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--primary-100);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

[data-theme="dark"] .stat-icon-wrapper {
  background: rgba(37, 99, 235, 0.15);
  color: #60A5FA;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Quick Access Portals Strip --- */
.portals-strip {
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-700) 100%);
  color: var(--text-white);
  padding: 2rem 0;
}

.portals-strip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.quick-portal-pill {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius-lg);
  color: var(--text-white);
  text-decoration: none;
  backdrop-filter: blur(6px);
  transition: all var(--transition-fast);
}

.quick-portal-pill:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  color: var(--text-white);
}

.quick-portal-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.9);
  padding: 4px;
}

.quick-portal-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
}

.quick-portal-info p {
  font-size: 0.775rem;
  color: #CBD5E1;
  margin-top: 2px;
}

/* --- Headmistress Welcome & News Layout --- */
.welcome-activities-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.editorial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.editorial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-500) 0%, var(--accent-gold) 100%);
}

.welcome-profile-header {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-color);
}

.welcome-photo-frame {
  position: relative;
  flex-shrink: 0;
}

.welcome-photo {
  width: 110px;
  height: 110px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 3px solid var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.welcome-role-badge {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-700);
  color: var(--text-white);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.welcome-leader-info h3 {
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.welcome-leader-info p {
  color: var(--primary-600);
  font-weight: 600;
  font-size: 0.9rem;
}

[data-theme="dark"] .welcome-leader-info p {
  color: #60A5FA;
}

.motto-callout {
  margin-top: 0.5rem;
  font-style: italic;
  color: var(--accent-gold-dark);
  font-size: 0.85rem;
  font-weight: 600;
}

[data-theme="dark"] .motto-callout {
  color: var(--accent-gold);
}

.editorial-body {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.editorial-body p {
  margin-bottom: 1.25rem;
}

.quote-highlight {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-800);
  border-left: 4px solid var(--accent-gold);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
}

[data-theme="dark"] .quote-highlight {
  color: #E2E8F0;
}

/* Noticeboard & Activities */
.noticeboard-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.panel-header h3 {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.notice-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.notice-card {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-surface-muted);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all var(--transition-fast);
  text-decoration: none;
  color: inherit;
}

.notice-card:hover {
  transform: translateX(4px);
  border-color: var(--primary-500);
  background: var(--bg-surface-elevated);
}

.notice-date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--primary-100);
  color: var(--primary-700);
  border-radius: var(--radius-md);
  font-weight: 800;
  flex-shrink: 0;
}

[data-theme="dark"] .notice-date-badge {
  background: rgba(37, 99, 235, 0.2);
  color: #93C5FD;
}

.notice-date-badge .day {
  font-size: 1.15rem;
  line-height: 1;
}

.notice-date-badge .month {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.notice-content h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.notice-content p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.notice-category-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold-dark);
  margin-top: 0.35rem;
}

/* --- Academic Programs Grid --- */
.academic-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.program-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}

.program-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-500);
}

.program-card:hover::after {
  transform: scaleX(1);
}

.program-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-fast);
}

.program-card:hover .program-icon-badge {
  transform: scale(1.1) rotate(5deg);
}

.program-icon-science { background: #E0F2FE; color: #0284C7; }
.program-icon-arts { background: #F3E8FF; color: #9333EA; }
.program-icon-business { background: #FEF3C7; color: #D97706; }
.program-icon-agric { background: #DCFCE7; color: #16A34A; }
.program-icon-homec { background: #FFE4E6; color: #E11D48; }
.program-icon-visual { background: #FCE7F3; color: #DB2777; }

.program-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.program-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.program-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary-500);
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.program-card:hover .program-card-footer {
  color: var(--primary-600);
}

/* --- Core Values Grid --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.value-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.value-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- Head of Department (HOD) Profiles --- */
.hod-showcase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 2.25rem;
  align-items: center;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}

.hod-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 6px;
  background: var(--primary-500);
}

.hod-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.hod-avatar {
  width: 140px;
  height: 140px;
  border-radius: var(--radius-xl);
  object-fit: cover;
  border: 3px solid var(--primary-100);
  box-shadow: var(--shadow-md);
}

.hod-details h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.hod-badge {
  display: inline-block;
  background: var(--primary-100);
  color: var(--primary-700);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

[data-theme="dark"] .hod-badge {
  background: rgba(37, 99, 235, 0.2);
  color: #93C5FD;
}

.hod-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.hod-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
}

/* --- Tables & Academic Breakdown --- */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  background: var(--bg-surface);
}

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

.custom-table th {
  background-color: var(--bg-surface-muted);
  color: var(--text-main);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  letter-spacing: 0.02em;
}

.custom-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  vertical-align: middle;
}

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

.custom-table tr:hover td {
  background-color: var(--bg-surface-muted);
}

.subject-tag {
  display: inline-block;
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin: 0.2rem 0.2rem 0.2rem 0;
  border: 1px solid var(--primary-100);
}

[data-theme="dark"] .subject-tag {
  background: rgba(37, 99, 235, 0.15);
  color: #93C5FD;
  border-color: rgba(37, 99, 235, 0.3);
}

/* --- Media Gallery with Lightbox --- */
.gallery-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-500);
  color: var(--text-white);
  border-color: var(--primary-500);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

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

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--bg-surface-muted);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 21, 43, 0.9) 0%, rgba(6, 21, 43, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

.gallery-item-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}

.gallery-item-category {
  font-size: 0.75rem;
  color: var(--accent-gold);
  text-transform: uppercase;
  font-weight: 700;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 21, 43, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox-img {
  max-height: 75vh;
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.lightbox-caption {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-top: 1rem;
  font-family: 'Outfit', sans-serif;
}

.lightbox-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* --- Portals Page Cards --- */
.portals-role-section {
  margin-bottom: 3.5rem;
}

.portals-role-title {
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.portals-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.portal-hub-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  position: relative;
  transition: all var(--transition-normal);
}

.portal-hub-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-500);
  box-shadow: var(--shadow-lg);
}

.portal-hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.portal-hub-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: var(--radius-md);
  background: var(--bg-surface-muted);
  padding: 4px;
}

.portal-status-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: var(--accent-emerald-light);
  color: #065F46;
}

.portal-hub-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.portal-hub-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.portal-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--primary-50);
  color: var(--primary-600);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.portal-hub-card:hover .portal-login-btn {
  background: var(--primary-500);
  color: var(--text-white);
}

/* --- Links (AI Lesson Plans) Filter & Search --- */
.links-search-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}

.search-input-group {
  position: relative;
  margin-bottom: 1.25rem;
}

.search-input-icon {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.1rem;
}

.links-search-input {
  width: 100%;
  padding: 0.9rem 1.25rem 0.9rem 3.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-surface-muted);
  color: var(--text-main);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.links-search-input:focus {
  outline: none;
  border-color: var(--primary-500);
  background: var(--bg-surface);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.department-pill-filter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.dept-pill {
  background: var(--bg-surface-muted);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.dept-pill:hover, .dept-pill.active {
  background: var(--primary-600);
  color: var(--text-white);
  border-color: var(--primary-600);
}

.subject-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.subject-ai-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.subject-ai-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-500);
  box-shadow: var(--shadow-md);
}

.subject-ai-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.subject-ai-info h4 {
  font-size: 0.925rem;
  color: var(--text-main);
  line-height: 1.3;
}

.subject-ai-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Timeline on About Page --- */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 3rem auto 0;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 7px;
  width: 3px;
  background: var(--primary-100);
}

[data-theme="dark"] .timeline::before {
  background: var(--primary-800);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-gold);
  border: 3px solid var(--bg-body);
  box-shadow: 0 0 0 2px var(--accent-gold);
}

.timeline-year {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-600);
  margin-bottom: 0.35rem;
}

[data-theme="dark"] .timeline-year {
  color: #60A5FA;
}

.timeline-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.timeline-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.timeline-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

/* --- Contact & Forms --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

[data-theme="dark"] .contact-icon-box {
  background: rgba(37, 99, 235, 0.15);
  color: #60A5FA;
}

.contact-info-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-item p, .contact-info-item a {
  font-size: 0.925rem;
  color: var(--text-muted);
}

.contact-form-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-surface-muted);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-500);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.map-container {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  margin-top: 3rem;
}

/* --- Universal Search Palette Modal --- */
.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 21, 43, 0.8);
  backdrop-filter: blur(8px);
  z-index: 120;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5rem 1.5rem 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.search-modal.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 600px;
  width: 100%;
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform var(--transition-normal);
}

.search-modal.active .search-modal-box {
  transform: translateY(0);
}

.search-modal-header {
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  gap: 0.75rem;
}

.search-modal-input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  color: var(--text-main);
  outline: none;
}

.search-modal-results {
  max-height: 360px;
  overflow-y: auto;
  padding: 0.5rem;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.search-result-item:hover, .search-result-item.selected {
  background: var(--primary-50);
  color: var(--primary-600);
}

[data-theme="dark"] .search-result-item:hover, [data-theme="dark"] .search-result-item.selected {
  background: var(--bg-surface-muted);
  color: #60A5FA;
}

/* --- Scroll To Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background: var(--primary-600);
  color: var(--text-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  border: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 30;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-700);
  transform: translateY(-4px);
}

/* --- Comprehensive Institutional Footer --- */
.site-footer {
  background: var(--primary-900);
  color: #94A3B8;
  padding: 5rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand h3 {
  font-size: 1.35rem;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.925rem;
  line-height: 1.65;
  color: #94A3B8;
  margin-bottom: 1.5rem;
}

.footer-column h4 {
  font-size: 1rem;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-gold);
  transform: translateX(4px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.9rem;
}

.footer-contact-list li {
  display: flex;
  gap: 0.65rem;
  color: #CBD5E1;
}

.footer-contact-list a {
  color: #CBD5E1;
}

.footer-contact-list a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: #94A3B8;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .welcome-activities-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }
  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + var(--topbar-height));
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height) - var(--topbar-height));
    background: var(--bg-surface-elevated);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    overflow-y: auto;
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    transform: translateX(-100%);
    transition: transform var(--transition-normal);
    z-index: 30;
  }

  .site-nav.active, .site-nav[aria-hidden="false"] {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
    gap: 0.5rem;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--bg-surface-muted);
    margin-top: 0.25rem;
    display: none;
  }

  .nav-item.open .submenu,
  .nav-item[aria-expanded="true"] .submenu {
    display: block;
  }

  .top-bar-left {
    display: none;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hod-showcase-card {
    flex-direction: column;
    text-align: center;
  }

  .hod-meta {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
  }
  .welcome-profile-header {
    flex-direction: column;
    text-align: center;
  }
  .banner-prev, .banner-next {
    display: none;
  }
}
