/* ═══════════════════════════════════════════════════
   DFW ROS — Main Stylesheet
   Primary palette: Navy · Teal · Gold · Cream
   Brand accents (logo):  Sky-blue · Pink  (sparingly)
═══════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* ── PRIMARY PALETTE ─────────────────────────── */
  --navy:        #1B3A5C;
  --navy-dark:   #112744;
  --navy-light:  #234b75;
  --teal:        #0D9E8A;
  --teal-dark:   #0a7d6e;
  --teal-light:  #3dbcaa;
  --gold:        #C9A84C;
  --gold-dark:   #a8852e;
  --gold-light:  #dfc06e;
  --cream:       #F7F3EE;
  --cream-dark:  #EDE8E1;
  --charcoal:    #2D3748;
  --gray:        #718096;
  --gray-light:  #A0AEC0;
  --white:       #FFFFFF;

  /* ── BRAND ACCENT (logo colors — use sparingly) ─ */
  --brand-blue:  #2EA0D8;   /* logo ring — icons, small badges */
  --brand-pink:  #E8398D;   /* logo heart — heart icons only   */

  /* ── BACKGROUNDS ─────────────────────────────── */
  --bg-light:    #F0F7F6;   /* very pale teal tint */
  --bg-section:  #F7F3EE;   /* cream sections      */
}

/* ── RESET & BASE ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Inter', sans-serif; color: var(--charcoal); background: #fff; line-height: 1.6; overflow-x: hidden; }
h1,h2,h3,h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }
img { max-width: 100%; height: auto; display: block; }

/* ── NAVBAR ──────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,18,38,0.94);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(13,158,138,0.14);
  border-radius: 0 0 18px 18px;
  box-shadow: 0 8px 36px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.04);
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(10,18,38,0.99);
  box-shadow: 0 12px 48px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.03);
}

.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; height: 76px;
}
.nav-brand {
  display: flex; align-items: center; gap: 13px; text-decoration: none; flex-shrink: 0;
}
.nav-logo-img {
  width: 54px; height: 54px; border-radius: 50%; object-fit: contain;
  border: 2px solid rgba(13,158,138,0.44); flex-shrink: 0;
  box-shadow: 0 2px 14px rgba(13,158,138,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}
.nav-brand:hover .nav-logo-img { transform: scale(1.06); box-shadow: 0 4px 20px rgba(13,158,138,0.35); }
.nav-logo-fb {
  width: 54px; height: 54px; background: var(--navy); border-radius: 50%;
  display: none; align-items: center; justify-content: center; flex-shrink: 0;
}
.nav-brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav-brand-name {
  font-family: 'Playfair Display', serif; font-size: 1.12rem;
  font-weight: 700; color: #fff; line-height: 1.2;
}
.nav-brand-sub {
  font-size: 0.6rem; color: rgba(61,188,170,0.9); font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.4px; margin-top: 2px;
}
.desktop-nav { display: flex; align-items: center; gap: 2px; }
.nav-link {
  position: relative; color: rgba(255,255,255,0.82);
  font-weight: 500; text-decoration: none; font-size: 0.88rem;
  letter-spacing: 0.1px; padding: 8px 13px; border-radius: 50px;
  transition: all 0.22s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.1); }
.nav-link.active { color: #fff; }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 3px; left: 13px; right: 13px;
  height: 2px; background: var(--teal-light); border-radius: 2px;
}
/* Programs dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-6px); opacity: 0; pointer-events: none;
  background: rgba(10,19,44,0.97); border-radius: 14px; padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 4px 16px rgba(0,0,0,0.2);
  min-width: 220px; border: 1px solid rgba(255,255,255,0.09);
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 1100;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover {
  opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px; text-decoration: none;
  color: rgba(255,255,255,0.78); font-size: 0.88rem; font-weight: 500;
  transition: all 0.18s;
}
.nav-dropdown-menu a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nav-dropdown-menu a svg { flex-shrink: 0; opacity: 0.55; }
.mobile-menu-btn {
  background: none; border: none; cursor: pointer; padding: 8px;
  display: none; flex-direction: column; gap: 5px;
}
.mobile-menu-btn span {
  display: block; width: 24px; height: 2px; background: rgba(255,255,255,0.85);
  border-radius: 2px; transition: all 0.3s;
}
.mobile-menu {
  position: absolute; top: 76px; left: 0; right: 0;
  background: rgba(10,18,42,0.98);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  border-radius: 0 0 18px 18px;
  padding: 14px 24px 20px;
  display: none; flex-direction: column; gap: 2px;
  z-index: 999; box-shadow: 0 18px 50px rgba(0,0,0,0.38);
}
.mobile-menu a {
  padding: 12px 8px; border-bottom: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.82); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  border-radius: 8px; transition: color 0.2s, background 0.2s; padding-left: 12px;
}
.mobile-menu a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.mobile-menu a:last-child { border-bottom: none; }
@media(max-width:900px){ .desktop-nav{display:none!important} .mobile-menu-btn{display:flex!important} }
@media(min-width:901px){ .mobile-menu-btn{display:none!important} .desktop-nav{display:flex!important} }

/* ── BUTTONS ─────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: white;
  font-weight: 600; font-size: 1rem; padding: 13px 26px;
  border-radius: 10px; text-decoration: none; border: none;
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 14px rgba(13,158,138,0.3);
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,158,138,0.4); }

.btn-donate {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-dark) 100%);
  background-size: 200% auto;
  color: var(--navy-dark);
  font-weight: 700; font-size: 0.92rem; padding: 10px 22px;
  border-radius: 10px; text-decoration: none; border: none;
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: transform 0.18s, box-shadow 0.2s, background-position 0.5s;
  box-shadow: 0 4px 18px rgba(201,168,76,0.42);
  animation: goldPulse 3s ease-in-out infinite;
}
.btn-donate:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(201,168,76,0.58);
  background-position: right center;
  color: var(--navy-dark);
}

@keyframes goldPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(201,168,76,0.38); }
  50%       { box-shadow: 0 4px 26px rgba(201,168,76,0.65); }
}

.btn-gold {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: 1rem; padding: 14px 28px;
  border-radius: 10px; text-decoration: none; border: none;
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: background 0.2s, transform 0.15s;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: white;
  font-weight: 600; font-size: 1rem; padding: 12px 26px;
  border-radius: 10px; text-decoration: none;
  border: 2px solid rgba(255,255,255,0.55);
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.85); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--navy);
  font-weight: 600; font-size: 0.92rem; padding: 11px 22px;
  border-radius: 10px; text-decoration: none;
  border: 2px solid var(--navy);
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}
.btn-outline:hover { background: var(--navy); color: white; }

.btn-outline-teal {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--teal);
  font-weight: 600; font-size: 0.9rem; padding: 10px 20px;
  border-radius: 10px; text-decoration: none;
  border: 2px solid var(--teal);
  cursor: pointer; font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}
.btn-outline-teal:hover { background: var(--teal); color: white; }

/* ── SECTION LABELS ──────────────────────────────── */
.section-label {
  display: inline-block; text-transform: uppercase;
  letter-spacing: 2.5px; font-size: 0.75rem;
  font-weight: 700; color: var(--teal); margin-bottom: 10px;
}
.section-divider {
  width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 2px; margin: 12px 0 20px;
}
.section-divider-center { margin: 12px auto 20px; }

/* ── HERO ────────────────────────────────────────── */
.hero {
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 60%, #1a4a6b 100%);
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; padding-top: 70px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 75% 25%, rgba(13,158,138,0.18) 0%, transparent 50%),
    radial-gradient(circle at 15% 80%, rgba(201,168,76,0.10) 0%, transparent 45%);
}
.hero-ring {
  position: absolute; right: -80px; top: -80px;
  width: 480px; height: 480px; border-radius: 50%;
  border: 1px solid rgba(13,158,138,0.15);
}
.hero-ring-2 {
  position: absolute; right: -20px; top: -20px;
  width: 360px; height: 360px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.12);
}

/* ── IMPACT BAND ─────────────────────────────────── */
.impact-band {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 64px 0;
}
.impact-number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 800; color: white; line-height: 1;
}
.impact-suffix { color: var(--teal-light); }
.impact-label {
  color: rgba(255,255,255,0.55); font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.2px; margin-top: 8px;
}
.impact-bar { width: 32px; height: 2px; border-radius: 2px; margin: 10px auto; }

/* ── PROGRAM CARDS ───────────────────────────────── */
.program-card {
  background: white; border-radius: 16px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(27,58,92,0.08), 0 1px 4px rgba(27,58,92,0.05);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  border-top: 4px solid transparent; position: relative;
}
.program-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 20px 50px rgba(46,160,216,0.18),
    0 8px 24px rgba(27,58,92,0.12),
    0 0 0 1px rgba(46,160,216,0.08);
}
.program-card.teal-top  { border-top-color: var(--teal); }
.program-card.teal-top:hover  { box-shadow: 0 20px 50px rgba(13,158,138,0.2), 0 8px 24px rgba(27,58,92,0.1), 0 0 0 1px rgba(13,158,138,0.1); }
.program-card.gold-top  { border-top-color: var(--gold); }
.program-card.gold-top:hover  { box-shadow: 0 20px 50px rgba(201,168,76,0.22), 0 8px 24px rgba(27,58,92,0.1), 0 0 0 1px rgba(201,168,76,0.12); }
.program-card.navy-top  { border-top-color: var(--navy); }
.program-card.navy-top:hover  { box-shadow: 0 20px 50px rgba(27,58,92,0.22), 0 8px 24px rgba(46,160,216,0.12), 0 0 0 1px rgba(46,160,216,0.1); }
.program-card.brand-top { border-top-color: var(--brand-pink); }
.program-card.brand-top:hover { box-shadow: 0 20px 50px rgba(232,57,141,0.18), 0 8px 24px rgba(27,58,92,0.1), 0 0 0 1px rgba(232,57,141,0.1); }

.program-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px; flex-shrink: 0;
}

/* ── DONATION WIDGET ─────────────────────────────── */
.donation-amount-btn {
  border: 2px solid #e2e8f0; background: white;
  color: var(--charcoal); padding: 11px 8px; border-radius: 8px;
  font-weight: 700; font-size: 0.95rem; cursor: pointer;
  transition: all 0.2s; font-family: 'Inter', sans-serif; text-align: center;
}
.donation-amount-btn:hover { border-color: var(--teal); color: var(--teal); }
.donation-amount-btn.active {
  border-color: var(--teal); background: var(--teal); color: white;
  box-shadow: 0 4px 12px rgba(13,158,138,0.3);
}

.frequency-btn {
  flex: 1; padding: 10px; border: 2px solid #e2e8f0; background: white;
  color: var(--gray); font-weight: 600; font-size: 0.88rem;
  cursor: pointer; transition: all 0.2s; font-family: 'Inter', sans-serif;
}
.frequency-btn:first-child { border-radius: 8px 0 0 8px; border-right: none; }
.frequency-btn:last-child  { border-radius: 0 8px 8px 0; }
.frequency-btn.active { background: var(--navy); border-color: var(--navy); color: white; }

.designation-select {
  width: 100%; padding: 12px 36px 12px 14px;
  border: 2px solid #e2e8f0; border-radius: 8px;
  font-family: 'Inter', sans-serif; font-size: 0.92rem;
  color: var(--charcoal); background: white; cursor: pointer;
  transition: border-color 0.2s; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.designation-select:focus { outline: none; border-color: var(--teal); }

/* ── TRUST BAR ───────────────────────────────────── */
.trust-bar {
  background: linear-gradient(90deg, var(--navy-dark), var(--navy));
  padding: 18px 0; border-top: 3px solid var(--teal);
}
.trust-badge { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.82); font-size: 0.83rem; font-weight: 500; }
.trust-icon { width: 32px; height: 32px; background: rgba(13,158,138,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ── TESTIMONIALS ────────────────────────────────── */
.testimonial-card {
  background: white; border-radius: 16px; padding: 32px;
  box-shadow: 0 4px 24px rgba(27,58,92,0.08), 0 1px 4px rgba(27,58,92,0.04);
  border-left: 4px solid var(--teal); position: relative;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(46,160,216,0.16), 0 6px 20px rgba(27,58,92,0.1);
}
.testimonial-card::before {
  content: '"'; font-family: 'Playfair Display', serif; font-size: 7rem;
  color: rgba(13,158,138,0.07); position: absolute; top: -15px; left: 14px; line-height: 1;
}

/* ── EVENT CARD ──────────────────────────────────── */
.event-card {
  display: flex; gap: 20px; padding: 22px; background: white;
  border-radius: 14px; box-shadow: 0 4px 20px rgba(27,58,92,0.07), 0 1px 4px rgba(27,58,92,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease; border-left: 3px solid var(--teal);
}
.event-card:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 36px rgba(46,160,216,0.18), 0 4px 16px rgba(27,58,92,0.1);
}
.event-date { min-width: 62px; text-align: center; background: var(--bg-light); border-radius: 10px; padding: 10px 8px; }

/* ── PROGRESS BAR ────────────────────────────────── */
.progress-bar { height: 7px; background: #e8f5f3; border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--teal), var(--teal-dark)); border-radius: 4px; transition: width 1.5s ease; }
.progress-gold { background: linear-gradient(90deg, var(--gold), var(--gold-dark)); }

/* ── FORM ELEMENTS ───────────────────────────────── */
.form-input {
  width: 100%; padding: 12px 15px; border: 2px solid #e2e8f0; border-radius: 8px;
  font-family: 'Inter', sans-serif; font-size: 0.93rem; color: var(--charcoal);
  transition: border-color 0.2s; background: white;
}
.form-input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,158,138,0.1); }
.form-label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--charcoal); margin-bottom: 6px; }

/* ── VERSE BLOCK ─────────────────────────────────── */
.verse-block {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-radius: 14px; padding: 48px 40px; text-align: center; color: white; position: relative; overflow: hidden;
}
.verse-block::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 25% 50%, rgba(13,158,138,0.18) 0%, transparent 55%),
              radial-gradient(circle at 75% 50%, rgba(201,168,76,0.12) 0%, transparent 55%);
}
.arabic-text { font-size: 1.65rem; direction: rtl; color: var(--gold-light); margin-bottom: 14px; line-height: 2; position: relative; }

/* ── SOCIAL MEDIA WALL ───────────────────────────── */
.social-post {
  background: white; border-radius: 14px;
  box-shadow: 0 4px 20px rgba(27,58,92,0.08), 0 1px 4px rgba(27,58,92,0.04);
  overflow: hidden; transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}
.social-post:hover {
  transform: translateY(-7px) scale(1.01);
  box-shadow: 0 20px 48px rgba(46,160,216,0.18), 0 6px 20px rgba(27,58,92,0.12);
}
.social-post-img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
}
.insta-gradient {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.fb-blue { background: #1877f2; }

/* ── BADGES ──────────────────────────────────────── */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 20px;
  font-size: 0.73rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-teal  { background: rgba(13,158,138,0.12);  color: var(--teal-dark); }
.badge-gold  { background: rgba(201,168,76,0.18);  color: #7a5c14; }
.badge-navy  { background: rgba(27,58,92,0.10);    color: var(--navy); }
.badge-red   { background: rgba(220,53,69,0.10);   color: #c0392b; }

/* ── STEP CARDS ──────────────────────────────────── */
.step-card {
  text-align: center; padding: 40px 28px; background: white;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(27,58,92,0.08), 0 1px 4px rgba(27,58,92,0.04);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
}
.step-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 22px 50px rgba(46,160,216,0.18), 0 8px 22px rgba(27,58,92,0.1);
}
.step-card.s1::before, .step-card.s2::before, .step-card.s3::before {
  content: ''; display: block; height: 4px; border-radius: 14px 14px 0 0;
  margin: -40px -28px 36px;
}
.step-card.s1::before { background: var(--teal); }
.step-card.s2::before { background: var(--gold); }
.step-card.s3::before { background: var(--navy); }

/* ── FOOTER ──────────────────────────────────────── */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.72); }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px;
  max-width: 1200px; margin: 0 auto; padding: 68px 28px 48px;
}
@media(max-width:900px){ .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media(max-width:560px){ .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 28px; max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-hdg { color: white; font-weight: 700; font-size: 0.84rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.flink { color: rgba(255,255,255,0.52); text-decoration: none; font-size: 0.87rem; display: block; margin-bottom: 8px; transition: color 0.2s; }
.flink:hover { color: var(--gold); }
.fsoc { display: flex; gap: 9px; }
.fsoc a {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55); text-decoration: none; transition: all 0.2s;
}
.fsoc a:hover { background: var(--teal); color: white; transform: translateY(-2px); }
.footer-link { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; display: block; margin-bottom: 9px; }
.footer-link:hover { color: var(--gold); }

/* ── MOBILE NAV ──────────────────────────────────── */
.mobile-menu { display: none; }
.mobile-menu.open { display: flex; flex-direction: column; }

/* ── ICON UTILITY ────────────────────────────────── */
.ico {
  width: 14px; height: 14px; flex-shrink: 0;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  display: inline-block; vertical-align: middle;
}
.ico-lg { width: 22px; height: 22px; }
.ico-xl { width: 26px; height: 26px; stroke-width: 1.6; }

/* ── EVENT META ICONS ────────────────────────────── */
.event-meta-item {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gray); font-size: 0.82rem; font-weight: 500;
}
.event-meta-item svg { color: var(--teal); flex-shrink: 0; opacity: 0.85; }

/* ── SERVE ICON (hope-kitchen) ───────────────────── */
.serve-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(13,158,138,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); margin-bottom: 14px;
}
.serve-icon svg { width: 22px; height: 22px; }

/* ── SCHEDULE ICON ───────────────────────────────── */
.schedule-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(13,158,138,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); flex-shrink: 0;
}
.schedule-icon svg { width: 16px; height: 16px; }

/* ── RECURRING ICON ──────────────────────────────── */
.recurring-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(13,158,138,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal); margin-bottom: 14px;
}
.recurring-icon svg { width: 24px; height: 24px; }

/* ── VALUE ICON ──────────────────────────────────── */
.value-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px; flex-shrink: 0;
}
.value-icon svg { width: 24px; height: 24px; }

/* ── STICKY DONATE CTA ───────────────────────────── */
.sticky-donate {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 890;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  border-top: 2px solid var(--teal);
  padding: 11px 24px;
  display: flex; align-items: center; justify-content: center; gap: 18px;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 -6px 28px rgba(0,0,0,0.18);
}
.sticky-donate.show { transform: translateY(0); }
.sticky-donate-text { color: rgba(255,255,255,0.82); font-size: 0.85rem; white-space: nowrap; }
.sticky-donate-text strong { color: white; }
.sticky-donate-close {
  position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  background: none; border: none; color: rgba(255,255,255,0.4); cursor: pointer;
  font-size: 1.1rem; padding: 4px 8px; line-height: 1; transition: color 0.2s;
}
.sticky-donate-close:hover { color: white; }
@media(max-width:600px) {
  .sticky-donate { flex-direction: column; gap: 10px; padding: 14px 48px 14px 24px; }
  .sticky-donate-text { text-align: center; white-space: normal; }
}

/* ── LIVE DONATION FEED TOAST ────────────────────── */
.donation-feed {
  position: fixed; bottom: 28px; left: 24px;
  background: white; border-radius: 14px;
  padding: 14px 18px 14px 14px;
  box-shadow: 0 8px 32px rgba(27,58,92,0.16), 0 2px 8px rgba(27,58,92,0.08);
  border-left: 4px solid var(--teal);
  display: flex; align-items: center; gap: 12px;
  max-width: 290px; z-index: 8800;
  transform: translateX(calc(-100% - 30px));
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}
.donation-feed.show { transform: translateX(0); }
.donation-feed-icon {
  width: 38px; height: 38px; background: rgba(13,158,138,0.12);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--teal);
}
.donation-feed-name { font-weight: 700; font-size: 0.85rem; color: var(--navy); }
.donation-feed-detail { font-size: 0.76rem; color: var(--gray); margin-top: 2px; }

/* ── TOAST ───────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--navy); color: white; padding: 16px 22px;
  border-radius: 10px; box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  z-index: 9999; display: flex; align-items: center; gap: 12px;
  transform: translateY(100px); opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── ANIMATIONS ──────────────────────────────────── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.animate-fadeInUp { animation: fadeInUp 0.7s ease forwards; }

.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── PAGE HERO (inner pages) ─────────────────────── */
.page-hero {
  background: linear-gradient(140deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 140px 24px 80px; text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 60%, rgba(13,158,138,0.2) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(201,168,76,0.1) 0%, transparent 45%);
}

/* ── LOGO ────────────────────────────────────────── */
.nav-logo { width: 44px; height: 44px; border-radius: 50%; object-fit: contain; flex-shrink: 0; }
.nav-logo-fallback {
  width: 44px; height: 44px; background: var(--navy); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ── FLOATING SOCIAL BUTTONS ─────────────────────── */
.social-float {
  position: fixed; right: 18px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px; z-index: 900;
}
.social-float-btn {
  width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 12px rgba(0,0,0,0.18);
}
.social-float-btn:hover { transform: scale(1.12); box-shadow: 0 5px 18px rgba(0,0,0,0.25); }

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 900px) {
  .desktop-nav { display: none !important; }
  .mobile-menu-btn { display: flex !important; }
  .hero { min-height: 100svh; }
  .impact-number { font-size: 2.2rem; }
}
@media (min-width: 901px) {
  .mobile-menu-btn { display: none !important; }
  .desktop-nav { display: flex !important; }
}
@media (max-width: 768px) {
  .two-col { grid-template-columns: 1fr !important; }
  .three-col { grid-template-columns: 1fr 1fr !important; }
  .four-col { grid-template-columns: 1fr 1fr !important; }
  .split-cta { grid-template-columns: 1fr !important; }
}

/* ── UTILITY ─────────────────────────────────────── */
.current-year {}
.text-teal   { color: var(--teal); }
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }
.bg-cream    { background: var(--cream); }

/* ══════════════════════════════════════════════════════
   MICRO-INTERACTIONS & HOVER STATES
   Applied globally across all pages
══════════════════════════════════════════════════════ */

/* ── BUTTON PRESS FEEL ───────────────────────────────
   All button variants get a satisfying click "squish"  */
.btn-primary:active,
.btn-donate:active,
.btn-gold:active,
.btn-secondary:active,
.btn-outline:active,
.btn-outline-teal:active {
  transform: scale(0.97) translateY(0) !important;
  transition-duration: 0.08s !important;
}

/* ── SOCIAL POST CARDS (.sp) ─────────────────────────
   Image zooms in, card lifts — defined in style.css
   so pages don't need inline overrides                 */
.sp {
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.28s ease;
}
.sp:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 22px 52px rgba(27,58,92,0.16), 0 6px 18px rgba(27,58,92,0.1);
}
/* Image zoom inside social post */
.sp-img {
  overflow: hidden;
  transition: none; /* container doesn't scale, only child */
}
.sp-img img,
.sp-img > * {
  transition: transform 0.45s ease;
}
.sp:hover .sp-img img,
.sp:hover .sp-img > * {
  transform: scale(1.07);
}

/* ── MEAL CARD (Hope Kitchen feature) ───────────────── */
.meal-card {
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.28s ease;
  cursor: default;
}
.meal-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 22px 56px rgba(13,158,138,0.18), 0 8px 24px rgba(27,58,92,0.1);
}

/* ── KITCHEN STATS (.k-stat) ─────────────────────────
   Numbers pop on hover to draw attention                */
.k-stat {
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
  cursor: default;
}
.k-stat:hover { transform: scale(1.12); }
.k-stat:hover .k-stat-num { color: var(--navy); }

/* ── TESTIMONIAL CARDS (.tcard) ──────────────────────
   Larger lift + teal glow + quote mark color shift     */
.tcard {
  transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.28s ease;
}
.tcard:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(13,158,138,0.18), 0 8px 22px rgba(27,58,92,0.1);
}

/* ── GIVING-TYPE TABS (donate page) ──────────────────
   Hover = navy left border peeks in, bg warms up       */
.giving-type-tab {
  position: relative;
  overflow: hidden;
}
.giving-type-tab::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--teal);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.22s ease;
  border-radius: 2px 0 0 2px;
}
.giving-type-tab:hover {
  border-color: var(--teal);
  background: rgba(13,158,138,0.04);
}
.giving-type-tab:hover::after,
.giving-type-tab.active::after {
  transform: scaleY(1);
}
.giving-type-tab.active {
  border-color: var(--navy);
  background: rgba(27,58,92,0.05);
}

/* ── FREQUENCY BUTTONS ───────────────────────────────
   Scale on hover, satisfying toggle feel               */
.frequency-btn:hover:not(.active) {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(13,158,138,0.04);
}
.frequency-btn:active { transform: scale(0.97); transition-duration: 0.08s; }

/* ── DONATION AMOUNT BUTTONS ─────────────────────────
   Bounce in on hover                                   */
.donation-amount-btn:hover {
  transform: translateY(-2px) scale(1.04);
  border-color: var(--teal);
  color: var(--teal);
  box-shadow: 0 4px 12px rgba(13,158,138,0.18);
}
.donation-amount-btn:active { transform: scale(0.96) !important; transition-duration: 0.08s; }
.donation-amount-btn.active {
  transform: scale(1.03);
}

/* ── TRUST BADGES ────────────────────────────────────
   Subtle icon bounce on hover                          */
.trust-badge {
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
  cursor: default;
}
.trust-badge:hover { transform: scale(1.06); }
.trust-badge:hover .trust-icon {
  background: rgba(13,158,138,0.32);
  transition: background 0.2s;
}

/* ── IMPACT BAND STATS ───────────────────────────────
   Number glow effect on hover                          */
.impact-band [class*="col"] {
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1);
  cursor: default;
}
.impact-band [class*="col"]:hover { transform: translateY(-4px); }
.impact-band [class*="col"]:hover .impact-number { color: var(--teal-light); transition: color 0.2s; }

/* ── PROGRAM CARD IMAGE ZOOM ─────────────────────────
   Any img inside a program-card zooms on hover         */
.program-card { overflow: hidden; }
.program-card img {
  transition: transform 0.45s ease;
}
.program-card:hover img { transform: scale(1.06); }

/* ── SOCIAL FLOAT BUTTONS ────────────────────────────
   Extra pop on hover                                   */
.social-float-btn:hover {
  transform: scale(1.18) rotate(-5deg);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}

/* ── FOOTER SOCIAL ICONS ─────────────────────────────
   Already has hover — add rotation flourish            */
.fsoc a:hover {
  transform: translateY(-3px) rotate(-8deg);
}

/* ── SECTION LABEL UNDERLINE ─────────────────────────
   Subtle animated underline on hover                   */
.section-label {
  position: relative;
  display: inline-block;
}
.section-label::after {
  content: '';
  position: absolute; bottom: -2px; left: 0; right: 0;
  height: 1px; background: var(--teal);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.section-label:hover::after { transform: scaleX(1); }

/* ── STEP CARD ICON FLOAT ────────────────────────────
   Icon gently bounces when step-card is hovered        */
@keyframes stepIconBounce {
  0%   { transform: translateY(0); }
  40%  { transform: translateY(-8px); }
  60%  { transform: translateY(-4px); }
  80%  { transform: translateY(-7px); }
  100% { transform: translateY(-5px); }
}
.step-card:hover .step-icon,
.step-card:hover .program-icon,
.step-card:hover [class*="icon"]:first-child {
  animation: stepIconBounce 0.55s ease forwards;
}

/* ── PROGRESS BAR SHIMMER ────────────────────────────
   Running light effect on progress fills               */
@keyframes progressShimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.progress-fill {
  background-size: 200% auto;
  background-image: linear-gradient(
    90deg,
    var(--teal) 0%,
    var(--teal-light) 40%,
    var(--teal-dark) 60%,
    var(--teal) 100%
  );
  animation: progressShimmer 2.8s linear infinite;
}

/* ── GENERAL CARD CATCH-ALL ──────────────────────────
   Any element with "card" in its class that doesn't
   already have its own hover rule gets a gentle lift   */
[class*="card"]:not(.program-card):not(.step-card):not(.event-card):not(.testimonial-card):not(.tcard):not(.meal-card):not(.social-post):not(.ns-card):not(.ns-card-1):not(.ns-card-2):not(.ns-card-3):not([class*="stripe"]) {
  transition: transform 0.28s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.28s ease;
}
[class*="card"]:not(.program-card):not(.step-card):not(.event-card):not(.testimonial-card):not(.tcard):not(.meal-card):not(.social-post):not(.ns-card):not(.ns-card-1):not(.ns-card-2):not(.ns-card-3):not([class*="stripe"]):hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(27,58,92,0.12), 0 4px 12px rgba(27,58,92,0.07);
}
.bg-light    { background: var(--bg-light); }

/* ─────────────────────────────────────────────────────
   MOBILE SAFETY NET — collapse inline 2-col grids on phone
   Matches inline style="grid-template-columns:1fr 1fr"
   (with or without space after the colon). The :not() rules
   out 3+ column grids so they're left alone.
───────────────────────────────────────────────────── */
@media (max-width: 820px) {
  [style*="grid-template-columns:1fr 1fr"]:not([style*="1fr 1fr 1fr"]),
  [style*="grid-template-columns: 1fr 1fr"]:not([style*="1fr 1fr 1fr"]) {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
}
