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

/* ---- CSS Variables ---- */
:root {
  --teal: #2EC4B6;
  --teal-dark: #1FA99D;
  --teal-light: #E6FAF8;
  --navy: #1B4F72;
  --navy-dark: #0D2B3E;
  --gold: #C9A84C;
  --gold-dark: #b8962e;
  --gold-light: #FDF6E3;
  --bg: #F4FDFB;
  --surface: #FFFFFF;
  --text: #1a2e3b;
  --text-muted: #6B8A9B;
  --border: #DFF0ED;
  --shadow-sm: 0 2px 8px rgba(27,79,114,0.07);
  --shadow-md: 0 8px 32px rgba(27,79,114,0.11);
  --shadow-lg: 0 16px 56px rgba(27,79,114,0.16);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --section-py: 80px;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

[data-theme="dark"] {
  --bg: #0B1924;
  --surface: #0F2233;
  --text: #DFF0EE;
  --text-muted: #7AAAB8;
  --border: #163347;
  --teal-light: #0A2D35;
  --gold-light: #18130A;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.35);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.45);
  --shadow-lg: 0 16px 56px rgba(0,0,0,0.55);
}

/* ---- Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  transition: background 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); }
a { text-decoration: none; }
img { max-width: 100%; }
::-webkit-scrollbar { width: 5px; height: 5px;}
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--teal); border-radius: 10px; }

/* ---- Utility ---- */
.text-teal  { color: var(--teal) !important; }
.text-navy  { color: var(--navy) !important; }
.text-gold  { color: var(--gold) !important; }
.bg-teal    { background: var(--teal) !important; }
.bg-navy    { background: var(--navy) !important; }
.section-py { padding: var(--section-py) 0; }

.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  border-radius: 50px;
  padding: 5px 14px;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
[data-theme="dark"] .section-title { color: #E6FAF8; }

/* ---- Buttons ---- */
.btn-teal {
  background: var(--teal);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }

.btn-gold {
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-teal:hover { background: var(--teal); color: #fff; }

/* ---- Card ---- */
.card-fgrf {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.25s;
}
.card-fgrf:hover { box-shadow: var(--shadow-md); transform: translateY(-5px); }

/* ---- Inputs ---- */
.fgrf-input {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  padding: 12px 16px;
  width: 100%;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fgrf-input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(46,196,182,0.15); }
.fgrf-input::placeholder { color: var(--text-muted); }

.fgrf-select {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  width: 100%;
  cursor: pointer;
  appearance: none;
}
.fgrf-select:focus { outline: none; border-color: var(--teal); }

/* ---- Progress bar ---- */
.progress-fgrf {
  height: 7px;
  background: var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.progress-fgrf-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: 10px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Image placeholder ---- */
.img-ph {
  background: repeating-linear-gradient(
    -45deg,
    var(--teal-light),
    var(--teal-light) 6px,
    var(--border) 6px,
    var(--border) 12px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  padding: 8px;
  line-height: 1.4;
}

/* ---- Navbar ---- */
.fgrf-navbar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.fgrf-navbar .nav-link {
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.5rem 0.9rem !important;
  border-radius: var(--radius-sm);
  transition: all 0.18s;
  position: relative;
}
.fgrf-navbar .nav-link:hover { color: var(--teal); background: var(--teal-light); }
.fgrf-navbar .nav-link.active { color: var(--teal); }
.nav-has-mega { position: relative; }
.mega-menu {
  display:grid;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  min-width: 480px;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease,transform 0.2s ease,visibility 0s linear 0.2s; 
}
.nav-has-mega:hover .mega-menu { 
 opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}

.mega-item {
  padding: 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.18s;
}
.mega-item:hover { background: var(--teal-light) !important; }
.mega-item-icon {
  width: 34px; height: 34px;
  background: var(--teal-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  font-size: 1rem;
  margin-bottom: 6px;
}
.mega-item p { font-size: 0.72rem; color: var(--text-muted); margin: 0; }
.mega-item span { font-family: var(--font-head); font-weight: 600; font-size: 0.8rem; color: var(--text); display: block; margin-bottom: 2px; }

/* ---- Donation Amount Buttons ---- */
.amount-btn {
  border: 2px solid var(--border);
  color: var(--text-muted);
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 5px 10px 4px 10px;
  font-family: var(--font-head);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
  font-size: 0.9rem;
  flex: 1;
}
.amount-btn:hover { border-color: var(--teal); color: var(--teal); }
.amount-btn.selected {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 4px 16px rgba(46,196,182,0.3);
}

/* ---- Floating donate button ---- */
.floating-donate {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 12px 24px 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
  box-shadow: 0 8px 32px rgba(201,168,76,0.45);
  opacity: 1;
  transition: background 0.2s, transform 0.2s, opacity 0.3s, box-shadow 0.2s;
  animation: floatPulse 2.5s ease-in-out infinite;
}
.floating-donate:hover { background: var(--gold-dark); transform: scale(1.06); }
.floating-donate.flt-hidden {
  opacity: 0 !important;
  transform: translateY(20px) !important;
  pointer-events: none !important;
  animation: none !important;
}
.flt-arrow-icon {
  font-size: 1.6rem;
  line-height: 1;
  opacity: 0.85;
  display: block;
}
.flt-donate-text {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9rem;
  line-height: 1;
}
@keyframes floatPulse {
  0%,100% { box-shadow: 0 8px 32px rgba(201,168,76,0.45); }
  50%      { box-shadow: 0 12px 48px rgba(201,168,76,0.7); }
}

/* ---- Global donation drawer ---- */
.drawer-backdrop {
  inset: 0;
  background: rgba(7,21,32,0.45);
  z-index: 8999;
  opacity: 0;
  pointer-events: none;
  touch-action: pan-y;
  transition: opacity 0.35s ease;
}
.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.donation-drawer {
  position: fixed;
  bottom: 0px;
  right: 24px;
  width: 360px;
  max-height: 70vh;
  z-index: 9000;
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.22), 0 0 0 1px rgba(0,0,0,0.06);
  opacity: 0;
  visibility: hidden;
  transition: 0.5s;
  display: flex;
  flex-direction: column;
}
.donation-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--navy);
  border-radius: 14px 14px 0 0;
  flex-shrink: 0;
}
.drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.drawer-close-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: rotate(90deg);
}
.drawer-body {
  overflow-y: auto;
  padding: 16px 18px 18px;
  flex: 1;
}
#donation-drawer .fgrf-input,
#donation-drawer .fgrf-select {
  padding: 8px 15px;
}
#donation-drawer .field-error {
  font-size: 0.75rem;
  color: #e74c3c;
  font-family: var(--font-head);
  font-weight: 600;
  padding-bottom: 8px;
  margin-top: -8px;
}
#donation-drawer .fgrf-input.is-invalid { border-color: #e74c3c !important; }
#donation-drawer .fgrf-input.is-valid   { border-color: var(--teal) !important; }

/* ---- Trust badges ---- */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.92);
  font-family: var(--font-head);
  font-weight: 500;
}

/* ---- Stat cards ---- */
.stat-number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
[data-theme="dark"] .stat-number {
  background: linear-gradient(135deg, var(--teal), #7fd8d2);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ---- Urgent section ---- */
.urgent-section {
  background: linear-gradient(135deg, #c0392b 0%, #922b21 100%);
}

/* ---- Footer ---- */
.fgrf-footer {
  background: #071520;
  color: #9cb8c8;
}
[data-theme="dark"] .fgrf-footer { background: #050e18; }
.fgrf-footer a { color: #7aa3b5; transition: 0.3s; }
.fgrf-footer a:hover { color: var(--teal); }
.fgrf-footer a.social-icon:hover { color: #071520; }
.fgrf-footer h6 {
  font-family: var(--font-head);
  font-weight: 700;
  color: #e8f4f8;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.footer-link {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: #7aa3b5;
  transition: color 0.2s, padding-left 0.2s;
}
.footer-link:hover { color: var(--teal); padding-left: 4px; }
.social-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.07);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9cb8c8;
  font-size: 1rem;
  transition: all 0.2s;
}
.social-icon:hover { background: var(--teal); color: #fff; }

/* ---- Volunteer section ---- */
.volunteer-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
}

/* ---- Modal overlay ---- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(7,21,32,0.7);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

/* ---- Hero ---- */
.hero-section {
  min-height: 92vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

  .hero-section .home-banner{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
  }

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13,43,62,0.93) 0%, rgba(27,79,114,0.80) 55%, rgba(27,79,114,0.4) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; }

/* ---- Donation card ---- */
.donation-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  border: 1px solid var(--border);
}

/* ---- Gallery masonry ---- */
.gallery-masonry { columns: 3; column-gap: 14px; }
.gallery-item { break-inside: avoid; margin-bottom: 14px; border-radius: var(--radius-md); overflow: hidden; cursor: pointer; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(27,79,114,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s;
  color: white; font-size: 1.5rem;
}

/* ---- Media card ---- */
.media-card { cursor: pointer; }
.media-thumb { position: relative; overflow: hidden; }
.media-thumb img, .media-thumb .img-ph { width: 100%; aspect-ratio: 16/9; display: block; }
.media-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(7,21,32,0.35);
  transition: background 0.22s;
}
.media-thumb:hover .media-play-btn { background: rgba(7,21,32,0.6); }
.play-circle {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  font-size: 1.3rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}
.media-thumb:hover .play-circle { transform: scale(1.1); }

/* ---- Achievement badge ---- */
.achieve-card {
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  background: var(--gold-light);
  text-align: center;
  padding: 26px 18px;
  transition: all 0.25s;
  height: 100%;
}
.achieve-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(201,168,76,0.2); }

/* ---- Initiative card ---- */
.init-icon {
  width: 54px; height: 54px;
  border-radius: var(--radius-sm);
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal);
  font-size: 1.4rem;
  margin-bottom: 14px;
  flex-shrink: 0;
  transition: all 0.25s;
}
.card-fgrf:hover .init-icon { background: var(--teal); color: #fff; }

/* ---- News card ---- */
.news-category {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

/* ---- Tweaks panel ---- */
.tweaks-panel {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 270px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  z-index: 9999;
}
.tweaks-panel h6 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.tweak-row { margin-bottom: 14px; }
.tweak-label {
  font-size: 0.78rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  display: block;
}
.tweak-swatch {
  width: 28px; height: 28px;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.18s;
}
.tweak-swatch.active { border-color: var(--text); transform: scale(1.15); }

@media (max-width: 991px) {
  :root { --section-py: 50px; }
  .mega-menu { min-width: 320px; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  :root { --section-py: 40px; }
  .gallery-masonry { columns: 2; }
  .hero-section { min-height: auto; padding: 0px 0 0px; }
}
@media (max-width: 575px) {
  .gallery-masonry { columns: 1; }
  .floating-donate { bottom: 16px; right: 16px; padding: 11px 20px 11px; }
  .flt-arrow-icon { font-size: 1.4rem; }
  .flt-donate-text { font-size: 0.83rem; }
  .donation-drawer {
    right: 10px;
    left: 10px;
    bottom: 0px;
    width: auto;
    border-radius: 16px;
  }
  .drawer-header { border-radius: 15px 15px 0 0; }

  .donation-card{
    padding: 28px 16px;
  }
}

/* ═══════════════════════════════════════════════════
   Hero Donate Card — reusable component global styles
   ═══════════════════════════════════════════════════ */

/* Compact card variant */
.hero-donate-card { padding: 20px 22px !important; }
.hero-donate-card .form-field-label { margin-bottom: 3px; }

/* Compact input/select padding inside the donation card */
.hero-donate-card .fgrf-input  { padding: 8px 15px; }
.hero-donate-card .fgrf-select { padding: 8px 15px; }

/* Form field label */
.form-field-label {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

/* Inline field error */
.donation-card .field-error {
  font-size: 0.75rem;
  color: #e74c3c;
  font-family: var(--font-head);
  font-weight: 600;
}

/* Input validation states */
.fgrf-input.is-invalid { border-color: #e74c3c !important; }
.fgrf-input.is-valid   { border-color: var(--teal) !important; }

/* ── Custom CAPTCHA ── */
.captcha-wrap {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.captcha-input {
  flex: 1;
  min-width: 0;
}
.captcha-code-box {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  min-width: 108px;
  flex-shrink: 0;
}
.captcha-code-text {
  font-family: 'Courier New', monospace;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  color: var(--navy);
  user-select: none;
  text-decoration: line-through;
  text-decoration-color: rgba(0,0,0,0.18);
  flex: 1;
}
.captcha-refresh-btn {
  background: none;
  border: none;
  color: var(--teal);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  font-size: 0.88rem;
  transition: transform 0.42s ease;
  flex-shrink: 0;
}
.captcha-refresh-btn:hover { transform: rotate(180deg); }

/* ── Donation Type buttons (Sadaqah / Zakat) ── */
.hero-dtype-btn,
.drawer-dtype-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s;
}
.hero-dtype-group .hero-dtype-btn { min-width: 0; }
.hero-dtype-text { white-space: nowrap; }
.hero-dtype-indicator {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s;
}
.hero-dtype-indicator::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0;
  transform: scale(0.65);
  transition: all 0.18s;
}
.hero-dtype-btn.dtype-active,
.drawer-dtype-btn.dtype-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.hero-dtype-btn:hover:not(.dtype-active),
.drawer-dtype-btn:hover:not(.dtype-active) {
  border-color: var(--navy);
  color: var(--navy);
}
.hero-dtype-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.hero-dtype-radio:checked + .hero-dtype-btn {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.hero-dtype-radio:checked + .hero-dtype-btn .hero-dtype-indicator::after {
  opacity: 1;
  transform: scale(1);
}
.hero-dtype-radio:checked + .hero-dtype-btn:hover { color: #fff; }
.hero-dtype-radio:focus-visible + .hero-dtype-btn {
  box-shadow: 0 0 0 3px rgba(46,196,182,0.25);
}

/* ── Phone field with country code ── */
.phone-field-wrap {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.phone-field-wrap:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46,196,182,0.15);
}
.phone-cc-select {
  background: var(--teal-light);
  border: none;
  border-right: 1.5px solid var(--border);
  border-radius: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 6px;
  cursor: pointer;
  min-width: 88px;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}
.phone-input {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 1;
}
.phone-input:focus { box-shadow: none !important; }

/* ── Responsive adjustments ── */
@media (max-width: 576px) {
  .hero-dtype-btn {
    font-size: 0.78rem;
    gap: 6px;
  }
  .hero-dtype-indicator {
    width: 14px;
    height: 14px;
  }
  .hero-dtype-indicator::after {
    width: 6px;
    height: 6px;
  }
}
@media (max-width: 380px) {
  .hero-donate-card { padding: 20px 16px !important; }
  .int-impact{ padding: 20px 12px !important; }
}
