/* ==========================================================================
   SAIR College of Nursing & Allied Health Sciences - Main Stylesheet
   Modern, Medical Academic Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Variables)
   -------------------------------------------------------------------------- */
:root {
  /* Brand Primary Colors - Deep Red / Crimson Healthcare Palette */
  --primary: #9e1b24;
  --primary-hover: #82121b;
  --primary-dark: #630c13;
  --primary-light: #b82631;
  --primary-subtle: #fff1f2;
  --primary-border: #fecdd3;
  --primary-glow: rgba(158, 27, 36, 0.25);
  --primary-gradient: linear-gradient(135deg, #9e1b24 0%, #c52431 50%, #80121a 100%);
  --hero-gradient: linear-gradient(135deg, rgba(30, 10, 12, 0.88) 0%, rgba(110, 16, 23, 0.85) 60%, rgba(15, 23, 42, 0.92) 100%);
  
  /* Brand Accents */
  --accent-blue: #0284c7;
  --accent-blue-light: #e0f2fe;
  --accent-gold: #d97706;
  --accent-gold-light: #fef3c7;
  
  /* Neutral / Surface Colors */
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --surface-muted: #f1f5f9;
  --surface-card: #ffffff;
  --surface-dark: #0f172a;
  --surface-dark-alt: #1e293b;
  
  /* Text Colors */
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-inverse: #ffffff;
  --text-inverse-muted: #cbd5e1;
  
  /* Borders & Dividers */
  --border-light: #f1f5f9;
  --border-color: #e2e8f0;
  --border-strong: #cbd5e1;
  
  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 2px 4px -1px rgba(0, 0, 0, 0.06), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.1), 0 4px 10px -3px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 32px -6px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
  --shadow-crimson: 0 10px 25px -5px rgba(158, 27, 36, 0.35);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  
  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Layout Dimensions */
  --container-max: 1240px;
  --header-height: 84px;
  --header-height-scrolled: 70px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--surface);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--surface-muted);
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
  border: 2px solid var(--surface-muted);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* Accessibility Focus Outline */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Typography Utilities
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 4vw + 1rem, 3.5rem); }
h2 { font-size: clamp(1.85rem, 3vw + 0.5rem, 2.65rem); }
h3 { font-size: clamp(1.35rem, 2vw + 0.2rem, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-muted);
  line-height: 1.7;
}

.text-primary { color: var(--primary); }
.text-white { color: var(--text-inverse); }
.text-center { text-align: center; }

/* --------------------------------------------------------------------------
   Layout Containers & Grid
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: 900px;
}

.section {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  position: relative;
}

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

.section-dark {
  background-color: var(--surface-dark);
  color: var(--text-inverse);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: var(--primary-subtle);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.section-badge.badge-white {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Buttons & Links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: all var(--transition-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px 0 rgba(158, 27, 36, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b82631 0%, #db2736 50%, #9e1b24 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px 0 rgba(158, 27, 36, 0.45);
  color: var(--text-inverse);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--surface-muted);
  border-color: var(--border-strong);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: var(--surface-alt);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

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

.btn-outline-primary {
  background-color: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

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

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Placeholder Tag Style
   -------------------------------------------------------------------------- */
.placeholder-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.5rem;
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px dashed #f87171;
  border-radius: var(--radius-sm);
  font-family: monospace;
  font-size: 0.825rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Navigation Bar (Sticky & Compact on Scroll)
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header.scrolled {
  height: var(--header-height-scrolled);
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(226, 232, 240, 0.9);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-wrap {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition-fast);
}

.header.scrolled .brand-logo-wrap {
  width: 44px;
  height: 44px;
}

.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--primary-dark);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-tagline {
  font-size: 0.725rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

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

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

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

.mobile-nav-apply {
  display: none;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: var(--surface-muted);
  border: 1px solid var(--border-color);
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: clamp(520px, 42.8125vw, 820px);
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 3.5rem;
  display: flex;
  align-items: center;
  color: #ffffff;
  overflow: hidden;
  background-color: #110305;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/backgroundOfficial.jpeg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: none;
}

.hero:hover .hero-bg {
  transform: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(17, 3, 5, 0.84) 0%, rgba(17, 3, 5, 0.58) 45%, rgba(17, 3, 5, 0.20) 75%, rgba(17, 3, 5, 0.35) 100%),
              linear-gradient(180deg, rgba(17, 3, 5, 0.35) 0%, transparent 40%, rgba(17, 3, 5, 0.45) 100%);
  pointer-events: none;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  backdrop-filter: blur(8px);
  margin-bottom: 1.5rem;
  animation: fadeInDown 0.8s ease-out;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.hero-title {
  color: #ffffff;
  font-size: clamp(2.4rem, 4.5vw + 1rem, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  color: #fecdd3;
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.75;
  color: #f1f5f9;
  margin-bottom: 2.5rem;
  max-width: 720px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.hero-pillars {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  flex-wrap: wrap;
}

.hero-pillar-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.925rem;
  font-weight: 600;
  color: #ffffff;
}

.hero-pillar-item svg {
  color: #fca5a5;
  flex-shrink: 0;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.hero-scroll-indicator:hover {
  color: #ffffff;
}

.scroll-mouse {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 2px;
  animation: scrollWheel 1.6s infinite;
}

@keyframes scrollWheel {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Trust & Affiliation Strip
   -------------------------------------------------------------------------- */
.trust-strip {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 1.75rem 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.05);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  transition: background-color var(--transition-fast);
}

.trust-item:hover {
  background-color: var(--surface-alt);
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--primary-border);
}

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

.trust-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.trust-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.about-intro-text {
  font-size: 1.125rem;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-history-box {
  background-color: var(--surface-alt);
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 2rem;
}

.about-history-box h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
  color: var(--primary-dark);
}

.cards-trio {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.value-card {
  background-color: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

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

.value-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.value-card-content p {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Programs Section
   -------------------------------------------------------------------------- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

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

.program-card.featured {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
}

.program-card.featured::before {
  opacity: 1;
}

.program-card-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.badge-featured {
  background-color: var(--primary-subtle);
  color: var(--primary);
  border: 1px solid var(--primary-border);
}

.badge-diploma {
  background-color: var(--accent-blue-light);
  color: var(--accent-blue);
  border: 1px solid #bae6fd;
}

.badge-upcoming {
  background-color: var(--accent-gold-light);
  color: var(--accent-gold);
  border: 1px solid #fde68a;
}

.program-card-title {
  font-size: 1.45rem;
  margin-bottom: 0.75rem;
}

.program-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

.program-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.75rem;
}

.program-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.detail-label {
  color: var(--text-muted);
  font-weight: 500;
}

.detail-val {
  font-weight: 700;
  color: var(--text-main);
  text-align: right;
}

.status-pill {
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  background-color: #dcfce7;
  color: #15803d;
}

.status-pill.status-open {
  background-color: #dcfce7;
  color: #15803d;
}

.status-pill.status-coming {
  background-color: #fef3c7;
  color: #b45309;
}

.program-card-footer {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   Why Choose SAIR Section
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.why-card {
  background-color: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: all var(--transition-normal);
  position: relative;
}

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

.why-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.why-card:hover .why-icon-wrap {
  background: var(--primary-gradient);
  color: #ffffff;
  transform: scale(1.05);
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

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

/* --------------------------------------------------------------------------
   Director's Message Section
   -------------------------------------------------------------------------- */
.director-section {
  background-color: var(--surface);
  position: relative;
  overflow: hidden;
}

.director-card {
  background: linear-gradient(135deg, #ffffff 0%, #fffbfb 100%);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
}

.director-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.director-frame {
  width: 100%;
  max-width: 290px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 4px solid #ffffff;
  box-shadow: 0 12px 30px -5px rgba(158, 27, 36, 0.2);
  background-color: var(--surface-muted);
  position: relative;
}

.director-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform var(--transition-slow);
}

.director-media:hover .director-img {
  transform: scale(1.04);
}

.director-quote-badge {
  position: absolute;
  bottom: -15px;
  right: 15px;
  width: 48px;
  height: 48px;
  background: var(--primary-gradient);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(158, 27, 36, 0.4);
}

.director-content {
  display: flex;
  flex-direction: column;
}

.director-tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.director-heading {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.director-text {
  font-size: 1.025rem;
  color: var(--text-main);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.director-signature {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.director-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.director-title {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 600;
}

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

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

.facility-card {
  background-color: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.facility-graphic {
  height: 140px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--primary);
  border-bottom: 1px solid var(--border-light);
  position: relative;
}

.facility-graphic::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(158, 27, 36, 0.05) 0%, transparent 70%);
}

.facility-graphic-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--text-muted);
}

.facility-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.facility-title {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.facility-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Admissions Section
   -------------------------------------------------------------------------- */
.admissions-container {
  background-color: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-md);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
  position: relative;
}

.step-card {
  background-color: var(--surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: all var(--transition-normal);
}

.step-card:hover {
  background-color: #ffffff;
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.step-number-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.step-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

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

/* Admissions Info Accordion / Cards */
.admissions-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.adm-info-card {
  background-color: var(--surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.adm-info-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.adm-info-content {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.5;
}

.admissions-cta-center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   Campus Experience ("Learn. Practice. Grow.")
   -------------------------------------------------------------------------- */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.exp-card {
  background-color: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

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

.exp-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

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

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

/* --------------------------------------------------------------------------
   Stats Section
   -------------------------------------------------------------------------- */
.stats-section {
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card {
  padding: 1.5rem;
  position: relative;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fecdd3;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-placeholder-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0.4rem;
  font-family: monospace;
}

/* --------------------------------------------------------------------------
   Call To Action (CTA) Section
   -------------------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, #1e0a0d 0%, #7f121a 60%, #9e1b24 100%);
  color: #ffffff;
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
}

.cta-content {
  max-width: 780px;
  margin: 0 auto;
}

.cta-title {
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 1.25rem;
}

.cta-desc {
  color: #fecdd3;
  font-size: 1.15rem;
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

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

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item-card {
  background-color: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.contact-item-card:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

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

.contact-item-details h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-main);
}

.contact-item-details p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.map-placeholder-box {
  margin-top: 1.5rem;
  background-color: var(--surface-alt);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 180px;
}

.map-placeholder-box svg {
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   WhatsApp Direct Contact & Admissions Desk
   -------------------------------------------------------------------------- */
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  box-shadow: 0 4px 16px 0 rgba(37, 211, 102, 0.35);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #1ebd5a 0%, #0d7367 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px 0 rgba(37, 211, 102, 0.45);
}

.btn-whatsapp:active {
  transform: translateY(0);
}

.whatsapp-desk-container {
  background-color: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  position: relative;
  overflow: hidden;
}

.whatsapp-desk-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #25D366 0%, #128C7E 100%);
}

.whatsapp-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.whatsapp-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(37, 211, 102, 0.12);
  color: #128C7E;
  border: 1px solid rgba(37, 211, 102, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pulse-dot-green {
  width: 8px;
  height: 8px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-official-tag {
  font-size: 0.775rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.whatsapp-desk-title {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
  color: var(--text-main);
  font-family: var(--font-heading);
}

.whatsapp-desk-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.25rem;
}

/* WhatsApp Number Highlight Card */
.whatsapp-number-card {
  background: var(--surface-alt);
  border: 1.5px solid rgba(37, 211, 102, 0.28);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: all var(--transition-fast);
}

.whatsapp-number-card:hover {
  border-color: rgba(37, 211, 102, 0.6);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.15);
}

.whatsapp-num-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.whatsapp-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-num-details {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.whatsapp-num-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--text-muted);
}

.whatsapp-number-display {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.btn-copy-num {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-main);
  background-color: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  font-family: inherit;
}

.btn-copy-num:hover {
  background-color: #25D366;
  color: #ffffff;
  border-color: #25D366;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-copy-num.copied {
  background-color: #128C7E;
  color: #ffffff;
  border-color: #128C7E;
}

/* Quick Inquiry Topics */
.whatsapp-quick-topics {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quick-topics-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
}

.quick-topics-title svg {
  color: #128C7E;
}

.quick-chips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.quick-topic-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 0.85rem;
  background-color: var(--surface-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.quick-topic-chip:hover {
  background-color: rgba(37, 211, 102, 0.08);
  border-color: rgba(37, 211, 102, 0.4);
  color: #128C7E;
  transform: translateY(-1px);
}

.quick-topic-chip:active {
  transform: translateY(0);
}

.chip-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.chip-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* WhatsApp Perks List */
.whatsapp-perks-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-color);
}

.whatsapp-perk-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.whatsapp-perk-item svg {
  flex-shrink: 0;
}

/* Floating WhatsApp Quick Action Button */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 890;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.whatsapp-floating-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-floating-btn .floating-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background-color: #0f172a;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-md);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.whatsapp-floating-btn:hover .floating-tooltip {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: #0d1117;
  color: #e2e8f0;
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 4px solid var(--primary);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.footer-tagline {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background-color: #1e293b;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #334155;
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  font-size: 0.925rem;
  color: #94a3b8;
  transition: all var(--transition-fast);
}

.footer-link:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-contact-item svg {
  color: var(--primary-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

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

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

.footer-affiliation-note {
  color: #cbd5e1;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Multi-Step Online Admission Form Styles
   -------------------------------------------------------------------------- */
.step-wizard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.step-wizard-header::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 2px;
  background-color: var(--border-color);
  z-index: 1;
}

.wizard-step-node {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--surface);
  padding: 0 0.5rem;
}

.wizard-node-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--surface-muted);
  border: 2px solid var(--border-strong);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.wizard-step-node.active .wizard-node-circle {
  background-color: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 0 0 4px var(--primary-glow);
}

.wizard-step-node.completed .wizard-node-circle {
  background-color: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

.wizard-node-label {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.wizard-step-node.active .wizard-node-label {
  color: var(--primary-dark);
  font-weight: 700;
}

.form-step-pane {
  display: none;
  animation: fadeInDown 0.3s ease-out;
}

.form-step-pane.active {
  display: block;
}

.file-upload-card {
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  background-color: var(--surface-alt);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: 1rem;
}

.file-upload-card:hover {
  border-color: var(--primary);
  background-color: #fff9f9;
}

.file-upload-card input[type="file"] {
  display: none;
}

.file-upload-icon {
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.file-upload-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.file-upload-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.file-selected-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  padding: 0.25rem 0.6rem;
  background-color: #dcfce7;
  color: #166534;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

/* Submission Receipt Card */
.receipt-card {
  background-color: var(--surface);
  border: 2px solid #22c55e;
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
}

.receipt-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.receipt-app-id {
  font-family: monospace;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary);
  background-color: var(--primary-subtle);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-md);
  display: inline-block;
  margin: 0.75rem 0 1.25rem;
  border: 1px dashed var(--primary-border);
}

.receipt-meta-table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.receipt-meta-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border-light);
}

.receipt-meta-table td:first-child {
  color: var(--text-muted);
  font-weight: 600;
  width: 40%;
}

/* Application Tracking Widget */
.tracking-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-left: 1.5rem;
  position: relative;
  border-left: 2px solid var(--border-color);
  margin-top: 1.5rem;
}

.tracking-node {
  position: relative;
}

.tracking-node::before {
  content: '';
  position: absolute;
  left: -1.9rem;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--primary);
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px var(--primary);
}

@media print {
  body * {
    visibility: hidden;
  }
  .modal-overlay.active, .modal-overlay.active .modal-container, .receipt-card, .receipt-card * {
    visibility: visible;
  }
  .modal-overlay.active {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: none;
  }
}

/* --------------------------------------------------------------------------
   Modals & Popups
   -------------------------------------------------------------------------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-container {
  background-color: var(--surface);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95) translateY(20px);
  transition: all var(--transition-normal);
  position: relative;
  border: 1px solid var(--border-color);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-header {
  padding: 1.75rem 2rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.35rem;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--surface-muted);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background-color: #fee2e2;
  color: #b91c1c;
}

.modal-body {
  padding: 2rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background-color: #0f172a;
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.925rem;
  animation: slideInUp 0.3s ease-out;
  border-left: 4px solid var(--primary);
  max-width: 380px;
}

.toast.toast-success {
  border-left-color: #22c55e;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-crimson);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all var(--transition-normal);
}

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

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px 0 rgba(158, 27, 36, 0.5);
}

/* --------------------------------------------------------------------------
   Animations & Keyframes
   -------------------------------------------------------------------------- */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .director-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 2.5rem 2rem;
  }
  
  .director-signature {
    align-items: center;
  }
  
  .facilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .experience-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 74px;
    --header-height-scrolled: 64px;
  }
  
  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    z-index: 999;
  }
  
  .header.scrolled .nav-menu {
    top: var(--header-height-scrolled);
  }
  
  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-actions .btn-primary {
    display: none;
  }
  
  .nav-menu .mobile-nav-apply {
    display: block;
    width: 100%;
    margin-top: 1rem;
  }
  
  .programs-grid {
    grid-template-columns: 1fr;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
  }
  
  .facilities-grid {
    grid-template-columns: 1fr;
  }
  
  .admissions-container {
    padding: 2rem 1.5rem;
  }
  
  .admissions-meta-grid {
    grid-template-columns: 1fr;
  }
  
  .quick-chips-grid {
    grid-template-columns: 1fr;
  }
  
  .whatsapp-number-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  
  .btn-copy-num {
    width: 100%;
    justify-content: center;
  }
  
  .whatsapp-floating-btn {
    bottom: 4.8rem;
    right: 1.25rem;
    width: 48px;
    height: 48px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-pillars {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
}
