@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Inter:wght@300;400;500;600;700&family=Manrope:wght@500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

:root {
  /* ASR Primary Identity: Navy, Crimson, Royal Blue, Warm Gold */
  --navy: #071a38;
  --navy-dark: #030d1d;
  --navy-light: #0d2c5e;
  --navy-card: #0c2349;
  --navy-glass: rgba(7, 26, 56, 0.94);
  
  --crimson: #d92524;
  --crimson-hover: #b91b1a;
  --crimson-glow: rgba(217, 37, 36, 0.28);
  
  --blue: #0014d8;
  --blue-2: #2563eb;
  --blue-subtle: #eff6ff;
  
  --gold: #d97706;
  --gold-accent: #f59e0b;
  --gold-light: #fef3c7;
  
  --ink: #0f172a;
  --slate: #334155;
  --muted: #64748b;
  --soft: #f8fafc;
  --surface: #ffffff;
  --line: #e2e8f0;
  --line-dark: rgba(255, 255, 255, 0.12);
  --white: #ffffff;
  
  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-mono: 'Space Mono', monospace;
  
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: min(1440px, 94vw);
  --pad: clamp(16px, 3.5vw, 56px);
  --font-base: clamp(15px, 0.4vw + 14px, 16.5px);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 20px -3px rgba(7, 26, 56, 0.08);
  --shadow-lg: 0 14px 34px -4px rgba(7, 26, 56, 0.14);
  --shadow-xl: 0 24px 50px -8px rgba(7, 26, 56, 0.22);
  --shadow-crimson: 0 10px 25px -4px rgba(217, 37, 36, 0.35);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
  width: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  width: 100%;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-body);
  font-size: var(--font-base, 15.5px);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.nav-open, body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s, background 0.25s, border-color 0.25s, transform 0.25s;
}

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

button {
  cursor: pointer;
  border: 0;
  background: transparent;
}

img, video, iframe, object, embed {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: min(var(--maxw), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

/* ==========================================================================
   Typography & ASR Accents
   ========================================================================== */
.eyebrow {
  font: 700 11px var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--blue-2);
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--crimson);
  flex-shrink: 0;
}

.eyebrow.eyebrow-light {
  color: #93c5fd;
}
.eyebrow.eyebrow-light::before {
  background: var(--crimson);
}

.display {
  font: 800 clamp(2.6rem, 5.5vw, 5.5rem)/1.02 var(--font-display);
  letter-spacing: -0.04em;
  margin: 0;
}

.serif-headline {
  font: 400 clamp(1.8rem, 3.2vw, 3.2rem)/1.15 var(--font-serif);
  margin: 0;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  color: inherit;
  margin: 0;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 3.1rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.65rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  margin: 0 0 16px;
  color: var(--slate);
  font-size: inherit;
}
p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Buttons with ASR Geometry & Micro-Interactions
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  font: 700 12px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s, color 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.btn .btn-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}
.btn:hover .btn-arrow {
  transform: translateX(4px);
}

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

.btn-crimson {
  background: var(--crimson);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(217, 37, 36, 0.28);
}
.btn-crimson:hover {
  background: var(--crimson-hover);
  box-shadow: var(--shadow-crimson);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-light);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}
.btn-outline:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--navy);
}

.btn-outline-dark {
  border-color: var(--line);
  color: var(--navy);
  background: var(--white);
}
.btn-outline-dark:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 11px;
}

.text-link {
  font: 700 11px var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--navy);
  font-weight: 700;
  position: relative;
}
.text-link::after {
  content: '→';
  color: var(--crimson);
  font-size: 14px;
  transition: transform 0.25s var(--ease);
}
.text-link:hover::after {
  transform: translateX(5px);
}

.text-link-light {
  color: #93c5fd;
}
.text-link-light::after {
  color: var(--crimson);
}

/* ==========================================================================
   Header & Utility Bar
   ========================================================================== */
.utility-bar {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.utility-left {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.utility-badge {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font: 700 10px var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.utility-right a {
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.utility-right a:hover {
  color: #ffffff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--navy-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: padding 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.scrolled {
  background: rgba(3, 13, 29, 0.98);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  transition: padding 0.3s var(--ease);
}
.site-header.scrolled .header-inner {
  padding: 8px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-logo {
  height: 42px;
  width: auto;
  transition: height 0.3s var(--ease);
}
.site-header.scrolled .brand-logo {
  height: 36px;
}

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

.brand-name {
  font: 800 15px/1.15 var(--font-display);
  letter-spacing: -0.02em;
  color: var(--white);
}

.brand-sub {
  font: 600 9px var(--font-mono);
  letter-spacing: 0.14em;
  color: #94a3b8;
  margin-top: 2px;
  text-transform: uppercase;
}

/* Visible Desktop Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  font: 600 13px/1 var(--font-body);
  letter-spacing: 0.01em;
  padding: 10px 11px;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.25s, transform 0.25s, background 0.25s;
  position: relative;
}

.nav-link:hover, .nav-item:hover > .nav-link, .nav-link.active {
  color: #ffffff;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--crimson);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s var(--ease);
}
.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

.nav-caret {
  font-size: 8px;
  opacity: 0.6;
  transition: transform 0.25s var(--ease);
}
.nav-item:hover .nav-caret {
  transform: rotate(180deg);
}

/* Mega Menus & Subpage Dropdown Menus */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  width: max-content;
  min-width: 580px;
  background: var(--navy-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 16px;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 16px;
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  z-index: 950;
}

.nav-item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-links {
  display: grid;
  gap: 6px;
}

.mega-link {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, padding-left 0.2s, border-color 0.2s;
}

.mega-link strong {
  display: block;
  font: 700 13px var(--font-display);
  color: #ffffff;
}

.mega-link small {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

.mega-link:hover {
  background: rgba(217, 37, 36, 0.1);
  border-color: rgba(217, 37, 36, 0.3);
  color: #ffffff;
  padding-left: 18px;
}

.mega-image-panel {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.mega-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 0.4s var(--ease);
}
.mega-menu:hover .mega-image-panel img {
  transform: scale(1.05);
}

.mega-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(3, 13, 29, 0.95));
  font-family: var(--font-mono);
  font-size: 10px;
  color: #fbbf24;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Subpage Dropdowns */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 270px;
  background: var(--navy-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 10px;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  z-index: 950;
}

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

.dropdown-link {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: #cbd5e1;
  font: 700 13px var(--font-display);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, padding-left 0.2s, border-color 0.2s;
}

.dropdown-link small {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
  font-weight: 400;
}

.dropdown-link:hover {
  background: rgba(217, 37, 36, 0.1);
  border-color: rgba(217, 37, 36, 0.3);
  color: #ffffff;
  padding-left: 18px;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.search-trigger {
  color: var(--white);
  padding: 8px 12px;
  font-size: 13px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}
.search-trigger:hover {
  background: rgba(255, 255, 255, 0.16);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: 0.25s;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--navy-dark);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 24px var(--pad) 40px;
  transform: translateX(-100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
}

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

.mobile-drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-close {
  color: #fff;
  font-size: 28px;
  line-height: 1;
  padding: 6px;
}

.mobile-nav-group {
  margin-bottom: 20px;
}

.mobile-group-title {
  font: 700 11px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 10px;
}

.mobile-drawer a {
  display: block;
  color: #f1f5f9;
  font: 700 15px var(--font-display);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-drawer a:hover {
  color: #93c5fd;
  padding-left: 6px;
}

.mobile-actions {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   GLOBAL SEARCH MODAL — STRICTLY OVERLAY (NEVER LEAKS TO PAGE FLOW)
   ========================================================================== */
.search-modal {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(3, 13, 29, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  z-index: 99999 !important;
  display: none;
  place-items: center;
  padding: var(--pad);
}

.search-modal.open {
  display: grid !important;
}

.search-panel {
  width: min(720px, 100%);
  position: relative;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-xl);
}

.search-close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s, transform 0.2s;
}
.search-close-btn:hover {
  color: var(--crimson);
  transform: scale(1.1);
}

.search-modal-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font: 700 clamp(1.1rem, 2vw, 1.4rem) var(--font-display);
  padding: 14px 18px;
  outline: none;
  margin-top: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-modal-input:focus {
  border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(217, 37, 36, 0.25);
}

.search-modal-results {
  margin-top: 20px;
  max-height: 48vh;
  overflow-y: auto;
  display: grid;
  gap: 8px;
}

.search-result-item {
  display: block;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid var(--crimson);
  padding: 12px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: background 0.2s, transform 0.2s;
}
.search-result-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}
.search-result-item strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
}
.search-result-item span {
  font-size: 12px;
  color: #94a3b8;
}

/* ==========================================================================
   PAGE HERO (SUBPAGES) & BREADCRUMBS
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  color: var(--white);
  padding: clamp(64px, 8vw, 96px) 0 clamp(48px, 6vw, 72px);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(217, 37, 36, 0.14), transparent 70%);
  pointer-events: none;
}

.page-hero .crumbs {
  font: 700 11px var(--font-mono);
  color: #93c5fd;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.page-hero .crumbs a {
  color: rgba(255, 255, 255, 0.65);
}
.page-hero .crumbs a:hover {
  color: #ffffff;
}

.page-hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 860px;
}

.page-hero p {
  color: #cbd5e1;
  font-size: clamp(14px, 1.3vw, 17px);
  max-width: 700px;
  margin-top: 14px;
  line-height: 1.6;
}

/* ==========================================================================
   HOMEPAGE HERO SECTION
   ========================================================================== */
.home-hero {
  min-height: calc(100vh - 105px);
  background: linear-gradient(105deg, rgba(3, 13, 29, 0.95) 0%, rgba(7, 26, 56, 0.86) 55%, rgba(7, 26, 56, 0.5) 100%),
              url('https://images.pexels.com/photos/20200756/pexels-photo-20200756.jpeg?auto=compress&cs=tinysrgb&w=1800') center/cover no-repeat;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: clamp(64px, 8vw, 110px) 0 40px;
  overflow: hidden;
}

.hero-triangle-bg {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  pointer-events: none;
  transform: rotate(15deg);
  transition: transform 0.5s ease-out;
}

.home-hero-content {
  position: relative;
  z-index: 2;
  max-width: 940px;
}

.home-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font: 700 11px var(--font-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #cbd5e1;
  margin-bottom: 24px;
}

.home-hero-kicker .pulse-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.home-hero h1 {
  font: 800 clamp(2.8rem, 6.2vw, 5.8rem)/0.98 var(--font-display);
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.home-hero h1 span.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-hero p.hero-subtitle {
  font-size: clamp(15px, 1.5vw, 19px);
  color: #cbd5e1;
  max-width: 720px;
  margin-bottom: 36px;
  line-height: 1.6;
}

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

.hero-quick-strip {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.quick-nav-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.quick-nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  position: relative;
  padding-bottom: 4px;
}
.quick-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--crimson);
  transition: width 0.25s var(--ease);
}
.quick-nav-link:hover {
  color: #ffffff;
}
.quick-nav-link:hover::after {
  width: 100%;
}

/* ==========================================================================
   ABOUT FLOW SECTION & STATS BAND
   ========================================================================== */
.about-flow-section {
  position: relative;
  padding: clamp(64px, 8vw, 100px) 0 clamp(48px, 6vw, 80px);
  background: #ffffff;
}

.about-flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

/* ---- Executive Brief Stats Graphic Card (Harmonized Theme) ---- */
.brief-card-graphic-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  border-radius: 28px;
  transition: transform 0.4s var(--ease);
}

.brief-card-graphic-wrap:hover {
  transform: translateY(-6px);
}

.brief-card-graphic-img {
  width: 100%;
  max-width: 580px;
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow: 0 20px 50px -10px rgba(7, 26, 56, 0.35), 0 0 0 1px rgba(217, 37, 36, 0.25);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.brief-card-graphic-wrap:hover .brief-card-graphic-img {
  box-shadow: 0 28px 65px -12px rgba(7, 26, 56, 0.45), 0 0 30px rgba(217, 37, 36, 0.35);
}

/* Rotating Stamp Badge */
.cgpa-circle-badge {
  position: absolute;
  top: -16px;
  right: 20px;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.circle-badge-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: rotateBadgeCircle 20s linear infinite;
  transform-origin: center center;
}

@keyframes rotateBadgeCircle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.circle-badge-text {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  fill: #f59e0b;
  text-transform: uppercase;
}

.circle-badge-inner {
  position: relative;
  z-index: 2;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--navy-dark);
  border: 1.5px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(245, 158, 11, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.circle-score {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.circle-sub {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  color: #fbbf24;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* "This year, in brief" Card */
.brief-stats-card {
  width: 100%;
  background: var(--navy-dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 38px 36px 28px;
  box-shadow: 0 20px 50px -10px rgba(7, 26, 56, 0.35), 0 0 0 1px rgba(217, 37, 36, 0.2);
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.brief-stats-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px -10px rgba(7, 26, 56, 0.45), 0 0 25px rgba(217, 37, 36, 0.3);
}

.brief-card-kicker {
  font-family: var(--font-serif);
  font-size: 15px;
  font-style: italic;
  color: #fbbf24;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brief-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: padding-left 0.25s var(--ease);
}

.brief-card-row:last-child {
  border-bottom: none;
  padding-bottom: 6px;
}

.brief-card-row:hover {
  padding-left: 8px;
}

.brief-row-label {
  font-family: var(--font-body);
  font-size: 14px;
  color: #cbd5e1;
  font-weight: 400;
}

.brief-row-val {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

@media (max-width: 640px) {
  .cgpa-circle-badge {
    width: 96px;
    height: 96px;
    top: -24px;
    right: 12px;
  }
  .circle-badge-inner {
    width: 56px;
    height: 56px;
  }
  .circle-score {
    font-size: 19px;
  }
  .circle-sub {
    font-size: 7px;
  }
  .brief-stats-card {
    padding: 28px 20px 20px;
  }
  .brief-row-val {
    font-size: 20px;
  }
}

.about-flow-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  height: clamp(360px, 45vw, 500px);
}

.about-flow-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.about-flow-image-wrap:hover img {
  transform: scale(1.04);
}

.about-flow-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--navy);
  color: #ffffff;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--crimson);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stats-flow-band {
  background: var(--navy-dark);
  color: var(--white);
  padding: 56px 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-flow-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.stat-flow-item {
  border-left: 2px solid var(--crimson);
  padding-left: 18px;
}

.stat-kicker {
  display: block;
  font: 700 10px/1.2 var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 6px;
}

.stat-flow-item strong {
  display: block;
  font: 800 clamp(1.9rem, 2.8vw, 2.7rem)/1 var(--font-display);
  letter-spacing: -0.03em;
  color: #ffffff;
}

.stat-flow-item span:not(.stat-kicker) {
  display: block;
  margin-top: 8px;
  color: #94a3b8;
  font: 700 11px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
}

/* ==========================================================================
   PROGRAMMES SECTION: INTERACTIVE ROWS & SUBPAGE COURSE CARDS
   ========================================================================== */
.programmes-interactive-section {
  background: var(--navy);
  color: var(--white);
  padding: clamp(64px, 8vw, 100px) 0;
  position: relative;
}

.programme-row-container {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 36px;
}

.programme-interactive-row {
  display: grid;
  grid-template-columns: 56px 1fr 1.3fr 44px;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 16px;
  transition: background 0.3s var(--ease), padding-left 0.3s var(--ease), border-color 0.3s;
  cursor: pointer;
}

.programme-interactive-row:hover {
  background: linear-gradient(90deg, rgba(217, 37, 36, 0.18) 0%, rgba(7, 26, 56, 0.1) 100%);
  padding-left: 28px;
  border-color: rgba(217, 37, 36, 0.5);
}

.prog-no {
  font: 700 13px var(--font-mono);
  color: #fbbf24;
}

.programme-interactive-row h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  letter-spacing: -0.03em;
  color: #ffffff;
}

.prog-desc {
  font-size: 13px;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.5;
}

.prog-arrow {
  font-size: 20px;
  color: var(--crimson);
  transition: transform 0.25s var(--ease);
  justify-self: end;
}
.programme-interactive-row:hover .prog-arrow {
  transform: translate(6px, -6px);
}

/* Subpage Course Cards (courses.html) */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.course-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #93c5fd;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--navy);
  transition: background 0.3s;
}
.course-card:hover::before {
  background: var(--crimson);
}

.course-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.course-code {
  font: 700 11px var(--font-mono);
  color: var(--crimson);
  letter-spacing: 0.08em;
}

.course-tag {
  background: var(--soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font: 600 10px var(--font-mono);
  text-transform: uppercase;
  color: var(--slate);
  border: 1px solid var(--line);
}

.course-card h3 {
  font-size: 1.45rem;
  margin-bottom: 4px;
  color: var(--navy);
}

.course-card .course-full {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 14px;
}

.course-card p {
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 20px;
  line-height: 1.55;
}

.course-meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.meta-item small {
  display: block;
  font: 700 10px var(--font-mono);
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.meta-item span {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.course-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   FILTER BAR & IN-PAGE SEARCH BOX
   ========================================================================== */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.filter-btn {
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  font: 700 11px var(--font-mono);
  letter-spacing: 0.04em;
  color: var(--slate);
  transition: all 0.2s var(--ease);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.search-input-box {
  margin-left: auto;
  position: relative;
}

.search-input-box input, .inpage-search {
  padding: 10px 16px 10px 36px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 13px;
  outline: none;
  min-width: 250px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.search-input-box input:focus, .inpage-search:focus {
  border-color: var(--blue-2);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.search-input-box::before {
  content: '🔍';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  opacity: 0.55;
  pointer-events: none;
}

/* ==========================================================================
   LEADERSHIP DESK (administration.html)
   ========================================================================== */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.leadership-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 36px);
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--navy);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

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

.leadership-card:nth-child(1) {
  border-top-color: var(--crimson);
}

.leadership-card:nth-child(2) {
  border-top-color: var(--navy);
}

.leadership-card:nth-child(3) {
  border-top-color: #0284c7;
}

.leader-portrait-container {
  width: 100%;
  max-width: 290px;
  margin: 0 auto 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(11, 27, 61, 0.1);
  border: 1px solid rgba(11, 27, 61, 0.08);
  background: #ffffff;
  transition: transform 0.3s ease;
}

.leadership-card:hover .leader-portrait-container {
  transform: scale(1.02);
}

.leader-portrait-container img {
  width: 100%;
  height: auto;
  display: block;
}

.leader-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--soft);
  color: var(--navy);
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  margin: 12px 0 18px;
  width: fit-content;
}

.leader-call-btn:hover {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 27, 61, 0.2);
}

.leadership-role {
  font: 700 11px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--crimson);
  margin-bottom: 8px;
}

.leadership-card h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  color: var(--navy);
  margin-bottom: 4px;
}

.leadership-card .cred {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 20px;
}

.leadership-quote {
  font: 400 1.15rem/1.65 var(--font-serif);
  color: var(--ink);
  font-style: italic;
  margin-bottom: 20px;
  padding-left: 20px;
  border-left: 3px solid var(--crimson);
  background: var(--soft);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.leadership-card p {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.6;
}

/* ==========================================================================
   ACADEMIC DEPARTMENTS (departments.html)
   ========================================================================== */
.dept-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}

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

.dept-card-body {
  padding: clamp(24px, 3.5vw, 40px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dept-card-media {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.dept-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.dept-card-badge-overlay {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(7, 26, 56, 0.88);
  backdrop-filter: blur(8px);
  color: #fff;
  font: 700 11px var(--font-mono);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 900px) {
  .dept-card {
    grid-template-columns: 1fr;
  }
  .dept-card-media {
    min-height: 220px;
  }
}

/* ==========================================================================
   FACULTY DIRECTORY (faculty.html)
   ========================================================================== */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}

.faculty-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
  display: flex;
  flex-direction: column;
}

.faculty-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #93c5fd;
}

.faculty-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font: 800 20px var(--font-display);
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(7, 26, 56, 0.18);
  border: 2px solid #ffffff;
}

.faculty-card h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.faculty-desig {
  font: 700 11px var(--font-mono);
  color: var(--crimson);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.faculty-qual {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 14px;
  display: inline-block;
  background: var(--soft);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  width: max-content;
}

.faculty-card p {
  font-size: 13px;
  color: var(--slate);
  margin-bottom: 16px;
  line-height: 1.5;
}

.faculty-exp {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font: 600 11px var(--font-mono);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
}

/* ==========================================================================
   ADMISSIONS FORM & STREAM ELIGIBILITY FINDER (admissions.html)
   ========================================================================== */
.admissions-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: start;
}

.form-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow-lg);
}

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

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

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font: 700 11px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-field input, .form-field select, .form-field textarea {
  border: 1px solid var(--line);
  background: var(--soft);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  outline: none;
  font-size: 14px;
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--blue-2);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-feedback {
  display: none;
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-top: 18px;
  font-size: 14px;
}

.form-feedback.success {
  display: block;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.whatsapp-direct-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font: 700 12px var(--font-mono);
  text-transform: uppercase;
  margin-top: 12px;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}
.whatsapp-direct-btn:hover {
  background: #1ebc59;
  transform: translateY(-2px);
}

/* Stream Finder */
.eligibility-finder {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  margin-bottom: 48px;
}

.stream-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.stream-btn {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: #ffffff;
  border: 1px solid #bfdbfe;
  font: 700 12px var(--font-mono);
  color: var(--navy);
  transition: 0.2s;
}
.stream-btn:hover, .stream-btn.active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.stream-results {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid #bfdbfe;
}

.stream-results h4 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.eligible-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.eligible-pill {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font: 600 12px var(--font-mono);
}

/* ==========================================================================
   PLACEMENTS & RECRUITERS (placements.html)
   ========================================================================== */
.placements-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.placement-stat-card {
  border-radius: var(--radius-md);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.placement-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.placement-stat-card strong {
  display: block;
  font: 800 clamp(1.8rem, 2.5vw, 2.4rem) var(--font-display);
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 6px;
}

.placement-stat-card span {
  font: 600 12px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.recruiters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.recruiter-pill {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 18px 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.recruiter-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  transform: skewX(-20deg);
  transition: none;
  pointer-events: none;
}

.recruiter-pill:hover::after {
  left: 140%;
  transition: left 0.75s ease-in-out;
}

.recruiter-pill:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 14px 30px rgba(7, 26, 56, 0.12);
  border-color: #93c5fd;
}

.recruiter-logo {
  height: 38px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  margin-bottom: 12px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.04));
}

.recruiter-pill:hover .recruiter-logo {
  transform: scale(1.09);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}

.recruiter-pill strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
  display: block;
}

.recruiter-pill small {
  font-size: 11px;
  color: var(--muted);
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Animated Recruiter Infinite Marquee Ticker */
.recruiter-marquee-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 16px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.recruiter-marquee-wrap::before,
.recruiter-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}
.recruiter-marquee-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--surface), transparent);
}
.recruiter-marquee-wrap::after {
  right: 0;
  background: linear-gradient(270deg, var(--surface), transparent);
}

.recruiter-marquee-track {
  display: flex;
  width: max-content;
  gap: 32px;
  align-items: center;
  animation: recruiterScroll 30s linear infinite;
}

.recruiter-marquee-wrap:hover .recruiter-marquee-track {
  animation-play-state: paused;
}

.recruiter-marquee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s, border-color 0.2s;
}

.recruiter-marquee-item:hover {
  transform: translateY(-2px);
  border-color: var(--crimson);
}

.recruiter-marquee-item img {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.recruiter-marquee-item span {
  font: 700 12px var(--font-mono);
  color: var(--navy);
  letter-spacing: 0.04em;
}

@keyframes recruiterScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   NOTICES & CIRCULARS (notices.html)
   ========================================================================== */
.notice-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s var(--ease), border-color 0.2s;
}

.notice-row:hover {
  transform: translateX(6px);
  border-color: var(--crimson);
}

.notice-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.notice-badge {
  background: rgba(217, 37, 36, 0.1);
  color: var(--crimson);
  font: 700 11px var(--font-mono);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  flex-shrink: 0;
  min-width: 110px;
  text-align: center;
}

.notice-title {
  font: 700 15px var(--font-display);
  color: var(--navy);
}

.notice-date {
  font: 500 12px var(--font-mono);
  color: var(--muted);
  margin-top: 3px;
}

/* ==========================================================================
   DOWNLOADS DOCUMENT CENTER (downloads.html)
   ========================================================================== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.download-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

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

.download-icon {
  font-size: 32px;
  color: var(--crimson);
  margin-bottom: 14px;
}

.download-card h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.download-card p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.5;
}

.download-card .download-actions {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   CAMPUS FACILITIES & INFRASTRUCTURE (infrastructure.html)
   ========================================================================== */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 26px;
}

.facility-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.facility-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.facility-media {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.facility-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

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

.facility-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 26, 56, 0.88);
  color: #fff;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font: 700 10px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.facility-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.facility-body h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.facility-body p {
  font-size: 14px;
  color: var(--slate);
  margin-bottom: 16px;
  line-height: 1.55;
}

.facility-body ul {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
}

.facility-body li {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.facility-body li::before {
  content: '✓';
  color: #16a34a;
  font-weight: bold;
}

/* ==========================================================================
   CAMPUS GALLERY & INSTAGRAM FEED (gallery.html & index.html)
   ========================================================================== */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.gallery-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s, border-color 0.35s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: #cbd5e1;
}

.gallery-thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #0b1329;
}

.gallery-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-thumb-wrap img {
  transform: scale(1.08);
}

.gallery-caption {
  padding: 16px 20px;
  font: 700 13px var(--font-display);
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.gallery-caption span {
  color: var(--crimson);
  font: 700 11px var(--font-mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ==========================================================================
   LIFE ON CAMPUS SECTION (Vibrant Gradient Theme from Photos & Moments)
   ========================================================================== */
.life-campus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .life-campus-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .life-campus-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.life-campus-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(7, 26, 56, 0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  min-height: 180px;
}

/* Gradient Top Bar (from Campus Moments theme) */
.life-campus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  opacity: 0.9;
  transition: height 0.3s var(--ease);
}

.life-campus-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px -6px rgba(7, 26, 56, 0.12);
}

.life-campus-card:hover::before {
  height: 6px;
}

/* Color variations from photos & moments palette */
.life-campus-card[data-color="crimson"]::before {
  background: linear-gradient(90deg, #d92524, #f43f5e);
}
.life-campus-card[data-color="crimson"]:hover {
  border-color: rgba(217, 37, 36, 0.35);
}

.life-campus-card[data-color="purple"]::before {
  background: linear-gradient(90deg, #ec4899, #8b5cf6);
}
.life-campus-card[data-color="purple"]:hover {
  border-color: rgba(139, 92, 246, 0.35);
}

.life-campus-card[data-color="green"]::before {
  background: linear-gradient(90deg, #10b981, #059669);
}
.life-campus-card[data-color="green"]:hover {
  border-color: rgba(16, 185, 129, 0.35);
}

.life-campus-card[data-color="amber"]::before {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}
.life-campus-card[data-color="amber"]:hover {
  border-color: rgba(245, 158, 11, 0.35);
}

.life-campus-card[data-color="blue"]::before {
  background: linear-gradient(90deg, #2563eb, #06b6d4);
}
.life-campus-card[data-color="blue"]:hover {
  border-color: rgba(37, 99, 235, 0.35);
}

.life-campus-card[data-color="ruby"]::before {
  background: linear-gradient(90deg, #e11d48, #9333ea);
}
.life-campus-card[data-color="ruby"]:hover {
  border-color: rgba(225, 29, 72, 0.35);
}

.life-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.life-num-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.25s var(--ease);
}

.life-campus-card[data-color="crimson"] .life-num-badge {
  background: rgba(217, 37, 36, 0.1);
  color: #d92524;
  border: 1px solid rgba(217, 37, 36, 0.2);
}

.life-campus-card[data-color="purple"] .life-num-badge {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.life-campus-card[data-color="green"] .life-num-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.life-campus-card[data-color="amber"] .life-num-badge {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.life-campus-card[data-color="blue"] .life-num-badge {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.life-campus-card[data-color="ruby"] .life-num-badge {
  background: rgba(225, 29, 72, 0.1);
  color: #e11d48;
  border: 1px solid rgba(225, 29, 72, 0.2);
}

.life-campus-card:hover .life-num-badge {
  transform: scale(1.1);
}

.life-tag-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--slate);
  border: 1px solid var(--line);
}

.life-arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.3s var(--ease), background 0.2s, color 0.2s;
}

.life-campus-card[data-color="crimson"] .life-arrow-btn {
  background: rgba(217, 37, 36, 0.08);
  color: #d92524;
}

.life-campus-card[data-color="purple"] .life-arrow-btn {
  background: rgba(139, 92, 246, 0.08);
  color: #8b5cf6;
}

.life-campus-card[data-color="green"] .life-arrow-btn {
  background: rgba(16, 185, 129, 0.08);
  color: #10b981;
}

.life-campus-card[data-color="amber"] .life-arrow-btn {
  background: rgba(245, 158, 11, 0.08);
  color: #d97706;
}

.life-campus-card[data-color="blue"] .life-arrow-btn {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
}

.life-campus-card[data-color="ruby"] .life-arrow-btn {
  background: rgba(225, 29, 72, 0.08);
  color: #e11d48;
}

.life-campus-card:hover .life-arrow-btn {
  transform: translateX(4px);
}

.life-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 8px;
  line-height: 1.25;
  transition: color 0.25s ease;
}

.life-campus-card:hover .life-card-title {
  color: var(--crimson);
}

.life-card-desc {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

/* ==========================================================================
   TITLE-BASED GALLERY ALBUM CARDS (No Stock Photos)
   ========================================================================== */
.album-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}

.album-link-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s, border-color 0.3s;
  box-shadow: 0 4px 16px rgba(11, 27, 61, 0.04);
  min-height: 210px;
}

.album-link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  opacity: 0.85;
  transition: height 0.25s ease;
}

.album-link-card[data-category="facility"]::before {
  background: linear-gradient(90deg, var(--navy), var(--blue), var(--crimson));
}

.album-link-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(11, 27, 61, 0.12);
  border-color: rgba(220, 39, 67, 0.4);
}

.album-link-card:hover::before {
  height: 6px;
}

.album-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.album-type-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.album-type-pill.reel {
  background: #fdf2f8;
  color: #be185d;
  border: 1px solid #fbcfe8;
}

.album-type-pill.post {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.album-type-pill.facility {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.album-ext-icon {
  font-size: 15px;
  color: var(--muted);
  transition: transform 0.25s ease, color 0.25s ease;
}

.album-link-card:hover .album-ext-icon {
  color: var(--crimson);
  transform: translate(2px, -2px);
}

.album-card-center {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 18px;
}

.album-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.album-icon-circle.reel {
  background: linear-gradient(135deg, #fdf2f8, #fce7f3);
  color: #be185d;
  border: 1px solid #fbcfe8;
}

.album-icon-circle.post {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.album-icon-circle.facility {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  color: var(--navy);
  border: 1px solid var(--line);
}

.album-icon-circle svg {
  width: 20px;
  height: 20px;
}

.album-link-card:hover .album-icon-circle {
  transform: scale(1.08);
}

.album-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.3;
}

.album-card-desc {
  font-size: 13px;
  color: var(--slate);
  margin: 0;
  line-height: 1.45;
}

.album-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 11px;
}

.album-handle {
  color: #bc1888;
  font-weight: 700;
}

.album-action-btn {
  color: var(--crimson);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease;
}

.album-link-card:hover .album-action-btn {
  transform: translateX(3px);
}

/* Instagram Interactive Card Component */
.insta-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0b1329;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s, border-color 0.4s;
  cursor: pointer;
}

.insta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2.5px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 4;
  pointer-events: none;
}

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

.insta-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(188, 24, 136, 0.25);
}

.insta-media-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #050b18;
}

.insta-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s;
  display: block;
}

.insta-card:hover .insta-media-wrap img {
  transform: scale(1.08);
}

/* Instagram Badges */
.insta-type-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font: 700 11px var(--font-mono);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.insta-type-badge.reel {
  background: linear-gradient(135deg, rgba(220, 39, 67, 0.9), rgba(188, 24, 136, 0.9));
  border-color: rgba(255, 255, 255, 0.35);
}

/* Center Play Button for Reels */
.insta-play-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #bc1888;
  display: grid;
  place-items: center;
  font-size: 20px;
  z-index: 3;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
}

.insta-card:hover .insta-play-center {
  transform: translate(-50%, -50%) scale(1.15);
  background: #ffffff;
  box-shadow: 0 8px 25px rgba(220, 39, 67, 0.55);
}

/* Bottom Card Details */
.insta-body {
  padding: 16px 18px 14px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
  border-top: 1px solid var(--line);
}

.insta-card-title {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.insta-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  font-size: 11px;
  font-family: var(--font-mono);
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.insta-handle {
  color: #bc1888;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.insta-click-hint {
  color: var(--muted);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.insta-card:hover .insta-click-hint {
  color: var(--crimson);
}

/* Instagram Profile Banner */
.insta-profile-banner {
  background: linear-gradient(135deg, #071a38 0%, #172554 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 36px);
  margin-bottom: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: var(--shadow-md);
}

.insta-profile-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

.insta-avatar-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.35);
}

.insta-avatar-ring img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #ffffff;
  border: 2px solid #071a38;
}

.insta-profile-info h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 2px;
}

.insta-profile-info p {
  color: #cbd5e1;
  font-size: 13px;
  margin: 0;
}

.insta-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
  color: #ffffff !important;
  font: 700 13px var(--font-display);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
}

.insta-follow-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 10px 25px rgba(220, 39, 67, 0.55);
}

/* ==========================================================================
   PLACEMENTS STATS & CRT CARDS (placements.html & training-internships.html)
   ========================================================================== */
.placements-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.placement-stat-card {
  background: var(--navy-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  color: var(--white);
}

.placement-stat-card strong {
  display: block;
  font: 800 clamp(2.2rem, 3.5vw, 3.2rem) var(--font-display);
  color: #fbbf24;
  letter-spacing: -0.03em;
}

.placement-stat-card span {
  font: 600 12px var(--font-mono);
  text-transform: uppercase;
  color: #cbd5e1;
  letter-spacing: 0.06em;
}

.recruiters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}

.recruiter-pill {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.recruiter-pill:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--crimson);
}

.recruiter-pill strong {
  font: 800 15px var(--font-display);
  color: var(--navy);
  letter-spacing: -0.02em;
}

.recruiter-pill small {
  font: 600 10px var(--font-mono);
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 4px;
}

.crt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.crt-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.crt-step {
  font: 700 12px var(--font-mono);
  color: var(--crimson);
  margin-bottom: 8px;
}

.crt-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.crt-card p {
  font-size: 13px;
  color: var(--muted);
}

/* ==========================================================================
   INTERACTIVE DEPARTMENT EXPLORER (HOMEPAGE)
   ========================================================================== */
.department-explorer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 40px;
  align-items: stretch;
}

.dept-list-panel {
  display: grid;
  gap: 12px;
}

.dept-tab-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  cursor: pointer;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.dept-tab-item.active, .dept-tab-item:hover {
  border-color: var(--crimson);
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.dept-tab-item strong {
  display: block;
  font: 800 16px var(--font-display);
  color: var(--navy);
  margin-bottom: 4px;
}

.dept-tab-item span {
  font-size: 13px;
  color: var(--muted);
}

.dept-preview-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--navy);
  box-shadow: var(--shadow-xl);
  min-height: 380px;
}

.dept-preview-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease);
}

.dept-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3, 13, 29, 0.95) 0%, rgba(3, 13, 29, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  color: #ffffff;
}

/* ==========================================================================
   SIGNATURE INFRASTRUCTURE HOTSPOT EXPLORER (HOMEPAGE)
   ========================================================================== */
.infrastructure-hotspot-section {
  padding: clamp(64px, 8vw, 100px) 0;
  background: #ffffff;
}

.hotspot-viewer-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  height: clamp(420px, 50vw, 560px);
  background: var(--navy);
}

.hotspot-viewer-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.6s;
}

.hotspot-viewer-wrap.zoomed .hotspot-viewer-image {
  transform: scale(1.08);
  filter: brightness(0.6);
}

.hotspot-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  cursor: pointer;
  z-index: 10;
}

.hotspot-dot {
  width: 24px;
  height: 24px;
  background: var(--crimson);
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(217, 37, 36, 0.4);
  animation: hotspotPulse 2s infinite;
  transition: transform 0.25s var(--ease);
}
.hotspot-pin:hover .hotspot-dot {
  transform: scale(1.2);
}

.hotspot-label {
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.9;
}

@keyframes hotspotPulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 37, 36, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(217, 37, 36, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 37, 36, 0); }
}

.hotspot-info-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(3, 13, 29, 0.96);
  backdrop-filter: blur(14px);
  padding: 28px;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.hotspot-info-panel.active {
  transform: translateY(0);
}

.hotspot-close-btn {
  color: #ffffff;
  font-size: 24px;
  padding: 8px;
}

/* ==========================================================================
   ADMISSIONS 5-STEP JOURNEY (HOMEPAGE)
   ========================================================================== */
.admissions-journey-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
  margin-top: 48px;
}

.admissions-journey-track::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--line);
  z-index: 1;
}

.journey-step-card {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 8px;
}

.journey-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--line);
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  font: 700 13px var(--font-mono);
  color: var(--navy);
  transition: background 0.3s, border-color 0.3s, color 0.3s, transform 0.3s;
}

.journey-step-card:hover .journey-circle, .journey-step-card.active .journey-circle {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgba(217, 37, 36, 0.35);
}

.journey-step-card h4 {
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--navy);
}

.journey-step-card p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* ==========================================================================
   INTERACTIVE FAQ ACCORDION
   ========================================================================== */
.faq-accordion {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.25s;
}

.faq-item.open {
  border-color: var(--crimson);
}

.faq-question-btn {
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 700 15px var(--font-display);
  color: var(--navy);
  background: transparent;
}

.faq-icon {
  font-size: 18px;
  color: var(--crimson);
  transition: transform 0.3s var(--ease);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease), padding 0.35s;
  padding: 0 24px;
}

.faq-item.open .faq-answer-body {
  max-height: 200px;
  padding: 0 24px 20px;
}

.faq-answer-body p {
  font-size: 14px;
  color: var(--muted);
}

/* ==========================================================================
   SECTIONS & LAYOUT DEFAULTS
   ========================================================================== */
.section {
  padding: clamp(52px, 6.5vw, 100px) 0;
}

.section-soft {
  background: var(--soft);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}
.section-navy p {
  color: #cbd5e1;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: clamp(24px, 3.5vw, 44px);
  margin-bottom: clamp(36px, 4vw, 56px);
  flex-wrap: wrap;
}

.section-head-center {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(36px, 4.5vw, 56px);
}
.section-head-center .eyebrow {
  justify-content: center;
}

.section-intro {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(14.5px, 0.35vw + 13.5px, 16.5px);
  line-height: 1.6;
}

/* ==========================================================================
   UNIVERSAL FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: clamp(56px, 8vw, 84px) 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: clamp(24px, 4vw, 44px);
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-logo {
  height: 48px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-title {
  font: 700 11px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 18px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 13px;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 10px;
}
.footer-contact-item span {
  color: var(--crimson);
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #64748b;
}

/* ==========================================================================
   MOBILE STICKY ACTION BAR & FLOATING CTAS
   ========================================================================== */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 50;
  grid-template-columns: 1fr 1fr 1.2fr;
}

.mobile-action-bar a {
  padding: 14px 6px;
  text-align: center;
  font: 700 11px var(--font-mono);
  letter-spacing: 0.04em;
  color: #ffffff;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.mobile-action-bar a.apply-action {
  border-right: 0;
  background: var(--crimson);
}

.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 40;
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

/* ==========================================================================
   MULTI-TIER RESPONSIVE & ADAPTIVE SYSTEM
   Desktop (1400px+) · Laptop (1025-1399px) · Tablet (769-1024px) · Mobile (320-768px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ULTRA-WIDE & LARGE DESKTOP (1400px and up)
   Expansive, authoritative presentation utilizing available screen width
   -------------------------------------------------------------------------- */
@media (min-width: 1400px) {
  :root {
    --maxw: min(1540px, 94vw);
    --pad: clamp(32px, 3.8vw, 64px);
  }

  .home-hero-content {
    max-width: 1040px;
  }

  .home-hero h1 {
    font-size: clamp(3.2rem, 5.2vw, 5.6rem);
  }

  .home-hero p.hero-subtitle {
    max-width: 800px;
    font-size: 19px;
  }

  .brief-card-graphic-img {
    max-width: 640px;
  }

  .department-explorer-grid {
    gap: 44px;
  }

  .dept-preview-panel {
    min-height: 480px;
  }

  .programme-interactive-row {
    padding: 26px 20px;
    gap: 32px;
  }

  .life-campus-grid {
    gap: 28px;
  }

  .leadership-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }

  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr;
    gap: 48px;
  }
}

/* --------------------------------------------------------------------------
   2. STANDARD DESKTOP (1200px to 1399px)
   Sleek professional desktop balance with full navigation
   -------------------------------------------------------------------------- */
@media (min-width: 1200px) and (max-width: 1399px) {
  :root {
    --maxw: min(1340px, 92vw);
    --pad: clamp(24px, 3vw, 48px);
  }

  .leadership-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }

  .life-campus-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* --------------------------------------------------------------------------
   3. LAPTOP & COMPACT DESKTOP (1025px to 1199px)
   Proportionate desktop experience with zero header cramping
   -------------------------------------------------------------------------- */
@media (min-width: 1025px) and (max-width: 1199px) {
  :root {
    --maxw: min(1200px, 94vw);
    --pad: 24px;
  }

  .nav-links {
    gap: 1px;
  }

  .nav-link {
    padding: 8px 8px;
    font-size: 12px;
  }

  .header-actions {
    gap: 8px;
  }

  .search-trigger {
    padding: 7px 10px;
    font-size: 12px;
  }

  .header-actions .btn-crimson.btn-sm {
    padding: 8px 14px;
    font-size: 11px;
  }

  .mega-menu {
    min-width: min(520px, 90vw);
    left: 0;
    transform: translateY(10px);
  }

  .nav-item:hover .mega-menu {
    transform: translateY(0);
  }

  .stats-flow-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .admissions-journey-track {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }

  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .life-campus-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 24px;
  }
}

/* --------------------------------------------------------------------------
   4. TABLET & IPAD (769px to 1024px)
   App-like clean header, touch-friendly grids, optimized navigation
   -------------------------------------------------------------------------- */
@media (min-width: 769px) and (max-width: 1024px) {
  :root {
    --maxw: 100%;
    --pad: 28px;
  }

  /* Tablet Header: Clean App Navigation */
  .nav-links {
    display: none !important;
  }

  .menu-toggle {
    display: flex !important;
    min-height: 42px;
    min-width: 42px;
    align-items: center;
    justify-content: center;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .search-trigger {
    padding: 8px 12px;
  }

  /* Tablet Hero */
  .home-hero {
    min-height: auto;
    padding: clamp(64px, 8.5vw, 96px) 0 48px;
  }

  .home-hero h1 {
    font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  }

  /* Section 01: About */
  .about-flow-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .brief-card-graphic-wrap {
    max-width: 540px;
    margin: 0 auto;
  }

  /* Section 02: Programmes */
  .programme-interactive-row {
    grid-template-columns: 48px 1.2fr 1fr 36px;
    gap: 18px;
    padding: 20px 14px;
  }

  /* Section 03: Departments */
  .department-explorer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .dept-preview-panel {
    min-height: 360px;
  }

  /* Section 04: Admissions Journey */
  .admissions-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .admissions-journey-track {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .admissions-journey-track::before {
    display: none;
  }

  /* Section 05: Placements & Stats */
  .stats-flow-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .placements-hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .recruiter-logos-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
  }

  /* Section 06: Campus Life */
  .life-campus-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Section 07: Leadership */
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Section 08: Contact & Map */
  .location-split-grid, .contact-cta-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .map-panel, .map-panel iframe {
    width: 100%;
    min-height: 320px;
  }

  /* Subpage Shared Grids */
  .course-grid, .faculty-grid, .facility-grid, .events-grid, .downloads-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* --------------------------------------------------------------------------
   5. MOBILE-FIRST COMPACT SYSTEM (320px to 768px)
   Thumb-friendly, single-column stacking, zero horizontal overflow
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --maxw: 100%;
    --pad: 18px;
  }

  html, body {
    max-width: 100vw;
    overflow-x: clip;
    width: 100%;
  }

  body {
    padding-bottom: 60px; /* Space for bottom mobile action bar */
  }

  .utility-bar {
    display: none;
  }

  .nav-links {
    display: none !important;
  }

  .menu-toggle {
    display: flex !important;
    min-height: 42px;
    min-width: 42px;
    align-items: center;
    justify-content: center;
  }

  .brand-logo {
    height: 34px;
  }

  .brand-name {
    font-size: 13.5px;
  }

  .brand-sub {
    font-size: 8px;
    letter-spacing: 0.08em;
  }

  /* Icon-only search trigger for mobile */
  .header-actions .search-trigger span:last-child {
    display: none;
  }

  .header-actions .search-trigger {
    padding: 7px 10px;
    font-size: 14px;
  }

  .header-actions .btn-crimson.btn-sm {
    padding: 7px 11px;
    font-size: 10.5px;
  }

  .header-actions {
    gap: 8px;
  }

  /* Mobile Hero */
  .home-hero {
    min-height: auto;
    padding: 52px 0 36px;
    text-align: left;
  }

  .hero-triangle-bg {
    width: 260px;
    height: 260px;
    right: -20px;
    top: -10px;
    opacity: 0.35;
  }

  .home-hero h1 {
    font-size: clamp(2rem, 7.8vw, 2.75rem);
    line-height: 1.08;
    margin-bottom: 16px;
  }

  .home-hero p.hero-subtitle {
    font-size: 14.5px;
    margin-bottom: 24px;
    line-height: 1.55;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 46px;
    font-size: 12px;
  }

  .hero-quick-strip {
    margin-top: 30px;
    padding-top: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .quick-nav-links {
    gap: 10px 16px;
    flex-wrap: wrap;
  }

  /* Section Spacing */
  .section {
    padding: 44px 0;
  }

  .section-head {
    margin-bottom: 28px;
    gap: 16px;
  }

  /* Section 01: About */
  .about-flow-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .brief-card-graphic-wrap {
    max-width: 100%;
  }

  .cgpa-circle-badge {
    width: 80px;
    height: 80px;
    top: -8px;
    right: 8px;
  }

  .circle-badge-text {
    font-size: 7px;
  }

  /* Section 02: Programmes */
  .programme-interactive-row {
    grid-template-columns: 32px 1fr 24px;
    gap: 12px;
    padding: 16px 8px;
  }

  .programme-interactive-row h3 {
    font-size: 1.05rem;
  }

  .prog-desc {
    display: none;
  }

  .prog-arrow {
    font-size: 16px;
  }

  /* Section 03: Departments */
  .department-explorer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .dept-tab-item {
    padding: 14px 16px;
  }

  .dept-tab-item strong {
    font-size: 14.5px;
  }

  .dept-tab-item span {
    font-size: 12px;
    line-height: 1.45;
  }

  .dept-preview-panel {
    min-height: 250px;
  }

  .dept-preview-overlay {
    padding: 18px 14px;
  }

  .dept-preview-title {
    font-size: 1.25rem !important;
  }

  /* Section 04: Admissions Journey */
  .admissions-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .admissions-journey-track {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
  }

  .admissions-journey-track::before {
    display: none;
  }

  .journey-step-card {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
  }

  /* Section 05: Placements & Stats */
  .stats-flow-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .stat-flow-item strong {
    font-size: clamp(1.4rem, 6vw, 1.8rem);
  }

  .stat-flow-item span {
    font-size: 11px;
  }

  .placements-hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .recruiter-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Section 06: Campus Life */
  .life-campus-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .life-campus-card {
    padding: 18px 20px;
    min-height: auto;
  }

  .life-card-title {
    font-size: 1.2rem;
  }

  /* Section 07: Leadership */
  .leadership-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* Section 08: Contact CTA & Map */
  .location-split-grid, .contact-cta-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .map-panel, .map-panel iframe {
    width: 100%;
    height: 260px;
  }

  /* All Subpage Grids */
  .course-grid, .faculty-grid, .facility-grid, .events-grid, .downloads-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* Forms & Inputs: 16px font prevents iOS Safari auto-zoom */
  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-field input, .form-field select, .form-field textarea {
    font-size: 16px !important;
    padding: 12px 14px;
  }

  .lead-form button[type="submit"] {
    width: 100%;
  }

  /* Universal Footer */
  .site-footer {
    padding: 40px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 28px;
  }

  .footer-brand {
    margin-bottom: 4px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 11px;
  }

  /* Mobile Sticky Action Bar */
  .mobile-action-bar {
    display: grid !important;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 850;
    background: var(--navy-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .floating-whatsapp {
    bottom: 72px;
    right: 16px;
    width: 46px;
    height: 46px;
    font-size: 22px;
    z-index: 800;
  }

  .back-to-top {
    bottom: 72px;
    right: 68px;
    width: 40px;
    height: 40px;
    z-index: 800;
  }

  /* Tables & Responsive Flow */
  .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* --------------------------------------------------------------------------
   6. SMALL MOBILE (320px to 480px)
   Refined density for small smartphones (iPhone SE, Galaxy A series, etc.)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  :root {
    --pad: 14px;
  }

  .home-hero h1 {
    font-size: clamp(1.85rem, 8.5vw, 2.3rem);
  }

  .home-hero-kicker {
    font-size: 9.5px;
    padding: 5px 10px;
    gap: 8px;
    margin-bottom: 16px;
  }

  .stats-flow-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-flow-item {
    padding-left: 10px;
  }

  .stat-flow-item strong {
    font-size: 1.35rem;
  }

  .stat-flow-item span {
    font-size: 10.5px;
  }

  .search-input-box {
    margin-left: 0;
    width: 100%;
  }

  .search-input-box input, .inpage-search {
    width: 100%;
    min-width: 0;
  }

  .mobile-drawer {
    padding: 20px 14px 36px;
  }

  .mobile-drawer a {
    font-size: 14px;
    padding: 8px 0;
  }
}

/* --------------------------------------------------------------------------
   7. TOUCHSCREEN NO-HOVER CURSOR HANDLING
   Clean native cursor experience on smartphones & touch tablets
   -------------------------------------------------------------------------- */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }
  body, a, button, input, select, textarea {
    cursor: auto !important;
  }
}
