/* ============================================================
   HERO LOGO DISPLAY — replaces ambulance SVG illustration
   ============================================================ */

.hero-logo-display {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: var(--space-6) var(--space-4) var(--space-4);
  gap: var(--space-4);
}

/* The main logo image */
.hero-logo-main {
  width: min(320px, 90%);
  height: auto;
  object-fit: contain;
  border-radius: 50%;
  /* Floating lift animation */
  animation: hero-logo-float 4s ease-in-out infinite;
  /* Premium glow ring */
  filter: drop-shadow(0 8px 32px rgba(37,99,235,0.18))
          drop-shadow(0 0 0 8px rgba(255,255,255,0.9));
  background: white;
  padding: 6px;
  box-shadow:
    0 0 0 6px rgba(37,99,235,0.08),
    0 0 0 14px rgba(37,99,235,0.04),
    0 24px 64px rgba(37,99,235,0.18),
    0 8px 24px rgba(0,0,0,0.08);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.4s ease;
}

.hero-logo-main:hover {
  transform: scale(1.04) translateY(-6px);
  box-shadow:
    0 0 0 6px rgba(37,99,235,0.12),
    0 0 0 16px rgba(37,99,235,0.06),
    0 32px 80px rgba(37,99,235,0.25),
    0 12px 32px rgba(0,0,0,0.1);
}

@keyframes hero-logo-float {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50%       { transform: translateY(-12px) rotate(0.5deg); }
}

/* Dispatched badge */
.hero-dispatched-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: #ECFDF5;
  border: 1.5px solid #10B981;
  border-radius: var(--radius-full);
  padding: 0.35rem 1rem;
  font-size: var(--text-xs);
  font-weight: 700;
  color: #065F46;
  letter-spacing: 0.06em;
  box-shadow: 0 2px 12px rgba(16,185,129,0.15);
  animation: badge-pop 0.6s cubic-bezier(0.34,1.56,0.64,1) 0.3s both;
}

@keyframes badge-pop {
  from { transform: scale(0.7); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

/* ECG decoration line */
.hero-ecg-line {
  width: min(320px, 90%);
  height: 48px;
  opacity: 0.7;
  animation: ecg-draw 3s ease-in-out infinite alternate;
}

.hero-ecg-line polyline {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: ecg-stroke 3s ease-in-out infinite alternate;
}

@keyframes ecg-stroke {
  0%   { stroke-dashoffset: 600; opacity: 0.3; }
  60%  { opacity: 1; }
  100% { stroke-dashoffset: 0;   opacity: 0.7; }
}
