/* ================================================
   DMSF – Davao Medical School Foundation Inc.
   Light Glossy Theme | Playfair Display + DM Sans
   ================================================ */

:root {
  /* Brand Colors from Logo */
  --navy:       #1B3A7A;
  --navy-dark:  #0f2557;
  --navy-light: #2a4f9f;
  --gold:       #C8973A;
  --gold-light: #e6b45a;
  --red:        #CC2936;
  --white:      #ffffff;
  --off-white:  #f8faff;
  --light-gray: #f0f4fb;
  --mid-gray:   #e2e8f4;
  --text-dark:  #0f1c3f;
  --text-mid:   #3a4a6b;
  --text-light: #6b7ba8;

  /* Gradients */
  --grad-navy:  linear-gradient(135deg, #1B3A7A 0%, #0f2557 100%);
  --grad-gold:  linear-gradient(135deg, #C8973A 0%, #e6b45a 100%);
  --grad-glass: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(240,244,251,0.9) 100%);

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(27,58,122,0.08);
  --shadow-md:  0 8px 32px rgba(27,58,122,0.14);
  --shadow-lg:  0 20px 60px rgba(27,58,122,0.18);
  --shadow-glow: 0 0 40px rgba(200,151,58,0.25);

  /* Transitions */
  --ease:       cubic-bezier(0.4, 0, 0.2, 1);
  --bounce:     cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Border radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  /* ── Aliases for inner-pages.css compatibility ── */
  --primary:        #1B3A7A;
  --primary-dark:   #0f2557;
  --primary-light:  #2a4f9f;
  --accent:         #C8973A;
  --accent-light:   #e6b45a;
  --border-radius:  12px;
  --border-radius-lg: 20px;
  --font-display:   'Playfair Display', serif;
  --font-body:      'DM Sans', sans-serif;
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  color: var(--navy-dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { line-height: 1.75; color: var(--text-mid); }

/* ── Container ──────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Topbar ─────────────────────────────────────── */
.topbar {
  background: var(--grad-navy);
  padding: 8px 0;
  font-size: 0.8rem;
  position: relative;
  z-index: 1000;
}
.topbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,151,58,0.6), transparent);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar a, .topbar span {
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.topbar a:hover { color: var(--gold-light); }
.topbar-right a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  justify-content: center;
  font-size: 0.75rem;
  transition: all 0.2s;
}
.topbar-right a:hover {
  background: var(--gold);
  color: white;
  transform: translateY(-2px);
}

/* ── Site Header ────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  border-bottom: 1px solid var(--mid-gray);
  box-shadow: 0 2px 20px rgba(27,58,122,0.10);
  transition: all 0.35s var(--ease);
}
.site-header.scrolled {
  box-shadow: 0 4px 28px rgba(27,58,122,0.16);
}
.header-inner {
  display: flex;
  align-items: stretch;
  gap: 0;
  padding: 0 24px 0 0;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 76px;
}

/* ── Logo Block — navy pill that matches the logo PNG ── */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  /* Navy background matching the logo's own dark box */
  background: linear-gradient(135deg, #0f2255 0%, #1B3A7A 60%, #1e4491 100%);
  padding: 0 28px 0 20px;
  margin-right: 32px;
  position: relative;
  text-decoration: none;
  /* Angled right edge for a sharp branded look */
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
  transition: filter 0.3s var(--ease);
}
.logo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.logo-wrap:hover {
  filter: brightness(1.1);
}
.logo-img {
  height: 58px;
  width: auto;
  /* PNG already has navy bg — remove drop-shadow and just show it cleanly */
  border-radius: 6px;
  flex-shrink: 0;
  transition: transform 0.35s var(--bounce);
}
.logo-wrap:hover .logo-img { transform: scale(1.04); }
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  max-width: 210px;
  letter-spacing: 0.01em;
}
.logo-location {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── Navigation ─────────────────────────────────── */
.main-nav { flex: 1; display: flex; align-items: center; justify-content: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
  white-space: nowrap;
}
.nav-arrow {
  font-size: 0.65rem;
  transition: transform 0.3s var(--ease);
}
.nav-item:hover .nav-arrow { transform: rotate(180deg); }
.nav-link:hover, .nav-item.active > .nav-link {
  color: var(--navy);
  background: var(--light-gray);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;          /* flush to nav-item bottom — no gap */
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 220px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--mid-gray);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
  overflow: hidden;
  /* invisible bridge fills the gap so mouse never leaves nav-item */
  padding-top: 8px;
  margin-top: 0;
}
/* The decorative arrow caret */
.dropdown::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: white;
  border: 1px solid var(--mid-gray);
  border-bottom: none;
  border-right: none;
  transform: translateX(-50%) rotate(45deg);
}
.nav-item:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown li a {
  display: block;
  padding: 11px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--light-gray);
  transition: all 0.15s;
  position: relative;
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--grad-navy);
  transition: width 0.2s var(--ease);
  border-radius: 0 4px 4px 0;
}
.dropdown li a:hover {
  color: var(--navy);
  background: var(--off-white);
  padding-left: 28px;
}

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; margin-left: auto; }
.btn-apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--grad-navy);
  color: white !important;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(27,58,122,0.3);
  transition: all 0.3s var(--bounce);
  position: relative;
  overflow: hidden;
}
.btn-apply::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,58,122,0.4);
}
.btn-apply:hover::before { opacity: 1; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,28,63,0.5);
  z-index: 990;
  backdrop-filter: blur(4px);
}

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--bounce);
  text-decoration: none;
}
.btn-primary {
  background: var(--grad-navy);
  color: white;
  box-shadow: 0 4px 20px rgba(27,58,122,0.3);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(27,58,122,0.4);
  color: white;
}
.btn-gold {
  background: var(--grad-gold);
  color: white;
  box-shadow: 0 4px 20px rgba(200,151,58,0.35);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(200,151,58,0.45);
  color: white;
}
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: white;
  color: white;
  transform: translateY(-3px);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-3px);
}

/* ── Hero Section ───────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.hero-slide.active { opacity: 1; }
.hero-slide-1 { background-image: url('../images/hero/hero-main.svg'); }
.hero-slide-2 { background-image: url('../images/hero/hero-2.svg'); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,37,87,0.92) 0%,
    rgba(27,58,122,0.75) 50%,
    rgba(15,37,87,0.55) 100%
  );
  z-index: 1;
}
.hero-overlay::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--white));
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
  padding: 100px 24px 80px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,151,58,0.2);
  border: 1px solid rgba(200,151,58,0.4);
  border-radius: 50px;
  padding: 6px 16px;
  color: var(--gold-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  animation: fadeInUp 0.8s var(--ease) both;
}
.hero-title {
  color: white;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  animation: fadeInUp 0.9s var(--ease) 0.1s both;
}
.hero-title .highlight {
  background: var(--grad-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
  animation: fadeInUp 1s var(--ease) 0.2s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 1.1s var(--ease) 0.3s both;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  animation: fadeInUp 1.2s var(--ease) 0.4s both;
}
.hero-stat {
  text-align: center;
}
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-light);
  display: block;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* Quick Contact Card */
.hero-contact-card {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.6);
  animation: fadeInRight 1s var(--ease) 0.2s both;
}
.hero-contact-card h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  color: var(--navy-dark);
}
.hero-contact-card .sub {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 14px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--mid-gray);
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: all 0.2s var(--ease);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  background: white;
  box-shadow: 0 0 0 3px rgba(27,58,122,0.08);
}
.form-group input::placeholder { color: var(--text-light); }
.hero-contact-card .btn { width: 100%; justify-content: center; margin-top: 4px; }

/* Hero Indicators */
.hero-indicators {
  position: absolute;
  bottom: 140px;
  left: 24px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}
.hero-dot.active {
  width: 28px;
  border-radius: 4px;
  background: var(--gold);
}

/* ── Section Styles ─────────────────────────────── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 120px 0; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  padding: 4px 16px;
  background: rgba(27,58,122,0.08);
  color: var(--navy);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; color: var(--text-light); }
.divider {
  width: 60px;
  height: 3px;
  background: var(--grad-gold);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ── About Section ──────────────────────────────── */
.about-section {
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}
.about-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(27,58,122,0.05) 0%, transparent 70%);
  border-radius: 50%;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.6s var(--ease);
}
.about-img-wrap:hover img { transform: scale(1.03); }
.about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--grad-navy);
  color: white;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}
.about-badge-icon {
  font-size: 1.8rem;
  color: var(--gold-light);
}
.about-badge-text strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
}
.about-badge-text span { font-size: 0.8rem; opacity: 0.8; }

.about-content .section-tag { text-align: left; }
.about-content h2 { text-align: left; }
.about-content p { margin-bottom: 20px; }
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  border-left: 3px solid var(--navy);
  transition: all 0.2s;
}
.about-feature:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}
.about-feature i { color: var(--navy); font-size: 1rem; }

/* ── Admission Guide ────────────────────────────── */
.admission-guide { background: white; }
.admission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.admission-steps { display: flex; flex-direction: column; gap: 24px; }
.admission-step {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--mid-gray);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.admission-step::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--mid-gray);
  transition: background 0.3s;
}
.admission-step.active::before,
.admission-step:hover::before { background: var(--grad-navy); }
.admission-step.active,
.admission-step:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}
.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--mid-gray);
  flex-shrink: 0;
  line-height: 1;
  transition: color 0.3s;
}
.admission-step.active .step-num,
.admission-step:hover .step-num { color: var(--navy); }
.step-content h4 { margin-bottom: 8px; color: var(--navy-dark); }
.step-content p { font-size: 0.9rem; margin: 0; }

.admission-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.admission-img img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}

/* ── Faculties ──────────────────────────────────── */
.faculties-section { background: var(--off-white); }
.faculties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
}
.faculty-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--mid-gray);
  transition: all 0.4s var(--ease);
  group: true;
}
.faculty-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.faculty-img {
  position: relative;
  overflow: hidden;
  height: 200px;
}
.faculty-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.faculty-card:hover .faculty-img img { transform: scale(1.08); }
.faculty-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,37,87,0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}
.faculty-card:hover .faculty-img-overlay { opacity: 1; }
.faculty-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.faculty-body {
  padding: 24px;
}
.faculty-body h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--navy-dark);
}
.faculty-body p {
  font-size: 0.875rem;
  margin-bottom: 16px;
  color: var(--text-light);
  line-height: 1.6;
}
.faculty-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  transition: gap 0.2s;
}
.faculty-link:hover { gap: 12px; color: var(--navy-dark); }

/* ── Why Choose Us ──────────────────────────────── */
.why-section {
  background: var(--grad-navy);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,151,58,0.1) 0%, transparent 60%);
  border-radius: 50%;
}
.why-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 60%);
  border-radius: 50%;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.why-content .section-tag {
  background: rgba(200,151,58,0.2);
  color: var(--gold-light);
}
.why-content h2 { color: white; margin-bottom: 20px; }
.why-content > p { color: rgba(255,255,255,0.8); margin-bottom: 40px; }
.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.why-feature {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  transition: all 0.3s var(--ease);
  backdrop-filter: blur(10px);
}
.why-feature:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}
.why-feature-icon {
  width: 48px;
  height: 48px;
  background: var(--grad-gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(200,151,58,0.35);
}
.why-feature h4 { color: white; margin-bottom: 6px; }
.why-feature p { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin: 0; }
.why-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.why-img-wrap img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-xl);
}
.why-img-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--grad-gold);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-glow);
}

/* ── Stats Bar ──────────────────────────────────── */
.stats-bar {
  background: white;
  padding: 48px 0;
  border-top: 1px solid var(--mid-gray);
  border-bottom: 1px solid var(--mid-gray);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  text-align: center;
  padding: 24px;
  border-right: 1px solid var(--mid-gray);
  position: relative;
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--navy);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}
.stat-icon {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 1.5rem;
  color: var(--mid-gray);
}

/* ── CTA Section ────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #1a3a8a 50%, var(--navy-dark) 100%);
  text-align: center;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}
.cta-content h2 { color: white; margin-bottom: 16px; }
.cta-content p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: 40px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Apply Form Section ─────────────────────────── */
.apply-section { background: var(--off-white); }
.apply-form-wrap {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-xl);
  padding: 56px 64px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--mid-gray);
}
.apply-form-wrap h2 { margin-bottom: 8px; }
.apply-form-wrap > p { margin-bottom: 40px; color: var(--text-light); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.apply-form .form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.apply-form .form-group input,
.apply-form .form-group select {
  background: var(--off-white);
  padding: 12px 16px;
}
.file-upload-area {
  border: 2px dashed var(--mid-gray);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}
.file-upload-area:hover {
  border-color: var(--navy);
  background: var(--light-gray);
}
.file-upload-area i { font-size: 2rem; color: var(--text-light); margin-bottom: 8px; }
.file-upload-area p { font-size: 0.875rem; color: var(--text-light); }

/* ── Inner Page Hero ────────────────────────────── */
.page-hero {
  background: var(--grad-navy);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.page-hero h1 { color: white; margin-bottom: 12px; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
}
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb i { font-size: 0.65rem; }

/* ── Content Section ────────────────────────────── */
.content-section { padding: 80px 0; }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
}
.content-main h2 { margin-bottom: 20px; }
.content-main p { margin-bottom: 20px; }
.content-main ul, .content-main ol {
  padding-left: 24px;
  margin-bottom: 20px;
}
.content-main li { margin-bottom: 8px; line-height: 1.7; color: var(--text-mid); }
.content-sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--mid-gray);
}
.sidebar-card h4 { margin-bottom: 16px; color: var(--navy-dark); }
.sidebar-link-list li { margin-bottom: 0; }
.sidebar-link-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--mid-gray);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.2s;
}
.sidebar-link-list li:last-child a { border-bottom: none; }
.sidebar-link-list a:hover { color: var(--navy); padding-left: 8px; }
.sidebar-link-list a i { color: var(--navy); font-size: 0.8rem; }

/* ── Gallery ────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,58,122,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay i { color: white; font-size: 2rem; }

/* ── Tuition Table ──────────────────────────────── */
.tuition-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.tuition-table thead {
  background: var(--grad-navy);
  color: white;
}
.tuition-table th, .tuition-table td {
  padding: 16px 20px;
  text-align: left;
  font-size: 0.9rem;
}
.tuition-table th { font-weight: 600; font-family: 'DM Sans', sans-serif; }
.tuition-table tbody tr:nth-child(even) { background: var(--off-white); }
.tuition-table tbody tr:hover { background: var(--light-gray); }
.tuition-table td:last-child { font-weight: 700; color: var(--navy); }

/* ── Visa Steps ─────────────────────────────────── */
.visa-timeline { position: relative; }
.visa-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--mid-gray);
}
.visa-step {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  position: relative;
}
.visa-step-num {
  width: 56px;
  height: 56px;
  background: var(--grad-navy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}
.visa-step-content {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 24px;
  flex: 1;
  border: 1px solid var(--mid-gray);
}
.visa-step-content h4 { margin-bottom: 8px; }

/* ── Representatives ────────────────────────────── */
.rep-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.rep-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--mid-gray);
  transition: all 0.3s var(--ease);
}
.rep-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.rep-flag {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.rep-card h4 { margin-bottom: 4px; }
.rep-card .country { color: var(--text-light); font-size: 0.85rem; margin-bottom: 16px; }
.rep-card .contact-info { display: flex; flex-direction: column; gap: 8px; }
.rep-card .contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-mid);
}
.rep-card .contact-item i { color: var(--navy); width: 16px; }

/* ── Testimonials ───────────────────────────────── */
.testimonials-section { background: var(--off-white); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--mid-gray);
  position: relative;
  transition: all 0.3s var(--ease);
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  font-family: 'Playfair Display', serif;
  color: var(--light-gray);
  line-height: 1;
}
.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 16px;
}
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--mid-gray);
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-light); }

/* ── Footer ─────────────────────────────────────── */
.site-footer { background: #080f22; color: rgba(255,255,255,0.8); }
.footer-top { padding: 80px 0 60px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 48px;
}
.footer-brand .footer-logo { height: 64px; width: auto; margin-bottom: 16px; filter: brightness(1.1); }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.footer-socials a:hover {
  background: var(--navy);
  transform: translateY(-3px);
  color: white;
}
.footer-col h4 {
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.footer-col ul li a::before {
  content: '›';
  color: var(--gold);
  font-size: 1rem;
}
.footer-col ul li a:hover { color: var(--gold-light); padding-left: 4px; }
.contact-list li {
  display: flex;
  gap: 12px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px !important;
  align-items: flex-start;
}
.contact-list i { color: var(--gold); width: 16px; flex-shrink: 0; margin-top: 2px; }
.contact-list a { color: rgba(255,255,255,0.6) !important; }
.contact-list a:hover { color: var(--gold-light) !important; }
.footer-map {
  margin-top: 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 140px;
  border: 1px solid rgba(255,255,255,0.1);
}
.footer-map iframe { width: 100%; height: 100%; border: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 0.8rem; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--gold-light); }

/* ── Back to Top ────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--grad-navy);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.3s var(--ease);
  z-index: 900;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ── Animations ─────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes counterUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Utility ────────────────────────────────────── */
.text-center { text-align: center; }
.text-navy { color: var(--navy); }
.mt-4  { margin-top: 1rem; }
.mt-8  { margin-top: 2rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-8  { margin-bottom: 2rem; }

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .why-grid { gap: 48px; }
}

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-contact-card { max-width: 460px; }
  .about-grid, .admission-grid, .why-grid, .content-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-img-wrap { order: -1; }
  .admission-img { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .form-row { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr; }
  .apply-form-wrap { padding: 40px 32px; }
}

@media (max-width: 1024px) {
  /* Slightly smaller logo text on mid screens */
  .logo-name { font-size: 0.82rem; max-width: 180px; }
  .logo-wrap { padding: 0 24px 0 16px; margin-right: 20px; }
}

@media (max-width: 768px) {
  /* Flatten logo block — remove angled clip on mobile */
  .logo-wrap {
    clip-path: none;
    border-radius: 0;
    padding: 0 16px;
    margin-right: 0;
    flex: 0 0 auto;
  }
  .header-inner {
    padding: 0 12px 0 0;
    min-height: 64px;
  }
  .logo-img { height: 48px; }
  .logo-name { font-size: 0.8rem; max-width: 150px; }

  /* Mobile Nav */
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(360px, 100vw);
    height: 100vh;
    background: white;
    padding: 80px 0 32px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s var(--ease);
    z-index: 995;
  }
  .main-nav.open { right: 0; }
  .nav-overlay { display: block; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
  .nav-overlay.active { opacity: 1; pointer-events: all; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 0 20px; }
  .nav-link { padding: 14px 8px; font-size: 1rem; }
  .nav-arrow { margin-left: auto; }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: all;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding-left: 16px;
    display: none;
    background: var(--off-white);
  }
  .dropdown::before { display: none; }
  .nav-item.dropdown-open .dropdown { display: block; }
  .hamburger { display: flex; }
  .hero { min-height: auto; padding: 40px 0; }
  .hero-stats { gap: 16px; }
  .faculties-grid { grid-template-columns: 1fr 1fr; }
  .why-features { grid-template-columns: 1fr; }
  .topbar-left { display: none; }
  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .faculties-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════
   UNIVERSITY PAGES — Enhanced Inner Page Styles
   ══════════════════════════════════════════════════ */

/* ── Page Hero (enhanced) ───────────────────────── */
.page-hero-bg {
  position: relative;
  background: var(--grad-navy);
  padding: 72px 0 56px;
  overflow: hidden;
  text-align: center;
}
.page-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0; right: 0;
  height: 64px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero-bg .page-tag {
  display: inline-block;
  background: rgba(200,151,58,0.2);
  border: 1px solid rgba(200,151,58,0.4);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.page-hero-bg h1 {
  color: white;
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3rem);
}
.page-hero-bg .breadcrumb { justify-content: center; }

/* ── Sidebar (redesigned) ───────────────────────── */
.inner-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-nav-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--mid-gray);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.sidebar-nav-title {
  background: var(--grad-navy);
  color: white;
  padding: 14px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-nav-title i { color: var(--gold-light); }
.sidebar-nav-list { padding: 8px 0; }
.sidebar-nav-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  border-left: 3px solid transparent;
  transition: all 0.2s var(--ease);
}
.sidebar-nav-list a:hover,
.sidebar-nav-list a.active {
  color: var(--navy);
  background: var(--off-white);
  border-left-color: var(--navy);
  padding-left: 24px;
}
.sidebar-nav-list a i {
  color: var(--gold);
  font-size: 0.5rem;
  flex-shrink: 0;
}
.sidebar-apply-card {
  background: var(--grad-navy);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sidebar-apply-card::before {
  content: '';
  position: absolute;
  top: -30px; right: -30px;
  width: 120px; height: 120px;
  background: rgba(200,151,58,0.15);
  border-radius: 50%;
}
.sidebar-apply-card h4 { color: white; margin-bottom: 8px; }
.sidebar-apply-card p { color: rgba(255,255,255,0.75); font-size: 0.85rem; margin-bottom: 20px; }
.sidebar-apply-card .btn { width: 100%; justify-content: center; }

.sidebar-contact-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--mid-gray);
}
.sidebar-contact-card h4 { margin-bottom: 16px; color: var(--navy-dark); font-size: 1rem; }
.contact-item-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: var(--text-mid);
}
.contact-item-row i {
  color: var(--navy);
  width: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-item-row a { color: var(--navy); font-weight: 500; }
.contact-item-row a:hover { text-decoration: underline; }

/* ── About University Page ──────────────────────── */
.about-uni-hero-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 64px;
}
.about-uni-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.about-uni-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.about-uni-img-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--grad-navy);
  color: white;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-md);
}
.about-uni-img-badge .badge-icon { font-size: 1.6rem; color: var(--gold-light); }
.about-uni-img-badge strong { display: block; font-size: 1.3rem; font-family: 'Playfair Display', serif; }
.about-uni-img-badge span { font-size: 0.78rem; opacity: 0.8; }

.about-highlight-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.highlight-box {
  background: white;
  border: 1px solid var(--mid-gray);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}
.highlight-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--gold);
}
.highlight-box-icon {
  width: 52px; height: 52px;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.3rem;
  color: var(--navy);
  transition: all 0.3s;
}
.highlight-box:hover .highlight-box-icon {
  background: var(--navy);
  color: white;
}
.highlight-box strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 6px;
}
.highlight-box span { font-size: 0.8rem; color: var(--text-light); font-weight: 500; }

.about-text-block { max-width: 100%; }
.about-text-block h3 {
  font-size: 1.5rem;
  color: var(--navy-dark);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--mid-gray);
  position: relative;
}
.about-text-block h3::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 48px; height: 2px;
  background: var(--gold);
}
.about-text-block p { margin-bottom: 18px; }

/* ── Rector Page ────────────────────────────────── */
.rector-profile {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 56px;
  margin-bottom: 48px;
  align-items: start;
}
.rector-photo-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--mid-gray);
  text-align: center;
}
.rector-photo-card img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}
.rector-photo-caption {
  padding: 20px;
  background: var(--grad-navy);
  color: white;
}
.rector-photo-caption strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 4px; }
.rector-photo-caption span { font-size: 0.8rem; opacity: 0.8; }
.rector-details h2 { margin-bottom: 8px; }
.rector-details .rector-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light-gray);
  color: var(--navy);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.rector-details p { margin-bottom: 16px; }
.rector-credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}
.credential-item {
  background: var(--off-white);
  border-radius: var(--radius-sm);
  padding: 16px;
  border-left: 3px solid var(--navy);
}
.credential-item .ci-label { font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.credential-item .ci-value { font-weight: 600; color: var(--text-dark); font-size: 0.9rem; }

/* ── History Page ───────────────────────────────── */
.history-timeline { position: relative; padding-left: 0; }
.history-era {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  margin-bottom: 48px;
  position: relative;
}
.history-era::before {
  content: '';
  position: absolute;
  left: 160px;
  top: 0; bottom: -48px;
  width: 2px;
  background: linear-gradient(to bottom, var(--navy), var(--mid-gray));
}
.history-era:last-child::before { display: none; }
.era-year-block {
  text-align: right;
  padding-right: 40px;
  position: relative;
  padding-top: 4px;
}
.era-year-block::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 10px;
  width: 14px; height: 14px;
  background: var(--navy);
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--navy);
  z-index: 1;
}
.era-year {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  display: block;
}
.era-tag {
  display: inline-block;
  background: var(--light-gray);
  color: var(--text-light);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  margin-top: 6px;
}
.era-content {
  background: white;
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.era-content::before {
  content: '';
  position: absolute;
  left: -8px; top: 16px;
  width: 16px; height: 16px;
  background: white;
  border-left: 1px solid var(--mid-gray);
  border-bottom: 1px solid var(--mid-gray);
  transform: rotate(45deg);
}
.era-content h4 { color: var(--navy-dark); margin-bottom: 12px; }
.era-content p { font-size: 0.9rem; margin-bottom: 10px; }
.era-content p:last-child { margin-bottom: 0; }

/* ── Awards Page ────────────────────────────────── */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}
.award-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--mid-gray);
  transition: all 0.35s var(--ease);
}
.award-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.award-img {
  height: 220px;
  overflow: hidden;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.award-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.award-card:hover .award-img img { transform: scale(1.06); }
.award-body {
  padding: 20px;
  border-top: 3px solid var(--gold);
}
.award-body h4 { margin-bottom: 6px; font-size: 1rem; }
.award-body p { font-size: 0.85rem; color: var(--text-light); margin: 0; }
.award-year-badge {
  display: inline-block;
  background: var(--gold);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}

/* ── Accreditation Page ─────────────────────────── */
.accred-lead {
  background: var(--grad-navy);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  margin-bottom: 44px;
  color: white;
  position: relative;
  overflow: hidden;
}
.accred-lead::before {
  content: '\f0a3';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8rem;
  color: rgba(255,255,255,0.05);
}
.accred-lead h2 { color: white; margin-bottom: 14px; }
.accred-lead p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin: 0; line-height: 1.8; }

.accred-bodies {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 44px;
}
.accred-body-card {
  background: white;
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: all 0.25s var(--ease);
  box-shadow: var(--shadow-sm);
}
.accred-body-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.accred-body-icon {
  width: 44px; height: 44px;
  background: var(--light-gray);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--navy);
  flex-shrink: 0;
  transition: all 0.25s;
}
.accred-body-card:hover .accred-body-icon {
  background: var(--navy);
  color: white;
}
.accred-body-card h4 { font-size: 0.9rem; margin-bottom: 4px; }
.accred-body-card p { font-size: 0.8rem; color: var(--text-light); margin: 0; }

/* ── Gallery Page ───────────────────────────────── */
.gallery-filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter-btn {
  padding: 7px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--mid-gray);
  background: white;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-masonry-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--off-white);
}
.gallery-masonry-item.tall { grid-row: span 2; }
.gallery-masonry-item img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.gallery-masonry-item:hover img { transform: scale(1.06); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,37,87,0.75) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}
.gallery-masonry-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay span {
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
}
.gallery-zoom {
  position: absolute;
  top: 14px; right: 14px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.9rem;
  opacity: 0;
  transition: all 0.25s;
  transform: scale(0.8);
}
.gallery-masonry-item:hover .gallery-zoom {
  opacity: 1;
  transform: scale(1);
}

/* ── International Dept Page ────────────────────── */
.intl-dept-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 56px;
}
.intl-profile-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--mid-gray);
  text-align: center;
}
.intl-profile-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.intl-profile-card .profile-caption {
  padding: 24px 20px;
  background: var(--grad-navy);
  color: white;
}
.intl-profile-card .profile-caption strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.1rem; margin-bottom: 4px; }
.intl-profile-card .profile-caption .role { font-size: 0.82rem; opacity: 0.85; margin-bottom: 10px; }
.intl-profile-card .profile-caption .email {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  transition: background 0.2s;
}
.intl-profile-card .profile-caption .email:hover { background: rgba(255,255,255,0.25); color: white; }

.intl-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}
.intl-feature {
  background: var(--off-white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.25s var(--ease);
}
.intl-feature:hover {
  border-color: var(--navy);
  background: white;
  box-shadow: var(--shadow-sm);
}
.intl-feature i {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 10px;
  display: block;
}
.intl-feature h5 { margin-bottom: 6px; font-size: 0.9rem; color: var(--navy-dark); }
.intl-feature p { font-size: 0.82rem; color: var(--text-light); margin: 0; line-height: 1.6; }

.partner-countries {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.country-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--light-gray);
  border: 1px solid var(--mid-gray);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.2s;
}
.country-pill:hover {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

/* ── Documents Page ─────────────────────────────── */
.doc-list-card {
  background: white;
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}
.doc-list-head {
  background: var(--off-white);
  padding: 16px 24px;
  border-bottom: 1px solid var(--mid-gray);
  display: flex;
  align-items: center;
  gap: 10px;
}
.doc-list-head h4 { font-size: 1rem; color: var(--navy-dark); margin: 0; }
.doc-list-head i { color: var(--navy); }
.doc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--light-gray);
  transition: background 0.2s;
}
.doc-item:last-child { border-bottom: none; }
.doc-item:hover { background: var(--off-white); }
.doc-icon {
  width: 44px; height: 44px;
  background: rgba(204,41,54,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.doc-info { flex: 1; }
.doc-info strong { display: block; font-size: 0.9rem; color: var(--text-dark); margin-bottom: 2px; }
.doc-info span { font-size: 0.78rem; color: var(--text-light); }
.doc-download {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1.5px solid var(--navy);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.2s;
  flex-shrink: 0;
}
.doc-download:hover {
  background: var(--navy);
  color: white;
}

/* ── Inner page responsive ──────────────────────── */
@media (max-width: 900px) {
  .about-uni-hero-block,
  .rector-profile,
  .intl-dept-grid { grid-template-columns: 1fr; gap: 32px; }
  .rector-photo-card { max-width: 360px; }
  .about-highlight-strip { grid-template-columns: repeat(2,1fr); }
  .history-era { grid-template-columns: 100px 1fr; gap: 24px; }
  .history-era::before { left: 100px; }
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); }
  .intl-features { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .about-highlight-strip { grid-template-columns: repeat(2,1fr); }
  .rector-credentials { grid-template-columns: 1fr; }
  .history-era { grid-template-columns: 1fr; }
  .history-era::before { display: none; }
  .era-year-block { text-align: left; padding-right: 0; padding-left: 0; }
  .era-year-block::after { display: none; }
  .gallery-masonry { grid-template-columns: 1fr 1fr; }
  .awards-grid { grid-template-columns: 1fr 1fr; }
  .accred-bodies { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════
   FACULTY & ABOUT REGION PAGES — Additional Styles
   ══════════════════════════════════════════════════ */

/* Faculty hero image block */
.faculty-hero-block {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 52px;
  align-items: start;
  margin-bottom: 52px;
}
.faculty-hero-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.faculty-hero-img img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  display: block;
}
.faculty-quick-facts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--navy);
  transition: all 0.2s;
}
.fact-row:hover { background: white; box-shadow: var(--shadow-sm); transform: translateX(4px); }
.fact-row i { color: var(--navy); font-size: 1.1rem; width: 20px; flex-shrink: 0; }
.fact-row div strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-light); margin-bottom: 2px; }
.fact-row div span { font-size: 0.9rem; font-weight: 600; color: var(--text-dark); }

/* Departments list */
.dept-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0;
}
.dept-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--mid-gray);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.2s;
}
.dept-item:hover { border-color: var(--navy); background: white; padding-left: 20px; }
.dept-item i { color: var(--gold); font-size: 0.6rem; flex-shrink: 0; }

/* Notable alumni / faculty */
.notable-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.notable-card {
  background: white;
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.25s;
  border-top: 3px solid var(--navy);
}
.notable-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.notable-card .nc-name { font-weight: 700; font-size: 0.9rem; color: var(--navy-dark); margin-bottom: 4px; }
.notable-card .nc-title { font-size: 0.8rem; color: var(--text-light); margin-bottom: 8px; }
.notable-card .nc-desc { font-size: 0.82rem; color: var(--text-mid); line-height: 1.6; margin: 0; }

/* Region info cards */
.region-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 32px 0;
}
.region-fact-card {
  background: white;
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s;
}
.region-fact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--navy); }
.region-fact-card .rfc-icon { font-size: 1.6rem; color: var(--navy); margin-bottom: 10px; display: block; }
.region-fact-card strong { display: block; font-size: 1.3rem; font-family: 'Playfair Display', serif; color: var(--navy); margin-bottom: 4px; }
.region-fact-card span { font-size: 0.8rem; color: var(--text-light); }

/* Reasons / benefits cards */
.reasons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 28px 0;
}
.reason-card {
  background: var(--off-white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: all 0.25s;
}
.reason-card:hover { background: white; border-color: var(--navy); box-shadow: var(--shadow-sm); }
.reason-card .rc-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--mid-gray);
  line-height: 1;
  margin-bottom: 8px;
  transition: color 0.25s;
}
.reason-card:hover .rc-num { color: var(--navy); }
.reason-card h5 { font-size: 0.95rem; color: var(--navy-dark); margin-bottom: 8px; }
.reason-card p { font-size: 0.85rem; color: var(--text-mid); margin: 0; line-height: 1.7; }

/* Content image float */
.content-img-full {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}

/* Section divider heading */
.content-h3 {
  font-size: 1.4rem;
  color: var(--navy-dark);
  margin: 40px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--mid-gray);
  position: relative;
}
.content-h3::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 48px; height: 2px;
  background: var(--gold);
}

@media (max-width: 900px) {
  .faculty-hero-block { grid-template-columns: 1fr; gap: 28px; }
  .region-facts-grid { grid-template-columns: 1fr 1fr; }
  .notable-grid { grid-template-columns: 1fr; }
  .reasons-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .region-facts-grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════
   UNIVERSITY PAGES — Component Styles
   ══════════════════════════════════════════════════ */

/* About University — Hero block */
.about-uni-hero-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
  margin-bottom: 36px;
}
.about-uni-img { position: relative; border-radius: var(--radius-lg); overflow: visible; }
.about-uni-img img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius-lg); display: block; box-shadow: var(--shadow-md);
}
.about-uni-img-badge {
  position: absolute; bottom: -16px; right: -16px;
  background: var(--grad-navy); color: white;
  padding: 14px 20px; border-radius: var(--radius-md);
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-md);
}
.about-uni-img-badge .badge-icon { font-size: 1.6rem; color: var(--gold-light); }
.about-uni-img-badge strong { display: block; font-size: 1.3rem; font-family: 'Playfair Display',serif; color: white; line-height: 1; }
.about-uni-img-badge span { font-size: 0.75rem; opacity: 0.8; }

/* Highlight Stats strip */
.about-highlight-strip {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: var(--mid-gray);
  border: 1px solid var(--mid-gray); border-radius: var(--radius-md);
  overflow: hidden; margin-bottom: 48px;
}
.highlight-box {
  background: white; padding: 22px 16px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: background 0.2s;
}
.highlight-box:hover { background: var(--off-white); }
.highlight-box-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(27,58,122,0.08); display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.highlight-box strong { font-size: 1.5rem; font-family: 'Playfair Display',serif; color: var(--navy-dark); line-height: 1; }
.highlight-box span { font-size: 0.75rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.05em; }

/* Rector Credentials grid */
.rector-credentials {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.credential-item {
  background: var(--off-white); border: 1px solid var(--mid-gray);
  border-radius: var(--radius-sm); padding: 14px 18px;
  border-left: 3px solid var(--navy);
}
.ci-label { font-size: 0.73rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-light); margin-bottom: 4px; }
.ci-value { font-size: 0.9rem; font-weight: 700; color: var(--navy-dark); }

/* Documents list card */
.doc-list-card {
  background: white; border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.doc-list-head {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 24px; background: var(--off-white);
  border-bottom: 1px solid var(--mid-gray);
}
.doc-list-head i { color: var(--navy); font-size: 1.1rem; }
.doc-list-head h4 { margin: 0; font-size: 1rem; color: var(--navy-dark); }
.doc-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-bottom: 1px solid var(--mid-gray);
  transition: background 0.2s;
}
.doc-item:last-child { border-bottom: none; }
.doc-item:hover { background: var(--off-white); }
.doc-icon { width: 40px; height: 40px; background: rgba(204,41,54,0.08); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--red); font-size: 1.1rem; flex-shrink: 0; }
.doc-info { flex: 1; min-width: 0; }
.doc-info strong { display: block; font-size: 0.875rem; color: var(--text-dark); margin-bottom: 3px; }
.doc-info span { font-size: 0.78rem; color: var(--text-light); }
.doc-download {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; background: var(--navy); color: white;
  border-radius: var(--radius-sm); font-size: 0.8rem; font-weight: 600;
  transition: background 0.2s; white-space: nowrap; flex-shrink: 0;
  text-decoration: none;
}
.doc-download:hover { background: var(--navy-dark); }

/* History Timeline */
.history-timeline { display: flex; flex-direction: column; gap: 0; }
.history-era {
  display: grid; grid-template-columns: 140px 1fr;
  gap: 0; position: relative;
}
.history-era::before {
  content: ''; position: absolute;
  left: 139px; top: 0; bottom: 0;
  width: 2px; background: var(--mid-gray);
  z-index: 0;
}
.history-era:first-child::before { top: 24px; }
.history-era:last-child::before { bottom: calc(100% - 24px); }
.era-year-block {
  padding: 24px 20px 24px 0;
  text-align: right; position: relative; flex-shrink: 0;
}
.era-year-block::after {
  content: ''; position: absolute;
  right: -7px; top: 28px;
  width: 14px; height: 14px;
  background: var(--navy); border-radius: 50%;
  border: 3px solid white; box-shadow: 0 0 0 2px var(--navy);
  z-index: 1;
}
.era-year {
  display: block; font-family: 'Playfair Display',serif;
  font-size: 1.15rem; font-weight: 800; color: var(--navy-dark);
  line-height: 1;
}
.era-tag {
  display: inline-block; margin-top: 5px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--gold); background: rgba(200,151,58,0.12);
  padding: 2px 8px; border-radius: 20px;
}
.era-content {
  padding: 20px 0 32px 32px;
  border-left: none;
}
.era-content h4 {
  font-size: 1.05rem; color: var(--navy-dark);
  margin-bottom: 12px;
}
.era-content p { font-size: 0.9rem; margin-bottom: 10px; line-height: 1.75; }
.era-content p:last-child { margin-bottom: 0; }

/* Accreditation Components */
.accred-lead {
  background: var(--grad-navy); border-radius: var(--radius-lg);
  padding: 36px 40px; margin-bottom: 36px;
}
.accred-lead h2 { color: white; font-size: 1.6rem; margin-bottom: 12px; }
.accred-lead p { color: rgba(255,255,255,0.82); margin: 0; font-size: 0.95rem; line-height: 1.75; }

.accred-bodies {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.accred-body-card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px 20px;
  background: white; border: 1px solid var(--mid-gray);
  border-radius: var(--radius-md); transition: all 0.25s;
}
.accred-body-card:hover { border-color: var(--navy); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.accred-body-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(27,58,122,0.08); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 1.1rem;
}
.accred-body-card h4 { font-size: 0.875rem; color: var(--navy-dark); margin-bottom: 5px; }
.accred-body-card p { font-size: 0.8rem; color: var(--text-light); margin: 0; line-height: 1.5; }

/* Partner Countries / Pills */
.partner-countries { display: flex; flex-wrap: wrap; gap: 8px; }
.country-pill {
  display: inline-block; padding: 5px 12px;
  background: var(--off-white); border: 1px solid var(--mid-gray);
  border-radius: 50px; font-size: 0.8rem; color: var(--text-mid);
  transition: all 0.2s; cursor: default;
}
.country-pill:hover { background: var(--navy); color: white; border-color: var(--navy); }

/* International Dept features grid */
.intl-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 20px;
}
.intl-feature {
  background: var(--off-white); border: 1px solid var(--mid-gray);
  border-radius: var(--radius-md); padding: 22px 20px;
  transition: all 0.25s;
}
.intl-feature:hover { background: white; border-color: var(--navy); box-shadow: var(--shadow-sm); }
.intl-feature > i {
  display: block; font-size: 1.4rem; color: var(--navy);
  margin-bottom: 10px;
}
.intl-feature h5 { font-size: 0.9rem; color: var(--navy-dark); margin-bottom: 8px; }
.intl-feature p { font-size: 0.82rem; color: var(--text-light); margin: 0; line-height: 1.65; }

/* Mobile responsive */
@media (max-width: 900px) {
  .about-uni-hero-block { grid-template-columns: 1fr; }
  .about-highlight-strip { grid-template-columns: 1fr 1fr; }
  .rector-credentials { grid-template-columns: 1fr; }
  .accred-bodies { grid-template-columns: 1fr; }
  .intl-features { grid-template-columns: 1fr; }
  .history-era { grid-template-columns: 100px 1fr; }
  .history-era::before { left: 99px; }
}
@media (max-width: 540px) {
  .about-highlight-strip { grid-template-columns: 1fr 1fr; }
  .about-uni-img-badge { right: 0; bottom: -12px; }
  .history-era { grid-template-columns: 1fr; }
  .history-era::before { display: none; }
  .era-year-block { text-align: left; padding: 12px 0 0; }
  .era-year-block::after { display: none; }
  .era-content { padding: 8px 0 24px 0; }
}

/* ══════════════════════════════════════════════════
   GLOBAL FONT & VISIBILITY FIXES
   ══════════════════════════════════════════════════ */

/* Ensure Google Fonts actually load */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700;800&family=DM+Sans:wght@400;500;600&display=swap');

/* Force clear font rendering everywhere */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ── section utility (used on homepage) ── */
.section { padding: 96px 0; }

/* ── btn class required by homepage ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--bounce);
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary {
  background: var(--grad-navy);
  color: white !important;
  box-shadow: 0 4px 20px rgba(27,58,122,0.3);
}
.btn-primary:hover { transform:translateY(-3px); box-shadow:0 8px 30px rgba(27,58,122,0.4); color:white; }
.btn-gold {
  background: var(--grad-gold);
  color: white !important;
  box-shadow: 0 4px 20px rgba(200,151,58,0.35);
}
.btn-gold:hover { transform:translateY(-3px); box-shadow:0 8px 30px rgba(200,151,58,0.45); }
.btn-outline {
  background: transparent;
  color: white !important;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { background:rgba(255,255,255,0.15); border-color:white; transform:translateY(-3px); }

/* ── inner-card alias (used on gallery page) ── */
.inner-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--mid-gray);
}

/* ── hero-contact-card label fix ── */
.hero-contact-card label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}

/* ── about-features in homepage context ── */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0;
}
.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  border-left: 3px solid var(--navy);
}
.about-feature i { color: var(--navy); }

/* ── Admission guide dark section responsive ── */
@media (max-width: 900px) {
  .admission-grid,
  [style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  .admission-img { display: none; }
}

/* ── Gallery grid responsive ── */
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .inner-card { padding: 24px 20px; }
}

/* ══════════════════════════════════════════════════
   MISSING CLASSES FIX + RESPONSIVE + ANIMATIONS
   ══════════════════════════════════════════════════ */

/* ── Keyframe Animations ────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(200,151,58,0.45); }
  70%  { box-shadow: 0 0 0 12px rgba(200,151,58,0); }
  100% { box-shadow: 0 0 0 0 rgba(200,151,58,0); }
}

/* animate-on-scroll base state */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: none;
}
.animate-on-scroll.delay-1 { transition-delay: 0.12s; }
.animate-on-scroll.delay-2 { transition-delay: 0.24s; }
.animate-on-scroll.delay-3 { transition-delay: 0.36s; }
.animate-on-scroll.delay-4 { transition-delay: 0.48s; }

/* ── Nav overlay ────────────────────────────────── */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 994;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
@media (max-width: 768px) {
  .nav-overlay { display: block; }
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Hide mobile-only nav items on desktop */
.nav-apply-mobile { display: none; }
@media (max-width: 768px) {
  .nav-apply-mobile { display: block; }
}

/* ── Hamburger base ─────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-dark);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── footer-heading / footer-tagline / footer contact ── */
.footer-heading {
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.footer-links li { margin-bottom: 9px; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}
.footer-links a::before {
  content: '›';
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}
.footer-contact-item i { color: var(--gold); width: 16px; flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.6); }
.footer-contact-item a:hover { color: var(--gold-light); }
.footer-social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  transition: all 0.25s;
}
.footer-social-link:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-3px);
}
.footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 16px;
}

/* Footer grid fix — 4 columns matching PHP output */
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding: 72px 0 56px;
}

/* Footer bottom fix */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: var(--gold-light); }

/* ── Scroll-to-top button ───────────────────────── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: var(--grad-navy);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.2s;
  z-index: 900;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.scroll-top:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* ── Apply Online page ──────────────────────────── */
.apply-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 52px;
  align-items: start;
}
.apply-form-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--mid-gray);
}
.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 4px;
}
.form-subtitle {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 28px;
}
.form-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--navy);
  margin: 20px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--light-gray);
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--mid-gray);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--off-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,58,122,0.10);
  background: white;
}
.form-group select { cursor: pointer; }
.upload-zone {
  border: 2px dashed var(--mid-gray);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
  background: var(--off-white);
}
.upload-zone:hover {
  border-color: var(--navy);
  background: rgba(27,58,122,0.04);
}
.btn-block {
  display: flex;
  width: 100%;
  justify-content: center;
}
.apply-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.apply-contact-icon {
  width: 42px; height: 42px;
  background: rgba(27,58,122,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1rem;
  flex-shrink: 0;
}
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(200,151,58,0.1);
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

/* ── Header responsive fixes ─────────────────────── */
@media (max-width: 1024px) {
  .main-nav { display: flex; }
  .header-cta { flex-shrink: 0; }
  .nav-link { padding: 8px 10px; font-size: 0.82rem; }
}
@media (max-width: 900px) {
  .header-cta .btn-apply { font-size: 0.82rem; padding: 9px 16px; }
}
@media (max-width: 768px) {
  .hamburger { display: flex !important; }
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(360px, 90vw);
    height: 100vh;
    background: white;
    padding: 80px 0 32px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transition: right 0.38s var(--ease);
    z-index: 995;
    flex-direction: column;
  }
  .main-nav.open { right: 0; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 0 16px; }
  .nav-link { padding: 14px 8px; font-size: 1rem; border-bottom: 1px solid var(--light-gray); }
  .nav-arrow { margin-left: auto; }
  .dropdown {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: all;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    display: none;
    background: var(--off-white);
  }
  .dropdown::before { display: none; }
  .nav-item.dropdown-open > .dropdown { display: block; }
  .header-cta { display: none; }

  /* Apply Online button inside mobile nav drawer */
  .nav-apply-mobile {
    padding: 20px 16px 8px;
    border-top: 1px solid var(--mid-gray);
    margin-top: 8px;
  }
  .nav-apply-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 24px;
    background: var(--grad-navy);
    color: white !important;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(27,58,122,0.3);
    transition: all 0.3s var(--bounce);
    text-decoration: none;
    letter-spacing: 0.02em;
  }
  .nav-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(27,58,122,0.45);
  }
  .nav-apply-btn i { font-size: 0.9rem; }
}

/* ── Apply page responsive ──────────────────────── */
@media (max-width: 900px) {
  .apply-grid { grid-template-columns: 1fr; gap: 32px; }
  .apply-form-card { padding: 32px 24px; }
}
@media (max-width: 540px) {
  .apply-form-card { padding: 24px 16px; }
  .form-row { grid-template-columns: 1fr !important; }
}

/* ── Footer responsive ──────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; padding: 48px 0 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-bottom-links { gap: 12px; }
  .scroll-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

/* ── Homepage hero animation ───────────────────── */
.hero { animation: fadeIn 0.4s ease both; }
.page-hero, .page-hero-bg { animation: fadeIn 0.5s ease both; }

