/* ==========================================================================
   SIKKIM STATE UNIVERSITY (GANGTOK, SIKKIM) - MASTER COMPACT 3D DESIGN SYSTEM
   Enforced Global Font: Poppins
   Full-Width Reduced-Height 3D Hero, Reduced Section Gaps, Small Heading Scale,
   Scroll-To-Top Button, Alternating Pattern Sections & Rich Micro-Interactions
   ========================================================================== */

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

:root {
  /* ---- Himalayan Alpine Brand Palette ---- */
  --primary-950: #040814;
  --primary-900: #060c1c;
  --primary-850: #0b152d;
  --primary-800: #101f42;
  --primary-700: #172d5e;
  --primary-600: #213f82;
  --primary-500: #305cb3;

  /* ---- Evergreen Pine & Mountain Emerald ---- */
  --emerald-950: #011f18;
  --emerald-900: #022c22;
  --emerald-800: #064e3b;
  --emerald-700: #047857;
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-100: #d1fae5;

  /* ---- Mountain Sun & Metallic Gold ---- */
  --gold-900: #78350f;
  --gold-800: #92400e;
  --gold-700: #b45309;
  --gold-600: #d97706;
  --gold-500: #F5B800;
  --gold-400: #FFCF33;
  --gold-300: #FDE047;
  --gold-glow: rgba(245, 184, 0, 0.45);
  --gold-veil: rgba(245, 184, 0, 0.12);

  /* ---- Neutral Slates ---- */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;

  /* ---- Light Alpine Dawn Theme Tokens ---- */
  --bg-app: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-section-alt: #f1f5f9;
  --bg-card: #ffffff;
  --border-subtle: #e2e8f0;
  --border-card: rgba(11, 21, 45, 0.08);

  --text-main: #0b152d;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --text-inverse: #ffffff;

  /* Glassmorphism Tokens */
  --glass-fill: rgba(255, 255, 255, 0.82);
  --glass-fill-hi: rgba(255, 255, 255, 0.94);
  --glass-stroke: rgba(226, 232, 240, 0.85);
  --glass-spec: rgba(255, 255, 255, 0.85);

  /* 3D Shadows & Depth */
  --shadow-sm: 0 2px 6px -1px rgba(6, 12, 28, 0.05);
  --shadow-md: 0 8px 24px -4px rgba(6, 12, 28, 0.07), 0 3px 8px -3px rgba(6, 12, 28, 0.03);
  --shadow-lg: 0 16px 36px -8px rgba(6, 12, 28, 0.10), 0 6px 16px -4px rgba(6, 12, 28, 0.05);
  --shadow-3d: 0 24px 60px -10px rgba(6, 12, 28, 0.16), 0 8px 20px -3px rgba(6, 12, 28, 0.06);

  /* Radii */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --radius-full: 9999px;

  /* ENFORCED GLOBAL POPPINS FONT */
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Poppins', sans-serif;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-smooth: 260ms;
  --dur-card: 320ms;
}

/* Dark / Alpine Twilight Mode */
[data-theme="dark"] {
  --bg-app: #030712;
  --bg-surface: #070e20;
  --bg-surface-elevated: #0d1938;
  --bg-section-alt: #050a17;
  --bg-card: rgba(13, 25, 56, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.10);

  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-subtle: #94a3b8;
  --text-inverse: #030712;

  --glass-fill: rgba(7, 14, 32, 0.84);
  --glass-fill-hi: rgba(13, 25, 56, 0.94);
  --glass-stroke: rgba(255, 255, 255, 0.10);
  --glass-spec: rgba(255, 255, 255, 0.40);

  --shadow-sm: 0 2px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 24px -4px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 18px 40px -8px rgba(0, 0, 0, 0.75);
  --shadow-3d: 0 28px 65px -10px rgba(0, 0, 0, 0.85);
}

/* ==========================================================================
   Base & Global Poppins Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

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

body {
  background-color: var(--bg-app);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  position: relative;
  transition: background-color var(--dur-smooth), color var(--dur-smooth);
}

/* Atmospheric Ambient Lights */
body::before {
  content: '';
  position: fixed;
  top: -10vw;
  left: 20%;
  width: 60vw;
  height: 35vw;
  background: radial-gradient(ellipse at center, rgba(5, 150, 105, 0.11) 0%, rgba(33, 63, 130, 0.08) 45%, transparent 75%);
  pointer-events: none;
  z-index: 0;
  filter: blur(75px);
}

/* ==========================================================================
   Controlled Small Heading Hierarchy
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.22;
  color: var(--text-main);
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(1.85rem, 3.2vw + 0.2rem, 2.65rem); }
h2 { font-size: clamp(1.45rem, 2.2vw + 0.1rem, 2.05rem); }
h3 { font-size: clamp(1.2rem, 1.5vw + 0.1rem, 1.45rem); }
h4 { font-size: clamp(1.02rem, 1.1vw + 0.05rem, 1.22rem); }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.95rem; }

p {
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  font-size: 0.935rem;
  line-height: 1.6;
}

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

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

img, svg {
  display: block;
  max-width: 100%;
}

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

/* ==========================================================================
   Compact Layout Containers & Alternating Patterns
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 1;
}

/* Reduced Section Heights & Gaps */
.section {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
  position: relative;
  z-index: 1;
}

.section-sm {
  padding-top: 2rem;
  padding-bottom: 2rem;
  position: relative;
  z-index: 1;
}

/* Alternating Section Backgrounds & Patterns */
.section-surface {
  background-color: var(--bg-surface);
}

.section-alt {
  background-color: var(--bg-section-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

/* Subtle Architectural Dot Pattern */
.pattern-dots {
  background-image: radial-gradient(rgba(11, 21, 45, 0.065) 1px, transparent 1px);
  background-size: 20px 20px;
}

[data-theme="dark"] .pattern-dots {
  background-image: radial-gradient(rgba(255, 255, 255, 0.075) 1px, transparent 1px);
}

/* Subtle Architectural Grid Pattern */
.pattern-grid {
  background-image: linear-gradient(to right, rgba(11, 21, 45, 0.04) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(11, 21, 45, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

[data-theme="dark"] .pattern-grid {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
}

/* Subpage Banner Compact & Refined */
.page-banner {
  background: linear-gradient(135deg, var(--primary-950) 0%, var(--primary-900) 55%, var(--emerald-950) 100%);
  color: #ffffff;
  padding: 2.75rem 0 2.25rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(20, 184, 166, 0.14), transparent 60%),
              radial-gradient(circle at 15% 80%, rgba(245, 184, 0, 0.08), transparent 50%);
  pointer-events: none;
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.page-banner-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 2;
  font-weight: 500;
}

.page-banner-breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color var(--dur-fast);
}

.page-banner-breadcrumb a:hover {
  color: #ffffff;
}

.page-banner-breadcrumb .sep {
  color: #64748b;
}

.page-banner-breadcrumb .current {
  color: var(--gold-400);
  font-weight: 600;
}

.page-banner-title {
  color: #ffffff !important;
  font-size: clamp(1.6rem, 2.75vw, 2.2rem) !important;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem !important;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
}

.page-banner-desc {
  color: #cbd5e1;
  font-size: 0.975rem;
  line-height: 1.6;
  max-width: 740px;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Top Statutory Notification Bar
   ========================================================================== */
.header-topbar {
  background: linear-gradient(90deg, #040814 0%, #0b152d 40%, #022c22 100%);
  color: #e2e8f0;
  font-size: 0.775rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 101;
}

.header-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.topbar-badges {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.topbar-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.status-indicator-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: #10b981;
  box-shadow: 0 0 7px #10b981;
  display: inline-block;
  animation: pulseGlow 2s infinite ease-in-out;
}

.topbar-statutory-text {
  color: #cbd5e1;
  font-size: 0.775rem;
  font-weight: 500;
}

.topbar-actions-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topbar-divider {
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.15);
}

.topbar-link {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.775rem;
  font-weight: 500;
  transition: color var(--dur-fast);
}

.topbar-link:hover {
  color: #ffffff;
}

.topbar-link-results {
  color: var(--gold-400);
  font-weight: 700;
  background: rgba(245, 184, 0, 0.12);
  border: 1px solid rgba(245, 184, 0, 0.35);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  transition: all var(--dur-fast);
}

.topbar-link-results:hover {
  background: rgba(245, 184, 0, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

.badge-dot-flashing {
  width: 5px;
  height: 5px;
  background: var(--gold-400);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--gold-400);
  animation: pulseGlow 1.5s infinite;
}

/* ==========================================================================
   Main Sticky Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--glass-fill);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--dur-smooth), box-shadow var(--dur-smooth);
}

.site-header.scrolled {
  background: var(--glass-fill-hi);
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  gap: 1.5rem;
}

/* Brand Identity */
.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 68px;
  width: auto;
  max-width: 290px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
  transition: transform var(--dur-smooth), filter var(--dur-smooth);
}

.nav-brand:hover .brand-logo-img {
  transform: scale(1.03);
  filter: drop-shadow(0 4px 14px rgba(11, 46, 74, 0.18));
}

/* Navigation Links */
.nav-menu-wrapper {
  display: flex;
  align-items: center;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.885rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--dur-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--primary-600);
  background: rgba(5, 150, 105, 0.08);
}

.nav-link.active {
  color: var(--primary-600);
  background: rgba(5, 150, 105, 0.12);
  border-color: rgba(5, 150, 105, 0.2);
}

.dropdown-chevron {
  transition: transform var(--dur-smooth);
}

.nav-item:hover .dropdown-chevron,
.nav-item.dropdown-open .dropdown-chevron {
  transform: rotate(180deg);
}

/* Dropdown Menus */
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  box-shadow: var(--shadow-3d);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--dur-smooth) var(--ease-out-expo);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, transparent 50%, rgba(245, 184, 0, 0.25) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.nav-item:hover .nav-dropdown-menu,
.nav-item:focus-within .nav-dropdown-menu,
.nav-item.dropdown-open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-main);
  text-decoration: none;
  transition: all var(--dur-fast);
}

.dropdown-item:hover {
  background: rgba(5, 150, 105, 0.08);
  transform: translateX(3px);
}

.dropdown-icon-box {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(5, 150, 105, 0.12);
  color: var(--emerald-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-item:hover .dropdown-icon-box {
  background: var(--emerald-600);
  color: #ffffff;
}

.dropdown-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.dropdown-item-desc {
  font-size: 0.725rem;
  color: var(--text-subtle);
  line-height: 1.3;
}

/* Header Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--dur-fast);
}

.theme-toggle-btn:hover {
  background: var(--slate-100);
  transform: rotate(15deg);
}

/* ==========================================================================
   Mobile Navigation Hamburger & Off-Canvas Drawer
   ========================================================================== */
.mobile-toggle-btn {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: all var(--dur-fast);
  box-shadow: var(--shadow-sm);
  padding: 0;
}

.mobile-toggle-btn:hover,
.mobile-toggle-btn:focus-visible {
  background: rgba(5, 150, 105, 0.1);
  color: var(--emerald-600);
  border-color: var(--emerald-500);
  transform: scale(1.04);
}

.mobile-toggle-btn:active {
  transform: scale(0.96);
}

/* Backdrop Overlay */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 20, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1099;
}

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

/* Off-Canvas Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 86vw;
  max-width: 360px;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  box-shadow: -8px 0 35px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1100;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

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

/* Drawer Header */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  position: sticky;
  top: 0;
  z-index: 2;
}

.mobile-close-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-app);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--dur-fast);
}

.mobile-close-btn:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.4);
  transform: rotate(90deg);
}

/* Drawer Content */
.drawer-content {
  padding: 1.25rem 1.35rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.drawer-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-subtle);
  margin-bottom: 0.65rem;
}

.drawer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-main);
  text-decoration: none;
  transition: all var(--dur-fast);
  border: 1px solid transparent;
}

.drawer-link svg {
  color: var(--emerald-600);
  flex-shrink: 0;
  transition: transform var(--dur-fast);
}

.drawer-link:hover {
  background: rgba(5, 150, 105, 0.08);
  color: var(--emerald-600);
  border-color: rgba(5, 150, 105, 0.2);
  transform: translateX(4px);
}

.drawer-link:hover svg {
  transform: scale(1.1);
}

.drawer-link.active {
  background: rgba(5, 150, 105, 0.12);
  color: var(--emerald-700);
  border-color: rgba(5, 150, 105, 0.3);
  font-weight: 700;
}

[data-theme="dark"] .drawer-link.active {
  color: var(--emerald-400);
}

/* Drawer CTA Footer */
.drawer-cta-box {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.drawer-contact-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.6rem;
  border-radius: var(--radius-sm);
  background: var(--bg-app);
  border: 1px solid var(--border-subtle);
  transition: all var(--dur-fast);
}

.drawer-contact-pill:hover {
  color: var(--text-main);
  border-color: var(--border-main);
}

/* Responsive Navbar Media Queries */
@media (max-width: 992px) {
  .nav-menu-wrapper {
    display: none !important;
  }

  .mobile-toggle-btn {
    display: inline-flex;
  }

  .topbar-statutory-text {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-topbar-inner {
    justify-content: center;
  }

  .topbar-actions-right {
    display: none;
  }

  .nav-results-btn {
    display: none;
  }

  .navbar {
    height: 62px;
  }

  .brand-logo-img {
    height: 56px;
    width: auto;
    max-width: 240px;
  }
}

/* ==========================================================================
   Full Width & Compact 3D Hero Section
   ========================================================================== */
.section-hero {
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-full-width {
  width: 100%;
}

.hero-wrapper-fluid {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #060c1c;
  color: #ffffff;
  min-height: 480px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-3d);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.68;
  filter: contrast(1.1) saturate(1.18) brightness(0.92);
  z-index: 0;
  transition: transform 8s ease-out;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(4, 8, 20, 0.82) 0%,
    rgba(6, 12, 28, 0.52) 45%,
    rgba(2, 44, 34, 0.38) 75%,
    rgba(4, 8, 20, 0.68) 100%
  );
  z-index: 1;
}

.hero-inner-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  padding-top: 2.75rem;
  padding-bottom: 2.75rem;
  gap: 2.5rem;
  width: 100%;
}

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

.hero-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--gold-400);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(1.85rem, 3.2vw + 0.2rem, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FFCF33 0%, #F5B800 50%, #fcd34d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-description {
  color: #e2e8f0;
  font-size: 0.975rem;
  line-height: 1.65;
  margin-bottom: 1.65rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

/* Compact Hero Admissions Card */
.hero-glass-card {
  position: relative;
  background: rgba(11, 21, 45, 0.75);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.5rem;
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(4, 8, 20, 0.6);
  flex-shrink: 0;
  max-width: 360px;
  width: 100%;
}

.hero-glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.6), transparent 45%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ==========================================================================
   Compact Quick Stats Bar
   ========================================================================== */
.stats-strip-wrapper {
  margin-top: -1.75rem;
  position: relative;
  z-index: 10;
  margin-bottom: 1.5rem;
}

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

.stat-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-card) var(--ease-out-expo),
              box-shadow var(--dur-card) var(--ease-out-expo);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald-500), var(--gold-500));
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald-500);
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-600);
  margin-bottom: 0.3rem;
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--emerald-600) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.stat-desc {
  font-size: 0.75rem;
  color: var(--text-subtle);
}

/* ==========================================================================
   Interactive Buttons & 3D Skeuomorphism
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.885rem;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  border: 0;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform var(--dur-fast) var(--ease-out-expo),
              box-shadow var(--dur-fast) var(--ease-out-expo);
}

.btn:active {
  transform: translateY(2px);
}

/* 3D Physical Gold Button */
.btn-gold {
  color: #101f42;
  background: linear-gradient(180deg, #FFCF33 0%, #F5B800 52%, #D9A000 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    inset 0 -2px 0 rgba(160, 110, 0, 0.4),
    0 3px 0 #A87A00,
    0 10px 20px rgba(168, 122, 0, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 5px 0 #A87A00,
    0 14px 26px rgba(168, 122, 0, 0.4);
}

/* 3D Physical Emerald Button */
.btn-primary {
  color: #ffffff;
  background: linear-gradient(180deg, #10b981 0%, #059669 52%, #047857 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.6),
    0 3px 0 #064e3b,
    0 10px 20px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 5px 0 #064e3b,
    0 14px 26px rgba(5, 150, 105, 0.4);
}

.btn-navy {
  color: #ffffff;
  background: linear-gradient(180deg, #1d3570 0%, #101f42 52%, #060c1c 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    0 3px 0 #040814,
    0 10px 20px rgba(6, 12, 28, 0.3);
}

.btn-navy:hover {
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--slate-100);
  border-color: var(--slate-300);
  transform: translateY(-2px);
}

.btn-sm {
  font-size: 0.8rem;
  padding: 0.45rem 1rem;
}

.btn-lg {
  font-size: 0.95rem;
  padding: 0.8rem 1.85rem;
}

/* ==========================================================================
   Cards & 3D Minted Medallions
   ========================================================================== */
.glass-card {
  background: var(--glass-fill);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-stroke);
  border-radius: var(--radius-lg);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: transform var(--dur-card) var(--ease-out-expo),
              box-shadow var(--dur-card) var(--ease-out-expo);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tilt-card {
  transform-style: preserve-3d;
  perspective: 1200px;
  transition: transform 120ms ease-out;
}

/* 3D Minted Accreditation Medallions */
.medallion {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-full);
  background: radial-gradient(circle at 35% 30%, #FFCF33 0%, #F5B800 55%, #b45309 100%);
  box-shadow:
    inset 0 2px 3px rgba(255, 255, 255, 0.75),
    inset 0 -2px 5px rgba(140, 96, 0, 0.65),
    0 8px 18px rgba(168, 122, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--dur-card) var(--ease-out-expo),
              box-shadow var(--dur-card) var(--ease-out-expo);
}

.medallion::before {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: var(--radius-full);
  border: 1px solid rgba(140, 96, 0, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.medallion::after {
  content: '';
  position: absolute;
  inset: -50%;
  background: linear-gradient(70deg, transparent 38%, rgba(255, 255, 255, 0.65) 50%, transparent 62%);
  transform: translateX(-130%);
  transition: transform 600ms var(--ease-out-expo);
  pointer-events: none;
}

.medallion:hover::after {
  transform: translateX(130%);
}

.medallion:hover {
  transform: translateY(-2px) scale(1.06);
}

.medallion-label {
  font-weight: 800;
  color: #101f42;
  letter-spacing: 0.04em;
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Academic Schools Grid
   ========================================================================== */
.schools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 1.5rem;
}

.school-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.65rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-card) var(--ease-out-expo),
              box-shadow var(--dur-card) var(--ease-out-expo);
}

.school-card-indigo::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #3b82f6, #1d4ed8); }
.school-card-emerald::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #10b981, #047857); }
.school-card-cyan::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #06b6d4, #0891b2); }
.school-card-amber::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #f59e0b, #d97706); }
.school-card-purple::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #8b5cf6, #6d28d9); }
.school-card-rose::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #f43f5e, #be123c); }

.school-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(5, 150, 105, 0.35);
}

.school-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.school-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 150, 105, 0.12);
  color: var(--emerald-600);
}

.school-card h3 {
  font-size: 1.18rem;
  margin-bottom: 0.5rem;
}

.school-card p {
  flex-grow: 1;
  font-size: 0.885rem;
  line-height: 1.55;
  margin-bottom: 1.15rem;
}

/* ==========================================================================
   Academic Schools Directory (Dedicated 3 Cards Per Row Layout)
   ========================================================================== */
.schools-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  align-items: stretch;
}

.school-faculty-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.65rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-card) var(--ease-out-expo),
              box-shadow var(--dur-card) var(--ease-out-expo);
  height: 100%;
}

.school-faculty-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(5, 150, 105, 0.4);
}

.school-faculty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.school-faculty-card.accent-indigo::before { background: linear-gradient(90deg, #3b82f6, #1d4ed8); }
.school-faculty-card.accent-emerald::before { background: linear-gradient(90deg, #10b981, #047857); }
.school-faculty-card.accent-cyan::before { background: linear-gradient(90deg, #06b6d4, #0891b2); }
.school-faculty-card.accent-amber::before { background: linear-gradient(90deg, #f59e0b, #d97706); }
.school-faculty-card.accent-purple::before { background: linear-gradient(90deg, #8b5cf6, #6d28d9); }
.school-faculty-card.accent-rose::before { background: linear-gradient(90deg, #f43f5e, #be123c); }

.school-card-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.school-card-title {
  font-size: 1.18rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 0.65rem;
  min-height: 3.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.school-card-desc {
  font-size: 0.865rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  min-height: 4rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.school-leadership-box {
  background: var(--surface-alt, #f8fafc);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-md, 8px);
  padding: 0.75rem 0.95rem;
  margin-bottom: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.school-leadership-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.school-leadership-avatar {
  width: 30px;
  height: 30px;
  border-radius: 9999px;
  background: rgba(11, 21, 45, 0.08);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.school-leadership-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.school-leadership-role {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-subtle);
  font-weight: 600;
}

.school-leadership-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.785rem;
  color: var(--text-muted);
  padding-left: 2.45rem;
}

.school-leadership-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.school-leadership-contact-item:hover {
  color: var(--emerald-600);
}

.school-programmes-preview {
  margin-bottom: 1.15rem;
  flex-grow: 1;
}

.school-programmes-heading {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-subtle);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.school-programmes-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.school-programme-pill {
  padding: 0.4rem 0.65rem;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.785rem;
}

.school-programme-name {
  font-weight: 500;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
}

.school-card-actions {
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

@media (max-width: 1080px) {
  .schools-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .schools-directory-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Regulatory Approvals Grid
   ========================================================================== */
.approvals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.15rem;
}

.approval-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-smooth);
}

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

.council-badge-box {
  width: 58px;
  height: 58px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-smooth), box-shadow var(--dur-smooth), border-color var(--dur-smooth);
}

.approval-card:hover .council-badge-box {
  transform: scale(1.08) translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald-500);
}

.council-badge-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.approval-info h4 {
  font-size: 0.975rem;
  margin-bottom: 0.2rem;
}

.approval-info p {
  font-size: 0.775rem;
  color: var(--text-subtle);
  margin-bottom: 0.4rem;
  line-height: 1.4;
}

.approval-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald-600);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* ==========================================================================
   Campus Facilities & Authentic Photography
   ========================================================================== */
.media-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.media-aspect-16-9 {
  aspect-ratio: 16 / 9;
  width: 100%;
}

.media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-card) var(--ease-out-expo);
}

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

.media-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(4, 8, 20, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #ffffff;
  pointer-events: none;
}

.media-card-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0;
}

/* ==========================================================================
   Gazette Download Banner
   ========================================================================== */
.doc-download-card {
  background: linear-gradient(135deg, #040814 0%, #0b152d 50%, #022c22 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  box-shadow: var(--shadow-3d);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.doc-download-card::after {
  content: '';
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(245, 184, 0, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

/* ==========================================================================
   Badges
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-full);
  line-height: 1;
}

.badge-emerald {
  background: rgba(5, 150, 105, 0.14);
  color: var(--emerald-600);
  border: 1px solid rgba(5, 150, 105, 0.28);
}

.badge-gold {
  background: rgba(245, 184, 0, 0.16);
  color: var(--gold-600);
  border: 1px solid rgba(245, 184, 0, 0.35);
}

.badge-navy {
  background: rgba(16, 31, 66, 0.12);
  color: var(--primary-600);
  border: 1px solid rgba(16, 31, 66, 0.2);
}

/* ==========================================================================
   Floating Scroll To Top Button
   ========================================================================== */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #FFCF33 0%, #F5B800 100%);
  color: #101f42;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all var(--dur-smooth);
  z-index: 990;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.5);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background: #040814;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 10;
}

.footer-main {
  padding: 3.5rem 0 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
}

.footer-brand-header {
  margin-bottom: 1.35rem;
}

.footer-brand-logo {
  height: 72px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  background: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  display: inline-block;
  transition: transform var(--dur-smooth);
}

.footer-brand-logo:hover {
  transform: translateY(-2px);
}

.footer-brand-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}

.footer-brand-p {
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.footer-heading {
  color: #ffffff;
  font-size: 0.885rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

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

.footer-link {
  color: #94a3b8;
  font-size: 0.85rem;
  transition: color var(--dur-fast), transform var(--dur-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.footer-link:hover {
  color: var(--emerald-400);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.25rem 0;
  font-size: 0.775rem;
  color: #64748b;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   Animations & Keyframes
   ========================================================================== */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 550ms var(--ease-out-expo), transform 550ms var(--ease-out-expo);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 { transition-delay: 80ms; }
.delay-200 { transition-delay: 160ms; }
.delay-300 { transition-delay: 240ms; }
.delay-400 { transition-delay: 320ms; }

@keyframes pulseGlow {
  0%, 100% { opacity: 0.75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); filter: drop-shadow(0 0 8px rgba(245, 184, 0, 0.8)); }
}

/* ==========================================================================
   Form Controls & Digital Helpdesk (Contact & Inquiry System)
   ========================================================================== */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.35rem;
  position: relative;
}

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

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  display: block;
  padding: 0.8rem 1.05rem;
  font-size: 0.925rem;
  font-family: var(--font-sans);
  color: var(--text-main);
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), background var(--dur-fast);
  outline: none;
  box-sizing: border-box;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--slate-400);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--emerald-500);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
  background: var(--bg-surface);
}

.form-textarea {
  resize: vertical;
  min-height: 115px;
  line-height: 1.55;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}

[data-theme="dark"] .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.form-error-msg {
  font-size: 0.78rem;
  font-weight: 500;
  color: #ef4444;
  margin-top: 0.35rem;
  min-height: 1.1rem;
}

.alert-box {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.925rem;
  line-height: 1.5;
}

.alert-success {
  background: rgba(5, 150, 105, 0.1);
  border: 1px solid rgba(5, 150, 105, 0.35);
  color: #065f46;
}

[data-theme="dark"] .alert-success {
  background: rgba(5, 150, 105, 0.18);
  border-color: rgba(5, 150, 105, 0.45);
  color: #34d399;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #991b1b;
}

[data-theme="dark"] .alert-error {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.45);
  color: #f87171;
}

/* ==========================================================================
   Academic Catalog & Course Explorer (Courses Page)
   ========================================================================== */
.course-filter-bar {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}

.course-search-box {
  position: relative;
  margin-bottom: 1.25rem;
}

.course-search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-subtle);
  pointer-events: none;
}

.course-search-input {
  width: 100%;
  padding: 0.85rem 1.25rem 0.85rem 3.1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  background: var(--bg-section-alt);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: all var(--dur-fast);
  outline: none;
  box-sizing: border-box;
}

.course-search-input:focus {
  border-color: var(--emerald-500);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.15);
}

.course-tabs-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.course-tab-btn {
  font-family: inherit;
  font-size: 0.825rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-subtle);
  background: var(--bg-surface);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--dur-fast);
  outline: none;
  user-select: none;
}

.course-tab-btn:hover {
  border-color: var(--emerald-500);
  color: var(--emerald-600);
  transform: translateY(-1px);
}

.course-tab-btn.active {
  background: linear-gradient(135deg, var(--primary-800) 0%, var(--primary-950) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.course-category-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: opacity var(--dur-smooth);
}

.category-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

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

.program-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--dur-card) var(--ease-out-expo), box-shadow var(--dur-card) var(--ease-out-expo), border-color var(--dur-card);
  box-shadow: var(--shadow-sm);
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald-500);
}

.program-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.program-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.program-criteria {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1rem;
  padding: 0.65rem 0.85rem;
  background: var(--bg-section-alt);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--emerald-500);
}

.specializations-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.4rem;
}

.spec-tag {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-full);
  background: var(--bg-section-alt);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

/* ==========================================================================
   Data Tables & Information Dossiers (About & Sikkim State Pages)
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
}

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

.custom-table th,
.custom-table td {
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

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

.custom-table tr:hover td {
  background: rgba(5, 150, 105, 0.04);
}

/* ==========================================================================
   Document Download Card & PDF Embed (Recognization Page)
   ========================================================================== */
.doc-download-card {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-950) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.75rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.doc-download-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 184, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.pdf-preview-embed {
  width: 100%;
  height: 650px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: #f8fafc;
  display: block;
}

/* ==========================================================================
   Visual Enhancements: Hover States, Badges & Gradient Borders
   ========================================================================== */
.glass-card-hover {
  transition: transform var(--dur-card) var(--ease-out-expo), box-shadow var(--dur-card) var(--ease-out-expo), border-color var(--dur-card);
}

.glass-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--emerald-500);
}

.gradient-border {
  position: relative;
  border: 1.5px solid rgba(5, 150, 105, 0.28);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.12);
  color: #0891b2;
  border: 1px solid rgba(6, 182, 212, 0.28);
}

[data-theme="dark"] .badge-cyan {
  background: rgba(6, 182, 212, 0.2);
  color: #22d3ee;
}

.btn-md {
  padding: 0.65rem 1.35rem;
  font-size: 0.885rem;
}

.animate-pulse-glow {
  animation: pulseGlow 2.5s infinite ease-in-out;
}

@media (max-width: 640px) {
  .form-row-2col {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-menu-wrapper,
  .nav-results-btn {
    display: none;
  }
  .mobile-toggle-btn {
    display: inline-flex;
  }
  .hero-inner-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-glass-card {
    max-width: 100%;
    width: 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    min-height: 72px;
  }
  .brand-logo-img {
    height: 54px;
    width: auto;
    max-width: 230px;
  }
  .brand-title {
    font-size: 1rem;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .schools-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (max-width: 480px) {
  .navbar {
    min-height: 66px;
  }
  .brand-logo-img {
    height: 48px;
    width: auto;
    max-width: 190px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .topbar-actions-right {
    display: none;
  }
  .header-topbar-inner {
    justify-content: center;
    text-align: center;
  }
}

/* ==========================================================================
   Sikkim State University - Student Examination Scorecard Sheet
   Replicated from CMJ Official Portal Architecture
   ========================================================================== */
.ssu-student-sheet {
  background: #ffffff;
  border: 1px solid #334155;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  padding: 28px 32px;
  border-radius: 6px;
  color: #0f172a;
  max-width: 900px;
  margin: 0 auto;
}

.ssu-student-sheet-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.ssu-student-sheet-title-box {
  background: #0b152d;
  color: #ffffff;
  padding: 6px 28px;
  border-radius: 3px;
  display: inline-block;
  margin: 0;
}

.ssu-student-sheet-title {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
  color: #ffffff;
  text-transform: uppercase;
}

.ssu-student-table-container {
  overflow-x: auto;
}

.ssu-student-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  border: 1px solid #1e293b;
}

.ssu-student-table th.cell-label {
  background: #f8fafc;
  color: #1e293b;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  padding: 7px 10px;
  border: 1px solid #334155;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}

.ssu-student-table td.cell-val {
  padding: 7px 10px;
  border: 1px solid #334155;
  color: #0f172a;
  font-size: 0.84rem;
  vertical-align: middle;
}

.cell-w-enrol { width: 16%; }
.cell-w-enrol-val { width: 22%; }
.cell-w-session { width: 12%; }
.cell-w-session-val { width: 16%; }
.cell-w-reg { width: 34%; }

.cell-photo-wrapper {
  width: 130px;
  text-align: center;
  vertical-align: middle;
  padding: 8px !important;
  background: #ffffff;
}

.ssu-passport-photo-frame {
  width: 110px;
  height: 135px;
  border: 1px dashed #94a3b8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: #f8fafc;
  overflow: hidden;
}

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

.ssu-passport-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-size: 0.65rem;
  font-weight: 600;
  text-align: center;
  padding: 4px;
}

.ssu-sheet-subtitle {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0b152d;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 1.25rem 0 0.5rem;
}

.ssu-grade-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

.ssu-grade-badge.status-pass {
  background: #ecfdf5;
  color: #047857;
}

.ssu-grade-badge.status-fail {
  background: #fef2f2;
  color: #b91c1c;
}

.ssu-sheet-verification-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #cbd5e1;
}

.ssu-verify-note {
  font-size: 0.74rem;
  color: #64748b;
  max-width: 520px;
  line-height: 1.45;
}

.ssu-sign-box {
  text-align: center;
  min-width: 180px;
}

.ssu-sign-line {
  border-top: 1px solid #0f172a;
  width: 100%;
  margin-bottom: 6px;
}

.ssu-sign-box span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0f172a;
}

.ssu-sign-box small {
  font-size: 0.7rem;
  color: #64748b;
}

.ssu-student-sheet-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.ssu-print-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #0b152d;
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.ssu-print-trigger-btn:hover {
  background: #1e293b;
}

@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  .no-print, 
  .header-topbar, 
  .site-header, 
  .site-footer, 
  #scrollToTopBtn, 
  .page-header-banner,
  .ssu-result-search-card,
  .ssu-helpdesk-card {
    display: none !important;
  }
  .ssu-student-sheet {
    box-shadow: none !important;
    border: 1px solid #000000 !important;
    padding: 10px !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .ssu-student-table, 
  .ssu-student-table th, 
  .ssu-student-table td {
    border-color: #000000 !important;
    color: #000000 !important;
  }
  .ssu-student-sheet-title-box {
    background: #000000 !important;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
