/* ═══════════════════════════════════════════════════════════════════
   PRINCE HOSPITAL & PRINCE INSTITUTE OF MEDICAL SCIENCES (PIMS)
   Modern Multi-Specialty & Super-Specialty Healthcare UI/UX
   Palette Inspired by Official Brand Guidelines & Identity
   ═══════════════════════════════════════════════════════════════════ */

:root {
  /* Brand Palette from Images 2 & 3 */
  --royal-blue: #0A3D91;        /* Primary Royal Medical Blue */
  --royal-blue-hover: #082E6E;
  --royal-blue-light: #EBF2FE;
  
  --medical-teal: #00A896;      /* Brand Teal / Sea Green */
  --medical-cyan: #00B4D8;      /* Vibrant Cyan / Aqua */
  --medical-cyan-light: #E0F7FA;/* Soft Mint / Aqua Tint */
  --teal-dim: #0284C7;
  
  --deep-navy: #061B3D;         /* Dark Navy for high-contrast sections/footer */
  --dark-slate: #0F172A;        /* Main Headings */
  --body-text: #334155;         /* Body Text */
  --muted-text: #64748B;        /* Muted / Secondary */
  
  --bg-light: #F8FBFE;          /* Ultra clean clinical light blue/white */
  --card-bg: #FFFFFF;
  --card-border: #E2E8F0;
  --card-shadow: 0 10px 30px rgba(10, 61, 145, 0.06);
  --card-hover-shadow: 0 20px 45px rgba(10, 61, 145, 0.12);
  
  --emergency-red: #EF4444;     /* 24x7 Emergency Accent */
  --emergency-glow: rgba(239, 68, 68, 0.2);
  --verified-green: #10B981;    /* Healthcare Verified Green */
  --gold-accent: #F59E0B;       /* Rating & Accolades Gold */
  
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(10, 61, 145, 0.12);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 30px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-light);
  color: var(--body-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark-slate);
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

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

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

ul {
  list-style: none;
}

/* ─── GLOBAL SUBTLE MEDICAL WATERMARK / GRID ─── */
.medical-pattern-bg {
  position: relative;
}
.medical-pattern-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(10, 61, 145, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 0;
}

/* ─── LIVE STATS TICKER MARQUEE (RUNNING AT TOP WITH DEEP NAVY BG) ─── */
.stats-ticker {
  background: linear-gradient(90deg, var(--deep-navy) 0%, #0A2D6C 50%, var(--deep-navy) 100%);
  color: #E2E8F0;
  border-top: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  padding: 0.62rem 0;
  position: relative;
  z-index: 101;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerMarquee 45s linear infinite;
  white-space: nowrap;
}

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

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 1.8rem;
  font-size: 0.88rem;
  color: #CBD5E1;
  font-weight: 500;
  letter-spacing: 0.2px;
}

.ticker-item strong {
  color: #38BDF8;
  font-weight: 800;
  font-size: 0.95rem;
}

.ticker-item a {
  color: inherit;
  transition: color 0.2s;
}

.ticker-item a:hover {
  color: #FFFFFF;
}

.ticker-sep {
  color: #2EC4B6;
  font-size: 0.85rem;
  margin-left: 0.8rem;
}

.ticker-emergency-tag {
  background: rgba(239, 68, 68, 0.22);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #FCA5A5;
  padding: 0.18rem 0.65rem;
  border-radius: 50px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.ticker-emergency-tag i {
  color: var(--emergency-red);
  animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

/* ─── MAIN NAVIGATION (STICKY & MODERN) ─── */
#mainNav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 61, 145, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  z-index: 1000;
  transition: var(--transition);
}

#mainNav.scrolled {
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(10, 61, 145, 0.08);
  padding: 0.2rem 0;
}

.nav-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0.65rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-brand img {
  height: 48px;
  width: auto;
  border-radius: 8px;
  display: block;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(1, 38, 142, 0.15);
}

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

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--dark-slate);
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  letter-spacing: -0.2px;
}

.nav-link i.fa-chevron-down {
  font-size: 0.7rem;
  color: var(--muted-text);
  transition: transform 0.2s;
}

.nav-link:hover, .nav-item:hover > .nav-link {
  color: var(--royal-blue);
}

.nav-item:hover > .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
  color: var(--royal-blue);
}

/* Badge in Nav */
.nav-badge-pill {
  font-size: 0.65rem;
  background: var(--medical-teal);
  color: #FFFFFF;
  padding: 0.15rem 0.45rem;
  border-radius: 30px;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 0.3rem;
  letter-spacing: 0.3px;
}

/* Dropdown Menus */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #FFFFFF;
  border: 1px solid rgba(10, 61, 145, 0.08);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(10, 61, 145, 0.12);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--body-text);
  transition: var(--transition);
}

.nav-dropdown li a i {
  color: var(--medical-cyan);
  font-size: 0.85rem;
  width: 16px;
  text-align: center;
}

.nav-dropdown li a:hover {
  background: var(--royal-blue-light);
  color: var(--royal-blue);
  padding-left: 1.5rem;
}

/* ─── MOBILE DRAWER QUICK TICKER HIGHLIGHTS ─── */
.mobile-drawer-ticker-section {
  display: none;
  width: 100%;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #E2E8F0;
}

.mdt-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.15rem;
}

.mdt-pill {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  background: var(--medical-cyan-light);
  color: var(--royal-blue);
  padding: 0.22rem 0.65rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.mdt-live-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: #10B981;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: #10B981;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 6px #10B981;
  animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

.mdt-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
  position: relative;
}

.mdt-card:hover {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

.mdt-card.mdt-emergency {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(239, 68, 68, 0.02) 100%);
  border-color: rgba(239, 68, 68, 0.3);
}

.mdt-card.mdt-emergency .mdt-icon {
  background: var(--emergency-red);
  color: #FFFFFF;
}

.mdt-card.mdt-emergency .mdt-value {
  color: var(--emergency-red);
  font-size: 0.95rem;
}

.mdt-arrow {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--emergency-red);
}

.mdt-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: var(--royal-blue-light);
  color: var(--royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
}

.mdt-content {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mdt-badge {
  font-size: 0.64rem;
  font-weight: 800;
  color: var(--emergency-red);
  letter-spacing: 0.4px;
}

.mdt-label {
  font-size: 0.7rem;
  color: var(--muted-text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.mdt-value {
  font-size: 0.86rem;
  color: var(--dark-slate);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mdt-sub {
  font-size: 0.68rem;
  color: var(--muted-text);
  margin-top: 1px;
}

.mdt-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 0.2rem 0;
}

.mdt-stat-pill {
  background: linear-gradient(135deg, #F0FDF4 0%, #E6FFFA 100%);
  border: 1px solid rgba(0, 168, 150, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.65rem;
  display: flex;
  flex-direction: column;
}

.mdt-stat-pill strong {
  font-size: 1.05rem;
  color: var(--medical-teal);
  font-weight: 800;
  line-height: 1.1;
}

.mdt-stat-pill span {
  font-size: 0.68rem;
  color: var(--dark-slate);
  font-weight: 600;
  margin-top: 2px;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.7rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: inherit;
}

.btn-primary {
  background: linear-gradient(135deg, var(--royal-blue) 0%, #1552B5 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(10, 61, 145, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--royal-blue-hover) 0%, var(--royal-blue) 100%);
  box-shadow: 0 10px 25px rgba(10, 61, 145, 0.35);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-teal {
  background: linear-gradient(135deg, var(--medical-teal) 0%, #0284C7 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(0, 168, 150, 0.25);
}

.btn-teal:hover {
  background: linear-gradient(135deg, #0284C7 0%, var(--medical-teal) 100%);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-ghost {
  background: transparent;
  color: var(--royal-blue);
  border: 1.5px solid var(--royal-blue);
}

.btn-ghost:hover {
  background: var(--royal-blue-light);
  color: var(--royal-blue-hover);
  border-color: var(--royal-blue-hover);
  transform: translateY(-2px);
}

.btn-ghost-white {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}
.btn-ghost-white:hover {
  background: #FFFFFF;
  color: var(--royal-blue);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-emergency {
  background: var(--emergency-red);
  color: #FFFFFF;
  box-shadow: 0 6px 20px var(--emergency-glow);
}
.btn-emergency:hover {
  background: #DC2626;
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Hamburger toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--royal-blue);
  border-radius: 2px;
  transition: all 0.3s;
  position: absolute;
  left: 10px;
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 28px; }

.nav-toggle.active span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* ─── HERO CAROUSEL ─── */
#hero {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: hidden;
  background: var(--deep-navy);
}

.carousel-track-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s ease-out;
  transform: scale(1.04);
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Modern Gradient Overlay for readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg, 
    rgba(6, 27, 61, 0.92) 0%, 
    rgba(6, 27, 61, 0.72) 48%, 
    rgba(6, 27, 61, 0.25) 100%
  );
  z-index: 3;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  display: flex;
  align-items: center;
}

.hero-content-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.hero-caption {
  max-width: 720px;
  color: #FFFFFF;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(0, 180, 216, 0.18);
  border: 1px solid rgba(0, 180, 216, 0.45);
  color: #38BDF8;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.2rem;
  backdrop-filter: blur(8px);
}

.hero-eyebrow i {
  color: var(--medical-cyan);
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
}

.hero-title span {
  color: #38BDF8;
  background: linear-gradient(135deg, #38BDF8 0%, #2DD4BF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.15rem;
  color: #E2E8F0;
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 400;
  max-width: 650px;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.2rem;
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #F8FAFC;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(6px);
}

.hero-badge-item i {
  color: #2DD4BF;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Carousel Controls */
.carousel-prev, .carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.carousel-prev:hover, .carousel-next:hover {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: 25px; }
.carousel-next { right: 25px; }

.carousel-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  width: 32px;
  border-radius: 8px;
  background: #38BDF8;
}

/* ─── QUICK SERVICE CARDS (OVERLAPPING HERO) ─── */
.quick-cards-wrapper {
  max-width: 1320px;
  margin: -60px auto 4.5rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 20;
}

.quick-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.quick-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.8rem 1.4rem;
  box-shadow: 0 15px 35px rgba(10, 61, 145, 0.08);
  border: 1px solid rgba(10, 61, 145, 0.06);
  border-top: 4px solid var(--royal-blue);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.quick-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(10, 61, 145, 0.15);
}

.quick-card.emergency-accent {
  border-top-color: var(--emergency-red);
  background: linear-gradient(180deg, #FFF5F5 0%, #FFFFFF 100%);
}

.quick-card.teal-accent {
  border-top-color: var(--medical-teal);
}

.quick-card.cyan-accent {
  border-top-color: var(--medical-cyan);
}

.quick-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--royal-blue-light);
  color: var(--royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  transition: var(--transition);
}

.quick-card.emergency-accent .quick-card-icon {
  background: rgba(239, 68, 68, 0.12);
  color: var(--emergency-red);
}

.quick-card.teal-accent .quick-card-icon {
  background: var(--medical-cyan-light);
  color: var(--medical-teal);
}

.quick-card:hover .quick-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.quick-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 0.5rem;
}

.quick-card-desc {
  font-size: 0.88rem;
  color: var(--muted-text);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}

.quick-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--royal-blue);
}

.quick-card.emergency-accent .quick-card-link {
  color: var(--emergency-red);
}

.quick-card-link i {
  transition: transform 0.2s;
}

.quick-card:hover .quick-card-link i {
  transform: translateX(4px);
}

/* ─── COMMON SECTION HEADERS ─── */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--medical-teal);
  letter-spacing: 1.2px;
  margin-bottom: 0.75rem;
  background: var(--medical-cyan-light);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark-slate);
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title span.text-primary {
  color: var(--royal-blue);
}

.section-title span.text-teal {
  color: var(--medical-teal);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted-text);
  max-width: 680px;
  line-height: 1.6;
}

.section-header.text-center .section-sub {
  margin: 0 auto;
}

/* ─── ABOUT HOSPITAL OVERVIEW ─── */
.about-overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.about-lead-para {
  font-size: 1.12rem;
  color: var(--dark-slate);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--medical-cyan-light);
  color: var(--medical-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.about-feature-text h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 0.2rem;
}

.about-feature-text p {
  font-size: 0.82rem;
  color: var(--muted-text);
  line-height: 1.4;
}

/* 3 Interactive Exploration Vertical Cards (RPCIL Inspired) */
.hospital-units-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.unit-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: center;
  gap: 1.1rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.unit-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--royal-blue);
  transition: var(--transition);
}

.unit-card.unit-icu::before { background: var(--emergency-red); }
.unit-card.unit-academic::before { background: var(--medical-teal); }

.unit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-hover-shadow);
  border-color: rgba(10, 61, 145, 0.2);
}

.unit-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--royal-blue-light);
  color: var(--royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.unit-card.unit-icu .unit-icon-box {
  background: rgba(239, 68, 68, 0.1);
  color: var(--emergency-red);
}

.unit-card.unit-academic .unit-icon-box {
  background: var(--medical-cyan-light);
  color: var(--medical-teal);
}

.unit-info .unit-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted-text);
  letter-spacing: 0.5px;
}

.unit-info .unit-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dark-slate);
  margin: 0.15rem 0;
}

.unit-info .unit-desc {
  font-size: 0.8rem;
  color: var(--muted-text);
}

.unit-arrow {
  margin-left: auto;
  color: var(--muted-text);
  font-size: 0.95rem;
  transition: transform 0.2s;
}

.unit-card:hover .unit-arrow {
  transform: translateX(4px);
  color: var(--royal-blue);
}

/* About Visual Side (Image stack & Experience Badge) */
.about-visual-stack {
  position: relative;
}

.about-main-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(10, 61, 145, 0.15);
  border: 4px solid #FFFFFF;
}

.about-main-img-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-main-img-card:hover img {
  transform: scale(1.04);
}

.about-floating-badge {
  position: absolute;
  bottom: -25px;
  left: -25px;
  background: linear-gradient(135deg, var(--royal-blue) 0%, #061B3D 100%);
  color: #FFFFFF;
  padding: 1.5rem 1.8rem;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(10, 61, 145, 0.3);
  display: flex;
  align-items: center;
  gap: 1.1rem;
  border: 3px solid #FFFFFF;
  max-width: 290px;
}

.about-floating-badge .badge-icon {
  font-size: 2.2rem;
  color: #38BDF8;
}

.about-floating-badge .badge-num {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.1;
}

.about-floating-badge .badge-text {
  font-size: 0.82rem;
  color: #CBD5E1;
  line-height: 1.3;
}

/* ─── CLINICAL SUPER SPECIALTIES GRID ─── */
.specialties-section {
  background: #F1F6FB;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

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

.specialty-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.specialty-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(10, 61, 145, 0.12);
  border-color: rgba(0, 180, 216, 0.3);
}

.specialty-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.4rem;
}

.specialty-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: var(--royal-blue-light);
  color: var(--royal-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: var(--transition);
}

.specialty-card:hover .specialty-icon-wrap {
  background: var(--royal-blue);
  color: #FFFFFF;
  transform: scale(1.08);
}

.specialty-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: rgba(10, 61, 145, 0.08);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.specialty-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark-slate);
  margin-bottom: 0.6rem;
}

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

.specialty-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.specialty-pill {
  font-size: 0.74rem;
  font-weight: 600;
  background: #F1F5F9;
  color: var(--body-text);
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
}

.specialty-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--royal-blue);
  margin-top: auto;
}

.specialty-link i {
  transition: transform 0.2s;
}

.specialty-card:hover .specialty-link i {
  transform: translateX(5px);
}

/* ─── NUMERICAL STATS COUNTER BAR ─── */
#stats {
  background: linear-gradient(135deg, var(--deep-navy) 0%, #0A2F6B 100%);
  color: #FFFFFF;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

#stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.02) 2px, transparent 2px, transparent 20px);
}

.stats-grid {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.stat-item {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  padding-right: 1.5rem;
}

.stat-item:last-child {
  border-right: none;
  padding-right: 0;
}

.stat-num {
  font-size: 3.2rem;
  font-weight: 900;
  color: #FFFFFF;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1;
  display: block;
  margin-bottom: 0.6rem;
}

.stat-num span.accent {
  color: #38BDF8;
}

.stat-label {
  font-size: 0.92rem;
  color: #CBD5E1;
  font-weight: 500;
  line-height: 1.35;
}

/* ─── WORLD-CLASS INFRASTRUCTURE GALLERY ─── */
.gallery-section {
  background: #FFFFFF;
}

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

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  height: 280px;
  cursor: pointer;
  border: 1px solid var(--card-border);
}

.gallery-card.featured {
  grid-column: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 27, 61, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #FFFFFF;
  transition: var(--transition);
}

.gallery-card-tag {
  font-size: 0.72rem;
  font-weight: 700;
  color: #38BDF8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.gallery-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* ─── INSTITUTION DETAILS (FROM IMAGE 1) ─── */
.institute-info-section {
  background: #F8FBFE;
  position: relative;
}

.institute-doc-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: 0 15px 40px rgba(10, 61, 145, 0.08);
  overflow: hidden;
}

.institute-doc-header {
  background: linear-gradient(90deg, var(--royal-blue) 0%, #061B3D 100%);
  color: #FFFFFF;
  padding: 1.8rem 2.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.institute-doc-header h3 {
  color: #FFFFFF;
  font-size: 1.4rem;
  font-weight: 800;
}

.institute-doc-header p {
  color: #CBD5E1;
  font-size: 0.9rem;
}

.institute-doc-badge {
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #38BDF8;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
}

.institute-table-wrapper {
  padding: 2rem 2.2rem;
}

.institute-table {
  width: 100%;
  border-collapse: collapse;
}

.institute-table tr {
  border-bottom: 1px solid #E2E8F0;
}

.institute-table tr:last-child {
  border-bottom: none;
}

.institute-table td {
  padding: 1.1rem 1rem;
  font-size: 0.95rem;
}

.institute-table td.label-col {
  width: 32%;
  font-weight: 700;
  color: var(--dark-slate);
  background: #F8FAFC;
  border-right: 1px solid #E2E8F0;
}

.institute-table td.value-col {
  color: var(--body-text);
  font-weight: 500;
}

.institute-table td.value-col strong {
  color: var(--royal-blue);
}

.institute-table td.value-col a {
  color: var(--royal-blue);
  font-weight: 600;
}

.institute-table td.value-col a:hover {
  text-decoration: underline;
}

/* ─── WE'RE HIRING SECTION (FROM IMAGE 2 POSTER) ─── */
.hiring-section {
  background: linear-gradient(135deg, #061B3D 0%, var(--royal-blue) 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.hiring-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hiring-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hiring-card-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.hiring-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #2EC4B6;
  color: #061B3D;
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.2rem;
}

.hiring-card-title {
  font-size: 2.4rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hiring-card-title span {
  color: #38BDF8;
}

.hiring-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.2rem;
}

.hiring-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.05rem;
  color: #F8FAFC;
}

.hiring-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2EC4B6;
  color: #061B3D;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

.hiring-item-qual {
  font-size: 0.88rem;
  color: #94A3B8;
  margin-left: 0.3rem;
}

.hiring-poster-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  border: 4px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.hiring-poster-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ─── MEDICAL COLLEGE ACADEMIC BLOCK SECTION ─── */
.medical-college-section {
  background: #F4F8FC;
  position: relative;
}

.college-overview-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.college-visual-col {
  width: 100%;
}

.college-main-card {
  height: 380px;
}

.college-sub-gallery {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.college-sub-card {
  height: 160px;
}

.college-sub-title {
  color: #FFFFFF;
  font-size: 0.85rem;
  margin: 0;
  font-weight: 700;
}

.college-content-col {
  width: 100%;
}

.college-desc-para {
  color: var(--muted-text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.college-action-btn-wrap {
  margin-top: 1.5rem;
}

/* ─── LEADERSHIP & MEDICAL SUPERINTENDENT MESSAGE ─── */
.leadership-section {
  background: #FFFFFF;
}

.leadership-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}

.leadership-visual-col {
  position: relative;
}

.leadership-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 3px solid #FFFFFF;
  position: relative;
}

.leadership-img-card img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.leadership-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(6, 27, 61, 0.9);
  backdrop-filter: blur(10px);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.leadership-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
}

.leadership-role {
  font-size: 0.82rem;
  color: #38BDF8;
}

.quote-bubble {
  position: relative;
}

.quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: rgba(10, 61, 145, 0.12);
  font-family: Georgia, serif;
  margin-bottom: -1.5rem;
}

.quote-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--dark-slate);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.quote-author-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--royal-blue);
}

.quote-author-desc {
  font-size: 0.85rem;
  color: var(--muted-text);
}

/* ─── PATIENT TESTIMONIALS ─── */
.testimonials-section {
  background: #F1F6FB;
}

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

.testi-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testi-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-hover-shadow);
}

.testi-stars {
  color: var(--gold-accent);
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 0.2rem;
}

.testi-text {
  font-size: 0.94rem;
  color: var(--body-text);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testi-author-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--royal-blue-light);
  color: var(--royal-blue);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.testi-author-name {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--dark-slate);
}

.testi-author-detail {
  font-size: 0.78rem;
  color: var(--muted-text);
}

/* ─── APPOINTMENT & CONTACT SECTION ─── */
.contact-section {
  background: #FFFFFF;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-card-info {
  background: linear-gradient(135deg, var(--deep-navy) 0%, #0A2D6C 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.8rem 2.2rem;
  box-shadow: 0 20px 45px rgba(10, 61, 145, 0.15);
  position: relative;
  overflow: hidden;
}

.contact-card-info h3 {
  color: #FFFFFF;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.contact-card-info p {
  color: #CBD5E1;
  font-size: 0.94rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.contact-info-content h5 {
  color: #94A3B8;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.contact-info-content p, .contact-info-content a {
  color: #FFFFFF;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.4;
}

.contact-info-content a:hover {
  color: #38BDF8;
}

/* Appointment Form Card */
.appointment-form-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.8rem 2.5rem;
  border: 1px solid var(--card-border);
  box-shadow: 0 15px 40px rgba(10, 61, 145, 0.08);
}

.appointment-form-card h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark-slate);
  margin-bottom: 0.5rem;
}

.appointment-form-card p {
  font-size: 0.92rem;
  color: var(--muted-text);
  margin-bottom: 1.8rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

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

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark-slate);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  transition: var(--transition);
  background: #FFFFFF;
}

.form-control:focus {
  outline: none;
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px rgba(10, 61, 145, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 95px;
}

/* ─── RICH HEALTHCARE FOOTER ─── */
footer {
  background: var(--deep-navy);
  color: #94A3B8;
  padding: 5rem 0 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 4.5rem;
  margin-bottom: 4rem;
}

.footer-brand img {
  height: 52px;
  width: auto;
  border-radius: 8px;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block;
}

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #CBD5E1;
  margin-bottom: 1.5rem;
}

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

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--medical-cyan);
  color: #061B3D;
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.4rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

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

.footer-links li a {
  font-size: 0.88rem;
  color: #94A3B8;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: #38BDF8;
  padding-left: 0.35rem;
}

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

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.88rem;
  color: #CBD5E1;
}

.footer-contact-row i {
  color: var(--medical-cyan);
  font-size: 1rem;
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.8rem 1.5rem;
  background: #041229;
}

.footer-bottom-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: #64748B;
}

.footer-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.footer-cert-badge {
  background: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ─── FLOATING ACTION BUTTONS ─── */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 990;
}

.floating-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1.3rem;
  position: relative;
}

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

.floating-btn.emergency {
  background: var(--emergency-red);
}

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

.floating-btn.back-to-top {
  background: var(--royal-blue);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

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

.floating-btn .tooltip {
  position: absolute;
  right: 62px;
  background: var(--deep-navy);
  color: #FFFFFF;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
}

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

/* ─── MODAL POPUPS (APPOINTMENT & CAREER) ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 27, 61, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(30px) scale(0.95);
  transition: var(--transition);
  position: relative;
}

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

.modal-header {
  background: linear-gradient(135deg, var(--royal-blue) 0%, #061B3D 100%);
  color: #FFFFFF;
  padding: 1.6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: #FFFFFF;
  font-size: 1.4rem;
  font-weight: 800;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: #CBD5E1;
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: #FFFFFF;
  transform: rotate(90deg);
}

.modal-body {
  padding: 2rem;
}

/* ─── SCROLL REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* ─── RESPONSIVE DESIGN ─── */
@media (max-width: 1200px) {
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quick-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 992px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -360px;
    width: 330px;
    max-width: 90vw;
    height: 100vh;
    background: #FFFFFF;
    flex-direction: column;
    align-items: stretch;
    padding: 4.5rem 1.4rem 2.5rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    overflow-y: auto;
    gap: 0.8rem;
  }

  .nav-menu.active {
    right: 0;
  }

  .mobile-drawer-ticker-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding-left: 1rem;
    display: none;
  }

  .nav-item.open .nav-dropdown {
    display: block;
  }

  .nav-toggle {
    display: block;
    z-index: 1000;
  }

  .about-overview-grid,
  .college-overview-grid,
  .hiring-grid,
  .leadership-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .college-main-card {
    height: 320px;
  }

  .hospital-units-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .stat-item {
    border-right: none;
  }

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

  .hero-sub {
    font-size: 1rem;
  }

  #hero {
    height: 640px;
  }
}

@media (max-width: 768px) {
  .nav-brand img {
    height: 38px;
  }

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

  .specialties-grid,
  .gallery-grid,
  .testi-grid,
  .quick-cards-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card.featured {
    grid-column: span 1;
  }

  .college-overview-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .college-main-card {
    height: 250px;
  }

  .college-sub-card {
    height: 130px;
  }

  .college-content-col .section-title {
    font-size: 1.75rem;
    line-height: 1.25;
  }

  .about-features-list {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .floating-actions {
    right: 15px;
    bottom: 15px;
    gap: 8px;
  }

  .floating-btn {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .about-floating-badge {
    position: static;
    margin-top: 1.5rem;
    max-width: 100%;
  }

  .institute-table td.label-col {
    width: 40%;
  }
}

@media (max-width: 576px) {
  .college-sub-gallery {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .college-main-card {
    height: 220px;
  }

  .college-sub-card {
    height: 140px;
  }

  .college-content-col .section-title {
    font-size: 1.5rem;
  }

  .institute-table td.label-col,
  .institute-table td.value-col {
    display: block;
    width: 100%;
    padding: 0.6rem 0.5rem;
  }

  .institute-table td.label-col {
    border-right: none;
    border-bottom: none;
    background: #F1F5F9;
    font-size: 0.88rem;
    padding-top: 0.85rem;
  }

  .institute-table td.value-col {
    padding-bottom: 0.85rem;
    font-size: 0.95rem;
  }
}
