* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  color: #212121;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #9bd4e4 0%, #6ccfeb 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.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 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23fff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23fff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="300" cy="700" r="120" fill="url(%23a)"/></svg>');
  animation: float 20s ease-in-out infinite;
}

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

.hero-content {
  color: white;
  z-index: 2;
  position: relative;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  margin-bottom: 1rem;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
  line-height: 1.1;
  text-align: center;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: 2rem;
  opacity: 0.95;
  font-weight: 300;
  text-align: center;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.stat-card {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.stat-number.red { color: #ff6b6b; }
.stat-number.green { color: #51cf66; }
.stat-number.orange { color: #ffd93d; }

.stat-text {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #667eea;
}

.logo-icon {
  width: 128px;
  height: 128px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #667eea;
}

/* About Section */
.about {
  padding: 6rem 0;
  background: #f8fafc;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: #2d3748;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a5568;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Cardiac Arrest Section */
.cardiac-info {
  padding: 6rem 0;
  background: linear-gradient(45deg, #e8b768 0%, #f9a825 100%);
  color: white;
}

.cardiac-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cardiac-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.cardiac-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.95;
}

.cardiac-image {
  display: flex;
  justify-content: center;
}

.cardiac-image img {
  background-color: #f5576c;
  width: 80%;
  max-width: 400px;
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Steps Section */
.steps {
  padding: 6rem 0;
  background: white;
}

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

.step-card {
  text-align: center;
  padding: 2rem;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e2e8f0;
}

.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.step-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
}

.step-card:nth-child(1) .step-icon { background: linear-gradient(45deg, #667eea, #9bd4e4); }
.step-card:nth-child(2) .step-icon { background: linear-gradient(45deg, #f093fb, #f5576c); }
.step-card:nth-child(3) .step-icon { background: linear-gradient(45deg, #4facfe, #00f2fe); }

.step-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #2d3748;
}

.step-card p {
  color: #4a5568;
  line-height: 1.6;
}

/* Founders Section */
.founders {
  padding: 6rem 0;
  background: linear-gradient(45deg, #d75755, #e53935);
}

.founders > .container > h2,
.founders-text > p {
  color: white !important;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
  align-items: center;
}

.founder-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.founder-card:hover {
  transform: translateY(-5px);
}

.founder-logo {
  width: 200px;
  height: 200px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
}

.founder-card:nth-child(1) .founder-logo,
.founder-card:nth-child(2) .founder-logo,
.founder-card:nth-child(3) .founder-logo {
  background: none;
}

.founder-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2d3748;
}

.founder-card p {
  color: #4a5568;
  font-size: 0.9rem;
}

/* Partners Section */
.partners {
  padding: 6rem 0;
  background: linear-gradient(135deg, #9bd4e4 0%, #6ccfeb 100%);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
  align-items: center;
}

/* CTA Section */
.cta {
  padding: 6rem 0;
  background: #f8fafc;
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: #e53935;
  color: white;
}

.btn-primary:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-outline {
  background: transparent;
  color: #e53935;
  border: 2px solid #e53935;
}

.btn-outline:hover {
  background: #e53935;
  color: #212121;
}

/* Footer */
.footer {
  background: #2d3748;
  color: white;
  padding: 3rem 0 1rem;
  text-align: center;
}

.footer-content {
  margin-bottom: 2rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: #a0aec0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #4a5568;
  padding-top: 1rem;
  color: #a0aec0;
  font-size: 0.9rem;
}

.footer-bottom p {
  color: #a0aec0;
}

@media (max-width: 900px) {
  .hero {
    padding: 50% 1vh;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .about-content,
  .cardiac-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 550px) {
  .hero > .container {
    padding: 0;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 350px;
    margin: 2rem auto 0;
    justify-items: center;
  }

  .stat-card {
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: clamp(2rem, 9vw, 3.5rem);
    text-align: center;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100vw - 40px);
    max-width: 100%;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-text {
    font-size: 0.85rem;
  }
}

@media (max-width: 385px) {
  .hero {
    padding: 50% 1vh 10vh 1vh;
  }
}

/* Scroll animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 120px;
}
.aed-section {
    padding: 6rem 0;
    background: #ffffff;
}

.aed-subtitle {
    max-width: 800px;
    margin: 0 auto 2.5rem auto;
    text-align: center;
    font-size: 1.1rem;
    color: #4a5568;
    line-height: 1.7;
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto 2.5rem auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.video-wrapper iframe {
    width: 100%;
    height: 500px;
    display: block;
}

