/* ==========================================================================
   Professor Somaiah Aroori - Specialist Medical & Academic Portfolio
   Design System & Modern CSS Variables (Harmonized with London Robotic Surgeon Theme)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;0,8..60,700;1,8..60,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette - London Robotic Surgeon Aesthetic (Clinical Light Theme Default) */
  --bg-primary: #f8fbfd;           /* Crisp light icy slate page background */
  --bg-secondary: #ffffff;         /* Pure white content & card background */
  --bg-surface: #f0f7fb;           /* Soft light blue tint for inputs/subtle areas */
  --bg-glass: rgba(255, 255, 255, 0.96); /* Header & sticky glass backdrop */
  --bg-glass-card: #ffffff;        /* Crisp white card background */
  --bg-card-hover: #ffffff;
  
  --text-primary: #0f172a;         /* Dark slate 900 for primary headings & titles */
  --text-secondary: #334155;       /* Slate 700 for readable body text */
  --text-muted: #64748b;           /* Slate 500 for captions & subtitles */
  --text-lead: #1e293b;
  
  --accent-blue: #0284c7;          /* London Robotic Surgeon primary sky-600 */
  --accent-sky: #0284c7;           /* Sky blue accent */
  --accent-sky-light: #38bdf8;     /* Bright sky blue for dark containers */
  --accent-indigo: #0369a1;
  --accent-teal: #0d9488;          /* London Robotic Surgeon teal */
  --accent-teal-light: #14b8a6;
  --accent-cyan: #0284c7;
  --accent-gold: #d97706;          /* Academic gold / amber */
  --accent-emerald: #059669;       /* Clinical green */
  --accent-navy: #081424;          /* Deep navy */
  --accent-navy-btn: #17293e;      /* London Robotic Surgeon consultation button */
  
  --border-light: #e2e8f0;         /* Slate-200 card border */
  --border-subtle: #e3edf3;        /* London Robotic Surgeon treatment card border */
  --border-glow: rgba(2, 132, 199, 0.25);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;               /* London Robotic Surgeon 18px radius */
  --radius-full: 9999px;
  
  --font-main: 'Manrope', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;
  
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg-primary: #f8fbfd;
  --bg-secondary: #ffffff;
  --bg-surface: #f0f7fb;
  --bg-glass: rgba(255, 255, 255, 0.96);
  --bg-glass-card: #ffffff;
  --bg-card-hover: #ffffff;
  
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-lead: #1e293b;
  
  --border-light: #e2e8f0;
  --border-subtle: #e3edf3;
  --border-glow: rgba(2, 132, 199, 0.25);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.12);
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
.font-serif {
  font-family: var(--font-serif);
}

.gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 60%, #081424 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-full);
  color: var(--accent-blue);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 3rem auto;
}

/* Navigation Header */
/* Navigation Header */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e3edf3;
  box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  max-width: 1400px;
  width: 100%;
  padding: 0 2.25rem;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 60px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 2px 6px rgba(8, 20, 36, 0.08));
}

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

.brand-badge {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #081424, #17293e);
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(8, 20, 36, 0.15);
  flex-shrink: 0;
}

/* Pulse & Shimmer Animations */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
  }
  50% {
    box-shadow: 0 0 35px rgba(6, 182, 212, 0.5);
  }
  100% {
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
  }
}

@keyframes pulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.5);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(6, 182, 212, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
  }
}

@keyframes iconPop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2) rotate(8deg);
  }
  100% {
    transform: scale(1);
  }
}

/* Hero Section Motion Accents */
.hero-content {
  animation: heroSlideInLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-image-wrapper {
  animation: heroSlideInRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroSlideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroSlideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Card Hover Elevation Animations */
.specialty-card:hover .specialty-floating-icon,
.pioneer-nav-item:hover .pioneer-nav-icon,
.teaching-card:hover .teaching-count {
  animation: iconPop 0.5s ease forwards;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.brand-text h1 {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap !important;
  margin: 0;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--accent-blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-top: 3px;
  white-space: nowrap !important;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  list-style: none;
  margin: 0 0 0 1.25rem;
  padding: 0;
}

.nav-links a {
  color: #334155;
  font-weight: 700;
  font-size: 0.81rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
  white-space: nowrap !important;
}

.nav-links a:hover {
  color: var(--accent-blue);
}

.nav-links a.active {
  color: var(--accent-blue);
  font-weight: 800;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: var(--accent-blue);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #17293e;
  color: #ffffff !important;
  border-radius: 8px;
  padding: 0.65rem 1.4rem !important;
  font-family: var(--font-main);
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  white-space: nowrap !important;
  box-shadow: 0 3px 10px rgba(23, 41, 62, 0.16);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-cta-btn:hover {
  background: var(--accent-blue);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.28);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.theme-toggle:hover {
  background: var(--accent-blue);
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: var(--text-primary);
  font-size: 1.15rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-menu-btn:hover {
  background: #f1f5f9;
  color: var(--accent-blue);
  border-color: #94a3b8;
}

.mobile-nav-drawer {
  display: none;
}

/* Hero Section */
.hero-section {
  padding: 140px 0 80px 0;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.07) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(56, 189, 248, 0.05) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.25rem;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-full);
  color: var(--accent-blue);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.6;
}

.hero-credentials {
  font-size: 0.95rem;
  color: var(--accent-blue);
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
}

.hero-quote {
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-left: 4px solid var(--accent-blue);
  border-top: 1px solid #f1f5f9;
  border-right: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 2rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: #17293e;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(23, 41, 62, 0.25);
}

.btn-primary:hover {
  background: var(--accent-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.35);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  color: var(--text-primary);
  border: 1px solid #cbd5e1;
}

.btn-outline:hover {
  background: #f0f7fb;
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  transform: translateY(-2px);
}

.hero-image-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.08);
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.hero-image-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: auto;
  max-width: fit-content;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.hero-image-info h4 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.2;
}

/* Auto-Scrolling Stats Carousel Section */
.stats-section {
  padding: 60px 0 80px 0;
  position: relative;
  overflow: hidden;
  background: #f0f7fb;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.stats-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.stats-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.carousel-control-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.carousel-control-btn:hover {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
  transform: translateY(-2px);
}

.stats-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
}

/* Gradient Fade Masks on Left & Right Edges */
.stats-carousel-wrapper::before,
.stats-carousel-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 5;
  pointer-events: none;
}

.stats-carousel-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #f0f7fb, transparent);
}

.stats-carousel-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #f0f7fb, transparent);
}

.stats-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: statsMarquee 35s linear infinite;
  will-change: transform;
}

.stats-carousel-wrapper:hover .stats-track,
.stats-track.paused {
  animation-play-state: paused;
}

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

.stat-card {
  min-width: 300px;
  max-width: 320px;
  background: #ffffff;
  border: 1px solid #e3edf3;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-blue), #38bdf8, transparent);
  border-radius: 2px;
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-blue);
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.12);
}

.stat-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #f0f7fb;
  border: 1px solid #bae6fd;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.stat-card:hover .stat-icon-badge {
  background: var(--accent-blue);
  color: #ffffff;
  transform: scale(1.08) rotate(4deg);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.3);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--accent-blue);
  -webkit-text-fill-color: var(--accent-blue);
  letter-spacing: -0.02em;
}

.stat-label {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.stat-subtext {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Common Section Layout */
.section {
  padding: 90px 0;
  position: relative;
}

.section-bg-alt {
  background-color: #ffffff;
}

/* ==========================================================================
   Treatments & Specialties Section (London Robotic Surgeon Carousel & Cards)
   ========================================================================== */
.treatments-header-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.treatments-header-text {
  max-width: 820px;
}

.treatments-header-text .section-title {
  margin-bottom: 0.5rem;
}

.treatments-header-text .section-subtitle {
  margin: 0;
}

.treatments-header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.treatments-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--accent-blue);
  cursor: pointer;
  padding: 0.5rem 0.25rem;
  transition: var(--transition);
}

.treatments-view-all-btn:hover {
  color: #0369a1;
}

.treatments-view-all-btn .treatment-arrow-icon {
  display: inline-block;
  transition: transform 0.25s ease;
}

.treatments-view-all-btn:hover .treatment-arrow-icon {
  transform: translateX(4px);
}

.treatments-nav-arrows {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.treatment-carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e3edf3;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.treatment-carousel-arrow:hover {
  background: #f0f7fb;
  border-color: #38bdf8;
  color: var(--accent-blue);
  transform: translateY(-1px);
}

.treatment-carousel-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.treatments-carousel-container {
  position: relative;
  width: 100%;
  padding: 0.5rem 0 0.5rem 0;
}

.treatments-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0.75rem 0.5rem 1.25rem 0.5rem;
  scroll-padding: 0 0.5rem;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: rgba(2, 132, 199, 0.28) #f1f5f9;
}

.treatments-carousel-track:active,
.treatments-carousel-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
}

.treatments-carousel-track::-webkit-scrollbar {
  height: 6px;
  display: block;
}

.treatments-carousel-track::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 999px;
  margin: 0 0.5rem;
}

.treatments-carousel-track::-webkit-scrollbar-thumb {
  background: rgba(2, 132, 199, 0.28);
  border-radius: 999px;
  transition: background 0.2s ease;
}

.treatments-carousel-track::-webkit-scrollbar-thumb:hover {
  background: var(--accent-blue);
}

.treatments-carousel-track.view-all-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  overflow-x: visible;
  scroll-snap-type: none;
  cursor: default;
  padding: 0.5rem 0;
}

/* Treatment Card (Exact Match to London Robotic Surgeon with Refined Fit) */
.treatment-card {
  flex-shrink: 0;
  width: 324px;
  max-width: 86vw;
  min-height: 485px;
  height: auto;
  scroll-snap-align: start;
  scroll-snap-stop: normal;
  background: #ffffff;
  border: 1px solid #e3edf3;
  border-radius: 18px;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  user-select: none;
}

.treatments-carousel-track.view-all-grid .treatment-card {
  width: 100%;
  max-width: 100%;
}

.treatment-card:hover {
  transform: translateY(-6px);
  border-color: #38bdf8;
  box-shadow: 0 14px 30px rgba(2, 132, 199, 0.14);
}

.treatment-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  background: #f0f7fb;
  overflow: hidden;
  border-radius: 17px 17px 0 0;
  flex-shrink: 0;
}

.treatment-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.treatment-card:hover .treatment-image-wrapper img {
  transform: scale(1.06);
}

.treatment-content {
  padding: 1.35rem 1.4rem 1.35rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

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

.treatment-category {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--accent-blue);
  margin-bottom: 0.4rem;
}

.treatment-title {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.28;
  margin-bottom: 0.55rem;
  min-height: 3.25rem;
  display: flex;
  align-items: flex-start;
  transition: color 0.2s ease;
}

.treatment-card:hover .treatment-title {
  color: var(--accent-blue);
}

.treatment-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 0.85rem;
  min-height: 44px;
}

.treatment-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
  padding-bottom: 0.85rem;
  min-height: 34px;
}

.treatment-pill {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-full);
  background: #f0f7fb;
  color: #334155;
  border: 1px solid #dbeafe;
  line-height: 1.3;
}

.treatment-card-footer {
  padding-top: 0.85rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: auto;
}

.treatment-arrow {
  display: inline-block;
  font-size: 1.05rem;
  transition: transform 0.25s ease;
}

.treatment-card:hover .treatment-arrow {
  transform: translateX(4px);
}

/* Treatments Pagination Dots */
.treatments-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  padding-bottom: 0.25rem;
}

.treatment-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.treatment-dot.active {
  width: 26px;
  background: var(--accent-blue);
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
}

.treatments-carousel-track.view-all-grid ~ .treatments-carousel-dots {
  display: none;
}

/* Interactive Pioneer Showcase Section */
.pioneer-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
}

.pioneer-selector-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pioneer-nav-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pioneer-nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: transparent;
  transition: var(--transition);
}

.pioneer-nav-item:hover {
  background: #f0f7fb;
  border-color: #bae6fd;
  transform: translateX(4px);
}

.pioneer-nav-item.active {
  background: #f0f7fb;
  border-color: var(--accent-blue);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.15);
}

.pioneer-nav-item.active::before {
  background: var(--accent-blue);
}

.pioneer-nav-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.pioneer-nav-item.active .pioneer-nav-icon {
  background: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transform: scale(1.05);
}

.pioneer-nav-text {
  flex: 1;
}

.pioneer-nav-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-blue);
  letter-spacing: 0.05em;
}

.pioneer-nav-text h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0.15rem 0 0.25rem 0;
  line-height: 1.3;
}

.pioneer-nav-text small {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.pioneer-arrow {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.pioneer-nav-item.active .pioneer-arrow {
  color: var(--accent-blue);
  transform: translateX(4px);
}

/* Right Spotlight Display */
.pioneer-spotlight-box {
  position: sticky;
  top: 100px;
}

.spotlight-card {
  background: #ffffff;
  border: 1px solid #e3edf3;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
  animation: fadeInSpotlight 0.4s ease forwards;
}

@keyframes fadeInSpotlight {
  from {
    opacity: 0.4;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.spotlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), #38bdf8, var(--accent-teal));
}

.spotlight-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.spotlight-badge {
  padding: 0.3rem 0.85rem;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-full);
  color: var(--accent-blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.spotlight-metric-pill {
  padding: 0.3rem 0.85rem;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: var(--radius-full);
  color: #15803d;
  font-size: 0.8rem;
  font-weight: 800;
}

.spotlight-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  line-height: 1.25;
}

.spotlight-summary {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.spotlight-outcomes-heading {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.spotlight-outcomes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
}

.spotlight-outcome-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.92rem;
  color: var(--text-primary);
  line-height: 1.45;
  transition: var(--transition);
}

.spotlight-outcome-item:hover {
  background: #f0f7fb;
  border-color: #bae6fd;
  transform: translateX(4px);
}

.spotlight-outcome-item i {
  color: var(--accent-teal);
  font-size: 0.95rem;
  margin-top: 0.2rem;
}

.innovation-header {
  border-right: 1px solid var(--border-light);
  padding-right: 1.5rem;
}

.innovation-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.innovation-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.innovation-header p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.innovation-header p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.innovation-outcomes {
  list-style: none;
}

.innovation-outcomes li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-primary);
}

.innovation-outcomes li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: 700;
}

/* Research & Publications Hub */
.search-filter-box {
  background: #ffffff;
  border: 1px solid #e3edf3;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 280px;
}

.search-input-wrapper i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.search-input:focus {
  background: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.filter-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 0.5rem 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}

.filter-tab:hover, .filter-tab.active {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.25);
}

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

.research-card {
  background: #ffffff;
  border: 1px solid #e3edf3;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.research-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue);
  box-shadow: 0 10px 26px rgba(2, 132, 199, 0.1);
}

.research-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.research-tag {
  padding: 0.25rem 0.75rem;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-full);
  color: var(--accent-blue);
  font-size: 0.75rem;
  font-weight: 700;
}

.research-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  line-height: 1.35;
}

.research-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex: 1;
}

.research-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.copy-bib-btn {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.copy-bib-btn:hover {
  color: var(--accent-blue);
}

/* Executive Leadership Banner & Controls */
.leadership-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.leadership-stat-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}

.leadership-stat-item:hover {
  border-color: var(--accent-blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.1);
}

.leadership-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.leadership-stat-info {
  display: flex;
  flex-direction: column;
}

.leadership-stat-item .stat-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent-blue);
  line-height: 1.1;
  -webkit-text-fill-color: var(--accent-blue);
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* Category Filter Tabs for Leadership */
.leadership-filter-box {
  margin-bottom: 2rem;
}

.leadership-tab {
  padding: 0.55rem 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.leadership-tab:hover, .leadership-tab.active {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.25);
  transform: translateY(-2px);
}

/* Executive Leadership Cards Grid */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.75rem;
}

.leadership-card {
  background: #ffffff;
  border: 1px solid #e3edf3;
  border-radius: 18px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.leadership-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: transparent;
  transition: var(--transition);
}

.leadership-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(2, 132, 199, 0.1);
}

.leadership-card:hover::before {
  background: linear-gradient(90deg, var(--accent-blue), #38bdf8, var(--accent-emerald));
}

.leadership-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.leadership-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #f0f7fb;
  border: 1px solid #bae6fd;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.leadership-card:hover .leadership-icon {
  background: var(--accent-blue);
  color: #ffffff;
}

.leadership-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.leadership-category-badge {
  padding: 0.2rem 0.65rem;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-full);
  color: var(--accent-blue);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.leadership-highlight-badge {
  padding: 0.2rem 0.65rem;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: var(--radius-full);
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 800;
}

.leadership-info h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.lead-org {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-blue);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.lead-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Teaching & Surgical Workshops */
.teaching-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.teaching-card {
  background: #ffffff;
  border: 1px solid #e3edf3;
  border-radius: 16px;
  padding: 1.75rem;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.teaching-card:hover {
  border-color: var(--accent-teal);
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(13, 148, 136, 0.1);
}

.teaching-count {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-teal);
  margin-bottom: 0.5rem;
}

.teaching-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.teaching-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Redesigned Education & Academic Achievements Section */
.education-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
}

.edu-stat-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}

.edu-stat-card:hover {
  border-color: var(--accent-gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.12);
}

.edu-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.edu-stat-text {
  display: flex;
  flex-direction: column;
}

.edu-stat-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
}

.edu-stat-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Track Switcher (Timeline vs Gold Medals) */
.education-track-switcher {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.edu-track-btn {
  padding: 0.75rem 1.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transition: var(--transition);
}

.edu-track-btn:hover, .edu-track-btn.active {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.25);
  transform: translateY(-2px);
}

.edu-track-content {
  display: none;
}

.edu-track-content.active {
  display: block;
  animation: fadeInSpotlight 0.4s ease forwards;
}

/* Modern Vertical Timeline Track */
.modern-timeline {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.modern-timeline::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 27px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-blue), #38bdf8, var(--accent-gold));
}

.modern-timeline-item {
  position: relative;
  padding-left: 70px;
}

.modern-timeline-node {
  position: absolute;
  left: 6px;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--accent-blue);
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.15);
  z-index: 2;
  transition: var(--transition);
}

.modern-timeline-item:hover .modern-timeline-node {
  background: var(--accent-blue);
  color: #ffffff;
  border-color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35);
}

.modern-timeline-card {
  background: #ffffff;
  border: 1px solid #e3edf3;
  border-radius: 16px;
  padding: 1.75rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}

.modern-timeline-item:hover .modern-timeline-card {
  border-color: var(--accent-blue);
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.1);
}

.modern-timeline-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.modern-timeline-year {
  padding: 0.25rem 0.75rem;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  color: var(--accent-blue);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
}

.modern-timeline-badge {
  padding: 0.25rem 0.75rem;
  background: #f0f7fb;
  border: 1px solid #e2e8f0;
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.modern-timeline-card h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.edu-institution {
  font-size: 0.95rem;
  color: var(--accent-blue);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.edu-location {
  color: var(--text-muted);
  font-weight: 500;
}

.edu-detail {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Gold Medals & Honors Wall Track */
.modern-awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.modern-award-card {
  background: #ffffff;
  border: 1px solid #fde68a;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.05);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.modern-award-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), #fcd34d, var(--accent-gold));
}

.modern-award-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: 0 10px 28px rgba(217, 119, 6, 0.15);
}

.modern-award-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modern-award-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.modern-award-category {
  padding: 0.25rem 0.75rem;
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: var(--radius-full);
  color: #b45309;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.modern-award-card h5 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.modern-award-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Appointment / Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card {
  background: #ffffff;
  border: 1px solid #e3edf3;
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-detail-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #e0f2fe;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.contact-detail-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.contact-form {
  background: #ffffff;
  border: 1px solid #e3edf3;
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.92rem;
  transition: var(--transition);
}

.form-control:focus {
  background: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

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

/* Footer */
.footer {
  background: #081424;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 0 30px 0;
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.footer-brand p {
  font-size: 0.88rem;
  color: #94a3b8;
  max-width: 400px;
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748b;
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8, 20, 36, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #ffffff;
  border: 1px solid #e3edf3;
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 90%;
  padding: 2rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  color: var(--text-muted);
  font-size: 1.25rem;
}

.modal-close:hover {
  color: var(--text-primary);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .pioneer-showcase-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .pioneer-spotlight-box {
    position: relative;
    top: 0;
  }

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

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

@media (max-width: 1160px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
}

@media (max-width: 768px) {
  .navbar .container {
    height: 74px;
    padding: 0 1.25rem;
    gap: 0.75rem;
  }

  .brand-logo-img {
    height: 48px;
    max-width: 56px;
  }

  .brand-badge {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
    border-radius: 10px;
  }

  .brand-text h1 {
    font-size: 1.15rem;
    white-space: nowrap !important;
  }

  .brand-text span {
    font-size: 0.68rem;
    white-space: nowrap !important;
  }

  .nav-cta-btn {
    padding: 0.52rem 1rem !important;
    font-size: 0.74rem !important;
    white-space: nowrap !important;
  }

  .mobile-nav-drawer {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: none;
  }
}

@media (max-width: 480px) {
  .navbar .container {
    padding: 0 0.85rem;
  }

  .brand-logo-img {
    height: 42px;
    max-width: 48px;
  }

  .brand-badge {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }

  .brand-text h1 {
    font-size: 1.02rem;
    white-space: nowrap !important;
  }

  .brand-text span {
    font-size: 0.62rem;
    white-space: nowrap !important;
  }

  .nav-cta-btn {
    padding: 0.45rem 0.8rem !important;
    font-size: 0.7rem !important;
    white-space: nowrap !important;
  }
}

  .mobile-nav-drawer.active {
    display: flex;
  }

  .mobile-nav-drawer a {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f1f5f9;
  }

  .mobile-nav-drawer a:hover {
    color: var(--accent-blue);
  }

  .mobile-nav-drawer a.active {
    color: var(--accent-blue);
    font-weight: 800;
    border-left: 3px solid var(--accent-blue);
    padding-left: 0.5rem;
  }

  /* Pioneer Showcase Mobile Optimization */
  .pioneer-selector-list {
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.75rem;
    gap: 0.85rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-blue) transparent;
  }

  .pioneer-selector-list::-webkit-scrollbar {
    height: 4px;
  }

  .pioneer-selector-list::-webkit-scrollbar-thumb {
    background: var(--accent-blue);
    border-radius: 4px;
  }

  .pioneer-nav-item {
    flex: 0 0 250px;
    scroll-snap-align: start;
    padding: 1rem 1.15rem;
    gap: 0.85rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
  }

  .pioneer-nav-item.active {
    background: #f0f7fb;
    border-color: var(--accent-blue);
    box-shadow: 0 4px 18px rgba(2, 132, 199, 0.15);
  }

  .pioneer-nav-icon {
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
    border-radius: 12px;
    flex-shrink: 0;
  }

  .pioneer-nav-badge {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--accent-blue);
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 0.2rem;
  }

  .pioneer-nav-text h4 {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: normal;
    line-height: 1.35;
    word-break: break-word;
    margin: 0.1rem 0 0.35rem 0;
  }

  .pioneer-nav-text small {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
  }

  .pioneer-arrow {
    display: none;
  }

  .spotlight-card {
    padding: 1.5rem 1.25rem;
  }

  .spotlight-title {
    font-size: 1.3rem;
  }

  .spotlight-summary {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
  }

  .spotlight-badge-row {
    gap: 0.5rem;
  }

  .spotlight-badge, .spotlight-metric-pill {
    font-size: 0.72rem;
    padding: 0.25rem 0.65rem;
  }

  .spotlight-outcome-item {
    padding: 0.75rem 0.9rem;
    font-size: 0.88rem;
  }
}

/* Floating Surgical Instruments & Ambient High-Tech Medical Accents */
.floating-surgical-icon {
  position: absolute;
  pointer-events: none;
  opacity: 0.08;
  color: var(--accent-blue);
  font-size: 2.5rem;
  animation: floatSurgical 9s ease-in-out infinite alternate;
  z-index: 1;
  user-select: none;
}

[data-theme="light"] .floating-surgical-icon {
  opacity: 0.08;
  color: var(--accent-blue);
}

.floating-surgical-icon.icon-delay-1 {
  animation-delay: -2.5s;
  animation-duration: 11s;
}

.floating-surgical-icon.icon-delay-2 {
  animation-delay: -5s;
  animation-duration: 13s;
}

.floating-surgical-icon.icon-delay-3 {
  animation-delay: -7.5s;
  animation-duration: 10s;
}

.floating-surgical-icon.icon-lg {
  font-size: 3.5rem;
}

.floating-surgical-icon.icon-sm {
  font-size: 1.8rem;
}

@keyframes floatSurgical {
  0% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-22px) rotate(12deg) scale(1.08);
  }
  100% {
    transform: translateY(-40px) rotate(-10deg) scale(0.92);
  }
}

/* ==========================================================================
   Feedback & Testimonials Section (Saacademy Authentic Reviews)
   ========================================================================== */
.feedback-section {
  background: linear-gradient(180deg, #f8fbfd 0%, #f0f7fb 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Feedback Stats Summary Banner */
.feedback-stats-banner {
  background: #ffffff;
  border: 1px solid #e3edf3;
  border-radius: 20px;
  padding: 2.25rem 2.75rem;
  max-width: 900px;
  margin: 0 auto 3rem auto;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.feedback-rating-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
  min-width: 200px;
}

.feedback-score-num {
  font-family: var(--font-serif);
  font-size: 3.25rem;
  font-weight: 700;
  line-height: 1;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.feedback-score-num span {
  font-size: 1.5rem;
  color: #64748b;
  font-weight: 500;
  margin-left: 2px;
}

.feedback-score-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  font-size: 1.15rem;
  margin: 0.5rem 0 0.35rem 0;
}

.feedback-score-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #64748b;
}

.feedback-stat-divider {
  width: 1px;
  align-self: stretch;
  background: #e2e8f0;
}

.feedback-metrics-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: 1;
  gap: 1.5rem;
}

.feedback-metric-item {
  text-align: center;
}

.feedback-metric-val {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--accent-blue);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.feedback-metric-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
}

/* Category Filter Tabs */
.feedback-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.75rem;
  position: relative;
  z-index: 2;
}

.feedback-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.35rem;
  border-radius: 9999px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.feedback-tab-btn:hover {
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}

.feedback-tab-btn.active {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.25);
}

.feedback-tab-btn .tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  transition: var(--transition);
}

.feedback-tab-btn.active .tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Reviews Grid */
.feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.75rem;
  position: relative;
  z-index: 2;
}

/* Individual Review Card */
.feedback-card {
  background: #ffffff;
  border: 1px solid #e3edf3;
  border-radius: 18px;
  padding: 2rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.feedback-card:hover {
  transform: translateY(-5px);
  border-color: rgba(2, 132, 199, 0.4);
  box-shadow: 0 14px 34px rgba(2, 132, 199, 0.12);
}

.feedback-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.feedback-stars {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.95rem;
}

.feedback-star-score {
  font-size: 0.85rem;
  font-weight: 800;
  color: #0f172a;
  margin-left: 0.4rem;
}

.feedback-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #059669;
  border: 1px solid #a7f3d0;
}

.feedback-quote-mark {
  color: rgba(2, 132, 199, 0.25);
  font-size: 1.45rem;
  line-height: 1;
  margin-bottom: 0;
  display: flex;
  align-items: center;
}

.feedback-text {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #334155;
  font-style: italic;
  margin-bottom: 0;
  flex-grow: 1;
}

.feedback-card-footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
}

.feedback-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.feedback-author-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.feedback-author-name {
  font-size: 0.96rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 0.2rem 0;
  line-height: 1.3;
}

.feedback-badge-row {
  margin-bottom: 0.25rem;
}

.feedback-specialty-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0284c7;
  background: #f0f7fb;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  border: 1px solid #e0f2fe;
}

.feedback-institution {
  font-size: 0.76rem;
  color: #64748b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.feedback-toggle-btn {
  padding: 0.85rem 2.25rem !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
  color: #17293e;
  border: 2px solid #cbd5e1;
}

.feedback-toggle-btn:hover {
  border-color: #0284c7;
  color: #0284c7;
  background: #f0f7fb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.15);
}

/* Responsive Rules for Feedback */
@media (max-width: 860px) {
  .feedback-stats-banner {
    flex-direction: column;
    padding: 1.75rem 1.5rem;
    gap: 1.5rem;
  }
  
  .feedback-stat-divider {
    width: 100%;
    height: 1px;
  }

  .feedback-metrics-grid {
    width: 100%;
    justify-content: space-between;
  }

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