@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ==========================================
   DESIGN VARIABLES & SYSTEM
   ========================================== */
:root {
  --primary-red: #D90429;
  --accent-red: #EF233C;
  --primary-dark: #0B132B;
  --secondary-dark: #1C2541;
  --teal-blue: #38BDF8;
  --pure-white: #FFFFFF;
  --soft-bg: #F8F9FA;
  --light-silver: #E2E8F0;
  --navy-text: #2B2D42;
  --body-gray: #5A5D7A;
  --whatsapp-green: #25D366;
  --whatsapp-hover: #128C7E;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 20px rgba(217, 4, 41, 0.35);
  --shadow-glow-green: 0 0 20px rgba(37, 213, 102, 0.35);
  --shadow-teal: 0 0 20px rgba(56, 189, 248, 0.25);
  
  --border-glass: 1px solid rgba(255, 255, 255, 0.15);
  --border-glass-dark: 1px solid rgba(255, 255, 255, 0.06);
}

/* ==========================================
   RESET & FOUNDATIONS
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: var(--font-body);
  color: var(--navy-text);
  background-color: var(--pure-white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  font-weight: 700;
}

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

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

/* ==========================================
   UTILITY AESTHETICS
   ========================================== */
.bg-dark-navy {
  background-color: var(--primary-dark);
}

.text-primary-red {
  color: var(--primary-red) !important;
}

.text-teal {
  color: var(--teal-blue) !important;
}

.text-silver {
  color: var(--light-silver);
}

.glass-card-light {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: var(--border-glass);
  box-shadow: var(--shadow-md);
  border-radius: 16px;
  transition: var(--transition-normal);
}

.glass-card-dark {
  background: rgba(28, 37, 65, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: var(--border-glass-dark);
  box-shadow: var(--shadow-lg);
  border-radius: 16px;
  transition: var(--transition-normal);
}

/* Hover Lift */
.hover-lift {
  transition: var(--transition-normal);
}
.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* Glow Effect */
.hover-glow-red {
  transition: var(--transition-normal);
}
.hover-glow-red:hover {
  box-shadow: var(--shadow-glow);
  border-color: var(--primary-red);
}

.hover-glow-teal {
  transition: var(--transition-normal);
}
.hover-glow-teal:hover {
  box-shadow: var(--shadow-teal);
  border-color: var(--teal-blue);
}

/* Pulse Animation */
.pulse-red {
  position: relative;
  z-index: 1;
}
.pulse-red::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(217, 4, 41, 0.5);
  animation: pulse-ring-red 2s cubic-bezier(0.25, 0, 0, 1) infinite;
  z-index: -1;
  pointer-events: none;
}

.pulse-green {
  position: relative;
  z-index: 1;
}
.pulse-green::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37, 213, 102, 0.5);
  animation: pulse-ring-green 2s cubic-bezier(0.25, 0, 0, 1) infinite;
  z-index: -1;
  pointer-events: none;
}

@keyframes pulse-ring-red {
  0% { box-shadow: 0 0 0 0 rgba(217, 4, 41, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(217, 4, 41, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 4, 41, 0); }
}

@keyframes pulse-ring-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 213, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 213, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 213, 102, 0); }
}

/* Premium Emergency Blinking Animation */
@keyframes emergency-blink {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(217, 4, 41, 0.65);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 0 20px 8px rgba(217, 4, 41, 0.5);
    filter: brightness(1.2);
  }
}

.blink-emergency-btn {
  animation: emergency-blink 1.2s infinite ease-in-out !important;
  transition: var(--transition-normal);
}

/* Blinking Beacon */
.beacon {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--primary-red);
  border-radius: 50%;
  position: relative;
  margin-right: 8px;
}
.beacon::after {
  content: '';
  position: absolute;
  top: -5px; left: -5px; right: -5px; bottom: -5px;
  border-radius: 50%;
  border: 2px solid var(--primary-red);
  animation: blink-beacon-ring 1.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}
@keyframes blink-beacon-ring {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ==========================================
   TOP EMERGENCY NOTIFICATION BAR
   ========================================== */
.emergency-topbar {
  background-color: var(--primary-dark);
  border-bottom: 2px solid var(--primary-red);
  color: var(--pure-white);
  font-size: 0.85rem;
  padding: 8px 0;
  z-index: 1040;
  position: relative;
}
.emergency-topbar a {
  color: var(--pure-white);
}
.emergency-topbar a:hover {
  color: var(--teal-blue);
}
.topbar-badge {
  background-color: var(--primary-red);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================
   STICKY PREMIUM HEADER / NAVIGATION
   ========================================== */
.navbar-custom {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition-normal);
  padding: 2px 0;
}
.navbar-custom.navbar-scrolled {
  padding: 8px 0;
  background: var(--pure-white);
  box-shadow: var(--shadow-md);
}
.navbar-brand img {
  height: 48px;
  transition: var(--transition-normal);
}
.navbar-scrolled .navbar-brand img {
  height: 42px;
}

.nav-link-custom {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-dark) !important;
  font-size: 0.95rem;
  position: relative;
  padding: 8px 16px !important;
}
.nav-link-custom::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 16px;
  background-color: var(--primary-red);
  transition: var(--transition-fast);
}
.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  width: calc(100% - 32px);
}
.nav-link-custom:hover {
  color: var(--primary-red) !important;
}

/* Nav Actions */
.btn-nav-emergency {
  background-color: var(--primary-red);
  color: var(--pure-white) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: 30px;
  padding: 8px 20px !important;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}
.btn-nav-emergency:hover {
  background-color: var(--accent-red);
  box-shadow: var(--shadow-glow);
}

.btn-nav-whatsapp {
  background-color: var(--whatsapp-green);
  color: var(--pure-white) !important;
  font-family: var(--font-heading);
  font-weight: 700;
  border-radius: 30px;
  padding: 8px 20px !important;
  font-size: 0.9rem;
  box-shadow: var(--shadow-sm);
}
.btn-nav-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  box-shadow: var(--shadow-glow-green);
}

/* ==========================================
   HERO / BANNER SECTION
   ========================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 40px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 10% 20%, rgba(11, 19, 43, 1) 0%, rgba(28, 37, 65, 1) 90%);
}
.hero-content {
  position: relative;
  z-index: 3;
}
.hero-image-container {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  transition: var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--primary-dark);
}
.hero-image-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(217, 4, 41, 0.2);
  border-color: rgba(217, 4, 41, 0.3);
}
.hero-ambulance-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 24px;
  display: block;
  opacity: 1.0 !important;
}
.hero-image-glow {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  border-radius: 24px;
}
.badge-emergency-live {
  background: rgba(219, 4, 41, 0.15);
  border: 1px solid rgba(219, 4, 41, 0.4);
  color: #FF4D6D;
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--pure-white);
  line-height: 1.2;
  margin-top: 15px;
}
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--light-silver);
  margin-top: 15px;
  margin-bottom: 35px;
  font-weight: 500;
}
.hero-cta-btn {
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  transition: var(--transition-normal);
}

.hero-stats-badge {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: var(--border-glass-dark);
  border-radius: 16px;
  padding: 16px 20px;
  transition: var(--transition-normal);
}
.hero-stats-badge:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.12);
}

/* Floating Ambulance Icon Animation */
.floating-ambulance-container {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 1000;
  animation: bounce-float 3s ease-in-out infinite;
}
.floating-ambulance-btn {
  width: 60px;
  height: 60px;
  background-color: var(--primary-red);
  color: var(--pure-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  font-size: 1.5rem;
}
.floating-ambulance-btn:hover {
  background-color: var(--accent-red);
  color: var(--pure-white);
}

@keyframes bounce-float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* ==========================================
   PREMIUM CSS ANIMATIONS
   ========================================== */
.animate-slide-up {
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-scale-in {
  opacity: 0;
  animation: fadeInScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.25s; }
.delay-3 { animation-delay: 0.4s; }
.delay-4 { animation-delay: 0.55s; }
.delay-5 { animation-delay: 0.7s; }

/* ==========================================
   TRUST SECTION
   ========================================== */
.trust-section {
  position: relative;
  z-index: 10;
  margin-top: -60px;
}
.counter-box {
  text-align: center;
  padding: 25px 15px;
}
.counter-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-red);
  line-height: 1;
  margin-bottom: 5px;
  background: linear-gradient(45deg, var(--primary-red), #FF4D6D);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.counter-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================
   ABOUT US SECTION
   ========================================== */
.section-padding {
  padding: 90px 0;
}
.section-subtitle {
  color: var(--primary-red);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
}
.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.3;
}
.about-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.about-feature-item {
  display: flex;
  align-items: center;
}
.about-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(217, 4, 41, 0.1);
  color: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 1.1rem;
}
.about-image-wrapper {
  position: relative;
  padding-left: 20px;
  padding-bottom: 20px;
}
.about-image-wrapper img {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
}
.about-experience-badge {
  position: absolute;
  bottom: 0; left: 0;
  background: var(--primary-red);
  color: var(--pure-white);
  padding: 20px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow-glow);
  z-index: 2;
  font-family: var(--font-heading);
}

/* ==========================================
   AMBULANCE SERVICES SECTION
   ========================================== */
.services-section {
  background-color: var(--soft-bg);
}
.service-card {
  background: var(--pure-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-silver);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}
.service-img-container {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.service-img-container img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.service-card:hover .service-img-container img {
  transform: scale(1.08);
}
.service-badge {
  position: absolute;
  top: 15px; right: 15px;
  background: rgba(11, 19, 43, 0.85);
  backdrop-filter: blur(6px);
  border: var(--border-glass-dark);
  color: var(--teal-blue);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 30px;
  text-transform: uppercase;
}
.service-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}
.service-desc {
  font-size: 0.92rem;
  color: var(--body-gray);
  margin-bottom: 18px;
  flex-grow: 0;
}
.service-subtitle-accent {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-red);
  letter-spacing: 0.2px;
  line-height: 1.3;
  margin-bottom: 12px;
}
.premium-bullets {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
  text-align: left;
}
.premium-bullets li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 0.88rem;
  color: var(--navy-text);
  font-weight: 600;
  font-family: var(--font-body);
}
.premium-bullets li::before {
  content: '\f058'; /* FontAwesome check-circle */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary-red);
  font-size: 0.98rem;
}
.service-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: auto;
}
.btn-service-call {
  background-color: var(--primary-red);
  color: var(--pure-white);
  border: 1px solid var(--primary-red);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 5px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-service-call:hover {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  color: var(--pure-white);
  box-shadow: var(--shadow-glow);
}
.btn-service-whatsapp {
  background-color: var(--whatsapp-green);
  color: var(--pure-white);
  border: 1px solid var(--whatsapp-green);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 5px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-service-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  border-color: var(--whatsapp-hover);
  color: var(--pure-white);
  box-shadow: var(--shadow-glow-green);
}

/* ==========================================
   WHY CHOOSE MEDIGO SECTION (DARK)
   ========================================== */
.why-choose-section {
  background-color: var(--primary-dark);
  position: relative;
  overflow: hidden;
}
.why-choose-section::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(219, 4, 41, 0.1) 0%, rgba(219, 4, 41, 0) 70%);
  bottom: -200px; right: -200px;
  pointer-events: none;
}
.why-card {
  height: 100%;
  padding: 35px 25px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-normal);
}
.why-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--shadow-teal);
}
.why-icon {
  width: 60px; height: 60px;
  background: rgba(56, 189, 248, 0.1);
  color: var(--teal-blue);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--transition-normal);
}
.why-card:hover .why-icon {
  background: var(--teal-blue);
  color: var(--primary-dark);
  box-shadow: 0 0 15px var(--teal-blue);
}

/* ==========================================
   EMERGENCY PROCESS SECTION
   ========================================== */
.process-timeline {
  position: relative;
}
.process-timeline::after {
  content: '';
  position: absolute;
  top: 50px; left: 0; right: 0;
  height: 3px;
  background: dashed var(--light-silver);
  z-index: 1;
}
@media (max-width: 991px) {
  .process-timeline::after {
    display: none;
  }
}
.process-step {
  position: relative;
  z-index: 3;
  text-align: center;
}
.process-number {
  width: 90px; height: 90px;
  background: var(--pure-white);
  border: 4px solid var(--light-silver);
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}
.process-step:hover .process-number {
  border-color: var(--primary-red);
  color: var(--primary-red);
  box-shadow: var(--shadow-glow);
  transform: scale(1.1);
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.feature-box {
  background: var(--pure-white);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid var(--light-silver);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.feature-icon-wrapper {
  width: 50px; height: 50px;
  background: rgba(217, 4, 41, 0.08);
  color: var(--primary-red);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ==========================================
   GALLERY SECTION
   ========================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 250px;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.gallery-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(11, 19, 43, 0.8);
  opacity: 0;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-icon {
  width: 50px; height: 50px;
  background: var(--primary-red);
  color: var(--pure-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 10px;
  cursor: pointer;
  box-shadow: var(--shadow-glow);
}

/* Simple JS Lightbox */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(11, 19, 43, 0.95);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}
.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 30px; right: 30px;
  color: var(--pure-white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.lightbox-close:hover {
  color: var(--primary-red);
}

/* ==========================================
   TESTIMONIAL SECTION
   ========================================== */
.testimonial-section {
  background: linear-gradient(180deg, var(--soft-bg) 0%, var(--pure-white) 100%);
}
.testimonial-card {
  padding: 35px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-md);
  margin: 15px 5px;
}
.testimonial-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-red);
}
.star-rating {
  color: #FFB020;
  font-size: 0.9rem;
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-accordion .accordion-item {
  border: 1px solid var(--light-silver);
  border-radius: 12px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-accordion .accordion-button {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--primary-dark);
  padding: 20px 25px;
  font-size: 1.1rem;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background-color: rgba(217, 4, 41, 0.03);
  color: var(--primary-red);
  box-shadow: none;
}
.faq-accordion .accordion-button::after {
  background-size: 1rem;
}
.faq-accordion .accordion-body {
  padding: 20px 25px 25px 25px;
  color: var(--body-gray);
  line-height: 1.7;
}

/* ==========================================
   EMERGENCY CTA BANNER (FINAL)
   ========================================== */
.final-cta-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-red) 0%, #B7031D 100%);
  color: var(--pure-white);
  overflow: hidden;
  padding: 80px 0;
}
.final-cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 80%);
  pointer-events: none;
}
.final-cta-btn {
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 800;
  border: 2px solid var(--pure-white);
  transition: var(--transition-normal);
}
.final-cta-btn-primary {
  background-color: var(--pure-white);
  color: var(--primary-red) !important;
}
.final-cta-btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--pure-white) !important;
  border-color: var(--primary-dark);
}
.final-cta-btn-secondary {
  background-color: transparent;
  color: var(--pure-white) !important;
}
.final-cta-btn-secondary:hover {
  background-color: var(--pure-white);
  color: var(--primary-red) !important;
}

/* ==========================================
   CONTACT & FORM SECTION
   ========================================== */
.contact-info-card {
  padding: 25px;
  border-radius: 16px;
  background: var(--soft-bg);
  border: 1px solid var(--light-silver);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.contact-info-icon {
  width: 50px; height: 50px;
  background: var(--primary-dark);
  color: var(--teal-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.form-glass {
  background: var(--pure-white);
  border: 1px solid var(--light-silver);
  border-radius: 24px;
  padding: 45px;
  box-shadow: var(--shadow-lg);
}
.form-glass .form-control,
.form-glass .form-select {
  border-radius: 10px;
  padding: 12px 18px;
  border: 1px solid var(--light-silver);
  background-color: #FDFDFD;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}
.form-glass .form-control:focus,
.form-glass .form-select:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 8px rgba(217, 4, 41, 0.15);
  background-color: var(--pure-white);
}
.form-label-custom {
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.btn-submit-emergency {
  background-color: var(--primary-red);
  color: var(--pure-white);
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 16px;
  border-radius: 12px;
  font-size: 1.05rem;
  transition: var(--transition-normal);
  border: none;
}
.btn-submit-emergency:hover {
  background-color: var(--accent-red);
  box-shadow: var(--shadow-glow);
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.footer-section {
  background-color: #050A18;
  color: var(--light-silver);
  padding: 80px 0 30px 0;
  border-top: 4px solid var(--primary-red);
}
.footer-logo img {
  height: 48px;
  margin-bottom: 20px;
}
.footer-links-list {
  list-style: none;
  padding: 0;
}
.footer-links-list li {
  margin-bottom: 12px;
}
.footer-links-list a {
  color: #A0AEC0;
}
.footer-links-list a:hover {
  color: var(--primary-red);
  padding-left: 5px;
}
.footer-social-icon {
  width: 38px; height: 38px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--pure-white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: var(--transition-fast);
}
.footer-social-icon:hover {
  background-color: var(--primary-red);
  color: var(--pure-white);
  transform: translateY(-3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 60px;
  padding-top: 30px;
  font-size: 0.88rem;
  color: #718096;
}

/* ==========================================
   MOBILE STICKY BOTTOM EMERGENCY CTA BAR
   ========================================== */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
  padding: 10px 10px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}
.mobile-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.mobile-cta-btn {
  padding: 10px 6px;
  font-weight: 700;
  font-size: 0.84rem;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-cta-call {
  background-color: var(--primary-red);
  color: var(--pure-white) !important;
}
.mobile-cta-whatsapp {
  background-color: var(--whatsapp-green);
  color: var(--pure-white) !important;
}

@media (max-width: 767px) {
  .mobile-sticky-cta {
    display: block;
  }
  body {
    padding-bottom: 70px; /* Offset for the sticky bottom bar */
  }
  .floating-ambulance-container {
    bottom: 85px; /* Shift higher so it doesn't overlap the sticky bottom bar */
    right: 20px;
  }
}

/* ==========================================
   RESPONSIVENESS ADJUSTMENTS
   ========================================== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-subtitle {
    font-size: 1.15rem;
  }
  .section-padding {
    padding: 70px 0;
  }
  .section-title {
    font-size: 2.1rem;
  }
  .about-experience-badge {
    position: static;
    margin-top: 25px;
    display: inline-block;
  }
}

@media (max-width: 575px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .hero-cta-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
    width: 100%;
    margin-bottom: 12px;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .about-features-grid {
    grid-template-columns: 1fr;
  }
  .form-glass {
    padding: 25px 20px;
  }
}
