/* ═══════════════════════════════════════════════════════════
   NCRO — New Consultancy and Relief Organization
   High-End, Ultra-Modern NGO Styling System (style.css)
   Mobile-First, Responsive, RTL-Ready, Pixel-Perfect
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Vazirmatn:wght@400;500;700;800&display=swap');

:root {
  --primary: #0f4c81;
  --primary-dark: #0a2540;
  --primary-light: #f0f7ff;
  --primary-glow: rgba(15, 76, 129, 0.18);
  --accent: #10b981;
  --accent-dark: #059669;
  --accent-light: #ecfdf5;
  --gold: #f59e0b;
  --gold-light: #fef3c7;
  --coral: #ef4444;
  --dark: #091321;
  --dark-surface: #111e33;
  --text: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 20px -4px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 30px -8px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 25px 50px -12px rgba(15, 23, 42, 0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --container-max: 1260px;
}

html[dir="rtl"] {
  font-family: 'Vazirmatn', system-ui, sans-serif;
}
html[dir="rtl"] body {
  text-align: right;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background-color: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--dark);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 {
  font-family: 'Vazirmatn', sans-serif;
  letter-spacing: 0;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ═══════════════════════════════════════════════════════════
   1. ATTRACTIVE TOP BAR (NCRO Profile, Stories, Channel, FB, Portal)
   ═══════════════════════════════════════════════════════════ */
.top-bar {
  background: #0a192f;
  color: #94a3b8;
  font-size: 0.82rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 100;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.top-bar a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

.top-bar a:hover {
  color: #38bdf8;
}

.top-bar-sep {
  color: rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
}

.top-icon {
  font-size: 0.9rem;
}

/* Attractive Action Chips (Profile, Stories, Portal) */
.top-bar-chip {
  padding: 0.22rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.top-profile-chip {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25), rgba(14, 165, 233, 0.15));
  color: #38bdf8 !important;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.top-profile-chip:hover {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.45), rgba(14, 165, 233, 0.3));
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.35);
}

.top-stories-chip {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.15));
  color: #34d399 !important;
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.top-stories-chip:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.4), rgba(5, 150, 105, 0.3));
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(52, 211, 153, 0.35);
}

/* Sharp Eye-Catching Color Switching for Staff Portal */
@keyframes sharpPortalCycle {
  0%, 24% {
    background: #f59e0b;
    color: #0b1727 !important;
    border-color: #fbbf24;
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.9), inset 0 0 4px rgba(255, 255, 255, 0.6);
  }
  25%, 49% {
    background: #10b981;
    color: #ffffff !important;
    border-color: #34d399;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.9), inset 0 0 4px rgba(255, 255, 255, 0.6);
  }
  50%, 74% {
    background: #0284c7;
    color: #ffffff !important;
    border-color: #38bdf8;
    box-shadow: 0 0 14px rgba(2, 132, 199, 0.9), inset 0 0 4px rgba(255, 255, 255, 0.6);
  }
  75%, 99% {
    background: #e11d48;
    color: #ffffff !important;
    border-color: #fb7185;
    box-shadow: 0 0 14px rgba(225, 29, 72, 0.9), inset 0 0 4px rgba(255, 255, 255, 0.6);
  }
  100% {
    background: #f59e0b;
    color: #0b1727 !important;
    border-color: #fbbf24;
    box-shadow: 0 0 14px rgba(245, 158, 11, 0.9), inset 0 0 4px rgba(255, 255, 255, 0.6);
  }
}

.top-portal-chip {
  animation: sharpPortalCycle 4s steps(1, end) infinite;
  font-weight: 800 !important;
  letter-spacing: 0.4px;
  position: relative;
  transition: transform 0.2s ease;
}

.top-portal-chip:hover {
  animation-play-state: paused;
  transform: scale(1.08) translateY(-1px);
}

.top-channel-link {
  color: #f87171 !important;
}

.top-channel-link:hover {
  color: #fca5a5 !important;
  text-shadow: 0 0 8px rgba(248, 113, 113, 0.5);
}

.top-channel-dot {
  color: #ef4444;
  font-size: 0.85rem;
}

.top-fb-link {
  color: #60a5fa !important;
}

.top-fb-link:hover {
  color: #93c5fd !important;
  text-shadow: 0 0 8px rgba(96, 165, 250, 0.5);
}

.top-fb-icon {
  font-weight: 900;
  font-family: serif;
  background: #1d4ed8;
  color: #fff;
  width: 17px;
  height: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-size: 0.75rem;
  line-height: 1;
}

/* ═══════════════════════════════════════════════════════════
   PASHTO SUB-TOP BAR (OFFICIAL TITLE & MOTTO BELOW TOP BAR)
   ═══════════════════════════════════════════════════════════ */
.pashto-sub-bar {
  background: linear-gradient(90deg, #0b2545 0%, #064e3b 45%, #0b2545 100%);
  color: #f1f5f9;
  padding: 0.45rem 0;
  border-bottom: 2px solid #10b981;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 95;
}

.pashto-sub-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pashto-title-box {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Vazirmatn', 'Noto Naskh Arabic', Tahoma, sans-serif;
}

.pashto-flag-icon {
  font-size: 1.05rem;
}

.pashto-name-text {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.2px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.pashto-tag {
  background: rgba(52, 211, 153, 0.22);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.45);
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
}

.pashto-slogan-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.825rem;
}

.pashto-slogan-text {
  font-family: 'Vazirmatn', 'Noto Naskh Arabic', Tahoma, sans-serif;
  color: #a7f3d0;
  font-weight: 500;
}

.pashto-slogan-en {
  background: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .pashto-sub-bar-inner {
    justify-content: center;
    text-align: center;
  }
  .pashto-slogan-box {
    display: none;
  }
}

.lang-switcher select {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.65rem;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.lang-switcher select option {
  background: var(--dark);
  color: #ffffff;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links a {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.75rem;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   SMART STICKY NAVBAR
   ═══════════════════════════════════════════════════════════ */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  gap: 0.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-brand img {
  height: 48px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
  list-style: none;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.45rem 0.52rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: #1e293b;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

/* Attraction "NEW" Badge on Top of Careers & RFP Navigation Links */
.nav-new-badge {
  position: absolute;
  top: -7px;
  right: -5px;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: #ffffff !important;
  font-size: 0.58rem;
  font-weight: 900;
  padding: 0.12rem 0.4rem;
  border-radius: 9999px;
  letter-spacing: 0.6px;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.65), 0 0 0 1.5px #ffffff;
  animation: sharpNewBadgePulse 1.8s infinite ease-in-out;
  pointer-events: none;
  z-index: 10;
  text-transform: uppercase;
}

[dir="rtl"] .nav-new-badge {
  right: auto;
  left: -5px;
}

@keyframes sharpNewBadgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.65), 0 0 0 1.5px #ffffff;
  }
  50% {
    transform: scale(1.18);
    box-shadow: 0 0 14px rgba(239, 68, 68, 0.95), 0 0 0 2px #ffffff;
  }
}

.nav-link .nav-arrow {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
  color: #64748b;
}

.nav-link:hover, .nav-item:hover > .nav-link, .nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-item:hover > .nav-link .nav-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #ffffff;
  min-width: 265px;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(15, 23, 42, 0.06);
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
}

html[dir="rtl"] .dropdown-menu {
  left: auto;
  right: 0;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.95rem;
  font-size: 0.875rem;
  color: #334155;
  font-weight: 600;
  border-radius: 6px;
  transition: var(--transition);
}

.dropdown-link:hover {
  background: #eff6ff;
  color: var(--primary) !important;
  transform: translateX(4px);
}

html[dir="rtl"] .dropdown-link:hover {
  transform: translateX(-4px);
}

/* ═══════════════════════════════════════════════════════════
   SMART LOOKER DONATE CTA BUTTON
   ═══════════════════════════════════════════════════════════ */
.btn-donate {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #059669 0%, #10b981 50%, #0d9488 100%);
  background-size: 200% 200%;
  color: #ffffff !important;
  padding: 0.5rem 1.15rem;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.84rem;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.45);
  margin-left: 0.5rem;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 1;
}

/* Pulsing heart inside smart donate button */
.donate-heart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  color: #fecdd3;
  animation: smartHeartbeat 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(244, 63, 94, 0.7));
}

@keyframes smartHeartbeat {
  0% { transform: scale(1); }
  14% { transform: scale(1.25); }
  28% { transform: scale(1); }
  42% { transform: scale(1.25); }
  70% { transform: scale(1); }
  100% { transform: scale(1); }
}

/* Smart Looker Light Sweep Effect */
.btn-donate::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -70%;
  width: 45%;
  height: 220%;
  background: linear-gradient(
    65deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: smartDonateRay 3.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes smartDonateRay {
  0%, 65% { left: -70%; opacity: 0; }
  70% { opacity: 1; }
  100% { left: 150%; opacity: 0; }
}

html[dir="rtl"] .btn-donate {
  margin-left: 0;
  margin-right: 0.5rem;
}

.btn-donate:hover {
  transform: translateY(-2.5px) scale(1.04);
  background: linear-gradient(135deg, #047857 0%, #059669 45%, #0f766e 100%);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.65), 0 0 16px rgba(52, 211, 153, 0.5), inset 0 1px 2px rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-donate:active {
  transform: translateY(0) scale(0.98);
}

.mobile-toggle {
  display: none;
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0.5rem 0.75rem;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS & BADGES
   ═══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px var(--primary-glow);
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.25);
}

.btn-secondary {
  background: #ffffff;
  color: var(--dark);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: var(--bg-light);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.825rem;
  border-radius: var(--radius-sm);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-primary {
  background: var(--primary-light);
  color: var(--primary);
}

.badge-accent {
  background: var(--accent-light);
  color: var(--accent-dark);
}

.badge-gold {
  background: var(--gold-light);
  color: #b45309;
}

/* ═══════════════════════════════════════════════════════════
   SMART HERO SECTION (FULL IMAGE SHOWCASE)
   ═══════════════════════════════════════════════════════════ */
.hero-slider-section {
  position: relative;
  background: #061527;
  overflow: hidden;
  min-height: 640px;
}

.hero-slider {
  position: relative;
  min-height: 640px;
  width: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.slider-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #38bdf8 0%, #34d399 50%, #fbbf24 100%);
  z-index: 15;
  width: 0%;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.8);
}

/* ═══════════════════════════════════════════════════════════
   HERO BACKDROP: AFGHANISTAN POPULAR PLACES & MOUNTAINS
   ═══════════════════════════════════════════════════════════ */
.hero-backdrop-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.02);
  transition: transform 9s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

.hero-slide.active .hero-backdrop-img {
  transform: scale(1.08);
}

/* Atmospheric Multi-stop Gradient Scrim: Guarantees text is NEVER interrupted */
.hero-backdrop-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: 
    linear-gradient(90deg, 
      rgba(4, 12, 24, 0.96) 0%, 
      rgba(4, 12, 24, 0.91) 36%, 
      rgba(6, 17, 33, 0.74) 56%, 
      rgba(6, 17, 33, 0.38) 80%, 
      rgba(6, 17, 33, 0.18) 100%
    ),
    linear-gradient(180deg, 
      rgba(4, 12, 24, 0.65) 0%, 
      transparent 18%, 
      transparent 80%, 
      rgba(4, 12, 24, 0.88) 100%
    );
}

[dir="rtl"] .hero-backdrop-scrim {
  background: 
    linear-gradient(270deg, 
      rgba(4, 12, 24, 0.96) 0%, 
      rgba(4, 12, 24, 0.91) 36%, 
      rgba(6, 17, 33, 0.74) 56%, 
      rgba(6, 17, 33, 0.38) 80%, 
      rgba(6, 17, 33, 0.18) 100%
    ),
    linear-gradient(180deg, 
      rgba(4, 12, 24, 0.65) 0%, 
      transparent 18%, 
      transparent 80%, 
      rgba(4, 12, 24, 0.88) 100%
    );
}

.hero-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 3;
  padding: 4.5rem 0 5.5rem;
  width: 100%;
}

.hero-text-col {
  color: #fff;
  position: relative;
  z-index: 5;
}

.hero-location-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(8, 20, 38, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(251, 191, 36, 0.55);
  color: #fbbf24;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  letter-spacing: 0.4px;
}

.hero-location-tag .loc-icon {
  font-size: 0.95rem;
}

.hero-brand-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(8, 20, 38, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(52, 211, 153, 0.5);
  padding: 0.35rem 0.85rem 0.35rem 0.5rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.hero-brand-logo-img {
  height: 32px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.hero-brand-tag-text {
  font-size: 0.78rem;
  font-weight: 800;
  color: #34d399;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(8, 20, 38, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(251, 191, 36, 0.45);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  color: #fbbf24;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  width: fit-content;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.hero-title {
  font-size: 3.1rem;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 900;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.95);
  letter-spacing: -0.5px;
}

.hero-title span {
  color: #38bdf8;
  background: linear-gradient(135deg, #38bdf8 0%, #4ade80 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-text {
  font-size: 1.125rem;
  color: #f8fafc;
  margin-bottom: 1.75rem;
  line-height: 1.75;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.95);
  max-width: 640px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.hero-badge-item {
  background: rgba(6, 16, 32, 0.88);
  backdrop-filter: blur(12px);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

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

/* Full Image Showcase Frame */
.hero-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8), 0 0 0 2px rgba(255, 255, 255, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-image-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.85), 0 0 0 2px rgba(255, 255, 255, 0.4);
}

.hero-image-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border-radius: 20px;
}

.hero-frame-badge {
  position: absolute;
  bottom: 22px;
  left: 22px;
  right: 22px;
  background: rgba(4, 12, 24, 0.94);
  backdrop-filter: blur(14px);
  color: #ffffff;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
}
  justify-content: space-between;
  align-items: center;
  font-size: 0.825rem;
}

.slider-prev, .slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.slider-prev:hover, .slider-next:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }

.slider-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 92%;
  gap: 0.5rem;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

/* ═══════════════════════════════════════════════════════════
   SMART FLOATING FEATURE CARDS (BELOW HERO)
   ═══════════════════════════════════════════════════════════ */
.hero-floating-strip {
  position: relative;
  margin-top: -3.5rem;
  z-index: 20;
}

.floating-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.floating-card {
  background: #ffffff;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.floating-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  border-color: var(--primary);
}

.floating-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.floating-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.floating-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════
   SMART TICKER
   ═══════════════════════════════════════════════════════════ */
.news-ticker-bar {
  background: #0a2540;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 0.875rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 2px solid var(--accent);
}

.ticker-label {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  padding: 0.75rem 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.775rem;
  letter-spacing: 1px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 44px;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker 32s linear infinite;
  gap: 3.5rem;
  padding-left: 100%;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e2e8f0;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ═══════════════════════════════════════════════════════════
   SECTIONS & TYPOGRAPHY
   ═══════════════════════════════════════════════════════════ */
.section {
  padding: 5.5rem 0;
}

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

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-dark);
  background: var(--accent-light);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.4rem;
  color: var(--dark);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   SMART DIRECTOR MESSAGE
   ═══════════════════════════════════════════════════════════ */
.director-block {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  align-items: center;
}

.director-photos-wrap {
  position: relative;
}

.director-photo-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  background: transparent;
  width: 100%;
}

.director-photo-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  border-radius: var(--radius-xl);
  transition: transform 0.4s ease;
}

.director-photo-main:hover img {
  transform: scale(1.02);
}

.director-photo-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(9, 19, 33, 0.9);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-lg);
}

html[dir="rtl"] .director-photo-badge {
  left: auto;
  right: 1.5rem;
}

.director-quote {
  position: relative;
  padding: 2rem 2.25rem;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border-left: 5px solid var(--accent);
  margin-bottom: 1.75rem;
}

html[dir="rtl"] .director-quote {
  border-left: none;
  border-right: 5px solid var(--accent);
}

.director-quote p {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--dark);
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════════════════
   SMART IMPACT COUNTERS
   ═══════════════════════════════════════════════════════════ */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.counter-card {
  background: #ffffff;
  padding: 2.75rem 1.75rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.counter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  opacity: 0;
  transition: var(--transition);
}

.counter-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-glow);
}

.counter-card:hover::before {
  opacity: 1;
}

.counter-icon {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

.counter-num {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 0.35rem;
  line-height: 1;
}

.counter-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════
   CORE SERVICES GRID (SMART CARDS)
   ═══════════════════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  border-color: var(--primary);
}

.service-card-img-wrap {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img {
  transform: scale(1.08);
}

.service-sector-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(9, 19, 33, 0.8);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

html[dir="rtl"] .service-sector-tag {
  left: auto;
  right: 1rem;
}

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

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.service-bullets {
  margin: 1rem 0 1.5rem;
  flex-grow: 1;
}

.service-bullets li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.35rem 0;
  position: relative;
  padding-left: 1.5rem;
}

html[dir="rtl"] .service-bullets li {
  padding-left: 0;
  padding-right: 1.5rem;
}

.service-bullets li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

html[dir="rtl"] .service-bullets li::before {
  left: auto;
  right: 0;
}

/* ═══════════════════════════════════════════════════════════
   SMART VIDEO EMBED SECTION
   ═══════════════════════════════════════════════════════════ */
.video-section-wrap {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-surface) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: center;
  box-shadow: 0 25px 60px rgba(9, 19, 33, 0.4);
}

.video-player-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.video-player-container:hover .video-thumbnail {
  transform: scale(1.04);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  cursor: pointer;
  box-shadow: 0 0 0 12px rgba(239, 68, 68, 0.35);
  transition: var(--transition);
  border: none;
}

.video-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 0 20px rgba(239, 68, 68, 0.45);
}

/* ═══════════════════════════════════════════════════════════
   SMART PROJECTS DIRECTORY TABLE
   ═══════════════════════════════════════════════════════════ */
.projects-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.filter-tabs {
  display: flex;
  gap: 0.4rem;
  background: #ffffff;
  padding: 0.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.filter-tab {
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab.active, .filter-tab:hover {
  background: var(--primary);
  color: #ffffff;
}

.search-input-wrap {
  position: relative;
  min-width: 300px;
}

.search-input-wrap input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.925rem;
  outline: none;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

html[dir="rtl"] .search-input-wrap input {
  padding: 0.75rem 2.6rem 0.75rem 1rem;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1rem;
}

html[dir="rtl"] .search-icon {
  left: auto;
  right: 1rem;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
  border: 1px solid var(--border);
}

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

html[dir="rtl"] .custom-table {
  text-align: right;
}

.custom-table th {
  background: var(--bg-light);
  color: var(--dark);
  font-weight: 800;
  padding: 1.15rem 1.4rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border);
}

.custom-table td {
  padding: 1.15rem 1.4rem;
  font-size: 0.925rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.custom-table tr:hover {
  background: #f8fafc;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 800;
}

.status-ongoing {
  background: #dcfce7;
  color: #15803d;
}

.status-completed {
  background: #e0f2fe;
  color: #0369a1;
}

/* ═══════════════════════════════════════════════════════════
   SMART DONORS & PARTNERS
   ═══════════════════════════════════════════════════════════ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.partner-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.partner-box:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  color: var(--accent-dark);
}

/* ═══════════════════════════════════════════════════════════
   SMART CONTACT & FOOTER
   ═══════════════════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3.5rem;
}

.contact-info-panel {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-surface) 100%);
  color: #fff;
  padding: 3rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.contact-form-panel {
  background: #ffffff;
  padding: 3rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  outline: none;
  transition: var(--transition);
  background: #ffffff;
  font-family: inherit;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.site-footer {
  background-color: #071322;
  color: #cbd5e1;
  padding-top: 5rem;
  font-size: 0.925rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-about-text {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--accent);
}

html[dir="rtl"] .footer-col h4::after {
  left: auto;
  right: 0;
}

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

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 0.4rem;
}

html[dir="rtl"] .footer-links a:hover {
  padding-left: 0;
  padding-right: 0.4rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  color: #94a3b8;
}

.footer-contact-icon {
  color: var(--accent);
  font-size: 1.1rem;
}

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

.footer-signature {
  font-size: 0.83rem;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.footer-signature a {
  color: #38bdf8;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-signature a:hover {
  color: #7dd3fc;
  text-decoration: underline;
  text-shadow: 0 0 6px rgba(56, 189, 248, 0.4);
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 900;
  box-shadow: 0 10px 25px rgba(15, 76, 129, 0.4);
  border: none;
  transition: var(--transition);
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  background: var(--accent);
  transform: translateY(-4px);
}

html[dir="rtl"] .back-to-top {
  right: auto;
  left: 2rem;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE MEDIA QUERIES
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    height: calc(100vh - 76px);
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 1.5rem 1.5rem 3.5rem;
    overflow-y: auto;
    display: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-top: 2px solid var(--primary);
    z-index: 9999;
  }
  .nav-menu.open {
    display: flex;
  }
  .nav-item {
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
  }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 0.95rem 0.75rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
  }
  .dropdown-menu {
    position: static;
    visibility: visible;
    opacity: 1;
    transform: none;
    box-shadow: none;
    border: none;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    padding: 0.4rem 0.5rem 0.75rem 1rem;
    margin-bottom: 0.5rem;
    display: none;
  }
  html[dir="rtl"] .dropdown-menu {
    padding: 0.4rem 1rem 0.75rem 0.5rem;
  }
  .nav-item.active-mobile .dropdown-menu {
    display: block;
  }
  .btn-donate {
    margin: 1.25rem 0 0;
    text-align: center;
    justify-content: center;
    padding: 0.85rem;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .hero-backdrop-scrim {
    background: 
      linear-gradient(180deg, 
        rgba(4, 12, 24, 0.94) 0%, 
        rgba(4, 12, 24, 0.88) 45%, 
        rgba(6, 17, 33, 0.65) 75%, 
        rgba(4, 12, 24, 0.92) 100%
      );
  }
  .floating-cards-grid, .counter-grid, .cards-grid-4, .inst-profile-grid, .hq-hero-card, .home-connect-banner {
    grid-template-columns: 1fr;
  }
  .services-grid, .locations-grid, .operations-showcase-grid, .regional-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-section-wrap, .director-block, .contact-layout, .hero-showcase-grid {
    grid-template-columns: 1fr;
  }
  .hero-image-frame img {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    min-height: auto;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .floating-cards-grid, .counter-grid, .services-grid, .locations-grid, .operations-showcase-grid, .regional-grid-3, .inst-pillars-grid {
    grid-template-columns: 1fr;
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .hero-image-frame img {
    height: 260px;
  }
  .home-connect-banner, .hq-hero-card {
    padding: 2rem 1.5rem;
  }
}

/* ═══════════════════════════════════════════════════════════
   SMART LIVE TICKER
   ═══════════════════════════════════════════════════════════ */
.news-ticker-wrap {
  margin: 2.5rem 0 1.5rem;
}

.news-ticker-smart {
  background: linear-gradient(135deg, #091a30 0%, #0d2542 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.ticker-live-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.775rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.85rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  z-index: 5;
  box-shadow: 4px 0 14px rgba(0, 0, 0, 0.2);
}

.ticker-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
  animation: livePulse 1.8s infinite;
}

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

.ticker-track-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 48px;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
}

.ticker-track {
  display: inline-flex;
  white-space: nowrap;
  animation: ticker 36s linear infinite;
  gap: 3.5rem;
  padding-left: 100%;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #e2e8f0;
  font-size: 0.885rem;
}

.ticker-item .ticker-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #38bdf8;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════════
   REDESIGNED INSTITUTIONAL PROFILE
   ═══════════════════════════════════════════════════════════ */
.inst-profile-section {
  padding: 5.5rem 0;
  background: #ffffff;
}

.inst-profile-grid {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 3rem;
  align-items: stretch;
}

.inst-credentials-card {
  background: linear-gradient(145deg, #091a30 0%, #0d2847 100%);
  border-radius: var(--radius-xl);
  padding: 2.75rem 2.25rem;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.inst-credentials-card::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.inst-cred-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.775rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  width: fit-content;
  margin-bottom: 1.25rem;
}

.inst-cred-title {
  font-size: 1.75rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-weight: 800;
  line-height: 1.25;
}

.inst-cred-slogan {
  font-size: 0.95rem;
  color: #94a3b8;
  font-style: italic;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.inst-cred-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.inst-cred-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.885rem;
  color: #cbd5e1;
}

.inst-cred-list li strong {
  color: #ffffff;
}

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

.inst-pillar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.inst-pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(15, 76, 129, 0.14);
  border-color: var(--primary);
}

.inst-pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.inst-pillar-card h3 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.65rem;
}

.inst-pillar-card p {
  font-size: 0.885rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.inst-pillar-card .pillar-link {
  margin-top: auto;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition);
}

.inst-pillar-card .pillar-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════════
   FRONTLINE OPERATIONS SHOWCASE
   ═══════════════════════════════════════════════════════════ */
.operations-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.op-showcase-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.op-showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  border-color: var(--primary);
}

.op-showcase-img-wrap {
  height: 210px;
  position: relative;
  overflow: hidden;
}

.op-showcase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.op-showcase-card:hover .op-showcase-img-wrap img {
  transform: scale(1.06);
}

.op-showcase-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.op-showcase-body h3 {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.op-showcase-body p {
  font-size: 0.885rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.op-showcase-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.825rem;
}

/* ═══════════════════════════════════════════════════════════
   REDESIGNED GEOGRAPHICAL FOOTPRINT
   ═══════════════════════════════════════════════════════════ */
.hq-hero-card {
  background: linear-gradient(135deg, #091a30 0%, #0d2847 100%);
  border-radius: var(--radius-xl);
  padding: 2.75rem 3rem;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.regional-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.regional-hub-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
  border-top: 4px solid var(--primary);
  display: flex;
  flex-direction: column;
}

.regional-hub-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
  border-top-color: var(--accent);
}

.field-stations-strip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.field-station-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-full);
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition);
}

.field-station-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 76, 129, 0.12);
}

/* ═══════════════════════════════════════════════════════════
   CURRENT ACTIVITIES SECTION (BELOW FIELD DOCUMENTARY)
   ═══════════════════════════════════════════════════════════ */
.activities-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.activity-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.activity-card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.activity-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.activity-card:hover .activity-card-img-wrap img {
  transform: scale(1.06);
}

.activity-badge-status {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(6, 17, 31, 0.9);
  backdrop-filter: blur(8px);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(52, 211, 153, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

[dir="rtl"] .activity-badge-status {
  left: auto;
  right: 14px;
}

.activity-badge-loc {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  background: rgba(6, 17, 31, 0.88);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.78rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.activity-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.activity-card-body h3 {
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.activity-card-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.activity-card-stat {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid #f1f5f9;
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ═══════════════════════════════════════════════════════════
   HOME PAGE DIRECT CONNECT CTA
   ═══════════════════════════════════════════════════════════ */
.home-connect-banner {
  background: linear-gradient(135deg, #091a30 0%, #0c233e 100%);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}

.home-connect-cta-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.home-connect-cta-card h3 {
  font-size: 1.45rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.home-connect-cta-card p {
  color: #cbd5e1;
  font-size: 0.885rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.hub-covered-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.75rem 0 1.25rem;
}

.hub-prov-pill {
  background: #f1f5f9;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════
   ACBAR.ORG FORMAT STYLES (CAREERS & RFPS)
   ═══════════════════════════════════════════════════════════ */
.acbar-banner-notice {
  background: #eff6ff;
  border-left: 5px solid #2563eb;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 2px 10px rgba(37, 99, 235, 0.08);
}

[dir="rtl"] .acbar-banner-notice {
  border-left: none;
  border-right: 5px solid #2563eb;
}

.acbar-filter-box {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.acbar-filter-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1fr 1fr auto;
  gap: 1rem;
  align-items: flex-end;
}

@media (max-width: 1200px) {
  .acbar-filter-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .acbar-filter-grid {
    grid-template-columns: 1fr;
  }
}

.acbar-filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.acbar-filter-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.acbar-filter-control {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: var(--dark);
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.acbar-filter-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 126, 52, 0.15);
}

.acbar-stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  color: #475569;
}

.acbar-table-wrap {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
  margin-bottom: 3rem;
}

.acbar-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.885rem;
}

.acbar-table th {
  background: #f1f5f9;
  color: #334155;
  font-weight: 700;
  text-align: left;
  padding: 0.9rem 1.25rem;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
  font-size: 0.825rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

[dir="rtl"] .acbar-table th {
  text-align: right;
}

.acbar-table td {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  color: #1e293b;
}

.acbar-table tr:hover td {
  background-color: #f8fafc;
}

.acbar-job-title-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  display: block;
  margin-bottom: 0.2rem;
  transition: color 0.2s ease;
}

.acbar-job-title-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.acbar-vac-pill {
  font-family: monospace;
  font-size: 0.78rem;
  color: #64748b;
  background: #f1f5f9;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
  font-weight: 600;
}

.acbar-badge-cat {
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.acbar-status-open {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.acbar-status-open::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  animation: sharpBadgePulse 1.8s infinite ease-in-out;
}

.acbar-status-closed {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.acbar-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.acbar-modal-window {
  background: #ffffff;
  border-radius: var(--radius-xl);
  max-width: 780px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.acbar-modal-backdrop.active .acbar-modal-window {
  transform: translateY(0);
}

.acbar-modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background: #f8fafc;
}

.acbar-modal-body {
  padding: 2rem;
  overflow-y: auto;
  line-height: 1.7;
  color: #334155;
  font-size: 0.925rem;
}

.acbar-modal-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
}

.acbar-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  background: #f1f5f9;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
  font-size: 0.85rem;
}

/* ═══════════════════════════════════════════════════════════
   PAYPAL & DONATION PORTAL STYLES
   ═══════════════════════════════════════════════════════════ */
.donation-tabs-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.donation-method-tab {
  background: #ffffff;
  border: 1px solid var(--border);
  color: #334155;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-sm);
}

.donation-method-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.donation-method-tab.active {
  background: linear-gradient(135deg, #003087 0%, #0070ba 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 20px rgba(0, 112, 186, 0.35);
}

.paypal-portal-panel {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  margin-bottom: 3.5rem;
}

.paypal-portal-header {
  background: linear-gradient(135deg, #003087 0%, #001c48 100%);
  color: #ffffff;
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.paypal-badge-official {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.825rem;
  font-weight: 700;
  color: #ffc439;
  letter-spacing: 0.4px;
}

.paypal-portal-body {
  padding: 2.5rem;
}

.amount-chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 1.75rem;
}

.amount-chip-btn {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 1rem 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 800;
  font-size: 1.25rem;
  color: #1e293b;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.amount-chip-btn span.chip-impact {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
}

.amount-chip-btn:hover {
  border-color: #0070ba;
  color: #0070ba;
  background: #f0f9ff;
  transform: translateY(-2px);
}

.amount-chip-btn.active {
  border-color: #0070ba;
  background: #e0f2fe;
  color: #0070ba;
  box-shadow: 0 4px 15px rgba(0, 112, 186, 0.25);
}

.paypal-submit-btn {
  background: #ffc439;
  color: #001435 !important;
  font-size: 1.15rem;
  font-weight: 800;
  border-radius: 9999px;
  padding: 1.1rem 2.5rem;
  border: none;
  cursor: pointer;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.25s ease;
  box-shadow: 0 8px 25px rgba(255, 196, 57, 0.45);
}

.paypal-submit-btn:hover {
  background: #f4b400;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 196, 57, 0.6);
}

.paypal-direct-account-box {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}
