/* ==========================================================================
   AR LIFE LINE AMBULANCE - PREMIUM DESIGN SYSTEM & CORE STYLES
   24/7 Emergency Medical Response | Delhi NCR
   ========================================================================== */

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

:root {
  /* Colors */
  --primary-red: #DC2626;
  --primary-red-dark: #B91C1C;
  --primary-red-light: #FEE2E2;
  --primary-red-glow: rgba(220, 38, 38, 0.45);

  --primary-navy: #0F172A;
  --primary-blue: #1D4ED8;
  --primary-blue-dark: #1E3A8A;
  --accent-cyan: #0EA5E9;
  --accent-cyan-light: #E0F2FE;

  --success-green: #10B981;
  --success-green-glow: rgba(16, 185, 129, 0.35);
  --star-gold: #F59E0B;

  --bg-dark: #090D16;
  --bg-dark-card: #111827;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  --text-light: #F8FAFC;

  --border-light: #E2E8F0;
  --border-dark: rgba(255, 255, 255, 0.1);

  /* Fonts */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-emergency: 0 0 25px rgba(220, 38, 38, 0.35);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

/* Badges & Pills */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-emergency {
  background: rgba(220, 38, 38, 0.12);
  color: var(--primary-red);
  border: 1px solid rgba(220, 38, 38, 0.25);
}

.badge-google {
  background: #FFFFFF;
  color: #1F2937;
  border: 1px solid #E5E7EB;
  box-shadow: var(--shadow-sm);
}

.badge-green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success-green);
  border: 1px solid rgba(16, 185, 129, 0.25);
}

/* Pulsing Status Dot */
.pulse-dot {
  width: 9px;
  height: 9px;
  background-color: var(--primary-red);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 rgba(220, 38, 38, 0.6);
  animation: pulse-ring 1.8s infinite;
}

.pulse-dot.green {
  background-color: var(--success-green);
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse-ring-green 1.8s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

@keyframes pulse-ring-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
}

.btn-emergency {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-emergency:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(220, 38, 38, 0.55);
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #fff;
}

.btn-emergency::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  40%, 100% { left: 100%; }
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: rgba(29, 78, 216, 0.04);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--primary-navy);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.125rem;
}

/* Section Common Styling */
.section-padding {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   HERO ANIMATED BANNER (Rich Aesthetics, Siren, ECG, Interactive)
   ========================================================================== */

.hero-section {
  position: relative;
  background: radial-gradient(circle at 85% 15%, #1E293B 0%, #0F172A 50%, #090D16 100%);
  color: #FFFFFF;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

/* Animated Background Beacons & Grids */
.hero-glow-beacon {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.28;
}

.beacon-red {
  top: -150px;
  right: -50px;
  background: var(--primary-red);
  animation: beacon-pulse 4s ease-in-out infinite alternate;
}

.beacon-blue {
  bottom: -150px;
  left: -50px;
  background: var(--primary-blue);
  animation: beacon-pulse 5s ease-in-out infinite alternate-reverse;
}

@keyframes beacon-pulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.2; }
  100% { transform: scale(1.2) translate(-20px, 20px); opacity: 0.35; }
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 45px 45px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ECG Lifeline Graphic */
.hero-ecg-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.ecg-svg {
  width: 140px;
  height: 30px;
  stroke: var(--primary-red);
  stroke-width: 2.5;
  fill: none;
  stroke-dasharray: 200;
  animation: ecg-draw 2.5s infinite linear;
}

@keyframes ecg-draw {
  0% { stroke-dashoffset: 200; }
  100% { stroke-dashoffset: 0; }
}

.hero-badge-pill {
  background: rgba(220, 38, 38, 0.16);
  border: 1px solid rgba(220, 38, 38, 0.35);
  color: #FECACA;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #FFFFFF;
}

.hero-title .hero-brand-name {
  display: block;
  font-size: 0.95em;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.25);
}

.hero-title .highlight-red {
  color: #F87171;
  text-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

.hero-title .highlight-accent {
  background: linear-gradient(90deg, #38BDF8, #818CF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: #CBD5E1;
  margin-bottom: 2rem;
  line-height: 1.6;
}

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

/* Emergency Dispatch Guarantee Bar */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFFFFF;
}

.stat-number.gold {
  color: var(--star-gold);
}

.stat-label {
  font-size: 0.825rem;
  color: #94A3B8;
  font-weight: 500;
}

/* Hero Visual Showcase */
.hero-visual-card {
  position: relative;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6), 0 0 30px rgba(14, 165, 233, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #0B1120;
}

.hero-image-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-image-frame:hover img {
  transform: scale(1.03);
}

/* Floating Emergency Card on Hero */
.hero-float-card {
  position: absolute;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  z-index: 3;
}

.float-dispatch {
  bottom: -20px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.float-dispatch-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.2);
  border: 1px solid rgba(220, 38, 38, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #EF4444;
  font-size: 1.4rem;
}

.float-rating {
  top: 25px;
  right: -20px;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-left: 3px solid #F59E0B;
}

/* Emergency Ticker Banner */
.emergency-ticker-bar {
  background: linear-gradient(90deg, #B91C1C 0%, #DC2626 50%, #991B1B 100%);
  color: #FFFFFF;
  padding: 0.6rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  gap: 3rem;
  animation: ticker-slide 28s linear infinite;
}

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

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

/* ==========================================================================
   GOOGLE REVIEWS & RATING SECTION
   ========================================================================== */

.google-review-section {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-light);
}

.google-banner-box {
  background: linear-gradient(135deg, #F8FAFC 0%, #EEF2F6 100%);
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
}

.google-score-col {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.google-g-logo {
  width: 58px;
  height: 58px;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  padding: 10px;
}

.score-digits {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: #1E293B;
  font-family: var(--font-heading);
}

.stars-row {
  color: var(--star-gold);
  font-size: 1.35rem;
  letter-spacing: 2px;
  margin-bottom: 0.2rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #CBD5E1;
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.reviewer-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1E40AF 0%, #3B82F6 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.reviewer-meta h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.reviewer-meta span {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.review-card-body p {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.review-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #64748B;
  border-top: 1px dashed #E2E8F0;
  padding-top: 0.85rem;
}

/* ==========================================================================
   SERVICES SECTION & CARDS
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(220, 38, 38, 0.3);
}

.service-card-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #0F172A;
}

.service-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.service-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: #334155;
  margin-bottom: 0.45rem;
}

.service-features-list li svg {
  color: var(--success-green);
  flex-shrink: 0;
}

.service-card-actions {
  display: flex;
  gap: 0.75rem;
}

.service-card-actions .btn {
  flex: 1;
  padding: 0.7rem 1rem;
  font-size: 0.875rem;
}

/* ==========================================================================
   QUICK BOOKING & ESTIMATOR SECTION
   ========================================================================== */

.booking-section {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
}

.booking-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.booking-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

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

.form-group label {
  font-size: 0.825rem;
  font-weight: 600;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.form-control {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}

.form-control option {
  background: #0F172A;
  color: #FFFFFF;
}

/* Coverage Grid */
.coverage-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.coverage-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  color: #E2E8F0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   FLEET & GALLERY SECTION
   ========================================================================== */

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.fleet-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0F172A;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
}

.fleet-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fleet-item:hover img {
  transform: scale(1.06);
}

.fleet-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.1) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  color: #FFFFFF;
}

.fleet-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.fleet-sub {
  font-size: 0.825rem;
  color: #94A3B8;
}

/* ==========================================================================
   RESPONSIVENESS
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-ecg-line {
    justify-content: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-stats-row {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-float-card {
    display: none;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.85rem;
  }

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

  .hero-image-frame img {
    height: 300px;
  }

  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .google-banner-box {
    flex-direction: column;
    text-align: center;
  }

  .google-score-col {
    flex-direction: column;
  }
}

/* ==========================================================================
   HOSPITAL NETWORK & LOGOS SECTION
   ========================================================================== */

.hospital-network-section {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hospital-marquee-wrapper {
  overflow: hidden;
  position: relative;
  padding: 1.25rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.hospital-marquee-track {
  display: flex;
  gap: 1.75rem;
  width: max-content;
  animation: hospital-scroll 32s linear infinite;
}

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

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

.hospital-logo-pill {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.hospital-logo-pill:hover {
  transform: translateY(-3px);
  border-color: var(--primary-red);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.12);
  background: #FFFFFF;
}

.hospital-icon-emblem {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
  color: #FFFFFF;
}

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

.hospital-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.2;
}

.hospital-location {
  font-size: 0.775rem;
  color: #64748B;
  font-weight: 500;
}

.hospital-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.hospital-feature-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hospital-feature-card:hover {
  transform: translateY(-5px);
  border-color: #CBD5E1;
  box-shadow: var(--shadow-lg);
  background: #FFFFFF;
}

.hospital-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #DC2626, #1D4ED8);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.hospital-feature-card:hover::before {
  opacity: 1;
}

.hospital-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.hospital-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #059669;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-top: auto;
}

/* ============================================================
   HOSPITAL PARTNERS MARQUEE SECTION
   ============================================================ */
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hospitals-marquee-wrapper:hover .hospitals-marquee-track {
  animation-play-state: paused;
}

.hosp-card {
  flex-shrink: 0;
  width: 130px;
  height: 120px;
  background: #fff;
  border: 2px solid #E2E8F0;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1E293B;
  padding: 0.75rem;
  line-height: 1.4;
  cursor: default;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.hosp-card:hover {
  border-color: #DC2626;
  color: #DC2626;
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 8px 24px rgba(220,38,38,0.18);
}

.hosp-card small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: #64748B;
  margin-top: 0.15rem;
}

