/* ==========================================================================
   NAMS College of Higher Studies - Official Design System
   "Learning Without Limits - Since 2011"
   ========================================================================== */

:root {
  /* Brand Palette */
  --primary: #00325d;
  --primary-rgb: 0, 50, 93;
  --primary-dark: #001a33;
  --primary-light: #0a4378;
  --secondary: #0b4a8b;
  --secondary-light: #1d64b0;
  
  --accent: #be1e2d;
  --accent-rgb: 190, 30, 45;
  --accent-light: #f0676c;
  --accent-dark: #931620;
  
  --success: #059669;
  --success-bg: #ecfdf5;
  --info: #0284c7;
  --info-bg: #f0f9ff;
  --warning: #d97706;
  
  /* Neutral Palette */
  --bg-main: #f4f8fb;
  --bg-surface: #ffffff;
  --bg-alt: #e6f0f6;
  --bg-dark: #001a33;
  --text-main: #1e293b;
  --text-muted: #4e6275;
  --text-light: #8aa0b2;
  --border-light: #d7e4ec;
  --border-subtle: #b9cad6;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Elevation & Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.09), 0 4px 10px -4px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 35px -5px rgba(0, 0, 0, 0.12), 0 8px 16px -6px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 25px rgba(190, 30, 45, 0.25);

  /* Transitions & Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.18s ease;
  --transition-base: 0.28s ease;
  --transition-slow: 0.45s ease;
  --container-width: 1240px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: clip;
  max-width: 100%;
  width: 100%;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}

body.nav-open {
  overflow: hidden !important;
  touch-action: none;
}

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

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

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

ul, ol {
  list-style: none;
}

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

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

.section {
  padding: 5rem 0;
  position: relative;
}

/* Responsive grid utilities (replace inline grid styles) */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 2rem;
}

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

.panel-pad {
  padding: 3.5rem;
}

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

.section-dark {
  background-color: var(--primary);
  color: #ffffff;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-dark .section-subtitle {
  color: #94a3b8;
}

.section-dark .section-tag {
  color: var(--accent-light);
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: rgba(190, 30, 45, 0.12);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
  border: 1px solid rgba(190, 30, 45, 0.25);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

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

/* Announcement Topbar */
.topbar {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.45rem 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1.5rem;
  min-height: 2rem;
}

.topbar-badges {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
  min-width: 0;
}

.topbar-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.topbar-badge strong {
  color: var(--accent-light);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-shrink: 0;
}

.topbar-links a {
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.topbar-links a:hover {
  color: var(--accent-light);
}

/* Header & Glass Navigation */
.header {
  position: -webkit-sticky;
  position: sticky;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition-base), background var(--transition-base);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  min-height: 76px;
  max-width: 1400px;
}

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

.brand-logo {
  height: 60px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.footer .brand-logo {
  height: 64px;
}

.brand-crest {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 800;
  font-size: 1.3rem;
  border: 2px solid var(--accent);
  box-shadow: 0 4px 10px rgba(0, 50, 93, 0.2);
  flex-shrink: 0;
}

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

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

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex: 1 1 auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-link:hover,
.nav-link.active,
.nav-dropdown.active > .nav-trigger,
.nav-dropdown:hover > .nav-trigger,
.nav-dropdown.open > .nav-trigger {
  color: var(--primary);
  background: rgba(0, 50, 93, 0.04);
}

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

.nav-link:hover::after,
.nav-link.active::after,
.nav-dropdown.active > .nav-trigger::after,
.nav-dropdown:hover > .nav-trigger::after,
.nav-dropdown.open > .nav-trigger::after {
  width: calc(100% - 1.7rem);
}

.nav-caret {
  color: var(--text-light);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

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

/* Dropdown panels */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: 330px;
  display: grid;
  gap: 0.15rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--accent);
  padding: 0.6rem;
  box-shadow: 0 24px 48px -12px rgba(0, 50, 93, 0.25), 0 8px 16px -8px rgba(0, 50, 93, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 100;
}

/* Invisible bridge so the panel stays open while the pointer moves down */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -22px;
  left: 0;
  right: 0;
  height: 22px;
}

/* Notch */
.nav-dropdown-menu::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--accent);
  transform: translateX(-50%) rotate(45deg);
  border-radius: 2px;
  z-index: -1;
}

.nav-dropdown-wide {
  width: 560px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown:focus-within > .nav-dropdown-menu,
.nav-dropdown.open > .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.7rem 0.75rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-item-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-item-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.nav-item-text strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-item-text small {
  font-size: 0.77rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

.nav-dropdown-item:hover,
.nav-dropdown-item:focus-visible {
  background: var(--bg-main);
  color: var(--primary);
}

.nav-dropdown-item:hover .nav-item-icon,
.nav-dropdown-item:focus-visible .nav-item-icon {
  background: var(--accent);
  color: #ffffff;
}

.nav-dropdown-all {
  background: var(--bg-alt);
}

.nav-dropdown-all .nav-item-icon {
  background: var(--primary);
  color: #ffffff;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.header-actions .btn-accent {
  border-radius: var(--radius-full);
  padding: 0.48rem 1.25rem;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(11, 74, 139, 0.25);
}

.btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 74, 139, 0.35);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #d0333a 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(190, 30, 45, 0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #d0333a 0%, var(--accent-dark) 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(190, 30, 45, 0.4);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: rgba(29, 100, 176, 0.04);
}

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

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

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1.05rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* Hero Section */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #0a4a85 0%, var(--primary-dark) 70%);
  color: #ffffff;
  padding: 5.5rem 0 6rem 0;
  overflow: hidden;
}

.hero-bg-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.6s ease-in-out, transform 5s ease-out;
}

.hero-bg-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(125deg, rgba(0, 22, 46, 0.86) 0%, rgba(0, 42, 82, 0.74) 55%, rgba(0, 29, 58, 0.84) 100%);
  pointer-events: none;
}

.hero-carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: var(--radius-full);
  border: none;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: width var(--transition-fast), background var(--transition-fast);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.75);
}

.hero-dot.active {
  width: 26px;
  background: var(--accent-light);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(rgba(190, 30, 45, 0.1) 1px, transparent 1px),
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px, 20px 20px;
  background-position: 0 0, 20px 20px;
  opacity: 0.6;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}

.hero-title span {
  color: var(--accent-light);
  display: block;
}

.hero-desc {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 2.2rem;
  max-width: 580px;
}

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

.hero-actions .btn-lg {
  padding: 0.85rem 1.35rem;
  font-size: 0.98rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.78rem;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 0.25rem;
}

/* Hero Interactive Card / Finder */
.hero-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  padding: 2.2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.hero-card-header {
  margin-bottom: 1.5rem;
}

.hero-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.hero-card-subtitle {
  font-size: 0.88rem;
  color: #cbd5e1;
}

.hero-form-group {
  margin-bottom: 1.1rem;
}

.hero-form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.4rem;
}

.hero-input,
.hero-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--text-main);
  outline: none;
  transition: all var(--transition-fast);
}

.hero-input:focus,
.hero-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(190, 30, 45, 0.3);
}

.hero-trust-badges {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.trust-badge-item svg {
  color: var(--accent-light);
}

/* Image Placeholder Component */
.image-placeholder {
  position: relative;
  background: linear-gradient(135deg, #0a3d70 0%, #001a33 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: #cbd5e1;
  min-height: 240px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.image-placeholder img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.image-placeholder.has-image .placeholder-inner {
  display: none;
}

.placeholder-inner {
  position: relative;
  z-index: 1;
}

.placeholder-icon {
  width: 52px;
  height: 52px;
  background: rgba(190, 30, 45, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem auto;
  color: var(--accent-light);
}

.placeholder-title {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.placeholder-hint {
  font-size: 0.78rem;
  color: #94a3b8;
  max-width: 260px;
  margin: 0 auto;
}

.placeholder-badge {
  display: inline-block;
  margin-top: 0.85rem;
  padding: 0.25rem 0.65rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-light);
}

/* Milestone Timeline Cards */
.milestones-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.milestone-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

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

.milestone-year {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.75rem;
}

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

.milestone-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Core Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.value-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(11, 74, 139, 0.1) 0%, rgba(190, 30, 45, 0.08) 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(11, 74, 139, 0.14);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.value-card:hover .value-icon {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.05);
}

.value-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.value-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Chairman Message Section */
.chairman-box {
  background: linear-gradient(135deg, #00376a 0%, #001d3a 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.chairman-box::after {
  content: '"';
  position: absolute;
  top: 1rem;
  right: 2rem;
  font-size: 12rem;
  font-family: var(--font-serif);
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
}

.chairman-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.chairman-portrait-wrap {
  position: relative;
}

.chairman-quote {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--accent-light);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--accent);
}

.chairman-text {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

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

.chairman-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
}

.chairman-role {
  font-size: 0.9rem;
  color: var(--accent-light);
  font-weight: 600;
}

/* Programmes Cards & Filter */
.programme-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 10px rgba(0, 50, 93, 0.15);
}

.programmes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

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

.programme-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--secondary-light);
}

.programme-card-header {
  padding: 1.75rem 1.75rem 1rem 1.75rem;
  border-bottom: 1px solid var(--border-light);
}

.programme-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(29, 100, 176, 0.1);
  color: var(--secondary);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.programme-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
}

.programme-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.programme-meta-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.programme-card-body {
  padding: 1.5rem 1.75rem;
  flex-grow: 1;
}

.programme-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.programme-courses-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.programme-course-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--text-main);
  font-weight: 500;
}

.programme-course-item svg {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.programme-card-footer {
  padding: 1rem 1.75rem 1.75rem 1.75rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 3-Step Pathway Banner */
.pathway-banner {
  background: linear-gradient(135deg, #0b4a8b 0%, #001a33 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 2.75rem 3rem;
  margin-top: 4rem;
  box-shadow: var(--shadow-lg);
}

.pathway-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
  margin-top: 2rem;
  position: relative;
}

.pathway-step {
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.step-desc {
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* Indian Universities Tie-up Section */
.universities-toolbar {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.zone-tabs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.zone-tab {
  background: var(--bg-alt);
  border: 1px solid transparent;
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.zone-tab:hover,
.zone-tab.active {
  background: var(--secondary);
  color: #ffffff;
}

.university-search-wrap {
  position: relative;
  min-width: 280px;
}

.university-search-input {
  width: 100%;
  padding: 0.55rem 1rem 0.55rem 2.4rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  outline: none;
  background: var(--bg-surface);
  transition: border var(--transition-fast);
}

.university-search-input:focus {
  border-color: var(--secondary-light);
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 0.8rem;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.universities-count-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.universities-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.universities-more {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 1.5rem auto 3rem auto;
  clear: both;
}

.universities-more .btn {
  padding: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1.5px solid var(--secondary);
  color: var(--secondary);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-base);
  cursor: pointer;
}

.universities-more .btn:hover {
  background: var(--secondary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.university-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
}

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

.university-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.university-crest-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--bg-alt) 0%, #e2e8f0 100%);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 1px solid var(--border-light);
}

.university-zone-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

.zone-tag-north { background: #e0f2fe; color: #0284c7; }
.zone-tag-east { background: #dcfce7; color: #15803d; }
.zone-tag-middle { background: #fef3c7; color: #b45309; }
.zone-tag-west { background: #f3e8ff; color: #7e22ce; }
.zone-tag-south { background: #ffedd5; color: #c2410c; }

.university-name {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.university-location {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.university-type {
  font-size: 0.78rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 0.65rem;
}

.university-highlights {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border-light);
}

/* Global Academic Network & Approved Centres */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.partner-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.partner-country-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--bg-alt);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  align-self: flex-start;
}

.partner-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.partner-status {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-bottom: 0.75rem;
}

.partner-recognition {
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.partner-offerings {
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.55;
  margin-top: auto;
}

/* Online Learning Hub Styles */
.online-hero-banner {
  background: linear-gradient(135deg, #00213f 0%, #0b4a8b 100%);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  box-shadow: var(--shadow-xl);
  margin-bottom: 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 3rem;
  align-items: center;
}

.online-banner-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.online-banner-title span {
  color: var(--accent-light);
}

.online-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.online-feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

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

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

.online-feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.online-feature-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Multilingual Pills */
.multilingual-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem 1.5rem;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
}

.multilingual-strip > span:first-child {
  flex-basis: 100%;
}

.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
}

.lang-pill span {
  background: var(--accent);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
}

/* Study Abroad Section */
.abroad-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.abroad-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.abroad-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--secondary) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

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

.abroad-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.abroad-flag {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
}

.abroad-country {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
}

.abroad-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  background: rgba(29, 100, 176, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.85rem;
  align-self: flex-start;
}

.abroad-highlights {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.abroad-programs {
  font-size: 0.85rem;
  background: var(--bg-alt);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  margin-top: auto;
}

.abroad-programs strong {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

/* Research & Development Center */
.research-cycle {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}

.cycle-step {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
}

.cycle-step:hover {
  border-color: var(--secondary-light);
  transform: translateY(-3px);
}

.cycle-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(29, 100, 176, 0.1);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
  font-weight: 700;
}

.cycle-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.cycle-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Convocations & Student Life Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

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

.gallery-body {
  padding: 1.25rem 1.5rem;
}

.gallery-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

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

/* Interactive Admission Form */
.form-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  max-width: 860px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.form-group-full {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-label span {
  color: #ef4444;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--text-main);
  background: #ffffff;
  outline: none;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--secondary-light);
  box-shadow: 0 0 0 3px rgba(29, 100, 176, 0.15);
}

/* FAQ Accordion */
.faq-grid {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-item.active {
  border-color: var(--secondary-light);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform var(--transition-fast);
  color: var(--secondary);
}

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

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* Footer Section */
.footer {
  position: relative;
  background-color: var(--primary-dark);
  background-image:
    linear-gradient(180deg, rgba(0, 20, 38, 0.88) 0%, rgba(0, 26, 51, 0.94) 100%),
    url('../assets/images/campus/footer-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #94a3b8;
  padding-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr) minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col-title {
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-light);
  padding-left: 0.35rem;
}

.footer-campus-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  margin-bottom: 1rem;
}

.campus-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.campus-address {
  font-size: 0.84rem;
  color: #94a3b8;
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.75rem 0;
  font-size: 0.82rem;
  color: #64748b;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-disclaimer {
  max-width: 700px;
  line-height: 1.5;
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.float-btn:hover {
  transform: scale(1.08);
}

.float-top {
  background-color: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.22);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.float-top:hover {
  background-color: var(--accent);
}

.float-top.visible {
  opacity: 1;
  visibility: visible;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--primary);
  color: #ffffff;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xl);
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 10000;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid var(--accent);
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Responsive Components: Subpage Hero, Navigation Drawer & Backdrops
   ========================================================================== */

/* Subpage Hero Standardized Component */
.subpage-hero {
  padding: 4.5rem 0 5rem 0;
}

.subpage-hero .hero-title {
  font-size: 2.85rem;
}

.subpage-hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.chairman-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

/* Mobile Navigation Backdrop */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 26, 51, 0.45);
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* In-Drawer Header & Footer (Hidden on desktop) */
.nav-drawer-header,
.nav-drawer-footer {
  display: none;
}

/* Responsive Media Queries */
.pathway-steps-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1280px) {
  /* Keep the top bar on one line */
  .topbar-badge:nth-child(3) {
    display: none;
  }
}

@media (max-width: 1080px) {
  /* Keep header sharp with no blur distortion on mobile */
  .header {
    z-index: 1005;
    background: #ffffff;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  body.nav-open .header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* In-Drawer Header & Branding */
  .nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-bottom: 1rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
  }

  .nav-drawer-brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
  }

  .nav-drawer-brand img {
    height: 38px;
    width: auto;
  }

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

  .nav-drawer-brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary);
    line-height: 1.1;
  }

  .nav-drawer-brand-sub {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .nav-drawer-close {
    background: var(--bg-alt);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    line-height: 1;
    transition: all var(--transition-fast);
    flex-shrink: 0;
  }

  .nav-drawer-close:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
  }

  .nav-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-light);
  }

  .nav-drawer-footer .btn {
    width: 100%;
    justify-content: center;
  }

  /* Collapse navigation into slide-out drawer */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(340px, 86vw);
    height: 100%;
    height: 100dvh;
    background: #ffffff;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.15rem;
    padding: 1.25rem 1.25rem 2rem 1.25rem;
    box-shadow: -8px 0 32px rgba(0, 26, 51, 0.2);
    transition: right var(--transition-base), visibility var(--transition-base);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1010;
    visibility: hidden;
    pointer-events: none;
  }

  .nav-menu.open {
    right: 0;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-menu .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 0.9rem;
    border-radius: var(--radius-md);
    font-size: 0.98rem;
    text-align: left;
    min-height: 44px;
  }

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

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active,
  .nav-dropdown.active > .nav-trigger,
  .nav-dropdown.open > .nav-trigger {
    background: var(--bg-alt);
  }

  .nav-menu .nav-link.active,
  .nav-dropdown.active > .nav-trigger {
    box-shadow: inset 3px 0 0 var(--accent);
  }

  /* Dropdowns become accordions inside the drawer */
  .nav-dropdown:hover .nav-caret {
    transform: none;
    color: var(--text-light);
  }

  .nav-dropdown.open .nav-caret {
    transform: rotate(180deg);
    color: var(--accent);
  }

  .nav-dropdown-menu,
  .nav-dropdown-wide {
    position: static;
    width: auto;
    grid-template-columns: minmax(0, 1fr);
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--border-light);
    border-radius: 0;
    margin: 0.25rem 0 0.5rem 0.85rem;
    padding: 0 0 0 0.5rem;
  }

  .nav-dropdown-menu::before,
  .nav-dropdown-menu::after {
    display: none;
  }

  .nav-dropdown:hover > .nav-dropdown-menu,
  .nav-dropdown:focus-within > .nav-dropdown-menu {
    display: none;
    transform: none;
  }

  .nav-dropdown.open > .nav-dropdown-menu {
    display: grid;
    transform: none;
  }

  .nav-dropdown-item {
    padding: 0.65rem 0.6rem;
    gap: 0.65rem;
    align-items: center;
    min-height: 44px;
  }

  .nav-item-icon {
    width: 32px;
    height: 32px;
  }

  .nav-item-text small {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    line-height: 1;
    position: relative;
    z-index: 1002;
    background: #ffffff;
  }

  body.nav-open .mobile-toggle {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
}

@media (max-width: 1080px) {
  .hero {
    padding: 4rem 0 4.5rem 0;
  }

  .subpage-hero {
    padding: 3.75rem 0 4.25rem 0;
  }

  .subpage-hero .hero-title {
    font-size: 2.4rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  .hero-desc {
    max-width: none;
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-card {
    max-width: 640px;
    width: 100%;
  }

  .milestones-grid,
  .hero-stats,
  .grid-4,
  .pathway-steps-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .programmes-grid,
  .universities-grid,
  .partners-grid,
  .abroad-grid,
  .online-features-grid,
  .values-grid,
  .gallery-grid,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .chairman-grid,
  .online-hero-banner {
    grid-template-columns: minmax(0, 1fr);
  }

  .chairman-portrait-wrap {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .topbar-links {
    display: none;
  }

  .topbar .container {
    justify-content: center;
  }

  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .panel-pad {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 768px) {
  /* Prevent iOS Safari auto-zoom on input focus */
  input,
  select,
  textarea,
  .form-control,
  .hero-input,
  .hero-select,
  .university-search-input {
    font-size: 16px !important;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }

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

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.98rem;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-desc {
    font-size: 1.02rem;
  }

  .subpage-hero {
    padding: 3.25rem 0 3.75rem 0;
  }

  .subpage-hero .hero-title {
    font-size: 2.05rem;
  }

  .chairman-title {
    font-size: 1.75rem;
  }

  .programmes-grid,
  .universities-grid,
  .partners-grid,
  .abroad-grid,
  .online-features-grid,
  .values-grid,
  .gallery-grid,
  .pathway-steps,
  .form-grid,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .form-group-full {
    grid-column: span 1;
  }

  .form-card,
  .chairman-box,
  .online-hero-banner,
  .pathway-banner,
  .panel-pad {
    padding: 2rem 1.25rem;
  }

  .hero-card {
    padding: 1.75rem 1.35rem;
  }

  .chairman-quote {
    font-size: 1.2rem;
  }

  .universities-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .university-search-wrap {
    min-width: 0;
    width: 100%;
  }

  .universities-count-bar {
    flex-wrap: wrap;
    gap: 0.35rem 1rem;
  }

  /* Sleek touch-swipeable pill bars on mobile */
  .programme-filter-bar {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.25rem 0.25rem 0.65rem 0.25rem;
    gap: 0.5rem;
    justify-content: flex-start;
    margin-bottom: 2rem;
  }

  .programme-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.5rem 1.05rem;
    font-size: 0.85rem;
    min-height: 40px;
  }

  .zone-tabs {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.4rem;
    gap: 0.45rem;
    width: 100%;
  }

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

  .zone-tab {
    flex-shrink: 0;
    white-space: nowrap;
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
    min-height: 38px;
  }

  .programme-card-footer {
    gap: 0.75rem;
  }

  .programme-card-footer .btn {
    flex: 1 1 0;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }

  .research-cycle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .topbar .container {
    padding: 0.35rem 0.85rem;
  }

  .topbar-badge {
    white-space: normal;
    text-align: center;
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .topbar-badge:nth-child(2) {
    display: none;
  }

  .brand-logo {
    height: 44px;
  }

  .brand-crest {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-tagline {
    display: none;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .btn {
    white-space: normal;
  }

  .header-actions .btn-sm {
    padding: 0.45rem 0.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .subpage-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .subpage-hero-actions .btn {
    width: 100%;
  }

  .hero-trust-badges {
    justify-content: center;
  }

  .milestones-grid,
  .grid-4,
  .pathway-steps-4,
  .research-cycle {
    grid-template-columns: minmax(0, 1fr);
  }

  .partner-card,
  .abroad-card,
  .university-card,
  .online-feature-card,
  .value-card,
  .cycle-step,
  .gallery-body {
    padding: 1.25rem 1rem;
  }

  .programme-card-header,
  .programme-card-body {
    padding: 1.25rem 1rem;
  }

  .programme-card-footer {
    padding: 0.85rem 1rem 1.25rem 1rem;
  }

  .chairman-box,
  .online-hero-banner,
  .pathway-banner,
  .panel-pad {
    padding: 1.75rem 1.15rem;
  }

  .floating-actions {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    right: 1rem;
    gap: 0.5rem;
  }

  .float-btn {
    width: 46px;
    height: 46px;
  }

  .image-placeholder {
    min-height: 220px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.65rem;
    line-height: 1.22;
  }

  .subpage-hero .hero-title {
    font-size: 1.6rem;
    line-height: 1.24;
  }

  .hero-desc {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }

  .hero-pill {
    font-size: 0.74rem;
    padding: 0.3rem 0.75rem;
    margin-bottom: 1rem;
  }

  .section {
    padding: 2.75rem 0;
  }

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

  .section-title {
    font-size: 1.45rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .chairman-title {
    font-size: 1.5rem;
  }

  .chairman-quote {
    font-size: 1.05rem;
  }

  .header-container {
    min-height: 60px;
    padding: 0.55rem 0;
    gap: 0.5rem;
  }

  .brand {
    gap: 0.5rem;
  }

  .brand-logo {
    height: 40px;
  }

  .brand-title {
    font-size: 0.98rem;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .header-actions .btn-sm {
    font-size: 0.74rem;
    padding: 0.38rem 0.65rem;
  }

  .mobile-toggle {
    width: 38px;
    height: 38px;
    font-size: 1.35rem;
  }

  .programme-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .programme-card-footer .btn {
    width: 100%;
  }

  .form-card {
    padding: 1.5rem 1rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 0.5rem;
    padding-top: 1.25rem;
    text-align: center;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.72rem;
  }

  .hero-trust-badges {
    gap: 0.4rem 0.75rem;
    font-size: 0.72rem;
  }

  .partner-card-top {
    gap: 0.75rem;
  }

  .partner-logo {
    width: 60px;
    height: 60px;
  }

  .abroad-header {
    gap: 0.5rem;
  }

  .abroad-flag {
    font-size: 1.8rem;
  }

  .abroad-country {
    font-size: 1.15rem;
  }

  .universities-count-bar {
    font-size: 0.8rem;
  }
}

@media (max-width: 360px) {
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .brand-title {
    font-size: 0.9rem;
  }

  .brand-logo {
    height: 34px;
  }

  .header-actions .btn-sm {
    display: none;
  }

  .hero-title {
    font-size: 1.45rem;
  }

  .subpage-hero .hero-title {
    font-size: 1.4rem;
  }

  .hero-card {
    padding: 1.25rem 0.85rem;
  }

  .toast-notice {
    font-size: 0.8rem;
    padding: 0.65rem 1rem;
    max-width: 94vw;
  }
}

/* Placeholders once a real photo is added */
.image-placeholder.has-image {
  border: none;
  padding: 0;
  background: var(--primary-dark);
}

.chairman-photo {
  aspect-ratio: 4 / 5;
  min-height: 0;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.5);
  outline: 3px solid rgba(var(--accent-rgb), 0.55);
  outline-offset: 6px;
}

.chairman-photo img {
  object-position: center 78%;
}

.gallery-card .image-placeholder.has-image {
  border-radius: 0;
}

.online-hero-banner .image-placeholder.has-image {
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.55);
  min-height: 320px;
}

/* Convocation & student-life photo gallery */
.photo-gallery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 4rem 0 1.5rem 0;
}

.photo-gallery-head h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
}

.photo-gallery-head p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 200px;
  gap: 1rem;
}

.photo-tile {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--primary-dark);
  box-shadow: var(--shadow-sm);
}

.photo-tile.tall { grid-row: span 2; }
.photo-tile.wide { grid-column: span 2; }

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.photo-tile:hover img {
  transform: scale(1.05);
}

.photo-tile figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.25rem 1rem 0.85rem 1rem;
  background: linear-gradient(to top, rgba(0, 26, 51, 0.88) 0%, rgba(0, 26, 51, 0) 100%);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
}

.photo-tile figcaption span {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

@media (max-width: 900px) {
  .photo-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
  }
}

@media (max-width: 600px) {
  .photo-gallery {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 220px;
  }

  .photo-tile.tall,
  .photo-tile.wide {
    grid-row: auto;
    grid-column: auto;
  }
}

/* Partner logos on network cards */
.partner-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.partner-card-top .partner-country-badge {
  margin-bottom: 0;
}

.partner-logo {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-logo-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-color: transparent;
}

.partner-logo-text span {
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

/* Logos inside the MGKVP / IIC spotlight boxes */
.spotlight-logos {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.spotlight-logos img {
  height: 56px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.3rem;
}

/* "In academic partnership with" logo strip */
.partner-strip {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 1.75rem 0 2rem 0;
}

.partner-strip-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
}

.partner-strip-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.75rem 5.75rem;
}

.partner-strip-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  transition: transform var(--transition-fast);
}

.partner-strip-item img {
  height: 64px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: saturate(0.9);
  border-radius: 6px;
}

.partner-strip-wide img {
  max-width: 170px;
  height: 52px;
}

.partner-strip-item:hover {
  transform: translateY(-3px);
}

@media (max-width: 600px) {
  .partner-strip-logos {
    gap: 1.15rem 2.1rem;
  }

  .partner-strip-item {
    height: 56px;
  }

  .partner-strip-item img {
    height: 48px;
    max-width: 80px;
  }

  .partner-strip-wide img {
    max-width: 130px;
    height: 40px;
  }

  .partner-logo {
    width: 68px;
    height: 68px;
  }
}

/* University logos on directory cards */
.university-crest-badge.has-logo {
  width: 60px;
  height: 60px;
  padding: 3px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.university-crest-badge.has-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
