/* ==========================================================================
   AI & ML for All | SASTRA Deemed to be University
   Professional Premium Stylesheet (style.css)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design Tokens & Root Variables
   -------------------------------------------------------------------------- */
:root {
  /* Institutional Palette */
  --sastra-navy: #1B1E5E;
  --sastra-navy-dark: #0D0F33;
  --sastra-royal: #2F2484;
  --sastra-gold: #E2B44C;
  --sastra-gold-hover: #F0C465;
  --sastra-white: #FFFFFF;
  --sastra-blue: #0B0E1B;

  /* Modern Accent Highlights */
  --accent-cyan: #38BDF8;
  --accent-cyan-glow: rgba(56, 189, 248, 0.25);
  --accent-indigo: #818CF8;
  --accent-purple: #A855F7;
  --accent-emerald: #10B981;
  --accent-rose: #F43F5E;

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Elevations & Shadows */
  --shadow-sm: 0 2px 8px rgba(10, 14, 39, 0.06);
  --shadow-md: 0 6px 20px rgba(10, 14, 39, 0.08);
  --shadow-lg: 0 12px 36px rgba(10, 14, 39, 0.12);
  --shadow-glow: 0 0 35px rgba(129, 140, 248, 0.2);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* --------------------------------------------------------------------------
   2. Dark Theme Defaults (Premium Tech Aesthetic)
   -------------------------------------------------------------------------- */
body[data-theme="dark"],
:root:not([data-theme="light"]) {
  --bg-base: #0B0E1B;
  --bg-surface: #12162B;
  --bg-surface-elevated: #181E38;
  --bg-surface-glass: rgba(18, 22, 43, 0.82);
  --bg-alt: #0E1224;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-glow: rgba(129, 140, 248, 0.35);

  --text-main: #F1F5F9;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --text-inverse: #0B0E1B;

  --topbar-bg: #090B16;
  --nav-bg: rgba(11, 14, 27, 0.88);
  --card-glow: rgba(47, 36, 132, 0.18);
  color-scheme: dark;
}

/* Light Theme Variant */
body[data-theme="light"] {
  --bg-base: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F1F5F9;
  --bg-surface-glass: rgba(255, 255, 255, 0.9);
  --bg-alt: #F1F5F9;

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-medium: rgba(0, 0, 0, 0.14);
  --border-glow: rgba(47, 36, 132, 0.25);

  --text-main: #0F172A;
  --text-muted: #475569;
  --text-dim: #94A3B8;
  --text-inverse: #FFFFFF;

  --topbar-bg: #FFFFFF;
  --nav-bg: rgba(255, 255, 255, 0.92);
  --card-glow: rgba(47, 36, 132, 0.06);
  color-scheme: light;
}

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

:root,
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-base);
  color: var(--text-main);
  font-family: var(--font-body);
  text-align:justify;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: max(15px, env(safe-area-inset-left));
  padding-right: max(15px, env(safe-area-inset-right));
}

a {
  color: var(--accent-indigo);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--accent-cyan);
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

code, .code-font {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(129, 140, 248, 0.12);
  color: var(--accent-cyan);
  padding: 3px 7px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   4. Institutional Top Bar
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--topbar-bg);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 0;
  transition: background-color var(--transition-fast);
}

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

.inst-logo-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.inst-svg-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(47, 36, 132, 0.3);
}

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

.inst-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-main);
  line-height: 1.1;
}

.inst-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sastra-gold);
}

.brand-divider {
  width: 1px;
  height: 34px;
  background-color: var(--border-medium);
}

.partner-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(226, 180, 76, 0.18), rgba(129, 140, 248, 0.22));
  border: 1px solid var(--border-medium);
  display: grid;
  place-items: center;
  color: var(--sastra-gold);
}

.partner-badge-icon svg {
  width: 20px;
  height: 20px;
}

.partner-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.1;
}

.partner-subtitle {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.accent-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--sastra-royal);
  border: 1px solid rgba(129, 140, 248, 0.25);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sastra-white);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseAnimation 2s infinite;
}

@keyframes pulseAnimation {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.theme-toggle {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  border-color: var(--accent-indigo);
  transform: translateY(-2px);
}

.theme-toggle .sun-icon { display: none; width: 18px; height: 18px; }
.theme-toggle .moon-icon { display: block; width: 18px; height: 18px; }
body[data-theme="light"] .theme-toggle .sun-icon { display: block; }
body[data-theme="light"] .theme-toggle .moon-icon { display: none; }

/* --------------------------------------------------------------------------
   5. Sticky Main Navigation
   -------------------------------------------------------------------------- */
.main-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-monogram {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--sastra-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body[data-theme="light"] .brand-monogram {
  background: linear-gradient(135deg, var(--sastra-royal) 0%, #101225 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  border-left: 1px solid var(--border-medium);
  padding-left: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  position: relative;
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
  color: var(--sastra-royal);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--sastra-gold);
  border-radius: var(--radius-full);
}

.nav-btn-contact {
  background: var(--sastra-royal);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-left: 8px;
}

.nav-btn-contact:hover {
  background: var(--sastra-royal);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  z-index: 1001;
}

.nav-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  transform-origin: center;
}

.nav-toggle.open .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Off-canvas Navigation Backdrop Overlay */
.nav-backdrop {
  position: fixed;
  inset: 0;
  top: 62px;
  background: rgba(11, 14, 27, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  pointer-events: none;
}

.nav-backdrop.active,
body.nav-open .nav-backdrop {
  opacity: 1;
  visibility: hidden;
  pointer-events: auto;
}

body.nav-open {
  overflow: hidden;
}

.scroll-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--sastra-royal), var(--sastra-gold), var(--accent-cyan));
  transition: width 0.1s ease-out;
}

/* --------------------------------------------------------------------------
   6. Hero Section & Infographic
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  padding: 80px 0 110px;
  overflow: hidden;
  background: #0B0E1B;
}

.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-1 {
  width: 450px;
  height: 450px;
  background: rgba(47, 36, 132, 0.35);
  top: -100px;
  left: 5%;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(226, 180, 76, 0.15);
  top: 150px;
  right: 5%;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 20px;
  align-items: flex-start;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--sastra-white);
  border: 1px solid var(--border-medium);
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.tag-gold {
  color: var(--sastra-navy);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag-sep { color: var(--border-medium); }
.tag-text { color: var(--text-muted); font-weight: 500; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--sastra-white);
}

.gradient-text {
  background: linear-gradient(135deg, #A5B4FC 0%, var(--sastra-gold) 60%, #38BDF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-inverse);
  max-width: 60ch;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn-primary {
  background: var(--sastra-royal);
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(47, 36, 132, 0.35);
}

.btn-primary:hover {
  background: var(--accent-indigo);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(47, 36, 132, 0.5);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  border-color: var(--accent-indigo);
  transform: translateY(-2px);
  color: var(--accent-cyan);
}

.btn-outline {
  background: transparent;
  color: var(--sastra-gold);
  border: 1px solid rgba(226, 180, 76, 0.4);
}

.btn-outline:hover {
  background: rgba(226, 180, 76, 0.1);
  color: var(--sastra-gold-hover);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.82rem;
}

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

.btn-ghost:hover {
  color: var(--text-main);
  border-color: var(--border-medium);
}

.hero-micro-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.micro-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-inverse);
}

.micro-icon { font-size: 1rem; }

/* --------------------------------------------------------------------------
   7. Infographic Style Visual Components
   -------------------------------------------------------------------------- */
.hero-infographic-wrap {
  width: 100%;
}

.infographic-card {
  background: var(--sastra-white);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  backdrop-filter: blur(16px);
  overflow: hidden;
  position: relative;
}

.infographic-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border-subtle);
}

.info-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.info-dot.red { background: #EF4444; }
.info-dot.yellow { background: #F59E0B; }
.info-dot.green { background: #10B981; }

.info-header-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-left: 8px;
}

.infographic-canvas {
  position: relative;
  min-height: 330px;
  padding: 24px;
  display: grid;
  place-items: center;
}

.infographic-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hub-center {
  position: relative;
  z-index: 2;
}

.hub-box {
  background: linear-gradient(135deg, var(--sastra-navy) 0%, var(--sastra-royal) 100%);
  border: 2px solid var(--sastra-gold);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  text-align: center;
  box-shadow: 0 0 30px rgba(47, 36, 132, 0.6);
}

.hub-core-pulse {
  position: absolute;
  inset: -12px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--sastra-gold);
  animation: rotateHub 25s linear infinite;
  opacity: 0.4;
}

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

.hub-icon-wrap {
  width: 32px;
  height: 32px;
  margin: 0 auto 6px;
  color: var(--sastra-gold);
}

.hub-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #FFFFFF;
}

.hub-box span {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.orbit-node {
  position: absolute;
  z-index: 2;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-fast);
}

.orbit-node:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--accent-indigo);
  box-shadow: 0 8px 24px rgba(129, 140, 248, 0.25);
}

.node-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.node-icon svg { width: 18px; height: 18px; }

.node-healthcare { top: 10px; left: 16px; }
.node-healthcare .node-icon { color: var(--accent-cyan); }

.node-education { top: 10px; right: 16px; }
.node-education .node-icon { color: var(--sastra-gold); }

.node-genai { bottom: 20px; left: 16px; }
.node-genai .node-icon { color: var(--accent-indigo); }

.node-edge { bottom: 20px; right: 16px; }
.node-edge .node-icon { color: var(--accent-emerald); }

.node-content strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-main);
}

.node-content small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.node-status-badge {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  margin-left: auto;
}

.status-live { background: rgba(56, 189, 248, 0.15); color: var(--accent-cyan); }
.status-deployed { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.status-training { background: rgba(129, 140, 248, 0.15); color: var(--accent-indigo); }

.infographic-footer {
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.infographic-footer strong { color: var(--text-main); }
.foot-sep { color: var(--border-medium); }

/* --------------------------------------------------------------------------
   8. Stats Ribbon
   -------------------------------------------------------------------------- */
.stats-ribbon-wrap {
  margin-top: 50px;
}

.stats-ribbon {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  background: var(--sastra-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

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

.stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(129, 140, 248, 0.12);
  border: 1px solid rgba(129, 140, 248, 0.25);
  display: grid;
  place-items: center;
  color: var(--accent-indigo);
  flex-shrink: 0;
}

.stat-icon-wrap svg { width: 22px; height: 22px; }

.stat-number {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-main);
  display: block;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--sastra-navy);
  display: block;
  margin-top: 4px;
}

.stat-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: block;
  line-height: 1.4;
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   9. Standard Section Containers & Headers
   -------------------------------------------------------------------------- */
.section-wrapper {
  padding: 96px 0;
  position: relative;
}

.bg-alt {
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sastra-gold);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--text-main);
  text-wrap: balance;
}

.section-title-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--sastra-royal), var(--sastra-gold));
  border-radius: var(--radius-full);
  margin: 16px auto 20px;
}

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

.subsection-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 48px 0 24px;
  position: relative;
  padding-left: 16px;
}

.subsection-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background: var(--sastra-gold);
  border-radius: var(--radius-full);
}

/* --------------------------------------------------------------------------
   10. About Section Components
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.about-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.card-accent-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}
.gold-accent { background: var(--sastra-gold); }
.blue-accent { background: var(--sastra-royal); }

.card-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(226, 180, 76, 0.12);
  display: grid;
  place-items: center;
  color: var(--sastra-gold);
  margin-bottom: 20px;
}

.mission-card .card-icon-box {
  background: rgba(129, 140, 248, 0.12);
  color: var(--accent-indigo);
}

.about-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-main);
}

.about-card p {
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.mission-points {
  list-style: none;
  display: grid;
  gap: 14px;
}

.mission-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.bullet-chk {
  color: var(--accent-emerald);
  font-weight: 800;
  font-size: 1.1rem;
  line-height: 1;
}

.highlights-container {
  margin-top: 48px;
}

.highlight-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.highlight-cards-grid1 {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 20px;
}

.h-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.h-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-indigo);
}

.h-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: rgba(129, 140, 248, 0.15);
  color: var(--accent-indigo);
  margin-bottom: 12px;
}

.h-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.h-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   11. Research Thrust Areas Grid & Infographic Pipeline
   -------------------------------------------------------------------------- */
.thrust-nav-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}

.thrust-anchor-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 20px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transition: all var(--transition-fast);
}

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

.thrust-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-surface-elevated);
  display: grid;
  place-items: center;
  color: var(--accent-indigo);
  transition: all var(--transition-fast);
}

.thrust-anchor-card:hover .thrust-icon-box {
  background: var(--sastra-royal);
  color: #FFFFFF;
}

.thrust-icon-box svg { width: 24px; height: 24px; }

.thrust-anchor-card h4 {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
}

.thrust-count {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--sastra-gold);
}

/* Infographic Feature Pipeline */
.infographic-feature-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  margin-bottom: 48px;
  box-shadow: var(--shadow-md);
}

.info-badge-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.12);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.info-box-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.info-box-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.pipeline-flow-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.pipeline-step {
  flex: 1;
  min-width: 200px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
  position: relative;
  transition: all var(--transition-fast);
}

.pipeline-step:hover {
  border-color: var(--accent-indigo);
  transform: translateY(-2px);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--sastra-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.step-title {
  font-size: 0.95rem;
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
  color: var(--text-main);
}

.pipeline-step p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

.pipeline-connector {
  font-size: 1.4rem;
  color: var(--accent-indigo);
  padding: 0 4px;
}

/* Thrust Detailed Articles */
.thrust-articles-list {
  display: grid;
  gap: 28px;
}

.area-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  scroll-margin-top: 80px;
  transition: border-color var(--transition-fast);
}

.area-card:hover {
  border-color: var(--border-medium);
}

.area-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
  gap: 16px;
  flex-wrap: wrap;
}

.area-header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.area-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(129, 140, 248, 0.12);
  display: grid;
  place-items: center;
  color: var(--accent-indigo);
  flex-shrink: 0;
}

.area-icon svg { width: 22px; height: 22px; }

.area-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
}

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

.badge-accent {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(226, 180, 76, 0.15);
  color: var(--sastra-gold);
  border: 1px solid rgba(226, 180, 76, 0.3);
}

.area-body {
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px;
}

.area-col-left p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 20px;
}

.label-heading {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
}

.project-items-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.project-items-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border-subtle);
}

.project-items-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.item-meta b {
  display: block;
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.35;
}

.item-meta small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

/* Pills */
.pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.pill-ok { background: rgba(16, 185, 129, 0.15); color: #10B981; }
.pill-wip { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }
.pill-plan { background: rgba(148, 163, 184, 0.15); color: #94A3B8; }

/* --------------------------------------------------------------------------
   12. Projects & Internship Tables
   -------------------------------------------------------------------------- */
.project-featured-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-md);
}

.project-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--sastra-gold);
  text-transform: uppercase;
}

.featured-card-top h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  margin: 6px 0 20px;
  color: var(--text-main);
}

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.featured-info p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.facts-matrix {
  display: grid;
  gap: 12px;
}

.fact-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  font-size: 0.9rem;
}

.fact-label {
  color: var(--text-dim);
  font-weight: 600;
}

.fact-val {
  color: var(--text-main);
  font-weight: 500;
}

/* TARA Infographic Box */
.tara-infographic {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 24px;
}

.tara-info-header {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sastra-gold);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.tara-layers {
  display: grid;
  gap: 12px;
}

.tara-layer {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  transition: all var(--transition-fast);
}

.tara-layer:hover {
  transform: translateX(4px);
  border-color: var(--accent-indigo);
}

.layer-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-main);
}

.tara-layer small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.tara-info-footer {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  text-align: right;
}

.link-btn {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sastra-gold);
}

.link-btn:hover {
  color: var(--sastra-gold-hover);
  text-decoration: underline;
}

/* Data Tables */
.table-container-wrap {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 12px;
}

.table-header-bar h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
}

.table-badge, .stat-highlight {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(129, 140, 248, 0.15);
  color: var(--accent-indigo);
}

.table-responsive {
  overflow-x: auto;
}

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

.data-table th {
  background: var(--sastra-navy);
  color: #FFFFFF;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.data-table td {
  padding: 14px 18px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.data-table td b, .data-table td strong {
  color: var(--text-main);
}

.data-table tr:hover td {
  background: rgba(129, 140, 248, 0.04);
}

.data-table tfoot td {
  font-weight: 800;
  color: var(--text-main);
  background: var(--bg-surface-elevated);
  border-top: 2px solid var(--sastra-royal);
}

/* --------------------------------------------------------------------------
   13. Facilities Section
   -------------------------------------------------------------------------- */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.facility-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.fac-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.12);
  display: grid;
  place-items: center;
  color: var(--accent-cyan);
  margin-bottom: 20px;
}

.fac-icon-wrap svg { width: 26px; height: 26px; }

.facility-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-main);
}

.facility-card p {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.hardware-spec-list {
  display: grid;
  gap: 12px;
}

.spec-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.spec-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 7px;
  flex-shrink: 0;
}
.spec-dot.green { background: var(--accent-emerald); }

/* --------------------------------------------------------------------------
   14. Applications & Hugging Face Grid
   -------------------------------------------------------------------------- */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.app-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-top: 4px solid var(--sastra-royal);
  border-radius: var(--radius-sm);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

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

.app-badge-type {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-indigo);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.app-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.app-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.app-card-actions {
  display: flex;
  gap: 10px;
}

/* --------------------------------------------------------------------------
   15. Outreach & AI YATRA Grid
   -------------------------------------------------------------------------- */
.outreach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.outreach-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 24px;
}

.outreach-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.outreach-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   16. Manuals & Infographic Handbooks
   -------------------------------------------------------------------------- */
.manuals-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.manual-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

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

.manual-infographic-cover {
  aspect-ratio: 4 / 3;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.cover-blue { background: linear-gradient(135deg, #1E1B4B 0%, #2F2484 100%); }
.cover-purple { background: linear-gradient(135deg, #3B0764 0%, #6D28D9 100%); }
.cover-gold { background: linear-gradient(135deg, #451A03 0%, #B45309 100%); }
.cover-cyan { background: linear-gradient(135deg, #083344 0%, #0284C7 100%); }

.cover-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.3);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  align-self: flex-start;
}

.cover-icon {
  width: 36px;
  height: 36px;
  color: #FFFFFF;
  opacity: 0.9;
}

.cover-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
}

.cover-meta {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
}

.manual-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.manual-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.manual-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}

.manual-btn-group {
  display: flex;
  gap: 8px;
}

/* --------------------------------------------------------------------------
   17. People, Faculty & Leadership
   -------------------------------------------------------------------------- */
.lead-person-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}

.lead-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sastra-royal), var(--sastra-gold));
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFFFFF;
  flex-shrink: 0;
  box-shadow: 0 4px 18px rgba(47, 36, 132, 0.4);
}

.role-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sastra-gold);
  text-transform: uppercase;
}

.lead-details h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  margin: 4px 0 8px;
  color: var(--text-main);
}

.lead-details p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.team-member-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all var(--transition-fast);
}

.team-member-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-indigo);
}

.member-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sastra-navy);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.member-meta h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
}

.member-meta small {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
  display: block;
  margin-top: 2px;
}

.intern-roster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.roster-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.roster-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-indigo);
  text-transform: uppercase;
}

.roster-header h5 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 4px 0 16px;
  color: var(--text-main);
}

.roster-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.roster-list li {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-subtle);
}

.roster-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.roster-list strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-main);
}

.roster-list small {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   18. Contact & Copy to Clipboard
   -------------------------------------------------------------------------- */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.contact-cards-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.contact-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align:justify;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-main);
}

.contact-addr {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-addr strong { color: var(--text-main); }

.copy-box {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.copy-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dim);
  width: 60px;
}

.copy-text {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  background: var(--bg-surface-elevated);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  user-select: all;
}

.link-url {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--sastra-gold);
}

.btn-copy {
  background: var(--sastra-navy);
  color: #FFFFFF;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy:hover {
  background: var(--sastra-royal);
  transform: translateY(-1px);
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  background: var(--sastra-navy);
  color: #FFFFFF;
  border: 1px solid var(--sastra-gold);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all var(--transition-fast);
}

.toast-notification.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--sastra-navy-dark);
  color: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  padding: 72px 0 32px;
}

.footer-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)) minmax(0, 1.1fr);
  gap: 36px;
  margin-bottom: 48px;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--sastra-gold);
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 0.88rem;
  color: #CBD5E1;
  line-height: 1.7;
}

.footer-col-nav h5, .footer-col-connect h5 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-nav h5::after, .footer-col-connect h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--sastra-gold);
}

.footer-nav-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-nav-list a {
  color: #94A3B8;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-nav-list a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.foot-connect-p {
  font-size: 0.88rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-contact-link {
  font-family: var(--font-mono);
  font-size: 0.88rem;
  color: var(--sastra-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: #94A3B8;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sastra-gold);
}

.back-to-top svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------------------
   20. Section-Wise Scroll Reveal Animations & Keyframes
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeRight {
  from {
    opacity: 0;
    transform: translateX(-32px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Base Initial States for Reveal Elements */
[data-reveal],
.fade-up,
.fade-left,
.fade-right,
.fade-in {
  opacity: 0;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  will-change: opacity, transform;
}

[data-reveal="fade-up"],
.fade-up {
  transform: translateY(32px);
}

[data-reveal="fade-left"],
.fade-left {
  transform: translateX(32px);
}

[data-reveal="fade-right"],
.fade-right {
  transform: translateX(-32px);
}

[data-reveal="fade-in"],
.fade-in {
  transform: none;
}

/* Revealed State (triggered via JS IntersectionObserver or active class) */
[data-reveal].revealed,
.fade-up.revealed,
.fade-left.revealed,
.fade-right.revealed,
.fade-in.revealed {
  opacity: 1;
  transform: translate(0, 0);
}

[data-reveal="fade-up"].revealed,
.fade-up.revealed {
  animation: fadeUp var(--transition-slow) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-reveal="fade-left"].revealed,
.fade-left.revealed {
  animation: fadeLeft var(--transition-slow) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-reveal="fade-right"].revealed,
.fade-right.revealed {
  animation: fadeRight var(--transition-slow) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-reveal="fade-in"].revealed,
.fade-in.revealed {
  animation: fadeIn var(--transition-slow) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Hero Section immediate entrance animations on load */
.hero-text-block[data-reveal="fade-up"],
.hero-text-block.fade-up {
  opacity: 1;
  transform: translateY(0);
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-infographic-wrap[data-reveal="fade-left"],
.hero-infographic-wrap.fade-left {
  opacity: 1;
  transform: translateX(0);
  animation: fadeLeft 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

/* Modern CSS Scroll-driven animations (Progressive Enhancement) */
@supports ((animation-timeline: view()) and (animation-range: entry)) {
  @media (prefers-reduced-motion: no-preference) {
    [data-reveal="fade-up"]:not(.hero-text-block),
    .fade-up:not(.hero-text-block) {
      animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
      animation-timeline: view();
      animation-range: entry 5% cover 30%;
    }

    [data-reveal="fade-left"]:not(.hero-infographic-wrap),
    .fade-left:not(.hero-infographic-wrap) {
      animation: fadeLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
      animation-timeline: view();
      animation-range: entry 5% cover 30%;
    }

    [data-reveal="fade-right"],
    .fade-right {
      animation: fadeRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
      animation-timeline: view();
      animation-range: entry 5% cover 30%;
    }

    .stat-card,
    .app-card,
    .h-card {
      animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
      animation-timeline: view();
      animation-range: entry 5% cover 25%;
    }
  }
}

/* --------------------------------------------------------------------------
   21. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .thrust-nav-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .manuals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero-container,
  .about-grid,
  .featured-grid,
  .facilities-grid,
  .area-body,
  .contact-cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stats-ribbon,
  .highlight-cards-grid,
  .apps-grid,
  .team-grid,
  .intern-roster-grid,
  .outreach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-menu {
    position: fixed;
    top: 62px;
    left: 0;
    bottom: 0;
    width: min(320px, 85vw);
    height: calc(100vh - 62px);
    height: calc(100dvh - 62px);
    background: var(--bg-surface);
    border-right: 1px solid var(--border-medium);
    box-shadow: 12px 0 36px rgba(0, 0, 0, 0.4);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 18px;
    gap: 8px;
    display: flex;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform var(--transition-normal), visibility var(--transition-normal);
    z-index: 1000;
  }

  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    border-left: 3px solid transparent;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(129, 140, 248, 0.1);
    border-left-color: var(--sastra-gold);
    color: var(--sastra-gold);
  }

  .nav-btn-contact {
    margin-left: 0;
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .stats-ribbon,
  .thrust-nav-grid,
  .highlight-cards-grid,
  .apps-grid,
  .team-grid,
  .intern-roster-grid,
  .outreach-grid,
  .manuals-grid,
  .footer-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-section { padding: 48px 0 80px; }
  .section-wrapper { padding: 64px 0; }
  .pipeline-flow-diagram { flex-direction: column; }
  .pipeline-connector { transform: rotate(90deg); margin: 8px 0; }
  .lead-person-box { flex-direction: column; text-align: center; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal],
  .fade-up,
  .fade-left,
  .fade-right,
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}


/* --------------------------------------------------------------------------
   22. Sub-Page Hero Banner & Breadcrumbs
   -------------------------------------------------------------------------- */
.subpage-hero {
  position: relative;
  padding: 64px 0 48px;
  background: var(--sastra-blue);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.subpage-hero .container {
  position: relative;
  z-index: 1;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.breadcrumb-nav a {
  color: var(--text-inverse);
}

.breadcrumb-nav a:hover {
  color: var(--sastra-gold);
}

.breadcrumb-sep {
  color: var(--bg-alt);
}

.subpage-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-inverse);
  line-height: 1.2;
  margin-bottom: 12px;
}

.subpage-desc {
  font-size: 1.08rem;
  color: var(--text-dim);
  max-width: 68ch;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   23. Contact Form & Campus Logistics
   -------------------------------------------------------------------------- */
.contact-layout-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: flex-start;
}

.form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

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

.form-control {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-main);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--sastra-gold);
  box-shadow: 0 0 0 3px rgba(226, 180, 76, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

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

.logistics-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.logistics-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

.transit-routes {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.transit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.transit-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--sastra-navy);
  color: var(--sastra-gold);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.transit-text h5 {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.transit-text p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 900px) {
  .contact-layout-split {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

