:root {
  /* HAEGL Brand Design System (from haegl.in & official logo) */
  --primary: #c41e3a;
  --primary-dark: #9a1629;
  --primary-light: #e84d65;
  --primary-glow: #eb1c24;
  --primary-soft: #fdf2f4;
  --primary-border: #f9d2d9;

  --secondary: #1a1a1a;
  --dark-hero: #0f172a;
  --navy: #0f172a;
  --navy-2: #1e293b;
  --accent: #c41e3a;

  --ink: #0f172a;
  --muted: #475569;
  --muted-light: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --surface: #ffffff;

  --gradient-primary: linear-gradient(135deg, #c41e3a 0%, #e84d65 100%);
  --gradient-dark: linear-gradient(135deg, #1a0306 0%, #111827 55%, #0a0a0a 100%);
  --gradient-cta: linear-gradient(135deg, #9a1629 0%, #c41e3a 60%, #e84d65 100%);

  --radius: 14px;
  --radius-sm: 8px;
  --radius-full: 9999px;

  --shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 12px 30px -4px rgba(196, 30, 58, 0.16), 0 4px 10px rgba(0, 0, 0, 0.06);
  --shadow-primary: 0 8px 24px -4px rgba(196, 30, 58, 0.35);

  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100]%;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.2rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1rem;
  line-height: 1.65;
}

.about-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 1.25rem;
}

.container {
  width: min(1180px, 92%);
  margin-inline: auto;
}

.narrow {
  width: min(800px, 92%);
}

.center {
  text-align: center;
}

.muted {
  color: var(--muted);
}

.lead {
  font-size: 1.15rem;
  color: #334155;
  line-height: 1.7;
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
  font-weight: 600;
  border-radius: 0 0 8px 8px;
}

.skip-link:focus {
  left: 1rem;
}

:focus-visible {
  outline: 3px solid var(--primary-light);
  outline-offset: 3px;
}

/* Announcement Bar (HAEGL Red Ribbon Style) */
.announcement {
  background: linear-gradient(90deg, #50060f 0%, #700c19 50%, #50060f 100%);
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.42rem 1rem;
  font-size: 0.8rem;
  position: relative;
  z-index: 40;
}

.announcement-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 0 1.8rem;
}

.announcement-content {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  line-height: 1.35;
}

.announcement-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.announcement-title {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  font-size: 0.76rem;
}

.announcement-dot {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

.announcement-tag {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffe4e8;
  font-weight: 600;
  font-size: 0.72rem;
  padding: 0.15rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.03em;
}

.announcement-btn {
  background: #ffffff;
  color: #c41e3a;
  padding: 0.22rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.announcement-btn:hover {
  background: #fdf2f4;
  color: #991b1b;
  transform: translateY(-1px);
}

.announcement-btn svg {
  transition: transform 0.2s ease;
}

.announcement-btn:hover svg {
  transform: translateX(2px);
}

.announcement-close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  transition: color 0.15s ease;
}

.announcement-close:hover {
  color: #ffffff;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a:not(.btn) {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"] {
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

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

.btn-sm {
  padding: 0.45rem 1.2rem;
  font-size: 0.88rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(196, 30, 58, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #9a1629 0%, #c41e3a 100%);
  box-shadow: var(--shadow-primary);
  color: #ffffff;
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: #ffffff;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(196, 30, 58, 0.25);
}

.btn-outline-white {
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  color: #ffffff;
}

.btn-light {
  background: #ffffff;
  color: var(--ink);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-light:hover {
  background: #f8fafc;
  color: var(--primary);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.8rem 0;
}

/* Hero Section - Matching haegl.in glow and tech aesthetic */
.hero {
  background: radial-gradient(circle at 65% 50%, #6f0a17 0%, #35040a 35%, #0e0104 70%, #050505 100%);
  color: #ffffff;
  padding: 3rem 0 2.2rem;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  overflow: hidden;
  mask-image: radial-gradient(ellipse at 60% 50%, black 45%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 50%, black 45%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

.hero-bg-grid::before {
  content: "";
  position: absolute;
  top: -80px;
  left: -80px;
  width: calc(100% + 160px);
  height: calc(100% + 160px);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  will-change: transform;
  animation: heroGridFlow 4s linear infinite;
}

@keyframes heroGridFlow {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(40px, 40px, 0);
  }
}

.hero-glow-orb {
  position: absolute;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(196, 30, 58, 0.35) 0%, rgba(154, 22, 41, 0.15) 45%, transparent 70%);
  top: -120px;
  right: 5%;
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  animation: heroGlowDrift 14s ease-in-out infinite alternate;
}

.hero-glow-orb-2 {
  position: absolute;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(235, 28, 36, 0.22) 0%, transparent 70%);
  bottom: -100px;
  left: -60px;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: heroGlowDrift2 18s ease-in-out infinite alternate;
}

@keyframes heroGlowDrift {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.85;
  }

  50% {
    transform: translate(-25px, 20px) scale(1.08);
    opacity: 1;
  }

  100% {
    transform: translate(20px, -15px) scale(0.95);
    opacity: 0.85;
  }
}

@keyframes heroGlowDrift2 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.8;
  }

  50% {
    transform: translate(20px, -18px) scale(1.1);
    opacity: 0.95;
  }

  100% {
    transform: translate(-15px, 12px) scale(0.92);
    opacity: 0.8;
  }
}

/* Executive Institutional Hero Section */
.inst-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(196, 30, 58, 0.16);
  border: 1px solid rgba(235, 28, 36, 0.32);
  backdrop-filter: blur(12px);
  color: #ffe4e6;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.inst-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981, 0 0 16px rgba(16, 185, 129, 0.7);
  display: inline-block;
  animation: pulseGreenDot 2s infinite ease-in-out;
}

@keyframes pulseGreenDot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}

.inst-pill-badge {
  background: rgba(235, 28, 36, 0.35);
  color: #ffffff;
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1,
.hero-headline {
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.hero-text-gradient {
  background: linear-gradient(135deg, #ffffff 20%, #fecdd3 60%, #eb1c24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 24px rgba(235, 28, 36, 0.35));
}

.hero-lead {
  color: #cbd5e1;
  font-size: 0.96rem;
  line-height: 1.6;
  max-width: 530px;
  margin-bottom: 1.1rem;
}

/* Credibility Pillars */
.credibility-pillars {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.65rem 0.95rem;
  transition: all 0.2s ease;
}

.pillar-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateX(2px);
}

.pillar-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(196, 30, 58, 0.2);
  border: 1px solid rgba(235, 28, 36, 0.35);
  color: #fca5a5;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.pillar-text strong {
  display: block;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
}

.pillar-text span {
  display: block;
  color: #94a3b8;
  font-size: 0.78rem;
  margin-top: 0.1rem;
}

/* Hero Actions */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0 1.2rem;
}

.btn-executive {
  background: linear-gradient(135deg, #c41e3a 0%, #eb1c24 100%);
  color: #ffffff;
  padding: 0.68rem 1.4rem;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 4px 16px rgba(196, 30, 58, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.btn-executive:hover {
  background: linear-gradient(135deg, #9a1629 0%, #c41e3a 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(235, 28, 36, 0.5);
  color: #ffffff;
}

.btn-outline-executive {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.68rem 1.25rem;
  border-radius: 9px;
  font-weight: 600;
  font-size: 0.88rem;
  backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: all 0.2s ease;
}

.btn-outline-executive:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

/* Institutional Track Record Strip */
.institutional-trust-strip {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  max-width: 540px;
}

.trust-metric {
  display: flex;
  flex-direction: column;
}

.trust-metric strong {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.1;
}

.trust-metric span {
  color: #94a3b8;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.2rem;
}

.trust-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
}

.hero-cards li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 0.75rem 1.15rem;
}

.hero-cards small {
  display: block;
  color: #94a3b8;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-cards strong {
  color: #ffffff;
  font-size: 1rem;
}

/* ========================================================
   Executive DCET Admissions & Cutoff Intelligence Hub
   ======================================================== */
.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  width: 100%;
}

.admissions-hub {
  width: 100%;
  max-width: 540px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.8), 0 0 35px rgba(196, 30, 58, 0.24);
  backdrop-filter: blur(20px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.admissions-hub:hover {
  box-shadow: 0 30px 70px -12px rgba(0, 0, 0, 0.85), 0 0 45px rgba(235, 28, 36, 0.32);
}

/* Hub Header */
.hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0.9rem 1.25rem;
  background: rgba(255, 255, 255, 0.035);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hub-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hub-crest {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, #991b1b, #dc2626);
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.35);
}

.hub-title {
  display: block;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.hub-subtitle {
  display: block;
  color: #94a3b8;
  font-size: 0.72rem;
}

.hub-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
  animation: pulseGreenDot 2s infinite ease-in-out;
}

/* Segmented Control */
.hub-segment-control {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  gap: 0.35rem;
  padding: 0.65rem 1.25rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hub-segment-control::-webkit-scrollbar {
  display: none;
}

.segment-tab {
  background: transparent;
  border: 1px solid transparent;
  color: #94a3b8;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.segment-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.segment-tab.active {
  background: rgba(196, 30, 58, 0.35);
  border-color: rgba(235, 28, 36, 0.5);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(196, 30, 58, 0.25);
}

/* Institutional Cutoffs Matrix */
.institution-matrix {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 1.25rem;
}

.institution-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  transition: all 0.2s ease;
}

.institution-row:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateX(2px);
}

.institution-row.premier-institution {
  border-left: 3px solid #eb1c24;
  background: rgba(196, 30, 58, 0.1);
}

.institution-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.institution-abbr {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  color: #ffffff;
  flex-shrink: 0;
}

.institution-abbr.rvce {
  background: linear-gradient(135deg, #991b1b, #dc2626);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.35);
}

.institution-abbr.bmsce {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.institution-abbr.msrit {
  background: linear-gradient(135deg, #065f46, #059669);
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.35);
}

.institution-name {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.institution-name strong {
  color: #ffffff;
  font-size: 0.88rem;
  font-family: var(--font-display);
}

.tier-pill {
  font-size: 0.65rem;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: rgba(235, 28, 36, 0.25);
  color: #fca5a5;
}

.tier-pill.tier-choice {
  background: rgba(59, 130, 246, 0.25);
  color: #93c5fd;
}

.institution-loc {
  display: block;
  color: #94a3b8;
  font-size: 0.72rem;
}

.institution-metrics {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-align: right;
}

.metric-block {
  display: flex;
  flex-direction: column;
}

.metric-label {
  color: #94a3b8;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.rank-val {
  color: #fbbf24;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
}

.score-val {
  color: #34d399;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
}

/* Interactive Score Projector */
.score-projector-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  margin: 0 1.25rem 1rem;
  padding: 1rem 1.1rem;
}

.projector-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 0.85rem;
}

.projector-title {
  display: block;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
}

.projector-note {
  display: block;
  color: #94a3b8;
  font-size: 0.72rem;
  margin-top: 0.15rem;
}

.score-display {
  display: flex;
  align-items: baseline;
  gap: 2px;
  background: rgba(196, 30, 58, 0.25);
  border: 1px solid rgba(235, 28, 36, 0.45);
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  flex-shrink: 0;
}

.score-num {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
}

.score-denom {
  color: #fda4af;
  font-size: 0.74rem;
}

.slider-wrapper {
  margin: 0.5rem 0 0.85rem;
}

.score-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, #c41e3a, #10b981);
  outline: none;
  cursor: pointer;
}

.score-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #eb1c24;
  box-shadow: 0 0 10px rgba(235, 28, 36, 0.6);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.score-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.score-slider::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #eb1c24;
  box-shadow: 0 0 10px rgba(235, 28, 36, 0.6);
  cursor: pointer;
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #94a3b8;
  margin-top: 0.4rem;
}

.projector-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.result-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
}

.result-box.full {
  grid-column: 1 / -1;
  background: rgba(196, 30, 58, 0.12);
  border-color: rgba(235, 28, 36, 0.25);
}

.res-label {
  display: block;
  color: #94a3b8;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.res-highlight {
  display: block;
  color: #fbbf24;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

.res-status {
  display: block;
  color: #34d399;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  margin-top: 0.1rem;
}

.res-course {
  display: block;
  color: #f1f5f9;
  font-size: 0.82rem;
  font-weight: 600;
  margin-top: 0.15rem;
}

/* Hub Footer */
.hub-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: rgba(0, 0, 0, 0.45);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hub-footer-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: #cbd5e1;
}

.hub-footer-text svg {
  color: #f87171;
  flex-shrink: 0;
}

.hub-action-link {
  color: #fda4af;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.hub-action-link:hover {
  color: #ffffff;
  transform: translateX(2px);
}

/* Sections & Grid */
.section {
  padding: 5rem 0;
  position: relative;
  background-color: #ffffff;
}

/* Background Design on .alt sections - Clean, modern institutional gradient */
.alt {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
}

.alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 100% 0%, rgba(196, 30, 58, 0.03) 0%, transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(15, 23, 42, 0.03) 0%, transparent 45%);
  pointer-events: none;
}

.section-title {
  text-align: center;
  margin-bottom: 2.2rem;
  font-weight: 800;
}

.section-title.left {
  text-align: left;
}

/* Page Header with Institutional Academy Gradient */
.page-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 65%, #4a0710 100%);
  color: #ffffff;
  padding: 2.8rem 0;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--primary);
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0;
  pointer-events: none;
  will-change: background-position;
  animation: pageHeaderGridMove 16s linear infinite;
}

@keyframes pageHeaderGridMove {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 32px 32px;
  }
}

.page-header h1 {
  color: #ffffff;
  margin: 0;
  position: relative;
  z-index: 1;
}

.page-header .lead {
  color: #cbd5e1;
  margin: 0.6rem 0 0;
  position: relative;
  z-index: 1;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

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

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Cards with Accent Top Line on Hover */
.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

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

.card h3 {
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted);
}

.tag {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

/* Stats Ribbon */
.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 3.5rem;
}

.stat-item {
  text-align: center;
  border-right: 1px solid var(--line);
  padding: 0 1rem;
}

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

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

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

/* ==========================================================================
   Faculty Grid & Cards (Modern Academic Profile)
   ========================================================================== */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .faculty-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .faculty-grid {
    grid-template-columns: 1fr !important;
  }
}

.faculty-card-modern,
.faculty {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faculty-card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  opacity: 0.85;
}

.faculty-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -8px rgba(196, 30, 58, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
  border-color: var(--primary-border);
}

.faculty-photo-container {
  margin-bottom: 1.2rem;
  position: relative;
}

.faculty-photo-frame {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 3px solid #ffffff;
  outline: 2px solid var(--primary);
  box-shadow: 0 6px 18px rgba(196, 30, 58, 0.18);
  background: var(--primary-soft);
  transition: transform 0.3s ease, outline-color 0.3s ease;
}

.faculty-card-modern:hover .faculty-photo-frame {
  transform: scale(1.04);
  outline-color: var(--primary-light);
}

.faculty-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.faculty-card-modern:hover .faculty-photo-frame img {
  transform: scale(1.06);
}

.faculty-fallback-frame {
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
  display: grid;
  place-items: center;
}

.faculty-avatar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--primary);
  font-family: var(--font-display);
}

.faculty-avatar span:first-child {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.faculty-avatar .avatar-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--primary);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
}

.faculty-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faculty-name {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.faculty-designation-badge {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  border: 1px solid #e2e8f0;
}

.faculty-subject-highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  text-align: center;
  line-height: 1.35;
}

.faculty-subject-highlight svg {
  flex-shrink: 0;
}

.faculty-bio {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

/* Backward compatibility for legacy faculty markup */
.faculty img,
.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.1rem;
  border: 3px solid var(--primary-border);
}

.avatar {
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
}

/* ==========================================================================
   Alumni & Achiever Cards
   ========================================================================== */
.tag {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid #e2e8f0;
  letter-spacing: 0.02em;
}

.alumni-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  justify-content: center;
}

.alumni-card {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.35rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.alumni-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-glow) 100%);
  opacity: 0.95;
}

.alumni-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -4px rgba(196, 30, 58, 0.14), 0 4px 10px rgba(0, 0, 0, 0.04);
  border-color: var(--primary-border);
}

.alumni-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  border: 2.5px solid #ffffff;
  outline: 2px solid var(--primary);
  box-shadow: 0 4px 12px rgba(196, 30, 58, 0.18);
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease, outline-color 0.3s ease;
}

.alumni-card:hover .alumni-avatar {
  transform: scale(1.04);
  outline-color: var(--primary-light);
}

.alumni-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.alumni-meta {
  flex-grow: 1;
  min-width: 0;
}

.alumni-meta h3 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.alumni-college {
  color: #475569;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.alumni-work-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  margin-top: 4px;
}

.alumni-work-prefix {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.alumni-company-highlight {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  padding: 2.5px 10px;
  border-radius: 6px;
  display: inline-block;
  line-height: 1.35;
  box-shadow: 0 1px 3px rgba(196, 30, 58, 0.08);
  transition: all 0.2s ease;
}

.alumni-card:hover .alumni-company-highlight {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 3px 8px rgba(196, 30, 58, 0.25);
}

.quote blockquote {
  margin: 0 0 0.8rem;
  font-style: italic;
  color: var(--muted);
}

.quote {
  margin: 0;
}

.facts dt {
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.9rem;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.facts dd {
  margin: 0.15rem 0 0;
  color: var(--ink);
}

.plain {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plain li {
  padding: 0.25rem 0;
}

.empty {
  border: 2px dashed var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  color: var(--muted);
  background: #ffffff;
}

.note {
  background: var(--primary-soft);
  border-left: 4px solid var(--primary);
  padding: 0.9rem 1.2rem;
  border-radius: 8px;
  font-size: 0.94rem;
  margin: 1.8rem 0;
  color: #700b13;
}

/* FAQs */
.faq {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.8rem;
  transition: border-color 0.2s ease;
}

.faq:hover {
  border-color: var(--primary-border);
}

.faq summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  outline: none;
}

.faq p,
.faq ul {
  margin-top: 0.8rem;
  color: var(--muted);
}

.topics {
  padding-left: 1.2rem;
}

.topics li {
  margin-bottom: 0.5rem;
}

/* Forms */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
  align-items: center;
}

input,
select,
textarea {
  font: inherit;
  padding: 0.7rem 0.9rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  width: 100%;
  background: #ffffff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.15);
  outline: none;
}

.filter-bar input,
.filter-bar select {
  width: auto;
  min-width: 220px;
}

.form-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

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

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
}

.error {
  color: #dc2626;
  font-size: 0.88rem;
  margin: 0.35rem 0 0;
}

.errorlist {
  color: #dc2626;
  list-style: none;
  padding: 0;
  margin: 0.35rem 0 0;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.map {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 10px;
  margin-top: 1.2rem;
}

/* Alerts */
.alert {
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  margin: 1.2rem 0;
  border: 1px solid;
  font-size: 0.95rem;
}

.alert-success {
  background: #f0fdf4;
  border-color: #86efac;
  color: #166534;
}

.alert-error {
  background: #fef2f2;
  border-color: #fca5a5;
  color: #991b1b;
}

.alert-info,
.alert-warning {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.2rem;
}

/* CTA Band */
.cta-band {
  background: radial-gradient(circle at 65% 50%, #2e050b 0%, #140305 50%, #0a0103 100%);
  border-top: 1px solid rgba(235, 28, 36, 0.25);
  border-bottom: 1px solid rgba(235, 28, 36, 0.25);
  color: #ffffff;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-band h2 {
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(1.85rem, 3.2vw, 2.3rem);
}

.cta-band p {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0.5rem auto 1.8rem;
}

.cta-band .btn-primary {
  background: linear-gradient(135deg, #c41e3a 0%, #eb1c24 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 18px rgba(235, 28, 36, 0.45);
  font-weight: 700;
  padding: 0.75rem 1.8rem;
  transition: all 0.25s ease;
}

.cta-band .btn-primary:hover {
  background: linear-gradient(135deg, #d32f2f 0%, #ff2d37 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(235, 28, 36, 0.6);
}

/* Footer */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding-top: 3.5rem;
  border-top: 3px solid var(--primary);
}

.footer-brand-box {
  background: #ffffff;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.footer-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.site-footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-title {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}

.site-footer address {
  font-style: normal;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.footer-contact-icon {
  flex-shrink: 0;
  color: var(--primary-light);
  margin-top: 0.2rem;
}

.footer-contact-label {
  display: block;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #e2e8f0;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.footer-contact-item p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #cbd5e1;
}

.social {
  display: flex;
  gap: 1.1rem;
  list-style: none;
  padding: 0;
  margin-top: 1.2rem;
}

.social a {
  color: #94a3b8;
}

.social a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding: 1.2rem 0;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
  color: #94a3b8;
}


/* =========================================================
   ABOUT US PAGE STYLING (Rich Institutional Design)
   ========================================================= */

.about-hero {
  background: linear-gradient(135deg, #0d0204 0%, #111827 50%, #1a060a 100%);
  color: #ffffff;
  padding: 4.5rem 0 3.8rem;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid rgba(196, 30, 58, 0.35);
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: 0 0;
  pointer-events: none;
  will-change: background-position;
  animation: aboutGridMove 16s linear infinite;
}

@keyframes aboutGridMove {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 32px 32px;
  }
}

.about-hero-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  top: -150px;
  right: -100px;
  background: radial-gradient(circle, rgba(196, 30, 58, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  animation: heroGlowDrift 14s ease-in-out infinite alternate;
}

.about-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(196, 30, 58, 0.4);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(8px);
}

.about-hero-pill .dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}

.about-hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.1rem;
  max-width: 900px;
}

.about-hero h1 .text-highlight {
  background: linear-gradient(135deg, #ff4d6d 0%, #ff758f 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-hero-lead {
  font-size: 1.18rem;
  color: #cbd5e1;
  max-width: 820px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* Metric Ribbon */
.about-metrics-ribbon {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.6rem;
  box-shadow: var(--shadow);
}

.about-metric-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
}

.about-metric-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--line);
}

.about-metric-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}

.about-metric-num .accent-sign {
  color: var(--primary);
}

.about-metric-label {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}


/* Story Section */
.about-story-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 3rem;
  align-items: center;
}

.story-badge {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.story-heading {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--ink);
  margin-bottom: 1.2rem;
  line-height: 1.28;
}

.story-p {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.75;
  margin-bottom: 1.1rem;
}

.story-callout {
  border-left: 3px solid var(--primary);
  padding: 0.9rem 1.3rem;
  background: var(--bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.4rem 0;
}

.story-callout p {
  margin: 0;
  font-size: 0.98rem;
  color: #1e293b;
  font-weight: 500;
  font-style: italic;
}

.story-card-box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.story-card-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.story-box-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--ink);
}

.story-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.story-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.5;
}

.story-checklist .chk-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 1px;
}

/* Mission & Vision Section */
.about-mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-mv-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.about-mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.about-mv-card.mission {
  border-top: 4px solid var(--primary);
}

.about-mv-card.vision {
  border-top: 4px solid #0f172a;
}

.mv-icon-badge {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.about-mv-card.mission .mv-icon-badge {
  background: var(--primary-soft);
  color: var(--primary);
}

.about-mv-card.vision .mv-icon-badge {
  background: #f1f5f9;
  color: #0f172a;
}

.mv-subtag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.mv-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--ink);
}

.mv-desc {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.mv-pills {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}

.mv-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1e293b;
}

.mv-pill-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Philosophy 4 Pillars Grid */
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.about-pillar-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.about-pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-hover);
}

.pillar-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #94a3b8;
}

.pillar-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.pillar-card-text {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
  margin: 0;
  flex-grow: 1;
}

/* Learning Architecture Roadmap */
.about-roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.roadmap-step {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.roadmap-step:hover {
  transform: translateY(-3px);
}

.roadmap-step-badge {
  display: inline-block;
  background: #0f172a;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.roadmap-step.highlight .roadmap-step-badge {
  background: #0f172a;
}

.roadmap-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.roadmap-desc {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Facilities Cards */
.about-facilities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.facility-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.facility-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.facility-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.facility-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

/* About Executive CTA */
.about-cta-container {
  background: linear-gradient(135deg, #0d0204 0%, #1a0306 40%, #0f172a 100%);
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(196, 30, 58, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.about-cta-container::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(196, 30, 58, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

.about-cta-container h2 {
  font-size: clamp(2rem, 3.5vw, 2.7rem);
  color: #ffffff;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.about-cta-container p {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto 2.2rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.about-cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-white-outline {
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.btn-white-outline:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* =========================================================
   KEA REVISED PATTERN ALIGNED HERO CARD (Hero Visual)
   ========================================================= */

.kea-aligned-card {
  background: linear-gradient(145deg, #130306 0%, #161f30 60%, #0c111d 100%);
  border: 1px solid rgba(196, 30, 58, 0.4);
  border-radius: 14px;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(196, 30, 58, 0.12);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  overflow: hidden;
}

.kea-aligned-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
}

.kea-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.kea-card-crest {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  background: linear-gradient(135deg, #991b1b, #dc2626);
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.kea-card-badge {
  display: inline-block;
  background: rgba(196, 30, 58, 0.25);
  color: #ff8597;
  border: 1px solid rgba(196, 30, 58, 0.4);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.15rem;
}

.kea-card-title {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
}

.kea-card-subtitle {
  display: block;
  color: #94a3b8;
  font-size: 0.75rem;
  margin-top: 0.1rem;
}

.kea-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.kea-point-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  padding: 0.75rem 0.95rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.kea-point-box:hover {
  transform: translateX(3px);
  border-color: rgba(196, 30, 58, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.kea-point-icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--primary-soft);
  color: var(--primary);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.kea-point-content strong {
  display: block;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.kea-point-content p {
  color: #cbd5e1;
  font-size: 0.8rem;
  line-height: 1.45;
  margin: 0;
}

.kea-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.kea-footer-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #cbd5e1;
}

.kea-live-dot {
  width: 7px;
  height: 7px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
}

.kea-footer-link {
  color: #ff6b81;
  font-weight: 700;
  font-size: 0.84rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

/* ========================================================
   FAQ Section & 2-Column Responsive Layout
   ======================================================== */
.faq-section {
  padding: 4.5rem 0;
  background: var(--bg);
}

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

.faq-header .section-title {
  margin-bottom: 0.75rem;
}

.faq-header p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0;
}

.faq-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .faq-columns {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.faq-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* FAQ Card / Details */
details.faq-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}

details.faq-item:hover {
  border-color: var(--primary-border);
  box-shadow: 0 6px 20px rgba(196, 30, 58, 0.07);
  transform: translateY(-1px);
}

details.faq-item[open] {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(196, 30, 58, 0.1);
  background: #ffffff;
}

details.faq-item summary {
  list-style: none;
  list-style-type: none;
  cursor: pointer;
  padding: 1.25rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

details.faq-item summary::-webkit-details-marker,
details.faq-item summary::marker {
  display: none !important;
}

details.faq-item summary:hover {
  color: var(--primary);
}

details.faq-item[open] summary {
  color: var(--primary);
  border-bottom: 1px solid var(--line);
  background: var(--primary-soft);
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--muted);
  transition: all 0.25s ease;
}

details.faq-item summary:hover .faq-chevron {
  background: var(--primary-soft);
  color: var(--primary);
}

details.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  background: var(--primary);
  color: #ffffff;
}

.faq-body {
  padding: 1.25rem 1.4rem;
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.7;
  background: #ffffff;
}

.faq-body p:last-child {
  margin-bottom: 0;
}

/* FAQ Bottom Support Callout */
.faq-footer-support {
  margin-top: 2.8rem;
}

.faq-support-card {
  background: linear-gradient(135deg, #fff9fa 0%, #fef2f4 100%);
  border: 1px solid var(--primary-border);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.faq-support-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  min-width: 280px;
}

.faq-support-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(196, 30, 58, 0.25);
}

.faq-support-text h4 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  color: var(--ink);
}

.faq-support-text p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.faq-support-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}


@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}