/* ==========================================================================
   RITHS® - RajitLal Institute of Technology & Health Sciences
   Official Design System & Stylesheet - Navy Blue Theme
   ========================================================================== */

:root {
  /* Royal Imperial Purple/Navy Palette Anchored on #1b0245 */
  --navy-950: #0f0126;       /* Deepest midnight abyss */
  --navy-900: #1b0245;       /* Primary page background (#1b0245) */
  --navy-850: #230557;       /* Secondary section background */
  --navy-800: #2b086a;       /* Cards & surface containers */
  --navy-750: #350b80;       /* Elevated cards & active states */
  --navy-700: #42109b;       /* Hover states & borders */
  --navy-600: #1d4ed8;       /* Royal accent blue */
  --navy-500: #2563eb;       /* Primary button & brand blue */
  --navy-400: #60a5fa;       /* Link & highlight blue */
  --navy-300: #93c5fd;       /* Soft blue accents */

  /* Legacy & Semantic Primary Aliases for High Contrast */
  --primary-900: #ffffff;
  --primary-800: #ffffff;
  --primary-700: #93c5fd;
  --primary-600: #60a5fa;
  --primary-500: #3b82f6;
  --primary-400: #60a5fa;
  --primary-100: rgba(37, 99, 235, 0.25);
  --primary-50:  rgba(37, 99, 235, 0.15);

  /* Gold / Amber Accents */
  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --accent-gold-light: rgba(245, 158, 11, 0.15);
  --accent-gold-border: rgba(245, 158, 11, 0.35);

  /* Emerald Trust Accents */
  --emerald-600: #059669;
  --emerald-500: #10b981;
  --emerald-50:  rgba(16, 185, 129, 0.15);

  /* Functional Theme Mapping */
  --bg-page: #1b0245;                 /* All pages background */
  --bg-surface: #2b086a;              /* Card & container surfaces */
  --bg-surface-alt: #230557;          /* Alternating sections */
  --bg-input: #130133;                /* Form inputs */
  --border-color: rgba(255, 255, 255, 0.12);
  --border-light: rgba(255, 255, 255, 0.07);
  --border-focus: rgba(96, 165, 250, 0.5);

  /* Typography */
  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-light: #94a3b8;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows tuned for Dark Navy */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 24px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 35px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.35);
  --shadow-gold: 0 8px 24px rgba(245, 158, 11, 0.35);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  background-color: var(--bg-page);
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

ul {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-wide {
  max-width: 1380px;
}

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

/* Section Spacing */
.section {
  padding: 80px 0;
  position: relative;
  background-color: var(--bg-page);
}

.section-sm {
  padding: 48px 0;
}

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

.section-bg-dark {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-850) 100%);
  color: #ffffff;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.18);
  color: var(--navy-400);
  margin-bottom: 14px;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.section-title span {
  color: var(--accent-gold);
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.975rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy-500);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.btn-primary:hover {
  background: var(--navy-600);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.55);
}

.btn-accent {
  background: var(--accent-gold);
  color: #030a16;
  font-weight: 700;
  box-shadow: var(--shadow-gold);
}

.btn-accent:hover {
  background: var(--accent-gold-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.5);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

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

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

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

.btn-sm {
  padding: 8px 16px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn-emerald {
  background: var(--emerald-600);
  color: #ffffff;
}

.btn-emerald:hover {
  background: var(--emerald-500);
  transform: translateY(-2px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Top Info Bar */
.topbar {
  background: var(--navy-950);
  color: #94a3b8;
  font-size: 0.825rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

.topbar-item a:hover {
  color: var(--accent-gold);
}

.topbar-badge {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-gold);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* Main Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(27, 2, 69, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-lg);
  background: rgba(20, 1, 52, 0.98);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 108px;
  padding: 6px 0;
}

/* Brand Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 96px;
  width: auto;
  max-width: 360px;
  object-fit: contain;
  transition: var(--transition);
  display: block;
}

.brand:hover .brand-logo-img {
  transform: scale(1.02);
}

.brand-divider {
  width: 1px;
  height: 60px;
  background: rgba(255, 255, 255, 0.25);
  margin: 0 4px;
}

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

.brand-subtitle {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #93c5fd;
  line-height: 1.25;
}

/* Nav Menu & Main Navigation */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.925rem;
  font-weight: 600;
  color: #e2e8f0;
  padding: 10px 4px;
  position: relative;
  text-decoration: none;
  transition: color 0.25s ease;
  cursor: pointer;
}

.nav-link:hover, 
.nav-link.active,
.nav-item:hover > .nav-link {
  color: var(--accent-gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.dropdown-chevron {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #93c5fd;
  flex-shrink: 0;
}

.nav-has-dropdown:hover .dropdown-chevron,
.nav-has-dropdown.open-mobile .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--accent-gold);
}

/* ==========================================================================
   Main Menu Slider Submenu (Desktop)
   ========================================================================== */

.dropdown-menu-slider {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 210px;
  background: rgba(27, 2, 69, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(37, 99, 235, 0.25);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.97);
  transform-origin: top left;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s;
  z-index: 100;
  backdrop-filter: blur(16px);
  pointer-events: none;
}

/* Smooth Slide Down on Hover & Focus */
.nav-has-dropdown:hover .dropdown-menu-slider,
.nav-has-dropdown:focus-within .dropdown-menu-slider {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

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

.dropdown-list li {
  list-style: none;
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.22s ease;
  border-left: 3px solid transparent;
}

.dropdown-link:hover,
.dropdown-link.active {
  background: rgba(37, 99, 235, 0.22);
  color: #ffffff;
  border-left-color: var(--accent-gold);
  padding-left: 24px;
}

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

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #ffffff;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  background: radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.22) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(245, 158, 11, 0.12) 0%, transparent 50%),
              linear-gradient(180deg, #280462 0%, #1b0245 100%);
  padding: 75px 0 95px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-content {
  max-width: 650px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 22px;
}

.hero-badge-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-500);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-headline {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-headline .highlight {
  color: var(--navy-400);
  position: relative;
  display: inline-block;
}

.hero-headline .highlight-accent {
  color: var(--accent-gold);
}

.hero-sub-highlight {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fbbf24;
  margin: 8px 0 10px;
  letter-spacing: normal;
}

.hero-benefit-tag {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-top: 10px;
}

.hero-mobile-highlight {
  display: none;
}

.hero-subhead {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin-bottom: 32px;
}

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

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

.trust-stat-num {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.trust-stat-num span {
  color: var(--accent-gold);
}

.trust-stat-label {
  font-size: 0.785rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
}

/* Hero Visual / Card */
.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  position: relative;
  z-index: 2;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-pathway-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--accent-gold-light);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold-border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.hero-pathway-steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 22px;
}

.path-step-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.path-step-card:hover {
  transform: translateX(4px);
  border-color: var(--navy-400);
}

.path-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy-500);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.path-step-text h4 {
  font-size: 0.925rem;
  margin-bottom: 2px;
  color: #ffffff;
}

.path-step-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-card-footer {
  background: var(--bg-surface-alt);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-light);
}

.hero-card-footer span {
  font-size: 0.85rem;
  font-weight: 700;
  color: #93c5fd;
}

/* Floating Badges */
.floating-award-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--navy-950);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 3;
}

.floating-award-badge .badge-icon {
  font-size: 1.5rem;
}

.floating-award-badge strong {
  display: block;
  font-size: 0.85rem;
}

.floating-award-badge small {
  font-size: 0.72rem;
  color: var(--accent-gold);
}

/* Partner Ticker / Logos */
/* Partner Ribbon & Infinite Scrolling Marquee */
.partner-ribbon {
  background: var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px 0 36px;
  overflow: hidden;
  position: relative;
}

.partner-ribbon-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
  margin-bottom: 24px;
}

.partner-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.partner-marquee-track {
  display: flex;
  align-items: center;
  gap: 32px;
  width: max-content;
  animation: partnerMarqueeScroll 30s linear infinite;
  will-change: transform;
}

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

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

.partner-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 32px;
}

.partner-logo-item {
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 10px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
  user-select: none;
}

.partner-logo-item.partner-logo-dark {
  background: #000000;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.partner-logo-item:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.28);
}

.partner-logo-item img {
  height: 56px;
  max-height: 58px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .partner-logo-item {
    height: 64px;
    padding: 8px 18px;
    border-radius: 10px;
  }
  .partner-logo-item img {
    height: 46px;
    max-height: 48px;
    max-width: 220px;
  }
  .partner-marquee-track {
    gap: 20px;
    animation-duration: 22s;
  }
}

.partner-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--navy-800);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* ==========================================================================
   2+1 Pathway Visualizer Section
   ========================================================================== */

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  margin-bottom: 40px;
}

.pathway-step-box {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition);
}

.pathway-step-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--navy-400);
}

.pathway-step-box.featured {
  border: 2px solid var(--accent-gold);
}

.path-box-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--navy-500);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.pathway-step-box.featured .path-box-badge {
  background: var(--accent-gold);
  color: #030a16;
}

.path-box-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.2);
  color: var(--navy-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.path-box-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.path-box-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.path-feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.path-feature-list li svg {
  color: var(--emerald-500);
  flex-shrink: 0;
}

.pathway-cta-banner {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pathway-cta-banner h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.pathway-cta-banner p {
  color: #cbd5e1;
  font-size: 0.95rem;
}

/* ==========================================================================
   Interactive Course Catalog / Filter
   ========================================================================== */

.course-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.course-tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-800);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-btn svg {
  flex-shrink: 0;
  opacity: 0.8;
  transition: opacity 0.2s, transform 0.2s;
}

.tab-btn:hover {
  background: var(--navy-750);
  color: #ffffff;
  border-color: rgba(96, 165, 250, 0.4);
  transform: translateY(-2px);
}

.tab-btn:hover svg {
  opacity: 1;
  transform: scale(1.1);
}

.tab-btn.active {
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

.tab-btn.active svg {
  opacity: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.course-search-box {
  position: relative;
  min-width: 260px;
}

.course-search-box input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--navy-950);
  color: #ffffff;
  outline: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.course-search-box input:focus {
  border-color: var(--navy-400);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.course-search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

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

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--navy-400);
}

/* Course Card Image Box */
.course-card-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #0b021a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.course-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
  will-change: transform;
}

.course-card:hover .course-card-img {
  transform: scale(1.08);
  filter: brightness(1.06);
}

.course-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 2, 36, 0.25) 0%, rgba(15, 2, 36, 0.05) 40%, rgba(21, 2, 56, 0.85) 100%);
  pointer-events: none;
}

.course-card-badges-bar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  z-index: 2;
  pointer-events: none;
}

.course-badge-category {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.92);
  color: #ffffff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.course-badge-category.cat-diploma {
  background: rgba(217, 119, 6, 0.92);
  border-color: rgba(251, 191, 36, 0.5);
  color: #ffffff;
}

.course-badge-category.cat-bachelor {
  background: rgba(37, 99, 235, 0.92);
  border-color: rgba(147, 197, 253, 0.5);
  color: #ffffff;
}

.course-badge-category.cat-master {
  background: rgba(124, 58, 237, 0.92);
  border-color: rgba(196, 181, 253, 0.5);
  color: #ffffff;
}

.course-badge-mode {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.85);
  color: #f1f5f9;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.course-badge-mode svg {
  flex-shrink: 0;
  color: #38bdf8;
}

/* Modal Course Banner */
.modal-course-banner {
  margin: -36px -36px 20px -36px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
  height: 200px;
  position: relative;
  background: #0b021a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.modal-course-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.modal-course-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 2, 36, 0.15) 0%, rgba(21, 2, 56, 0.85) 100%);
  pointer-events: none;
}

.course-card-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.course-tags-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.course-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(96, 165, 250, 0.25);
}

.course-credits-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--emerald-500);
  background: rgba(16, 185, 129, 0.15);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.course-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #ffffff;
}

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

.course-card-body {
  padding: 20px 24px;
  flex: 1;
}

.course-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.course-meta-item {
  display: flex;
  flex-direction: column;
}

.course-meta-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 600;
}

.course-meta-val {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
}

.course-desc-brief {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.course-card-footer {
  padding: 16px 24px;
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course-fee-tag {
  display: flex;
  flex-direction: column;
}

.course-fee-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #94a3b8;
}

.course-fee-num {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent-gold);
}

/* ==========================================================================
   Multi-Currency Tuition Fee Calculator
   ========================================================================== */

.tuition-calc-box {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  padding: 44px;
  margin-top: 20px;
}

.calc-currency-switch {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 36px;
}

.currency-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--navy-850);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.currency-btn.active {
  background: var(--navy-500);
  color: #ffffff;
  border-color: var(--navy-500);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.tuition-comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.tuition-tier-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 28px 24px;
  background: var(--navy-850);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.tuition-tier-card.featured {
  border: 2px solid var(--navy-500);
  background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.25) 0%, var(--navy-800) 80%);
  position: relative;
  box-shadow: var(--shadow-lg);
}

.tuition-tier-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #ffffff;
}

.tuition-tier-duration {
  font-size: 0.8rem;
  color: #fbbf24;
  font-weight: 600;
  margin-bottom: 18px;
}

.tuition-price-wrap {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tuition-price {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.tuition-price small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.tuition-installment-note {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--emerald-500);
  font-weight: 600;
  margin-top: 6px;
}

.tuition-savings-callout {
  background: rgba(5, 150, 105, 0.15);
  border: 1px dashed var(--emerald-500);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.tuition-savings-callout strong {
  color: #a7f3d0;
  font-size: 1.05rem;
}

.tuition-savings-callout p {
  font-size: 0.85rem;
  color: #6ee7b7;
}

/* ==========================================================================
   Interactive Eligibility Checker
   ========================================================================== */

.checker-card {
  background: linear-gradient(135deg, var(--navy-950) 0%, var(--navy-800) 100%);
  border-radius: var(--radius-xl);
  padding: 44px;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.checker-step {
  display: none;
}

.checker-step.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

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

.checker-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0 32px;
}

.checker-option-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.checker-option-btn:hover, .checker-option-btn.selected {
  background: rgba(37, 99, 235, 0.25);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.checker-option-btn strong {
  font-size: 1.05rem;
  color: #ffffff;
}

.checker-option-btn span {
  font-size: 0.825rem;
  color: #cbd5e1;
}

.checker-result-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 24px;
}

/* ==========================================================================
   Campuses & Global Presence
   ========================================================================== */

.campus-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
}

.campus-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--navy-850);
  color: var(--text-muted);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.campus-tab-btn.active {
  background: var(--navy-500);
  color: #ffffff;
  border-color: var(--navy-500);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.campus-display-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.campus-info h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.campus-meta-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0 28px;
}

.campus-meta-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.campus-meta-item svg {
  color: var(--navy-400);
  margin-top: 3px;
  flex-shrink: 0;
}

.campus-highlights {
  background: var(--navy-900);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
}

.campus-highlights h4 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #ffffff;
}

/* ==========================================================================
   Alumni Testimonials
   ========================================================================== */

/* Testimonials Carousel / Slider */
.testimonials-slider-container {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  overflow: hidden;
  padding: 10px 4px 20px;
}

.testimonials-slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
  width: 100%;
}

.testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
  opacity: 0.35;
  transform: scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.testimonial-slide.active {
  opacity: 1;
  transform: scale(1);
}

.testimonial-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 38px 36px;
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover {
  border-color: var(--navy-400);
  box-shadow: 0 16px 45px rgba(37, 99, 235, 0.2);
}

.testimonial-stars {
  color: var(--accent-gold);
  font-size: 1.15rem;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.testimonial-quote {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #f1f5f9;
  margin-bottom: 26px;
  font-style: italic;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.35);
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: #ffffff;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--navy-300);
  font-weight: 600;
  margin-bottom: 2px;
}

.author-info span {
  font-size: 0.78rem;
  color: #94a3b8;
  display: block;
}

.testimonial-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(14, 118, 168, 0.2);
  border: 1px solid rgba(14, 118, 168, 0.45);
  color: #38bdf8;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.testimonial-contact-btn:hover {
  background: #0077b5;
  color: #ffffff;
  border-color: #0077b5;
  box-shadow: 0 0 10px rgba(14, 118, 168, 0.5);
  transform: translateY(-1px);
}

.testimonial-contact-btn.facebook-btn:hover {
  background: #1877f2;
  border-color: #1877f2;
  box-shadow: 0 0 10px rgba(24, 119, 242, 0.5);
}

/* Testimonials Controls (Arrows & Dots) */
.testimonials-nav-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.testimonial-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-850);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-nav-btn:hover,
.testimonial-nav-btn:focus-visible {
  background: var(--navy-500);
  border-color: var(--accent-gold);
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.5);
}

.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.28);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.testimonial-dot:hover {
  background: rgba(255, 255, 255, 0.6);
}

.testimonial-dot.active {
  width: 32px;
  background: var(--accent-gold);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

/* Fallback grid if needed */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ==========================================================================
   Responsive Tables
   ========================================================================== */

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  margin-top: 18px;
  margin-bottom: 40px;
  position: relative;
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
}
.table-responsive::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}
.table-responsive::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
.table-responsive::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

.table-scroll-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-gold);
  background: rgba(251, 191, 36, 0.08);
  border-bottom: 1px solid rgba(251, 191, 36, 0.15);
  padding: 8px 16px;
  text-align: center;
}

.riths-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 660px;
  color: #e2e8f0;
}

.riths-table th {
  background: var(--navy-900);
  color: #ffffff;
  padding: 16px 20px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  vertical-align: middle;
}

.riths-table td {
  padding: 16px 20px;
  font-size: 0.92rem;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  vertical-align: middle;
}

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

.riths-table tbody tr:hover td {
  background: rgba(37, 99, 235, 0.08);
}

.riths-table .level-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  background: rgba(37, 99, 235, 0.2);
  color: var(--navy-300);
  border: 1px solid rgba(37, 99, 235, 0.35);
}

/* ==========================================================================
   Faculty / Leadership
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.team-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-400);
}

.team-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.2);
  color: #93c5fd;
  font-size: 1.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border: 3px solid var(--accent-gold);
}

.team-avatar-img {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  margin: 0 auto 16px;
  border: 3px solid var(--accent-gold);
  display: block;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-card:hover .team-avatar-img {
  transform: scale(1.05);
  border-color: #fde68a;
}

.team-name {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: #ffffff;
}

.team-role {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 600;
  margin-bottom: 6px;
}

.team-qual {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQs Accordion
   ========================================================================== */

.faq-list {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question svg {
  transition: transform 0.25s ease;
  flex-shrink: 0;
  color: var(--navy-400);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
}

/* ==========================================================================
   Modals & Popups
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 7, 19, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.show {
  display: flex;
  animation: modalFadeIn 0.25s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.modal-container {
  background: var(--navy-900);
  border-radius: var(--radius-xl);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  position: relative;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #cbd5e1;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #e2e8f0;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--bg-input);
  color: #ffffff;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--navy-400);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

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

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--navy-950);
  color: #ffffff;
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: none;
  align-items: center;
  gap: 12px;
  z-index: 3000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: slideToast 0.3s ease-out;
}

@keyframes slideToast {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.toast-notice.show {
  display: flex;
}

/* Floating WhatsApp / Phone Quick Action */
.floating-actions {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  transition: var(--transition);
}

.floating-btn.whatsapp {
  background: #25d366;
}

.floating-btn.call {
  background: var(--navy-500);
}

.floating-btn:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--navy-950);
  color: #94a3b8;
  padding: 70px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 50px;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 18px;
  font-weight: 700;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: #cbd5e1;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 12px;
}

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

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.825rem;
}

/* ==========================================================================
   Responsive Media Queries & Mobile Perfection
   ========================================================================== */

@media (max-width: 1150px) {
  .brand-divider, 
  .brand-text-wrap {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-slider .hero-visual {
    display: none !important;
  }
  .pathway-grid {
    grid-template-columns: 1fr;
  }
  .tuition-comparison-grid {
    grid-template-columns: 1fr;
  }
  .campus-display-box {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Tablet & Mobile Navigation Breakpoint (<= 1024px) */
@media (max-width: 1024px) {
  /* CRITICAL: Remove Apply Now button in mobile/tablet head section ONLY */
  .header-apply-btn,
  .nav-actions > .btn,
  .nav-actions > [data-open-apply],
  .nav-actions button:not(.mobile-toggle) {
    display: none !important;
  }

  .mobile-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    padding: 0;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
  }

  .mobile-toggle:hover,
  .mobile-toggle:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
  }

  .navbar-container {
    min-height: 72px;
    padding: 6px 0;
  }

  .brand-logo-img {
    height: 52px;
    max-width: 210px;
  }

  /* Dropdown Mobile Navigation Menu */
  .nav-menu {
    position: fixed;
    top: var(--navbar-height, 72px);
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100vh - var(--navbar-height, 72px));
    height: calc(100dvh - var(--navbar-height, 72px));
    background: linear-gradient(180deg, #130130 0%, #070014 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 48px;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 40px rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    pointer-events: none;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 6px;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 16px;
    border-radius: var(--radius-md);
    font-size: 1.02rem;
    font-weight: 600;
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.2s ease;
  }

  .nav-link.active::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link.active {
    background: rgba(37, 99, 235, 0.22);
    color: var(--accent-gold);
    border-color: rgba(251, 191, 36, 0.3);
  }

  /* Submenu Accordion */
  .dropdown-menu-slider {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 1, 26, 0.88);
    border-radius: var(--radius-md);
    margin: 4px 0 8px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: none;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, padding 0.25s ease;
    pointer-events: none;
  }

  .nav-has-dropdown.open-mobile .dropdown-menu-slider {
    max-height: 380px;
    opacity: 1;
    visibility: visible;
    padding: 6px 0;
    pointer-events: auto;
  }

  .dropdown-link {
    padding: 11px 18px 11px 26px;
    font-size: 0.94rem;
    color: #cbd5e1;
    border-left: 3px solid transparent;
  }

  .dropdown-link:hover,
  .dropdown-link.active {
    background: rgba(37, 99, 235, 0.24);
    color: var(--accent-gold);
    border-left-color: var(--accent-gold);
    padding-left: 28px;
  }

  /* Mobile Drawer Action Area */
  .mobile-nav-cta {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .mobile-drawer-apply-btn {
    width: 100%;
    min-height: 48px;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: var(--shadow-gold);
  }

  .mobile-cta-contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .mobile-cta-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    min-height: 42px;
  }

  .mobile-cta-link.whatsapp {
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #4ade80;
  }

  .mobile-cta-link.whatsapp:hover {
    background: rgba(37, 211, 102, 0.28);
    color: #ffffff;
  }

  .mobile-cta-link.call {
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.35);
    color: #93c5fd;
  }

  .mobile-cta-link.call:hover {
    background: rgba(37, 99, 235, 0.28);
    color: #ffffff;
  }

  .mobile-cta-badge {
    text-align: center;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.78rem;
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
}

/* Prevent Background Scrolling When Mobile Nav is Open */
body.nav-open {
  overflow: hidden !important;
  touch-action: none;
}

@media (min-width: 1025px) {
  .mobile-nav-cta {
    display: none !important;
  }
  .mobile-toggle {
    display: none !important;
  }
  .nav-menu {
    position: static !important;
    height: auto !important;
    width: auto !important;
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    flex-direction: row !important;
    padding: 0 !important;
    overflow-y: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    border-top: none !important;
    box-shadow: none !important;
  }
}

/* Standard Mobile / Tablet Styles (<= 768px) */
@media (max-width: 768px) {
  .section {
    padding: 50px 0;
  }

  /* Section Header mobile alignment */
  .section-header {
    text-align: center;
    margin-bottom: 32px;
    padding: 0 10px;
  }
  .section-header .section-tag {
    margin-left: auto;
    margin-right: auto;
  }
  .section-header .section-title {
    text-align: center;
    font-size: 1.75rem;
    line-height: 1.25;
  }
  .section-header .section-desc {
    text-align: center;
    font-size: 0.94rem;
    line-height: 1.55;
    margin-left: auto;
    margin-right: auto;
  }

  /* Hero Content text alignment & mobile rearrangement */
  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .hero-badge-pill {
    margin: 0 auto 14px;
    text-align: center;
    justify-content: center;
    max-width: 100%;
    width: auto;
    white-space: normal;
    font-size: 0.8rem;
    line-height: 1.35;
    padding: 6px 14px;
    box-sizing: border-box;
  }
  .hero-headline {
    text-align: center;
    font-size: clamp(1.65rem, 5.2vw, 2.15rem);
    line-height: 1.22;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .hero-sub-highlight {
    font-size: 0.9rem;
    line-height: 1.35;
    margin: 6px auto 8px;
    max-width: 95%;
  }
  .hero-benefit-tag {
    font-size: 0.82rem;
    padding: 3px 12px;
    margin-top: 8px;
  }
  .hero-mobile-highlight {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(147, 197, 253, 0.35);
    color: #93c5fd;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin: 0 auto 16px;
    max-width: 96%;
    text-align: center;
    line-height: 1.35;
    box-sizing: border-box;
  }
  .hero-subhead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.92rem;
    line-height: 1.55;
    max-width: 96%;
    box-sizing: border-box;
    color: #cbd5e1;
    margin-bottom: 20px;
  }
  .hero-cta-group {
    justify-content: center;
    width: 100%;
    max-width: 330px;
    margin: 0 auto 20px;
    gap: 10px;
  }
  .hero-trust-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px 14px !important;
    width: 100% !important;
    max-width: 340px !important;
    margin: 0 auto !important;
    padding-top: 16px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-sizing: border-box;
    text-align: center;
  }
  .trust-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .trust-stat-num {
    font-size: 1.35rem;
    font-weight: 800;
  }
  .trust-stat-label {
    font-size: 0.72rem;
    line-height: 1.25;
    margin-top: 2px;
    text-align: center;
  }

  /* Split grid collapse on mobile */
  .split-grid,
  .institutional-profile-grid,
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns: 1.1fr 0.9fr"] {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  /* Tables on mobile */
  .table-responsive {
    border-radius: var(--radius-lg);
    margin-bottom: 28px;
    border-color: rgba(255, 255, 255, 0.1);
  }
  .table-scroll-hint {
    display: flex;
  }
  .riths-table {
    min-width: 600px;
  }
  .riths-table th {
    padding: 12px 14px;
    font-size: 0.82rem;
  }
  .riths-table td {
    padding: 12px 14px;
    font-size: 0.85rem;
  }

  /* Testimonials Slider on mobile */
  .testimonials-slider-container {
    padding: 0 0 16px;
  }
  .testimonial-slide {
    padding: 0 4px;
  }
  .testimonial-card {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
  }
  .testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .testimonial-avatar {
    width: 50px;
    height: 50px;
  }
  .testimonial-nav-btn {
    width: 40px;
    height: 40px;
  }

  /* Card content alignments */
  .pathway-card,
  .tuition-tier-card,
  .campus-display-box,
  .facility-card {
    text-align: left;
  }

  /* Ensure button text is centered */
  .btn {
    text-align: center;
    justify-content: center;
  }

  /* Prevent iOS Safari auto-zoom on input focus */
  input, select, textarea, .form-control {
    font-size: 16px !important;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Smooth Swipable Course Filter Tabs */
  .course-tabs-wrapper {
    width: 100%;
    overflow: hidden;
  }

  .course-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 8px;
    width: 100%;
  }

  .course-tabs::-webkit-scrollbar {
    display: none;
  }

  .tab-btn {
    flex-shrink: 0;
    white-space: nowrap;
    min-height: 44px;
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .course-search-box {
    width: 100%;
    min-width: 100%;
  }

  /* Tuition Calculator Responsive Refinement */
  .tuition-calc-box {
    padding: 24px 18px;
  }

  .calc-currency-switch {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 24px;
  }

  .currency-btn {
    padding: 8px 6px;
    font-size: 0.85rem;
    justify-content: center;
    min-height: 44px;
  }

  .tuition-savings-callout {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 18px;
  }

  /* Eligibility Checker */
  .checker-card {
    padding: 24px 18px;
  }

  .checker-options-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .checker-option-btn {
    min-height: 52px;
    padding: 14px 16px;
  }

  /* Modals on Mobile */
  .modal-backdrop {
    padding: 12px;
  }

  .modal-container {
    padding: 26px 18px;
    max-width: 100%;
    max-height: 92vh;
    max-height: 92dvh;
    border-radius: var(--radius-lg);
  }

  .modal-close-btn {
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  .modal-course-banner {
    margin: -26px -18px 16px -18px;
    height: 160px;
  }

  .course-card-img-wrap {
    height: 180px;
  }
}

/* Mobile Phones (<= 576px) */
@media (max-width: 576px) {
  .navbar-container {
    min-height: 64px;
    padding: 6px 0;
  }

  .brand-logo-img {
    height: 46px;
    max-width: 175px;
  }

  .nav-menu {
    top: var(--navbar-height, 64px);
    height: calc(100vh - var(--navbar-height, 64px));
    height: calc(100dvh - var(--navbar-height, 64px));
    padding: 14px 16px 40px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 1.6rem;
    line-height: 1.25;
  }

  .section-desc {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* Hero Section Fluid Mobile Optimization */
  .hero-headline {
    font-size: 1.85rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
  }

  .hero-subhead {
    font-size: 0.94rem;
    line-height: 1.52;
    margin-bottom: 22px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 24px;
  }

  .hero-cta-group .btn {
    width: 100%;
    min-height: 48px;
    font-size: 0.98rem;
    justify-content: center;
  }

  .hero-trust-row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px 12px !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    padding-top: 14px;
    text-align: center;
  }

  .trust-stat {
    align-items: center;
    text-align: center;
  }

  .trust-stat-num {
    font-size: 1.35rem;
  }

  .trust-stat-label {
    font-size: 0.7rem;
    line-height: 1.25;
    margin-top: 2px;
  }

  /* Slider Responsive Adjustments */
  .hero-slider {
    min-height: 520px;
    height: auto;
  }

  .subpage-slider {
    min-height: 290px;
  }

  .hero-slider .slide-content {
    padding: 34px 0 74px;
  }

  .subpage-slider .slide-content {
    padding: 32px 0 56px;
  }

  .slider-nav-btn {
    top: auto;
    bottom: 14px;
    transform: none;
    width: 36px;
    height: 36px;
  }

  .slider-prev {
    left: 14px;
  }

  .slider-next {
    right: 14px;
  }

  .slider-dots {
    bottom: 22px;
  }

  /* Currency Switcher on Small Screens */
  .calc-currency-switch {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .tuition-price {
    font-size: 1.85rem;
  }

  .tuition-tier-card {
    padding: 20px 16px;
  }

  .mobile-cta-contact-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Top Image Slider Component
   ========================================================================== */

.top-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--navy-950);
}

.top-slider.hero {
  padding: 0;
  background: var(--navy-950);
}

.hero-slider {
  min-height: 640px;
}

.subpage-slider {
  min-height: 380px;
}

.hero-slider .slide-content {
  padding: 80px 0 95px;
}

.subpage-slider .slide-content {
  padding: 60px 0 70px;
}

.slider-track {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  min-height: inherit;
  position: relative;
}

.slide-item {
  grid-area: 1 / 1 / 2 / 2;
  position: relative;
  width: 100%;
  min-height: inherit;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.85s, transform 1.1s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(1.03);
  display: flex;
  align-items: center;
  z-index: 1;
}

.slide-item.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}

.slide-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(27, 2, 69, 0.96) 0%, rgba(27, 2, 69, 0.88) 42%, rgba(27, 2, 69, 0.5) 100%),
              radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.3) 0%, transparent 60%);
  z-index: 2;
}

.subpage-slider .slide-overlay {
  background: linear-gradient(90deg, rgba(27, 2, 69, 0.94) 0%, rgba(27, 2, 69, 0.8) 55%, rgba(27, 2, 69, 0.6) 100%),
              radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
}

.slide-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(27, 2, 69, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.slider-nav-btn:hover {
  background: var(--navy-500);
  border-color: var(--navy-400);
  color: #ffffff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
}

.slider-nav-btn:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

.slider-prev {
  left: 24px;
}

.slider-next {
  right: 24px;
}

.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 15;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.slider-dot:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

.slider-dot.active {
  width: 36px;
  background: var(--accent-gold);
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.7);
}

@media (max-width: 1024px) {
  .hero-slider {
    min-height: 560px;
  }
  .subpage-slider {
    min-height: 350px;
  }
  .slider-prev {
    left: 12px;
  }
  .slider-next {
    right: 12px;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    min-height: 540px;
    height: auto;
  }
  .subpage-slider {
    min-height: 320px;
  }
  .slider-nav-btn {
    top: auto;
    bottom: 16px;
    transform: none;
    width: 38px;
    height: 38px;
  }
  .slider-prev {
    left: 16px;
  }
  .slider-next {
    right: 16px;
  }
  .slider-dots {
    bottom: 24px;
  }
  .hero-slider .slide-content {
    padding: 38px 0 76px;
  }
  .subpage-slider .slide-content {
    padding: 36px 0 60px;
  }
}

/* ==========================================================================
   Institutional Profile (About Page)
   ========================================================================== */

.institutional-profile-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.profile-vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}

.institutional-profile-img-wrap {
  text-align: center;
  position: relative;
}

.institutional-profile-img-wrap img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  width: 100%;
  display: block;
  max-width: 580px;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .institutional-profile-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }
}

@media (max-width: 580px) {
  .profile-vision-mission-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
}

/* ==========================================================================
   Milestones & Historic Timeline
   ========================================================================== */

.milestones-section {
  position: relative;
  background: var(--navy-900);
}

.milestones-timeline {
  position: relative;
  max-width: 960px;
  margin: 40px auto 0;
  padding: 20px 0;
}

.milestones-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 31px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-gold) 0%, var(--navy-500) 50%, var(--navy-700) 100%);
}

.milestone-item {
  position: relative;
  padding-left: 76px;
  margin-bottom: 36px;
  transition: var(--transition);
}

.milestone-item:last-child {
  margin-bottom: 0;
}

.milestone-marker {
  position: absolute;
  left: 17px;
  top: 6px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--navy-950);
  border: 3px solid var(--accent-gold);
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: var(--transition);
}

.milestone-item:hover .milestone-marker {
  transform: scale(1.15);
  background: var(--navy-500);
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.8);
}

.milestone-marker-inner {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  transition: var(--transition);
}

.milestone-item:hover .milestone-marker-inner {
  background: #ffffff;
}

.milestone-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}

.milestone-card:hover {
  transform: translateY(-3px);
  border-color: var(--navy-400);
  box-shadow: var(--shadow-xl);
}

.milestone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 12px;
}

.milestone-year-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.milestone-category {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy-400);
}

.milestone-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.35;
}

.milestone-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.milestone-links-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.milestone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(37, 99, 235, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(37, 99, 235, 0.35);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.milestone-link:hover {
  background: var(--navy-500);
  color: #ffffff;
  border-color: var(--navy-400);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.milestone-link svg {
  flex-shrink: 0;
  color: inherit;
}

.milestone-link.link-pdf {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.35);
}

.milestone-link.link-pdf:hover {
  background: #ef4444;
  color: #ffffff;
  border-color: #f87171;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.35);
}

.milestone-link.link-news {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.35);
}

.milestone-link.link-news:hover {
  background: #10b981;
  color: #ffffff;
  border-color: #34d399;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.milestone-link.link-accent {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.35);
}

.milestone-link.link-accent:hover {
  background: var(--accent-gold);
  color: #1b0245;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

.milestone-link.link-popup {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.5);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  border-style: solid;
}

.milestone-link.link-popup:hover {
  background: var(--accent-gold);
  color: #1b0245;
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
}

.milestone-link.link-riths {
  background: rgba(168, 85, 247, 0.18);
  color: #d8b4fe;
  border-color: rgba(168, 85, 247, 0.4);
}

.milestone-link.link-riths:hover {
  background: #9333ea;
  color: #ffffff;
  border-color: #a855f7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(147, 51, 234, 0.4);
}

/* ==========================================================================
   Recognition Letter Pop-Up Lightbox
   ========================================================================== */
.recognition-modal-container {
  max-width: 820px;
  width: 95%;
  max-height: 94vh;
  padding: 28px 32px;
  background: #150238;
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.85), 0 0 40px rgba(245, 158, 11, 0.15);
  display: flex;
  flex-direction: column;
}

.recognition-modal-header {
  margin-bottom: 16px;
}

.recognition-modal-body {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.recognition-image-wrapper {
  background: #0d0124;
  border-radius: var(--radius-md);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  max-height: 64vh;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--navy-500) #0d0124;
}

.recognition-image-wrapper img {
  max-width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  display: block;
  margin: 0 auto;
  transition: transform 0.2s ease;
}

.recognition-modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .recognition-modal-container {
    padding: 20px 16px;
    max-height: 96vh;
  }
  .recognition-image-wrapper {
    max-height: 52vh;
    padding: 8px;
  }
  .recognition-image-wrapper img {
    max-height: 48vh;
  }
  .recognition-modal-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .recognition-modal-footer .btn {
    text-align: center;
    justify-content: center;
  }
}


@media (max-width: 640px) {
  .milestones-timeline::before {
    left: 19px;
  }
  .milestone-item {
    padding-left: 50px;
    margin-bottom: 28px;
  }
  .milestone-marker {
    left: 5px;
    width: 28px;
    height: 28px;
  }
  .milestone-card {
    padding: 18px 20px;
  }
  .milestone-title {
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   Video Background Hero & Fullscreen Video Component
   ========================================================================== */

.video-hero,
.relative.h-screen {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 560px;
  overflow: hidden;
  background-color: var(--navy-950);
}

.video-hero video,
.video-hero-media,
.relative.h-screen video {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
}

/* Support video inside slider slides */
.slide-item video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.video-hero-overlay,
.bg-black\/40 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(1px);
  z-index: 2;
}

.video-hero-content,
.relative.z-10 {
  position: relative;
  z-index: 10;
}

/* Tailwind utility helpers */
.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.h-screen { height: 100vh; height: 100dvh; }
.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }
.z-10 { z-index: 10; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }
.text-white { color: #ffffff; }
.font-bold { font-weight: 700; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.mt-4 { margin-top: 1rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }

@media (min-width: 768px) {
  .md\:text-6xl {
    font-size: 3.75rem;
    line-height: 1.05;
  }
  .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .video-hero video,
  .relative.h-screen video,
  .slide-item video {
    display: none;
  }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.spin-icon {
  animation: spin 1s linear infinite;
  display: inline-block;
}

