/* ==========================================================================
   DELTA NGO AFGHANISTAN - DEVELOPMENT, EDUCATION LEARNING & TRAINING ASSOCIATION
   Official Portal Redesign (CDSACO UI Layout & ADRA Afghanistan Architecture)
   Registered Afghan NGO with Ministry of Economy | Serving Since 2002
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=JetBrains+Mono:wght@500;700&family=Amiri:ital,wght@0,400;0,700;1,400&family=Scheherazade+New:wght@600;700&display=swap');

:root {
  /* Official Brand Palette */
  --primary-navy: #0A192F;
  --primary-blue: #0E3A7E;
  --primary-deep: #071D49;
  --accent-teal: #0D9488;
  --accent-teal-light: #14B8A6;
  --accent-teal-soft: #CCFBF1;
  --accent-amber: #D97706;
  --accent-amber-light: #F59E0B;
  --accent-amber-soft: #FEF3C7;
  --accent-emerald: #059669;
  --accent-emerald-light: #10B981;

  /* Neutral Spectrum */
  --text-dark: #0F172A;
  --text-body: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border-light: #E2E8F0;
  --border-subtle: #CBD5E1;
  --bg-page: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-alt: #F1F5F9;
  --bg-card: #FFFFFF;

  /* Typography */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-pashto: 'Scheherazade New', 'Amiri', Tahoma, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(15, 23, 42, 0.10), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 40px -8px rgba(15, 23, 42, 0.16);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

  /* Borders & Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, textarea, select {
  font: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (min-width: 1600px) {
  .container {
    max-width: 1480px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }
}

/* ==========================================================================
   TOP UTILITY BAR SYSTEM
   ========================================================================== */
.topbar {
  background-color: var(--primary-navy);
  color: #E2E8F0;
  font-size: 0.775rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.4rem 0;
  position: relative;
  z-index: 50;
  width: 100%;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}

.topbar-left, .topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: nowrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #CBD5E1;
  font-size: 0.75rem;
  text-decoration: none;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.topbar-item:hover {
  color: #FFFFFF;
}

.topbar-item svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
  opacity: 0.9;
  flex-shrink: 0;
}

.topbar-divider {
  color: rgba(255, 255, 255, 0.2);
  font-weight: 300;
}

.topbar-badge {
  background: rgba(13, 148, 136, 0.2);
  color: var(--accent-teal-light);
  border: 1px solid rgba(20, 184, 166, 0.35);
  font-size: 0.725rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.topbar-magazine-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #FDE047;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.18rem 0.6rem;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.topbar-magazine-btn:hover {
  background: rgba(245, 158, 11, 0.28);
  color: #FFFFFF;
  border-color: #F59E0B;
}

.magazine-blinker {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #EF4444;
  box-shadow: 0 0 8px #EF4444;
  animation: sharpBlinkColor 1.5s infinite;
}

.magazine-new-badge {
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.05rem 0.3rem;
  border-radius: 4px;
}

.topbar-blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(14, 165, 233, 0.4);
  color: #7DD3FC;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.18rem 0.6rem;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.topbar-blog-btn:hover {
  background: rgba(14, 165, 233, 0.28);
  color: #FFFFFF;
}

.blog-blinker {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #38BDF8;
  animation: pulseBeacon 1.8s infinite;
}

.blog-new-badge {
  background: #0284C7;
  color: #FFFFFF;
  font-size: 0.6rem;
  font-weight: 800;
  padding: 0.05rem 0.3rem;
  border-radius: 4px;
}

.topbar-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #FCA5A5;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.live-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #EF4444;
  box-shadow: 0 0 6px #EF4444;
  animation: pulseBeacon 1.2s infinite;
}

.topbar-lang-group {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.topbar-lang-btn {
  background: transparent;
  color: #94A3B8;
  padding: 0.18rem 0.45rem;
  border-radius: var(--radius-sm);
  font-size: 0.725rem;
  font-weight: 600;
  transition: var(--transition-fast);
  cursor: pointer;
}

.topbar-lang-btn.active, .topbar-lang-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.topbar-yt-btn, .topbar-fb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.topbar-yt-btn {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #FCA5A5;
}

.topbar-yt-btn:hover {
  background: #DC2626;
  color: #FFFFFF;
  border-color: #DC2626;
}

.topbar-fb-btn {
  background: rgba(24, 119, 242, 0.15);
  border: 1px solid rgba(24, 119, 242, 0.4);
  color: #93C5FD;
}

.topbar-fb-btn:hover {
  background: #1877F2;
  color: #FFFFFF;
  border-color: #1877F2;
}

.topbar-login-btn {
  background: #0E3A7E;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 0.22rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.topbar-login-btn:hover {
  background: #071D49;
  color: #FFFFFF;
  transform: translateY(-1px);
}

@keyframes sharpBlinkColor {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.85); }
}

@keyframes pulseBeacon {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.4; }
  100% { transform: scale(0.9); opacity: 1; }
}

/* ==========================================================================
   BRAND HEADER STRIP (DELTAL INSTITUTIONAL STRIP)
   ========================================================================== */
.brand-strip {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-bottom: 1px solid #E2E8F0;
  padding: 0.85rem 0;
  position: relative;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.02);
}

.brand-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-main-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo-frame {
  width: 68px;
  height: 68px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1.5px solid rgba(14, 58, 126, 0.15);
  box-shadow: 0 4px 16px rgba(14, 58, 126, 0.1), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.brand-logo-frame:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(14, 58, 126, 0.18);
  border-color: var(--primary-blue);
}

.organic-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-titles {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.brand-en-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0;
}

.brand-en-title .cdsaco-acronym {
  color: var(--primary-blue);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.brand-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  color: #64748B;
  font-weight: 600;
}

.brand-meta-badge .meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-teal);
}

.brand-pashto-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.35rem 1.2rem;
  background: rgba(14, 58, 126, 0.03);
  border: 1px solid rgba(14, 58, 126, 0.12);
  border-radius: 12px;
  transition: all 0.25s ease;
}

.brand-pashto-block:hover {
  background: rgba(14, 58, 126, 0.06);
  border-color: rgba(14, 58, 126, 0.25);
}

.brand-pashto-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-blue);
  direction: rtl;
  font-family: var(--font-pashto);
  line-height: 1.2;
}

.brand-pashto-sub {
  font-size: 0.75rem;
  color: var(--accent-emerald);
  font-weight: 700;
  direction: rtl;
  font-family: var(--font-pashto);
  letter-spacing: 0.02em;
}

.brand-contact-block {
  display: flex;
  align-items: center;
}

.brand-phone-box {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 0.55rem 1.15rem;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.05);
  transition: all 0.25s ease;
  text-decoration: none;
}

.brand-phone-box:hover {
  border-color: var(--primary-blue);
  box-shadow: 0 6px 20px rgba(14, 58, 126, 0.12);
  transform: translateY(-1px);
}

.brand-phone-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(14, 58, 126, 0.25);
}

.brand-phone-icon-wrap svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.phone-live-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22C55E;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: liveDotPulse 1.8s infinite;
}

@keyframes liveDotPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.brand-phone-info {
  display: flex;
  flex-direction: column;
}

.brand-phone-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.brand-phone-label {
  font-size: 0.68rem;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brand-phone-status {
  font-size: 0.65rem;
  font-weight: 700;
  color: #16A34A;
  background: rgba(34, 197, 94, 0.12);
  padding: 0.05rem 0.35rem;
  border-radius: 9999px;
}

.brand-phone-val {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.01em;
}

.brand-phone-box:hover .brand-phone-val {
  color: var(--primary-blue);
}

.brand-phone-sub {
  font-size: 0.7rem;
  color: #64748B;
  font-weight: 600;
}

/* ==========================================================================
   NAVIGATION HEADER (STICKY NAVBAR & MENUS)
   ========================================================================== */
.header {
  background: var(--bg-surface);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-base);
  width: 100%;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.mobile-brand-link {
  display: none;
}

.navbar {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 0.65rem 0.65rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition-fast);
  white-space: nowrap;
  text-transform: capitalize;
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--primary-blue);
  background-color: rgba(14, 58, 126, 0.06);
}

.nav-arrow {
  width: 10px;
  height: 10px;
  fill: currentColor;
  opacity: 0.6;
  transition: transform var(--transition-fast);
}

.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* Submenu Dropdown */
.submenu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 285px;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 0.65rem 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  z-index: 100;
}

.nav-item:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu-item {
  margin-bottom: 2px;
}

.submenu-item:last-child {
  margin-bottom: 0;
}

.submenu-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.865rem;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.submenu-link:hover {
  background-color: var(--bg-surface-alt);
  color: var(--primary-blue);
  padding-left: 1.05rem;
}

.submenu-icon {
  width: 16px;
  height: 16px;
  fill: var(--accent-teal);
  opacity: 0.85;
  flex-shrink: 0;
}

.submenu-pill {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.45rem;
  border-radius: var(--radius-full);
  margin-left: auto;
}

.submenu-pill-info {
  background: #0284C7;
  color: #FFFFFF;
}

.submenu-pill-success {
  background: #16A34A;
  color: #FFFFFF;
}

/* Header CTAs */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.925rem;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-blue);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(14, 58, 126, 0.25);
}

.btn-primary:hover {
  background: var(--primary-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(14, 58, 126, 0.35);
  color: #FFFFFF;
}

/* Donation Button Attention Pulse */
@keyframes donateAttentionBlink {
  0% {
    background: linear-gradient(135deg, #0E3A7E 0%, #0D9488 50%, #059669 100%);
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.8), 0 4px 14px rgba(14, 58, 126, 0.45);
    transform: scale(1);
    filter: brightness(1);
  }
  25% {
    background: linear-gradient(135deg, #0D9488 0%, #10B981 40%, #0E3A7E 100%);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.6), 0 0 22px rgba(13, 148, 136, 0.7);
    transform: scale(1.04);
    filter: brightness(1.18);
  }
  50% {
    background: linear-gradient(135deg, #0E3A7E 0%, #0D9488 50%, #059669 100%);
    box-shadow: 0 0 0 12px rgba(16, 185, 129, 0), 0 0 26px rgba(14, 58, 126, 0.5);
    transform: scale(1);
    filter: brightness(1);
  }
  75% {
    background: linear-gradient(135deg, #071D49 0%, #0E3A7E 40%, #10B981 100%);
    box-shadow: 0 0 0 7px rgba(14, 58, 126, 0.6), 0 0 24px rgba(20, 184, 166, 0.8);
    transform: scale(1.05);
    filter: brightness(1.22);
  }
  100% {
    background: linear-gradient(135deg, #0E3A7E 0%, #0D9488 50%, #059669 100%);
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0), 0 4px 14px rgba(14, 58, 126, 0.45);
    transform: scale(1);
    filter: brightness(1);
  }
}

@keyframes donateHeartBeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.35); }
  30% { transform: scale(1); }
  45% { transform: scale(1.22); }
  60% { transform: scale(1); }
}

@keyframes donateShimmerSweep {
  0% { transform: translateX(-150%) skewX(-25deg); }
  40%, 100% { transform: translateX(250%) skewX(-25deg); }
}

.btn-accent, .btn-donate-attention {
  background: linear-gradient(135deg, #0E3A7E 0%, #0D9488 60%, #059669 100%);
  background-size: 200% 200%;
  color: #FFFFFF !important;
  font-weight: 800;
  letter-spacing: 0.025em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
  animation: donateAttentionBlink 2.2s infinite ease-in-out;
  border: 1.5px solid rgba(45, 212, 191, 0.7) !important;
  box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.8), 0 4px 14px rgba(14, 58, 126, 0.45);
  z-index: 2;
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-accent::before, .btn-donate-attention::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  animation: donateShimmerSweep 2.5s infinite ease-in-out;
  pointer-events: none;
  z-index: 1;
}

.btn-accent:hover, .btn-donate-attention:hover {
  animation-play-state: paused;
  transform: translateY(-2px) scale(1.06);
  filter: brightness(1.25);
  box-shadow: 0 0 28px rgba(20, 184, 166, 0.95), 0 8px 24px rgba(14, 58, 126, 0.6) !important;
  color: #FFFFFF !important;
  border-color: #2DD4BF !important;
}

.btn-accent svg, .btn-donate-attention svg {
  animation: donateHeartBeat 1.6s infinite ease-in-out;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
  position: relative;
  z-index: 3;
}

.btn-teal {
  background: var(--accent-teal);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.btn-teal:hover {
  background: #0F766E;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(13, 148, 136, 0.35);
  color: #FFFFFF;
}

.btn-outline {
  border: 1.5px solid var(--border-subtle);
  background: transparent;
  color: var(--text-dark);
}

.btn-outline:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: rgba(14, 58, 126, 0.04);
}

.btn-white {
  background: #FFFFFF;
  color: var(--primary-navy);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* PayPal Button Components */
.btn-paypal {
  background: linear-gradient(180deg, #FFD159 0%, #FFC439 100%);
  color: #003087 !important;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  border: 1px solid #E5AF28 !important;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(255, 196, 57, 0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-paypal:hover {
  background: #F4BA31;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 196, 57, 0.65);
  color: #002266 !important;
}

.btn-paypal-lg {
  width: 100%;
  padding: 0.95rem 1.5rem;
  font-size: 1.05rem;
}

.btn-paypal-header {
  background: linear-gradient(180deg, #FFD159 0%, #FFC439 100%);
  color: #003087 !important;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.825rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  border: 1px solid #E5AF28;
  box-shadow: 0 2px 10px rgba(255, 196, 57, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-paypal-header:hover {
  background: #F4BA31;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 196, 57, 0.55);
  color: #002266 !important;
}

.btn-paypal-card {
  background: #2C2E2F;
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid #1E1F20 !important;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(44, 46, 47, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.btn-paypal-card:hover {
  background: #1A1A1A;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  color: #FFFFFF !important;
}

.paypal-svg-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.donation-amount-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.donation-amount-btn {
  background: var(--bg-surface-alt);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.5rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-navy);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.donation-amount-btn:hover,
.donation-amount-btn.active {
  background: #0E3A7E;
  color: #FFFFFF;
  border-color: #0E3A7E;
  box-shadow: 0 4px 12px rgba(14, 58, 126, 0.25);
  transform: translateY(-1px);
}

.donation-freq-toggle {
  display: flex;
  background: var(--bg-surface-alt);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border-light);
}

.donation-freq-btn {
  flex: 1;
  padding: 0.55rem;
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: calc(var(--radius-md) - 3px);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.donation-freq-btn.active {
  background: #FFFFFF;
  color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
}

.paypal-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.775rem;
  color: var(--text-muted);
}

.card-icons-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.card-badge {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 3px;
  padding: 0.15rem 0.4rem;
  font-size: 0.65rem;
  font-weight: 800;
  color: #334155;
  letter-spacing: 0.03em;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--primary-navy);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ==========================================================================
   HERO FULL-WIDTH SLIDER SECTION
   ========================================================================== */
.hero-slider-section {
  position: relative;
  background: linear-gradient(135deg, #071739 0%, #0B2556 50%, #0F3E7A 100%);
  color: #FFFFFF;
  padding: 5rem 0 3.75rem 0;
  overflow: hidden;
}

.slider-ambient-glow {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(13, 148, 136, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(217, 119, 6, 0.20) 0%, transparent 45%);
  pointer-events: none;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.slider-container {
  position: relative;
  z-index: 2;
}

.slide-item {
  display: none;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  animation: fadeIn 0.6s ease forwards;
}

.slide-item.active {
  display: grid;
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #A5F3FC;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-teal-light);
  box-shadow: 0 0 10px var(--accent-teal-light);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.3rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
  color: #FFFFFF;
}

.hero-title span.highlight-teal {
  color: #38BDF8;
}

.hero-title span.highlight-gold {
  color: #FBBF24;
}

.hero-title span.highlight-emerald {
  color: #34D399;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #CBD5E1;
  font-weight: 400;
  margin-bottom: 2.2rem;
  max-width: 620px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #CBD5E1;
}

.trust-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-teal-light);
}

.hero-media {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid rgba(255, 255, 255, 0.15);
  background: #0A192F;
}

.hero-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

.hero-floating-card {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 300px;
  color: var(--primary-navy);
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: floatCard 4s ease-in-out infinite;
  z-index: 5;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.floating-icon-box {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-teal) 0%, #0F766E 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
}

.floating-icon-box svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.floating-text-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--primary-navy);
}

.floating-text-label {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-muted);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-dot.active {
  width: 32px;
  border-radius: 9999px;
  background: var(--accent-teal-light);
}

/* ==========================================================================
   ADRA AFGHANISTAN STYLE BREAKING NEWS MARQUEE (adra-af.org)
   ========================================================================== */
.adra-news-ticker-bar, .news-ticker-bar {
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  border-bottom: 3px solid #007A3D;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
  position: relative;
  z-index: 25;
  width: 100%;
}

.adra-ticker-wrapper, .ticker-wrapper {
  display: flex;
  align-items: center;
  min-height: 50px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.25rem;
  position: relative;
  gap: 0.85rem;
}

.adra-ticker-badge, .ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #007A3D 0%, #005F2F 100%);
  color: #FFFFFF;
  padding: 0.48rem 1.35rem 0.48rem 0.95rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  flex-shrink: 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 122, 61, 0.35);
}

.adra-ticker-badge-pointer, .ticker-badge-arrow {
  position: absolute;
  right: -10px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 10px solid #005F2F;
}

.adra-ticker-icon {
  font-size: 0.95rem;
  line-height: 1;
}

.adra-ticker-live-dot, .ticker-live-dot {
  width: 7px;
  height: 7px;
  background-color: #A7F3D0;
  border-radius: 50%;
  box-shadow: 0 0 8px #A7F3D0;
  animation: pulseLiveDot 1.4s infinite ease-in-out;
}

@keyframes pulseLiveDot {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}

.adra-marquee-container, .ticker-marquee-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.adra-marquee-track {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #1E293B;
  display: flex;
  align-items: center;
  cursor: default;
}

.adra-ticker-item, .ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0 0.5rem;
  white-space: nowrap;
}

.adra-pill, .ticker-pill {
  font-family: var(--font-display);
  font-size: 0.675rem;
  font-weight: 800;
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.adra-pill-wash, .ticker-pill-wash {
  background: #E0F2FE;
  color: #0369A1;
  border: 1px solid #BAE6FD;
}

.adra-pill-tender, .ticker-pill-tender {
  background: #FEF3C7;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.adra-pill-edu, .ticker-pill-edu {
  background: #EEF2FF;
  color: #4338CA;
  border: 1px solid #C7D2FE;
}

.adra-pill-relief, .ticker-pill-relief {
  background: #FEE2E2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}

.adra-pill-agri, .ticker-pill-agri {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
}

.adra-pill-career, .ticker-pill-career {
  background: #F3E8FF;
  color: #6D28D9;
  border: 1px solid #DDD6FE;
}

.adra-pill-pub, .ticker-pill-pub {
  background: #E0F7FA;
  color: #00695C;
  border: 1px solid #B2EBF2;
}

.adra-ticker-link, .ticker-link {
  color: #0E3A7E;
  font-size: 0.885rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.adra-ticker-link:hover, .ticker-link:hover {
  color: #007A3D;
  text-decoration: underline;
}

.adra-ticker-date, .ticker-date {
  font-size: 0.725rem;
  font-weight: 700;
  color: #64748B;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  white-space: nowrap;
}

.adra-ticker-divider, .ticker-divider {
  color: #94A3B8;
  font-size: 0.85rem;
  padding: 0 0.85rem;
  user-select: none;
}

.adra-ticker-actions, .ticker-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
}

.adra-ticker-pause-btn {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #334155;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.adra-ticker-pause-btn:hover {
  background: #007A3D;
  color: #FFFFFF;
  border-color: #007A3D;
  transform: scale(1.08);
}

.adra-ticker-all-link, .ticker-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #007A3D;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.adra-ticker-all-link svg, .ticker-action-link svg {
  width: 13px;
  height: 13px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  transition: transform var(--transition-fast);
}

.adra-ticker-all-link:hover, .ticker-action-link:hover {
  background: #007A3D;
  color: #FFFFFF;
  border-color: #007A3D;
}

.adra-ticker-all-link:hover svg, .ticker-action-link:hover svg {
  transform: translateX(3px);
}

.adra-news-ticker-bar + .container .stats-strip,
.news-ticker-bar + .container .stats-strip {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

/* ==========================================================================
   METRICS / IMPACT STATS STRIP
   ========================================================================== */
.stats-strip {
  background: var(--bg-surface);
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 56px -12px rgba(15, 23, 42, 0.14), 0 0 0 1px rgba(15, 23, 42, 0.05);
  border: 1px solid var(--border-light);
  padding: 2.25rem 2.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: center;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--border-light);
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon.blue {
  background: rgba(14, 58, 126, 0.1);
  color: var(--primary-blue);
}

.stat-icon.teal {
  background: var(--accent-teal-soft);
  color: var(--accent-teal);
}

.stat-icon.amber {
  background: var(--accent-amber-soft);
  color: var(--accent-amber);
}

.stat-icon.green {
  background: #DCFCE7;
  color: var(--accent-emerald);
}

.stat-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-navy);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 0.2rem;
}

/* ==========================================================================
   COMMON SECTION STYLES
   ========================================================================== */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-surface-alt);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem auto;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(14, 58, 126, 0.08);
  color: var(--primary-blue);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  color: var(--primary-navy);
  line-height: 1.18;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.075rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Page Banner (For Inner Subpages) */
.page-banner {
  background: linear-gradient(135deg, #071739 0%, #0E3A7E 100%);
  color: #FFFFFF;
  padding: 4.5rem 0 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.page-banner .container {
  position: relative;
  z-index: 2;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #94A3B8;
  margin-bottom: 1rem;
}

.breadcrumb-nav a {
  color: #CBD5E1;
}

.breadcrumb-nav a:hover {
  color: #FFFFFF;
}

.breadcrumb-nav span {
  color: var(--accent-teal-light);
}

.page-banner-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.page-banner-desc {
  font-size: 1.1rem;
  color: #CBD5E1;
  max-width: 720px;
  line-height: 1.6;
}

/* ==========================================================================
   PROGRAMS / SECTORS GRID CARDS
   ========================================================================== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.program-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(14, 58, 126, 0.25);
}

.program-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #E2E8F0;
}

.program-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.program-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.program-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.program-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.program-card-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.program-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-blue);
  transition: gap var(--transition-fast);
}

.program-card-link:hover {
  gap: 0.65rem;
  color: var(--accent-teal);
}

.program-card-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ==========================================================================
   ABOUT STORY / MISSION SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-images-stack {
  position: relative;
}

.about-img-main {
  width: 90%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 4px solid #FFFFFF;
  background: #E2E8F0;
}

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: 0;
  width: 58%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 4px solid #FFFFFF;
  background: #CBD5E1;
}

.about-badge-established {
  position: absolute;
  top: 20px;
  left: -20px;
  background: var(--primary-navy);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-badge-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: #F59E0B;
  line-height: 1;
}

.about-badge-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #E2E8F0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.about-content-block h2 {
  font-family: var(--font-display);
  font-size: 2.35rem;
  font-weight: 900;
  color: var(--primary-navy);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.about-content-block p {
  font-size: 1.05rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-highlights-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0 2rem 0;
}

.about-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.about-highlight-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-teal-soft);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-highlight-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.about-highlight-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* ==========================================================================
   FEATURED PROJECTS & INTERVENTIONS
   ========================================================================== */
.projects-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  transition: var(--transition-fast);
  cursor: pointer;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary-blue);
  color: #FFFFFF;
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(14, 58, 126, 0.2);
}

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

.project-item-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.project-item-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.project-card-thumb {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #E2E8F0;
}

.project-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-item-card:hover .project-card-thumb img {
  transform: scale(1.06);
}

.project-donor-tag {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(14, 58, 126, 0.9);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-size: 0.725rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.project-card-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.775rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.project-desc {
  font-size: 0.925rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.project-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
}

.status-pill {
  font-weight: 800;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

.status-completed {
  background: #DCFCE7;
  color: #15803D;
}

.status-running {
  background: #EFF6FF;
  color: #1D4ED8;
}

/* ==========================================================================
   WHERE WE WORK (PROVINCES REACH)
   ========================================================================== */
.provinces-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.province-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.province-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.province-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(14, 58, 126, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
}

.province-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
}

.province-role {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}

.province-stats {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PARTNERS & DONORS GRID
   ========================================================================== */
.donors-section {
  padding: 4rem 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.donors-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  opacity: 0.85;
}

.donor-logo-pill {
  padding: 0.85rem 1.5rem;
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: #334155;
  transition: all var(--transition-fast);
}

.donor-logo-pill:hover {
  background: #FFFFFF;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* ==========================================================================
   CUSTOM TABLE CARDS (MACHINERY & TENDERS)
   ========================================================================== */
.custom-table-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th {
  background: var(--bg-surface-alt);
  padding: 1.1rem 1.25rem;
  font-family: var(--font-display);
  font-size: 0.825rem;
  font-weight: 800;
  color: var(--primary-navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid var(--border-light);
}

.custom-table td {
  padding: 1.2rem 1.25rem;
  font-size: 0.925rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.custom-table tr:hover td {
  background-color: #F8FAFC;
}

.badge-status {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.badge-status-ready {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #BBF7D0;
}

/* ==========================================================================
   LEADERSHIP GRID
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.team-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  text-align: center;
  padding: 2rem 1.5rem;
}

.team-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-blue);
}

.team-img-frame {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(14, 58, 126, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  font-size: 2rem;
  border: 2px solid var(--border-light);
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.team-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   GALLERY GRID
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #E2E8F0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 47, 0.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #FFFFFF;
  opacity: 0;
  transition: opacity var(--transition-fast);
  padding: 1rem;
  text-align: center;
}

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

.gallery-item-overlay span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
}

/* ==========================================================================
   FOOTER SYSTEM
   ========================================================================== */
.footer {
  background-color: var(--primary-navy);
  color: #E2E8F0;
  padding: 5rem 0 2rem 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.65rem;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--accent-teal);
  border-radius: 2px;
}

.footer-brand-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.footer-brand-pashto {
  font-family: var(--font-pashto);
  font-size: 1.25rem;
  color: var(--accent-teal-light);
  margin-bottom: 0.85rem;
  direction: rtl;
  text-align: left;
}

.footer-desc {
  font-size: 0.9rem;
  color: #94A3B8;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-links-list li {
  margin-bottom: 0.65rem;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links-list a:hover {
  color: var(--accent-teal-light);
  padding-left: 0.35rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #CBD5E1;
  margin-bottom: 1rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-teal-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.825rem;
  color: #94A3B8;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-credits {
  font-size: 0.825rem;
  color: #CBD5E1;
  text-align: center;
}

.footer-credits strong {
  color: #FFFFFF;
}

.footer-credits a {
  color: var(--accent-teal-light);
  font-weight: 700;
  transition: color var(--transition-fast);
}

.footer-credits a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

/* ==========================================================================
   MODAL STYLES (LOGIN & DONATION QUICK MODAL)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  max-width: 520px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-base);
}

.modal-overlay.active .modal-dialog {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #F1F5F9;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: #E2E8F0;
  color: var(--primary-navy);
}

/* Form controls */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.45rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #FFFFFF;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(14, 58, 126, 0.12);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
  .programs-grid, .projects-cards-grid, .team-grid, .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .provinces-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 960px) {
  .brand-strip .container {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .brand-main-block {
    justify-content: center;
  }
  .slide-item {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-media {
    order: -1;
    max-width: 540px;
    margin: 0 auto;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-img-main {
    width: 100%;
    height: 360px;
  }
  .about-img-secondary {
    display: none;
  }
}

@media (max-width: 860px) {
  .header .container {
    height: 64px;
    padding: 0 1rem;
  }
  .mobile-brand-link {
    display: inline-flex !important;
    align-items: center;
    gap: 0.55rem;
  }
  .mobile-brand-logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
  }
  .mobile-brand-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-navy);
  }
  .mobile-brand-title span {
    color: var(--accent-teal);
  }
  .navbar {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background: #FFFFFF;
    overflow-y: auto;
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    align-items: flex-start;
  }
  .navbar.active {
    display: flex;
  }
  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }
  .nav-item {
    width: 100%;
  }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
  }
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: #F8FAFC;
    border-radius: var(--radius-md);
    padding: 0.5rem;
    margin-top: 0.25rem;
    display: none;
  }
  .nav-item.open .submenu {
    display: block;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .adra-news-ticker-bar + .container .stats-strip,
  .news-ticker-bar + .container .stats-strip {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .stats-strip {
    margin-top: -1.5rem;
    padding: 1.5rem;
  }
  .adra-ticker-wrapper, .ticker-wrapper {
    padding: 0 0.85rem;
    min-height: 46px;
    gap: 0.5rem;
  }
  .adra-ticker-badge, .ticker-badge {
    padding: 0.35rem 0.85rem 0.35rem 0.65rem;
    font-size: 0.72rem;
  }
  .adra-ticker-badge-pointer {
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 8px solid #005F2F;
    right: -8px;
  }
  .adra-ticker-all-link, .ticker-action {
    display: none;
  }
  .adra-ticker-link, .ticker-link {
    font-size: 0.82rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 1rem 0;
  }
  .stat-item:last-child {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .programs-grid, .projects-cards-grid, .team-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }
  .provinces-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .topbar-left a[href^="mailto:"] {
    display: none;
  }
  .topbar-lang-group, .topbar-magazine-btn, .topbar-live-btn {
    display: none !important;
  }
  .btn-paypal-header {
    padding: 0.35rem 0.65rem;
    font-size: 0.76rem;
    gap: 0.25rem;
  }
  .btn-donate-attention {
    padding: 0.45rem 0.85rem;
    font-size: 0.82rem;
  }
  .donate-attention-badge {
    display: none;
  }
}
