/* Clean Home Page Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a202c;
    background: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1 { font-size: 3rem; font-weight: 700; margin-bottom: 1rem; }
h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
h4 { font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; }
p { margin-bottom: 1rem; color: #4a5568; line-height: 1.7; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-outline:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.btn-emergency {
    background: #dc2626;
    color: white;
    font-size: 1.25rem;
    padding: 1rem 2rem;
}

.btn-emergency:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    color: white;
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Header styles removed - using main style.css instead */

/* --- Theme tokens --- */
:root{
  --bg: #F5F8FE;
  --card: #ffffff;
  --ink: #0f172a;       /* slate-900 */
  --muted: #6b7280;     /* gray-500 */
  --blue: #2563eb;      /* blue-600 */
  --purple: #7c3aed;    /* violet-600 */
  --shadow: 0 10px 30px rgba(15,23,42,.08);
  --radius: 16px;
}

/* --- Layout --- */
.container.hero-grid{
  display:grid;
  grid-template-columns: minmax(0,650px) minmax(0,420px);
  gap:56px;
  align-items:center;
  padding:48px 24px;
  margin:0 auto;
  max-width:1180px;
}
@media (max-width: 1024px){
  .container.hero-grid{grid-template-columns:1fr; gap:32px; padding:32px 20px;}
}

/* Modern Hero Layout */
.container.hero-modern{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 80px 24px;
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
  z-index: 2;
  min-height: 80vh;
}
@media (max-width: 768px){
  .container.hero-modern{
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 16px;
    min-height: auto;
  }
  .hero-center{
    order: 2;
  }
}

/* --- Badge --- */
.hero-badge{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 16px; border-radius:40px; background:#eef3ff;
  color:var(--blue); font-weight:600; box-shadow:var(--shadow);
  border:1px solid rgba(37,99,235,.18);
  position: relative;
  overflow: hidden;
}
.hero-badge i{font-size:14px}
.badge-pulse{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(37, 99, 235, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: badgePulse 2s infinite;
}
@keyframes badgePulse {
  0% { width: 0; height: 0; opacity: 1; }
  100% { width: 100px; height: 100px; opacity: 0; }
}

/* --- Title --- */
.hero-title{
  margin:22px 0 12px; line-height:1.05;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 800; letter-spacing:-0.02em; color:#1d4ed8; /* base blue */
}
.hero-title .accent{
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-title::after{
  content:""; display:block; width:180px; height:4px; margin-top:14px;
  border-radius:4px; background: linear-gradient(90deg, var(--blue), var(--purple));
}

/* --- Subtitle --- */
.hero-subtitle{
  color:var(--muted); font-size:18px; line-height:1.7; max-width:520px; margin:14px 0 26px;
}

/* --- Hero Features --- */
.hero-features{
  display: flex;
  gap: 1.5rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
.feature-item{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(37, 99, 235, 0.05);
  border-radius: 25px;
  border: 1px solid rgba(37, 99, 235, 0.1);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--blue);
  transition: all 0.3s ease;
}
.feature-item:hover{
  background: rgba(37, 99, 235, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}
.feature-item i{
  font-size: 1rem;
  color: var(--blue);
}

/* --- Stats --- */
.hero-stats{display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; margin:6px 0 26px;}
@media (max-width: 640px){ .hero-stats{grid-template-columns:1fr; } }

.stat-item{
  background:var(--card); border-radius:14px; box-shadow:var(--shadow);
  padding:22px 18px; position:relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}
.stat-item:hover{
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
}
.stat-icon{
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-icon i{
  color: white;
  font-size: 1.2rem;
}
.stat-content{
  flex: 1;
}
.stat-number{
  font-size:28px; font-weight:800; letter-spacing:-0.01em;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip:text; background-clip:text; color:transparent;
  margin-bottom: 4px;
}
.stat-label{ color:#6b7280; font-weight:600; text-transform:uppercase; font-size:11px; }

/* --- Buttons --- */
.btn{position:relative; display:inline-flex; align-items:center; gap:10px; padding:12px 18px; border-radius:14px; font-weight:700; text-decoration:none; overflow:hidden;}
.btn-primary{
  color:#fff; background:linear-gradient(90deg, var(--blue), var(--purple));
  box-shadow: 0 8px 24px rgba(37,99,235,.25);
}
.btn-outline{
  color:var(--blue); background:#fff; border:2px solid rgba(37,99,235,.35);
  box-shadow: var(--shadow);
}
.hero-buttons{display:flex; gap:16px; flex-wrap:wrap}

/* Fancy accents (optional) */
.btn-shine{ position:absolute; inset:0; background:linear-gradient(120deg, rgba(255,255,255,.0) 40%, rgba(255,255,255,.35) 50%, rgba(255,255,255,.0) 60%); transform:translateX(-120%); }
.btn:hover .btn-shine{ animation:shine 0.8s forwards; }
@keyframes shine{ to{ transform:translateX(120%);} }

/* --- Right graphic card --- */
.hero-image{display:flex; justify-content:center;}
.hero-graphic-card{
  width:320px; height:520px; border-radius:22px; background:linear-gradient(180deg,#fff, #eef2ff);
  box-shadow: var(--shadow); position:relative; padding:26px;
  display:flex; flex-direction:column; justify-content:space-between; align-items:center;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

.card-header{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #ef4444;
  color: white;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.status-indicator{
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: statusBlink 1.5s infinite;
}
@keyframes statusBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0.3; }
}

.ambulance-icon{
  position: relative;
  margin: 2rem 0;
}
.ambulance-icon i{
  font-size:92px; 
  color:var(--blue); 
  filter: drop-shadow(0 10px 20px rgba(37,99,235,.25));
  animation: float 3s ease-in-out infinite;
}
.icon-glow{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow 2s ease-in-out infinite alternate;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes glow {
  0% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

.emergency-text{
  text-align:center;
  margin-bottom: 1rem;
}
.emergency-number{
  display:block; 
  font-size:34px; 
  font-weight:900; 
  color:#ef4444;
  text-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}
.emergency-label{
  display:block; 
  font-size:16px; 
  font-weight:800; 
  letter-spacing:.12em; 
  color:#9ca3af;
}

.response-time{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 20px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.response-time i{
  font-size: 1rem;
}

.medical-elements{position:absolute; inset:auto 10px 10px auto; display:flex; gap:10px;}
.pulse-dot{width:10px; height:10px; background:#c7d2fe; border-radius:50%; animation:pulse 2.1s infinite;}
.pulse-dot:nth-child(2){animation-delay:.3s;}
.pulse-dot:nth-child(3){animation-delay:.6s;}
@keyframes pulse{0%,100%{opacity:.35; transform:scale(1);} 50%{opacity:1; transform:scale(1.35);}}

.card-footer{
  width: 100%;
  display: flex;
  justify-content: center;
}
.contact-info{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}
.contact-info i{
  font-size: 1rem;
}

/* --- Page background (optional) --- */
body{ background: radial-gradient(1200px 600px at 75% 10%, #eef2ff 0%, transparent 60%), radial-gradient(900px 500px at 15% 35%, #f1f5ff 0%, transparent 60%), var(--bg); }

/* --- Hero Background Elements --- */
.hero-background{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}

.floating-shapes{
  position: relative;
  width: 100%;
  height: 100%;
}

.shape{
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
  animation: floatShape 20s infinite linear;
}

.shape-1{
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.shape-2{
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: -5s;
  animation-duration: 30s;
}

.shape-3{
  width: 60px;
  height: 60px;
  top: 40%;
  left: 80%;
  animation-delay: -10s;
  animation-duration: 20s;
}

.shape-4{
  width: 100px;
  height: 100px;
  top: 80%;
  left: 20%;
  animation-delay: -15s;
  animation-duration: 35s;
}

@keyframes floatShape {
  0% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.7;
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-40px) rotate(180deg);
    opacity: 0.8;
  }
  75% {
    transform: translateY(-20px) rotate(270deg);
    opacity: 0.3;
  }
  100% {
    transform: translateY(0px) rotate(360deg);
    opacity: 0.7;
  }
}

/* Ensure hero content is above background */
.hero .container{
  position: relative;
  z-index: 2;
}

/* --- Enhanced Background Elements --- */
.shape-5{
  width: 40px;
  height: 40px;
  top: 30%;
  right: 30%;
  animation-delay: -8s;
  animation-duration: 18s;
}

.shape-6{
  width: 90px;
  height: 90px;
  top: 70%;
  left: 60%;
  animation-delay: -12s;
  animation-duration: 28s;
}

/* Grid Overlay */
.grid-overlay{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  z-index: 1;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

/* Particle Field */
.particle-field{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.particle{
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(37, 99, 235, 0.6);
  border-radius: 50%;
  animation: particleFloat 15s infinite linear;
}

.particle:nth-child(1){
  left: 20%;
  top: 20%;
  animation-delay: 0s;
  animation-duration: 12s;
}

.particle:nth-child(2){
  left: 80%;
  top: 30%;
  animation-delay: -3s;
  animation-duration: 18s;
}

.particle:nth-child(3){
  left: 60%;
  top: 70%;
  animation-delay: -6s;
  animation-duration: 15s;
}

.particle:nth-child(4){
  left: 30%;
  top: 80%;
  animation-delay: -9s;
  animation-duration: 20s;
}

.particle:nth-child(5){
  left: 70%;
  top: 50%;
  animation-delay: -12s;
  animation-duration: 16s;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0px) translateX(0px);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(50px);
    opacity: 0;
  }
}

/* --- Enhanced Badge --- */
.badge-glow{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: badgeGlow 3s ease-in-out infinite alternate;
  z-index: -1;
}

@keyframes badgeGlow {
  0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
  100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

/* --- Enhanced Features --- */
.feature-item{
  position: relative;
  overflow: hidden;
}

.feature-icon{
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.feature-icon i{
  color: white;
  font-size: 1.1rem;
}

.feature-glow{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
  border-radius: 25px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.feature-item:hover .feature-glow{
  opacity: 1;
}

/* --- Enhanced Stats --- */
.stat-item{
  position: relative;
  overflow: hidden;
}

.icon-pulse{
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
  border-radius: 12px;
  transform: translate(-50%, -50%);
  animation: iconPulse 2s ease-in-out infinite;
  z-index: 1;
}

@keyframes iconPulse {
  0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
  50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
  100% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
}

.stat-glow{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(124, 58, 237, 0.05));
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.stat-item:hover .stat-glow{
  opacity: 1;
}

/* --- Enhanced Buttons --- */
.btn-glow{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.2));
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.btn:hover .btn-glow{
  opacity: 1;
}

/* --- Enhanced Card --- */
.header-glow{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(220, 38, 38, 0.2));
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.card-header:hover .header-glow{
  opacity: 1;
}

.icon-particles{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  pointer-events: none;
}

.icon-particles .particle{
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(37, 99, 235, 0.8);
  border-radius: 50%;
  animation: iconParticle 4s infinite linear;
}

.icon-particles .particle:nth-child(1){
  top: 20%;
  left: 20%;
  animation-delay: 0s;
}

.icon-particles .particle:nth-child(2){
  top: 30%;
  right: 20%;
  animation-delay: -1.3s;
}

.icon-particles .particle:nth-child(3){
  bottom: 30%;
  left: 30%;
  animation-delay: -2.6s;
}

@keyframes iconParticle {
  0% {
    transform: translate(0, 0) scale(0);
    opacity: 1;
  }
  50% {
    transform: translate(50px, -50px) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(100px, -100px) scale(0);
    opacity: 0;
  }
}

.card-glow{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(124, 58, 237, 0.05));
  border-radius: 22px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.hero-graphic-card:hover .card-glow{
  opacity: 1;
}

/* --- Modern Hero Styles --- */

/* Left Column */
.hero-left{
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
}

.hero-badge-modern{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 50px;
  font-weight: 600;
  color: var(--blue);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
  transition: all 0.3s ease;
  width: fit-content;
}

.hero-badge-modern:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.2);
}

.badge-icon{
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon i{
  color: white;
  font-size: 14px;
}

.hero-title-modern{
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  color: #1e293b;
  margin: 0;
  letter-spacing: -0.02em;
}

.hero-title-modern .highlight{
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.hero-description{
  font-size: 18px;
  line-height: 1.7;
  color: white;
  max-width: 500px;
  margin: 0;
}

.hero-actions{
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-modern{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary-modern{
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.btn-primary-modern:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}

.btn-secondary-modern{
  background: white;
  color: var(--blue);
  border: 2px solid rgba(37, 99, 235, 0.2);
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.1);
}

.btn-secondary-modern:hover{
  background: rgba(37, 99, 235, 0.05);
  border-color: var(--blue);
  transform: translateY(-2px);
}

/* Center Column */
.hero-center{
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-stats-modern{
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 300px;
}

.stat-card{
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.15);
}

.stat-card::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.stat-icon-modern{
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.stat-icon-modern i{
  color: white;
  font-size: 20px;
}

.stat-content-modern{
  text-align: left;
}

.stat-number-modern{
  font-size: 28px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label-modern{
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Right Column */
.hero-right{
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual{
  width: 100%;
  max-width: 350px;
}

.visual-card{
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.1);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.visual-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(37, 99, 235, 0.2);
}

.card-header-modern{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #ef4444;
  color: white;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
  margin-bottom: 24px;
}

.status-dot{
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: statusBlink 1.5s infinite;
}

.visual-content{
  text-align: center;
  margin-bottom: 24px;
}

.main-icon{
  font-size: 64px;
  color: var(--blue);
  margin-bottom: 16px;
  filter: drop-shadow(0 8px 20px rgba(37, 99, 235, 0.3));
  animation: float 3s ease-in-out infinite;
}

.emergency-info{
  margin-bottom: 16px;
}

.emergency-number-modern{
  font-size: 32px;
  font-weight: 900;
  color: #ef4444;
  display: block;
  margin-bottom: 4px;
}

.emergency-label-modern{
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.response-info{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 25px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
}

.card-footer-modern{
  display: flex;
  justify-content: center;
}

.contact-modern{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
  border-radius: 25px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  transition: all 0.3s ease;
}

.contact-modern:hover{
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

/* Hamburger styles removed - using main style.css instead */

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #2563eb;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1001;
    border-radius: 0 0 4px 4px;
}

.skip-link:focus {
    top: 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 8rem 0 4rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Animated background elements */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%232563eb" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%237c3aed" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%232563eb" opacity="0.05"/><circle cx="10" cy="60" r="0.5" fill="%237c3aed" opacity="0.05"/><circle cx="90" cy="40" r="0.5" fill="%232563eb" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: slideInLeft 1s ease-out;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #1a202c;
    animation: fadeInUp 1s ease-out 0.2s both;
    background: linear-gradient(135deg, #1a202c 0%, #2563eb 50%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-image {
    animation: slideInRight 1s ease-out 0.3s both;
}

.hero-graphic {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
    border: 2px solid rgba(37, 99, 235, 0.1);
}

.hero-graphic:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.ambulance-icon {
    font-size: 8rem;
    color: #2563eb;
    margin-bottom: 2rem;
    animation: bounce 2s ease-in-out infinite;
    text-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.medical-elements {
    position: absolute;
    top: 20%;
    right: 20%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pulse-dot {
    width: 12px;
    height: 12px;
    background: #dc2626;
    border-radius: 50%;
    animation: pulseDot 1.5s ease-in-out infinite;
}

.pulse-dot:nth-child(2) {
    animation-delay: 0.5s;
}

.pulse-dot:nth-child(3) {
    animation-delay: 1s;
}

.emergency-text {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.emergency-text span:first-child {
    font-size: 3rem;
    font-weight: 800;
    color: #dc2626;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

.emergency-text span:last-child {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

@keyframes pulseDot {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5);
        opacity: 0.7;
    }
}

/* Button animations */
.hero-buttons .btn {
    animation: pulse 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

/* Additional hero animations */
.hero-content h1 {
    position: relative;
}

.hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    animation: underlineExpand 1.5s ease-out 1s both;
}

@keyframes underlineExpand {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Floating particles animation */
.hero::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 4px;
    height: 4px;
    background: #2563eb;
    border-radius: 50%;
    animation: floatParticle 8s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-30px) translateX(20px);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-60px) translateX(-10px);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-30px) translateX(30px);
        opacity: 0.7;
    }
}

/* Keyframe Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Staggered animation for service cards */
.services .service-card:nth-child(1) {
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.services .service-card:nth-child(2) {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.services .service-card:nth-child(3) {
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Stats counter animation */
.stat-number {
    animation: countUp 2s ease-out 0.5s both;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Emergency Contact */
.emergency-contact {
    background: #dc2626;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.emergency-contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.emergency-contact p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.emergency-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #ffffff;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1a202c;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1a202c;
}

.service-card p {
    color: #4a5568;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.service-card li {
    padding: 0.5rem 0;
    color: #4a5568;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1a202c;
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #4a5568;
}

.about-features {
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature i {
    font-size: 1.5rem;
    color: #2563eb;
    margin-top: 0.25rem;
}

.feature h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.feature p {
    margin: 0;
    color: #4a5568;
}

.about-graphic {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(37, 99, 235, 0.1);
}

.team-icon {
    font-size: 6rem;
    color: #2563eb;
    margin-bottom: 1.5rem;
    animation: float 4s ease-in-out infinite;
    text-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.mission-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.mission-text span:first-child {
    font-size: 2.5rem;
    font-weight: 800;
    color: #dc2626;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(220, 38, 38, 0.3);
}

.mission-text span:last-child {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2563eb;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.values-list {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out both;
}

.value-item:nth-child(1) { animation-delay: 0.1s; }
.value-item:nth-child(2) { animation-delay: 0.2s; }
.value-item:nth-child(3) { animation-delay: 0.3s; }

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.value-item i {
    font-size: 1.5rem;
    color: #2563eb;
}

.value-item span {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a202c;
    text-align: center;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: #ffffff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: #f8fafc;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: #4a5568;
    font-weight: 600;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta .btn-outline:hover {
    background: white;
    color: #2563eb;
}

/* Footer */
.footer {
    background: #1a202c;
    color: #2563eb;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #2563eb;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.footer-section p {
    color: #2563eb;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #1d4ed8;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #2563eb;
}

.contact-details i {
    color: #2563eb;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(37, 99, 235, 0.2);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #2563eb;
    margin: 0;
    font-size: 0.875rem;
}

.footer-bottom a {
    color: #2563eb;
}

.footer-bottom a:hover {
    color: #1d4ed8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    /* Mobile navigation styles removed - using main style.css instead */

    .hero .container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .emergency-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}
