/* ═══════════════════════════════════════════════════════════════
   SMMF – Siraj Mia Memorial Foundation
   style.css — Shared styles for all pages
═══════════════════════════════════════════════════════════════ */

/* ─── Google Font ─────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ─── Variables ─────────────────────────────────────────────── */
:root {
  --teal:        #1a8a8a;
  --teal-dark:   #155e5e;
  --teal-mid:    #1a7a7a;
  --teal-light:  #e8f5f5;
  --teal-glow:   rgba(26,138,138,.3);
  --orange:      #e67e22;
  --orange-dark: #d35400;
  --green:       #00b894;
  --pink:        #e84393;
  --dark:        #1a2e35;
  --mid:         #2d4a52;
  --muted:       #5a6d73;
  --light:       #94a3ab;
  --bg:          #f4f7f8;
  --border:      #e2e9eb;
  --white:       #ffffff;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow:      0 2px 12px rgba(26,138,138,.07);
  --shadow-md:   0 8px 32px rgba(26,138,138,.15);
  --shadow-lg:   0 20px 60px rgba(26,138,138,.18);
  --transition:  0.28s cubic-bezier(.4,0,.2,1);
}

/* ─── Keyframe Animations ────────────────────────────────────── */
@keyframes float {
  0%,100% { transform: translateY(0px) rotate(0deg); }
  33%     { transform: translateY(-18px) rotate(2deg); }
  66%     { transform: translateY(-8px) rotate(-1deg); }
}
@keyframes floatSlow {
  0%,100% { transform: translateY(0px) scale(1); }
  50%     { transform: translateY(-24px) scale(1.04); }
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .5; transform: scale(.85); }
}
@keyframes shimmer {
  0%   { left: -100%; }
  100% { left: 140%; }
}
@keyframes slideShow {
  0%, 22%  { opacity: 1; }
  27%, 100% { opacity: 0; }
}
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes rotateGlow {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes hamTop {
  0%   { transform: rotate(0) translateY(0); }
  100% { transform: rotate(45deg) translateY(7px); }
}
@keyframes hamMid { 100% { opacity: 0; transform: scaleX(0); } }
@keyframes hamBot {
  0%   { transform: rotate(0) translateY(0); }
  100% { transform: rotate(-45deg) translateY(-7px); }
}

/* ─── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--dark); background: var(--white);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; }

/* ─── Layout ─────────────────────────────────────────────────── */
.container  { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 96px 0; }
.section-sm { padding: 56px 0; }

/* ─── Typography ─────────────────────────────────────────────── */
h1 { font-size: clamp(2rem, 5.5vw, 3.4rem); font-weight: 900; line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; line-height: 1.22; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { color: var(--muted); line-height: 1.78; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal); font-size: 11.5px;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 12px;
}
.section-label::before {
  content: ''; width: 20px; height: 2px;
  background: currentColor; border-radius: 2px; flex-shrink: 0;
}
.section-header         { margin-bottom: 56px; }
.section-header.center  { text-align: center; }
.section-header h2      { color: var(--dark); margin-bottom: 16px; }
.section-header p       { font-size: 16.5px; max-width: 560px; }
.section-header.center p { margin: 0 auto; }
.section-header.center .section-label { justify-content: center; }
.section-header.center .section-label::before { display: none; }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 12px; border: none;
  font-size: 14px; font-weight: 700; transition: var(--transition);
  white-space: nowrap; cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--teal-dark), var(--teal) 60%, #22a8a8);
  color: white; box-shadow: 0 4px 18px rgba(26,138,138,.38);
}
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
  transition: .7s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(26,138,138,.5); }
.btn-primary:hover::after { left: 140%; }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: rgba(255,255,255,.12); color: white;
  border: 2px solid rgba(255,255,255,.4); backdrop-filter: blur(8px);
}
.btn-outline:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }

.btn-orange {
  background: linear-gradient(135deg, var(--orange-dark), var(--orange) 60%, #f39c12);
  color: white; box-shadow: 0 4px 18px rgba(230,126,34,.35);
}
.btn-orange::after {
  content: ''; position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transition: .7s ease;
}
.btn-orange:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(230,126,34,.5); }
.btn-orange:hover::after { left: 140%; }

.btn-ghost {
  background: var(--teal-light); color: var(--teal);
  border: 1.5px solid rgba(26,138,138,.2); font-weight: 600;
}
.btn-ghost:hover { background: #c8e8e8; transform: translateY(-1px); }

.btn-lg { padding: 17px 40px; font-size: 15.5px; border-radius: 14px; }

/* ─── Navigation ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(226,233,235,.8);
  box-shadow: 0 1px 12px rgba(0,0,0,.05);
  transition: box-shadow .3s ease;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 20px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { width: 46px; height: 46px; object-fit: contain; }
.nav-logo-text .name { font-size: 13.5px; font-weight: 800; color: var(--dark); line-height: 1.2; }
.nav-logo-text .sub  { font-size: 10px; color: var(--light); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  padding: 8px 15px; border-radius: 9px; font-size: 13.5px;
  font-weight: 600; color: var(--muted); transition: var(--transition);
}
.nav-links a:hover { color: var(--teal); background: var(--teal-light); }
.nav-links a.active { color: var(--teal); background: var(--teal-light); }
.nav-actions { display: flex; align-items: center; gap: 8px; }

/* Hamburger — animated */
.hamburger {
  display: none; flex-direction: column; gap: 5px; justify-content: center;
  background: none; border: none; padding: 8px; border-radius: 8px;
  cursor: pointer; width: 40px; height: 40px; transition: background .2s;
}
.hamburger:hover { background: var(--bg); }
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--mid); border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease, width .2s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu — slide */
.mobile-menu {
  background: white; overflow: hidden;
  max-height: 0; transition: max-height .35s cubic-bezier(.4,0,.2,1);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { max-height: 420px; }
.mobile-menu-inner { padding: 12px 24px 20px; }
.mobile-menu a {
  display: flex; align-items: center; padding: 12px 14px; border-radius: 10px;
  font-size: 14.5px; font-weight: 600; color: var(--mid);
  transition: var(--transition); margin-bottom: 2px;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--teal); background: var(--teal-light); }
.mobile-menu .btn { width: 100%; justify-content: center; margin-top: 10px; }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 92vh;
  display: flex; flex-direction: column; overflow: hidden;
}

/* Gradient base */
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(150deg, #0a3030 0%, #0f4848 20%, #155e5e 45%, #1a7070 70%, #0c3a3a 100%);
  background-size: 300% 300%;
  animation: gradientShift 14s ease infinite;
}

/* Slideshow images */
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0;
  animation: slideShow 20s infinite;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }
.hero-slide:nth-child(4) { animation-delay: 15s; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .22; mix-blend-mode: luminosity;
  transition: opacity 1.5s ease;
}

/* Floating decorative shapes */
.hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-shape {
  position: absolute; border-radius: 50%; opacity: .06;
  background: white;
}
.hero-shape.s1 { width: 400px; height: 400px; top: -120px; right: -80px; animation: floatSlow 9s ease-in-out infinite; }
.hero-shape.s2 { width: 200px; height: 200px; bottom: 80px; left: -60px; animation: floatSlow 12s ease-in-out infinite reverse; }
.hero-shape.s3 { width: 120px; height: 120px; top: 40%; right: 15%; animation: float 7s ease-in-out infinite; opacity: .04; }
.hero-shape.s4 { width: 60px; height: 60px; top: 25%; left: 12%; animation: float 5s ease-in-out infinite 1s; opacity: .08; }

/* Subtle grid overlay */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative; z-index: 2; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px 0 52px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.2); border-radius: 24px;
  padding: 7px 18px; margin-bottom: 28px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.82);
  letter-spacing: .6px; width: fit-content;
  animation: fadeSlideUp .8s ease both;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%; background: #4ee8b0;
  animation: pulse 2s ease-in-out infinite;
}
.hero h1 {
  color: white; margin-bottom: 20px;
  animation: fadeSlideUp .8s ease .15s both;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #7df0d0, #4ee8b0, #a0f8e8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 17px; color: rgba(255,255,255,.72);
  max-width: 520px; margin-bottom: 14px; line-height: 1.78;
  animation: fadeSlideUp .8s ease .25s both;
}
.hero-tagline-bn {
  font-size: 13px; color: rgba(255,255,255,.38);
  margin-bottom: 40px; font-style: italic;
  animation: fadeSlideUp .8s ease .35s both;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeSlideUp .8s ease .45s both;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 84px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.4); font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 600;
  animation: fadeSlideUp 1s ease 1s both;
}
.hero-scroll svg { animation: scrollBounce 1.8s ease-in-out infinite; }

/* Glassmorphism stat bar */
.hero-stats-bar {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(0,0,0,.25); backdrop-filter: blur(16px) saturate(180%);
  border-top: 1px solid rgba(255,255,255,.08);
}
.hero-stat {
  padding: 28px 20px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.07);
  transition: background .3s ease;
}
.hero-stat:last-child { border-right: none; }
.hero-stat:hover { background: rgba(255,255,255,.06); }
.hero-stat .num { font-size: 2.1rem; font-weight: 900; color: white; line-height: 1; }
.hero-stat .lbl { font-size: 11px; color: rgba(255,255,255,.5); font-weight: 600; margin-top: 6px; letter-spacing: .5px; }

/* ─── Wave Dividers ──────────────────────────────────────────── */
.wave-divider { display: block; line-height: 0; overflow: hidden; }
.wave-divider svg { display: block; width: 100%; }

/* ─── Page Hero (inner pages) ────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, #0a3030 0%, var(--teal-dark) 40%, var(--teal) 75%, #22a8a8 100%);
  background-size: 300% 300%;
  animation: gradientShift 12s ease infinite;
  padding: 68px 0 56px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: white; font-size: clamp(1.9rem, 4.5vw, 2.8rem); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,.65); font-size: 16px; max-width: 500px; }

/* ─── Stat Cards (dark strip) ────────────────────────────────── */
.stats-dark {
  background: var(--dark);
  background-image: radial-gradient(ellipse at 20% 50%, rgba(26,138,138,.15) 0%, transparent 60%),
                    radial-gradient(ellipse at 80% 20%, rgba(26,138,138,.1) 0%, transparent 50%);
  padding: 64px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px; text-align: center;
}
.stat-item .num {
  font-size: 3rem; font-weight: 900; line-height: 1;
  background: linear-gradient(135deg, #4ee8b0, #7df0d0);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-item .lbl { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 8px; font-weight: 500; }

/* ─── Program Cards ──────────────────────────────────────────── */
.program-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 22px;
}
.prog-card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow); transition: all .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.prog-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-md);
  border-color: rgba(26,138,138,.2);
}
.prog-card-img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  background: var(--bg); transition: transform .5s ease;
}
.prog-card:hover .prog-card-img { transform: scale(1.04); }
.prog-card-img-wrap { overflow: hidden; }
.prog-card-img.placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem; background: linear-gradient(135deg, #f0f4f5, #e8eeef);
}
.prog-card-body { padding: 22px 22px 16px; flex: 1; display: flex; flex-direction: column; }
.prog-tag {
  display: inline-block; padding: 4px 11px; border-radius: 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .7px;
  text-transform: uppercase; margin-bottom: 12px; width: fit-content;
}
.prog-card-body h3 { color: var(--dark); margin-bottom: 9px; font-size: 1.08rem; }
.prog-card-body p  { font-size: 13.5px; flex: 1; line-height: 1.7; }
.prog-card-footer  { padding: 14px 22px 18px; border-top: 1px solid #f0f4f5; }

/* ─── Progress Bar ───────────────────────────────────────────── */
.progress-wrap   { margin: 10px 0 4px; }
.progress-labels {
  display: flex; justify-content: space-between;
  font-size: 11.5px; color: var(--muted); margin-bottom: 7px;
}
.progress-labels strong { color: var(--dark); }
.progress-track  {
  height: 9px; background: var(--bg); border-radius: 5px;
  overflow: hidden; box-shadow: inset 0 1px 3px rgba(0,0,0,.06);
}
.progress-fill   {
  height: 100%; border-radius: 5px;
  background: linear-gradient(90deg, var(--teal-mid), var(--teal), #22b8b8);
  background-size: 200% 100%;
  animation: gradientShift 4s ease infinite;
  transition: width 1.6s cubic-bezier(.4,0,.2,1); width: 0%;
  box-shadow: 0 2px 8px rgba(26,138,138,.25);
}

/* ─── Program color overrides ────────────────────────────────── */
.prog-wj    { --c: #1a8a8a; }
.prog-iftar { --c: #00b894; }
.prog-rel   { --c: #d35400; }
.prog-ssc   { --c: #e84393; }
.prog-tag   { background: color-mix(in srgb, var(--c, #1a8a8a) 12%, white); color: var(--c, #1a8a8a); }
.prog-fill  { background: linear-gradient(90deg, color-mix(in srgb, var(--c, #1a8a8a) 60%, black), var(--c, #1a8a8a)); animation: none; }
.prog-accent-bar { width: 100%; height: 4px; background: linear-gradient(90deg, var(--c), color-mix(in srgb, var(--c) 70%, white)); }

/* ─── Photo Gallery ──────────────────────────────────────────── */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 10px; margin: 16px 0;
}
.gallery img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 10px; cursor: zoom-in;
  transition: transform .35s ease, box-shadow .35s ease, opacity .25s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.gallery img:hover {
  transform: scale(1.04); opacity: .9;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

/* ─── Lightbox ───────────────────────────────────────────────── */
#lightbox {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.95);
  align-items: center; justify-content: center;
  animation: fadeSlideUp .2s ease;
}
#lightbox.open { display: flex; }
#lightbox img  {
  max-width: 92vw; max-height: 90vh; border-radius: 10px;
  object-fit: contain; box-shadow: 0 40px 80px rgba(0,0,0,.6);
}
#lightbox-close {
  position: absolute; top: 20px; right: 24px; color: white;
  font-size: 28px; background: rgba(255,255,255,.12); border: none;
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}
#lightbox-close:hover { background: rgba(255,255,255,.25); }

/* ─── Video ──────────────────────────────────────────────────── */
.video-wrap { border-radius: var(--radius); overflow: hidden; margin: 10px 0; box-shadow: var(--shadow-md); }
.video-wrap video { width: 100%; display: block; max-height: 340px; object-fit: cover; background: #000; }

/* ─── Program Full Section (programs page) ───────────────────── */
.prog-section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.prog-section:last-of-type { border-bottom: none; }
.prog-section-inner {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start;
}
.prog-section-inner.flip { direction: rtl; }
.prog-section-inner.flip > * { direction: ltr; }
.prog-info { display: flex; flex-direction: column; gap: 16px; }
.prog-info h2 { color: var(--dark); }
.prog-info p  { font-size: 15.5px; }
.prog-stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 4px 0;
}
.prog-stat-box {
  background: var(--bg); border-radius: var(--radius); padding: 16px 12px;
  text-align: center; transition: var(--transition);
}
.prog-stat-box:hover { background: var(--teal-light); }
.prog-stat-box .val { font-size: 1.25rem; font-weight: 800; color: var(--dark); }
.prog-stat-box .key { font-size: 10px; color: var(--light); text-transform: uppercase; letter-spacing: .7px; margin-top: 3px; }
.prog-goal-box {
  background: white; border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 22px 24px; box-shadow: var(--shadow);
}
.prog-goal-box .goal-label  { font-size: 11px; font-weight: 700; color: var(--light); text-transform: uppercase; letter-spacing: .8px; margin-bottom: 4px; }
.prog-goal-box .goal-amount { font-size: 1.7rem; font-weight: 900; color: var(--dark); margin-bottom: 14px; }

/* ─── Donation Section ───────────────────────────────────────── */
.donate-band {
  background: linear-gradient(135deg, #0a3030, var(--teal-dark) 40%, var(--teal) 80%, #22a8a8);
  background-size: 300% 300%;
  animation: gradientShift 12s ease infinite;
  padding: 88px 0; text-align: center; position: relative; overflow: hidden;
}
.donate-band::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 50px 50px;
}
.donate-band .container { position: relative; z-index: 1; }
.donate-band h2 { color: white; margin-bottom: 16px; }
.donate-band p  { color: rgba(255,255,255,.7); font-size: 17px; max-width: 500px; margin: 0 auto 34px; }
.donation-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.donation-card {
  background: white; border-radius: var(--radius-lg); padding: 30px 28px;
  box-shadow: var(--shadow-md); text-align: left;
  transition: var(--transition);
}
.donation-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.donation-card .d-icon {
  width: 54px; height: 54px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 16px;
}
.donation-card .d-title    { font-size: 11px; font-weight: 700; color: var(--light); text-transform: uppercase; letter-spacing: .9px; }
.donation-card .d-number   { font-size: 1.5rem; font-weight: 900; color: var(--dark); letter-spacing: 1px; margin: 7px 0 3px; }
.donation-card .d-name     { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.donation-card .d-note     { font-size: 12.5px; color: var(--light); line-height: 1.65; }
.donation-step {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.donation-step:last-child { border-bottom: none; }
.step-num {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal-light); color: var(--teal);
  font-size: 12.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.donation-step p { font-size: 13.5px; padding-top: 4px; }

/* ─── Donor Wall ─────────────────────────────────────────────── */
.donor-wall { display: flex; flex-wrap: wrap; gap: 9px; padding: 16px 0; min-height: 60px; }
.donor-chip {
  padding: 7px 18px; border-radius: 24px;
  background: var(--teal-light); color: var(--teal);
  font-size: 13px; font-weight: 600; transition: var(--transition);
}
.donor-chip:hover { background: #c8e8e8; transform: translateY(-1px); }
.donor-empty { color: var(--light); font-size: 14px; font-style: italic; }

/* ─── Form ───────────────────────────────────────────────────── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px; letter-spacing: .3px; }
.form-control {
  width: 100%; padding: 12px 16px; border-radius: 11px;
  border: 1.5px solid var(--border); font-size: 14px;
  font-family: inherit; color: var(--dark); background: white;
  transition: var(--transition); outline: none;
  -webkit-appearance: none;
}
.form-control:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(26,138,138,.1); }
textarea.form-control { resize: vertical; min-height: 115px; }
select.form-control { cursor: pointer; }

/* ─── Leadership ─────────────────────────────────────────────── */
.leader-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px;
}
.leader-card {
  background: white; border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 32px 26px;
  text-align: center; box-shadow: var(--shadow); transition: var(--transition);
}
.leader-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(26,138,138,.2); }
.leader-avatar {
  width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-dark), var(--teal));
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 900; font-size: 24px;
  margin: 0 auto 18px;
  box-shadow: 0 8px 24px rgba(26,138,138,.35);
}
.leader-name { font-size: 17px; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.leader-role { font-size: 11.5px; color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }

/* ─── Timeline ───────────────────────────────────────────────── */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 4px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(to bottom, var(--teal), transparent);
}
.timeline-item { position: relative; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ''; position: absolute; left: -33px; top: 5px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--teal); border: 3px solid white;
  box-shadow: 0 0 0 3px var(--teal), 0 4px 8px rgba(26,138,138,.3);
}
.timeline-year { font-size: 11px; font-weight: 700; color: var(--teal); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 5px; }
.timeline-item h4 { font-size: 15.5px; color: var(--dark); margin-bottom: 6px; font-weight: 700; }
.timeline-item p  { font-size: 13.5px; }

/* ─── Mission Box ────────────────────────────────────────────── */
.mission-box {
  background: linear-gradient(135deg, #0a3030, var(--teal-dark) 40%, var(--teal));
  border-radius: var(--radius-lg); padding: 52px 44px; text-align: center;
  position: relative; overflow: hidden;
}
.mission-box::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.mission-box .tagline-bn { font-size: 19px; color: rgba(255,255,255,.45); font-style: italic; margin-bottom: 14px; position: relative; }
.mission-box .tagline-en { font-size: 1.35rem; font-weight: 700; color: white; line-height: 1.55; position: relative; }

/* ─── Story Section ──────────────────────────────────────────── */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.story-label { font-size: 11px; font-weight: 700; color: var(--teal); letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.story-label::before { content:''; width:18px; height:2px; background:currentColor; }
.story-text h2 { color: var(--dark); margin-bottom: 18px; }
.story-text p  { font-size: 15.5px; margin-bottom: 16px; }
.story-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.story-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .8s ease; }
.story-img:hover img { transform: scale(1.04); }
.story-img.placeholder {
  aspect-ratio: 4/3; background: linear-gradient(135deg, var(--bg), #e8eeef);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; border: 2px dashed var(--border);
}

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  background-image: radial-gradient(ellipse at 10% 80%, rgba(26,138,138,.12) 0%, transparent 50%);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 44px; padding-bottom: 56px;
}
.footer-brand .logo-row { display: flex; align-items: center; gap: 11px; margin-bottom: 16px; }
.footer-brand img   { width: 44px; height: 44px; object-fit: contain; }
.footer-brand .fn   { color: white; font-weight: 800; font-size: 14px; }
.footer-brand > p   { font-size: 13.5px; color: rgba(255,255,255,.5); line-height: 1.78; }
.footer-brand .bn   { font-size: 12px; color: rgba(255,255,255,.28); margin-top: 12px; font-style: italic; }
.footer h4          { color: white; font-size: 12.5px; font-weight: 700; margin-bottom: 18px; letter-spacing: .5px; text-transform: uppercase; }
.footer ul li       { margin-bottom: 10px; }
.footer ul li a     {
  font-size: 13.5px; color: rgba(255,255,255,.5); transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.footer ul li a:hover { color: #4ee8b0; padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap;
  font-size: 12.5px; color: rgba(255,255,255,.28);
}

/* ─── Utility ────────────────────────────────────────────────── */
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 14px; border-radius: 24px; font-size: 12px; font-weight: 600;
  background: var(--teal-light); color: var(--teal);
}
.notice {
  background: #fef9ec; border: 1.5px solid #f5d87a; border-radius: var(--radius);
  padding: 14px 18px; font-size: 13.5px; color: #7a5a10;
  display: flex; gap: 10px; align-items: center;
}

/* ─── Scroll Animations ──────────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: .12s; }
.fade-up.delay-2 { transition-delay: .24s; }
.fade-up.delay-3 { transition-delay: .36s; }

/* ─── Responsive — Tablet ────────────────────────────────────── */
@media (max-width: 960px) {
  .nav-links, .nav-actions .btn { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .prog-section-inner, .prog-section-inner.flip { grid-template-columns: 1fr; direction: ltr; gap: 36px; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .donation-methods { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
}

/* ─── Responsive — Mobile ────────────────────────────────────── */
@media (max-width: 640px) {
  html { font-size: 15px; }
  .container { padding: 0 18px; }
  .section    { padding: 64px 0; }
  .section-sm { padding: 44px 0; }

  /* Hero mobile */
  .hero { min-height: auto; }
  .hero-content { padding: 52px 0 28px; }
  .hero h1 { font-size: 1.95rem; margin-bottom: 14px; }
  .hero-sub { font-size: 15px; margin-bottom: 10px; }
  .hero-tagline-bn { margin-bottom: 24px; font-size: 12px; }
  .hero-badge { font-size: 11px; padding: 5px 13px; margin-bottom: 18px; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn { flex: 1; justify-content: center; font-size: 13.5px; padding: 12px 16px; }
  .hero-stats-bar { grid-template-columns: repeat(3, 1fr); }
  .hero-stat { padding: 16px 10px; }
  .hero-stat .num { font-size: 1.35rem; }
  .hero-stat .lbl { font-size: 9px; letter-spacing: 0; }
  .hero-scroll { display: none; }
  .hero-shape { display: none; }

  /* Typography mobile */
  h2 { font-size: 1.7rem; }
  .section-header { margin-bottom: 40px; }

  /* Cards mobile */
  .program-cards { grid-template-columns: 1fr; gap: 18px; }
  .prog-section-inner { gap: 28px; }
  .prog-stat-row { grid-template-columns: 1fr 1fr; }

  /* Stats mobile */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stat-item .num { font-size: 2.2rem; }

  /* Gallery mobile */
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .gallery img { border-radius: 7px; }

  /* Form mobile */
  .form-row { grid-template-columns: 1fr; }

  /* Leader cards */
  .leader-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }

  /* Footer mobile */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  /* Donate band */
  .donate-band { padding: 64px 0; }
  .donate-band .hero-actions .btn { width: 100%; }

  /* Mission box */
  .mission-box { padding: 36px 24px; }
  .mission-box .tagline-en { font-size: 1.15rem; }

  /* Page hero */
  .page-hero { padding: 52px 0 44px; }

  /* Nav */
  .nav-logo-text .name { font-size: 12px; }
}

/* ─── Very small phones (iPhone SE, 375px, etc.) ────────────── */
@media (max-width: 390px) {
  .hero-tagline-bn { display: none; }
  .hero-content { padding: 44px 0 24px; }
  .hero h1 { font-size: 1.75rem; }
}

/* ─── Touch targets ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .btn { min-height: 48px; }
  .nav-links a, .mobile-menu a { min-height: 48px; }
  .form-control { min-height: 48px; padding: 13px 16px; font-size: 16px; }
  .gallery img { cursor: pointer; }
}
