/* ============================================
   Pakistan Stroke Initiative - Design System
   Colors from logo:
     Green #1a6b37 (Pakistan text)
     Charcoal #4a4a4a (Stroke Initiative text)
     Coral #e07a7e (brain outline)
     Red #cc2229 (stroke indicator)
   Complement: Teal #0f7b6f
   ============================================ */

/* CSS Custom Properties */
:root {
  /* Primary: Logo Green (Pakistan green) */
  --green: #1a6b37;
  --green-dark: #145a2d;
  --green-light: #28a04f;

  /* Accent: Coral/Salmon from brain outline */
  --coral: #e07a7e;
  --coral-dark: #c9585c;
  --coral-light: #f0a3a6;

  /* Complement: Teal green */
  --teal: #0f7b6f;
  --teal-dark: #0a5f56;
  --teal-light: #18a393;

  /* Alert: Red from stroke indicator */
  --red: #cc2229;
  --red-dark: #a51b21;

  /* Gold kept for donate CTAs */
  --gold: #ffbe30;
  --gold-dark: #e5a520;

  /* Legacy aliases (mapped to new scheme so all CSS still works) */
  --purple: #1a6b37;
  --purple-dark: #145a2d;
  --purple-light: #28a04f;

  /* Neutrals - from logo charcoal */
  --white: #ffffff;
  --off-white: #f7faf8;
  --light-gray: #eef5f0;
  --coral-bg: #fdf2f2;
  --gray-bg: #f3f4f6;
  --gray: #6b7280;
  --dark-gray: #4a4a4a;
  --dark: #2c2c2c;

  /* Gradients */
  --gradient-purple: linear-gradient(135deg, #1a6b37 0%, #0f7b6f 100%);
  --gradient-green: linear-gradient(135deg, #1a6b37 0%, #28a04f 100%);
  --gradient-hero: linear-gradient(135deg, #1b2a1f 0%, #0d3d2a 40%, #0a2f28 70%, #1b2a1f 100%);
  --gradient-warm: linear-gradient(135deg, #e07a7e 0%, #ffbe30 100%);
  --gradient-cool: linear-gradient(135deg, #0f7b6f 0%, #1a6b37 100%);
  --gradient-rainbow-bar: linear-gradient(90deg, var(--coral), var(--gold), var(--green), var(--teal));

  /* Spacing */
  --section-pad: clamp(3rem, 8vw, 6rem);
  --container-width: 1200px;

  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-primary);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-purple: 0 4px 20px rgba(26,107,55,0.25);

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

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

body {
  font-family: var(--font-primary);
  color: var(--dark-gray);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

/* ============================================
   Utility Classes
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-pad) 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--purple);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--purple);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
  color: var(--dark);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 640px;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin: 0 auto;
}

.text-white { color: var(--white); }
.text-purple { color: var(--purple); }
.text-green { color: var(--green); }
.text-gold { color: var(--gold); }

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--purple);
  color: var(--white);
  box-shadow: var(--shadow-purple);
}

.btn-primary:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(26,107,55,0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--purple);
  border: 2px solid var(--purple);
}

.btn-secondary:hover {
  background: var(--purple);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-green {
  background: var(--green);
  color: var(--white);
}

.btn-green:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
}

.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}

.btn svg, .btn i {
  width: 18px;
  height: 18px;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  transition: var(--transition);
  text-decoration: none;
}

/* Brand colors for each social icon */
.nav-social a[aria-label="Facebook"] { color: #1877F2; }
.nav-social a[aria-label="Instagram"] { color: #E4405F; }
.nav-social a[aria-label="X (Twitter)"] { color: #14171A; }
.nav-social a[aria-label="YouTube"] { color: #FF0000; }
.nav-social a[aria-label="LinkedIn"] { color: #0A66C2; }

.nav-social a:hover {
  transform: scale(1.25);
  opacity: 0.7;
}

.nav-social svg {
  width: 13px;
  height: 13px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--dark);
}

.nav-logo img {
  height: 240px;
  width: auto;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-text span:first-child {
  color: var(--green);
  font-size: 1.1rem;
}

.nav-logo-text span:last-child {
  color: var(--purple);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-gray);
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--purple);
  background: rgba(26,107,55,0.06);
}

.nav-donate {
  margin-left: 0.75rem;
}

.nav-donate .btn {
  background: linear-gradient(135deg, #cc2229 0%, #e5392f 100%);
  color: #fff;
  padding: 0.65rem 1.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 15px rgba(204, 34, 41, 0.35);
  animation: donate-glow 2.5s ease-in-out infinite;
}

.nav-donate .btn:hover {
  background: linear-gradient(135deg, #a51b21 0%, #cc2229 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(204, 34, 41, 0.45);
}

@keyframes donate-glow {
  0%, 100% { box-shadow: 0 4px 15px rgba(204, 34, 41, 0.35); }
  50% { box-shadow: 0 4px 25px rgba(204, 34, 41, 0.55); }
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile donate button - hidden on desktop */
.nav-mobile-donate {
  display: none;
}

.nav-mobile-social {
  display: none;
}

/* Mobile Nav */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-social {
    display: none;
  }

  .nav-logo img {
    height: 100px;
  }

  .nav-mobile-donate {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.9rem;
    background: var(--gold);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    margin-right: 0.75rem;
    white-space: nowrap;
  }

  .nav-mobile-donate:hover {
    background: var(--gold-dark);
    color: var(--white);
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 0.25rem;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
  }

  .nav-donate {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }

  .nav-donate .btn {
    width: 100%;
    justify-content: center;
  }

  .nav-mobile-social {
    display: block;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
    width: 100%;
  }

  .nav-mobile-social > p {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray);
    margin-bottom: 0.6rem;
    text-align: center;
  }

  .nav-mobile-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
    justify-content: center;
  }

  .nav-mobile-social-links:last-child {
    margin-bottom: 0;
  }

  .nav-mobile-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-sm);
    background: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
  }

  /* Brand colors for mobile social icons */
  .nav-mobile-social-links a[aria-label="Facebook"] { color: #1877F2; }
  .nav-mobile-social-links a[aria-label="Instagram"] { color: #E4405F; }
  .nav-mobile-social-links a[aria-label="X (Twitter)"] { color: #1a1a1a; }
  .nav-mobile-social-links a[aria-label="YouTube"] { color: #FF0000; }
  .nav-mobile-social-links a[aria-label="LinkedIn"] { color: #0A66C2; }

  .nav-mobile-social-links a:hover {
    background: var(--green);
    color: var(--white);
  }

  .nav-mobile-social-links a svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
  }

}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-overlay.active {
  display: block;
  opacity: 1;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding-top: 72px;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(26,107,55,0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(30,98,57,0.12) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite reverse;
}

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

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255,190,48,0.15);
  border: 1px solid rgba(255,190,48,0.3);
  border-radius: 50px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out;
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.25rem;
}

.hero-visual {
  position: relative;
  animation: fadeInRight 0.8s ease-out 0.3s both;
}

.hero-card {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--white);
}

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

.hero-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255,190,48,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.hero-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
}

.hero-card-subtitle {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.befast-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.befast-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.08);
  transition: var(--transition);
}

.befast-item:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(4px);
}

.befast-letter {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.befast-text {
  font-size: 0.82rem;
  line-height: 1.3;
}

.befast-text strong {
  display: block;
  color: var(--gold);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero Emergency Banner */
.hero-emergency {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(220,38,38,0.9);
  backdrop-filter: blur(10px);
  padding: 0.85rem 0;
  z-index: 3;
}

.hero-emergency .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-emergency svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding-top: 2rem;
    padding-bottom: 5rem;
  }

  .hero-text {
    margin: 0 auto 2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-emergency {
    padding: 0.45rem 0;
  }

  .hero-emergency .container {
    font-size: 0.75rem;
    gap: 0.5rem;
  }

  .hero-emergency svg {
    width: 16px;
    height: 16px;
  }

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

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

/* ============================================
   Announcement Bar (Upcoming Project)
   ============================================ */
.announcement-bar {
  background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%);
  color: var(--white);
  padding: 0.75rem 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  z-index: 1001;
  border-bottom: 2px solid var(--coral);
}

.announcement-bar a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.announcement-bar a:hover {
  color: var(--white);
}

/* ============================================
   Quick Info Strip (20 sec)
   ============================================ */
.quick-info {
  background: linear-gradient(135deg, #e3f0e6 0%, #d6eadc 100%);
  padding: 3rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.quick-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.quick-info-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
  border-top: 3px solid var(--coral);
}

.quick-info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(26,107,55,0.1);
  transform: translateY(-4px);
}

.quick-info-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.quick-info-icon.purple {
  background: rgba(26,107,55,0.1);
  color: var(--purple);
}

.quick-info-icon.green {
  background: rgba(30,98,57,0.1);
  color: var(--green);
}

.quick-info-icon.gold {
  background: rgba(255,190,48,0.15);
  color: var(--gold-dark);
}

.quick-info-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.quick-info-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .quick-info-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ============================================
   Upcoming Project Spotlight
   ============================================ */
.spotlight {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.spotlight::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--purple), var(--gold));
}

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

.spotlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(30,98,57,0.1);
  color: var(--green);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.spotlight-badge .pulse {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(30,98,57,0.4); }
  70% { box-shadow: 0 0 0 10px rgba(30,98,57,0); }
  100% { box-shadow: 0 0 0 0 rgba(30,98,57,0); }
}

.spotlight h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: 1rem;
}

.spotlight-desc {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.spotlight-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.spotlight-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--dark-gray);
}

.spotlight-feature svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
}

.spotlight-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.spotlight-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.spotlight-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
}

.spotlight-image-overlay h4 {
  color: var(--white);
  font-size: 1rem;
}

.spotlight-image-overlay p {
  font-size: 0.85rem;
  opacity: 0.8;
}

@media (max-width: 900px) {
  .spotlight-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .spotlight-grid .spotlight-image {
    order: -1;
  }

  .spotlight-features {
    grid-template-columns: 1fr;
  }

  .partnership-logos img {
    height: 100px !important;
  }

  .partnership-logos svg {
    width: 20px !important;
    height: 20px !important;
  }
}

/* ============================================
   Impact Stats Counter
   ============================================ */
.stats-bar {
  background: var(--gradient-purple);
  padding: 3rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gold);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 400px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Programs / Previous Work
   ============================================ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
  cursor: pointer;
}

.program-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.program-card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

.program-card:hover .program-card-image img {
  transform: scale(1.05);
}

.program-card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.75rem;
  background: var(--purple);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.program-card-body {
  padding: 1.5rem;
}

.program-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.program-card-body p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.program-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--purple);
}

.program-card-link:hover {
  gap: 0.6rem;
}

.program-card-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition);
}

@media (max-width: 900px) {
  .programs-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .programs-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Videos Section
   ============================================ */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.video-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--dark);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.video-thumbnail {
  position: relative;
  padding-top: 56.25%;
  background: #222;
}

.video-thumbnail img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(26,107,55,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.video-card:hover .video-play-btn {
  background: var(--purple);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
  padding: 1rem 1.25rem;
}

.video-info h4 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.video-info p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

@media (max-width: 900px) {
  .videos-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .videos-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials {
  background: #e5e7e5;
}

.testimonial-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0 2rem;
  scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  flex: 0 0 min(100%, 380px);
  scroll-snap-align: start;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
}

.testimonial-quote {
  font-size: 2rem;
  color: var(--purple);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--dark-gray);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--gray);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(26,107,55,0.2);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background: var(--purple);
  width: 24px;
  border-radius: 4px;
}

/* ============================================
   Fundraisers Section
   ============================================ */
.fundraisers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.fundraiser-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}

.fundraiser-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.fundraiser-image {
  height: 180px;
  overflow: hidden;
}

.fundraiser-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fundraiser-body {
  padding: 1.5rem;
}

.fundraiser-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.fundraiser-body p {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.fundraiser-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--gray);
}

.fundraiser-meta svg {
  width: 14px;
  height: 14px;
}

/* ============================================
   Donate CTA Section
   ============================================ */
.donate-cta {
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.donate-cta::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(26,107,55,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.donate-cta .container {
  position: relative;
  z-index: 2;
}

.donate-cta h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.donate-cta p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.donate-cta .btn-gold {
  font-size: 1.1rem;
  padding: 1rem 3rem;
}

.donate-methods {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.donate-method {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}

.donate-method svg {
  width: 18px;
  height: 18px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 1.25rem 0 0.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 0.75rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand .nav-logo {
  display: block;
  flex-shrink: 0;
  width: 110px;
  height: 95px;
  overflow: hidden;
  margin-bottom: 0;
}

.footer-brand .nav-logo img {
  height: 150px !important;
  width: auto;
  margin-top: -20px;
  margin-left: -12px;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-brand p {
  font-size: 0.78rem;
  line-height: 1.4;
  margin-top: 0.1rem;
  max-width: 220px;
}

.footer-social {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

/* Brand colors for footer social icons */
.footer-social a[aria-label="Facebook"] { color: #1877F2; }
.footer-social a[aria-label="Instagram"] { color: #E4405F; }
.footer-social a[aria-label="X (Twitter)"] { color: #fff; }
.footer-social a[aria-label="YouTube"] { color: #FF0000; }
.footer-social a[aria-label="LinkedIn"] { color: #0A66C2; }

.footer-social a:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}

.footer-social a svg {
  width: 15px;
  height: 15px;
}

.footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.footer-links a {
  display: block;
  font-size: 0.82rem;
  padding: 0.2rem 0;
  color: rgba(255,255,255,0.6);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--purple-light);
}

.footer-donate-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.75rem 1.5rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, rgba(204, 34, 41, 0.12) 0%, rgba(204, 34, 41, 0.06) 100%);
  border: 1px solid rgba(204, 34, 41, 0.25);
  border-radius: var(--radius-md);
}

.footer-donate-text {
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  line-height: 1.4;
}

.footer-donate-text strong {
  color: #fff;
}

.footer-donate-btn {
  background: linear-gradient(135deg, #cc2229 0%, #e5392f 100%);
  color: #fff !important;
  padding: 0.5rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(204, 34, 41, 0.4);
  white-space: nowrap;
  flex-shrink: 0;
}

.footer-donate-btn:hover {
  background: linear-gradient(135deg, #a51b21 0%, #cc2229 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(204, 34, 41, 0.5);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.footer-bottom a {
  color: var(--purple-light);
}

.footer-bottom a:hover {
  color: var(--white);
}

@media (max-width: 600px) {
  .footer {
    padding: 1.25rem 0 0.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    flex-direction: column;
    gap: 0.25rem;
  }

  .footer-brand .nav-logo {
    width: 120px;
    height: 100px;
    margin: 0 auto;
  }

  .footer-brand .nav-logo img {
    height: 160px !important;
    margin-top: -22px;
    margin-left: -14px;
  }

  .footer-brand-text {
    align-items: center;
  }

  .footer-brand p {
    max-width: none;
    font-size: 0.78rem;
  }

  .footer-social {
    justify-content: center;
  }

  .footer h4 {
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
  }

  .footer-links a {
    font-size: 0.78rem;
    padding: 0.15rem 0;
  }

  .footer-contact-item {
    font-size: 0.78rem;
  }

  .footer-donate-bar {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding: 0.75rem 1rem;
  }

  .footer-donate-text {
    font-size: 0.78rem;
  }

  .footer-donate-btn {
    padding: 0.4rem 1.25rem;
    font-size: 0.8rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
    font-size: 0.72rem;
  }
}

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.5s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Page Headers (Inner Pages)
   ============================================ */
.page-header {
  background: var(--gradient-hero);
  padding: calc(72px + 4rem) 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(224,122,126,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-rainbow-bar);
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.breadcrumb a {
  color: rgba(255,255,255,0.7);
}

.breadcrumb a:hover {
  color: var(--white);
}

/* ============================================
   About Strokes Page
   ============================================ */
.stroke-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.stroke-type-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
  text-align: center;
}

.stroke-type-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.stroke-type-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stroke-type-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.stroke-type-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

.befast-section {
  background: var(--gradient-purple);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--white);
}

.befast-large-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.befast-large-item {
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.befast-large-item:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}

.befast-large-letter {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
}

.befast-large-item h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.befast-large-item p {
  font-size: 0.85rem;
  opacity: 0.8;
}

.treatments-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}

.treatment-card:nth-child(1),
.treatment-card:nth-child(2),
.treatment-card:nth-child(3) {
  grid-column: span 2;
}

.treatment-card:nth-child(4) {
  grid-column: 2 / 4;
}

.treatment-card:nth-child(5) {
  grid-column: 4 / 6;
}

.treatment-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--green);
  transition: var(--transition);
}

.treatment-card:hover {
  box-shadow: var(--shadow-md);
}

.treatment-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--green);
}

.treatment-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

.prevention-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.prevention-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 400;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.prevention-item h3 {
  margin-top: 0.25rem;
}

.prevention-tips {
  list-style: none;
  padding: 0;
  margin: 0;
}

.prevention-tips li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
  color: var(--dark-gray);
}

.prevention-tips li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
}

.prevention-tips li:last-child {
  margin-bottom: 0;
}

.prevention-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.prevention-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .stroke-types-grid,
  .befast-large-grid {
    grid-template-columns: 1fr;
  }

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

  .treatment-card:nth-child(1),
  .treatment-card:nth-child(2),
  .treatment-card:nth-child(3),
  .treatment-card:nth-child(4),
  .treatment-card:nth-child(5) {
    grid-column: 1;
  }

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

  .befast-section {
    padding: 2rem 1.5rem;
  }
}

/* ============================================
   Team Page
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
  border-top: 3px solid var(--coral);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.team-card-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, rgba(26,107,55,0.1), rgba(30,98,57,0.1));
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.team-card:hover .team-card-image img {
  transform: scale(1.05);
}

.team-card-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--purple);
  background: linear-gradient(135deg, rgba(26,107,55,0.08), rgba(26,107,55,0.15));
}

.team-card-body {
  padding: 1.5rem;
}

.team-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.team-card-title {
  font-size: 0.85rem;
  color: var(--purple);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.team-card-body p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

.team-card-links {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
  justify-content: center;
}

.team-card-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  text-decoration: none;
  padding: 0.25rem;
  border-radius: 50%;
  transition: color 0.2s ease, background 0.2s ease;
  font-size: 0;
}

.team-card-links a:hover {
  color: var(--green-dark);
  background: rgba(26,107,55,0.1);
}

.team-card-links a svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* ============================================
   Impact / Projects Page
   ============================================ */
.timeline {
  position: relative;
  padding-left: 6rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 4.75rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--purple), var(--green));
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 2rem;
}

.timeline-item .timeline-image {
  position: absolute;
  left: -5.5rem;
  top: 0.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-md);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.7rem;
  top: 0.5rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--purple);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
  z-index: 1;
}

.timeline-date {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--purple);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.timeline-content {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
}

.timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .timeline {
    padding-left: 3rem;
  }
  .timeline::before {
    left: 15px;
  }
  .timeline-item .timeline-image {
    display: none;
  }
  .timeline-item::before {
    left: -2.35rem;
  }
}

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid rgba(0,0,0,0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--dark);
  transition: var(--transition);
  background: var(--off-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(26,107,55,0.1);
}

.form-group textarea {
  height: 140px;
  resize: vertical;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  padding: 1.5rem;
  background: var(--off-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: var(--transition);
}

.contact-info-card:hover {
  background: rgba(26,107,55,0.04);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--gradient-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--gray);
}

.contact-info-card a {
  color: var(--purple);
  font-weight: 500;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Donate Page
   ============================================ */
.donate-hero {
  background: var(--gradient-hero);
  padding: calc(72px + 3rem) 0 3rem;
  text-align: center;
}

.donate-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.donate-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Donate Page Sticky Navigation */
.donate-sticky-nav {
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
  padding: 0;
  position: sticky;
  top: 72px;
  z-index: 90;
  transition: box-shadow 0.3s ease;
}

.donate-sticky-nav.stuck {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.donate-sticky-nav .container {
  padding-top: 0;
  padding-bottom: 0;
}

.donate-nav-links {
  display: flex;
  justify-content: center;
  gap: 0;
}

.donate-nav-link {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.donate-nav-link:hover {
  color: var(--green);
  background: rgba(26,107,55,0.04);
}

.donate-nav-link.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.donate-nav-link svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .donate-nav-links {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .donate-nav-links::-webkit-scrollbar {
    display: none;
  }
  .donate-nav-link {
    padding: 0.7rem 0.9rem;
    font-size: 0.78rem;
    gap: 0.3rem;
  }
  .donate-nav-link svg {
    width: 14px;
    height: 14px;
  }
}

.donate-content {
  max-width: 800px;
  margin: 0 auto;
}

.donate-embed {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.donate-embed iframe {
  width: 100%;
  border: none;
  min-height: 600px;
}

.donate-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.donate-info-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  background: var(--off-white);
}

.donate-info-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.donate-info-card p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .donate-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Video Modal
   ============================================ */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.video-modal.active {
  opacity: 1;
  pointer-events: all;
}

.video-modal-content {
  width: 90%;
  max-width: 900px;
  aspect-ratio: 16/9;
  position: relative;
}

.video-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.video-modal-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-sm);
}

/* ============================================
   Scroll to Top
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-purple);
  z-index: 100;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--purple-dark);
  transform: translateY(-2px);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   Skip to Content (Accessibility)
   ============================================ */
.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--purple);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 10001;
  font-weight: 600;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}

/* ============================================
   Loading State
   ============================================ */
.loading-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ============================================
   Cookie Banner Placeholder
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
  padding: 1rem 1.5rem;
  z-index: 9999;
  display: none;
}

.cookie-banner.show {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner p {
  font-size: 0.85rem;
  color: var(--dark-gray);
}

.cookie-banner-buttons {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* ============================================
   Hospital Capabilities Table
   ============================================ */

.hospital-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--white);
  max-width: 650px;
  margin: 0 auto;
}

.hospital-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  min-width: 500px;
}

.hospital-table thead th {
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  padding: 0.6rem 0.75rem;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  position: sticky;
  top: 0;
  z-index: 2;
}

.hospital-table thead th:first-child {
  text-align: left;
  min-width: 200px;
}

.hospital-table tbody tr {
  border-bottom: 1px solid var(--light-gray);
  transition: background 0.2s;
}

.hospital-table tbody tr:hover {
  background: rgba(26, 107, 55, 0.04);
}

.hospital-table tbody td {
  padding: 0.4rem 0.75rem;
  vertical-align: middle;
}

.hospital-table tbody td:first-child {
  font-weight: 600;
  color: var(--dark);
}

.hospital-table tbody td:not(:first-child) {
  text-align: center;
  font-size: 1.2rem;
}

.hospital-table .row-both {
  background: rgba(26, 107, 55, 0.06);
}

.hospital-table .row-tpa-only {
  background: rgba(229, 165, 32, 0.06);
}

.hospital-table .row-none {
  background: transparent;
}

.hospital-table .icon-yes {
  color: var(--green);
  font-weight: 700;
}

.hospital-table .icon-no {
  color: #cc2229;
  font-weight: 700;
}

.hospital-table-legend {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.hospital-table-legend span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.legend-dot.green { background: var(--green); }
.legend-dot.gold { background: var(--gold-dark); }
.legend-dot.gray { background: var(--gray); }

/* ============================================
   FAQ Accordion
   ============================================ */

.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  border: 1px solid var(--light-gray);
  transition: box-shadow 0.3s;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  text-align: left;
  gap: 1rem;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--green);
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--green);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 3000px;
}

.faq-answer-inner {
  padding: 0 1.5rem 1.5rem;
  color: var(--dark-gray);
  line-height: 1.8;
}

.faq-answer-inner h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--dark);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.faq-answer-inner h3:first-child {
  margin-top: 0;
}

.faq-answer-inner h4 {
  font-weight: 700;
  color: var(--dark);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.faq-answer-inner p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.faq-answer-inner ul, .faq-answer-inner ol {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

.faq-answer-inner li {
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.faq-answer-inner strong {
  color: var(--dark);
}

.faq-answer-inner hr {
  border: none;
  border-top: 1px solid var(--light-gray);
  margin: 1.25rem 0;
}

/* ============================================
   Urdu Content Section
   ============================================ */

.urdu-section {
  direction: rtl;
  text-align: right;
  font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Mehr Nastaliq', serif;
}

.urdu-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.urdu-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 2rem;
  border-top: 4px solid var(--green);
}

.urdu-card h3 {
  font-size: 1.3rem;
  color: var(--green);
  margin-bottom: 1rem;
  font-weight: 700;
}

.urdu-card p {
  font-size: 1rem;
  line-height: 2;
  color: var(--dark-gray);
  margin-bottom: 0.75rem;
}

.urdu-card ul, .urdu-card ol {
  padding-right: 1.25rem;
  padding-left: 0;
  margin-bottom: 0.75rem;
}

.urdu-card li {
  margin-bottom: 0.5rem;
  line-height: 2;
  font-size: 0.95rem;
}

.urdu-card strong {
  color: var(--dark);
}

.urdu-fast-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1rem 0;
}

.urdu-fast-item {
  background: rgba(26, 107, 55, 0.06);
  border-radius: var(--radius-md);
  padding: 1rem;
  border-right: 4px solid var(--green);
}

.urdu-fast-item .fast-letter {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green);
  font-family: var(--font-heading);
  direction: ltr;
}

.urdu-fast-item p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.lang-toggle-bar {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.lang-toggle-bar button {
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--green);
  background: transparent;
  color: var(--green);
  border-radius: var(--radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.lang-toggle-bar button.active {
  background: var(--green);
  color: var(--white);
}

.lang-toggle-bar button:hover:not(.active) {
  background: rgba(26, 107, 55, 0.08);
}

@media (max-width: 768px) {
  .urdu-cards-grid {
    grid-template-columns: 1fr;
  }

  .urdu-fast-grid {
    grid-template-columns: 1fr;
  }

  .hospital-table-wrapper {
    margin: 0 -1rem;
    border-radius: 0;
  }

  .faq-question {
    font-size: 1rem;
    padding: 1rem 1.25rem;
  }

  .faq-answer-inner {
    padding: 0 1.25rem 1.25rem;
  }
}

/* ============================================
   Scroll Progress Indicator
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 10002;
  background: transparent;
  pointer-events: none;
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gradient-rainbow-bar);
  transition: width 0.05s linear;
}

/* ============================================
   Slogan Styles
   ============================================ */
.slogan {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold) 0%, #ffd666 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-slogan {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  background: linear-gradient(135deg, var(--gold) 0%, #ffd666 50%, var(--coral-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.footer-slogan {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--gold);
  margin-top: 0;
  margin-bottom: 0.15rem;
}

.page-header-slogan {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 1rem;
  color: var(--gold);
  margin-top: 0.75rem;
}

/* ============================================
   Enhanced Color Treatments
   ============================================ */

/* Program cards - colored top borders */
.program-card { border-top: 3px solid transparent; }
.program-card:nth-child(1) { border-top-color: var(--coral); }
.program-card:nth-child(2) { border-top-color: var(--green); }
.program-card:nth-child(3) { border-top-color: var(--gold); }
.program-card:nth-child(4) { border-top-color: var(--red); }
.program-card:nth-child(5) { border-top-color: var(--teal); }
.program-card:nth-child(6) { border-top-color: var(--coral-dark); }

/* Stats bar shimmer overlay */
.stats-bar {
  position: relative;
  overflow: hidden;
}

.stats-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -200px;
  width: 200px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,190,48,0.08), transparent);
  animation: stats-shimmer 4s ease-in-out infinite;
}

@keyframes stats-shimmer {
  0% { left: -200px; }
  100% { left: 100%; }
}

/* Donate CTA rainbow top border */
.donate-cta {
  position: relative;
}

.donate-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-rainbow-bar);
  border-radius: 2px;
}

/* Footer gradient */
.footer {
  background: linear-gradient(180deg, #2c2c2c 0%, #1a1a1a 100%) !important;
}

/* Enhanced card hover shadows */
.program-card:hover {
  box-shadow: 0 12px 40px rgba(26,107,55,0.15);
}

.quick-info-card:hover {
  box-shadow: 0 12px 40px rgba(26,107,55,0.12);
}

/* Button glow on hover */
.btn-gold:hover {
  box-shadow: 0 4px 20px rgba(255,190,48,0.35);
}

.btn-green:hover {
  box-shadow: 0 4px 20px rgba(26,107,55,0.35);
}

.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(26,107,55,0.35);
}

/* ============================================
   Brain/Stroke SVG Animations
   ============================================ */
@keyframes neural-pulse {
  0% { stroke-dashoffset: 300; opacity: 0.3; }
  50% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -300; opacity: 0.3; }
}

@keyframes brain-glow {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(224,122,126,0.3)); }
  50% { filter: drop-shadow(0 0 20px rgba(224,122,126,0.6)); }
}

.animated-brain {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.animated-brain svg {
  width: 100%;
  max-width: 320px;
  height: auto;
  animation: brain-glow 4s ease-in-out infinite;
}

.animated-brain .neural-path {
  stroke-dasharray: 300;
  animation: neural-pulse 3s ease-in-out infinite;
}

.animated-brain .neural-path:nth-child(2) { animation-delay: 0.5s; }
.animated-brain .neural-path:nth-child(3) { animation-delay: 1s; }
.animated-brain .neural-path:nth-child(4) { animation-delay: 1.5s; }
.animated-brain .neural-path:nth-child(5) { animation-delay: 2s; }

/* Heartbeat line on stats bar */
@keyframes heartbeat-line {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(calc(100vw + 100%)); }
}

/* Floating medical icons decoration */
@keyframes float-icon {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.04; }
  50% { transform: translateY(-20px) rotate(5deg); opacity: 0.08; }
}

.floating-icons {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.floating-icon {
  position: absolute;
  opacity: 0.04;
  animation: float-icon 8s ease-in-out infinite;
}

.floating-icon:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 60%; right: 8%; animation-delay: 2s; }
.floating-icon:nth-child(3) { bottom: 15%; left: 15%; animation-delay: 4s; }
.floating-icon:nth-child(4) { top: 30%; right: 20%; animation-delay: 1s; animation-duration: 10s; }

.floating-icon svg {
  width: 60px;
  height: 60px;
  stroke: var(--green);
  fill: none;
  stroke-width: 1;
}

/* ============================================
   Warning Sign Animated Icons
   ============================================ */
@keyframes hand-stop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.85) rotate(-10deg); }
}

@keyframes face-droop {
  0%, 100% { transform: skewY(0); }
  50% { transform: skewY(3deg); }
}

@keyframes speech-wave {
  0%, 100% { transform: scaleX(1); }
  25% { transform: scaleX(0.9); }
  75% { transform: scaleX(1.1); }
}

@keyframes urgent-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(204,34,41,0.4); }
  50% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(204,34,41,0); }
}

@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.15); }
  30% { transform: scale(1); }
  45% { transform: scale(1.1); }
}

.warning-icon-animated {
  transition: var(--transition);
}

.befast-large-item:hover .warning-icon-animated.hand { animation: hand-stop 1.5s ease-in-out infinite; }
.befast-large-item:hover .warning-icon-animated.face { animation: face-droop 2s ease-in-out infinite; }
.befast-large-item:hover .warning-icon-animated.speech { animation: speech-wave 1s ease-in-out infinite; }
.befast-large-item:hover .warning-icon-animated.urgent { animation: urgent-pulse 1.5s ease-in-out infinite; }
.befast-large-item:hover .warning-icon-animated.heart { animation: heart-beat 1s ease-in-out infinite; }

/* ============================================
   Enhanced Hover Micro-Animations
   ============================================ */

/* Card tilt on hover */
.program-card:hover {
  transform: translateY(-6px) rotate(-0.3deg);
}

.quick-info-card:hover .quick-info-icon {
  transform: scale(1.1) rotate(5deg);
  transition: var(--transition);
}

/* Nav link underline animation */
.nav-links a {
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--green);
  transition: left 0.3s ease, right 0.3s ease;
  border-radius: 1px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  left: 10%;
  right: 10%;
}

/* Icon scale on hover */
.quick-info-icon,
.stroke-type-icon {
  transition: transform var(--transition);
}

.stroke-type-card:hover .stroke-type-icon {
  transform: scale(1.1) rotate(5deg);
}

/* ============================================
   Interactive Symptom Checker
   ============================================ */
.symptom-checker {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* Carousel Navigation */
.checker-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.checker-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--light-gray);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: var(--transition);
  flex-shrink: 0;
}

.checker-arrow:hover:not(:disabled) {
  border-color: var(--green);
  color: var(--green);
  background: rgba(26,107,55,0.05);
}

.checker-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.checker-progress {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.checker-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--light-gray);
  border: 2px solid var(--light-gray);
  transition: var(--transition);
  cursor: pointer;
}

.checker-dot.active {
  background: var(--green);
  border-color: var(--green);
  transform: scale(1.2);
}

.checker-dot.current {
  border-color: var(--green);
}

.checker-dot.danger {
  background: var(--red);
  border-color: var(--red);
}

/* Carousel Track */
.checker-track {
  overflow: hidden;
  position: relative;
}

.checker-step {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 1.5rem 2rem;
  animation: checkerFadeIn 0.35s ease;
}

.checker-step.active {
  display: flex;
}

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

@keyframes checkerFadeInReverse {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

.checker-step.slide-left {
  animation: checkerFadeIn 0.35s ease;
}

.checker-step.slide-right {
  animation: checkerFadeInReverse 0.35s ease;
}

.checker-step.answered .checker-buttons {
  pointer-events: none;
}

.checker-step .checker-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.checker-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

.checker-step p {
  font-size: 0.95rem;
  color: var(--gray);
  margin-bottom: 1.25rem;
  max-width: 450px;
}

.checker-buttons {
  display: flex;
  gap: 1rem;
}

.checker-btn {
  padding: 0.65rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid;
  transition: var(--transition);
  font-family: var(--font-primary);
}

.checker-btn.yes {
  background: rgba(204,34,41,0.1);
  border-color: var(--red);
  color: var(--red);
}

.checker-btn.yes:hover {
  background: var(--red);
  color: var(--white);
}

.checker-btn.no {
  background: rgba(26,107,55,0.1);
  border-color: var(--green);
  color: var(--green);
}

.checker-btn.no:hover {
  background: var(--green);
  color: var(--white);
}

.checker-btn.selected {
  color: var(--white);
  pointer-events: none;
}

.checker-btn.yes.selected {
  background: var(--red);
}

.checker-btn.no.selected {
  background: var(--green);
}

.checker-result {
  text-align: center;
  padding: 2rem;
  animation: checkerFadeIn 0.4s ease;
}

.checker-result.emergency {
  background: rgba(204,34,41,0.05);
  border: 2px solid var(--red);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.checker-result.safe {
  background: rgba(26,107,55,0.05);
  border: 2px solid var(--green);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.checker-result h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.checker-result p {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 1rem;
}

@media (max-width: 600px) {
  .checker-step {
    padding: 1rem 0.5rem 1.5rem;
  }
  .checker-step .checker-icon {
    font-size: 2rem;
  }
  .checker-step h3 {
    font-size: 1.05rem;
  }
  .checker-btn {
    padding: 0.55rem 1.25rem;
    font-size: 0.82rem;
  }
}

/* ============================================
   Page Header Animated Gradient Sweep
   ============================================ */
.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,190,48,0.04) 50%, transparent 70%);
  animation: gradient-sweep 8s ease-in-out infinite;
}

@keyframes gradient-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ============================================
   Crisis Section & Infographics
   ============================================ */
.crisis-section {
  background: linear-gradient(135deg, #0d1a12 0%, #132b1e 40%, #1a3528 70%, #0d1a12 100%);
  color: #fff;
}

.crisis-section .section-title {
  color: #fff;
}

.crisis-section .section-subtitle {
  color: rgba(255,255,255,0.8);
}

.crisis-section .section-label::before {
  background: #dc2626;
}

.infographic-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.infographic-card {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.infographic-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
}

.infographic-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.infographic-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--coral-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.infographic-detail {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

.crisis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.crisis-card {
  padding: 1.75rem;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  border-left: 4px solid var(--coral);
  transition: var(--transition);
}

.crisis-card:hover {
  background: rgba(255,255,255,0.1);
}

.crisis-icon {
  color: var(--coral);
  margin-bottom: 0.75rem;
}

.crisis-card h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.crisis-card p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  line-height: 1.5;
}

.crisis-card strong {
  color: var(--gold);
}

@media (max-width: 768px) {
  .infographic-row {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .infographic-number {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .infographic-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .infographic-card {
    padding: 1.25rem 0.75rem;
  }
}

/* ============================================
   Gallery & Lightbox
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

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

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay h4 {
  font-size: 0.9rem;
  margin: 0;
}

.gallery-item-overlay p {
  font-size: 0.75rem;
  opacity: 0.8;
  margin: 0.25rem 0 0;
}

.gallery-category {
  margin-bottom: 3rem;
}

.gallery-category h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--green);
  display: inline-block;
}

/* Slideshow Badge */
.gallery-item.has-slideshow {
  position: relative;
}

.slideshow-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  pointer-events: none;
  z-index: 2;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10001;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  text-align: center;
  max-width: 80%;
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .gallery-item-overlay {
    opacity: 1;
    padding: 0.5rem;
  }
}

/* City header for hospital table */
.city-header td {
  background: var(--off-white) !important;
  font-weight: 700 !important;
  font-size: 0.95rem;
  padding: 0.75rem 1rem !important;
  border-top: 2px solid var(--green);
}

/* ============================================
   Reduced Motion Support
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .scroll-progress-bar {
    transition: none !important;
  }
}

/* ============================================
   Announcement Bar Slogan
   ============================================ */
.announcement-slogan {
  color: var(--coral-light);
  font-weight: 700;
  font-style: italic;
  margin-right: 0.5rem;
}

@media (max-width: 600px) {
  .announcement-slogan {
    display: none;
  }
}

/* ============================================
   Hero Video
   ============================================ */
.hero-video-wrapper {
  overflow: hidden;
  background: transparent;
  width: 520px;
  height: 440px;
  border-radius: 50%;
  margin: 0 auto;
  transform: rotate(-5deg);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at center, black 42%, transparent 65%);
  mask-image: radial-gradient(ellipse 80% 80% at center, black 42%, transparent 65%);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: transparent;
  mix-blend-mode: screen;
}

@media (max-width: 768px) {
  .hero-video-wrapper {
    width: 360px;
    height: 300px;
  }
}
