/* public/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
  --bg-primary: #f9e5a4;
  --bg-secondary: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.15);
  --bg-glass-strong: rgba(255, 255, 255, 0.75);
  --bg-card: rgba(255, 255, 255, 0.6);
  --bg-card-hover: rgba(255, 255, 255, 0.8);
  --bg-modal: rgba(255, 255, 255, 0.75);
  --bg-footer: rgba(10, 26, 43, 0.8);
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-inverse: #ffffff;
  --text-muted: #94a3b8;
  --border-glass: rgba(255, 255, 255, 0.3);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.06);
  --progress-bg: rgba(255, 255, 255, 0.3);
  --marquee-bg: rgba(13, 148, 136, 0.1);
  --stat-number: #0d9488;
  --glass-border: rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-glass: rgba(255, 255, 255, 0.06);
  --bg-glass-strong: rgba(30, 41, 59, 0.85);
  --bg-card: rgba(30, 41, 59, 0.6);
  --bg-card-hover: rgba(30, 41, 59, 0.8);
  --bg-modal: rgba(15, 23, 42, 0.85);
  --bg-footer: rgba(15, 23, 42, 0.95);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-inverse: #0f172a;
  --text-muted: #64748b;
  --border-glass: rgba(255, 255, 255, 0.08);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.2);
  --progress-bg: rgba(255, 255, 255, 0.1);
  --marquee-bg: rgba(13, 148, 136, 0.2);
  --stat-number: #14b8a6;
  --glass-border: rgba(255, 255, 255, 0.06);
}

/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background 0.4s ease, color 0.4s ease;
}

a { text-decoration: none; color: inherit; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ========== GLASS CLASSES ========== */
.glass {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glass);
  transition: background 0.4s ease, border 0.4s ease, box-shadow 0.4s ease;
}

.glass-strong {
  background: var(--bg-glass-strong);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glass);
  transition: background 0.4s ease, border 0.4s ease, box-shadow 0.4s ease;
}

/* ========== DARK MODE TOGGLE ========== */
.theme-toggle {
  position: fixed;
  bottom: 6rem;
  left: 1.5rem;
  z-index: 10001;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glass);
  color: var(--text-primary);
  font-size: 1.2rem;
  transition: transform 0.3s ease, background 0.4s ease, color 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-toggle:hover { transform: scale(1.1); }
.theme-toggle i { transition: transform 0.5s ease; }
.theme-toggle:hover i { transform: rotate(180deg); }

@media (max-width: 700px) {
  .theme-toggle {
    bottom: 5rem;
    left: 1rem;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}

/* ========== PROGRESS BAR ========== */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, #0d9488, #14b8a6, #0d9488);
  background-size: 300% 300%;
  animation: gradientShift 3s ease infinite;
  z-index: 10000;
  transition: width 0.1s linear;
  box-shadow: 0 0 20px rgba(13, 148, 136, 0.4);
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 0.7rem 1.8rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, color 0.3s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.btn-primary {
  background: #0d9488;
  color: #fff;
}
.btn-primary:hover { background: #0f766e; transform: scale(1.02); }
.btn-outline {
  background: transparent;
  border: 2px solid #0d9488;
  color: #0d9488;
}
.btn-outline:hover { background: #0d9488; color: #fff; }
.btn-sm { padding: 0.4rem 1.2rem; font-size: 0.85rem; }
.btn-danger {
  background: #c62828;
  color: #fff;
}
.btn-danger:hover { background: #b71c1c; }
.btn-outline-light {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn-outline-light:hover { background: #fff; color: #0a1a2b; }

/* ========== TOP BAR ========== */
.top-bar {
  background: rgba(10, 26, 43, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #e0eef7;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  border-bottom: 3px solid #0d9488;
  position: relative;
  z-index: 2;
}
.top-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.top-bar .contact-info i { margin-right: 0.5rem; color: #0d9488; }
.top-bar .contact-info span { margin-right: 1.5rem; }
.top-bar .emergency-badge {
  background: #c62828;
  padding: 0.3rem 1.2rem;
  border-radius: 40px;
  font-weight: 700;
  color: #fff;
  animation: pulseBadge 2s infinite;
}
@keyframes pulseBadge {
  0% { transform: scale(1); background: #c62828; }
  50% { transform: scale(1.05); background: #b71c1c; }
  100% { transform: scale(1); background: #c62828; }
}

/* ========== NAVIGATION ========== */
nav {
  background: var(--bg-glass-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border-glass);
  transition: background 0.4s ease, border 0.4s ease;
}
nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  transition: color 0.4s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.logo .logo-img { height: 2.2rem; width: auto; object-fit: contain; display: inline-block; border-radius: 8px; }
.logo i {
  background: linear-gradient(90deg, #0d9488, #14b8a6, #0d9488);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.logo span { color: #0d9488; }
.nav-links {
  display: flex;
  gap: 1.8rem;
  font-weight: 600;
  font-size: 1rem;
  flex-wrap: wrap;
}
.nav-links a {
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.2rem;
  color: var(--text-primary);
}
.nav-links a:hover,
.nav-links a.active {
  color: #0d9488;
  border-bottom-color: #0d9488;
}
.nav-links .lang-toggle {
  cursor: pointer;
  background: rgba(226, 232, 240, 0.8);
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0a1a2b;
  border: none;
}
.hamburger { display: none; font-size: 1.8rem; cursor: pointer; color: var(--text-primary); }

/* ========== ALERT BANNER ========== */
.alert-banner {
  background: #ffecb3;
  border-left: 8px solid #c62828;
  padding: 0.9rem 1.5rem;
  margin: 1rem 0;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 8px rgba(0,0,0,0.04);
}
[data-theme="dark"] .alert-banner {
  background: rgba(198, 40, 40, 0.2);
  border-left-color: #ef5350;
}
.alert-banner i { color: #c62828; font-size: 1.5rem; margin-right: 0.8rem; }
.alert-banner .alert-text { font-weight: 600; flex: 1; color: var(--text-primary); }
.alert-banner .alert-text small { font-weight: 400; color: var(--text-secondary); }

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 4rem 0 3.5rem;
  border-radius: 0 0 40px 40px;
  margin-bottom: 2.5rem;
  overflow: hidden;
  background-image: url('/images/hero2.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.75) 100%);
  z-index: 1;
}
.hero .container {
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 { font-size: 2.8rem; font-weight: 800; line-height: 1.2; margin-bottom: 1.2rem; }
.hero p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 2rem; max-width: 500px; }
.hero .btn-group { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-stats-minimal {
  display: flex;
  gap: 2rem;
  padding: 0.8rem 1.5rem;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.95rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-stats-minimal .stat-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.hero-stats-minimal .num {
  font-weight: 700;
  color: #14b8a6;
}
.hero-image img {
  max-width: 100%;
  border-radius: 28px;
  box-shadow: 0 20px 30px rgba(0,0,0,0.3);
  transition: transform 0.5s ease;
}
.hero-image img:hover { transform: scale(1.02); }

/* ========== PAGE HERO (about/education) ========== */
.page-hero {
  position: relative;
  padding: 3rem 0;
  border-radius: 0 0 40px 40px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: #fff;
  margin-bottom: 2rem;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.75));
  z-index: 1;
}
.page-hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}
.page-hero h1 { font-size: 3rem; font-weight: 800; }
.page-hero p { font-size: 1.2rem; max-width: 700px; margin: 1rem auto; opacity: 0.9; }

/* ========== SECTIONS ========== */
section { scroll-margin-top: 80px; padding: 2rem 0; }
.section-title { font-size: 2rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-primary); transition: color 0.4s ease; }
.section-subtitle { color: var(--text-secondary); margin-bottom: 2.5rem; font-size: 1.1rem; transition: color 0.4s ease; }

/* ========== CARDS ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}
.card {
  padding: 2rem 1.5rem;
  border-radius: 24px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.4s, border 0.4s;
  border-bottom: 5px solid transparent;
  position: relative;
  overflow: hidden;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-card);
  color: var(--text-primary);
}
.card.interactive {
  cursor: pointer;
}
.card.interactive:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  border-bottom-color: #0d9488;
  background: var(--bg-card-hover);
}
.card.interactive::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card.interactive:hover::after { opacity: 1; }
.card i { font-size: 2.8rem; color: #0d9488; margin-bottom: 1rem; }
.card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--text-primary); transition: color 0.4s ease; }
.card p { color: var(--text-secondary); font-size: 0.95rem; transition: color 0.4s ease; }
.card .card-tag { display: inline-block; margin-top: 1rem; font-weight: 600; color: #0d9488; }

/* Glass cards for dark backgrounds */
.card.glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  color: #fff;
}
.card.glass i { color: #14b8a6; }
.card.glass h3 { color: #fff; }
.card.glass p { color: rgba(255,255,255,0.85); }
.card.glass .card-tag { color: #14b8a6; }
.card.glass .card-tag a { color: #14b8a6; }
.card.glass:hover {
  background: rgba(255, 255, 255, 0.25);
  border-bottom-color: #14b8a6;
}

/* ========== IMPACT STATS ========== */
.impact-stats-minimal {
  padding: 1.5rem 0;
  border-radius: 40px;
  margin: 2.5rem 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
}
[data-theme="dark"] .impact-stats-minimal {
  background: rgba(15, 23, 42, 0.9);
}
.impact-stats-minimal .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.impact-stats-minimal .stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.impact-stats-minimal .number {
  font-size: 2rem;
  font-weight: 700;
  color: #14b8a6;
}
.impact-stats-minimal .desc {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ========== STAT COUNTERS ========== */
.stat-counter {
  display: inline-block;
  font-weight: 700;
  color: var(--stat-number);
  transition: color 0.4s ease;
}
.stat-label {
  color: var(--text-secondary);
  transition: color 0.4s ease;
}

/* ========== CHECKLIST ========== */
.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 2rem 2.5rem;
  border-radius: 32px;
  box-shadow: var(--shadow-card);
  margin: 2rem 0;
  border: 1px solid var(--border-glass);
  transition: background 0.4s ease, border 0.4s ease, box-shadow 0.4s ease;
}
.checklist-grid ul { list-style: none; }
.checklist-grid ul li {
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-primary);
  transition: color 0.4s ease, border 0.4s ease;
}
[data-theme="dark"] .checklist-grid ul li {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.checklist-grid ul li i { color: #0d9488; width: 1.4rem; }

/* ========== MARQUEE ========== */
.marquee-wrapper {
  overflow: hidden;
  background: var(--marquee-bg);
  padding: 0.8rem 0;
  border-radius: 12px;
  margin: 1.5rem 0;
  border: 1px solid var(--border-glass);
  transition: background 0.4s ease, border 0.4s ease;
}
.marquee-track {
  display: flex;
  animation: marqueeScroll 25s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-track:hover {
  animation-play-state: paused;
}
.marquee-item {
  padding: 0 2rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.4s ease;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.marquee-item i {
  color: #0d9488;
  font-size: 1.1rem;
}
.marquee-item .badge {
  background: #0d9488;
  color: #fff;
  padding: 0.1rem 0.8rem;
  border-radius: 40px;
  font-size: 0.7rem;
  font-weight: 700;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========== WIDGET CONTAINER ========== */
.widget-container {
  padding: 1.5rem;
  border-radius: 24px;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  transition: background 0.4s ease, border 0.4s ease;
}

/* ========== VIDEO ========== */
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 24px;
  margin: 2rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========== FEATURED CAUSES ========== */
.featured-causes {
  position: relative;
  padding: 3rem 0;
  border-radius: 40px;
  margin: 2rem 0;
  overflow: hidden;
  background-image: url('/images/flood3.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.featured-causes::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  z-index: 1;
}
.featured-causes .container {
  position: relative;
  z-index: 2;
}
.featured-causes .section-title,
.featured-causes .section-subtitle {
  color: #fff;
}
.featured-causes .section-subtitle {
  color: rgba(255,255,255,0.85);
}

/* ========== IMAGE GALLERY ========== */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.image-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.image-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* ========== MAP ========== */
#map { height: 400px; border-radius: 24px; margin: 1.5rem 0; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

/* ========== MODALS ========== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}
.modal.open { display: flex; }
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-content {
  background: var(--bg-modal);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glass);
  border-radius: 24px;
  padding: 2rem;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.4s ease;
  transition: background 0.4s ease, border 0.4s ease, box-shadow 0.4s ease;
}
@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  font-weight: 300;
  color: var(--text-primary);
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover { color: #0d9488; }
.modal-content h2 {
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  transition: color 0.4s ease;
}
.modal-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  transition: color 0.4s ease;
}
.modal-content form label {
  display: block;
  margin-top: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color 0.4s ease;
}
.modal-content form input,
.modal-content form textarea,
.modal-content form select {
  width: 100%;
  padding: 0.8rem;
  margin: 0.3rem 0 0.5rem;
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--bg-card);
  color: var(--text-primary);
  transition: background 0.4s ease, border 0.4s ease, color 0.4s ease;
}
.modal-content form textarea { min-height: 100px; }
.modal-content form .btn { margin-top: 1rem; }
#reports-list {
  margin-top: 0.5rem;
}
#reports-list li {
  background: var(--bg-card);
  backdrop-filter: blur(4px);
  padding: 0.8rem;
  border-radius: 12px;
  margin-bottom: 0.5rem;
  border: 1px solid var(--border-glass);
  color: var(--text-primary);
  transition: background 0.4s ease, border 0.4s ease, color 0.4s ease;
}

/* ========== CARD DETAIL MODAL ========== */
.modal-icon {
  font-size: 3rem;
  color: #0d9488;
  margin-bottom: 0.5rem;
  display: block;
}
.modal-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.modal-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.modal-extra-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}
.modal-extra-list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-primary);
  font-size: 0.95rem;
}
.modal-extra-list li i {
  width: 1.4rem;
  color: #0d9488;
}
.modal-content .btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

/* ========== EMERGENCY WIDGET ========== */
.emergency-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9998;
}
.widget-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #c62828;
  color: #fff;
  border: none;
  font-size: 1.8rem;
  box-shadow: 0 4px 12px rgba(198,40,40,0.4);
  cursor: pointer;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.widget-toggle:hover { transform: scale(1.1); }
.widget-panel {
  display: none;
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 280px;
  border-radius: 16px;
  padding: 1.5rem;
  animation: slideUp 0.3s ease;
  background: var(--bg-modal);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-glass);
  transition: background 0.4s ease, border 0.4s ease, box-shadow 0.4s ease;
}
.widget-panel.open { display: block; }
.widget-panel h4 { margin-bottom: 1rem; color: var(--text-primary); transition: color 0.4s ease; }
.widget-panel ul { list-style: none; padding: 0; }
.widget-panel ul li { margin-bottom: 0.8rem; }
.widget-panel ul li a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-primary);
  font-weight: 500;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.4s ease;
}
.widget-panel ul li a:hover { background: rgba(255,255,255,0.1); }
.widget-panel ul li a i { color: #c62828; width: 1.4rem; }
.widget-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.4s ease;
}
.widget-close:hover { color: var(--text-primary); }

/* ========== CTA BOX ========== */
.cta-box {
  padding: 2.5rem 2rem;
  border-radius: 40px;
  text-align: center;
  margin: 3rem 0;
  border: 2px dashed #0d9488;
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.4s ease, border 0.4s ease;
}
.cta-box .btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-footer);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #e2e8f0;
  padding: 3rem 0 1.5rem;
  border-radius: 40px 40px 0 0;
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  transition: background 0.4s ease;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
}
.footer h4 { color: #fff; margin-bottom: 1rem; }
.footer i { color: #14b8a6; width: 1.6rem; }
.footer-links ul { list-style: none; padding: 0; }
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-links ul li a { transition: color 0.2s; color: #e2e8f0; }
.footer-links ul li a:hover { color: #14b8a6; }
.footer .hashtag {
  background: #0d9488;
  color: #fff;
  padding: 0.2rem 1rem;
  border-radius: 40px;
  display: inline-block;
}
.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ========== ANIMATIONS ========== */
.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.3s; }
.stagger > *:nth-child(3) { animation-delay: 0.5s; }
.stagger > *:nth-child(4) { animation-delay: 0.7s; }

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-fade {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========== TEAM CARDS ========== */
.team-card {
  overflow: hidden;
}
.team-card img {
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.team-card:hover img {
  transform: scale(1.12) rotate(-2deg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}
.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(13, 148, 136, 0.18), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.team-card:hover::before {
  left: 130%;
}
.team-card-tag {
  animation: teamTagPulse 2s ease-in-out infinite;
}
@keyframes teamTagPulse {
  0%, 100% { opacity: 0.6; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}
/* Modal team photo */
.modal-team-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: none;
  border: 3px solid #0d9488;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.25);
}
.modal-team-img.show {
  display: block;
  animation: modalImgPop 0.4s ease;
}
@keyframes modalImgPop {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: scale(1); }
}

/* ========== PRINT ========== */
@media print {
  .top-bar, nav, .alert-banner, .hero, .page-hero,
  .impact-stats-minimal, .footer, .btn, .share-icons,
  .video-container, .image-gallery, .emergency-widget,
  .featured-causes, .modal, .progress-bar, .theme-toggle,
  .marquee-wrapper {
    display: none !important;
  }
  .checklist-grid {
    box-shadow: none;
    border: 1px solid #ccc;
    padding: 1rem;
    break-inside: avoid;
  }
  body { background: white; color: black; }
  .container { max-width: 100%; }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin: 0 auto 2rem; }
  .hero .btn-group { justify-content: center; }
  .hero-stats-minimal { justify-content: center; flex-wrap: wrap; }
  .impact-stats-minimal .container { grid-template-columns: 1fr 1fr; }
  .checklist-grid { grid-template-columns: 1fr; padding: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .modal-content { width: 95%; padding: 1.5rem; }
  .page-hero h1 { font-size: 2.2rem; }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 1rem 0;
    gap: 0.8rem;
    background: var(--bg-glass-strong);
    backdrop-filter: blur(8px);
  }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .top-bar .contact-info span { display: block; margin-right: 0; font-size: 0.75rem; }
  .hero h1 { font-size: 2rem; }
  .page-hero h1 { font-size: 1.8rem; }
  .image-gallery { grid-template-columns: 1fr 1fr; }
  .emergency-widget { bottom: 1rem; right: 1rem; }
  .widget-toggle { width: 50px; height: 50px; font-size: 1.4rem; }
  .widget-panel { width: 220px; right: 0; bottom: 70px; }
}

/* ========== UTILITY ========== */
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; gap: 0.5rem; }