/* ==========================================================================
   DAO AFGHANISTAN - REDESIGN STYLESHEET (2026 EDITION)
   Development and Ability Organization (DAO) | daoafghanistan.org
   Strong Fonts, Clean Grid, Modern Humanitarian Aesthetic
   ========================================================================== */

@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&display=swap');

:root {
  /* Color 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;

  /* 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;

  /* 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 (CLEAN & FULLY RESPONSIVE)
   ========================================================================== */
.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,
.topbar-gadoon-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,
.topbar-gadoon-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,
.topbar-lang-picker {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
}

.topbar-lang-btn {
  background: transparent;
  color: #94A3B8;
  padding: 0.18rem 0.4rem;
  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 {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #FCA5A5;
  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:hover {
  background: #DC2626;
  color: #FFFFFF;
  border-color: #DC2626;
}

.topbar-fb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(24, 119, 242, 0.15);
  border: 1px solid rgba(24, 119, 242, 0.4);
  color: #93C5FD;
  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-fb-btn:hover {
  background: #1877F2;
  color: #FFFFFF;
  border-color: #1877F2;
}

.topbar-login-btn {
  background: #424497;
  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: #2D3077;
  color: #FFFFFF;
  transform: translateY(-1px);
}

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

.social-icon-link {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E2E8F0;
  transition: var(--transition-fast);
}

.social-icon-link:hover {
  background: var(--accent-teal);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.social-icon-link svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* --- Topbar Responsive Queries --- */
@media (max-width: 1250px) {
  .topbar-blog-btn,
  .topbar-live-btn {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .topbar-left a[href^="mailto:"] {
    display: none !important;
  }
  .topbar-divider {
    display: none !important;
  }
  .topbar-badge {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .topbar {
    padding: 0.25rem 0;
    overflow-x: hidden;
  }
  .topbar .container {
    justify-content: space-between;
    gap: 0.5rem;
  }
  .topbar-lang-group,
  .topbar-lang-picker {
    display: none !important;
  }
  .topbar-magazine-btn span:not(.magazine-blinker),
  .topbar-gadoon-btn span:not(.magazine-blinker) {
    display: none;
  }
  .topbar-magazine-btn,
  .topbar-gadoon-btn {
    padding: 0.15rem 0.4rem;
  }
  .topbar-yt-btn span,
  .topbar-fb-btn span {
    display: none;
  }
  .topbar-yt-btn,
  .topbar-fb-btn {
    padding: 0.2rem 0.4rem;
  }
  .topbar-item {
    font-size: 0.72rem;
  }
}

@media (max-width: 520px) {
  .topbar-magazine-btn,
  .topbar-gadoon-btn {
    display: none !important;
  }
  .topbar-left a[href^="tel:"] span {
    font-size: 0.7rem;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .topbar-login-btn {
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
  }
}

/* ==========================================================================
   SMART PRESTIGIOUS BRAND STRIP SYSTEM
   ========================================================================== */
.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;
}

/* 1. Left: Smart Logo & English Title Block */
.brand-main-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-logo-frame {
  width: 66px;
  height: 66px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1.5px solid rgba(66, 68, 151, 0.15);
  box-shadow: 0 4px 16px rgba(66, 68, 151, 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(66, 68, 151, 0.18);
  border-color: #424497;
}

.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 .dao-acronym {
  color: #424497;
  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: #0D9488;
}

/* 2. Center: Smart Pashto Institutional Emblem */
.brand-pashto-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.35rem 1.2rem;
  background: rgba(66, 68, 151, 0.03);
  border: 1px solid rgba(66, 68, 151, 0.12);
  border-radius: 12px;
  transition: all 0.25s ease;
}

.brand-pashto-block:hover {
  background: rgba(66, 68, 151, 0.06);
  border-color: rgba(66, 68, 151, 0.25);
}

.brand-pashto-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #424497;
  direction: rtl;
  font-family: 'Amiri', 'Scheherazade New', 'Lateef', 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.2;
  letter-spacing: 0;
}

.brand-pashto-sub {
  font-size: 0.72rem;
  color: #0D9488;
  font-weight: 700;
  direction: rtl;
  font-family: 'Amiri', 'Segoe UI', Tahoma, sans-serif;
  letter-spacing: 0.02em;
}

/* 3. Right: Smart Emergency Helpline Card */
.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: #424497;
  box-shadow: 0 6px 20px rgba(66, 68, 151, 0.12);
  transform: translateY(-1px);
}

.brand-phone-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #424497 0%, #0E3A7E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(66, 68, 151, 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;
}

.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;
  text-decoration: none;
  transition: color 0.2s ease;
}

.brand-phone-box:hover .brand-phone-val {
  color: #424497;
}

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

/* --- Brand Strip Responsive Queries --- */
@media (max-width: 1100px) {
  .brand-strip .container {
    gap: 1rem;
  }
  .brand-en-title {
    font-size: 1.12rem;
  }
  .brand-pashto-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 960px) {
  .brand-strip {
    padding: 0.65rem 0;
  }
  .brand-strip .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }
  .brand-main-block {
    width: 100%;
    justify-content: center;
  }
  .brand-main-block a {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.45rem !important;
  }
  .brand-titles {
    align-items: center;
    text-align: center;
  }
  .brand-en-title {
    text-align: center;
    font-size: 1.15rem;
  }
  .brand-meta-badge {
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }
  .brand-pashto-block {
    width: 100%;
    max-width: 440px;
  }
  .brand-contact-block {
    width: 100%;
    max-width: 440px;
    justify-content: center;
  }
  .brand-phone-box {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .brand-logo-frame {
    width: 52px;
    height: 52px;
    border-radius: 12px;
  }
  .brand-en-title {
    font-size: 1.02rem;
  }
  .brand-meta-badge {
    font-size: 0.65rem;
    gap: 0.3rem;
  }
  .brand-pashto-title {
    font-size: 1.18rem;
  }
  .brand-pashto-sub {
    font-size: 0.68rem;
  }
  .brand-phone-val {
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.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: 82px;
}

/* Mobile Header Sticky Brand Link (<= 860px) */
.mobile-brand-link {
  display: none;
}

@media (max-width: 860px) {
  .header .container {
    height: 62px;
    padding: 0 1rem;
  }
  .mobile-brand-link {
    display: inline-flex !important;
    align-items: center;
    gap: 0.55rem;
    text-decoration: none;
  }
  .mobile-brand-logo-img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    border-radius: 8px;
    background: #FFFFFF;
    padding: 2px;
    border: 1px solid rgba(66, 68, 151, 0.2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  }
  .mobile-brand-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary-navy);
    line-height: 1;
  }
  .mobile-brand-title span {
    color: var(--accent-teal);
  }
  .btn-accent, .btn-donate-attention {
    padding: 0.42rem 0.85rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .header .container {
    height: 58px;
    padding: 0 0.75rem;
  }
  .mobile-brand-title {
    font-size: 0.95rem;
  }
  .btn-accent, .btn-donate-attention {
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
  }
  .mobile-nav-toggle {
    width: 38px;
    height: 38px;
  }
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.logo-badge {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-blue) 60%, var(--accent-teal) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(14, 58, 126, 0.28);
}

.logo-badge svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--primary-navy);
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.logo-title span {
  color: var(--accent-teal);
}

.logo-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* Navigation Menu */
.navbar {
  display: flex;
  align-items: center;
}

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

.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.68rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: var(--transition-fast);
  white-space: nowrap;
}

@media (max-width: 1320px) {
  .nav-list {
    gap: 0.1rem;
  }
  .nav-link {
    font-size: 0.86rem;
    padding: 0.55rem 0.5rem;
  }
}

@media (max-width: 1080px) {
  .nav-link {
    font-size: 0.8rem;
    padding: 0.5rem 0.38rem;
  }
}

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

.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: 270px;
  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.875rem;
  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.8;
  flex-shrink: 0;
}

/* 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-GRABBING BLINKING ANIMATION (DAO LOGO COLORS)
   Official DAO Palette: #424497 (Royal Indigo), #0D9488 (Rehab Teal), #14B8A6, #2DD4BF
   ========================================================================== */
@keyframes donateAttentionBlink {
  0% {
    background: linear-gradient(135deg, #424497 0%, #0E3A7E 25%, #0D9488 70%, #14B8A6 100%);
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.8), 0 4px 14px rgba(66, 68, 151, 0.45);
    transform: scale(1);
    filter: brightness(1);
  }
  25% {
    background: linear-gradient(135deg, #0D9488 0%, #14B8A6 30%, #424497 75%, #0E3A7E 100%);
    box-shadow: 0 0 0 6px rgba(45, 212, 191, 0.65), 0 0 22px rgba(13, 148, 136, 0.7);
    transform: scale(1.04);
    filter: brightness(1.18);
  }
  50% {
    background: linear-gradient(135deg, #424497 0%, #0E3A7E 25%, #0D9488 70%, #14B8A6 100%);
    box-shadow: 0 0 0 12px rgba(45, 212, 191, 0), 0 0 26px rgba(66, 68, 151, 0.5);
    transform: scale(1);
    filter: brightness(1);
  }
  75% {
    background: linear-gradient(135deg, #0E3A7E 0%, #424497 35%, #0D9488 80%, #2DD4BF 100%);
    box-shadow: 0 0 0 7px rgba(66, 68, 151, 0.6), 0 0 24px rgba(20, 184, 166, 0.8);
    transform: scale(1.05);
    filter: brightness(1.22);
  }
  100% {
    background: linear-gradient(135deg, #424497 0%, #0E3A7E 25%, #0D9488 70%, #14B8A6 100%);
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0), 0 4px 14px rgba(66, 68, 151, 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); }
}

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

.btn-accent,
.btn-donate-attention {
  background: linear-gradient(135deg, #424497 0%, #0E3A7E 30%, #0D9488 75%, #14B8A6 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 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(66, 68, 151, 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.4s 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(66, 68, 151, 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-accent .donate-attention-badge,
.btn-donate-attention .donate-attention-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(13, 148, 136, 0.4);
  border: 1px solid rgba(45, 212, 191, 0.8);
  border-radius: 9999px;
  padding: 1px 6px;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-left: 4px;
  animation: donateBeaconPing 1.4s infinite ease-in-out;
  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);
}

/* Mobile Toggle */
.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 SECTION
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #071739 0%, #0B2556 50%, #0F3E7A 100%);
  color: #FFFFFF;
  padding: 5.5rem 0 6rem 0;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(13, 148, 136, 0.22) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(217, 119, 6, 0.18) 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;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.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.4rem;
  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-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 Card */
.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);
}

.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);
}

/* Floating Hero Badge */
.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: 290px;
  color: var(--primary-navy);
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  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);
}

/* ==========================================================================
   METRICS / IMPACT STATS STRIP
   ========================================================================== */
.stats-strip {
  background: var(--bg-surface);
  margin-top: -2.75rem;
  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: 54px;
  height: 54px;
  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.1rem;
  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;
}

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

.page-banner + .section {
  padding: 3.25rem 0 4.5rem 0;
}

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

.section-header {
  text-align: center;
  max-width: 780px;
  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;
}

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

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

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

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

.about-badge-established {
  position: absolute;
  top: 25px;
  left: -20px;
  background: var(--primary-deep);
  color: #FFFFFF;
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.about-badge-established .year {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent-amber-light);
}

.about-badge-established .text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

.about-content h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 1.1rem;
  line-height: 1.25;
}

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

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

.about-feature-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--bg-surface);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.about-feature-box svg {
  width: 22px;
  height: 22px;
  fill: var(--accent-teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature-box h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.2rem;
}

.about-feature-box p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.4;
}

/* ==========================================================================
   SERVICES / WHAT WE DO
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-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), border-color var(--transition-base);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-blue);
}

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

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

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

.service-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(10, 25, 47, 0.88);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

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

.service-icon-pill {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(14, 58, 126, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -38px;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
  border: 3px solid #FFFFFF;
  box-shadow: var(--shadow-md);
}

.service-icon-pill svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

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

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

.service-checklist {
  margin-bottom: 1.25rem;
}

.service-checklist li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.service-checklist svg {
  width: 14px;
  height: 14px;
  fill: var(--accent-teal);
  flex-shrink: 0;
}

.service-btn {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
  transition: var(--transition-fast);
}

.service-btn:hover {
  color: var(--accent-teal);
  gap: 0.65rem;
}

.service-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ==========================================================================
   PROJECTS SECTION (WITH INTERACTIVE FILTER TABS)
   ========================================================================== */
.filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

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

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

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

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

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

.project-thumbnail {
  position: relative;
  height: 210px;
}

.project-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-status {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.725rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.status-ongoing {
  background: #DCFCE7;
  color: #15803D;
  border: 1px solid #86EFAC;
}

.status-completed {
  background: #E0E7FF;
  color: #3730A3;
  border: 1px solid #C7D2FE;
}

.project-location-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.project-location-badge svg {
  width: 12px;
  height: 12px;
  fill: var(--accent-amber-light);
}

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

.project-donor-tag {
  font-size: 0.775rem;
  font-weight: 700;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

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

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

.project-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PUBLICATIONS & GADOON MAGAZINE SPOTLIGHT
   ========================================================================== */
.publications-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  margin-bottom: 3.5rem;
}

.gadoon-showcase {
  position: relative;
}

.gadoon-cover-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid #FFFFFF;
}

.gadoon-cover-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.gadoon-badge-stamp {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--accent-amber);
  color: #FFFFFF;
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  line-height: 1.2;
}

.gadoon-info h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.gadoon-info .tagline {
  font-size: 1.05rem;
  color: var(--accent-teal);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.gadoon-info p {
  color: var(--text-body);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.gadoon-languages {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.lang-pill {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--primary-navy);
}

/* Reports Grid */
.reports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.report-item-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-fast);
}

.report-item-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-md);
}

.report-icon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.report-pdf-tag {
  background: #FEE2E2;
  color: #DC2626;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

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

.report-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.report-download-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.report-download-btn:hover {
  color: var(--accent-teal);
}

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

.gallery-item {
  position: relative;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.45) 45%, rgba(15, 23, 42, 0.05) 75%, transparent 100%);
  opacity: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #FFFFFF;
  transition: background var(--transition-base);
}

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

.gallery-item:hover .gallery-overlay {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.98) 0%, rgba(15, 23, 42, 0.65) 55%, rgba(15, 23, 42, 0.15) 100%);
}

.gallery-overlay h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.25rem 0;
  color: #FFFFFF;
  line-height: 1.3;
}

.gallery-overlay span {
  font-size: 0.75rem;
  color: var(--accent-teal-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gallery-overlay p {
  font-size: 0.825rem;
  color: #E2E8F0;
  margin: 0;
  line-height: 1.4;
}

.gallery-zoom-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
}

.gallery-zoom-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* ==========================================================================
   DONORS & PARTNERS
   ========================================================================== */
.partners-wrapper {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.partners-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.partners-heading h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.partners-heading p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.partner-logo-box {
  background: var(--bg-surface-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 90px;
  transition: var(--transition-fast);
}

.partner-logo-box:hover {
  background: #FFFFFF;
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.partner-acronym {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--primary-blue);
  letter-spacing: -0.01em;
}

.partner-name {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 0.2rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: flex-start;
}

.contact-info-card {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-deep) 100%);
  color: #FFFFFF;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  color: #FFFFFF;
}

.contact-info-card p.lead {
  font-size: 0.95rem;
  color: #CBD5E1;
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
}

.contact-icon-bubble {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-teal-light);
  flex-shrink: 0;
}

.contact-icon-bubble svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-text-group h5 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94A3B8;
  margin-bottom: 0.25rem;
}

.contact-text-group a, .contact-text-group p {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.contact-text-group a:hover {
  color: var(--accent-teal-light);
}

/* Contact Form Card */
.contact-form-card {
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.contact-form-card p {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

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

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

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

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--bg-surface-alt);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  background: #FFFFFF;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(14, 58, 126, 0.12);
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--primary-navy);
  color: #94A3B8;
  padding-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand .logo-title {
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.footer-brand .logo-tagline {
  color: var(--accent-teal-light);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #CBD5E1;
  margin: 1.25rem 0 1.5rem 0;
}

.footer-cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: #E2E8F0;
  font-weight: 600;
}

.footer-cert-badge svg {
  width: 16px;
  height: 16px;
  fill: var(--accent-teal-light);
}

.footer-column h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1.4rem;
  position: relative;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 28px;
  height: 2.5px;
  background: var(--accent-teal);
  border-radius: 2px;
}

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

.footer-links a {
  font-size: 0.885rem;
  color: #CBD5E1;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: #FFFFFF;
  transform: translateX(4px);
}

.footer-newsletter p {
  font-size: 0.875rem;
  color: #CBD5E1;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.95rem;
  color: #FFFFFF;
  font-size: 0.875rem;
}

.newsletter-input:focus {
  border-color: var(--accent-teal);
  background: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
  padding: 1.75rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.825rem;
  color: #64748B;
}

.footer-bottom a {
  color: #94A3B8;
}

.footer-bottom a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   MODAL WINDOW SYSTEM (FOR ALL SUBMENUS & DETAILS)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

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

.modal-dialog {
  background: var(--bg-surface);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  border-radius: var(--radius-xl);
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  transform: scale(0.95) translateY(20px);
  transition: transform var(--transition-base);
}

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

.modal-header {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: var(--bg-surface);
  z-index: 10;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.modal-close-btn {
  background: var(--bg-surface-alt);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: #FEE2E2;
  color: #DC2626;
}

.modal-body {
  padding: 2rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.modal-body h4 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin: 1.25rem 0 0.5rem 0;
}

.modal-body h4:first-child {
  margin-top: 0;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  padding: 2rem;
}

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

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 85vh;
  text-align: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
}

.lightbox-caption {
  margin-top: 1rem;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  color: #FFFFFF;
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--primary-navy);
  color: #FFFFFF;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-notice svg {
  width: 20px;
  height: 20px;
  fill: var(--accent-teal-light);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-blue);
  color: #FFFFFF;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

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

.back-to-top svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ==========================================================================
   MOBILE DRAWER NAVIGATION
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1500;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 360px;
  background: var(--bg-surface);
  z-index: 1600;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-nav-list {
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.drawer-nav-item {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.5rem;
}

.drawer-nav-link {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
}

.drawer-submenu {
  padding-left: 1rem;
  margin-top: 0.35rem;
  display: none;
}

.drawer-submenu.show {
  display: block;
}

.drawer-submenu li {
  margin-bottom: 0.5rem;
}

.drawer-submenu a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
}

.drawer-actions {
  padding: 1.5rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1100px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-media {
    max-width: 600px;
    margin: 0 auto;
  }
  .services-grid, .projects-grid, .reports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .publications-wrapper {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 860px) {
  .header .navbar {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .topbar-left .topbar-item:nth-child(2) {
    display: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .about-grid, .contact-container {
    grid-template-columns: 1fr;
  }
  .about-images-stack {
    max-width: 500px;
    margin: 0 auto 2rem auto;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ORGANIC DATA TABLES & SLIDER (from daoafghanistan.org)
   ========================================================================== */
.dao-table-responsive {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  margin: 1.5rem 0;
}

.dao-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
  text-align: left;
}

.dao-table th {
  background-color: #424497;
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 800;
  padding: 1rem 1.25rem;
  letter-spacing: 0.02em;
  border-bottom: 2px solid #2D3077;
}

.dao-table td {
  padding: 0.95rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-body);
}

.dao-table tr:nth-child(even) {
  background-color: #F8FAFC;
}

.dao-table tr:hover {
  background-color: #EEF2F6;
}

/* ==========================================================================
   SMART FULL-WIDTH HERO SLIDER SYSTEM (LATEST 2026 HUMANITARIAN SMART LAYOUT)
   ========================================================================== */
.hero-slider-section {
  padding: 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-slider-section.full-width-slider {
  width: 100%;
  padding: 0;
}

.slider-master-wrapper {
  position: relative;
  width: 100%;
  background: radial-gradient(ellipse at 85% 15%, rgba(13, 148, 136, 0.22) 0%, transparent 60%),
              radial-gradient(ellipse at 15% 85%, rgba(66, 68, 151, 0.32) 0%, transparent 65%),
              linear-gradient(135deg, #040D21 0%, #081B44 45%, #0D2B68 100%);
  border-radius: 0;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px -15px rgba(4, 13, 33, 0.65);
  overflow: hidden;
  padding: clamp(0.75rem, 1.8vh, 1.25rem) 0 clamp(0.85rem, 2vh, 1.35rem) 0;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slider-inner-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 5;
}

@media (min-width: 1600px) {
  .slider-inner-container {
    max-width: 1540px;
    padding: 0 3rem;
  }
}

.slider-grid-mesh {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.45;
  z-index: 1;
}

.slider-ambient-glow {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.25) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
  transition: background 0.8s ease;
  z-index: 1;
}

/* ==========================================================================
   AUTHENTIC AFGHANISTAN LANDMARKS HERO BACKDROP
   ========================================================================== */
.slider-landmarks-backdrop-redesign {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.landmarks-panoramic-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.landmarks-panorama-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  opacity: 0.16;
  filter: saturate(1.2) contrast(1.1);
  transform: scale(1.02);
  transition: transform 10s ease;
  display: block;
}

.hero-slider-section:hover .landmarks-panorama-img {
  transform: scale(1.06);
}

.landmarks-geometric-lattice {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.45) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.landmarks-veil-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 13, 33, 0.72) 0%, rgba(8, 27, 68, 0.85) 50%, rgba(4, 13, 33, 0.94) 100%),
              radial-gradient(ellipse at 50% 30%, transparent 20%, rgba(4, 13, 33, 0.85) 90%);
  pointer-events: none;
}

.landmarks-heritage-ribbon {
  position: absolute;
  bottom: 12px;
  right: 24px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  z-index: 2;
  opacity: 0.7;
  transition: opacity 0.3s ease;
  pointer-events: auto;
}

.landmarks-heritage-ribbon:hover {
  opacity: 1;
}

.landmarks-heritage-ribbon .heritage-pill {
  font-size: 0.68rem;
  font-weight: 600;
  color: #94A3B8;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  backdrop-filter: blur(6px);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .landmarks-heritage-ribbon {
    display: none;
  }
}

/* ==========================================================================
   SMART COCKPIT HUD TOP BAR
   ========================================================================== */
.slider-smart-hud {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.65rem;
  margin-bottom: clamp(0.75rem, 1.6vh, 1.15rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  gap: 1.25rem;
}

.hud-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.hud-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.hud-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 10px #10B981;
  animation: pulseBeacon 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

.hud-status-text {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 800;
  color: #34D399;
  letter-spacing: 0.06em;
}

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

.hud-org-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: #E2E8F0;
  letter-spacing: 0.02em;
}
.hud-right-credentials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.credential-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.credential-pill.info {
  color: #38BDF8;
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.08);
}

@media (max-width: 900px) {
  .hud-right-credentials {
    display: none;
  }
}

/* ==========================================================================
   SLIDE STAGE CONTAINER & SLIDES
   ========================================================================== */
.slider-stage-container {
  position: relative;
  min-height: clamp(340px, 38vh, 410px);
  width: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
}

.hero-slide-stage {
  display: none;
  opacity: 0;
  transform: translateY(14px) scale(0.99);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.hero-slide-stage.active {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: clamp(1.75rem, 3vw, 2.75rem);
  width: 100%;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Slide Narrative Column */
.slide-narrative {
  color: #FFFFFF;
  position: relative;
  z-index: 2;
}

.slide-meta-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: clamp(0.6rem, 1.2vh, 0.85rem);
  flex-wrap: wrap;
}

.smart-category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.pill-dot.blue { background: #38BDF8; box-shadow: 0 0 10px #38BDF8; }
.pill-dot.teal { background: #2DD4BF; box-shadow: 0 0 10px #2DD4BF; }
.pill-dot.amber { background: #FBBF24; box-shadow: 0 0 10px #FBBF24; }
.pill-dot.purple { background: #C084FC; box-shadow: 0 0 10px #C084FC; }
.pill-dot.indigo { background: #818CF8; box-shadow: 0 0 10px #818CF8; }
.pill-dot.emerald { background: #34D399; box-shadow: 0 0 10px #34D399; }
.pill-dot.cyan { background: #22D3EE; box-shadow: 0 0 10px #22D3EE; }

.smart-telemetry-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #94A3B8;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.slide-main-title {
  font-family: var(--font-display);
  font-size: clamp(1.95rem, 2.5vw, 2.65rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: clamp(0.55rem, 1.2vh, 0.75rem);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-main-title .highlight-blue {
  background: linear-gradient(135deg, #7DD3FC 0%, #38BDF8 50%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(56, 189, 248, 0.45));
}

.slide-main-title .highlight-teal {
  background: linear-gradient(135deg, #5EEAD4 0%, #2DD4BF 50%, #0D9488 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(45, 212, 191, 0.45));
}

.slide-main-title .highlight-gold {
  background: linear-gradient(135deg, #FEF08A 0%, #FBBF24 50%, #D97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(251, 191, 36, 0.45));
}

.slide-main-title .highlight-purple {
  background: linear-gradient(135deg, #E9D5FF 0%, #C084FC 50%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(192, 132, 252, 0.45));
}

.slide-main-title .highlight-emerald {
  background: linear-gradient(135deg, #A7F3D0 0%, #34D399 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 10px rgba(52, 211, 153, 0.45));
}

.slide-main-desc {
  font-size: clamp(0.9rem, 1vw, 0.96rem);
  line-height: 1.55;
  color: #E2E8F0;
  margin-bottom: clamp(0.75rem, 1.5vh, 1rem);
  max-width: 580px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   STREAMLINED KEY IMPACT HIGHLIGHTS ROW
   ========================================================================== */
.slide-impact-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: clamp(0.85rem, 1.6vh, 1.15rem);
}

.impact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #F8FAFC;
  background: rgba(15, 23, 42, 0.65);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  padding: 0.32rem 0.78rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.22s ease;
}

.impact-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.impact-pill svg {
  width: 14px;
  height: 14px;
  fill: #38BDF8;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.impact-pill:hover svg {
  transform: scale(1.15);
}

/* Theme accent colors for Impact Pill icons */
[data-theme="blue"] .impact-pill svg { fill: #38BDF8; }
[data-theme="teal"] .impact-pill svg { fill: #2DD4BF; }
[data-theme="amber"] .impact-pill svg { fill: #FBBF24; }
[data-theme="purple"] .impact-pill svg { fill: #C084FC; }
[data-theme="indigo"] .impact-pill svg { fill: #818CF8; }
[data-theme="emerald"] .impact-pill svg { fill: #34D399; }
[data-theme="cyan"] .impact-pill svg { fill: #22D3EE; }

/* Legacy Chip Compatibility */
.smart-feature-chips {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.chip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.825rem;
  font-weight: 700;
  color: #F8FAFC;
  background: rgba(15, 23, 42, 0.65);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}

/* Call to Action Buttons */
.slide-cta-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}

.btn-smart-primary {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.75rem 1.65rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.35);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-smart-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.5);
  background: linear-gradient(135deg, #0369A1 0%, #0284C7 100%);
  color: #FFFFFF;
}

.btn-smart-primary.teal {
  background: linear-gradient(135deg, #0D9488 0%, #0F766E 100%);
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35);
}

.btn-smart-primary.teal:hover {
  background: linear-gradient(135deg, #0F766E 0%, #0D9488 100%);
  box-shadow: 0 12px 30px rgba(13, 148, 136, 0.5);
}

.btn-smart-primary.amber {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  box-shadow: 0 8px 24px rgba(217, 119, 6, 0.35);
}

.btn-smart-primary.amber:hover {
  background: linear-gradient(135deg, #B45309 0%, #D97706 100%);
  box-shadow: 0 12px 30px rgba(217, 119, 6, 0.5);
}

.btn-smart-primary.purple {
  background: linear-gradient(135deg, #7C3AED 0%, #6D28D9 100%);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

.btn-smart-primary.purple:hover {
  background: linear-gradient(135deg, #6D28D9 0%, #7C3AED 100%);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.5);
}

.btn-smart-primary.indigo {
  background: linear-gradient(135deg, #4338CA 0%, #3730A3 100%);
  box-shadow: 0 8px 24px rgba(67, 56, 202, 0.35);
}

.btn-smart-primary.indigo:hover {
  background: linear-gradient(135deg, #3730A3 0%, #4338CA 100%);
  box-shadow: 0 12px 30px rgba(67, 56, 202, 0.5);
}

.btn-smart-primary.emerald {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
}

.btn-smart-primary.emerald:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.5);
}

.btn-smart-primary.cyan {
  background: linear-gradient(135deg, #0891B2 0%, #0E7490 100%);
  box-shadow: 0 8px 24px rgba(8, 145, 178, 0.35);
}

.btn-smart-primary.cyan:hover {
  background: linear-gradient(135deg, #0E7490 0%, #0891B2 100%);
  box-shadow: 0 12px 30px rgba(8, 145, 178, 0.5);
}

.btn-smart-glass {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.45rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-smart-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.slide-trust-strip {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  color: #94A3B8;
  flex-wrap: wrap;
}

.slide-trust-strip span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #CBD5E1;
}

.slide-trust-strip svg {
  width: 14px;
  height: 14px;
  fill: #38BDF8;
}

/* ==========================================================================
   SMART VISUAL STAGE (RIGHT COLUMN)
   ========================================================================== */
.slide-visual-col {
  position: relative;
  z-index: 2;
}

.smart-img-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
  background: #030712;
}

.frame-glass-reflection {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

.slide-organic-img {
  width: 100%;
  height: clamp(320px, 36vh, 395px);
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-slide-stage:hover .slide-organic-img {
  transform: scale(1.03);
}

/* Frame Top Left Geo Badge */
.frame-geo-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: #F8FAFC;
}

.frame-geo-badge .geo-icon {
  font-size: 0.8rem;
}

/* Frame Top Right Photo Zoom / Inspect Trigger */
.frame-zoom-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.frame-zoom-btn:hover {
  background: #38BDF8;
  color: #0F172A;
  border-color: #38BDF8;
  transform: scale(1.05);
}

.frame-zoom-btn svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

/* Floating Smart Telemetry Card */
.smart-telemetry-card {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  z-index: 4;
  background: rgba(8, 18, 42, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.telemetry-icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
}

.telemetry-icon-circle.blue {
  background: linear-gradient(135deg, #0284C7 0%, #0E3A7E 100%);
  box-shadow: 0 0 16px rgba(2, 132, 199, 0.4);
}

.telemetry-icon-circle.teal {
  background: linear-gradient(135deg, #0D9488 0%, #064E3B 100%);
  box-shadow: 0 0 16px rgba(13, 148, 136, 0.4);
}

.telemetry-icon-circle.amber {
  background: linear-gradient(135deg, #D97706 0%, #78350F 100%);
  box-shadow: 0 0 16px rgba(217, 119, 6, 0.4);
}

.telemetry-icon-circle.purple {
  background: linear-gradient(135deg, #7C3AED 0%, #4C1D95 100%);
  box-shadow: 0 0 16px rgba(124, 58, 237, 0.4);
}

.telemetry-icon-circle.indigo {
  background: linear-gradient(135deg, #4338CA 0%, #1E1B4B 100%);
  box-shadow: 0 0 16px rgba(67, 56, 202, 0.4);
}

.telemetry-icon-circle.emerald {
  background: linear-gradient(135deg, #059669 0%, #064E3B 100%);
  box-shadow: 0 0 16px rgba(5, 150, 105, 0.4);
}

.telemetry-icon-circle.cyan {
  background: linear-gradient(135deg, #0891B2 0%, #0E7490 100%);
  box-shadow: 0 0 16px rgba(8, 145, 178, 0.4);
}

.telemetry-icon-circle svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.telemetry-metric {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1.15;
  color: #FFFFFF;
}

.telemetry-sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94A3B8;
  margin-top: 0.15rem;
}

/* ==========================================================================
   REDESIGNED MASTER SLIDER DOCK (7 CARDS + CONTROLS CLUSTER)
   ========================================================================== */
.slider-master-dock {
  margin-top: clamp(0.75rem, 1.6vh, 1.15rem);
  padding: 0.45rem 0.65rem;
  background: rgba(8, 18, 42, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
  z-index: 6;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dock-cards-scroll {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.45rem;
  flex-grow: 1;
  min-width: 0;
}

@media (max-width: 1400px) {
  .dock-cards-scroll {
    grid-template-columns: repeat(7, minmax(95px, 1fr));
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 0.25rem;
  }
}

.dock-card {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 0.32rem 0.5rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  text-align: left;
  color: inherit;
  font-family: inherit;
  width: 100%;
}

.dock-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.dock-card.active {
  background: linear-gradient(135deg, rgba(14, 58, 126, 0.82) 0%, rgba(13, 148, 136, 0.6) 100%);
  border-color: #38BDF8;
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.35), inset 0 0 12px rgba(56, 189, 248, 0.18);
  transform: translateY(-1px);
}

.dock-thumb-wrapper {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
}

.dock-thumb-img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  display: block;
  transition: transform 0.25s ease;
}

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

.dock-card.active .dock-thumb-img {
  border-color: #38BDF8;
}

.dock-active-beacon {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38BDF8;
  border: 1.5px solid #040D21;
  display: none;
  box-shadow: 0 0 8px #38BDF8;
}

.dock-card.active .dock-active-beacon {
  display: block;
  animation: pulseBeacon 1.8s infinite;
}

.dock-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  flex-grow: 1;
  min-width: 0;
  line-height: 1.15;
}

.dock-step-num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 800;
  color: #38BDF8;
  letter-spacing: 0.04em;
}

.dock-card.active .dock-step-num {
  color: #7DD3FC;
}

.dock-card-title {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 800;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.08rem;
}

.dock-card-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, #38BDF8 0%, #2DD4BF 100%);
  border-radius: 0 0 10px 10px;
  pointer-events: none;
}

/* Master Dock Controls Cluster */
.dock-controls-cluster {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  background: rgba(15, 23, 42, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  padding: 0.22rem 0.52rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.hud-counter-display {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  color: #94A3B8;
  padding: 0.12rem 0.42rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
}

.hud-cur-num {
  color: #38BDF8;
  font-size: 0.92rem;
}

.hud-slash {
  opacity: 0.5;
}

.hud-total-num {
  color: #CBD5E1;
}

.hud-control-btn,
.hud-nav-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-control-btn:hover,
.hud-nav-arrow:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: #38BDF8;
  transform: scale(1.08);
}

.hud-control-btn svg,
.hud-nav-arrow svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

/* ==========================================================================
   RESPONSIVE SMART SLIDER BREAKPOINTS (FIT, PROPORTION & RESPONSIVE LAYOUT)
   ========================================================================== */
@media (max-width: 1200px) {
  .slider-smart-hud {
    flex-wrap: wrap;
  }
}

@media (max-width: 1024px) {
  .slider-master-wrapper {
    min-height: auto;
    padding: 1.25rem 0 1.5rem 0;
  }
  .hero-slide-stage.active {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .slide-visual-col {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
  .slide-main-title {
    font-size: 2.1rem;
    line-height: 1.18;
    margin-bottom: 0.6rem;
  }
  .slide-organic-img {
    height: 270px;
  }
  .slider-master-dock {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.5rem;
  }
  .dock-cards-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.45rem;
    padding-bottom: 0.35rem;
  }
  .dock-card {
    flex: 0 0 130px;
    min-height: 42px;
    scroll-snap-align: start;
  }
  .dock-controls-cluster {
    align-self: center;
  }
}

@media (max-width: 768px) {
  .slider-inner-container {
    padding: 0 1rem;
  }
  .slider-master-wrapper {
    padding: 1rem 0 1.35rem 0;
  }
  .slider-smart-hud {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding-bottom: 0.65rem;
    margin-bottom: 0.85rem;
  }
  .hud-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    gap: 0.45rem;
  }
  .hud-divider {
    display: none;
  }
  .hud-status-chip {
    padding: 0.22rem 0.55rem;
    font-size: 0.68rem;
  }
  .hud-serving-sharp-badge {
    padding: 0.25rem 0.65rem;
    font-size: 0.72rem;
  }
  .serving-sharp-label {
    font-size: 0.72rem;
  }
  .hero-slide-stage.active {
    gap: 1.25rem;
  }
  .slide-main-title {
    font-size: 1.7rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }
  .slide-main-desc {
    font-size: 0.88rem;
    line-height: 1.45;
    margin-bottom: 0.85rem;
  }
  .slide-organic-img {
    height: 230px;
  }
  .smart-telemetry-card {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
  }
  .telemetry-icon-circle {
    width: 32px;
    height: 32px;
  }
  .telemetry-metric {
    font-size: 1.05rem;
  }
  .telemetry-sub {
    font-size: 0.68rem;
  }
  .slider-master-dock {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 0.85rem;
    padding: 0.45rem;
  }
  .dock-cards-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.45rem;
    padding-bottom: 0.35rem;
    scrollbar-width: thin;
  }
  .dock-card {
    flex: 0 0 120px;
    scroll-snap-align: start;
    padding: 0.28rem 0.45rem;
    border-radius: 9px;
    min-height: 38px;
  }
  .dock-thumb-wrapper,
  .dock-thumb-img {
    width: 28px;
    height: 28px;
  }
  .dock-card-title {
    font-size: 0.72rem;
  }
  .dock-controls-cluster {
    width: 100%;
    justify-content: space-between;
    align-self: center;
  }
}

@media (max-width: 560px) {
  .smart-telemetry-card {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    margin-top: 0.65rem;
    padding: 0.5rem 0.7rem;
    border-radius: 10px;
  }
  .telemetry-icon-circle {
    width: 32px;
    height: 32px;
  }
  .telemetry-metric {
    font-size: 1rem;
  }
  .telemetry-sub {
    font-size: 0.68rem;
  }
}

@media (max-width: 480px) {
  .slider-inner-container {
    padding: 0 0.75rem;
  }
  .slider-master-wrapper {
    padding: 0.85rem 0 1.15rem 0;
  }
  .hud-serving-sharp-badge {
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
  }
  .serving-sharp-label {
    font-size: 0.7rem;
  }
  .serving-sharp-pill {
    display: none;
  }
  .hud-status-text {
    font-size: 0.62rem;
  }
  .slide-serving-focus-banner {
    padding: 0.3rem 0.55rem;
    border-radius: 8px;
    margin-bottom: 0.65rem;
    max-width: 100%;
    flex-wrap: wrap;
    gap: 0.2rem;
  }
  .serving-focus-tag {
    font-size: 0.72rem;
  }
  .serving-focus-detail {
    font-size: 0.68rem;
  }
  .slide-main-title {
    font-size: 1.48rem;
    line-height: 1.22;
    margin-bottom: 0.45rem;
  }
  .slide-main-desc {
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 0.7rem;
  }
  .slide-impact-row {
    gap: 0.35rem;
    margin-bottom: 0.8rem;
  }
  .impact-pill {
    font-size: 0.68rem;
    padding: 0.2rem 0.45rem;
  }
  .slide-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
  }
  .btn-smart-primary, .btn-smart-glass {
    width: 100%;
    justify-content: center;
    padding: 0.55rem 0.85rem;
    font-size: 0.82rem;
  }
  .slide-organic-img {
    height: 205px;
  }
  .smart-img-frame {
    border-radius: 14px;
  }
  .frame-geo-badge {
    top: 8px;
    left: 8px;
    padding: 0.22rem 0.55rem;
    font-size: 0.68rem;
  }
  .frame-zoom-btn {
    top: 8px;
    right: 8px;
    padding: 0.22rem 0.5rem;
    font-size: 0.66rem;
  }
  .dock-card {
    flex: 0 0 115px;
    padding: 0.25rem 0.4rem;
    min-height: 36px;
    border-radius: 8px;
  }
  .dock-thumb-wrapper,
  .dock-thumb-img {
    width: 26px;
    height: 26px;
    border-radius: 5px;
  }
  .dock-step-num {
    font-size: 0.6rem;
  }
  .dock-card-title {
    font-size: 0.7rem;
  }
  .hud-counter-display {
    font-size: 0.76rem;
    padding: 0.1rem 0.35rem;
  }
  .hud-cur-num {
    font-size: 0.84rem;
  }
  .hud-control-btn,
  .hud-nav-arrow {
    width: 26px;
    height: 26px;
  }
  .hud-control-btn svg,
  .hud-nav-arrow svg {
    width: 12px;
    height: 12px;
  }
}

/* ==========================================================================
   DEDICATED SUBPAGES STYLES
   ========================================================================== */
.page-banner {
  background: radial-gradient(ellipse at 85% 15%, rgba(13, 148, 136, 0.22) 0%, transparent 60%),
              radial-gradient(ellipse at 15% 85%, rgba(66, 68, 151, 0.32) 0%, transparent 65%),
              linear-gradient(135deg, #040D21 0%, #081B44 45%, #0D2B68 100%);
  color: #FFFFFF;
  padding: 3.75rem 0 4.25rem 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 40px -10px rgba(4, 13, 33, 0.5);
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(ellipse at center, rgba(8, 27, 68, 0.5) 0%, rgba(4, 13, 33, 0.88) 100%),
    url('https://images.unsplash.com/photo-1544644181-1484b3fdfc62?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center 30%;
  opacity: 0.22;
  mix-blend-mode: luminosity;
  pointer-events: none;
  z-index: 1;
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.45;
  z-index: 1;
}

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

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

.page-banner .breadcrumb a {
  color: #38BDF8;
  transition: var(--transition-fast);
}

.page-banner .breadcrumb a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

.page-banner-title {
  font-family: var(--font-display);
  font-size: 2.85rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

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

.content-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.content-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

.organic-feature-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  margin-bottom: 1.85rem;
}

/* Two-column subpage layout */
.subpage-layout {
  display: grid;
  grid-template-columns: 2.3fr 1fr;
  gap: 2.75rem;
  align-items: start;
}

@media (max-width: 992px) {
  .subpage-layout {
    grid-template-columns: 1fr;
  }
}

.subpage-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent-teal);
}

.sidebar-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-body);
  background: var(--bg-surface-alt);
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

.sidebar-menu-item:hover, .sidebar-menu-item.active {
  background: #EFF6FF;
  color: var(--primary-blue);
  border-color: #BFDBFE;
  padding-left: 1.25rem;
}

/* Document & Report Cards */
.doc-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.doc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: var(--transition-fast);
}

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

.doc-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.doc-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #FEE2E2;
  color: #DC2626;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-icon-badge svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.doc-meta h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
}

.doc-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Timeline Components */
.history-timeline {
  position: relative;
  padding-left: 2rem;
  margin: 2rem 0;
}

.history-timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 8px;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-blue), var(--accent-teal));
  border-radius: var(--radius-full);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 4px solid var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(14, 58, 126, 0.15);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-blue);
  background: #EFF6FF;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.timeline-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

/* Organogram Tree */
.organogram-board {
  background: #F8FAFC;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 1.5rem 0;
}

.org-node {
  background: #FFFFFF;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast);
}

.org-node:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.org-node-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.org-node-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.org-node.level-1 {
  background: linear-gradient(135deg, #071739 0%, #0E3A7E 100%);
  color: #FFFFFF;
  border: none;
  text-align: center;
}

.org-node.level-1 .org-node-title {
  color: #FFFFFF;
  font-size: 1.25rem;
}

.org-node.level-1 .org-node-sub {
  color: #93C5FD;
}

.org-node.level-2 {
  background: #EFF6FF;
  border-color: #93C5FD;
  text-align: center;
  max-width: 500px;
  margin: 0 auto 1.5rem auto;
}

.org-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

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

/* Vacancy & Career Cards */
.job-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  transition: var(--transition-fast);
}

.job-card:hover {
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-md);
}

.job-info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.5rem;
}

.job-meta-row {
  display: flex;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Blog Article Cards */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

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

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

.blog-thumb-wrap {
  height: 220px;
  overflow: hidden;
}

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

.blog-card:hover .blog-thumb-wrap img {
  transform: scale(1.05);
}

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

.blog-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

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

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

/* YouTube Video Cards */
.video-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.video-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.video-card:hover {
  border-color: #CC181E;
  box-shadow: var(--shadow-lg);
}

.video-thumbnail-box {
  position: relative;
  height: 200px;
  background: #000;
}

.video-thumbnail-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #CC181E;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(204, 24, 30, 0.5);
  transition: transform 0.2s ease;
}

.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
}

.video-card-body {
  padding: 1.5rem;
}

/* Gadoon Magazine Issues */
.magazine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.magazine-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  padding: 1.5rem;
  transition: var(--transition-fast);
}

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

.magazine-cover {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-md);
}

.magazine-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.4rem;
}

.magazine-issue {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}




/* ==========================================================================
   TOPBAR MAGAZINE BUTTON WITH BLINKING BEACON & BADGE
   ========================================================================== */
.topbar-magazine-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.22), rgba(245, 158, 11, 0.25));
  border: 1.5px solid #F59E0B;
  color: #FEF3C7;
  padding: 0.22rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.765rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

.topbar-magazine-btn:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.38), rgba(245, 158, 11, 0.42));
  border-color: #FBBF24;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
}

.magazine-blinker {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #EF4444;
  display: inline-block;
  position: relative;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: beaconBlink 1.4s infinite cubic-bezier(0.66, 0, 0, 1);
  flex-shrink: 0;
}

@keyframes beaconBlink {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.85);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.magazine-new-badge {
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  animation: badgeBlink 1.8s infinite ease-in-out;
  display: inline-block;
}

@keyframes badgeBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    background: #EF4444;
  }
  50% {
    opacity: 0.82;
    transform: scale(0.96);
    background: #DC2626;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.65);
  }
}

/* ==========================================================================
   TOPBAR BLOG BUTTON WITH LIGHT BLINKING (NEXT TO GADOON MAGAZINE)
   ========================================================================== */
.topbar-blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.22), rgba(20, 184, 166, 0.25));
  border: 1.5px solid #0EA5E9;
  color: #E0F2FE;
  padding: 0.22rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.765rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.25);
}

.topbar-blog-btn:hover {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.38), rgba(20, 184, 166, 0.42));
  border-color: #38BDF8;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.45);
}

.blog-blinker {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #38BDF8;
  display: inline-block;
  position: relative;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7);
  animation: blogLightBlink 1.4s infinite cubic-bezier(0.66, 0, 0, 1);
  flex-shrink: 0;
}

@keyframes blogLightBlink {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 4px #38BDF8, 0 0 0 0 rgba(56, 189, 248, 0.9);
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
  70% {
    transform: scale(1.2);
    box-shadow: 0 0 10px #38BDF8, 0 0 0 8px rgba(56, 189, 248, 0);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 4px #38BDF8, 0 0 0 0 rgba(56, 189, 248, 0);
    opacity: 1;
  }
}

.blog-new-badge {
  background: #0284C7;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.1rem 0.45rem;
  border-radius: 4px;
  animation: blogBadgeBlink 2s infinite ease-in-out;
  display: inline-block;
}

@keyframes blogBadgeBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    background: #0284C7;
  }
  50% {
    opacity: 0.85;
    transform: scale(0.96);
    background: #0369A1;
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.7);
  }
}

/* ==========================================================================
   TOPBAR LIVE CHANNEL & YOUTUBE BUTTONS (WITH LOGIN)
   ========================================================================== */
.topbar-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #FCA5A5;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.topbar-live-btn:hover {
  background: rgba(239, 68, 68, 0.35);
  border-color: #EF4444;
  color: #FFFFFF;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.4);
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.8);
  animation: liveBeaconPulse 1.4s infinite;
}

@keyframes liveBeaconPulse {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.85); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.topbar-yt-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  background: rgba(255, 0, 0, 0.12);
  border: 1px solid rgba(255, 0, 0, 0.35);
  color: #FEE2E2;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.topbar-yt-btn svg {
  width: 14px;
  height: 14px;
  fill: #EF4444;
  transition: transform 0.2s ease, fill 0.2s ease;
}

.topbar-yt-btn:hover {
  background: #DC2626;
  border-color: #EF4444;
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.45);
}

.topbar-yt-btn:hover svg {
  fill: #FFFFFF;
  transform: scale(1.1);
}

.topbar-fb-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  background: rgba(24, 119, 242, 0.16);
  border: 1px solid rgba(24, 119, 242, 0.45);
  color: #DBEAFE;
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.topbar-fb-btn svg {
  width: 13px;
  height: 13px;
  fill: #3B82F6;
  transition: transform 0.2s ease, fill 0.2s ease;
}

.topbar-fb-btn:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(24, 119, 242, 0.5);
}

.topbar-fb-btn:hover svg {
  fill: #FFFFFF;
  transform: scale(1.1);
}

.login-media-feed {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #E2E8F0;
  text-align: center;
}

.media-feed-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.media-feed-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
}

.media-feed-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.media-feed-badge.red {
  background: #FEE2E2;
  color: #DC2626;
  border: 1px solid #FECACA;
}

.media-feed-badge.red:hover {
  background: #DC2626;
  color: #FFFFFF;
}

.media-feed-badge.yt {
  background: #F8FAFC;
  color: #0F172A;
  border: 1px solid #E2E8F0;
}

.media-feed-badge.yt:hover {
  background: #DC2626;
  color: #FFFFFF;
  border-color: #DC2626;
}

.media-feed-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* ==========================================================================
   MARQUEE TICKER: LATEST ACTIVITIES & BULLET WORKING
   ========================================================================== */
.activities-marquee-bar {
  background: #0B132B;
  color: #F8FAFC;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  height: 44px;
  font-size: 0.835rem;
  z-index: 30;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 18px rgba(0, 0, 0, 0.25);
}

.marquee-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #424497 0%, #0E3A7E 100%);
  color: #FFFFFF;
  padding: 0 1.25rem;
  height: 100%;
  font-family: var(--font-display);
  font-size: 0.775rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 4px 0 14px rgba(0, 0, 0, 0.35);
  border-right: 2px solid var(--accent-teal);
}

.marquee-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22C55E;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: liveDotPulse 1.5s infinite;
}

@keyframes liveDotPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.85); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.marquee-track-container {
  flex: 1;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 2%, black 98%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  animation: scrollMarquee 38s linear infinite;
  will-change: transform;
}

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

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  color: #E2E8F0;
  font-weight: 500;
}

.marquee-item strong {
  color: #38BDF8;
  font-weight: 700;
}

.marquee-bullet {
  color: var(--accent-teal);
  font-size: 0.95rem;
}

.marquee-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  margin-left: 1.25rem;
}

@media (max-width: 768px) {
  .activities-marquee-bar {
    height: 38px;
    font-size: 0.775rem;
  }
  .marquee-badge {
    padding: 0 0.85rem;
    font-size: 0.7rem;
    gap: 0.35rem;
  }
  .marquee-item {
    padding: 0 1rem;
  }
}

/* ==========================================================================
   READABLE & SMART NAVIGATION MENU SYSTEM
   ========================================================================== */
/* ==========================================================================
   READABLE & SMART NAVIGATION MENU SYSTEM (STRONG FONTS & HIGH CONTRAST)
   ========================================================================== */
.header {
  background: #FFFFFF;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.04);
  border-bottom: 1.5px solid #E2E8F0;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 800; /* STRONG, HIGH-LEGIBILITY BOLD */
  color: #0F172A; /* ULTRA HIGH CONTRAST DEEP CHARCOAL NAVY */
  padding: 0.72rem 0.95rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  letter-spacing: -0.015em;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  text-transform: capitalize;
  text-decoration: none;
}

.nav-link:hover {
  color: #424497;
  background-color: rgba(66, 68, 151, 0.08);
}

.nav-item.active .nav-link {
  color: #424497;
  background-color: rgba(66, 68, 151, 0.1);
  font-weight: 900;
}

.nav-item.active .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.75rem;
  right: 0.75rem;
  height: 3.5px;
  background: linear-gradient(90deg, #424497, #0D9488);
  border-radius: 3px 3px 0 0;
}

.nav-arrow {
  width: 10px;
  height: 10px;
  fill: currentColor;
  opacity: 0.65;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Smart Dropdown Styling */
.submenu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 300px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 12px;
  box-shadow: 0 20px 42px -4px rgba(15, 23, 42, 0.18), 0 6px 16px rgba(15, 23, 42, 0.08);
  padding: 0.65rem 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.submenu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 20px;
  width: 12px;
  height: 12px;
  background: #FFFFFF;
  border-left: 1.5px solid #CBD5E1;
  border-top: 1.5px solid #CBD5E1;
  transform: rotate(45deg);
}

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

.submenu-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.935rem;
  font-weight: 700;
  color: #0F172A;
  border-radius: 8px;
  transition: all 0.18s ease;
  text-decoration: none;
}

.submenu-link:hover {
  background-color: #F1F5F9;
  color: #424497;
  font-weight: 800;
  padding-left: 1.05rem;
}

.submenu-link.active {
  background-color: rgba(66, 68, 151, 0.08);
  color: #424497;
  font-weight: 800;
}

.submenu-icon {
  width: 19px;
  height: 19px;
  fill: #424497;
  flex-shrink: 0;
  transition: fill 0.18s ease, transform 0.18s ease;
}

.submenu-link:hover .submenu-icon {
  fill: #0D9488;
  transform: scale(1.1);
}

/* Submenu Badge Pills */
.submenu-pill {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 10px;
  text-transform: uppercase;
}
.submenu-pill-new { background: #DCFCE7; color: #15803D; }
.submenu-pill-hot { background: #FEE2E2; color: #B91C1C; }
.submenu-pill-info { background: #E0E7FF; color: #4338CA; }

/* ==========================================================================
   ACBAR-STYLE HUMANITARIAN JOB BOARD (ACBAR.ORG/JOBS)
   ========================================================================== */
.acbar-container {
  max-width: 1400px;
  margin: 0 auto;
}

.acbar-header-banner {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  border-radius: 16px;
  padding: 2.25rem 2.5rem;
  color: #FFFFFF;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.acbar-banner-text h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.acbar-banner-text p {
  color: #94A3B8;
  font-size: 1rem;
  max-width: 680px;
  line-height: 1.6;
  margin: 0;
}

.acbar-banner-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.acbar-stat-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  text-align: center;
}

.acbar-stat-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--accent-teal);
  line-height: 1;
}

.acbar-stat-lbl {
  font-size: 0.72rem;
  font-weight: 700;
  color: #CBD5E1;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* Search and Filters Bar */
.acbar-search-box {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
  margin-bottom: 2rem;
}

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

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

.acbar-input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.acbar-input-icon {
  position: absolute;
  left: 1rem;
  width: 18px;
  height: 18px;
  fill: #94A3B8;
  pointer-events: none;
}

.acbar-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  font-family: inherit;
  font-size: 0.925rem;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  color: #1E293B;
  background: #F8FAFC;
  transition: all 0.2s ease;
}

.acbar-input:focus {
  outline: none;
  border-color: #424497;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(66, 68, 151, 0.15);
}

.acbar-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.9rem;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  color: #1E293B;
  background: #F8FAFC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748B'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") no-repeat right 0.75rem center;
  background-size: 16px;
  appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.acbar-select:focus {
  outline: none;
  border-color: #424497;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(66, 68, 151, 0.15);
}

/* Category Tabs */
.acbar-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #E2E8F0;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.acbar-tabs-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
}

.acbar-tab-btn {
  background: none;
  border: none;
  font-family: var(--font-display);
  font-size: 0.925rem;
  font-weight: 700;
  color: #64748B;
  padding: 0.75rem 1.15rem;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.acbar-tab-btn:hover {
  color: #424497;
}

.acbar-tab-btn.active {
  color: #424497;
  border-bottom-color: #424497;
}

.acbar-tab-count {
  font-size: 0.75rem;
  padding: 0.15rem 0.5rem;
  border-radius: 12px;
  background: #E2E8F0;
  color: #334155;
  font-weight: 800;
}

.acbar-tab-btn.active .acbar-tab-count {
  background: #424497;
  color: #FFFFFF;
}

.acbar-results-counter {
  font-size: 0.875rem;
  font-weight: 600;
  color: #64748B;
}

.acbar-results-counter strong {
  color: #0F172A;
  font-weight: 800;
}

/* ACBAR Job Cards */
.acbar-job-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.acbar-job-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.acbar-job-card.featured {
  border-left: 5px solid #424497;
  background: linear-gradient(to right, rgba(66, 68, 151, 0.02), #FFFFFF 30%);
}

.acbar-job-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.acbar-org-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.acbar-org-logo {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  padding: 4px;
  background: #FFFFFF;
  object-fit: contain;
  flex-shrink: 0;
}

.acbar-job-title-group h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 0.35rem 0;
  line-height: 1.3;
}

.acbar-job-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

.acbar-job-title-link:hover {
  color: #424497;
}

.acbar-ref-badge {
  font-family: var(--font-mono);
  font-size: 0.775rem;
  font-weight: 700;
  color: #475569;
  background: #F1F5F9;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
  margin-right: 0.5rem;
}

.acbar-badges-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.acbar-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.acbar-badge-fulltime { background: #EFF6FF; color: #1D4ED8; border: 1px solid #BFDBFE; }
.acbar-badge-parttime { background: #FEF3C7; color: #B45309; border: 1px solid #FDE68A; }
.acbar-badge-remote { background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.acbar-badge-volunteer { background: #F3E8FF; color: #7E22CE; border: 1px solid #E9D5FF; }
.acbar-badge-urgent { background: #FEE2E2; color: #DC2626; border: 1px solid #FECACA; }

.acbar-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem 1.25rem;
  background: #F8FAFC;
  border-radius: 8px;
  padding: 0.85rem 1.25rem;
  border: 1px solid #F1F5F9;
}

.acbar-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.acbar-meta-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.acbar-meta-value {
  font-size: 0.875rem;
  font-weight: 700;
  color: #1E293B;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.acbar-job-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid #F1F5F9;
  flex-wrap: wrap;
}

.acbar-deadline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: #64748B;
}

.acbar-deadline strong {
  color: #DC2626;
  font-weight: 700;
}

.acbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-acbar-secondary {
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  color: #334155;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.15rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-acbar-secondary:hover {
  border-color: #424497;
  color: #424497;
  background: #F8FAFC;
}

.btn-acbar-primary {
  background: #424497;
  border: 1.5px solid #424497;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.55rem 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-acbar-primary:hover {
  background: #2D3077;
  border-color: #2D3077;
  box-shadow: 0 4px 12px rgba(66, 68, 151, 0.3);
}

/* ==========================================================================
   BROADSHEET NEWSPAPER & EDITORIAL MAGAZINE LAYOUT (GADOON MAGAZINE)
   ========================================================================== */
.newspaper-wrapper {
  background: #FAF8F5; /* Authentic warm newsprint tone */
  border: 1px solid #E7E3DC;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  font-family: Georgia, 'Times New Roman', serif;
  color: #292524;
  margin-bottom: 3rem;
}

.newspaper-masthead {
  text-align: center;
  border-bottom: 4px double #1C1917;
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.masthead-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #78716C;
  border-bottom: 1px solid #D6D3D1;
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}

.newspaper-title-main {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0F172A;
  line-height: 1.05;
  margin: 0.5rem 0;
  text-transform: uppercase;
}

.newspaper-sub-masthead {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: #424497;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.masthead-meta-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: #57534E;
  border-top: 1px solid #1C1917;
  padding-top: 0.4rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.newspaper-headline-bar {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.newspaper-lead-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.45rem;
  font-weight: 800;
  line-height: 1.15;
  color: #0F172A;
  margin-bottom: 0.75rem;
}

.newspaper-lead-deck {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-style: italic;
  color: #57534E;
  max-width: 850px;
  margin: 0 auto;
  line-height: 1.5;
}

.newspaper-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  border-top: 1px solid #D6D3D1;
  padding-top: 1.75rem;
}

@media (max-width: 900px) {
  .newspaper-grid {
    grid-template-columns: 1fr;
  }
  .newspaper-title-main {
    font-size: 2.25rem;
  }
  .newspaper-lead-headline {
    font-size: 1.75rem;
  }
}

.newspaper-lead-article {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.newspaper-byline {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #78716C;
  border-bottom: 1px solid #E7E3DC;
  padding-bottom: 0.4rem;
}

.newspaper-lead-photo {
  width: 100%;
  border-radius: 4px;
  filter: contrast(1.02);
  border: 1px solid #D6D3D1;
}

.newspaper-photo-caption {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: #78716C;
  margin-top: 0.4rem;
  font-style: italic;
}

.newspaper-columns-2 {
  column-count: 2;
  column-gap: 2rem;
  font-size: 1.05rem;
  line-height: 1.75;
  text-align: justify;
}

@media (max-width: 600px) {
  .newspaper-columns-2 {
    column-count: 1;
  }
}

.newspaper-dropcap {
  float: left;
  font-size: 4.2rem;
  line-height: 0.75;
  padding-top: 0.15rem;
  padding-right: 0.5rem;
  padding-bottom: 0.1rem;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  color: #424497;
}

.newspaper-quote {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.45rem;
  font-style: italic;
  font-weight: 700;
  color: #1E293B;
  border-left: 4px solid #424497;
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: rgba(66, 68, 151, 0.04);
}

.newspaper-sidebar-col {
  border-left: 1px solid #D6D3D1;
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (max-width: 900px) {
  .newspaper-sidebar-col {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid #D6D3D1;
    padding-top: 2rem;
  }
}

.newspaper-side-story {
  border-bottom: 1px solid #E7E3DC;
  padding-bottom: 1.5rem;
}

.newspaper-side-story h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.newspaper-side-story p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #44403C;
}

.newspaper-archive-kiosk {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 4px double #1C1917;
}

.kiosk-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
  color: #0F172A;
  margin-bottom: 2rem;
}


/* ==========================================================================
   FOOTER SIGNATURE STRIP (WEB DESIGN, CONSULTANCY & HOSTING)
   ========================================================================== */
.footer-signature-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0 0.5rem 0;
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.85rem;
  color: #94A3B8;
  text-align: center;
}

.footer-signature-block {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  padding: 0.45rem 1.35rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.footer-sig-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #CBD5E1;
  font-size: 0.825rem;
}

.footer-sig-item strong, .footer-sig-item a {
  color: #38BDF8;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-sig-item a:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.footer-sig-divider {
  color: rgba(255, 255, 255, 0.25);
  user-select: none;
}

/* ==========================================================================
   TEAM & LEADERSHIP DIRECTORY STYLES
   ========================================================================== */
.team-dept-section {
  margin-bottom: 3.5rem;
}

.team-dept-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #E2E8F0;
  padding-bottom: 0.85rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.team-dept-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.team-dept-badge {
  background: rgba(66, 68, 151, 0.1);
  color: #424497;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.team-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(66, 68, 151, 0.12);
  border-color: #CBD5E1;
}

.team-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.team-avatar {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, #424497 0%, #0E3A7E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(66, 68, 151, 0.2);
}

.team-meta {
  flex: 1;
}

.team-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0D9488;
  line-height: 1.35;
}

.team-desc {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.team-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #F1F5F9;
  font-size: 0.8rem;
  color: #64748B;
}

.team-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
}

/* ==========================================================================
   GLOBAL REPRESENTATIVE OFFICES (AFGHANISTAN, USA, PAKISTAN, AFRICA, CANADA)
   ========================================================================== */
.rep-grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.rep-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.75rem;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.rep-card:hover {
  border-color: #424497;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(66, 68, 151, 0.12);
}

.rep-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.rep-flag-block {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.rep-flag-emoji {
  font-size: 1.85rem;
  line-height: 1;
}

.rep-country-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #0F172A;
}

.rep-status-badge {
  background: rgba(13, 148, 136, 0.12);
  color: #0F766E;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  letter-spacing: 0.04em;
}

.rep-role-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #424497;
  margin-bottom: 0.75rem;
}

.rep-details {
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.rep-contact-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-size: 0.825rem;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}


/* ==========================================================================
   REDESIGNED CINEMATIC AFGHANISTAN LANDMARKS HERO BACKDROP
   ========================================================================== */
.slider-landmarks-backdrop-redesign {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

/* Layer 1: Seamless Panoramic Canvas with subtle Ken Burns motion */
.landmarks-panoramic-canvas {
  position: absolute;
  inset: -20px;
  background-color: #040D21;
  background-image: 
    url('file:///C:/Users/SAEED%20KHAN/.gemini/antigravity/brain/de4da7f0-5e7c-481e-b167-91407bcbb493/afghan_slider_bg_1791436303372.jpg'),
    url('afghan_slider_bg.jpg'),
    url('assets/img/afghan_slider_bg.jpg'),
    radial-gradient(ellipse at 50% 35%, rgba(245, 158, 11, 0.38) 0%, rgba(13, 148, 136, 0.22) 40%, rgba(4, 13, 33, 0.95) 75%),
    linear-gradient(135deg, #071739 0%, #081B44 50%, #030712 100%);
  background-size: cover;
  background-position: center 36%;
  background-repeat: no-repeat;
  filter: saturate(1.22) contrast(1.15) brightness(0.78);
  opacity: 0.72;
  animation: kenBurnsHero 28s ease-in-out infinite alternate;
}

.landmarks-panorama-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 36%;
  display: block;
  opacity: 0.82;
  filter: saturate(1.25) contrast(1.18) brightness(0.82);
  pointer-events: none;
}

@keyframes kenBurnsHero {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.05) translate(-1%, -0.5%); }
  100% { transform: scale(1.02) translate(0.8%, 0); }
}

/* Layer 2: Afghan Islamic Star Lattice & Geometric Micro-Grid */
.landmarks-geometric-lattice {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(rgba(56, 189, 248, 0.18) 1.2px, transparent 1.2px),
    radial-gradient(rgba(245, 158, 11, 0.14) 1.2px, transparent 1.2px);
  background-size: 36px 36px;
  background-position: 0 0, 18px 18px;
  opacity: 0.55;
  pointer-events: none;
}

/* Layer 3: Dual Gradient Protective Veil (Ensures perfect text contrast) */
.landmarks-veil-gradient {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(4, 13, 33, 0.82) 0%, rgba(4, 13, 33, 0.28) 22%, rgba(4, 13, 33, 0.42) 65%, rgba(4, 13, 33, 0.95) 100%),
    radial-gradient(ellipse at 50% 32%, transparent 35%, rgba(4, 13, 33, 0.55) 75%, #040D21 100%);
  pointer-events: none;
}

/* Layer 4: Floating Showcase Vignette Badges */
.landmarks-heritage-ribbon {
  position: absolute;
  bottom: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 5;
  width: 92%;
  max-width: 1250px;
  pointer-events: none;
}

.heritage-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(8, 27, 68, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.35);
  backdrop-filter: blur(10px);
  color: #E0F2FE;
  font-size: 0.735rem;
  font-weight: 700;
  padding: 0.25rem 0.8rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  letter-spacing: 0.02em;
}

.heritage-pill span {
  font-size: 0.85rem;
}
  white-space: nowrap;
}

.heritage-pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #38BDF8;
  box-shadow: 0 0 8px #38BDF8;
}

.heritage-pill span.sub {
  color: #7DD3FC;
  font-size: 0.68rem;
  opacity: 0.9;
}


/* ==========================================================================
   VIDEO SPOTLIGHT SECTION (YOUTUBE EMBED ON MAIN PAGE: cyhnuG-dLTU)
   ========================================================================== */
.section-video-spotlight {
  background: linear-gradient(180deg, #081B44 0%, #0F172A 100%);
  color: #FFFFFF;
  padding: 5rem 0;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-video-spotlight .section-title {
  color: #FFFFFF;
}

.section-video-spotlight .section-subtitle {
  color: #94A3B8;
}

.featured-video-container {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

@media (max-width: 991px) {
  .featured-video-container {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.75rem;
  }
}

.video-embed-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
  background: #000000;
}

.video-responsive-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}

.video-responsive-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Interactive Play Facade - Displays DAO Video Ready For Play (Always Shows Video Image) */
.video-play-facade {
  position: absolute;
  inset: 0;
  z-index: 10;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  background: #081B44 url('pediatric-rehab-fitting.jpg') center/cover no-repeat;
  text-decoration: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.video-play-facade:focus,
.video-play-facade:active {
  outline: none;
}

/* Video Card Thumbnail System for Media Grid (No Error 153) */
.video-card-thumb-wrap {
  position: relative;
  display: block;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #081B44 url('pediatric-rehab-fitting.jpg') center/cover no-repeat;
  border-radius: 12px 12px 0 0;
  cursor: pointer;
  text-decoration: none;
}

.video-card-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card-thumb-wrap:hover .video-card-thumb {
  transform: scale(1.06);
}

.video-thumb-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.95);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.5);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 2;
}

.video-thumb-play-btn svg {
  width: 22px;
  height: 22px;
  fill: #FFFFFF;
  margin-left: 3px;
}

.video-card-thumb-wrap:hover .video-thumb-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: #FF0000;
}

.video-thumb-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.82);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  z-index: 2;
  letter-spacing: 0.03em;
}

.facade-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.video-play-facade:hover .facade-poster {
  transform: scale(1.04);
}

.facade-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 27, 68, 0.45) 0%, rgba(4, 13, 33, 0.25) 50%, rgba(4, 13, 33, 0.88) 100%);
  transition: background 0.3s ease;
}

.video-play-facade:hover .facade-overlay {
  background: linear-gradient(180deg, rgba(8, 27, 68, 0.35) 0%, rgba(4, 13, 33, 0.15) 50%, rgba(4, 13, 33, 0.8) 100%);
}

.facade-top-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.facade-live-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(220, 38, 38, 0.9);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.5);
  letter-spacing: 0.04em;
}

.facade-center {
  position: relative;
  z-index: 2;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.facade-play-btn {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #FF0000;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px rgba(255, 0, 0, 0.25), 0 12px 35px rgba(255, 0, 0, 0.6);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  animation: playPulse 2.4s infinite;
}

.video-play-facade:hover .facade-play-btn {
  transform: scale(1.15);
  box-shadow: 0 0 0 16px rgba(255, 0, 0, 0.35), 0 16px 45px rgba(255, 0, 0, 0.75);
}

.facade-play-btn svg {
  width: 34px;
  height: 34px;
  fill: #FFFFFF;
  margin-left: 4px;
}

.facade-click-hint {
  background: rgba(8, 27, 68, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.885rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.02em;
}

.facade-bottom-info {
  position: relative;
  z-index: 2;
  background: rgba(4, 13, 33, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  backdrop-filter: blur(10px);
}

.facade-bottom-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  color: #FFFFFF;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.facade-bottom-sub {
  font-size: 0.78rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

@keyframes playPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.5), 0 10px 30px rgba(255, 0, 0, 0.5); }
  70% { box-shadow: 0 0 0 18px rgba(255, 0, 0, 0), 0 10px 30px rgba(255, 0, 0, 0.5); }
  100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0), 0 10px 30px rgba(255, 0, 0, 0.5); }
}

.video-context-card {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.video-context-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.video-duration-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
}

.video-context-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.25;
}

.video-context-desc {
  font-size: 0.95rem;
  color: #CBD5E1;
  line-height: 1.65;
}

.video-highlight-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0.5rem 0;
}

.video-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #E2E8F0;
  line-height: 1.5;
}

.vh-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.video-highlight-item strong {
  color: #38BDF8;
  display: block;
}

.video-context-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* ==========================================================================
   RESILIENCE STORY CARD (ADAPTIVE EDUCATION & HUMAN DETERMINATION)
   ========================================================================== */
.resilience-story-card {
  margin: 3.5rem auto 1rem auto;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: 0 10px 35px rgba(15, 23, 42, 0.06);
  position: relative;
  overflow: hidden;
}

.resilience-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 991px) {
  .resilience-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.resilience-img-col {
  position: relative;
}

.resilience-img-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  border: 4px solid #FFFFFF;
  background: #000000;
}

.resilience-photo {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.resilience-img-frame:hover .resilience-photo {
  transform: scale(1.04);
}

.resilience-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(13, 148, 136, 0.9);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
}

.resilience-heading {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 900;
  color: #1E293B;
  line-height: 1.25;
  margin: 0.6rem 0 1rem 0;
}

.resilience-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.resilience-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.r-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.885rem;
  color: #334155;
  line-height: 1.5;
}

.r-icon {
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}

.r-point strong {
  color: #0D9488;
  display: block;
}

.resilience-cta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   OFFICIAL PAYPAL DONATION PORTAL & INTERACTIVE WIDGET (sa_nsr@yahoo.com)
   ========================================================================== */
.donation-portal-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 992px) {
  .donation-portal-grid {
    grid-template-columns: 1fr;
  }
}

.paypal-portal-card {
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.12), 0 0 1px 1px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.paypal-portal-header {
  background: linear-gradient(135deg, #424497 0%, #0E3A7E 45%, #0D9488 100%);
  color: #FFFFFF;
  padding: 1.75rem 2rem;
  position: relative;
  overflow: hidden;
}

.paypal-portal-header::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.paypal-portal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.paypal-official-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.paypal-portal-sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  margin: 0;
  line-height: 1.45;
}

/* Recipient Verification Strip */
.paypal-verified-strip {
  background: #F0FDF4;
  border: 1.5px dashed #86EFAC;
  border-radius: 12px;
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1.5rem 2rem 0 2rem;
  flex-wrap: wrap;
}

.paypal-verified-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.paypal-verified-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #22C55E;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  flex-shrink: 0;
}

.paypal-verified-details {
  display: flex;
  flex-direction: column;
}

.paypal-verified-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #166534;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.paypal-verified-email {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.98rem;
  font-weight: 700;
  color: #0F172A;
  word-break: break-all;
}

.paypal-copy-btn {
  background: #FFFFFF;
  border: 1px solid #BBF7D0;
  color: #166534;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.paypal-copy-btn:hover {
  background: #DCFCE7;
  color: #14532D;
}

.paypal-portal-body {
  padding: 1.5rem 2rem 2rem 2rem;
}

/* Frequency Tabs */
.donation-freq-toggle {
  display: flex;
  background: #F1F5F9;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.donation-freq-btn {
  flex: 1;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: #64748B;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.donation-freq-btn.active {
  background: #FFFFFF;
  color: #0F172A;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

/* Amount Presets Grid */
.donation-presets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

@media (max-width: 600px) {
  .donation-presets-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.preset-amount-card {
  position: relative;
  background: #F8FAFC;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  padding: 1rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.preset-amount-card:hover {
  border-color: #0079C1;
  background: #F0F9FF;
  transform: translateY(-2px);
}

.preset-amount-card.active {
  border-color: #0079C1;
  background: #F0F9FF;
  box-shadow: 0 0 0 3px rgba(0, 121, 193, 0.2);
}

.preset-pop-badge {
  position: absolute;
  top: -10px;
  right: 10px;
  background: linear-gradient(135deg, #DC2626 0%, #EA580C 100%);
  color: #FFFFFF;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 9999px;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.35);
  text-transform: uppercase;
}

.preset-val {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 900;
  color: #0F172A;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.preset-amount-card.active .preset-val {
  color: #00457C;
}

.preset-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748B;
  line-height: 1.2;
}

/* Custom Amount Input Wrap */
.custom-amount-wrap {
  margin-bottom: 1.5rem;
}

.custom-amount-field-box {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 2px solid #CBD5E1;
  border-radius: 12px;
  padding: 0.4rem 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.custom-amount-field-box:focus-within {
  border-color: #0079C1;
  box-shadow: 0 0 0 3px rgba(0, 121, 193, 0.15);
}

.custom-currency-symbol {
  font-size: 1.35rem;
  font-weight: 800;
  color: #475569;
  margin-right: 0.5rem;
}

.custom-amount-input {
  width: 100%;
  border: none;
  outline: none;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: #0F172A;
  background: transparent;
}

/* Dynamic Live Impact Card */
.dynamic-impact-card {
  background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
  border: 1.5px solid #A7F3D0;
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  transition: all 0.3s ease;
}

.dynamic-impact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #059669;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.dynamic-impact-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: #065F46;
  margin: 0 0 0.2rem 0;
}

.dynamic-impact-desc {
  font-size: 0.825rem;
  color: #047857;
  line-height: 1.45;
  margin: 0;
}

/* Program Selector & Note */
.donation-form-row {
  margin-bottom: 1.15rem;
}

.donation-form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.35rem;
}

.donation-select,
.donation-text-input {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  font-size: 0.875rem;
  color: #0F172A;
  background: #FFFFFF;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.donation-select:focus,
.donation-text-input:focus {
  border-color: #0079C1;
  outline: none;
}

/* Main PayPal Action Buttons */
.paypal-action-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.btn-paypal-golden {
  background: linear-gradient(135deg, #FFC439 0%, #F4B400 100%);
  color: #003087 !important;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  border-radius: 12px;
  padding: 0.95rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: 1px solid #E0A800;
  box-shadow: 0 6px 20px rgba(244, 180, 0, 0.4);
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
  text-decoration: none;
}

.btn-paypal-golden:hover {
  background: linear-gradient(135deg, #FFD066 0%, #FFC439 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 180, 0, 0.55);
  color: #001C48 !important;
}

.btn-card-secondary {
  background: #0F172A;
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-decoration: none;
}

.btn-card-secondary:hover {
  background: #1E293B;
  transform: translateY(-1px);
}

.paypal-security-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-size: 0.74rem;
  color: #64748B;
  margin-top: 1rem;
  text-align: center;
}

/* ==========================================================================
   OFFICIAL GOFUNDME CAMPAIGN STYLES
   Campaign: Help DAO Provide Artificial Limbs in Afghanistan
   ========================================================================== */
.gofundme-portal-card {
  background: linear-gradient(135deg, #02A95C 0%, #008744 100%);
  color: #FFFFFF;
  border-radius: 16px;
  padding: 1.75rem 2rem;
  margin-top: 1.5rem;
  box-shadow: 0 10px 30px rgba(2, 169, 92, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.gofundme-brand-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.gofundme-icon-badge {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 0.5rem 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: #02A95C;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.gofundme-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 0.35rem 0;
  line-height: 1.25;
}

.gofundme-info p {
  font-size: 0.88rem;
  color: #E8F5E9;
  margin: 0;
  line-height: 1.5;
  max-width: 650px;
}

.gofundme-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-gofundme-primary {
  background: #FFFFFF;
  color: #008744 !important;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 0.8rem 1.45rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-gofundme-primary:hover {
  background: #F0FDF4;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.btn-gofundme-whatsapp {
  background: #25D366;
  color: #FFFFFF !important;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.8rem 1.2rem;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-gofundme-whatsapp:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
}

.btn-gofundme-inline {
  background: #02A95C;
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(2, 169, 92, 0.3);
}

.btn-gofundme-inline:hover {
  background: #008744;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 169, 92, 0.45);
}

/* Sidebar / Impact Details */
.donation-impact-card-box {
  background: #FFFFFF;
  border-radius: 18px;
  border: 1px solid #E2E8F0;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  margin-bottom: 1.5rem;
}

.donation-sidebar-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.donation-guarantee-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.donation-guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #334155;
}

.donation-check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #DCFCE7;
  color: #16A34A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Institutional Wire Transfer Card */
.wire-instruction-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.wire-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  font-size: 0.875rem;
  margin-top: 1rem;
}

@media (max-width: 600px) {
  .wire-grid {
    grid-template-columns: 1fr;
  }
}

.wire-detail-item strong {
  display: block;
  font-size: 0.75rem;
  color: #64748B;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  letter-spacing: 0.04em;
}

.wire-detail-item span {
  font-weight: 700;
  color: #0F172A;
}

/* Donation FAQ Accordion / Grid */
.donation-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

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

.donation-faq-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.donation-faq-q {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 0.45rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.donation-faq-a {
  font-size: 0.85rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   REDESIGNED DONATION PAGE SYSTEM (DAO AFGHANISTAN)
   ========================================================================== */

/* 1. Immersive Hero Section */
.donation-hero-redesign {
  background: linear-gradient(135deg, #091325 0%, #0F233E 45%, #064E3B 100%);
  color: #FFFFFF;
  padding: 4.5rem 0 3.5rem 0;
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid #0D9488;
}

.donation-hero-redesign::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(13, 148, 136, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(245, 158, 11, 0.18) 0%, transparent 45%);
  pointer-events: none;
}

.donation-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.donation-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(13, 148, 136, 0.2);
  border: 1px solid rgba(13, 148, 136, 0.5);
  color: #5EEAD4;
  padding: 0.4rem 1.15rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  box-shadow: 0 0 20px rgba(13, 148, 136, 0.3);
}

.donation-hero-title {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 900;
  line-height: 1.18;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.02em;
}

.donation-hero-title .highlight-gold {
  background: linear-gradient(135deg, #FDE047 0%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.donation-hero-title .highlight-teal {
  background: linear-gradient(135deg, #5EEAD4 0%, #14B8A6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.donation-hero-desc {
  font-size: 1.1rem;
  color: #CBD5E1;
  line-height: 1.65;
  margin: 0 auto 2.25rem auto;
  max-width: 780px;
}

/* 4-Column Hero KPI Cards */
.donation-hero-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 900px) {
  .donation-hero-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .donation-hero-title {
    font-size: 2rem;
  }
}

@media (max-width: 500px) {
  .donation-hero-kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.donation-hero-kpi-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 1.15rem 1rem;
  text-align: center;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.donation-hero-kpi-card:hover {
  transform: translateY(-2px);
  border-color: #14B8A6;
  background: rgba(255, 255, 255, 0.09);
}

.donation-hero-kpi-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: #FBBF24;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.donation-hero-kpi-lbl {
  font-size: 0.75rem;
  font-weight: 700;
  color: #E2E8F0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.3;
}

/* Quick Anchor Pills */
.donation-jump-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.donation-jump-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.donation-jump-pill:hover {
  background: #0D9488;
  border-color: #14B8A6;
  color: #FFFFFF;
  transform: translateY(-1px);
}

.donation-jump-pill.highlight-pill {
  background: linear-gradient(135deg, #02A95C 0%, #008744 100%);
  border-color: #34D399;
}

/* Featured GoFundMe Mega Spotlight */
.gofundme-mega-spotlight {
  background: linear-gradient(135deg, #02A95C 0%, #007A3D 100%);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 2.25rem;
  margin: 2.5rem 0 3rem 0;
  box-shadow: 0 12px 36px rgba(2, 169, 92, 0.28);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.gofundme-mega-spotlight::after {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.16) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.gofundme-grid-2col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .gofundme-grid-2col {
    grid-template-columns: 1fr;
  }
}

.gofundme-tag-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.gofundme-pill-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.gofundme-verified-check {
  font-size: 0.82rem;
  color: #D1FAE5;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.gofundme-main-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: #FFFFFF;
  margin: 0 0 0.65rem 0;
  line-height: 1.25;
}

.gofundme-narrative {
  font-size: 0.95rem;
  color: #ECFDF5;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.gofundme-perks-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
  color: #FFFFFF;
}

@media (max-width: 600px) {
  .gofundme-perks-list {
    grid-template-columns: 1fr;
  }
}

.gofundme-perk-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.gofundme-action-box {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.gofundme-btn-huge {
  background: #FFFFFF;
  color: #007A3D !important;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 900;
  padding: 1rem 1.75rem;
  border-radius: 9999px;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
}

.gofundme-btn-huge:hover {
  background: #F0FDF4;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
  color: #005A2C !important;
}

.gofundme-methods-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.76rem;
  color: #D1FAE5;
  font-weight: 600;
}

/* Cost Transparency Infographic Section */
.cost-transparency-section {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 2.5rem;
  margin: 3.5rem 0;
}

.cost-transparency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: center;
}

@media (max-width: 900px) {
  .cost-transparency-grid {
    grid-template-columns: 1fr;
  }
}

.cost-comparison-card {
  background: #FFFFFF;
  border: 2px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.cost-compare-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px dashed #E2E8F0;
}

.cost-compare-row:last-child {
  border-bottom: none;
}

.cost-compare-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
}

.cost-compare-val-west {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #94A3B8;
  text-decoration: line-through;
}

.cost-compare-val-dao {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  color: #0D9488;
}

.breakdown-bars-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.breakdown-bar-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.breakdown-bar-head {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}

.breakdown-bar-track {
  height: 8px;
  background: #E2E8F0;
  border-radius: 9999px;
  overflow: hidden;
}

.breakdown-bar-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.8s ease;
}

/* 4-Step Rehabilitation Pathway */
.rehab-pathway-section {
  margin: 3.5rem 0;
}

.rehab-pathway-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1.75rem;
}

@media (max-width: 992px) {
  .rehab-pathway-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .rehab-pathway-grid {
    grid-template-columns: 1fr;
  }
}

.rehab-step-card {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.25rem;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rehab-step-card:hover {
  transform: translateY(-2px);
  border-color: #0D9488;
}

.rehab-step-badge {
  display: inline-block;
  background: #F0FDFA;
  color: #0D9488;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  border: 1px solid #99F6E4;
  margin-bottom: 0.65rem;
}

.rehab-step-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 0.35rem 0;
}

.rehab-step-desc {
  font-size: 0.825rem;
  color: #64748B;
  line-height: 1.5;
  margin: 0;
}

/* Interactive Accordion FAQ Styling */
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 840px;
  margin: 2rem auto 0 auto;
}

.faq-accordion-item {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-accordion-item.active {
  border-color: #0D9488;
  box-shadow: 0 4px 16px rgba(13, 148, 136, 0.08);
}

.faq-accordion-header {
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  user-select: none;
  background: #FFFFFF;
  transition: background 0.2s ease;
}

.faq-accordion-header:hover {
  background: #F8FAFC;
}

.faq-accordion-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.faq-accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #F1F5F9;
  color: #0D9488;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.2s ease;
}

.faq-accordion-item.active .faq-accordion-icon {
  transform: rotate(45deg);
  background: #0D9488;
  color: #FFFFFF;
}

.faq-accordion-body {
  padding: 0 1.35rem 1.25rem 1.35rem;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.6;
  display: none;
}

.faq-accordion-item.active .faq-accordion-body {
  display: block;
}

/* Direct Banking & Wire Instruction Enhancements */
.wire-instruction-card-enhanced {
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  border: 1.5px solid #CBD5E1;
  border-radius: 18px;
  padding: 2.25rem;
  margin-top: 3.5rem;
}

.wire-field-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .wire-field-grid {
    grid-template-columns: 1fr;
  }
}

.wire-field-box {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 1rem 1.15rem;
  position: relative;
  transition: all 0.2s ease;
}

.wire-field-box:hover {
  border-color: #0D9488;
  box-shadow: 0 4px 12px rgba(13, 148, 136, 0.08);
}

.wire-field-lbl {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wire-field-val {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F172A;
  word-break: break-word;
}

.wire-copy-btn {
  background: transparent;
  border: none;
  color: #0D9488;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.wire-copy-btn:hover {
  color: #0F766E;
}

/* In-Kind & Equipment Partnership Box */
.in-kind-banner {
  background: #FFFFFF;
  border: 1.5px solid #99F6E4;
  border-left: 5px solid #0D9488;
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.in-kind-content h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F766E;
  margin: 0 0 0.35rem 0;
}

.in-kind-content p {
  font-size: 0.88rem;
  color: #334155;
  margin: 0;
  line-height: 1.5;
  max-width: 680px;
}

/* ==========================================================================
   DAO AFGHANISTAN - PAST JOBS ARCHIVE (497 POSITIONS 2015-2026) STYLES
   VIVID SHARP YELLOW COLOR SCHEME WITH CRISP LUMINOUS LIGHT ACCENTS
   ========================================================================== */

/* Keyframe for Sharp Radiant Yellow Light Glow */
@keyframes sharpYellowLightPulse {
  0%, 100% {
    box-shadow: 0 0 14px rgba(250, 204, 21, 0.55), inset 0 0 8px rgba(254, 240, 138, 0.3);
  }
  50% {
    box-shadow: 0 0 26px rgba(250, 204, 21, 0.9), inset 0 0 14px rgba(254, 240, 138, 0.55);
  }
}

/* 1. Hero Stat Pill: 497 Past Jobs Archive (Sharp Yellow with Light Glow) */
.acbar-stat-pill-archive-yellow {
  text-decoration: none !important;
  border: 2px solid #FACC15 !important;
  background: linear-gradient(135deg, rgba(254, 240, 138, 0.28) 0%, rgba(234, 179, 8, 0.16) 100%) !important;
  border-radius: 4px !important; /* Sharp corners */
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.65), inset 0 0 10px rgba(254, 240, 138, 0.3) !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease !important;
  animation: sharpYellowLightPulse 3.5s ease-in-out infinite;
}

.acbar-stat-pill-archive-yellow .acbar-stat-num {
  color: #FDE047 !important;
  text-shadow: 0 0 12px rgba(250, 204, 21, 0.85), 0 0 2px #CA8A04 !important;
  font-weight: 900 !important;
}

.acbar-stat-pill-archive-yellow .acbar-stat-lbl {
  color: #FEF9C3 !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em;
}

.acbar-stat-pill-archive-yellow:hover {
  transform: translateY(-2px);
  border-color: #FEF08A !important;
  box-shadow: 0 0 30px rgba(250, 204, 21, 1), inset 0 0 16px rgba(254, 240, 138, 0.5) !important;
}

/* 2. Navigation Tabs Button: 📂 Past Jobs Archive [497] */
.acbar-tab-btn-past-archive {
  background: linear-gradient(135deg, #FFFDF0 0%, #FEF08A 100%) !important;
  color: #713F12 !important;
  font-weight: 800 !important;
  border: 2px solid #EAB308 !important;
  border-radius: 4px !important; /* Sharp crisp edges */
  box-shadow: 0 0 16px rgba(234, 179, 8, 0.45), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  text-decoration: none !important;
  position: relative;
  transition: all 0.2s ease !important;
  cursor: pointer;
}

.acbar-tab-btn-past-archive:hover {
  background: linear-gradient(135deg, #FEF08A 0%, #FDE047 100%) !important;
  color: #451A03 !important;
  border-color: #CA8A04 !important;
  box-shadow: 0 0 24px rgba(250, 204, 21, 0.8), 0 4px 12px rgba(234, 179, 8, 0.35) !important;
  transform: translateY(-2px);
}

.acbar-tab-count-archive {
  background: #B45309 !important;
  color: #FFFFFF !important;
  font-weight: 900 !important;
  border-radius: 2px !important; /* Sharp */
  padding: 0.15rem 0.5rem !important;
  box-shadow: 0 0 8px rgba(180, 83, 9, 0.5) !important;
  border: 1px solid #78350F !important;
  font-size: 0.78rem !important;
}

/* 3. Main Past Jobs Section Container */
.past-jobs-section {
  margin-top: 3.5rem;
  background: #FFFFFF;
  border: 2.5px solid #EAB308;
  border-radius: 6px; /* Sharp corners */
  box-shadow: 0 0 32px rgba(250, 204, 21, 0.22), 0 8px 32px rgba(217, 119, 6, 0.1);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
}

/* Luminous sharp light accent top bar */
.past-jobs-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #FDE047, #F59E0B, #FACC15, #F59E0B, #FDE047);
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.85);
}

/* 4. Badges Strip (Sharp Yellow Corners) */
.past-jobs-badge-strip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
  margin-top: 0.35rem;
}

.past-jobs-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 800;
  border-radius: 3px; /* Sharp corners */
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.past-jobs-badge-archive-yellow {
  background: #FEF9C3;
  color: #713F12;
  border: 1.5px solid #FACC15;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.35);
}

.past-jobs-badge-yellow-glow {
  background: #FEF08A;
  color: #854D0E;
  border: 1.5px solid #EAB308;
  box-shadow: 0 0 14px rgba(234, 179, 8, 0.45);
}

.past-jobs-badge-amber {
  background: #FFFBEB;
  color: #92400E;
  border: 1.5px solid #FDE68A;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.25);
}

.past-jobs-badge-primary {
  background: #FEF9C3;
  color: #713F12;
  border: 1.5px solid #FACC15;
}

.past-jobs-badge-success {
  background: #ECFDF5;
  color: #065F46;
  border: 1.5px solid #A7F3D0;
}

.past-jobs-badge-teal {
  background: #FFFBEB;
  color: #854D0E;
  border: 1.5px solid #FDE68A;
}

.past-jobs-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 0.5rem 0;
  line-height: 1.3;
}

.past-jobs-subtitle {
  font-size: 0.95rem;
  color: #64748B;
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
}

/* 5. Summary Statistics Grid */
.past-jobs-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 1024px) {
  .past-jobs-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .past-jobs-stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.past-stat-card {
  background: #FFFDF5;
  border: 1.5px solid #FEF08A;
  border-radius: 4px; /* Sharp corners */
  padding: 1rem 1.15rem;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.past-stat-card:hover {
  transform: translateY(-2px);
  border-color: #EAB308;
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.4);
}

/* Featured 497 Stat Card (Sharp Yellow with Light Glow) */
.past-stat-card-featured {
  background: linear-gradient(135deg, #FEF9C3 0%, #FEF08A 100%) !important;
  border: 2px solid #EAB308 !important;
  border-radius: 4px !important; /* Sharp corners */
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.45), inset 0 0 10px rgba(254, 240, 138, 0.35) !important;
}

.past-stat-card-featured .past-stat-num {
  color: #78350F !important;
  font-size: 1.85rem !important;
  font-weight: 900 !important;
  text-shadow: 0 0 8px rgba(250, 204, 21, 0.65) !important;
}

.past-stat-card-featured .past-stat-lbl {
  color: #854D0E !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em;
}

.past-stat-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: #B45309;
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.past-stat-lbl {
  font-size: 0.78rem;
  font-weight: 700;
  color: #78350F;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* 6. Filter & Search Panel (Sharp Yellow Light Accents) */
.past-filter-panel {
  background: linear-gradient(180deg, #FFFDF0 0%, #FEFCE8 100%);
  border: 1.5px solid #FDE047;
  border-radius: 4px; /* Sharp corners */
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 16px rgba(250, 204, 21, 0.18);
}

.past-filter-grid {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1fr 1.1fr auto;
  gap: 0.75rem;
  align-items: center;
}

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

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

.past-search-wrap {
  position: relative;
}

.past-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: #B45309;
  pointer-events: none;
}

.past-input-search {
  width: 100%;
  padding: 0.65rem 0.85rem 0.65rem 2.4rem;
  font-size: 0.88rem;
  background: #FFFFFF;
  border: 1.5px solid #FDE68A;
  border-radius: 4px; /* Sharp */
  color: #0F172A;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.past-input-search:focus {
  border-color: #EAB308;
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.3), 0 0 10px rgba(250, 204, 21, 0.4);
}

.past-select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  background: #FFFFFF;
  border: 1.5px solid #FDE68A;
  border-radius: 4px; /* Sharp */
  color: #0F172A;
  outline: none;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.past-select:focus {
  border-color: #EAB308;
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.3);
}

.past-btn-reset {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  background: #FFFFFF;
  border: 1.5px solid #FDE68A;
  border-radius: 4px; /* Sharp */
  color: #78350F;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.past-btn-reset:hover {
  background: #FEF08A;
  border-color: #EAB308;
  color: #451A03;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.4);
}

.past-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #FEF08A;
}

.past-results-info {
  font-size: 0.9rem;
  color: #475569;
  font-weight: 600;
}

.past-results-count {
  font-weight: 900;
  color: #B45309;
  text-shadow: 0 0 6px rgba(250, 204, 21, 0.35);
}

.past-tools-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.past-view-btn {
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 700;
  background: #FFFDF0;
  border: 1px solid #FDE68A;
  border-radius: 3px; /* Sharp */
  color: #78350F;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}

.past-view-btn.active, .past-view-btn:hover {
  background: #EAB308;
  color: #000000;
  border-color: #CA8A04;
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.5);
}

.past-action-btn {
  padding: 0.45rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 3px; /* Sharp */
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.15s ease;
}

.past-btn-csv {
  background: #FEF9C3;
  border: 1.5px solid #FACC15;
  color: #713F12;
}

.past-btn-csv:hover {
  background: #FEF08A;
  border-color: #EAB308;
  box-shadow: 0 0 12px rgba(250, 204, 21, 0.5);
}

.past-btn-print {
  background: #FFFDF5;
  border: 1px solid #FDE68A;
  color: #78350F;
}

.past-btn-print:hover {
  background: #FEF08A;
  border-color: #EAB308;
}

/* 7. Past Jobs Table (Sharp Yellow Light Highlights) */
.past-table-container {
  overflow-x: auto;
  border: 1.5px solid #FDE047;
  border-radius: 4px; /* Sharp corners */
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(234, 179, 8, 0.08);
}

.past-jobs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  text-align: left;
}

.past-jobs-table th {
  background: #FEF9C3;
  color: #713F12;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  padding: 0.85rem 1rem;
  border-bottom: 2px solid #EAB308;
  white-space: nowrap;
}

.past-jobs-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #FEF9C3;
  color: #334155;
  vertical-align: middle;
}

.past-jobs-table tr:hover td {
  background: #FFFDF0;
}

/* Sharp Yellow Reference Code Badge */
.past-ref-code {
  font-family: var(--font-mono, monospace);
  font-weight: 800;
  color: #78350F;
  font-size: 0.8rem;
  background: #FEF9C3;
  padding: 0.2rem 0.55rem;
  border-radius: 3px; /* Sharp */
  border: 1.5px solid #FACC15;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.35);
  white-space: nowrap;
}

.past-table-title {
  font-weight: 700;
  color: #0F172A;
  line-height: 1.35;
  text-decoration: none;
  cursor: pointer;
}

.past-table-title:hover {
  color: #B45309;
  text-decoration: underline;
}

.past-cat-pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 3px; /* Sharp */
  background: #FFFBEB;
  color: #854D0E;
  border: 1px solid #FEF08A;
  white-space: nowrap;
}

.past-closed-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.55rem;
  border-radius: 3px; /* Sharp */
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
  white-space: nowrap;
}

.past-btn-view {
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 800;
  background: #FFFDF0;
  border: 1.5px solid #EAB308;
  color: #78350F;
  border-radius: 3px; /* Sharp */
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.past-btn-view:hover {
  background: #EAB308;
  color: #000000;
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.55);
}

/* 8. Past Jobs Card Grid (Sharp Corners & Yellow Light Hover) */
.past-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.past-job-card-item {
  background: #FFFFFF;
  border: 1.5px solid #FDE047;
  border-radius: 4px; /* Sharp corners */
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.08);
  transition: all 0.2s ease;
}

.past-job-card-item:hover {
  transform: translateY(-2px);
  border-color: #EAB308;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.4), 0 4px 14px rgba(0, 0, 0, 0.06);
}

/* 9. Pagination Bar (Sharp Yellow Buttons) */
.past-pagination-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1.5px solid #FEF08A;
}

.past-page-controls {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.past-page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  background: #FFFDF0;
  border: 1px solid #FDE68A;
  border-radius: 3px; /* Sharp */
  color: #78350F;
  cursor: pointer;
  transition: all 0.15s ease;
}

.past-page-btn:hover:not(:disabled) {
  background: #FEF08A;
  border-color: #EAB308;
  color: #451A03;
  box-shadow: 0 0 8px rgba(250, 204, 21, 0.4);
}

.past-page-btn.active {
  background: #EAB308;
  border-color: #CA8A04;
  color: #000000;
  font-weight: 900;
  box-shadow: 0 0 12px rgba(234, 179, 8, 0.55);
}

.past-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM: DAO AFGHANISTAN JOBS PORTAL & 497 PAST JOBS ARCHIVE
   Flawless layout across Desktop, Laptop, Tablets, and Smartphones (320px - 1440px)
   ========================================================================== */

/* Enhanced Scrollbar for Horizontal Touch Scrolling */
.past-table-container,
.acbar-tabs-list {
  scrollbar-width: thin;
  scrollbar-color: #EAB308 #FEF9C3;
}

.past-table-container::-webkit-scrollbar,
.acbar-tabs-list::-webkit-scrollbar {
  height: 6px;
}

.past-table-container::-webkit-scrollbar-track,
.acbar-tabs-list::-webkit-scrollbar-track {
  background: #FFFDF0;
}

.past-table-container::-webkit-scrollbar-thumb,
.acbar-tabs-list::-webkit-scrollbar-thumb {
  background: #EAB308;
  border-radius: 3px;
}

/* --- TABLETS & MEDIUM DESKTOPS (<= 1024px) --- */
@media (max-width: 1024px) {
  .acbar-header-banner {
    padding: 1.75rem 2rem;
    gap: 1.5rem;
  }

  .acbar-banner-meta {
    gap: 0.75rem;
  }

  .past-jobs-section {
    padding: 1.75rem;
    margin-top: 2.5rem;
  }

  .past-jobs-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

/* --- SMALL TABLETS & LARGE MOBILE SCREENS (<= 991px) --- */
@media (max-width: 991px) {
  .acbar-header-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .acbar-banner-text h2 {
    font-size: 1.6rem;
  }

  .acbar-banner-meta {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
  }

  .acbar-stat-pill {
    padding: 0.65rem 0.6rem;
  }

  .acbar-stat-num {
    font-size: 1.45rem;
  }

  .acbar-tabs-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .acbar-tabs-list {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }

  .acbar-tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .past-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .past-tools-right {
    width: 100%;
    justify-content: flex-start;
  }
}

/* --- STANDARD SMARTPHONES & MOBILE SCREENS (<= 768px) --- */
@media (max-width: 768px) {
  .acbar-header-banner {
    padding: 1.25rem 1rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
  }

  .acbar-banner-text h2 {
    font-size: 1.35rem;
    line-height: 1.3;
  }

  .acbar-banner-text p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .acbar-banner-meta {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
  }

  .acbar-stat-pill {
    padding: 0.6rem 0.5rem;
    border-radius: 6px;
  }

  .acbar-stat-num {
    font-size: 1.35rem;
  }

  .acbar-stat-lbl {
    font-size: 0.68rem;
  }

  /* ACBAR Live Search & Filter Bar */
  .acbar-search-box {
    padding: 1.15rem 1rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
  }

  .acbar-filter-grid {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .acbar-input,
  .acbar-select,
  #acbarResetBtn {
    font-size: 16px; /* Prevents unwanted iOS Safari viewport auto-zoom */
    min-height: 42px;
  }

  #acbarResetBtn {
    padding: 0.65rem 1rem;
    width: 100%;
  }

  /* Active Vacancy Job Cards */
  .acbar-job-card {
    padding: 1.15rem 1rem;
    border-radius: 10px;
    gap: 0.85rem;
  }

  .acbar-job-top {
    gap: 0.75rem;
  }

  .acbar-org-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .acbar-org-logo {
    width: 44px;
    height: 44px;
  }

  .acbar-job-title-group h3 {
    font-size: 1.12rem;
  }

  .acbar-meta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    padding: 0.75rem 0.85rem;
  }

  .acbar-meta-label {
    font-size: 0.68rem;
  }

  .acbar-meta-value {
    font-size: 0.8rem;
  }

  .acbar-job-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .acbar-deadline {
    font-size: 0.8rem;
  }

  .acbar-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .btn-acbar-secondary,
  .btn-acbar-primary {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    font-size: 0.85rem;
  }

  /* 497 Past Jobs Archive Section */
  .past-jobs-section {
    padding: 1.25rem 1rem;
    margin-top: 2rem;
    border-radius: 6px;
    border-width: 2px;
  }

  .past-jobs-title {
    font-size: 1.25rem;
    line-height: 1.35;
  }

  .past-jobs-subtitle {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }

  .past-jobs-badge-strip {
    gap: 0.4rem;
    margin-bottom: 0.75rem;
  }

  .past-jobs-badge {
    font-size: 0.68rem;
    padding: 0.25rem 0.55rem;
  }

  /* Summary Stats Grid (Featured 497 Card spans full width) */
  .past-jobs-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .past-stat-card-featured {
    grid-column: 1 / -1; /* Spans full width on mobile for bold emphasis */
    text-align: center;
    padding: 1rem;
  }

  .past-stat-card {
    padding: 0.75rem 0.65rem;
  }

  .past-stat-num {
    font-size: 1.35rem;
  }

  .past-stat-lbl {
    font-size: 0.68rem;
  }

  .past-stat-card-featured .past-stat-num {
    font-size: 1.7rem !important;
  }

  /* Past Filter Panel */
  .past-filter-panel {
    padding: 1rem 0.85rem;
    margin-bottom: 1.25rem;
  }

  .past-filter-grid {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .past-input-search,
  .past-select,
  .past-btn-reset {
    font-size: 16px; /* No iOS Safari auto-zoom */
    min-height: 42px;
  }

  .past-btn-reset {
    width: 100%;
    text-align: center;
  }

  /* Past Toolbar */
  .past-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .past-results-info {
    font-size: 0.825rem;
    text-align: center;
  }

  .past-tools-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
  }

  .past-tools-right select {
    width: 100%;
    margin-top: 0.25rem;
    font-size: 16px;
    height: 38px;
  }

  .past-view-btn,
  .past-action-btn {
    padding: 0.45rem 0.65rem;
    font-size: 0.75rem;
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
  }

  /* Data Table Container with Smooth Touch Scrolling */
  .past-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 4px;
    margin-bottom: 1rem;
  }

  .past-jobs-table {
    min-width: 680px; /* Preserves column alignments and readability */
    font-size: 0.82rem;
  }

  .past-jobs-table th,
  .past-jobs-table td {
    padding: 0.7rem 0.65rem;
  }

  /* Responsive Card Grid View */
  .past-card-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .past-job-card-item {
    padding: 1rem;
  }

  /* Pagination Bar */
  .past-pagination-bar {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    text-align: center;
  }

  .past-page-controls {
    justify-content: center;
    gap: 0.25rem;
  }

  .past-page-btn {
    min-width: 32px;
    height: 34px;
    font-size: 0.78rem;
    padding: 0 0.25rem;
  }
}

/* --- EXTRA-SMALL MOBILE PHONES (<= 480px) --- */
@media (max-width: 480px) {
  .page-banner {
    padding: 2rem 0;
  }

  .page-banner-title {
    font-size: 1.45rem;
  }

  .page-banner-desc {
    font-size: 0.85rem;
  }

  .acbar-header-banner {
    padding: 1.1rem 0.85rem;
  }

  .acbar-banner-meta {
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .acbar-meta-grid {
    grid-template-columns: 1fr; /* Single column on compact screens */
  }

  .past-jobs-section {
    padding: 0.85rem 0.65rem;
  }

  .past-jobs-title {
    font-size: 1.15rem;
  }

  .past-jobs-badge-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  .past-jobs-badge {
    width: 100%;
    justify-content: center;
  }

  .past-tools-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    width: 100%;
  }

  .past-tools-right select {
    grid-column: 1 / -1;
  }
}

/* --- TERMS OF REFERENCE MODAL POPUP RESPONSIVE --- */
@media (max-width: 768px) {
  .modal-dialog {
    max-width: 95% !important;
    margin: 1rem auto !important;
    max-height: 88vh !important;
  }

  .modal-header {
    padding: 0.85rem 1rem !important;
  }

  .modal-header h3 {
    font-size: 1.1rem !important;
  }

  .modal-body {
    padding: 1rem 0.85rem !important;
  }

  #pastModalBody div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 0.65rem !important;
    padding: 0.85rem !important;
  }
}

/* ==========================================================================
   EXECUTIVE DIRECTOR'S MESSAGE & FIELD LEADERSHIP SECTION
   ========================================================================== */
.director-leadership-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 50%, #F1F5F9 100%);
  position: relative;
  overflow: hidden;
}

.director-leadership-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #424497 0%, #0D9488 50%, #F59E0B 100%);
}

.director-master-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 960px) {
  .director-master-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.director-portrait-container {
  position: relative;
}

.director-portrait-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(66, 68, 151, 0.16);
  border: 4px solid #FFFFFF;
  background: #0F172A;
}

.director-portrait-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s ease;
}

.director-portrait-card:hover .director-portrait-img {
  transform: scale(1.03);
}

.director-portrait-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 60%, transparent 100%);
  padding: 2rem 1.75rem 1.5rem 1.75rem;
  color: #FFFFFF;
}

.director-portrait-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.director-portrait-role {
  font-size: 0.88rem;
  font-weight: 700;
  color: #38BDF8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.director-portrait-pashto {
  font-size: 0.95rem;
  color: #E2E8F0;
  font-weight: 600;
}

/* Floating Station Visit Mini Card */
.director-station-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  padding: 0.5rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.director-content-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.director-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #424497;
  background: rgba(66, 68, 151, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  width: fit-content;
}

.director-main-quote {
  font-family: var(--font-display);
  font-size: 1.95rem;
  font-weight: 900;
  color: #1E1B4B;
  line-height: 1.3;
}

.director-narrative-p {
  font-size: 1.02rem;
  color: #334155;
  line-height: 1.7;
}

.director-station-visit-preview {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  padding: 1.25rem;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

@media (max-width: 600px) {
  .director-station-visit-preview {
    flex-direction: column;
  }
}

.station-preview-img-wrap {
  width: 140px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.station-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.station-preview-info {
  flex-grow: 1;
}

.station-preview-title {
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.25rem;
}

.station-preview-desc {
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.5;
  margin-bottom: 0.4rem;
}

.station-preview-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0D9488;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.station-preview-link:hover {
  text-decoration: underline;
}

/* Authentic Photos Gallery Cards */
.authentic-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.authentic-photo-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.authentic-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.authentic-photo-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #0F172A;
}

.authentic-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

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

.authentic-photo-body {
  padding: 1.25rem;
}

.authentic-photo-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.authentic-photo-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.4rem;
}

.authentic-photo-desc {
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.55;
}

/* ==========================================================================
   SERVING SINCE 2004 - ULTRA-SHARP BLINKING VISITOR FOCUS SYSTEM (MAIN SLIDER)
   ========================================================================== */

/* 1. HUD Cockpit Primary Serving Badge */
.hud-serving-sharp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #7F1D1D 0%, #9A3412 35%, #064E3B 100%);
  border: 1.5px solid #F59E0B;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.5), inset 0 0 10px rgba(239, 68, 68, 0.3);
  position: relative;
  overflow: hidden;
  animation: sharpBorderPulse 2.8s infinite ease-in-out;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hud-serving-sharp-badge:hover {
  transform: scale(1.05);
  box-shadow: 0 0 22px rgba(245, 158, 11, 0.8), inset 0 0 14px rgba(239, 68, 68, 0.5);
}

/* Sharp Color Shimmer Across Badge */
.hud-serving-sharp-badge::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(25deg);
  animation: sharpShimmerSweep 3s infinite ease-in-out;
  pointer-events: none;
}

/* Blinking Beacon Dot with Concentric Radar Wave Rings */
.serving-sharp-beacon-wrap {
  position: relative;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.serving-sharp-core-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #EF4444;
  box-shadow: 0 0 8px #EF4444;
  animation: sharpBlinkColor 1.4s infinite cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.serving-sharp-radar-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #F59E0B;
  animation: sharpRadarExpand 1.6s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
  opacity: 0.8;
  pointer-events: none;
}

.serving-sharp-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 0 10px rgba(245, 158, 11, 0.8);
  white-space: nowrap;
}

.serving-sharp-pill {
  background: #FEF08A;
  color: #713F12;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.5rem;
  border-radius: 9999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  animation: sharpPillGlow 1.8s infinite alternate;
}

/* 2. Slide Narrative High-Impact Focus Banner (Top of Every Slide) */
.slider-serving-focus-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(15, 23, 42, 0.88);
  border: 1.5px solid #F59E0B;
  padding: 0.45rem 1.15rem;
  border-radius: 9999px;
  margin-bottom: 1.15rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 16px rgba(245, 158, 11, 0.35);
  position: relative;
  overflow: hidden;
  animation: sharpBorderPulse 3s infinite ease-in-out;
}

.slider-serving-focus-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: rotate(25deg);
  animation: sharpShimmerSweep 3.2s infinite ease-in-out;
  pointer-events: none;
}

.serving-focus-tag {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  background: linear-gradient(90deg, #FDE047 0%, #F59E0B 50%, #FB923C 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.8));
}

.serving-focus-sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.serving-focus-detail {
  font-size: 0.8rem;
  font-weight: 700;
  color: #E2E8F0;
  letter-spacing: 0.02em;
}

/* Sharp Color Animations */
@keyframes sharpBlinkColor {
  0%, 100% {
    background-color: #EF4444;
    box-shadow: 0 0 8px #EF4444, 0 0 16px #DC2626;
    transform: scale(1);
  }
  33% {
    background-color: #F59E0B;
    box-shadow: 0 0 10px #F59E0B, 0 0 20px #D97706;
    transform: scale(1.2);
  }
  66% {
    background-color: #10B981;
    box-shadow: 0 0 10px #10B981, 0 0 20px #059669;
    transform: scale(1.1);
  }
}

@keyframes sharpRadarExpand {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
    border-color: #EF4444;
  }
  50% {
    border-color: #F59E0B;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
    border-color: #10B981;
  }
}

@keyframes sharpBorderPulse {
  0%, 100% {
    border-color: #F59E0B;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.45);
  }
  33% {
    border-color: #EF4444;
    box-shadow: 0 0 16px rgba(239, 68, 68, 0.55);
  }
  66% {
    border-color: #10B981;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.55);
  }
}

@keyframes sharpShimmerSweep {
  0% {
    left: -75%;
  }
  35%, 100% {
    left: 140%;
  }
}

@keyframes sharpPillGlow {
  0% {
    background: #FEF08A;
    color: #713F12;
    box-shadow: 0 0 4px rgba(254, 240, 138, 0.6);
  }
  100% {
    background: #FBBF24;
    color: #451A03;
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.9);
  }
}

/* ==========================================================================
   TEAM & LEADERSHIP PHOTO EXTENSIONS
   ========================================================================== */
.team-avatar.has-img {
  padding: 0;
  overflow: hidden;
  border: 2px solid #0D9488;
  background: #0F172A;
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-leadership-spotlight {
  background: linear-gradient(135deg, #0A192F 0%, #0F284E 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2.25rem;
  color: #FFFFFF;
  margin-bottom: 3.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}
