@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;0,6..72,700;1,6..72,500&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --navy-950: #0a1e33;
  --navy-900: #0e2a47;
  --navy-800: #14406e;
  --navy-700: #1e4990;
  --blue-accent: #2f6fb0;
  --orange: #fe6020;
  --orange-dark: #d94e14;
  --paper: #f6f4ef;
  --paper-raised: #ffffff;
  --ink: #1a2027;
  --ink-soft: #4a545f;
  --line: #dcd7cc;
  --amber: #b6741a;
  --green: #2f7a4f;

  --font-display: "Newsreader", Georgia, serif;
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--navy-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  position: relative;
  padding: 0.85rem 0;
  background-color: var(--navy-900);
  color: #fff;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #fff !important;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.navbar-brand img {
  height: 36px;
  width: auto;
}

.navbar-brand .brand-mark {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--navy-700));
  flex-shrink: 0;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.6rem 0.9rem !important;
  border-radius: 4px;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus-visible,
.navbar-nav .nav-link.active {
  color: var(--orange);
  background: rgba(239, 132, 2, 0.12);
}

.btn-outline-cream {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.btn-outline-cream:hover,
.btn-outline-cream:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
  padding: 0.4rem 0.55rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(254, 96, 32, 0.35);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-collapse.show {
  max-height: calc(100vh - 60px);
  overflow-y: auto;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--navy-950);
    margin-top: 0.85rem;
    padding: 0.5rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar-nav .nav-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 0.85rem 0.25rem !important;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.65rem;
    margin-top: 1rem !important;
  }

  .nav-actions .btn {
    width: 100%;
  }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--navy-950);
    margin-top: 0.85rem;
    padding: 0.5rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  .navbar-nav .nav-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 0.85rem 0.25rem !important;
  }
  .nav-actions {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.65rem;
    margin-top: 1rem !important;
  }
  .nav-actions .btn {
    width: 100%;
  }
}

/* Buttons */
.btn {
  font-weight: 600;
  border-radius: 4px;
  padding: 0.6rem 1.1rem;
}
.btn-lg {
  padding: 0.85rem 1.5rem;
}

.btn-orange {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  border-radius: 20px;
}
.btn-orange:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: #fff;
}

.btn-navy {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: #fff;
  border-radius: 20px;
}
.btn-navy:hover {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}

.btn-outline-cream {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-outline-cream:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero-section {
  background: var(--paper) !important;
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34%;
  height: 4px;
  background: var(--orange);
  transform-origin: left;
  animation: accent-grow 0.9s ease-out both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-700);
  border: 1px solid var(--navy-700);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.hero-section h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--navy-950);
  max-width: 14ch;
  animation: rise-in 0.7s 0.1s ease-out both;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero-section .hero-lead,
.hero-section .status-strip,
.hero-section .btn {
  animation: rise-in 0.7s 0.25s ease-out both;
}

.status-strip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  border-radius: 20px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
  max-width: 40rem;
}
.status-strip strong {
  color: var(--navy-900);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(155deg, var(--navy-900), var(--navy-950));
  border-radius: 30px;
  padding: 2.5rem 2.25rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  animation: panel-in 0.85s 0.15s cubic-bezier(0.2, 0.75, 0.25, 1) both;
  box-shadow: 0 18px 40px rgba(10, 30, 51, 0.14);
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 82% 18%,
      rgba(254, 96, 32, 0.22),
      transparent 45%
    ),
    radial-gradient(
      circle at 15% 85%,
      rgba(47, 111, 176, 0.35),
      transparent 50%
    );
  pointer-events: none;
}
.hero-panel img {
  width: 15rem;
  margin-bottom: 1.5rem;
  position: relative;
  animation: float-globe 5s ease-in-out infinite;
}
.hero-panel h3 {
  color: #fff;
  font-size: 1.4rem;
  position: relative;
}
.hero-panel p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  position: relative;
  margin-bottom: 0;
}

/* ==========================================================================
   Metrics band
   ========================================================================== */

.metrics-section {
  background: var(--navy-950);
  padding: 2.5rem 0;
}
.metric-card {
  text-align: center;
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  padding-left: 1.1rem;
  transition:
    border-color 0.25s ease,
    transform 0.25s ease;
}
.metric-card:hover {
  border-left-color: var(--orange);
  transform: translateY(-4px);
}
.metric-value {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.metric-value .accent {
  color: var(--orange);
}
.metric-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================================================
   Mission / Vision
   ========================================================================== */

.mv-card {
  padding: 2.5rem;
  border-radius: 30px;
  border: 1px solid var(--line);
  height: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.mv-card:hover {
  transform: translateY(-6px);
  border-color: rgba(254, 96, 32, 0.45);
  box-shadow: 0 16px 32px rgba(10, 30, 51, 0.1);
}
.mv-card.mission {
  background: var(--paper-raised);
}
.mv-card.vision {
  background: var(--navy-900);
  border-color: var(--navy-900);
}
.mv-card .icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.3rem;
}
.mv-card.mission .icon-wrap {
  background: rgba(30, 73, 144, 0.1);
  color: var(--navy-700);
}
.mv-card.vision .icon-wrap {
  background: rgba(254, 96, 32, 0.18);
  color: var(--orange);
}
.mv-card.vision h3,
.mv-card.vision p {
  color: #fff;
}
.mv-card.vision p {
  color: rgba(255, 255, 255, 0.82);
}
.mv-card p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* ==========================================================================
   Who we are
   ========================================================================== */

.who-section {
  padding: 5rem 0;
  background: var(--paper-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.who-section h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  max-width: 16ch;
}
.who-section img {
  border-radius: 8px;
  transition:
    transform 0.45s ease,
    box-shadow 0.45s ease;
}
.who-section img:hover {
  transform: scale(1.025) rotate(1deg);
  box-shadow: 10px 14px 0 rgba(254, 96, 32, 0.16);
}

/* ==========================================================================
   Threat map
   ========================================================================== */

.section-head h2 {
  font-size: 1.9rem;
  margin-bottom: 0.25rem;
}
.section-head .subtext {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

.map-shell {
  background: linear-gradient(150deg, var(--navy-800), var(--navy-950));
  border-radius: 8px;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--navy-900);
  padding: 2rem 1rem;
}
.map-legend {
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}
.dot.high {
  background: var(--orange);
}
.dot.moderate {
  background: var(--amber);
}
.dot.resolved {
  background: var(--green);
}
/* ==========================================================================
  Partner 
   ========================================================================== */
.partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  padding: 2.5rem 1rem;
  border-top: 3px solid var(--orange);
  background: var(--paper-raised);
}

.partner-icon {
  width: 6rem;
  border-radius: 8px;
  filter: grayscale(1);
  opacity: 0.72;
  transition:
    filter 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}
.partner-icon:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: translateY(-5px);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.metric-card.reveal-on-scroll:nth-child(2) {
  transition-delay: 0.08s;
}
.metric-card.reveal-on-scroll:nth-child(3) {
  transition-delay: 0.16s;
}
.metric-card.reveal-on-scroll:nth-child(4) {
  transition-delay: 0.24s;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateX(28px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@keyframes accent-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes float-globe {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.75);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 2.5rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}
.footer-brand img {
  height: 30px;
}
.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}
.footer-col a:hover {
  color: #fff;
}
.footer-bottom {
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Focus visibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal-on-scroll,
  .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
