/* ============================================
   R.P. Veterinary Training College
   Color Scheme: Blue (#1a3a6b, #1e4d8c, #2563a8) + Orange/Yellow (#e87b35, #f59e0b, #fbbf24)
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #374151;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1500px; margin: 0 auto; padding: 0.5rem 1.25rem; }
.text-center { text-align: center; }

/* --- Color Variables --- */
:root {
  --blue-900: #0f1f3d;
  --blue-800: #1a3a6b;
  --blue-700: #1e4d8c;
  --blue-600: #2563a8;
  --blue-500: #3b82c4;
  --blue-400: #60a5e0;
  --blue-300: #93c5fd;
  --blue-200: #bfdbfe;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff;
  --orange-600: #d97706;
  --orange-500: #e87b35;
  --orange-400: #f59e0b;
  --orange-300: #fbbf24;
  --orange-200: #fcd34d;
  --orange-100: #fef3c7;
  --orange-50: #fffbeb;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

/* --- Icon Font (inline SVG via pseudo-elements) --- */
.icon-phone::before { content: "📞"; font-size: 0.75em; margin-right: 4px; }
.icon-mail::before { content: "✉"; font-size: 0.75em; margin-right: 4px; }
.icon-check::before { content: "✓"; font-weight: 700; color: var(--blue-600); margin-right: 8px; }
.icon-eye::before { content: "👁"; display: block; font-size: 1.3em; margin-bottom: 6px; }
.icon-target::before { content: "🎯"; display: block; font-size: 1.3em; margin-bottom: 6px; }
.icon-grad::before { content: "🎓"; font-size: 1.5em; }
.icon-users::before { content: "👥"; font-size: 1.5em; }
.icon-flask::before { content: "🔬"; font-size: 1.5em; }
.icon-trophy::before { content: "🏆"; font-size: 1.5em; }
.icon-award::before { content: "🏅"; margin-right: 4px; }
.icon-book::before { content: "📖"; margin-right: 4px; }
.icon-clock::before { content: "⏱"; margin-right: 4px; font-size: 0.85em; }
.icon-file::before { content: "📄"; margin-right: 4px; font-size: 0.85em; }
.icon-credit::before { content: "💳"; font-size: 1.3em; }
.icon-calendar::before { content: "📅"; font-size: 1.3em; }
.icon-user-check::before { content: "✅"; font-size: 1.3em; }
.icon-steth::before { content: "🩺"; font-size: 1.3em; }
.icon-building::before { content: "🏠"; font-size: 1.3em; }
.icon-lib::before { content: "📚"; font-size: 1.3em; }
.icon-dumbbell::before { content: "🏋"; font-size: 1.3em; }
.icon-wifi::before { content: "📶"; font-size: 1.3em; }
.icon-grad-sm::before { content: "🎓"; margin-right: 3px; font-size: 0.8em; }
.icon-star::before { content: "⭐"; margin-right: 3px; font-size: 0.8em; }
.icon-calendar-sm::before { content: "📅"; margin-right: 3px; font-size: 0.8em; }
.icon-pin::before { content: "📍"; font-size: 1.3em; }
.icon-pin-sm::before { content: "📍"; margin-right: 4px; font-size: 0.8em; }
.icon-phone-sm::before { content: "📞"; margin-right: 4px; font-size: 0.8em; }
.icon-mail-sm::before { content: "✉"; margin-right: 4px; font-size: 0.8em; }
.icon-pin-lg::before { content: "📍"; font-size: 2em; display: block; margin-bottom: 6px; }
.icon-send::before { content: "➤"; margin-right: 6px; font-size: 0.85em; }

/* --- Top Bar --- */
.top-bar {
  background: var(--blue-900);
  color: #fff;
  font-size: 0.8rem;
  padding: 0.4rem 0;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left { display: flex; gap: 1.5rem; }
.top-bar-left a { color: #fff; transition: color 0.2s; }
.top-bar-left a:hover { color: var(--blue-300); }
.top-bar-right { display: flex; align-items: center; gap: 0.75rem; font-size: 0.75rem; }
.top-bar-right a { color: #fff; transition: color 0.2s; }
.top-bar-right a:hover { color: var(--blue-300); }
.btn-apply-top {
  background: var(--orange-500);
  color: #fff !important;
  padding: 0.2rem 0.75rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
  transition: background 0.2s;
}
.btn-apply-top:hover { background: var(--orange-400) !important; color: #fff !important; }
.divider { color: var(--blue-400); }

/* --- Header --- */
.header {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s;
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue-800);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(26,58,107,0.3);
}
.logo-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue-800);
  line-height: 1.2;
}
.logo-subtitle {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.logo-tagline {
  font-size: 0.7rem;
  color: var(--gray-500);
}

/* --- Nav --- */
.nav { display: flex; align-items: center; gap: 0; }
.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-700);
  border-radius: 6px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link:hover, .nav-link.active { color: var(--blue-700); background: var(--blue-50); }
/*.chevron::before { content: "▾"; font-size: 0.65em; }
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 200px;
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.12);
  padding: 0.25rem 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: all 0.15s;
  z-index: 50;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.dropdown-menu a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  color: var(--gray-700);
  transition: all 0.15s;
}
.dropdown-menu a:hover { background: var(--blue-50); color: var(--blue-700); }*/

/* --- Mobile Toggle --- */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-nav {
  display: none;
  background: #fff;
  border-top: 1px solid var(--gray-100);
  padding: 0.75rem 1.25rem;
  flex-direction: column;
  gap: 0.25rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 0.6rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: 6px;
  transition: all 0.2s;
}
.mobile-nav a:hover { background: var(--blue-50); color: var(--blue-700); }
.btn-apply-mobile {
  margin-top: 0.5rem;
  background: var(--orange-500) !important;
  color: #fff !important;
  text-align: center;
  font-weight: 700;
  border-radius: 8px;
}

/* --- Hero --- */
.hero {
  position: relative;
  height: 90vh;
  min-height: 500px;
  max-height: 550px;
  overflow: hidden;
}
.hero-slides { position: relative; width: 100%; height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 1;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,31,61,0.88) 0%, rgba(30,77,140,0.65) 60%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 750px;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-badge {
  display: inline-block;
  background: var(--orange-500);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  width: fit-content;
}
.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 3.0rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero p {
  font-size: 1.1rem;
  color: var(--blue-200);
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-primary {
  background: var(--orange-500);
  color: #fff;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
}
.btn-primary:hover { background: var(--orange-400); box-shadow: 0 8px 24px rgba(232,123,53,0.3); transform: translateY(-1px); }
.btn-outline {
  background: rgba(255,255,255,1);
  color: #000;
  border: 1px solid rgba(255,255,255,0.3);
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}
.btn-outline:hover { background: rgba(255,255,255,0.2); }
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s;
}
.hero-arrow:hover { background: rgba(255,255,255,0.3); }
.hero-arrow-left { left: 1rem; }
.hero-arrow-right { right: 1rem; }
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.dot.active { width: 28px; background: var(--orange-400); }
.hero-badges {
  position: absolute;
  bottom: 3.5rem;
  left: 2rem;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgb(26 58 107 / 76%);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

/* --- Marquee --- */
.marquee-bar {
  background: var(--blue-800);
  color: #fff;
  padding: 0.55rem 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.marquee-label {
  flex-shrink: 0;
  background: var(--orange-500);
  color: #fff;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.2rem 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 2;
}
.marquee-track { overflow: hidden; flex: 1; }
.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee 40s linear infinite;
  font-size: 0.85rem;
  color: var(--blue-200);
}
.marquee-content:hover { animation-play-state: paused; }
.marquee-sep { color: var(--orange-400); margin: 0 1.5rem; }
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Sections --- */
.section { padding: 3.4rem 0; }
.section-alt { background: var(--gray-50); }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-600);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--gray-900);
  margin-top: 0.5rem;
}
.section-line {
  width: 64px;
  height: 4px;
  background: var(--orange-500);
  border-radius: 999px;
  margin: 0.75rem auto 0;
}
.section-desc {
  margin-top: 1rem;
  color: var(--gray-600);
  font-size: 0.9rem;
  max-width: 890px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-weight: 700;
}
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
  gap: 1rem;
}
.view-all-link {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--blue-700);
  white-space: nowrap;
  transition: color 0.2s;
}
.view-all-link:hover { color: var(--blue-900); }

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-image-wrap { position: relative; }
.about-image {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.7s;
}
.about-image:hover { transform: scale(1.03); }
.about-badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: var(--blue-800);
  color: #fff;
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 30px rgba(26,58,107,0.3);
}
.about-badge-num { font-size: 2.2rem; font-weight: 900; line-height: 1; }
.about-badge-text { font-size: 0.8rem; color: var(--blue-300); margin-top: 0.25rem; font-weight: 500; }
.about-content p { color: var(--gray-600); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.25rem; }
.about-highlights { margin-bottom: 2rem; }
.about-highlights li {
  display: flex;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--gray-700);
  margin-bottom: 0.6rem;
}
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-card {
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid;
}
.about-card-vision { background: var(--blue-50); border-color: var(--blue-200); }
.about-card-mission { background: var(--orange-50); border-color: var(--orange-100); }
.about-card h4 { font-weight: 700; font-size: 0.85rem; color: var(--gray-800); margin-bottom: 0.35rem; }
.about-card p { font-size: 0.75rem; color: var(--gray-600); line-height: 1.6; margin: 0; }

/* --- Stats --- */
.stats-section {
  background: var(--blue-800);
  padding: 3.5rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.stat-item { text-align: center; }
.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: 1rem;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  transition: background 0.2s;
}
.stat-item:hover .stat-icon { background: rgba(255,255,255,0.2); }
.stat-value { font-size: 2.2rem; font-weight: 900; color: #fff; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.85rem; color: var(--blue-300); font-weight: 500; }
.stat-line { width: 32px; height: 3px; border-radius: 999px; margin: 0.5rem auto 0; }
.stat-line-1 { background: var(--orange-400); }
.stat-line-2 { background: var(--orange-300); }
.stat-line-3 { background: var(--blue-400); }
.stat-line-4 { background: #ef4444; }

/* --- Programs --- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}
.program-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.3s;
}
.program-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); transform: translateY(-4px); }
.program-image { position: relative; height: 176px; overflow: hidden; }
.program-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.program-card:hover .program-image img { transform: scale(1.05); }
.program-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
}
.program-badge-ug { background: var(--blue-100); color: var(--blue-800); }
.program-badge-pg { background: #dbeafe; color: #1e40af; }
.program-badge-doc { background: var(--orange-100); color: #92400e; }
.program-title-overlay {
  position: absolute;
  bottom: 0.75rem;
  left: 1rem;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1;
}
.program-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}
.program-body { padding: 1.25rem; }
.program-body h4 { font-weight: 600; font-size: 0.85rem; color: var(--gray-800); margin-bottom: 0.75rem; line-height: 1.4; }
.program-detail { font-size: 0.78rem; color: var(--gray-600); margin-bottom: 0.5rem; display: flex; align-items: flex-start; gap: 0.35rem; }
.program-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.75rem 0; }
.program-tags span {
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.72rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-weight: 500;
}
.program-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-700);
  transition: color 0.2s;
}
.program-link:hover { color: var(--blue-900); }

/* --- Departments --- */
.departments-box {
  background: #fff;
  border-radius: 1rem;
  border: 1px solid var(--gray-100);
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.departments-box h3 { font-weight: 900; font-size: 1.1rem; color: var(--gray-900); margin-bottom: 1.25rem; }
.departments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.dept-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gray-50);
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-700);
  border: 1px solid transparent;
  transition: all 0.2s;
  cursor: default;
}
.dept-item:hover { background: var(--blue-50); color: var(--blue-700); border-color: var(--blue-200); }
.dept-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--blue-600); flex-shrink: 0; }

/* --- Facilities --- */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.facility-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid var(--gray-100);
  transition: all 0.3s;
}
.facility-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); transform: translateY(-4px); }
.facility-image { height: 176px; overflow: hidden; }
.facility-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.facility-card:hover .facility-image img { transform: scale(1.05); }
.facility-body { padding: 1.25rem; }
.facility-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.facility-icon-1 { background: var(--blue-100); }
.facility-icon-2 { background: #dbeafe; }
.facility-icon-3 { background: var(--orange-100); }
.facility-icon-4 { background: #fef2f2; }
.facility-icon-5 { background: #f0fdfa; }
.facility-icon-6 { background: var(--gray-100); }
.facility-body h3 { font-weight: 700; font-size: 0.95rem; color: var(--gray-900); margin-bottom: 0.5rem; }
.facility-body p { font-size: 0.82rem; color: var(--gray-500); line-height: 1.6; }

/* Hostel Banner */
.hostel-banner {
  margin-top: 2.5rem;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  height: 210px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.hostel-banner-img { width: 100%; height: 100%; object-fit: cover; }
.hostel-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15,31,61,0.85), rgba(30,77,140,0.4));
}
.hostel-banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 3rem;
}
.hostel-banner-content h3 { color: #fff; font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 900; margin-bottom: 0.5rem; }
.hostel-banner-content p { color: var(--blue-200); font-size: 0.85rem; max-width: 500px; line-height: 1.6; }

/* --- Admissions Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}
.step-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--gray-100);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.step-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.step-num {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--gray-50);
  line-height: 1;
  pointer-events: none;
  transition: color 0.2s;
}
.step-card:hover .step-num { color: var(--blue-50); }
.step-icon {
  width: 44px;
  height: 44px;
  border-radius: 0.65rem;
  background: var(--blue-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.step-card h4 { font-weight: 700; font-size: 0.85rem; color: var(--gray-900); margin-bottom: 0.5rem; }
.step-card p { font-size: 0.75rem; color: var(--gray-500); line-height: 1.6; }

/* --- Info Tables --- */
.dates-fees-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.info-table {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.info-table-header {
  padding: 1rem 1.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: #fff;
}
.info-table-header-blue { background: var(--blue-700); }
.info-table-header-orange { background: var(--orange-500); }
.info-table-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.5rem;
  font-size: 0.85rem;
}
.info-table-row-alt { background: var(--gray-50); }
.info-table-val { color: var(--blue-700); font-weight: 600; white-space: nowrap; margin-left: 1rem; }
.info-table-footer {
  padding: 1rem 1.5rem;
  background: var(--orange-50);
  border-top: 1px solid var(--orange-100);
  font-size: 0.75rem;
  color: #92400e;
}

/* --- Admissions CTA --- */
.admissions-cta {
  margin-top: -120px !important;
  background: var(--blue-800);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.admissions-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08), transparent 60%);
}
.admissions-cta h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  position: relative;
}
.admissions-cta p {
  color: var(--blue-200);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.admissions-cta-btns {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  position: relative;
}

/* --- Faculty --- */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.faculty-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.3s;
}
.faculty-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); transform: translateY(-4px); }
.faculty-image { height: 210px; overflow: hidden; background: var(--gray-100); }
.faculty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.7s;
}
.faculty-card:hover .faculty-image img { transform: scale(1.05); }
.faculty-body { padding: 1.25rem; }
.faculty-body h3 { font-weight: 700; font-size: 0.95rem; color: var(--gray-900); margin-bottom: 0.15rem; }
.faculty-title { font-size: 0.82rem; font-weight: 600; color: var(--blue-700); margin-bottom: 0.15rem; }
.faculty-dept { font-size: 0.75rem; color: var(--gray-500); margin-bottom: 0.75rem; }
.faculty-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.faculty-tag {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  background: var(--gray-50);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  color: var(--gray-600);
}

/* --- News --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.news-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.3s;
}
.news-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.1); transform: translateY(-4px); }
.news-image { height: 176px; overflow: hidden; }
.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.news-card:hover .news-image img { transform: scale(1.05); }
.news-body { padding: 1.25rem; }
.news-meta { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.news-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}
.news-tag-blue { background: #dbeafe; color: #1e40af; }
.news-tag-green { background: #dcfce7; color: #166534; }
.news-tag-orange { background: var(--orange-100); color: #92400e; }
.news-tag-red { background: #fef2f2; color: #991b1b; }
.news-tag-teal { background: #f0fdfa; color: #115e59; }
.news-tag-orange2 { background: #fff7ed; color: #9a3412; }
.news-date { font-size: 0.72rem; color: var(--gray-400); display: flex; align-items: center; gap: 0.2rem; }
.news-body h3 {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gray-900);
  line-height: 1.4;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.news-card:hover .news-body h3 { color: var(--blue-700); }
.news-body p { font-size: 0.75rem; color: var(--gray-500); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-700);
  transition: color 0.2s;
}
.news-link:hover { color: var(--blue-900); }

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-info-card {
  background: var(--gray-50);
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--gray-100);
  transition: border-color 0.2s;
}
.contact-info-card:hover { border-color: var(--blue-200); }
.contact-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.contact-info-icon-1 { background: var(--blue-100); }
.contact-info-icon-2 { background: #dbeafe; }
.contact-info-icon-3 { background: var(--orange-100); }
.contact-info-icon-4 { background: #fef2f2; }
.contact-info-card h4 { font-weight: 700; font-size: 0.82rem; color: var(--gray-800); margin-bottom: 0.5rem; }
.contact-info-card p { font-size: 0.75rem; color: var(--gray-500); line-height: 1.6; margin: 0; }

.contact-map {
  border-radius: 1rem;
  overflow: hidden;
  height: 224px;
  position: relative;
  background: var(--gray-200);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.contact-map img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.contact-map-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.contact-map-text { font-weight: 700; font-size: 0.85rem; color: var(--gray-800); }
.contact-map-btn {
  margin-top: 0.5rem;
  font-size: 0.72rem;
  background: rgba(255,255,255,0.9);
  color: var(--blue-700);
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: background 0.2s;
}
.contact-map-btn:hover { background: #fff; }

/* Contact Form */
.contact-form-wrap {
  background: var(--gray-50);
  border-radius: 1rem;
  padding: 1.75rem 2rem;
  border: 1px solid var(--gray-100);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.contact-form-wrap h3 { font-weight: 900; font-size: 1.25rem; color: var(--gray-900); margin-bottom: 0.25rem; }
.contact-form-wrap > p { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 0.35rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 0.65rem;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-family: inherit;
  background: #fff;
  color: var(--gray-700);
  transition: all 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: transparent;
  box-shadow: 0 0 0 2px var(--blue-500);
}
.form-group textarea { resize: none; }
.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 0.85rem;
  font-size: 0.875rem;
}
.form-success {
  display: none;
  margin-top: 1rem;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  color: #166534;
  border-radius: 0.65rem;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
}
.form-success.show { display: block; }

/* --- Footer --- */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding-top: 3.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 2.5rem;
  justify-items: center;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.footer-brand p { font-size: 0.82rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer-contact-list { font-size: 0.75rem; line-height: 2; }
.footer-contact-list span { color: var(--blue-400); }
.footer-socials { display: flex; gap: 0.5rem; margin-top: 1.25rem; }
.footer-social {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  transition: background 0.2s;
}
.footer-social:hover { background: var(--blue-700); }
.footer-links h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  font-size: 0.78rem;
  color: var(--gray-400);
  transition: color 0.2s;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}
.footer-links a::before { content: "›"; color: var(--blue-500); font-weight: 700; }
.footer-links a:hover { color: var(--blue-300); }
.footer-newsletter h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.25rem;
}
.footer-newsletter > p { font-size: 0.78rem; line-height: 1.7; margin-bottom: 1rem; }
.footer-newsletter form { margin-bottom: 1.5rem; }
.footer-newsletter input {
  width: 100%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.5rem;
  padding: 0.65rem 0.75rem;
  font-size: 0.78rem;
  color: #fff;
  font-family: inherit;
  margin-bottom: 0.5rem;
}
.footer-newsletter input::placeholder { color: var(--gray-500); }
.footer-newsletter input:focus { outline: none; box-shadow: 0 0 0 1px var(--blue-500); }
.footer-newsletter button {
  width: 100%;
  background: var(--blue-700);
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  padding: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.footer-newsletter button:hover { background: var(--blue-600); }
.footer-admissions-box {
  background: rgba(245,158,11,0.1);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 0.65rem;
  padding: 1rem;
}
.footer-admissions-title { font-size: 0.78rem; font-weight: 700; color: var(--orange-400); margin-bottom: 0.35rem; }
.footer-admissions-box p { font-size: 0.72rem; color: var(--gray-400); line-height: 1.6; margin-bottom: 0.5rem; }
.footer-admissions-box a { font-size: 0.78rem; font-weight: 600; color: var(--orange-400); transition: color 0.2s; }
.footer-admissions-box a:hover { color: var(--orange-300); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2.5rem;
  padding: 1rem 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
}
.footer-bottom-links { display: flex; gap: 1rem; }
.footer-bottom-links a { color: var(--gray-500); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--gray-300); }

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-700) 100%);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
  margin-bottom: 0;
}
.page-header h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: 0;
}

/* About Intro */
.about-intro {
  max-width: 1100px;
  margin: 0 auto;
  text-align: justify;
}
.about-intro p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.about-highlight-box {
  background: var(--blue-50);
  border-left: 4px solid var(--blue-700);
  padding: 1.25rem;
  border-radius: 6px;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.7;
}

/* Vision & Mission Grid */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.vm-card {
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
}
.vm-card-vision {
  background: var(--blue-50);
  border: 2px solid var(--blue-200);
}
.vm-card-mission {
  background: var(--orange-50);
  border: 2px solid var(--orange-100);
}
.vm-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}
.vm-card h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 1rem;
}
.vm-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Skilling Grid */
.skilling-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.skilling-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.skilling-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.skilling-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}
.skilling-card h4 {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}
.skilling-card p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Affiliations Grid */
.affiliations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  justify-items: center;
}
.affiliation-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 1rem;
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.affiliation-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  border-color: var(--blue-300);
}
.affiliation-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 0.75rem;
  background: var(--blue-100);
  color: var(--blue-800);
  font-weight: 900;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.affiliation-card h4 {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}
.affiliation-card p {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* Recognition Banner */
.recognition-banner {
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-700) 100%);
  color: #fff;
  padding: 3rem 0;
  text-align: center;
  margin: 3rem 0;
}
.recognition-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.recognition-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}
.recognition-banner h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 1rem;
}
.recognition-banner p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--blue-200);
}

/* Achievements Grid */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.achievement-item {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 1rem;
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.achievement-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.achievement-num {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}
.achievement-item p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.achievement-item strong {
  color: var(--blue-700);
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.value-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.value-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  border-color: var(--blue-300);
}
.value-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 1rem;
}
.value-card h4 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}
.value-card p {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Activities Grid */
.activities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
}
.activity-column h4 {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--blue-800);
  margin-bottom: 1.25rem;
  border-bottom: 3px solid var(--orange-500);
  padding-bottom: 0.75rem;
}
.activity-column ul { display: flex; flex-direction: column; gap: 0.75rem; }
.activity-column li {
  font-size: 0.9rem;
  color: var(--gray-600);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.6;
}
.activity-column li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue-700);
  font-weight: 700;
}

/* Why Choose Grid */
.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.why-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  border-color: var(--orange-300);
}
.why-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 1rem;
}
.why-card h4 {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}
.why-card p {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ============================================
   COURSES PAGE STYLES
   ============================================ */

/* Filter Buttons */
.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}
.filter-btn {
  background: #fff;
  border: 2px solid var(--gray-200);
  color: var(--gray-700);
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.filter-btn:hover {
  border-color: var(--blue-600);
  color: var(--blue-700);
}
.filter-btn.active {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: #fff;
}

/* Courses Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.course-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  opacity: 1;
  max-height: 1000px;
  transition: all 0.4s ease, opacity 0.3s ease;
}
.course-card.hidden {
  display: none;
  opacity: 0;
  max-height: 0;
}
.course-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  border-color: var(--blue-300);
}
.course-header {
  background: linear-gradient(135deg, var(--blue-700) 0%, var(--blue-600) 100%);
  color: #fff;
  padding: 1.5rem;
  position: relative;
}
.course-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
}
.course-badge-clinical { background: var(--orange-400); color: #fff; }
.course-badge-preclinical { background: var(--blue-400); color: #fff; }
.course-badge-paraclinical { background: #10b981; color: #fff; }
.course-badge-management { background: #8b5cf6; color: #fff; }
.course-header h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.course-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.course-duration {
  font-size: 0.8rem;
  color: var(--blue-700);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.course-desc {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.course-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex: 1;
}
.course-topics li {
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-weight: 500;
}
.course-link {
  font-size: 1rem;
  font-weight: 800;
  color: var(--orange-500);
  transition: color 0.2s;
  align-self: flex-start;
}
.course-link:hover { color: var(--orange-600); }

/* Course Stats */
.course-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.course-stats .stat-item {
  text-align: center;
  padding: 2rem;
  background: var(--blue-50);
  border-radius: 1rem;
  border: 1px solid var(--blue-200);
}
.course-stats .stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--blue-800);
}
.course-stats .stat-label {
  font-size: 0.9rem;
  color: var(--gray-700);
  font-weight: 500;
}

/* ============================================
   GALLERY PAGE STYLES
   ============================================ */

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  opacity: 1;
  transition: all 0.4s ease, opacity 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.gallery-item.hidden {
  display: none;
  opacity: 0;
}
.gallery-item:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
  transform: translateY(-6px);
}
.gallery-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10; /*CHanged*/
  overflow: hidden;
  background: var(--gray-200);
  border-radius: 10px; /*CHanged*/
}
.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; /*CHanged*/
  display: block; /*CHanged*/
  transition: transform 0.7s ease;
}
.gallery-item:hover .gallery-image img {
  transform: scale(1.08);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,58,107,0.8) 0%, rgba(30,77,140,0.6) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-title {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
}
.gallery-view {
  background: var(--orange-500);
  color: #fff;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.gallery-view:hover {
  background: var(--orange-400);
  transform: scale(1.05);
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open {
  display: flex;
}
.lightbox-image {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.4);
}
.lightbox-close {
  top: 1rem;
  right: 1rem;
}
.lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
}
.lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
}

/* Gallery Stats */
.gallery-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.gallery-stats .stat-item {
  text-align: center;
  padding: 2rem;
  background: var(--orange-50);
  border-radius: 1rem;
  border: 1px solid var(--orange-100);
}
.gallery-stats .stat-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--orange-500);
}
.gallery-stats .stat-label {
  font-size: 0.9rem;
  color: var(--gray-700);
  font-weight: 500;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .nav { display: none; }
  .mobile-toggle { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .programs-grid { grid-template-columns: 1fr 1fr; }
  .facilities-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .faculty-grid { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .departments-grid { grid-template-columns: repeat(3, 1fr); }
  .vision-mission-grid { grid-template-columns: 1fr; }
  .skilling-grid { grid-template-columns: 1fr 1fr; }
  .affiliations-grid { grid-template-columns: 1fr 1fr; }
  .achievements-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .activities-grid { grid-template-columns: 1fr; }
  .why-choose-grid { grid-template-columns: 1fr 1fr; }
  .courses-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .course-stats { grid-template-columns: 1fr 1fr; }
  .gallery-stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .hero { height: 80vh; min-height: 480px; }
  .hero-content { padding: 0 1.25rem; }
  .hero h1 { font-size: 1.75rem; }
  .hero p { font-size: 0.95rem; }
  .hero-badges { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: 1fr; }
  .facilities-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .dates-fees-grid { grid-template-columns: 1fr; }
  .faculty-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .departments-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 3.5rem 0; }
  .section-title { font-size: 1.5rem; }
  .about-cards { grid-template-columns: 1fr; }
  .about-badge { bottom: -0.75rem; right: -0.75rem; padding: 0.75rem 1rem; }
  .about-badge-num { font-size: 1.5rem; }
  .hostel-banner { height: 180px; }
  .hostel-banner-content { padding: 1.5rem; }
  .hostel-banner-content h3 { font-size: 1.15rem; }
  .footer-bottom-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
  .section-header-row { flex-direction: column; align-items: flex-start; }
  .page-header h1 { font-size: 1.75rem; }
  .vision-mission-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .vm-card { padding: 1.5rem; }
  .skilling-grid { grid-template-columns: 1fr; }
  .affiliations-grid { grid-template-columns: 1fr; }
  .achievements-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .activities-grid { grid-template-columns: 1fr; }
  .why-choose-grid { grid-template-columns: 1fr; }
  .recognition-banner h3 { font-size: 1.35rem; }
  .courses-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .course-stats { grid-template-columns: 1fr 1fr; }
  .gallery-stats { grid-template-columns: 1fr 1fr; }
  .filter-buttons { gap: 0.5rem; }
  .filter-btn { padding: 0.5rem 1rem; font-size: 0.75rem; }
}

@media (max-width: 480px) {
  .hero { height: 70vh; }
  .hero h1 { font-size: 1.5rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-value { font-size: 1.75rem; }
  .departments-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; justify-content: center; }
  .courses-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .course-stats { grid-template-columns: 1fr; }
  .gallery-stats { grid-template-columns: 1fr; }
  .filter-buttons { flex-direction: column; }
  .filter-btn { width: 100%; }
  .lightbox-prev, .lightbox-next { width: 36px; height: 36px; font-size: 1.2rem; }
}


/* Newly Added Styles */
/* Mobile Devices */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    justify-items: start;
    text-align: left;
  }
}

.about-content-title {
    font-weight: 700;
    font-size: 1.6rem;
    color: #1b3f74;
    padding-bottom: 0.75rem;
}

.why-choose-grid .item:last-child:nth-child(5) {
    grid-column: 2;
}

.affiliations-grid img{
    display: block;
    margin: 0 auto;
}

/* ===== MODAL STYLES ===== */
  /* Overlay */
  .apply-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }
  .apply-modal-overlay.active {
    display: flex;
  }

  /* Modal Box */
  .apply-modal {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 2rem 1.75rem;
    width: 100%;
    max-width: 540px;
    position: relative;
    animation: modalIn 0.25s ease;
    max-height: 90vh;
    overflow-y: auto;
  }
  @keyframes modalIn {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }

  /* Close Button */
  .apply-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    background: #f3f4f6;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
  }
  .apply-modal-close:hover { background: #e5e7eb; }

  /* Header */
  .apply-modal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
  }
  .apply-modal-header h2 {
    margin: 0 0 0.15rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
  }
  .apply-modal-header p {
    margin: 0;
    font-size: 0.85rem;
    color: #6b7280;
  }

  /* Form Layout */
  .apply-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  @media (max-width: 480px) {
    .apply-form-row { grid-template-columns: 1fr; }
    .apply-modal { padding: 1.5rem 1.25rem; }
  }

  /* Fields */
  .apply-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
  }
  .apply-field label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.35rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
  }
  .apply-field input,
  .apply-field textarea {
    padding: 0.65rem 0.85rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.93rem;
    color: #111827;
    background: #fafafa;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    font-family: inherit;
    resize: vertical;
  }
  .apply-field input:focus,
  .apply-field textarea:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  }
  .apply-field input.error,
  .apply-field textarea.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
  }
  .field-error {
    font-size: 0.78rem;
    color: #ef4444;
    margin-top: 0.25rem;
    min-height: 1rem;
  }
  .required { color: #ef4444; }

  /* Submit Button */
  .apply-submit {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    margin-top: 0.5rem;
    letter-spacing: 0.01em;
  }
  .apply-submit:hover { opacity: 0.92; }
  .apply-submit:active { transform: scale(0.985); }
  .apply-submit:disabled { opacity: 0.65; cursor: not-allowed; }

  /* Success State */
  .apply-success {
    text-align: center;
    padding: 2rem 1rem;
  }
  .apply-success-icon {
    width: 56px;
    height: 56px;
    background: #d1fae5;
    color: #059669;
    border-radius: 50%;
    font-size: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
  }
  .apply-success h3 { color: #111827; margin-bottom: 0.5rem; }
  .apply-success p  { color: #6b7280; font-size: 0.9rem; }
  
  /*-- ===== BROCHURE MODAL STYLES ===== -- /*
  /* Overlay */
  .brochure-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 30, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }
  .brochure-modal-overlay.active { display: flex; }

  /* Modal Box */
  .brochure-modal {
    background: #fff;
    border-radius: 18px;
    padding: 0;
    width: 100%;
    max-width: 480px;
    position: relative;
    animation: brochureModalIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    max-height: 92vh;
    overflow-y: auto;
    box-shadow: 0 24px 60px rgba(0,0,0,0.18), 0 4px 16px rgba(0,0,0,0.08);
  }
  @keyframes brochureModalIn {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
  }

  /* Close Button */
  .brochure-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.2);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
    line-height: 1;
  }
  .brochure-modal-close:hover { background: rgba(255,255,255,0.3); }

  /* Header Band */
  .brochure-modal-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #2563eb 100%);
    border-radius: 18px 18px 0 0;
    padding: 28px 28px 24px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #fff;
  }
  .brochure-modal-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.2);
  }
  .brochure-modal-icon svg { color: #fff; }
  .brochure-modal-header h2 {
    margin: 0 0 4px;
    font-size: 1.18rem;
    font-weight: 700;
    color: #fff;
  }
  .brochure-modal-header p {
    margin: 0;
    font-size: 0.82rem;
    color: #93c5fd;
    line-height: 1.4;
  }

  /* Form Body */
  .brochure-form {
    padding: 24px 28px 20px;
  }

  /* Fields */
  .brochure-field {
    margin-bottom: 16px;
  }
  .brochure-field label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }
  .brochure-required { color: #ef4444; }

  /* Input Wrapper */
  .brochure-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
  }
  .brochure-input-icon {
    position: absolute;
    left: 12px;
    color: #9ca3af;
    pointer-events: none;
    flex-shrink: 0;
  }
  .brochure-input-wrap input,
  .brochure-input-wrap select {
    width: 100%;
    padding: 0.68rem 0.85rem 0.68rem 2.5rem;
    border: 1.5px solid #e5e7eb;
    border-radius: 9px;
    font-size: 0.92rem;
    color: #111827;
    background: #f9fafb;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;
  }
  .brochure-input-wrap input:focus,
  .brochure-input-wrap select:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.12);
  }
  .brochure-input-wrap input.br-error,
  .brochure-input-wrap select.br-error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
  }

  /* Select Arrow */
  .brochure-select-wrap { position: relative; }
  .brochure-select-arrow {
    position: absolute;
    right: 12px;
    color: #6b7280;
    pointer-events: none;
  }
  .brochure-input-wrap select {
    padding-right: 2.2rem;
    cursor: pointer;
  }
  .brochure-input-wrap select option[disabled] { color: #9ca3af; }

  /* Errors */
  .brochure-error {
    display: block;
    font-size: 0.76rem;
    color: #ef4444;
    margin-top: 4px;
    min-height: 1rem;
  }

  /* Submit Button */
  .brochure-submit {
    width: 100%;
    padding: 0.82rem 1.2rem;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.97rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
    margin-top: 8px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    letter-spacing: 0.02em;
  }
  .brochure-submit:hover {
    opacity: 0.93;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  }
  .brochure-submit:active { transform: scale(0.985); }
  .brochure-submit:disabled { opacity: 0.6; cursor: not-allowed; box-shadow: none; }

  /* Privacy note */
  .brochure-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.74rem;
    color: #9ca3af;
    margin: 12px 0 0;
    text-align: center;
  }
  .brochure-privacy svg { flex-shrink: 0; color: #9ca3af; }

  /* Success State */
  .brochure-success {
    padding: 3rem 2rem;
    text-align: center;
  }
  .brochure-success-icon {
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #059669;
    border-radius: 50%;
    font-size: 1.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: 0 4px 16px rgba(5, 150, 105, 0.2);
  }
  .brochure-success h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: #111827;
    font-weight: 700;
  }
  .brochure-success p {
    margin: 0;
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.6;
  }

  /* Mobile */
  @media (max-width: 500px) {
    .brochure-modal-header { padding: 22px 20px 18px; }
    .brochure-form { padding: 20px 20px 16px; }
    .brochure-modal { border-radius: 14px; }
  }

/* Manual Added */
.nav-dropdown{
    position:relative;
    display:flex;
    align-items:center;
}

.dropdown-menu{
    position:absolute;
    top:calc(100% + 6px);
    left:0;

    min-width:260px;

    background:#fff;
    border:1px solid var(--gray-100);
    border-radius:10px;

    box-shadow:0 12px 35px rgba(0,0,0,.12);

    padding:8px 0;

    opacity:0;
    visibility:hidden;

    transform:translateY(8px);

    transition:.25s ease;

    pointer-events:none;

    z-index:9999;
}

/* Invisible hover bridge */
.dropdown-menu::before{
    content:"";
    position:absolute;
    top:-8px;
    left:0;
    width:100%;
    height:8px;
}

.nav-dropdown:hover>.dropdown-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
    pointer-events:auto;
}

.dropdown-menu a{
    display:block;
    padding:12px 18px;
    color:var(--gray-700);
    font-size:.9rem;
    text-decoration:none;
    transition:.2s;
    white-space:nowrap;
}

.dropdown-menu a:hover{
    background:var(--blue-50);
    color:var(--blue-700);
}

.nav-dropdown:last-child .dropdown-menu{
    left:auto;
    right:0;
}