/*===================================================================
   DR. ARNAB MISHRA - AWARD-WINNING CLINICAL & SURGICAL DESIGN SYSTEM
   Modern Glassmorphism, Micro-Interactions & Bespoke SVG Animations
===================================================================*/

/* Global Smoothness & Scrollbar */
html {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #070e1b;
}
::-webkit-scrollbar-thumb {
  background: #1d4ed8;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3b82f6;
}

::selection {
  background: #1d4ed8;
  color: #ffffff;
}

/* Typography Enhancements */
.text-gradient-cyan {
  background: linear-gradient(135deg, #60a5fa 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-info {
  color: #3b82f6 !important;
}

.text-gold,
.text-amber {
  color: #f59e0b !important;
}

.btn-outline-info {
  color: #3b82f6 !important;
  border-color: #3b82f6 !important;
}

.btn-outline-info:hover {
  background-color: #1d4ed8 !important;
  border-color: #1d4ed8 !important;
  color: #ffffff !important;
}

/* Top Bar Overhaul */
#topbar {
  background: #070e1b !important;
  border-bottom: 1px solid rgba(96, 165, 250, 0.15);
  height: 44px;
  font-size: 13.5px;
  letter-spacing: 0.2px;
  font-weight: 500;
  color: #94a3b8 !important;
  backdrop-filter: blur(10px);
}

#topbar .topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.25);
  color: #60a5fa;
  padding: 3px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
}

#topbar .topbar-badge .pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: beacon-pulse 2s infinite;
}

#topbar a {
  color: #e2e8f0;
  transition: all 0.2s ease;
}

#topbar a:hover {
  color: #60a5fa;
}

#topbar i {
  color: #60a5fa;
  margin-right: 6px;
}

/* Header Overhaul */
#header {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  padding: 14px 0 !important;
  transition: all 0.35s ease;
}

#header.header-scrolled {
  box-shadow: 0 10px 30px -5px rgba(29, 78, 216, 0.15) !important;
  padding: 10px 0 !important;
  background: rgba(255, 255, 255, 0.98) !important;
}

#header .logo img {
  max-height: 46px;
  transition: transform 0.3s ease;
}

#header .logo:hover img {
  transform: scale(1.02);
}

/* Branded Resilient Logo Fallback */
.logo-fallback-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-fallback-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.35);
  flex-shrink: 0;
}

.logo-fallback-text {
  font-family: "Outfit", sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: #1d4ed8;
  letter-spacing: -0.01em;
  line-height: 1;
}

.logo-fallback-text span {
  color: #0f172a;
}

/* Modern Navigation Links */
.navbar a, 
.navbar a:focus {
  font-family: "Outfit", sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  color: #1e293b !important;
  letter-spacing: 0.3px;
  position: relative;
  padding: 10px 18px !important;
  transition: all 0.25s ease !important;
  text-transform: capitalize !important;
}

.navbar a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2.5px;
  background: linear-gradient(90deg, #1d4ed8, #f59e0b);
  border-radius: 4px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar a:hover::after,
.navbar .active::after {
  transform: scaleX(1);
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus {
  color: #1d4ed8 !important;
}

/* Dropdown Menu Glassmorphism */
.navbar .dropdown ul,
.dropdown-content {
  background: rgba(255, 255, 255, 0.96) !important;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(29, 78, 216, 0.15) !important;
  border-radius: 12px !important;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.15) !important;
  padding: 8px !important;
  overflow: hidden;
}

.navbar .dropdown ul li a,
.dropdown-content a {
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #334155 !important;
  padding: 10px 16px !important;
  border-radius: 8px;
  transition: all 0.2s ease !important;
}

.navbar .dropdown ul li a:hover,
.dropdown-content a:hover {
  background: rgba(29, 78, 216, 0.08) !important;
  color: #1d4ed8 !important;
  transform: translateX(4px);
}

/* Header Glowing Appointment Button */
.appointment-btn {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
  color: #ffffff !important;
  font-family: "Outfit", sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 0.3px;
  padding: 10px 24px !important;
  border-radius: 9999px !important;
  margin-top: 0 !important;
  box-shadow: 0 4px 15px rgba(29, 78, 216, 0.35) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
}

.appointment-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.appointment-btn:hover::before {
  left: 100%;
}

.appointment-btn:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(29, 78, 216, 0.5) !important;
}

/* ===================================================================
   AWARD-WINNING HERO SECTION
=================================================================== */
.hero-award {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(29, 78, 216, 0.24) 0%, transparent 50%),
              radial-gradient(circle at 10% 70%, rgba(245, 158, 11, 0.16) 0%, transparent 45%),
              #070e1b;
  color: #ffffff;
  padding: 140px 0 90px 0;
  overflow: hidden;
  z-index: 1;
}

/* Background Animated Grid & Particles */
.hero-award .hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(96, 165, 250, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.6;
}

.hero-award .hero-ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
}

.hero-award .orb-1 {
  width: 450px;
  height: 450px;
  background: rgba(29, 78, 216, 0.22);
  top: -100px;
  right: -50px;
  animation: orb-drift 10s ease-in-out infinite alternate;
}

.hero-award .orb-2 {
  width: 350px;
  height: 350px;
  background: rgba(245, 158, 11, 0.18);
  bottom: 0px;
  left: -80px;
  animation: orb-drift 14s ease-in-out infinite alternate-reverse;
}

@keyframes orb-drift {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(40px) scale(1.1); }
}

/* Hero Badge */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(29, 78, 216, 0.15);
  border: 1px solid rgba(96, 165, 250, 0.35);
  backdrop-filter: blur(12px);
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(29, 78, 216, 0.2);
}

.hero-badge-pill .pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: beacon-pulse 1.8s infinite;
}

@keyframes beacon-pulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* Hero Titles */
.hero-award h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: -0.03em;
}

@media (max-width: 992px) {
  .hero-award h1 {
    font-size: 38px;
  }
}

.hero-award .hero-lead {
  font-size: 18px;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 600px;
  margin-bottom: 32px;
  font-weight: 400;
}

/* Hero CTAs */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 40px;
}

.btn-hero-primary {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff !important;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 34px;
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(29, 78, 216, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #f59e0b 100%);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(29, 78, 216, 0.65);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  color: #ffffff !important;
  font-family: "Outfit", sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 28px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(96, 165, 250, 0.5);
  transform: translateY(-2px);
  color: #60a5fa !important;
}

/* Hero Trust Stats Strip */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

.hero-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 14px 16px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.hero-stat-card:hover {
  background: rgba(29, 78, 216, 0.1);
  border-color: rgba(96, 165, 250, 0.3);
  transform: translateY(-2px);
}

.hero-stat-card .stat-number {
  font-family: "Outfit", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #60a5fa;
  line-height: 1.1;
  margin-bottom: 4px;
}

.hero-stat-card .stat-label {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
  line-height: 1.3;
}

/* ===================================================================
   HERO RIGHT COLUMN - HIGH TECH SURGICAL SHOWCASE & SVG ANIMATIONS
=================================================================== */
.hero-doctor-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.doctor-card-wrapper {
  position: relative;
  width: 100%;
  max-width: 470px;
  background: rgba(11, 29, 58, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6),
              0 0 50px -10px rgba(29, 78, 216, 0.35);
  overflow: hidden;
  z-index: 2;
}

/* Animated Neon Border Glow */
.doctor-card-wrapper::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #1d4ed8, #f59e0b, #60a5fa, transparent, #1d4ed8);
  border-radius: 30px;
  z-index: -1;
  opacity: 0.45;
  animation: border-rotate 8s linear infinite;
}

@keyframes border-rotate {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

/* Doctor Portrait Frame */
.doctor-img-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  background: #0f172a;
}

.doctor-img-container img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}

.doctor-card-wrapper:hover .doctor-img-container img {
  transform: scale(1.03);
}

/* Concentric Scope Targeting Rings (SVG Overlay) */
.laparoscopic-target-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 100px;
  height: 100px;
  pointer-events: none;
  z-index: 4;
}

.laparoscopic-target-overlay svg {
  width: 100%;
  height: 100%;
}

.scope-ring-outer {
  stroke: rgba(96, 165, 250, 0.6);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 6 3;
  animation: rotate-scope-cw 12s linear infinite;
  transform-origin: center;
}

.scope-ring-inner {
  stroke: rgba(245, 158, 11, 0.7);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 4 4;
  animation: rotate-scope-ccw 8s linear infinite;
  transform-origin: center;
}

.scope-radar {
  fill: url(#radarGradient);
  animation: rotate-scope-cw 4s linear infinite;
  transform-origin: center;
}

@keyframes rotate-scope-cw {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes rotate-scope-ccw {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

/* Floating Glassmorphic Badges on Doctor Card */
.floating-badge {
  position: absolute;
  background: rgba(7, 19, 39, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(96, 165, 250, 0.3);
  padding: 10px 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  z-index: 5;
  animation: float-badge 4s ease-in-out infinite alternate;
}

.badge-top-right {
  top: 35px;
  right: -15px;
  animation-delay: 0.5s;
}

.badge-bottom-left {
  bottom: 125px;
  left: -20px;
  animation-delay: 1.5s;
}

@media (max-width: 576px) {
  .badge-top-right { right: 5px; top: 20px; }
  .badge-bottom-left { left: 5px; bottom: 135px; }
}

@keyframes float-badge {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.floating-badge .badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1d4ed8, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  flex-shrink: 0;
}

.floating-badge .badge-title {
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.floating-badge .badge-sub {
  font-size: 11px;
  color: #94a3b8;
  margin: 0;
}

/* Animated ECG Pulse Monitor Box in Card */
.hero-ecg-monitor {
  background: rgba(4, 13, 26, 0.9);
  border: 1px solid rgba(96, 165, 250, 0.2);
  border-radius: 16px;
  padding: 14px 16px;
  margin-top: 18px;
  position: relative;
  overflow: hidden;
}

.ecg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
  color: #94a3b8;
}

.ecg-header .ecg-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #10b981;
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ecg-live-tag .dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: beacon-pulse 1.5s infinite;
}

.ecg-svg-canvas {
  width: 100%;
  height: 54px;
  display: block;
}

.ecg-path-bg {
  stroke: rgba(96, 165, 250, 0.15);
  stroke-width: 1;
  fill: none;
}

.ecg-path-pulse {
  stroke: #60a5fa;
  stroke-width: 2.2;
  fill: none;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: ecg-trace 2.8s linear infinite;
  filter: drop-shadow(0 0 6px #3b82f6);
}

@keyframes ecg-trace {
  0% { stroke-dashoffset: 400; }
  100% { stroke-dashoffset: -400; }
}

.ecg-info-bar {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11.5px;
  color: #cbd5e1;
}

.ecg-info-bar span strong {
  color: #fbbf24;
  font-family: "Outfit", sans-serif;
}

/* ===================================================================
   SVG WAVE DIVIDERS
=================================================================== */
.svg-wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(0deg);
}

.svg-wave-divider svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 55px;
}

.wave-fill-dark {
  fill: #070e1b;
}

.wave-fill-light {
  fill: #f8fafc;
}

.wave-fill-white {
  fill: #ffffff;
}

/* ===================================================================
   FEATURED SPECIALTIES LUXURY CARDS
=================================================================== */
.featured-specialties-modern {
  padding: 85px 0 70px 0;
  background: #f8fafc;
  position: relative;
}

.section-header-modern {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 55px auto;
}

.section-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(29, 78, 216, 0.1);
  border: 1px solid rgba(29, 78, 216, 0.25);
  color: #1d4ed8;
  padding: 6px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.section-header-modern h2 {
  font-size: 38px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .section-header-modern h2 {
    font-size: 30px;
  }
}

.section-header-modern p {
  font-size: 17px;
  color: #64748b;
  line-height: 1.7;
}

/* Modern Specialty Glass Cards */
.specialty-card-modern {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.specialty-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1d4ed8, #f59e0b);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.specialty-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px -12px rgba(29, 78, 216, 0.22);
  border-color: rgba(29, 78, 216, 0.3);
}

.specialty-card-modern:hover::before {
  opacity: 1;
}

/* Card SVG Icon Container */
.specialty-svg-wrap {
  width: 90px;
  height: 90px;
  margin: 0 auto 24px auto;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.08) 0%, rgba(245, 158, 11, 0.12) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.4s ease;
}

.specialty-card-modern:hover .specialty-svg-wrap {
  transform: scale(1.08) rotate(2deg);
}

.specialty-svg-wrap svg {
  width: 58px;
  height: 58px;
}

.specialty-card-modern .badge-specialty {
  display: inline-block;
  align-self: center;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1d4ed8;
  background: rgba(29, 78, 216, 0.08);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 14px;
  letter-spacing: 0.4px;
}

.specialty-card-modern h3 {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  text-align: center;
  margin-bottom: 14px;
  transition: color 0.2s ease;
}

.specialty-card-modern:hover h3 {
  color: #1d4ed8;
}

.specialty-card-modern p {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.65;
  text-align: center;
  margin-bottom: 20px;
  flex-grow: 1;
}

.specialty-card-modern .card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: #1d4ed8;
  margin-top: auto;
  transition: all 0.2s ease;
}

.specialty-card-modern:hover .card-link {
  color: #1e40af;
  gap: 12px;
}

/* ===================================================================
   BESPOKE SVG ANIMATIONS FOR SPECIALTIES
=================================================================== */

/* 1. Laparoscope Trocar & Laser Beam Animation */
.svg-laparoscope .trocar-shaft {
  stroke: #1d4ed8;
  stroke-width: 3.5;
  stroke-linecap: round;
}

.svg-laparoscope .laser-beam {
  stroke: #22d3ee;
  stroke-width: 2;
  stroke-dasharray: 4 2;
  animation: laser-pulse 1.8s infinite;
}

.svg-laparoscope .target-point {
  fill: #3b82f6;
  animation: target-expand 1.8s infinite;
  transform-origin: center;
}

@keyframes laser-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

@keyframes target-expand {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* 2. Hernia Mesh Grid Animation */
.svg-hernia-mesh .mesh-grid {
  stroke: #2563eb;
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 5 2;
  animation: mesh-interlock 3s ease-in-out infinite alternate;
}

.svg-hernia-mesh .mesh-node {
  fill: #f59e0b;
  animation: node-flash 2s infinite;
}

@keyframes mesh-interlock {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: 14; }
}

@keyframes node-flash {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* 3. Microsurgery Optics & Tweezers Animation */
.svg-microsurgery .lens-circle {
  stroke: #6366f1;
  stroke-width: 2.5;
  fill: none;
  animation: rotate-scope-cw 10s linear infinite;
  transform-origin: center;
}

.svg-microsurgery .micro-forceps {
  stroke: #1d4ed8;
  stroke-width: 2;
  stroke-linecap: round;
  animation: forceps-pinch 2.4s ease-in-out infinite;
  transform-origin: 50% 20%;
}

@keyframes forceps-pinch {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(4deg); }
}

/* 4. Beating Heart & Halo Animation */
.svg-cardiac-care .beating-heart {
  fill: #3b82f6;
  animation: cardiac-beat 1.4s infinite;
  transform-origin: center;
}

.svg-cardiac-care .radiant-halo {
  stroke: rgba(6, 182, 212, 0.4);
  stroke-width: 1.5;
  fill: none;
  animation: halo-radiate 2.5s infinite;
  transform-origin: center;
}

@keyframes cardiac-beat {
  0% { transform: scale(1); }
  14% { transform: scale(1.16); }
  28% { transform: scale(1); }
  42% { transform: scale(1.1); }
  70% { transform: scale(1); }
}

@keyframes halo-radiate {
  0% { transform: scale(0.85); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

/* ===================================================================
   ABOUT DOCTOR SECTION OVERHAUL
=================================================================== */
.about-modern {
  padding: 85px 0;
  background: #ffffff;
  position: relative;
}

.doctor-about-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.15);
  border: 1px solid #e2e8f0;
}

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

.doctor-credential-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(7, 19, 39, 0.95) 0%, rgba(7, 19, 39, 0.7) 70%, transparent 100%);
  padding: 30px 24px 20px 24px;
  color: #ffffff;
}

.doctor-credential-strip h4 {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 4px;
}

.doctor-credential-strip p {
  color: #60a5fa;
  font-size: 13.5px;
  margin: 0;
  font-weight: 600;
}

/* About Content Highlights */
.about-content-modern h2 {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin-bottom: 20px;
}

.about-content-modern .lead-text {
  font-size: 16.5px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 28px;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

@media (max-width: 576px) {
  .about-features-grid {
    grid-template-columns: 1fr;
  }
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 14px 16px;
  border-radius: 14px;
  transition: all 0.25s ease;
}

.about-feature-item:hover {
  background: rgba(29, 78, 216, 0.05);
  border-color: rgba(29, 78, 216, 0.3);
  transform: translateX(4px);
}

.about-feature-item i {
  color: #1d4ed8;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature-item div h5 {
  font-size: 14.5px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2px;
}

.about-feature-item div p {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

/* ===================================================================
   TYPES OF HERNIA - AWARD-WINNING 8-CARD GRID WITH ANIMATED SVGS
=================================================================== */
.hernia-section-modern {
  padding: 85px 0;
  background: #f8fafc;
}

.hernia-card-modern {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.hernia-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(29, 78, 216, 0.18);
  border-color: rgba(29, 78, 216, 0.35);
}

.hernia-card-modern .hernia-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.1) 0%, rgba(245, 158, 11, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.3s ease;
}

.hernia-card-modern:hover .hernia-icon-box {
  transform: scale(1.1);
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

.hernia-card-modern .hernia-icon-box svg {
  width: 40px;
  height: 40px;
  transition: filter 0.3s ease;
}

.hernia-card-modern:hover .hernia-icon-box svg path,
.hernia-card-modern:hover .hernia-icon-box svg circle {
  stroke: #ffffff !important;
}

.hernia-card-modern .hernia-category-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #1d4ed8;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.hernia-card-modern h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.hernia-card-modern p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.hernia-card-modern .quick-consult-link {
  font-size: 13px;
  font-weight: 700;
  color: #1d4ed8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.hernia-card-modern:hover .quick-consult-link {
  color: #1e40af;
  transform: translateX(4px);
}

/* ===================================================================
   EMERGENCY CTA SECTION - AWARD-WINNING NEON MEDICAL BANNER
=================================================================== */
.cta-emergency-award {
  position: relative;
  background: linear-gradient(135deg, #070e1b 0%, #0e234a 50%, #081a30 100%);
  padding: 70px 0;
  color: #ffffff;
  overflow: hidden;
  border-top: 1px solid rgba(96, 165, 250, 0.2);
  border-bottom: 1px solid rgba(96, 165, 250, 0.2);
}

.cta-emergency-award .cta-glow-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.25) 0%, transparent 70%);
  filter: blur(50px);
  pointer-events: none;
}

.cta-emergency-box {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 24px;
  padding: 45px 40px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cta-emergency-award .emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f87171;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 16px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.cta-emergency-award h3 {
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.cta-emergency-award p {
  font-size: 16px;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto 28px auto;
  line-height: 1.6;
}

.cta-emergency-award .cta-buttons-wrap {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-emergency-call {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff !important;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  padding: 13px 30px;
  border-radius: 9999px;
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.btn-emergency-call:hover {
  background: linear-gradient(135deg, #f87171 0%, #b91c1c 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.6);
}

/* ===================================================================
   DEPARTMENTS & PROCEDURES TABS OVERHAUL
=================================================================== */
.departments-modern {
  padding: 85px 0;
  background: #ffffff;
}

.departments-modern .nav-pills {
  gap: 12px;
}

.departments-modern .nav-pills .nav-link {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.departments-modern .nav-pills .nav-link:hover {
  background: rgba(29, 78, 216, 0.05);
  border-color: rgba(29, 78, 216, 0.3);
  transform: translateX(4px);
}

.departments-modern .nav-pills .nav-link.active {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
  border-color: transparent !important;
  box-shadow: 0 12px 28px -6px rgba(29, 78, 216, 0.35) !important;
  color: #ffffff !important;
}

.departments-modern .nav-pills .nav-link h4 {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.departments-modern .nav-pills .nav-link.active h4 {
  color: #ffffff;
}

.departments-modern .nav-pills .nav-link p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.departments-modern .nav-pills .nav-link.active p {
  color: rgba(255, 255, 255, 0.9);
}

/* Tab Content Showcase */
.department-showcase-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 12px 35px -8px rgba(15, 23, 42, 0.08);
}

.department-showcase-card h3 {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 14px;
}

.department-showcase-card .dept-img-wrap {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 22px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.department-showcase-card .dept-img-wrap img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.department-showcase-card p {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 20px;
}

.dept-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.dept-highlights-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #334155;
  margin-bottom: 10px;
  font-weight: 500;
}

.dept-highlights-list li i {
  color: #10b981;
  font-size: 18px;
  flex-shrink: 0;
}

/* ===================================================================
   APPOINTMENT SECTION - GLASSMORPHIC BOOKING INTERFACE
=================================================================== */
.appointment-modern {
  padding: 85px 0;
  background: radial-gradient(circle at 10% 20%, rgba(29, 78, 216, 0.06) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.06) 0%, transparent 40%),
              #f8fafc;
}

.appointment-glass-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08);
}

@media (max-width: 768px) {
  .appointment-glass-card {
    padding: 28px 20px;
  }
}

.appointment-glass-card .form-control,
.appointment-glass-card .form-select {
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 12px !important;
  padding: 13px 18px !important;
  font-size: 14.5px !important;
  color: #0f172a !important;
  background-color: #f8fafc !important;
  transition: all 0.25s ease !important;
}

.appointment-glass-card .form-control:focus,
.appointment-glass-card .form-select:focus {
  border-color: #1d4ed8 !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.15) !important;
  outline: none;
}

.appointment-glass-card button[type="submit"] {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%) !important;
  border: 0 !important;
  padding: 14px 44px !important;
  color: #ffffff !important;
  font-family: "Outfit", sans-serif !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  border-radius: 9999px !important;
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.35) !important;
  transition: all 0.3s ease !important;
  cursor: pointer;
}

.appointment-glass-card button[type="submit"]:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #f59e0b 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(29, 78, 216, 0.5) !important;
}

/* Clinic Info Side Card */
.clinic-contact-card {
  background: linear-gradient(135deg, #070e1b 0%, #0f172a 100%);
  border-radius: 24px;
  padding: 40px 32px;
  color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 45px -10px rgba(7, 19, 39, 0.35);
  border: 1px solid rgba(96, 165, 250, 0.2);
}

.clinic-contact-card h4 {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 18px;
}

.clinic-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.clinic-contact-item i {
  color: #60a5fa;
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}

.clinic-contact-item div strong {
  display: block;
  font-size: 14px;
  color: #cbd5e1;
  margin-bottom: 2px;
}

.clinic-contact-item div p {
  font-size: 13.5px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

.clinic-contact-item div a {
  color: #60a5fa;
  font-weight: 600;
}

/* ===================================================================
   SURGICAL GALLERY OVERHAUL
=================================================================== */
.gallery-modern {
  padding: 85px 0;
  background: #ffffff;
}

.gallery-modern .swiper-slide {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease;
}

.gallery-modern .swiper-slide:hover {
  transform: scale(1.03);
}

.gallery-modern .gallery-slider img {
  height: 240px;
  object-fit: cover;
  width: 100%;
  display: block;
}

/* ===================================================================
   FOOTER MODERNIZATION
=================================================================== */
#footer {
  background: #030712 !important;
  color: #94a3b8 !important;
  padding: 0 !important;
  border-top: 1px solid rgba(96, 165, 250, 0.15);
}

#footer .footer-top {
  background: #070e1b !important;
  padding: 70px 0 40px 0 !important;
}

#footer h5 {
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
}

#footer h5::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: #1d4ed8;
  border-radius: 2px;
}

#footer .footer-links ul li {
  padding: 8px 0 !important;
}

#footer .footer-links ul li a {
  color: #94a3b8 !important;
  transition: all 0.2s ease !important;
  font-size: 14px;
}

#footer .footer-links ul li a:hover {
  color: #60a5fa !important;
  transform: translateX(4px);
}

#footer .social-links a {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #60a5fa !important;
  border-radius: 10px !important;
  transition: all 0.3s ease !important;
}

#footer .social-links a:hover {
  background: #1d4ed8 !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.4);
}

#footer .copyright {
  background: #030712;
  padding: 24px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13.5px;
  color: #64748b;
}

#footer .copyright strong {
  color: #cbd5e1;
}

/* ===================================================================
   FLOATING WHATSAPP & CALL QUICK-ACTION SVG WIDGET
=================================================================== */
.floating-quick-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 995;
}

.float-btn-whatsapp {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  text-decoration: none;
}

.float-btn-whatsapp::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: radar-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

@keyframes radar-ping {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

.float-btn-whatsapp:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.float-btn-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.back-to-top {
  border-radius: 50% !important;
  background: #1d4ed8 !important;
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.35) !important;
}

.back-to-top:hover {
  background: #3b82f6 !important;
  transform: translateY(-2px);
}

/* Inner Pages Banner Section */
.full-width-banner-image {
  background: radial-gradient(circle at 80% 20%, rgba(29, 78, 216, 0.28) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(245, 158, 11, 0.22) 0%, transparent 50%),
              #070e1b !important;
  padding: 130px 20px 55px 20px !important;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(96, 165, 250, 0.2);
}

.full-width-banner-image::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(96, 165, 250, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.banner-text {
  font-family: "Outfit", sans-serif !important;
  font-size: 38px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em;
  line-height: 1.3 !important;
  position: relative;
  z-index: 2;
}

.banner-text br + * {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #60a5fa !important;
  letter-spacing: 0.5px;
  text-transform: capitalize;
}

/* ===================================================================
   INTERACTIVE SPOTLIGHT & SPECULAR HIGHLIGHT UTILITIES
=================================================================== */
.card-spotlight {
  position: relative;
  overflow: hidden;
}

.card-spotlight::after {
  content: '';
  position: absolute;
  top: var(--mouse-y, -1000px);
  left: var(--mouse-x, -1000px);
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.16) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  border-radius: 50%;
  transition: opacity 0.3s ease;
  opacity: 0;
  z-index: 1;
}

.card-spotlight:hover::after {
  opacity: 1;
}

/* ===================================================================
   SURGERY COMPARISON SECTION: TRADITIONAL VS ADVANCED LAPAROSCOPY
=================================================================== */
.comparison-section-modern {
  padding: 85px 0;
  background: #ffffff;
  position: relative;
}

.comparison-card-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 36px;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08);
  overflow-x: auto;
}

.comparison-table-custom {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}

.comparison-table-custom th {
  padding: 18px 24px;
  font-family: "Outfit", sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-align: left;
  border-bottom: 2px solid #e2e8f0;
}

.comparison-table-custom th.col-feature {
  color: #64748b;
  width: 30%;
}

.comparison-table-custom th.col-traditional {
  color: #64748b;
  background: #f8fafc;
  border-radius: 14px 0 0 0;
  width: 35%;
}

.comparison-table-custom th.col-mishra {
  color: #1d4ed8;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.08) 0%, rgba(245, 158, 11, 0.12) 100%);
  border-radius: 0 14px 0 0;
  border-top: 3px solid #1d4ed8;
  width: 35%;
}

.comparison-table-custom td {
  padding: 18px 24px;
  font-size: 14.5px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
}

.comparison-table-custom td.feature-title {
  font-weight: 600;
  color: #0f172a;
}

.comparison-table-custom td.traditional-val {
  background: #f8fafc;
  color: #64748b;
}

.comparison-table-custom td.mishra-val {
  background: rgba(29, 78, 216, 0.03);
  color: #0f172a;
  font-weight: 600;
  border-left: 2px solid rgba(29, 78, 216, 0.2);
}

.badge-tag-danger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ef4444;
  font-size: 13px;
  font-weight: 600;
}

.badge-tag-success {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2563eb;
  font-size: 13.5px;
  font-weight: 700;
}

/* ===================================================================
   4-STEP RAPID RECOVERY PATHWAY WITH ANIMATED SVG LINE
=================================================================== */
.pathway-section-modern {
  padding: 85px 0;
  background: radial-gradient(circle at 50% 50%, rgba(29, 78, 216, 0.05) 0%, transparent 60%), #f8fafc;
  position: relative;
  overflow: hidden;
}

.pathway-connector-svg {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  width: 90%;
  height: 60px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 991px) {
  .pathway-connector-svg {
    display: none;
  }
}

.pathway-connector-line {
  stroke: rgba(29, 78, 216, 0.3);
  stroke-width: 3;
  stroke-dasharray: 8 6;
  fill: none;
  animation: pathway-flow 8s linear infinite;
}

@keyframes pathway-flow {
  0% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -100; }
}

.pathway-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 34px 24px;
  height: 100%;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.pathway-step-card:hover {
  transform: translateY(-8px);
  border-color: #1d4ed8;
  box-shadow: 0 20px 40px -10px rgba(29, 78, 216, 0.22);
}

.step-number-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.35);
  position: relative;
}

.step-number-badge::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid rgba(29, 78, 216, 0.4);
  animation: beacon-pulse 2s infinite;
}

.pathway-step-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.pathway-step-card p {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* ===================================================================
   SURGICAL TECHNOLOGY INTERACTIVE SHOWCASE
=================================================================== */
.tech-showcase-modern {
  padding: 85px 0;
  background: #ffffff;
}

.tech-showcase-box {
  background: #070e1b;
  border-radius: 28px;
  padding: 48px 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(96, 165, 250, 0.25);
}

.tech-showcase-box .tech-grid-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(96, 165, 250, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 165, 250, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.tech-feature-pill-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 18px 20px;
  color: #cbd5e1;
  text-align: left;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  margin-bottom: 14px;
}

.tech-feature-pill-btn:hover,
.tech-feature-pill-btn.active {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.3) 0%, rgba(245, 158, 11, 0.2) 100%);
  border-color: #60a5fa;
  color: #ffffff;
  transform: translateX(6px);
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.3);
}

.tech-feature-pill-btn h5 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tech-feature-pill-btn p {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

/* ===================================================================
   VERIFIED PATIENT TESTIMONIALS & GOOGLE 5-STAR REVIEWS
=================================================================== */
.testimonials-modern {
  padding: 85px 0;
  background: #f8fafc;
}

.testimonial-card-luxury {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 34px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
  transition: all 0.35s ease;
  position: relative;
}

.testimonial-card-luxury:hover {
  transform: translateY(-6px);
  border-color: rgba(29, 78, 216, 0.35);
  box-shadow: 0 20px 40px -10px rgba(29, 78, 216, 0.18);
}

.star-rating-strip {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  font-size: 16px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}

.patient-profile-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid #f1f5f9;
  padding-top: 18px;
}

.patient-avatar-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.patient-meta h5 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.patient-meta span {
  font-size: 12px;
  color: #1d4ed8;
  font-weight: 600;
}

/* ===================================================================
   CASHLESS INSURANCE & MEDICLAIM STRIP
=================================================================== */
.insurance-strip-modern {
  background: linear-gradient(135deg, #070e1b 0%, #0f172a 100%);
  padding: 38px 0;
  border-top: 1px solid rgba(96, 165, 250, 0.15);
  border-bottom: 1px solid rgba(96, 165, 250, 0.15);
}

.insurance-pill-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(96, 165, 250, 0.2);
  padding: 8px 18px;
  border-radius: 9999px;
  color: #cbd5e1;
  font-size: 13px;
  font-weight: 600;
}

.insurance-pill-item i {
  color: #10b981;
}

/* ===================================================================
   INTERACTIVE FAQ ACCORDION WITH ANIMATED SVG
=================================================================== */
.faq-section-modern {
  padding: 85px 0;
  background: #ffffff;
}

.faq-card-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-card-item:hover,
.faq-card-item.active {
  border-color: rgba(29, 78, 216, 0.4);
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.08);
}

.faq-header-btn {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Outfit", sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  gap: 16px;
}

.faq-header-btn .faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(29, 78, 216, 0.1);
  color: #1d4ed8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-card-item.active .faq-header-btn .faq-icon {
  transform: rotate(180deg);
  background: #1d4ed8;
  color: #ffffff;
}

.faq-body-content {
  padding: 0 26px 22px 26px;
  font-size: 14.5px;
  color: #475569;
  line-height: 1.7;
  display: none;
}

.faq-card-item.active .faq-body-content {
  display: block;
}

/* ===================================================================
   AWARD-WINNING MEDICAL OFFCANVAS DRAWER & RESPONSIVE ENGINE
   Mobile First, High-Performance, Glassmorphic Design System
=================================================================== */

/* Prevent Horizontal Scroll Globally */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  position: relative;
}

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

/* Neutralize Legacy Mobile Popup Menu */
.navbar-mobile {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Offcanvas Backdrop with Glassmorphism Blur */
.clinical-offcanvas-backdrop {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(4, 13, 26, 0.78) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 99998 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.35s ease, visibility 0.35s ease !important;
}

.clinical-offcanvas-backdrop.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Offcanvas Slide-in Drawer */
.clinical-offcanvas-drawer {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  width: 350px !important;
  max-width: 88vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  background: linear-gradient(180deg, #070e1b 0%, #0b1e38 50%, #070e1b 100%) !important;
  border-left: 1px solid rgba(96, 165, 250, 0.25) !important;
  box-shadow: -15px 0 45px rgba(0, 0, 0, 0.6), -2px 0 15px rgba(29, 78, 216, 0.15) !important;
  z-index: 99999 !important;
  transform: translateX(105%) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  pointer-events: none;
}

.clinical-offcanvas-drawer.active {
  transform: translateX(0) !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Offcanvas Header Strip */
.offcanvas-header-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: rgba(11, 29, 58, 0.95);
  border-bottom: 1px solid rgba(96, 165, 250, 0.18);
  position: relative;
  z-index: 2;
}

.offcanvas-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.offcanvas-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  box-shadow: 0 4px 15px rgba(29, 78, 216, 0.4);
  flex-shrink: 0;
}

.offcanvas-brand-title {
  font-family: "Outfit", sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.offcanvas-brand-sub {
  font-size: 11.5px;
  color: #60a5fa;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.offcanvas-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.offcanvas-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
  transform: rotate(90deg);
}

/* Offcanvas Sub-bar */
.offcanvas-badge-bar {
  background: rgba(29, 78, 216, 0.12);
  border-bottom: 1px solid rgba(96, 165, 250, 0.1);
  padding: 8px 20px;
  font-size: 11.5px;
  font-weight: 600;
  color: #60a5fa;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Offcanvas Scrollable Body */
.offcanvas-nav-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  scrollbar-width: thin;
  scrollbar-color: #1d4ed8 #070e1b;
}

.offcanvas-nav-links {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.offcanvas-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #cbd5e1;
  text-decoration: none;
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.offcanvas-nav-item i:first-child {
  font-size: 18px;
  color: #1d4ed8;
  transition: transform 0.25s ease;
  width: 22px;
  text-align: center;
}

.offcanvas-nav-item:hover {
  background: rgba(29, 78, 216, 0.12);
  border-color: rgba(96, 165, 250, 0.2);
  color: #60a5fa;
  transform: translateX(4px);
}

.offcanvas-nav-item:hover i:first-child {
  transform: scale(1.15);
  color: #60a5fa;
}

.offcanvas-nav-item.active {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.22) 0%, rgba(245, 158, 11, 0.15) 100%);
  border-color: rgba(96, 165, 250, 0.35);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(29, 78, 216, 0.2);
}

.offcanvas-nav-item.active i:first-child {
  color: #fbbf24;
}

/* Accordion for Surgical Services in Drawer */
.offcanvas-dropdown-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.offcanvas-dropdown-toggle {
  justify-content: space-between;
}

.offcanvas-dropdown-toggle > span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.offcanvas-arrow {
  font-size: 13px !important;
  color: #94a3b8 !important;
  transition: transform 0.3s ease !important;
}

.offcanvas-dropdown-wrap.open .offcanvas-arrow {
  transform: rotate(180deg);
  color: #60a5fa !important;
}

.offcanvas-sublinks {
  background: rgba(4, 13, 26, 0.55);
  border-radius: 10px;
  margin: 4px 6px 6px 16px;
  border-left: 2px solid rgba(29, 78, 216, 0.4);
  padding: 6px 0;
}

.offcanvas-subitem {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s ease;
}

.offcanvas-subitem i {
  font-size: 16px;
  color: #1d4ed8;
}

.offcanvas-subitem:hover,
.offcanvas-subitem.active {
  color: #60a5fa;
  background: rgba(29, 78, 216, 0.1);
  padding-left: 18px;
}

/* Offcanvas Info Card */
.offcanvas-info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.offcanvas-info-card .info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.offcanvas-info-card .info-item i {
  font-size: 16px;
  color: #1d4ed8;
  margin-top: 2px;
  flex-shrink: 0;
}

.offcanvas-info-card .info-item strong {
  display: block;
  font-size: 12px;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.offcanvas-info-card .info-item span {
  display: block;
  font-size: 12.5px;
  color: #94a3b8;
  line-height: 1.4;
}

/* Offcanvas Footer Actions */
.offcanvas-footer-actions {
  padding: 16px 18px;
  background: rgba(11, 29, 58, 0.95);
  border-top: 1px solid rgba(96, 165, 250, 0.18);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}

.offcanvas-btn-primary {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
  color: #ffffff !important;
  font-family: "Outfit", sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 12px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(29, 78, 216, 0.4);
  transition: all 0.25s ease;
}

.offcanvas-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 78, 216, 0.6);
}

.offcanvas-btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.offcanvas-btn-call {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.offcanvas-btn-call:hover {
  background: rgba(29, 78, 216, 0.2);
  border-color: #60a5fa;
  color: #60a5fa !important;
}

.offcanvas-btn-whatsapp {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399 !important;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.offcanvas-btn-whatsapp:hover {
  background: #10b981;
  color: #ffffff !important;
}

/* ===================================================================
   RESPONSIVE HEADER & TOPBAR ENHANCEMENTS
=================================================================== */
@media (max-width: 991px) {
  #topbar {
    height: 38px !important;
    font-size: 12.5px !important;
    padding: 0 !important;
  }
  #topbar .container {
    height: 100%;
    justify-content: space-between;
  }
  #topbar .topbar-badge {
    padding: 2px 8px;
    font-size: 11px;
  }
  #topbar.topbar-scrolled {
    top: -38px !important;
  }

  #header {
    top: 38px !important;
    padding: 10px 0 !important;
  }
  #header.header-scrolled {
    top: 0 !important;
  }

  #header .logo img {
    max-height: 38px !important;
  }

  /* Hide desktop navbar ul on tablet/mobile */
  #navbar ul {
    display: none !important;
  }

  /* Modern Hamburger toggle button */
  .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(29, 78, 216, 0.1) !important;
    border: 1px solid rgba(29, 78, 216, 0.3) !important;
    color: #1d4ed8 !important;
    font-size: 24px !important;
    cursor: pointer;
    line-height: 1 !important;
    transition: all 0.25s ease;
    margin: 0;
    position: relative;
    z-index: 1005;
    pointer-events: auto !important;
    touch-action: manipulation;
    padding: 0;
    outline: none;
    box-sizing: border-box;
  }
  .mobile-nav-toggle:hover,
  .mobile-nav-toggle:focus {
    background: #1d4ed8 !important;
    color: #ffffff !important;
    transform: scale(1.05);
  }
  .mobile-nav-toggle * {
    pointer-events: none !important;
  }

  #header .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  #header .navbar {
    order: 3 !important;
    padding: 0 !important;
  }
  .appointment-btn {
    order: 2 !important;
    margin-left: auto !important;
    margin-right: 10px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    white-space: nowrap;
  }
}

@media (max-width: 576px) {
  #topbar .topbar-badge {
    display: none !important;
  }
  #topbar .container {
    justify-content: center !important;
  }
  #header .logo img {
    max-height: 34px !important;
  }
  .appointment-btn {
    padding: 7px 12px !important;
    font-size: 12.5px !important;
  }
  .appointment-btn span {
    display: none !important;
  }
  .appointment-btn::after {
    content: "Consult";
    font-size: 12.5px;
    font-weight: 700;
  }
}

/* ===================================================================
   RESPONSIVE COMPONENT & LAYOUT FIXES
=================================================================== */

/* SVG Dividers Zero-Overflow Fix */
.svg-wave-divider {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}
.svg-wave-divider svg {
  width: 100% !important;
  max-width: 100% !important;
}

/* Inner Page Banners Responsive Fix */
@media (max-width: 991px) {
  .full-width-banner-image {
    padding: 115px 16px 45px 16px !important;
  }
  .banner-text {
    font-size: clamp(24px, 5.5vw, 34px) !important;
  }
}

/* Hero Section Responsiveness */
@media (max-width: 991px) {
  .hero-award {
    padding: 125px 0 65px 0 !important;
  }
  .hero-doctor-showcase {
    margin-top: 35px;
  }
  .doctor-card-wrapper {
    max-width: 440px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .hero-award {
    padding: 105px 0 50px 0 !important;
  }
  .hero-award h1 {
    font-size: clamp(28px, 6vw, 36px) !important;
    line-height: 1.25 !important;
  }
  .hero-award .hero-lead {
    font-size: 15px !important;
    margin-bottom: 24px !important;
  }
  .hero-badge-pill {
    font-size: 12px !important;
    padding: 6px 12px !important;
    margin-bottom: 16px !important;
  }
  .doctor-card-wrapper {
    padding: 16px !important;
    border-radius: 20px !important;
  }
  .doctor-img-container img {
    height: 310px !important;
  }
  /* Floating Badges Overflow Elimination */
  .floating-badge {
    position: static !important;
    margin-bottom: 12px;
    width: 100% !important;
    transform: none !important;
    animation: none !important;
  }
  .badge-top-right, .badge-bottom-left {
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .btn-hero-primary, .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 20px !important;
    font-size: 14.5px !important;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .hero-stat-card {
    padding: 10px 12px !important;
  }
  .hero-stat-card .stat-number {
    font-size: 22px !important;
  }
}

@media (max-width: 480px) {
  .hero-stats-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .hero-ecg-monitor {
    padding: 10px 12px !important;
  }
  .ecg-info-bar {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }
}

/* Comparison Table Mobile Scroll */
.comparison-card-wrapper {
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  padding: 24px 16px !important;
}
.comparison-table-custom {
  min-width: 520px !important;
}
@media (max-width: 768px) {
  .comparison-section-modern {
    padding: 55px 0 !important;
  }
}

/* Appointment Form on Mobile */
@media (max-width: 768px) {
  .appointment-glass-card {
    padding: 24px 16px !important;
  }
  .appointment-glass-card .form-control,
  .appointment-glass-card .form-select {
    font-size: 16px !important;
    padding: 12px 14px !important;
  }
  .appointment-glass-card button[type="submit"] {
    width: 100%;
    padding: 14px 20px !important;
  }
}





/* ===================================================================
   AEO (ANSWER ENGINE OPTIMIZATION) & LOCAL GEO STYLING
   Engineered for Google AI Overviews, Perplexity, Gemini & Local Pack
=================================================================== */

.aeo-summary-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(11, 29, 58, 0.98) 100%);
  border: 1px solid rgba(96, 165, 250, 0.3);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  margin-bottom: 35px;
}

.aeo-summary-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1d4ed8, #22d3ee, #fbbf24);
}

.aeo-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.35);
  color: #22d3ee;
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.aeo-direct-answer {
  font-size: 16px;
  line-height: 1.8;
  color: #e2e8f0;
  margin-bottom: 22px;
}

.aeo-direct-answer strong {
  color: #67e8f9;
}

.aeo-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 18px;
  margin-bottom: 22px;
}

.aeo-fact-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.aeo-fact-item i {
  font-size: 20px;
  color: #38bdf8;
  margin-top: 2px;
  flex-shrink: 0;
}

.aeo-fact-item .fact-label {
  display: block;
  font-size: 11.5px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.aeo-fact-item .fact-value {
  display: block;
  font-size: 13.5px;
  color: #f8fafc;
  font-weight: 600;
  line-height: 1.4;
}

/* Local Burdwan Geographic Trust Section */
.local-geo-strip {
  background: linear-gradient(135deg, #070e1b 0%, #0f1d35 100%);
  border-top: 1px solid rgba(96, 165, 250, 0.15);
  border-bottom: 1px solid rgba(96, 165, 250, 0.15);
  padding: 60px 0;
  position: relative;
}

.geo-clinic-card {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 18px;
  padding: 28px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.geo-clinic-card h4 {
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.geo-clinic-card h4 i {
  color: #38bdf8;
}

.geo-clinic-details {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.geo-clinic-details li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #cbd5e1;
  line-height: 1.6;
}

.geo-clinic-details li i {
  color: #60a5fa;
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.geo-localities-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.geo-tag {
  background: rgba(96, 165, 250, 0.1);
  border: 1px solid rgba(96, 165, 250, 0.25);
  color: #93c5fd;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .aeo-summary-card {
    padding: 22px 18px;
  }
  .aeo-direct-answer {
    font-size: 14.5px;
  }
  .aeo-facts-grid {
    grid-template-columns: 1fr;
  }
  .local-geo-strip {
    padding: 40px 0;
  }
  .geo-clinic-card {
    padding: 20px 16px;
  }
}


/* ===================================================================
   ADVANCED AEO & GEO CLINICAL MATRICES & MAP EMBED STYLING
=================================================================== */

.geo-map-frame-wrapper {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(96, 165, 250, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  margin-top: 14px;
  line-height: 0;
}

.geo-map-frame-wrapper iframe {
  display: block;
  width: 100%;
}

.aeo-matrix-wrapper {
  background: #0b1a30;
  border: 1px solid rgba(96, 165, 250, 0.25);
  border-radius: 20px;
  padding: 30px 24px;
  margin: 35px 0;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.aeo-matrix-header {
  margin-bottom: 22px;
}

.aeo-matrix-header h3 {
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.aeo-matrix-header h3 i {
  color: #38bdf8;
}

.aeo-matrix-header p {
  font-size: 14px;
  color: #94a3b8;
  margin: 0;
}

.aeo-table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.aeo-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 580px;
}

.aeo-matrix-table th {
  background: rgba(29, 78, 216, 0.35);
  color: #ffffff;
  padding: 14px 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
  border-bottom: 1px solid rgba(96, 165, 250, 0.3);
  text-align: left;
}

.aeo-matrix-table td {
  padding: 13px 16px;
  color: #cbd5e1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  line-height: 1.5;
}

.aeo-matrix-table tr:last-child td {
  border-bottom: none;
}

.aeo-matrix-table tr:hover td {
  background: rgba(255, 255, 255, 0.03);
}

.aeo-matrix-table td strong {
  color: #67e8f9;
}

.aeo-matrix-table td.advantage {
  color: #34d399;
  font-weight: 600;
}

.aeo-matrix-table td.conventional {
  color: #f87171;
}

@media (max-width: 768px) {
  .aeo-matrix-wrapper {
    padding: 20px 14px;
  }
  .aeo-matrix-header h3 {
    font-size: 18px;
  }
}
