/* ==========================================================================
   Elevate for Community Development (elevatengo.com)
   Modern Bilingual (AR/EN) Editorial NGO Website Stylesheet
   ========================================================================== */

:root {
  /* Brand Palette harmonized with Elevate's official emblem */
  --navy-950: #061226;
  --navy-900: #0a1e40;
  --navy-800: #122d5b;
  --navy-700: #1d4280;
  --navy-100: #e8effa;
  --navy-50: #f3f7fd;

  --gold-600: #b87b12;
  --gold-500: #d9971c;
  --gold-400: #f0b429;
  --gold-100: #fef6e4;

  --emerald-700: #0f5c3a;
  --emerald-600: #157347;
  --emerald-100: #e7f6ee;

  --crimson-600: #c42e2e;
  --crimson-100: #fdecec;

  /* Neutrals */
  --bg-page: #faf8f4;
  --bg-surface: #ffffff;
  --bg-muted: #f2efe9;
  --ink-900: #0d1b2a;
  --ink-700: #334155;
  --ink-500: #64748b;
  --ink-400: #94a3b8;
  --border-subtle: rgba(13, 27, 42, 0.08);
  --border-strong: rgba(13, 27, 42, 0.14);

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

  --shadow-sm: 0 2px 8px rgba(10, 30, 64, 0.05);
  --shadow-md: 0 12px 32px -8px rgba(10, 30, 64, 0.1);
  --shadow-lg: 0 24px 60px -16px rgba(10, 30, 64, 0.18);
  --shadow-gold: 0 14px 32px -10px rgba(217, 151, 28, 0.45);

  /* Typography */
  --font-ar: 'Cairo', 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  --font-en: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-sans: var(--font-en);

  /* Layout */
  --container-max: 1200px;
  --header-height: 78px;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

html[dir="rtl"] {
  --font-sans: var(--font-ar);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--ink-900);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.container {
  width: min(100% - 2.5rem, var(--container-max));
  margin-inline: auto;
}

/* ==========================================================================
   Top Accreditation Bar
   ========================================================================== */
.top-bar {
  background-color: var(--navy-950);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.55rem;
  flex-wrap: wrap;
}

.top-bar__badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.top-bar__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.top-bar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-400);
  flex-shrink: 0;
}

.top-bar__divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.2);
}

.top-bar__contacts {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color var(--transition);
  font-weight: 500;
}

.top-bar__link:hover {
  color: var(--gold-400);
}

.top-bar__link svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* ==========================================================================
   Sticky Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--transition), background-color var(--transition);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-md);
}

.header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

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

.brand-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-700);
  transition: color var(--transition), background-color var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--navy-900);
  background-color: var(--navy-50);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--navy-900);
  font-weight: 800;
  font-size: 0.82rem;
  transition: all var(--transition);
}

.lang-toggle:hover {
  border-color: var(--navy-700);
  background: var(--navy-50);
}

.lang-toggle svg {
  width: 15px;
  height: 15px;
  color: var(--navy-700);
}

/* Reusable Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  padding: 0.78rem 1.5rem;
  font-size: 0.92rem;
  line-height: 1.2;
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn--sm {
  padding: 0.58rem 1.15rem;
  font-size: 0.85rem;
}

.btn--lg {
  padding: 0.98rem 1.85rem;
  font-size: 1rem;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #f6c445, var(--gold-400));
  box-shadow: 0 18px 36px -10px rgba(217, 151, 28, 0.55);
}

.btn--navy {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-900));
  color: #ffffff;
  box-shadow: 0 10px 24px -8px rgba(10, 30, 64, 0.45);
}

.btn--navy:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  box-shadow: 0 16px 32px -10px rgba(10, 30, 64, 0.55);
}

.btn--glass {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.btn--glass:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--outline {
  background: var(--bg-surface);
  color: var(--navy-900);
  border: 1.5px solid var(--border-strong);
}

.btn--outline:hover {
  border-color: var(--navy-800);
  background: var(--navy-50);
  transform: translateY(-1px);
}

.btn--emerald {
  background: var(--emerald-600);
  color: #ffffff;
  box-shadow: 0 10px 24px -8px rgba(21, 115, 71, 0.4);
}

.btn--emerald:hover {
  background: var(--emerald-700);
  transform: translateY(-2px);
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-600);
  box-shadow: 0 0 0 0 rgba(21, 115, 71, 0.7);
  animation: pulse-ring 2s infinite;
}

.btn--gold .live-dot {
  background: var(--navy-950);
  box-shadow: 0 0 0 0 rgba(6, 18, 38, 0.5);
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(21, 115, 71, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(21, 115, 71, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(21, 115, 71, 0);
  }
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  background: var(--bg-surface);
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
  transition: visibility var(--transition);
}

.mobile-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 38, 0.58);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-drawer.is-open .mobile-drawer__backdrop {
  opacity: 1;
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  width: min(86vw, 340px);
  background: var(--bg-surface);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
}

html[dir="rtl"] .mobile-drawer__panel {
  transform: translateX(-100%);
}

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

.mobile-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer__header img {
  height: 42px;
}

.mobile-drawer__close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--bg-muted);
  color: var(--ink-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-drawer__nav a {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  color: var(--ink-900);
  transition: background-color var(--transition);
}

.mobile-drawer__nav a:hover {
  background: var(--navy-50);
  color: var(--navy-800);
}

.mobile-drawer__footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: clamp(600px, 84vh, 840px);
  display: flex;
  align-items: center;
  padding-block: 4.5rem 7rem;
  overflow: hidden;
  background-color: var(--navy-950);
  color: #ffffff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.03);
  filter: saturate(1.06);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 80% 20%, rgba(240, 180, 41, 0.22), transparent 46%),
    radial-gradient(circle at 15% 85%, rgba(21, 115, 71, 0.24), transparent 48%),
    linear-gradient(115deg, rgba(6, 18, 38, 0.92) 0%, rgba(10, 30, 64, 0.8) 52%, rgba(10, 30, 64, 0.62) 100%);
}

html[dir="rtl"] .hero__overlay {
  background:
    radial-gradient(circle at 20% 20%, rgba(240, 180, 41, 0.22), transparent 46%),
    radial-gradient(circle at 85% 85%, rgba(21, 115, 71, 0.24), transparent 48%),
    linear-gradient(245deg, rgba(6, 18, 38, 0.92) 0%, rgba(10, 30, 64, 0.8) 52%, rgba(10, 30, 64, 0.62) 100%);
}

.hero__pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.08;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 32px 32px;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold-400);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.15rem, 4.4vw, 3.7rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}

.hero__title-accent {
  color: var(--gold-400);
  display: block;
}

.hero__lead {
  font-size: clamp(1.02rem, 1.45vw, 1.18rem);
  color: rgba(255, 255, 255, 0.84);
  max-width: 60ch;
  margin-bottom: 2.15rem;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.76);
}

.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

.hero__trust-item svg {
  width: 17px;
  height: 17px;
  color: var(--gold-400);
}

/* Hero Floating Portal Gateway Card */
.hero-portal-card {
  background: rgba(10, 30, 64, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 28px 60px -18px rgba(0, 0, 0, 0.55);
}

.hero-portal-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.hero-portal-card__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.78rem;
  border-radius: var(--radius-full);
  background: rgba(21, 115, 71, 0.25);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #6ee7b7;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero-portal-card__domain {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.58);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  direction: ltr;
}

.hero-portal-card__title {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.hero-portal-card__desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.35rem;
  line-height: 1.65;
}

.hero-portal-card__list {
  display: grid;
  gap: 0.65rem;
}

.hero-portal-card__list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.hero-portal-card__list svg {
  width: 17px;
  height: 17px;
  color: var(--gold-400);
  flex-shrink: 0;
}

.hero-portal-card .btn {
  width: 100%;
}

/* ==========================================================================
   Impact Metrics Ribbon (Overlapping Hero Bottom)
   ========================================================================== */
.metrics-band {
  position: relative;
  z-index: 10;
  margin-top: -3.5rem;
  padding-bottom: 1.5rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 980px;
  margin-inline: auto;
}

.metric-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.metric-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.metric-card__icon svg {
  width: 24px;
  height: 24px;
}

.metric-card__icon--navy {
  background: var(--navy-100);
  color: var(--navy-800);
}

.metric-card__icon--gold {
  background: var(--gold-100);
  color: var(--gold-600);
}

.metric-card__icon--emerald {
  background: var(--emerald-100);
  color: var(--emerald-600);
}

.metric-card__icon--crimson {
  background: var(--crimson-100);
  color: var(--crimson-600);
}

.metric-card__value {
  font-size: 1.65rem;
  font-weight: 900;
  color: var(--navy-900);
  line-height: 1.15;
}

.metric-card__label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-500);
  margin-top: 0.2rem;
}

/* ==========================================================================
   Section Base & Headings
   ========================================================================== */
.section {
  padding-block: 5.5rem;
}

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

.section--tinted {
  background: var(--bg-muted);
}

.section--navy {
  background: linear-gradient(145deg, var(--navy-950) 0%, var(--navy-900) 55%, #113469 100%);
  color: #ffffff;
}

.section-head {
  max-width: 720px;
  margin-bottom: 3.25rem;
}

.section-head--center {
  text-align: center;
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: var(--navy-100);
  color: var(--navy-800);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 0.9rem;
}

.eyebrow--gold {
  background: var(--gold-100);
  color: var(--gold-600);
}

.eyebrow--dark {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-400);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.65rem);
  font-weight: 900;
  line-height: 1.25;
  color: var(--navy-900);
  margin-bottom: 0.85rem;
}

.section--navy .section-title {
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.04rem;
  color: var(--ink-500);
  line-height: 1.8;
}

.section--navy .section-subtitle {
  color: rgba(255, 255, 255, 0.78);
}

/* ==========================================================================
   About & Official Organization Profile
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.about-story {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.story-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.story-card h3 {
  font-size: 1.28rem;
  font-weight: 900;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.story-card h3 svg {
  width: 22px;
  height: 22px;
  color: var(--gold-500);
  flex-shrink: 0;
}

.story-card p {
  color: var(--ink-700);
  font-size: 0.98rem;
  line-height: 1.9;
}

.charter-quote {
  position: relative;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.15rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.charter-quote::after {
  content: "";
  position: absolute;
  inset-inline-end: -40px;
  top: -40px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.25), transparent 70%);
}

.charter-quote__tag {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.6rem;
}

.charter-quote__headline {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 0.85rem;
}

.charter-quote__body {
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.85;
}

/* Official Dossier Card */
.dossier-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  border-top: 6px solid var(--gold-500);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.dossier-card__head {
  padding: 1.6rem 1.75rem;
  background: var(--navy-50);
  border-bottom: 1px solid var(--border-subtle);
}

.dossier-card__head h3 {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--navy-900);
}

.dossier-card__head p {
  font-size: 0.84rem;
  color: var(--ink-500);
  margin-top: 0.2rem;
}

.dossier-list {
  padding: 0.5rem 1.75rem 1.25rem;
}

.dossier-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding-block: 0.95rem;
  border-bottom: 1px solid var(--border-subtle);
}

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

.dossier-item__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--bg-muted);
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.dossier-item__icon svg {
  width: 18px;
  height: 18px;
}

.dossier-item__label {
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--ink-500);
  margin-bottom: 0.15rem;
}

.dossier-item__value {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-900);
  line-height: 1.5;
}

.dossier-item__value a {
  color: var(--navy-700);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Vision, Mission & Values (3 Architectural Pillars)
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.15rem 1.85rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.pillar-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 4px;
  background: var(--navy-800);
}

.pillar-card--gold::before {
  background: var(--gold-500);
}

.pillar-card--emerald::before {
  background: var(--emerald-600);
}

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

.pillar-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-100);
  color: var(--navy-800);
}

.pillar-card--gold .pillar-card__icon {
  background: var(--gold-100);
  color: var(--gold-600);
}

.pillar-card--emerald .pillar-card__icon {
  background: var(--emerald-100);
  color: var(--emerald-600);
}

.pillar-card__icon svg {
  width: 26px;
  height: 26px;
}

.pillar-card h3 {
  font-size: 1.32rem;
  font-weight: 900;
  color: var(--navy-900);
}

.pillar-card p {
  color: var(--ink-700);
  font-size: 0.96rem;
  line-height: 1.85;
}

.values-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.values-tags span {
  padding: 0.32rem 0.78rem;
  border-radius: var(--radius-full);
  background: var(--emerald-100);
  color: var(--emerald-700);
  font-size: 0.8rem;
  font-weight: 800;
}

/* ==========================================================================
   Projects & Programs Grid with Filter Pills
   ========================================================================== */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-pill {
  padding: 0.55rem 1.2rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--ink-700);
  font-weight: 800;
  font-size: 0.88rem;
  transition: all var(--transition);
}

.filter-pill:hover {
  border-color: var(--navy-700);
  color: var(--navy-900);
}

.filter-pill.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #ffffff;
  box-shadow: 0 8px 20px -6px rgba(10, 30, 64, 0.35);
}

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

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

.project-card.is-hidden {
  display: none;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(217, 151, 28, 0.35);
}

.project-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-900);
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.project-card__badge {
  position: absolute;
  top: 0.9rem;
  inset-inline-start: 0.9rem;
  padding: 0.32rem 0.82rem;
  border-radius: var(--radius-full);
  background: rgba(6, 18, 38, 0.78);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.project-card__body {
  padding: 1.5rem 1.55rem 1.65rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-card__title {
  font-size: 1.16rem;
  font-weight: 900;
  color: var(--navy-900);
  margin-bottom: 0.55rem;
  line-height: 1.4;
}

.project-card__desc {
  font-size: 0.92rem;
  color: var(--ink-500);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.project-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.project-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--navy-800);
  transition: color var(--transition), gap var(--transition);
}

.project-card__more:hover {
  color: var(--gold-600);
  gap: 0.65rem;
}

.project-card__more svg {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Digital Platform Gateway Section
   ========================================================================== */
.portal-section {
  position: relative;
  overflow: hidden;
}

.portal-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.portal-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.portal-cta-box {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

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

.portal-feature-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.55rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition);
}

.portal-feature-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(240, 180, 41, 0.55);
}

.portal-feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: rgba(240, 180, 41, 0.16);
  color: var(--gold-400);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.portal-feature-card__icon svg {
  width: 22px;
  height: 22px;
}

.portal-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.portal-feature-card p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

.portal-feature-card__link {
  margin-top: auto;
  padding-top: 0.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--gold-400);
}

.portal-feature-card__link svg {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   Leadership Section
   ========================================================================== */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  max-width: 1020px;
  margin-inline: auto;
}

.leader-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.leader-card__photo {
  aspect-ratio: 4 / 3.6;
  overflow: hidden;
  background: var(--navy-100);
  position: relative;
}

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

.leader-card:hover .leader-card__photo img {
  transform: scale(1.04);
}

.leader-card__photo--omer img {
  object-position: 35% 12%;
}

.leader-card__photo--mohamed img {
  object-position: 50% 18%;
}

.leader-card__photo--hassan img {
  object-position: 50% 12%;
}

.leader-card__info {
  padding: 1.45rem 1.25rem 1.65rem;
}

.leader-card__name {
  font-size: 1.18rem;
  font-weight: 900;
  color: var(--navy-900);
  margin-bottom: 0.3rem;
}

.leader-card__role {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-600);
}

/* ==========================================================================
   Partners Section
   ========================================================================== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin-inline: auto;
}

.partner-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(18, 45, 91, 0.22);
}

.partner-card__logo {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card__logo img {
  max-height: 76px;
  max-width: 190px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.82;
  transition: filter var(--transition), opacity var(--transition), transform var(--transition);
}

.partner-card:hover .partner-card__logo img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.04);
}

.partner-card__name {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--ink-700);
}

.collaborators-note {
  margin-top: 2.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-500);
  font-weight: 600;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.25rem;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), transform var(--transition);
}

.contact-item:hover {
  border-color: rgba(217, 151, 28, 0.45);
  transform: translateY(-2px);
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--navy-100);
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item__icon--green {
  background: var(--emerald-100);
  color: var(--emerald-600);
}

.contact-item__icon--gold {
  background: var(--gold-100);
  color: var(--gold-600);
}

.contact-item__icon svg {
  width: 20px;
  height: 20px;
}

.contact-item__label {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--ink-500);
  margin-bottom: 0.2rem;
}

.contact-item__value {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy-900);
}

.contact-item__value a:hover {
  color: var(--gold-600);
}

/* Contact Composer */
.contact-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.15rem;
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 1.32rem;
  font-weight: 900;
  color: var(--navy-900);
  margin-bottom: 0.4rem;
}

.contact-form-card > p {
  font-size: 0.9rem;
  color: var(--ink-500);
  margin-bottom: 1.5rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--ink-700);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: inherit;
  font-size: 0.94rem;
  padding: 0.78rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-page);
  color: var(--ink-900);
  transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--navy-700);
  background: var(--bg-surface);
  box-shadow: 0 0 0 4px rgba(29, 66, 128, 0.1);
}

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.form-status {
  margin-top: 0.9rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--emerald-700);
  min-height: 1.3em;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.76);
  padding-top: 4.5rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand__logo {
  display: inline-flex;
  background: #ffffff;
  padding: 0.65rem 1rem;
  border-radius: 14px;
  margin-bottom: 1.15rem;
}

.footer-brand__logo img {
  height: 44px;
  width: auto;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.68);
  max-width: 34ch;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 800;
  margin-bottom: 1.1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.89rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

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

.footer-portal-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.footer-portal-box p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.footer-portal-box .btn {
  width: 100%;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.75rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   Project Details Modal
   ========================================================================== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 18, 38, 0.72);
  backdrop-filter: blur(6px);
}

.modal__dialog {
  position: relative;
  z-index: 2;
  width: min(100%, 660px);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(0.98);
  transition: transform var(--transition);
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__media {
  position: relative;
  height: 270px;
  overflow: hidden;
  background: var(--navy-900);
}

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

.modal__close {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(6, 18, 38, 0.76);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  transition: background-color var(--transition);
}

.modal__close:hover {
  background: var(--navy-950);
}

.modal__content {
  padding: 1.85rem 2rem 2rem;
}

.modal__tag {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--gold-100);
  color: var(--gold-600);
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.modal__title {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--navy-900);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.modal__text {
  color: var(--ink-700);
  font-size: 0.98rem;
  line-height: 1.85;
  margin-bottom: 1.4rem;
}

.modal__highlights {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.modal__highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-900);
}

.modal__highlights svg {
  width: 18px;
  height: 18px;
  color: var(--emerald-600);
  flex-shrink: 0;
  margin-top: 3px;
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ==========================================================================
   Floating Scroll-To-Top & Quick Actions
   ========================================================================== */
.floating-stack {
  position: fixed;
  bottom: 1.35rem;
  inset-inline-end: 1.35rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.fab-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
}

.fab-btn:hover {
  transform: translateY(-3px);
}

.fab-btn--top {
  background: var(--navy-900);
  color: #ffffff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.fab-btn--top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.fab-btn--whatsapp {
  background: #25d366;
  color: #ffffff;
}

.fab-btn svg {
  width: 22px;
  height: 22px;
}

/* ==========================================================================
   Interactive Sudan Projects GIS Map
   ========================================================================== */
.map-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fc 50%, #ffffff 100%);
  border-block: 1px solid var(--border-subtle);
}

.gis-card {
  max-width: 1080px;
  margin-inline: auto;
  background: var(--bg-surface);
  border: 1px solid rgba(10, 30, 64, 0.1);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.gis-card.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  max-width: none;
  border-radius: 0;
  overflow-y: auto;
}

.gis-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.6rem;
  background: rgba(10, 30, 64, 0.04);
  border-bottom: 1px solid rgba(10, 30, 64, 0.07);
}

.gis-card__title-wrap {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.gis-card__globe {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(10, 30, 64, 0.09);
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gis-card__globe svg {
  width: 22px;
  height: 22px;
}

.gis-card__title {
  font-size: 1.12rem;
  font-weight: 900;
  color: var(--navy-900);
  line-height: 1.25;
}

.gis-card__desc {
  font-size: 0.8rem;
  color: var(--ink-500);
  margin-top: 0.15rem;
}

.gis-toolbar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.gis-layer-group {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
  background: rgba(10, 30, 64, 0.05);
  border: 1px solid rgba(10, 30, 64, 0.1);
  border-radius: 14px;
  padding: 0.25rem;
}

.gis-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.42rem 0.72rem;
  border-radius: 10px;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--ink-500);
  transition: all var(--transition);
}

.gis-pill svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.gis-pill:hover {
  background: rgba(10, 30, 64, 0.06);
  color: var(--navy-900);
}

.gis-pill.is-active {
  background: var(--navy-900);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(10, 30, 64, 0.2);
}

.gis-pill.is-heat {
  background: #d97706;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
}

.gis-pill.is-route {
  background: var(--gold-400);
  color: var(--navy-950);
}

.gis-btn-clear,
.gis-btn-expand {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.48rem 0.85rem;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 800;
  border: 1px solid rgba(10, 30, 64, 0.16);
  background: var(--bg-surface);
  color: var(--navy-900);
  transition: all var(--transition);
}

.gis-btn-clear svg,
.gis-btn-expand svg {
  width: 14px;
  height: 14px;
}

.gis-btn-clear {
  border-color: rgba(220, 38, 38, 0.3);
  color: #dc2626;
}

.gis-btn-clear:hover {
  background: #fef2f2;
}

.gis-btn-expand:hover {
  background: var(--navy-50);
}

.gis-card__body {
  padding: 1.5rem;
}

/* Sector filter strip */
.gis-sector-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  background: rgba(10, 30, 64, 0.04);
  border: 1px solid rgba(10, 30, 64, 0.06);
  border-radius: 16px;
  padding: 0.75rem 0.9rem;
  margin-bottom: 1.15rem;
}

.gis-sector-bar__label {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--ink-500);
  margin-inline-end: 0.25rem;
}

.gis-sector-bar__label svg {
  width: 15px;
  height: 15px;
  color: var(--navy-800);
}

.gis-sector-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.82rem;
  border-radius: 12px;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--ink-700);
  background: var(--bg-surface);
  border: 1px solid rgba(10, 30, 64, 0.1);
  transition: all var(--transition);
}

.gis-sector-btn:hover {
  background: var(--navy-50);
  border-color: var(--navy-700);
}

.gis-sector-btn.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #ffffff;
  box-shadow: 0 6px 14px -4px rgba(10, 30, 64, 0.3);
}

.gis-sector-icon {
  display: inline-flex;
  width: 13px;
  height: 13px;
}

.gis-sector-icon svg {
  width: 13px;
  height: 13px;
}

/* Budget & Health analytics bar */
.gis-analytics-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  background: rgba(10, 30, 64, 0.04);
  border: 1px solid rgba(10, 30, 64, 0.06);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.5rem;
}

.gis-slider-box__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--ink-500);
  margin-bottom: 0.5rem;
}

.gis-budget-val {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.86rem;
  font-weight: 900;
  color: var(--gold-600);
  direction: ltr;
}

.gis-range {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  accent-color: var(--gold-500);
  cursor: pointer;
}

.gis-rating-box__label {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--ink-500);
  margin-bottom: 0.45rem;
}

.gis-rating-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.gis-rating-btn {
  padding: 0.36rem 0.68rem;
  border-radius: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--ink-700);
  background: var(--bg-surface);
  border: 1px solid rgba(10, 30, 64, 0.1);
  transition: all var(--transition);
}

.gis-rating-btn:hover {
  background: var(--navy-50);
}

.gis-rating-btn.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #ffffff;
}

/* Main Map + Side Panel Grid */
.gis-main-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr;
  gap: 1.75rem;
  align-items: start;
}

.gis-canvas {
  position: relative;
  background: rgba(10, 30, 64, 0.04);
  border: 1px solid rgba(10, 30, 64, 0.07);
  border-radius: 20px;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 430px;
  overflow: hidden;
}

.gis-svg {
  width: 100%;
  max-width: 470px;
  aspect-ratio: 1 / 1;
  user-select: none;
}

.gis-state-group {
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.gis-state-group path {
  transition: fill 0.28s ease, stroke 0.28s ease, opacity 0.28s ease;
}

.gis-state-label {
  pointer-events: none;
  user-select: none;
  font-weight: 800;
  font-size: 1.85px;
  transition: fill 0.22s ease, font-size 0.22s ease;
}

.gis-state--healthy path {
  fill: #d1fae5;
  stroke: #34d399;
}
.gis-state--healthy .gis-state-label {
  fill: #065f46;
}

.gis-state--warning path {
  fill: #fef3c7;
  stroke: #fbbf24;
}
.gis-state--warning .gis-state-label {
  fill: #92400e;
}

.gis-state--critical path {
  fill: #ffe4e6;
  stroke: #fb7185;
}
.gis-state--critical .gis-state-label {
  fill: #9f1239;
}

.gis-state--empty path {
  fill: rgba(10, 30, 64, 0.06);
  stroke: rgba(10, 30, 64, 0.16);
}
.gis-state--empty .gis-state-label {
  fill: rgba(10, 30, 64, 0.5);
}

.gis-state--heat path {
  fill: rgba(245, 158, 11, 0.58);
  stroke: #d97706;
  animation: gisHeatPulse 2.2s ease-in-out infinite;
}
.gis-state--heat .gis-state-label {
  fill: #451a03;
  font-weight: 900;
}

.gis-state-group.is-hover-glow path,
.gis-state--hovered path {
  fill: rgba(217, 151, 28, 0.58);
  stroke: #b87b12;
  filter: url(#glow-hover-gis);
}
.gis-state-group.is-hover-glow .gis-state-label,
.gis-state--hovered .gis-state-label {
  fill: #0a1e40;
  font-size: 2.1px;
}

.gis-state--selected path {
  fill: rgba(217, 151, 28, 0.88);
  stroke: #9a650c;
  filter: url(#glow-hover-gis);
}
.gis-state--selected .gis-state-label {
  fill: #ffffff;
  font-size: 2.2px;
}

.gis-state-group.is-dimmed path {
  opacity: 0.22;
}
.gis-state-group.is-dimmed .gis-state-label {
  opacity: 0.2;
}

@keyframes gisHeatPulse {
  0%, 100% { fill-opacity: 0.65; }
  50% { fill-opacity: 0.92; }
}

.gis-photo-pin {
  cursor: pointer;
}

.gis-pin-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: gisPinPulse 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes gisPinPulse {
  0% { transform: scale(1); opacity: 0.7; }
  80%, 100% { transform: scale(1.9); opacity: 0; }
}

.gis-pin-num {
  fill: #0a1e40;
  font-size: 1.15px;
  font-weight: 900;
  pointer-events: none;
}

.gis-route-line {
  stroke-dasharray: 2, 1.5;
  animation: gisRouteDash 5s linear infinite;
}

@keyframes gisRouteDash {
  to { stroke-dashoffset: -20; }
}

/* Map Legend */
.gis-legend {
  position: absolute;
  bottom: 0.85rem;
  inset-inline-start: 0.85rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(10, 30, 64, 0.08);
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--ink-700);
}

.gis-legend__item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.gis-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.gis-dot--active { background: #10b981; }
.gis-dot--selected { background: var(--gold-500); }
.gis-dot--empty { background: #cbd5e1; }

/* Route Planner Overlay */
.gis-route-overlay {
  position: absolute;
  top: 0.85rem;
  inset-inline-end: 0.85rem;
  width: 235px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(10, 30, 64, 0.14);
  border-radius: 16px;
  padding: 0.85rem;
  box-shadow: var(--shadow-md);
  z-index: 15;
  font-size: 0.74rem;
}

.gis-route-overlay__title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 900;
  color: var(--navy-900);
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.gis-route-overlay__title svg {
  width: 14px;
  height: 14px;
  color: var(--gold-500);
}

.gis-route-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: var(--ink-500);
  margin-bottom: 0.3rem;
}

.gis-gold-text {
  color: var(--gold-600);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.gis-route-stops {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  gap: 0.3rem;
  max-height: 110px;
  overflow-y: auto;
}

.gis-route-stops__label {
  font-size: 0.68rem;
  color: var(--ink-500);
  font-weight: 700;
}

.gis-route-stop {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--navy-50);
  border-radius: 8px;
  padding: 0.25rem 0.45rem;
  font-weight: 700;
  color: var(--navy-900);
}

.gis-route-stop__badge {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold-400);
  color: var(--navy-950);
  font-size: 0.64rem;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gis-route-hint {
  margin-top: 0.45rem;
  text-align: center;
  color: #dc2626;
  font-size: 0.7rem;
  font-weight: 700;
}

/* Photo Bubble Overlay */
.gis-photo-bubble {
  position: absolute;
  transform: translate(-50%, -105%);
  width: 220px;
  background: var(--navy-900);
  color: #ffffff;
  border: 1px solid rgba(240, 180, 41, 0.38);
  border-radius: 16px;
  padding: 0.75rem;
  box-shadow: var(--shadow-lg);
  z-index: 25;
}

.gis-photo-bubble__close {
  position: absolute;
  top: 0.45rem;
  inset-inline-end: 0.45rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gis-photo-bubble__img {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.gis-photo-bubble__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gis-photo-bubble__meta strong {
  display: block;
  font-size: 0.78rem;
  color: var(--gold-400);
}

.gis-photo-bubble__meta span {
  display: block;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.62);
}

.gis-photo-bubble__stars {
  color: var(--gold-400);
  font-size: 0.74rem;
  margin-top: 0.2rem;
}

.gis-photo-bubble__meta p {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0.3rem;
  line-height: 1.45;
}

.gis-empty-photos {
  position: absolute;
  top: 0.85rem;
  inset-inline-start: 0.85rem;
  background: rgba(10, 30, 64, 0.85);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.45rem 0.8rem;
  border-radius: 10px;
}

/* Side Panel Details */
.gis-side-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gis-side-card {
  background: rgba(10, 30, 64, 0.04);
  border: 1px solid rgba(10, 30, 64, 0.09);
  border-radius: 20px;
  padding: 1.35rem;
}

.gis-side-card__head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.gis-side-card__head svg {
  width: 18px;
  height: 18px;
  color: var(--gold-500);
  flex-shrink: 0;
}

.gis-side-card__head h4 {
  font-size: 1.02rem;
  font-weight: 900;
  color: var(--navy-900);
}

.gis-stat-rows {
  display: grid;
  gap: 0.65rem;
  font-size: 0.84rem;
}

.gis-stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(10, 30, 64, 0.07);
  color: var(--ink-500);
  font-weight: 700;
}

.gis-stat-row--last {
  border-bottom: none;
  padding-bottom: 0;
}

.gis-stat-navy { color: var(--navy-900); font-weight: 900; }
.gis-stat-amber { color: #d97706; font-weight: 800; }
.gis-stat-emerald { color: #059669; font-weight: 800; }
.gis-stat-gold {
  color: var(--gold-600);
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  direction: ltr;
}

.gis-state-projects {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(10, 30, 64, 0.09);
}

.gis-state-projects__head {
  font-size: 0.74rem;
  font-weight: 900;
  color: var(--navy-800);
  margin-bottom: 0.55rem;
}

.gis-state-projects__scroll {
  display: grid;
  gap: 0.45rem;
  max-height: 165px;
  overflow-y: auto;
  padding-inline-end: 0.25rem;
}

.gis-mini-proj {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
}

.gis-mini-proj__name {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.35;
}

.gis-mini-proj__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.25rem;
  font-size: 0.68rem;
  color: var(--ink-500);
  font-weight: 700;
}

.gis-mini-status {
  padding: 0.1rem 0.48rem;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 800;
}

.gis-mini-status.is-done {
  background: var(--emerald-100);
  color: var(--emerald-700);
}

.gis-mini-status.is-active {
  background: var(--gold-100);
  color: var(--gold-600);
}

.gis-full-btn {
  width: 100%;
  margin-top: 1rem;
}

.gis-comp-title {
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--navy-900);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.9rem;
}

.gis-comp-scroll {
  display: grid;
  gap: 0.65rem;
  max-height: 260px;
  overflow-y: auto;
  padding-inline-end: 0.3rem;
}

.gis-comp-row {
  width: 100%;
  text-align: start;
  padding: 0.25rem 0.3rem;
  border-radius: 8px;
  transition: background-color var(--transition);
}

.gis-comp-row:hover {
  background: rgba(10, 30, 64, 0.05);
}

.gis-comp-row__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  margin-bottom: 0.3rem;
}

.gis-comp-row__name {
  font-weight: 800;
  color: var(--navy-900);
}

.gis-comp-row__val {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink-500);
  direction: ltr;
}

.gis-comp-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(10, 30, 64, 0.09);
  overflow: hidden;
}

.gis-comp-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-400));
}

.gis-empty-msg {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.82rem;
  color: var(--ink-500);
  font-style: italic;
}

.gis-info-box {
  background: var(--bg-muted);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  font-size: 0.78rem;
  color: var(--ink-500);
  line-height: 1.65;
}

.gis-info-box strong {
  display: block;
  color: var(--navy-900);
  margin-bottom: 0.3rem;
}

/* ==========================================================================
   Reveal Animation
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .hero__inner,
  .about-grid,
  .portal-layout,
  .contact-grid,
  .gis-main-grid {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .projects-grid,
  .pillars-grid,
  .leaders-grid,
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .top-bar__contacts {
    display: none;
  }
  .header-actions .btn--portal-header {
    display: none;
  }
  .brand-logo img {
    height: 44px;
  }
  .hero {
    padding-block: 3.25rem 5.75rem;
  }
  .metrics-band {
    margin-top: -2.5rem;
  }
  .metrics-grid,
  .projects-grid,
  .pillars-grid,
  .leaders-grid,
  .partners-grid,
  .portal-cards-grid,
  .footer-grid,
  .form-grid,
  .gis-analytics-bar {
    grid-template-columns: 1fr;
  }
  .gis-canvas {
    min-height: 330px;
  }
  .section {
    padding-block: 3.75rem;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .modal__content {
    padding: 1.4rem;
  }
}

