/* ======================================================
   L'Étoile Solidaire – Premium NGO Design System
   ====================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;0,800;1,700&display=swap');

:root {
  /* ── Logo-extracted palette ── */
  /* Logo reds ("L'ÉTOILE" text & red figures) */
  --red-600: #c0392b;
  --red-500: #d93025;
  --red-400: #e74c3c;
  --red-300: #f07060;

  /* Logo navy ("SOLIDAIRE" text & background figures) */
  --navy-950: #030d1a;
  --navy-900: #060f1f;
  --navy-800: #0b1d36;
  --navy-700: #0f2848;
  --navy-600: #163560;
  --navy-500: #1e4a82;

  /* Logo rainbow accent colours (people figures) */
  --logo-orange: #e67e22;
  --logo-yellow: #f1c40f;
  --logo-green:  #27ae60;
  --logo-teal:   #16a085;
  --logo-blue:   #2980b9;
  --logo-purple: #8e44ad;
  --logo-brown:  #7d5a44;

  /* Gold (kept as secondary warm accent) */
  --gold-400: #f5c842;
  --gold-500: #e8b422;
  --gold-600: #c9970f;

  /* Utility */
  --emerald-400: #34d399;
  --emerald-500: #10b981;
  --rose-400: #fb7185;
  --sky-400: #38bdf8;
  --cream: #fdf8f0;

  /* Surface & Text */
  --bg: #f7f9fc;
  --surface: #ffffff;
  --surface-2: #f0f4f9;
  --text: #0d1f35;
  --text-2: #4a6080;
  --text-3: #7a94b0;
  --border: rgba(14, 40, 80, 0.1);
  --border-strong: rgba(14, 40, 80, 0.18);

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(6, 20, 45, 0.06);
  --shadow-sm: 0 4px 16px rgba(6, 20, 45, 0.08);
  --shadow-md: 0 8px 30px rgba(6, 20, 45, 0.12);
  --shadow-lg: 0 20px 60px rgba(6, 20, 45, 0.16);
  --shadow-xl: 0 32px 80px rgba(6, 20, 45, 0.22);
  --shadow-red:  0 8px 32px rgba(193, 57, 43, 0.28);
  --shadow-gold: 0 8px 32px rgba(232, 180, 34, 0.20);

  /* Gradients — now red/navy like logo */
  --grad-hero:    linear-gradient(135deg, var(--navy-950) 0%, #1a0a0a 40%, #2d0b0b 100%);
  --grad-primary: linear-gradient(135deg, var(--red-500) 0%, var(--red-600) 100%);
  --grad-gold:    linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
  --grad-card:    linear-gradient(160deg, #ffffff 0%, #f6faff 100%);
  --grad-section: linear-gradient(180deg, var(--bg) 0%, #edf3fb 100%);
  --grad-rainbow: linear-gradient(90deg,
    var(--red-400), var(--logo-orange), var(--logo-yellow),
    var(--logo-green), var(--logo-blue), var(--logo-purple));

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-full: 9999px;

  /* Spacing */
  --container: min(1220px, 92vw);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Container ── */
.container { width: var(--container); margin: 0 auto; }

/* ── Sections ── */
.section { padding: 5rem 0; }
.section-alt { background: var(--surface-2); }

/* ── Kill the white gap before footer ── */
main > *:last-child { margin-bottom: 0 !important; }
#footer-placeholder { display: block; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-500);
  background: rgba(217, 48, 37, 0.08);
  border: 1px solid rgba(217, 48, 37, 0.22);
  border-radius: var(--r-full);
  padding: 0.3rem 0.85rem;
  margin-bottom: 0.9rem;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 0.9rem;
}

.section-title span { color: var(--red-500); }

.section-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: var(--text-2);
  max-width: 680px;
  line-height: 1.75;
}

.section-head { margin-bottom: 3rem; }
.section-head.centered { text-align: center; }
.section-head.centered .section-subtitle { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--r-full);
  padding: 0.8rem 1.7rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--spring), box-shadow 0.25s var(--ease), background 0.2s var(--ease), opacity 0.2s;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-primary:hover { box-shadow: 0 12px 40px rgba(193, 57, 43, 0.45); }

.btn-ghost {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); }

.btn-outline {
  background: transparent;
  border: 2px solid var(--navy-700);
  color: var(--navy-700);
}
.btn-outline:hover { background: var(--navy-700); color: #fff; }

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.84rem; }

/* ── NAVBAR ── */
.topbar {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.topbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

/* ── Navbar hero-page overrides (when transparent over dark hero) ── */
.topbar.top .brand { color: #fff; }
.topbar.top .nav-links a { color: rgba(255,255,255,0.82); }
.topbar.top .nav-links a:hover,
.topbar.top .nav-links a.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
}
.topbar.top .menu-btn {
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff;
  backdrop-filter: blur(8px);
}
.topbar.top .mobile-menu { border-top-color: rgba(255,255,255,0.1); }
.topbar.top .mobile-menu a { color: rgba(255,255,255,0.85); border-bottom-color: rgba(255,255,255,0.06); }
.topbar.top .nav-cta { background: var(--grad-primary) !important; color: #fff !important; }

.topbar.top {
  background: transparent;
  box-shadow: none;
}


.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--navy-800);
  transition: color 0.3s;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad-rainbow);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 4px 16px rgba(217,48,37,0.3);
  flex-shrink: 0;
}

.nav-links {
  display: none;
  gap: 0.3rem;
  align-items: center;
}

.nav-links a {
  padding: 0.45rem 0.85rem;
  border-radius: var(--r-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(14, 40, 80, 0.08);
  color: var(--navy-700);
}

.nav-links a.active { font-weight: 600; }

.nav-cta { display: none; }

.menu-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.mobile-menu {
  display: none;
  padding: 0.5rem 0 1rem;
  border-top: 1px solid var(--border);
}

.mobile-menu.open { display: block; }

.mobile-menu ul { display: grid; gap: 0.1rem; }

.mobile-menu a {
  display: block;
  padding: 0.7rem 0;
  font-weight: 500;
  color: var(--text-2);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--navy-700); }

/* ── HERO ── */
.hero {
  position: relative;
  background: var(--grad-hero);
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Animated gradient orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  animation: float 12s ease-in-out infinite;
}

.hero-orb-1 {
  width: 600px; height: 600px;
  background: var(--gold-500);
  top: -200px; right: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 400px; height: 400px;
  background: var(--emerald-500);
  bottom: -100px; left: -80px;
  animation-delay: -4s;
}

.hero-orb-3 {
  width: 300px; height: 300px;
  background: var(--sky-400);
  top: 40%; left: 30%;
  animation-delay: -8s;
  opacity: 0.12;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -40px) scale(1.05); }
  66%       { transform: translate(-20px, 20px) scale(0.97); }
}

/* Grid lines decorative */
.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 200, 66, 0.15);
  border: 1px solid rgba(245, 200, 66, 0.35);
  border-radius: var(--r-full);
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--gold-400);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-400);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-400);
}

.hero-desc {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 2.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

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

.hero-stat-value {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--gold-400);
  line-height: 1;
  display: block;
}

.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  margin-top: 0.25rem;
  display: block;
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(6,15,31,0.55) 100%);
  z-index: 1;
}

.hero-img-wrap img {
  min-height: 460px;
  object-fit: cover;
}

/* Floating badge on hero image */
.hero-float-card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 2;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-md);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-float-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-gold);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.hero-float-text strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
}

.hero-float-text span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
}

/* ── IMPACT COUNTER BAR ── */
.impact-bar {
  background: var(--navy-900);
  padding: 2.5rem 0;
}

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

.impact-item {
  text-align: center;
  position: relative;
}

.impact-item + .impact-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.08);
}

.impact-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gold-400);
  display: block;
  line-height: 1;
}

.impact-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-top: 0.4rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── CARDS ── */
.cards-grid {
  display: grid;
  gap: 1.2rem;
}

.card {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--spring), box-shadow 0.3s var(--ease), border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 180, 34, 0.2);
}

.card:hover::before { transform: scaleX(1); }

.card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.card p { color: var(--text-2); font-size: 0.93rem; line-height: 1.7; }

.card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(245, 200, 66, 0.12), rgba(245, 200, 66, 0.06));
  border: 1px solid rgba(232, 180, 34, 0.2);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

/* Value card accent */
.value-card { border-left: 3px solid transparent; }
.value-card:nth-child(1) { border-left-color: var(--gold-400); }
.value-card:nth-child(2) { border-left-color: var(--emerald-400); }
.value-card:nth-child(3) { border-left-color: var(--sky-400); }
.value-card:nth-child(4) { border-left-color: var(--rose-400); }

/* ── GALLERY ── */
.gallery-preview {
  display: grid;
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.gallery-item img {
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

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

.gallery-caption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(3,13,30,0.82) 0%, rgba(3,13,30,0.1) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

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

.gallery-grid {
  display: grid;
  gap: 1rem;
}

/* ── MEDIA HUB ── */
.media-grid {
  display: grid;
  gap: 1rem;
}

.media-tile {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 200px;
  cursor: pointer;
}

.media-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.media-tile:hover img { transform: scale(1.06); }

.media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,15,31,0.85) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1rem 1.1rem;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ── VIDEOS ── */
.video-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 2rem;
}

.video-card {
  background: var(--navy-900);
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s var(--spring), box-shadow 0.3s;
}

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

.video-card iframe,
.video-card video {
  width: 100%;
  min-height: 200px;
  border: none;
  display: block;
}

.video-card-label {
  padding: 0.9rem 1.1rem 1.1rem;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ── TIMELINE (EVENTS) ── */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold-400), rgba(232,180,34,0.1));
}

.timeline-item {
  position: relative;
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--spring), box-shadow 0.25s, border-color 0.25s;
}

.timeline-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232,180,34,0.25);
}

.timeline-item::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--grad-gold);
  box-shadow: 0 0 0 3px rgba(245,200,66,0.2);
  position: absolute;
  left: -2.6rem;
  top: 1.4rem;
}

.timeline-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 0.4rem;
}

.timeline-item p { color: var(--text-2); font-size: 0.9rem; line-height: 1.6; }

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}

.event-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: var(--r-full);
  background: rgba(14,40,80,0.06);
  color: var(--text-2);
}

/* ── EVENT CARDS (upcoming) ── */
.event-card {
  background: var(--grad-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--spring), box-shadow 0.3s;
}

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

.event-card-date {
  background: var(--navy-800);
  padding: 1.2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.event-date-block {
  text-align: center;
  background: var(--grad-gold);
  border-radius: var(--r-sm);
  padding: 0.5rem 0.8rem;
  min-width: 52px;
}

.event-day {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1;
}

.event-month {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--navy-700);
  letter-spacing: 0.06em;
}

.event-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.event-place {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.2rem;
}

.event-card-body { padding: 1.3rem; }
.event-card-body p { color: var(--text-2); font-size: 0.9rem; line-height: 1.7; }

/* ── FORM ── */
.form-group {
  display: grid;
  gap: 0.85rem;
}

.form-row { display: grid; gap: 0.85rem; }

.field-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy-700);
  margin-bottom: 0.35rem;
  display: block;
}

input, textarea, select {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  font-family: 'Inter', sans-serif;
  font-size: 0.93rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(232,180,34,0.12);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

/* ── CONTACT CARD ── */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(245,200,66,0.12), rgba(245,200,66,0.06));
  border: 1px solid rgba(232,180,34,0.18);
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
}

.contact-info-value {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--navy-700);
  display: block;
  margin-top: 0.15rem;
}

/* Hours table */
.hours-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem 1.5rem;
  font-size: 0.88rem;
}

.hours-day { color: var(--text-2); font-weight: 500; }
.hours-time { color: var(--navy-700); font-weight: 600; text-align: right; }
.hours-closed { color: var(--rose-400); }

/* ── MAP ── */
.map-placeholder {
  height: 300px;
  border-radius: var(--r-lg);
  border: 2px dashed var(--border-strong);
  display: grid;
  place-items: center;
  color: var(--text-3);
  background: var(--surface-2);
  font-size: 0.9rem;
}

.map-embed {
  height: 350px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ── SPLIT LAYOUT ── */
.split {
  display: grid;
  gap: 1.5rem;
}

/* ── MISSION SECTION ── */
.mission-card {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  border-radius: var(--r-xl);
  padding: 3rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(245,200,66,0.06);
}

.mission-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(52,211,153,0.06);
}

.mission-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
}

.mission-card p { color: rgba(255,255,255,0.7); line-height: 1.75; font-size: 0.95rem; }

.mission-quote {
  margin-top: 1.5rem;
  padding: 1.2rem;
  background: rgba(245,200,66,0.08);
  border-left: 3px solid var(--gold-400);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-style: italic;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

/* ── PARTNERS / LOGOS ── */
.partners-grid {
  display: grid;
  gap: 1rem;
}

.partner-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 1.3rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-xs);
  transition: transform 0.25s var(--spring), box-shadow 0.25s, border-color 0.25s;
}

.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232,180,34,0.25);
}

.partner-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(14,40,80,0.07), rgba(14,40,80,0.04));
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.partner-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--navy-800); }
.partner-card p { font-size: 0.83rem; color: var(--text-2); margin-top: 0.2rem; }

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(3, 10, 22, 0.92);
  display: none;
  place-items: center;
  padding: 1rem;
  z-index: 3000;
  backdrop-filter: blur(6px);
}

.lightbox.open { display: grid; }

.lightbox-content {
  width: min(900px, 96vw);
  background: var(--surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.lightbox-text {
  padding: 1.2rem 1.5rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: none;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}

.lightbox-close:hover { background: rgba(255,255,255,0.28); }

/* ── FILTER BUTTONS ── */
.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-btn {
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-2);
  border-radius: var(--r-full);
  padding: 0.45rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.filter-btn:hover {
  border-color: var(--gold-500);
  color: var(--navy-700);
}

.filter-btn.active {
  background: var(--navy-800);
  color: #fff;
  border-color: var(--navy-800);
  box-shadow: var(--shadow-md);
}

/* ── NEWSLETTER (FOOTER) ── */
.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
}

.newsletter-form input {
  flex: 1 1 200px;
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.12);
  color: #fff;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus {
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(245,200,66,0.1);
}

/* ── SOCIAL LINKS ── */
.social-links { display: flex; gap: 0.6rem; margin-top: 1rem; }

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s, transform 0.2s var(--spring);
}

.social-link:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
  transform: translateY(-2px);
}

/* ── FOOTER ── */
.footer {
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 100%);
  color: rgba(255,255,255,0.72);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,200,66,0.4), transparent);
}

.footer-grid {
  display: grid;
  gap: 3rem;
}

.footer-brand { max-width: 340px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.footer-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  margin-bottom: 1.2rem;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1.1rem;
}

.footer-links { display: grid; gap: 0.6rem; }

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.58);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--gold-400); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.5rem;
}

.footer-contact-item strong { color: rgba(255,255,255,0.8); }

.footer-bottom {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.3);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--grad-hero);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 50px 50px;
}

.page-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.18;
}

.page-hero-orb-1 {
  width: 400px; height: 400px;
  background: var(--gold-500);
  top: -120px; right: -80px;
}

.page-hero-orb-2 {
  width: 280px; height: 280px;
  background: var(--emerald-500);
  bottom: -80px; left: 5%;
}

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

.page-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.8rem;
  line-height: 1.15;
}

.page-hero p {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.68);
  max-width: 580px;
  line-height: 1.75;
}

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-gold);
  color: var(--navy-900);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1rem;
  box-shadow: var(--shadow-gold);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s var(--spring);
  z-index: 999;
}

#back-to-top.visible { opacity: 1; transform: translateY(0); }
#back-to-top:hover { transform: translateY(-3px); }

/* ── RESPONSIVE ── */
@media (min-width: 600px) {
  .impact-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery-preview {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .menu-btn, .mobile-menu { display: none !important; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }

  .hero-content {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .cards-grid.activities-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards-grid.latest-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards-grid.values-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    grid-auto-flow: dense;
  }

  .gallery-grid .gallery-item:nth-child(3n + 1) { grid-row: span 2; }

  .media-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .media-tile { min-height: 220px; }

  .media-grid .media-tile:first-child {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 440px;
  }

  .video-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .cards-grid.values-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ── DOMAIN CARDS WITH IMAGES ── */
.domain-cards {
  display: grid;
  gap: 1.5rem;
}

.domain-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--ease);
  cursor: default;
}

.domain-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-xl);
}

.domain-card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

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

.domain-card-img-wrap {
  overflow: hidden;
  position: relative;
}

.domain-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(6,15,31,0.18) 100%);
  pointer-events: none;
}

.domain-card-body {
  padding: 1.6rem;
}

.domain-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-500);
  background: rgba(232, 180, 34, 0.1);
  border: 1px solid rgba(232, 180, 34, 0.2);
  border-radius: var(--r-full);
  padding: 0.25rem 0.7rem;
  margin-bottom: 0.8rem;
}

.domain-card-body h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 0.55rem;
  line-height: 1.3;
}

.domain-card-body p {
  color: var(--text-2);
  font-size: 0.91rem;
  line-height: 1.7;
}

.domain-card-examples {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.domain-example-tag {
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--surface-2);
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 0.2rem 0.6rem;
}

@media (min-width: 700px) {
  .domain-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── FACEBOOK-STYLE BLOG POSTS ── */
.blog-feed {
  display: grid;
  gap: 3rem;
  max-width: 760px;
  margin: 0 auto;
}

.blog-post {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  position: relative;
}

/* Gold top-stripe on hover */
.blog-post::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  z-index: 1;
}

.blog-post:hover::before {
  transform: scaleX(1);
}

.blog-post:hover {
  box-shadow: var(--shadow-lg);
}

/* Post header (avatar + meta) */
.blog-post-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.2rem 1.4rem 0.8rem;
}

.blog-post-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.blog-post-meta strong {
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--navy-800);
}

.blog-post-meta span {
  font-size: 0.78rem;
  color: var(--text-3);
}

.blog-post-category {
  margin-left: auto;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red-500);
  background: rgba(217,48,37,0.08);
  border: 1px solid rgba(217,48,37,0.2);
  border-radius: var(--r-full);
  padding: 0.25rem 0.65rem;
}

/* Post body */
.blog-post-body {
  padding: 0 1.4rem 1rem;
}

.blog-post-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.blog-post-text {
  font-size: 0.93rem;
  color: var(--text-2);
  line-height: 1.75;
}

/* Post image */
.blog-post-img-wrap {
  overflow: hidden;
  margin: 0.5rem 0;
}

.blog-post-img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.blog-post:hover .blog-post-img {
  transform: scale(1.03);
}

/* Post footer (reactions/share) */
.blog-post-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.4rem;
  border-top: 1px solid var(--border);
}

.blog-post-stat {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  color: var(--text-2);
  font-weight: 500;
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-full);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.blog-post-stat:hover {
  background: var(--surface-2);
  color: var(--navy-700);
}

.blog-post-stat.liked {
  color: #e74c3c;
}

.blog-post-share {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.84rem;
  color: var(--text-3);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-full);
  transition: background 0.2s, color 0.2s;
}

.blog-post-share:hover {
  background: var(--surface-2);
  color: var(--navy-700);
}

/* Tags inside post */
.blog-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0 1.4rem 0.8rem;
}

.blog-tag {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--navy-600);
  background: rgba(30, 74, 130, 0.07);
  border-radius: var(--r-full);
  padding: 0.2rem 0.6rem;
}


/* %% RIB Mobile Popup %% */
.rib-mobile-btn { display: none !important; }
@media (max-width: 768px) {
  .rib-desktop { display: none !important; }
  .rib-mobile-btn { display: inline-flex !important; }
}

/* ── DONATION MODAL ── */
.donation-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 13, 26, 0.6);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
  padding: 1rem;
}

.donation-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.donation-modal-container {
  background: var(--surface);
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 1000px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.4s var(--spring);
  box-shadow: var(--shadow-xl);
  padding: 2.5rem;
}

.donation-modal-overlay.open .donation-modal-container {
  transform: translateY(0) scale(1);
}

.donation-modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(0,0,0,0.05);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s;
  color: var(--text-2);
}

.donation-modal-close:hover {
  background: var(--red-500);
  color: #fff;
}

.donation-modal-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy-800);
  text-align: center;
  margin-bottom: 2rem;
}

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

.donation-step {
  background: var(--surface-2);
  border-radius: var(--r-md);
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.donation-step h3 {
  font-size: 1.1rem;
  color: var(--navy-700);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
}

.donation-amount-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.don-amount-btn, .don-payment-btn {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 0.8rem;
  font-weight: 600;
  color: var(--navy-700);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.don-amount-btn:hover, .don-payment-btn:hover {
  border-color: var(--red-400);
  color: var(--red-500);
}

.don-amount-btn.active, .don-payment-btn.active {
  background: var(--red-500);
  color: #fff;
  border-color: var(--red-500);
  box-shadow: var(--shadow-red);
}

.don-custom-amount input, .donation-form input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-family: 'Inter', sans-serif;
  margin-bottom: 0.8rem;
  transition: border-color 0.2s;
}

.don-custom-amount input:focus, .donation-form input:focus {
  outline: none;
  border-color: var(--red-500);
}

.donation-payment-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.payment-details {
  display: none;
  animation: fadeIn 0.3s ease;
}

.payment-details.active {
  display: block;
}

.payment-details p {
  font-size: 0.9rem;
  color: var(--text-2);
  margin-bottom: 0.8rem;
}

.payment-details .small-text {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-top: 0.8rem;
  font-style: italic;
}

.rib-box {
  background: #fff;
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-sm);
  padding: 1rem;
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--navy-800);
  line-height: 1.5;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

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