/* Mission / Vision / Core Values — INSPINIA-like white cards + teal accents */
.mvv-section {
  background: #f3f3f4;
}
.mvv-grid .mvv-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 300px;
  padding: 1.45rem 1.35rem 1.25rem;
  border-radius: 4px;
  text-decoration: none !important;
  color: #676a6c;
  background: #fff;
  border: 1px solid #e7eaec;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
  position: relative;
}
.mvv-grid .mvv-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: #1ab394;
  transition: width .3s ease;
}
.mvv-mission::before { background: #1e9ff2; }
.mvv-values::before { background: #f8ac59; }
.mvv-grid .mvv-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 14px 32px rgba(0,0,0,.1);
  border-color: #d7dde2;
}
.mvv-grid .mvv-card:hover::before { width: 6px; }
.mvv-vision, .mvv-mission, .mvv-values {
  background: #fff;
  color: #676a6c;
}
.mvv-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: .95rem;
  font-size: 1.05rem;
  transition: transform .35s ease, background .3s ease;
}
.mvv-vision .mvv-icon { background: rgba(26,179,148,.12); color: #1ab394; }
.mvv-mission .mvv-icon { background: rgba(30,159,242,.12); color: #1e9ff2; }
.mvv-values .mvv-icon { background: rgba(248,172,89,.18); color: #f8ac59; }
.mvv-grid .mvv-card:hover .mvv-icon { transform: scale(1.08) rotate(-4deg); }
.mvv-card h3 {
  font-family: "Open Sans", var(--font-display, Georgia, serif);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 .7rem;
  color: #565656;
}
.mvv-card > p {
  margin: 0;
  line-height: 1.55;
  color: #676a6c;
  flex: 1;
}
.mvv-values-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.mvv-values-list li {
  padding: .5rem 0;
  border-bottom: 1px solid #eef0f2;
}
.mvv-values-list li:last-child { border-bottom: 0; }
.mvv-values-list strong {
  display: block;
  color: #1ab394;
  font-size: .92rem;
  margin-bottom: .12rem;
}
.mvv-values-list span {
  display: block;
  color: #888;
  font-size: .84rem;
  line-height: 1.4;
}
.mvv-more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  font-size: .84rem;
  color: #1ab394;
  transition: letter-spacing .25s ease;
}
.mvv-mission .mvv-more { color: #1e9ff2; }
.mvv-values .mvv-more { color: #f8ac59; }
.mvv-grid .mvv-card:hover .mvv-more { letter-spacing: .03em; }

/* Site sizing — comfortable, not cramped */
.wanaag-body .container {
  max-width: 1140px;
}
.wanaag-body .section {
  padding-block: clamp(2.4rem, 4.5vw, 3.75rem);
}
/* MoICT-style header: brand row + separate nav row (not sticky/frozen) */
.site-header.moict-header {
  position: relative !important;
  top: auto !important;
  background: #fff;
  border-bottom: 0;
  box-shadow: 0 8px 24px rgba(0, 40, 60, .08);
}
.site-header.moict-header .brand-header {
  background: #fff;
  border-bottom: 1px solid rgba(0, 86, 150, .1);
}
.site-header.moict-header .brand-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .85rem 0;
  min-height: 88px;
}
.site-header.moict-header .brand-lockup {
  display: flex;
  align-items: center;
  gap: .9rem;
  text-decoration: none !important;
  color: #0b3d2e !important;
  max-width: none;
  flex: 1 1 auto;
  min-width: 0;
}
.site-header.moict-header .logo-wrap {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0, 86, 150, .12);
  box-shadow: 0 6px 18px rgba(0, 60, 40, .08);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 4px;
}
.site-header.moict-header .brand-logo {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  filter: none;
}
.site-header.moict-header .brand-divider {
  width: 2px;
  align-self: stretch;
  min-height: 52px;
  background: linear-gradient(180deg, transparent, #F7941E 15%, #005696 85%, transparent);
  border-radius: 2px;
  flex: 0 0 auto;
}
.site-header.moict-header .brand-text {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  min-width: 0;
}
.site-header.moict-header .brand-name {
  font-family: var(--font-display, Georgia, serif);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem) !important;
  font-weight: 700;
  color: #0b3d2e;
  white-space: normal;
  max-width: none;
  line-height: 1.15;
  overflow: visible;
  text-overflow: unset;
}
.site-header.moict-header .brand-tagline {
  font-size: .72rem !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #5b6b7c;
  opacity: 1;
  white-space: normal;
  line-height: 1.35;
}
.site-header.moict-header .brand-aside {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  align-items: flex-end;
  flex: 0 0 auto;
}
.site-header.moict-header .brand-aside-link {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #0b3d2e;
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
}
.site-header.moict-header .brand-aside-link:hover {
  color: #005696;
}
.site-header.moict-header .brand-aside-link i {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 86, 150, .1);
  color: #005696;
  font-size: .8rem;
}
.site-header.moict-header .navbar-toggler {
  border-color: rgba(11, 61, 46, .25);
}
.site-header.moict-header .navbar-toggler-icon {
  filter: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(11, 61, 46, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.site-header.moict-header .site-nav-bar {
  background: #0b5d3b;
  padding: 0 !important;
}
.site-header.moict-header .site-nav-bar .container {
  display: flex;
  align-items: center;
}
.site-header.moict-header .navbar-nav {
  width: 100%;
  gap: .1rem !important;
  flex-wrap: wrap !important;
  padding: .35rem 0;
}
.site-header.moict-header .nav-link {
  color: rgba(255, 255, 255, .92) !important;
  font-size: .92rem !important;
  font-weight: 600 !important;
  padding: .7rem .85rem !important;
  white-space: nowrap;
  border-radius: 0;
}
.site-header.moict-header .nav-link:hover,
.site-header.moict-header .nav-link.active,
.site-header.moict-header .nav-link.show {
  color: #fff !important;
  background: rgba(255, 255, 255, .12);
}
.site-header.moict-header .btn-donate {
  padding: .45rem 1rem !important;
  font-size: .88rem !important;
  white-space: nowrap;
  margin: .35rem 0 .35rem .4rem;
}
.site-nav-dropdown {
  border: 0;
  border-radius: .75rem;
  padding: .4rem;
  min-width: 12.5rem;
  box-shadow: 0 14px 36px rgba(0, 40, 80, .18);
  margin-top: .35rem !important;
}
.site-nav-dropdown .dropdown-item {
  border-radius: .5rem;
  font-weight: 600;
  font-size: .9rem;
  padding: .55rem .75rem;
  color: #142033;
}
.site-nav-dropdown .dropdown-item:hover,
.site-nav-dropdown .dropdown-item:focus,
.site-nav-dropdown .dropdown-item.active {
  background: rgba(0, 86, 150, .1);
  color: #005696;
}
html[data-theme="dark"] .site-header.moict-header {
  background: #0b1c2c;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
html[data-theme="dark"] .site-header.moict-header .brand-header {
  background: #102536;
  border-bottom-color: rgba(148, 163, 184, .15);
}
html[data-theme="dark"] .site-header.moict-header .brand-lockup,
html[data-theme="dark"] .site-header.moict-header .brand-name,
html[data-theme="dark"] .site-header.moict-header .brand-aside-link {
  color: #e7eef7 !important;
}
html[data-theme="dark"] .site-header.moict-header .brand-tagline {
  color: #94a3b8;
}
html[data-theme="dark"] .site-header.moict-header .logo-wrap {
  background: #0b1c2c;
  border-color: rgba(148, 163, 184, .2);
}
html[data-theme="dark"] .site-nav-dropdown {
  background: #12263d;
}
html[data-theme="dark"] .site-nav-dropdown .dropdown-item {
  color: #e7eef7;
}
html[data-theme="dark"] .site-nav-dropdown .dropdown-item:hover,
html[data-theme="dark"] .site-nav-dropdown .dropdown-item.active {
  background: rgba(0, 173, 239, .16);
  color: #7dd3fc;
}
@media (max-width: 991.98px) {
  .site-header.moict-header .brand-row { min-height: 72px; padding: .65rem 0; }
  .site-header.moict-header .logo-wrap { width: 56px; height: 56px; }
  .site-header.moict-header .brand-divider { min-height: 40px; }
  .site-header.moict-header .navbar-collapse {
    background: #0b5d3b;
    margin: 0 -0.75rem;
    padding: .5rem .75rem .85rem;
  }
  .site-header.moict-header .nav-link {
    padding: .65rem .5rem !important;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .site-header.moict-header .btn-donate {
    margin: .65rem 0 0;
    width: 100%;
  }
}
/* MoEWR-style full-viewport home slider + overlapping MVV cards */
.hero-slider.hero-slider-full {
  --hero-header-offset: 168px;
  --hero-overlap: 5.5rem;
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 680px;
  min-height: max(680px, calc(100vh - var(--hero-header-offset)));
  min-height: max(680px, calc(100dvh - var(--hero-header-offset)));
  height: max(680px, calc(100vh - var(--hero-header-offset)));
  height: max(680px, calc(100dvh - var(--hero-header-offset)));
  overflow: hidden;
}
.hero-slider.hero-slider-full .carousel-inner,
.hero-slider.hero-slider-full .carousel-item.hero-slide {
  height: 100%;
  min-height: inherit;
}
.hero-slider.hero-slider-full .hero-slide {
  display: flex;
  align-items: flex-end;
  /* Extra bottom room so CTAs / dots sit above overlapping cards */
  padding: clamp(4.5rem, 12vh, 8rem) 0 clamp(7.5rem, 14vh, 10rem);
}
.hero-slider.hero-slider-full .hero-slide-bg {
  inset: 0;
  background-size: cover;
  background-position: center center;
}
.hero-slider.hero-slider-full .hero-content {
  max-width: min(44rem, 92vw);
}
.hero-slider.hero-slider-full .hero-headline {
  max-width: 18ch;
  font-size: clamp(2.4rem, 6vw, 4.1rem);
}
.hero-slider.hero-slider-full .hero-lead {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  max-width: 38rem;
}
/* Raise carousel dots off the bottom edge */
.hero-slider.hero-slider-full .hero-slider-indicators {
  bottom: clamp(5.75rem, 11vh, 8rem) !important;
  margin-bottom: 0 !important;
  z-index: 6;
}
.hero-slider.hero-slider-full .hero-slider-indicators [data-bs-target] {
  width: 11px;
  height: 11px;
}
/* Cards overlap bottom of slider inside one large white shell */
.mvv-under-hero {
  margin-top: calc(var(--hero-overlap, 5.5rem) * -1) !important;
  padding-top: 0 !important;
  padding-bottom: clamp(2rem, 4vw, 3rem) !important;
  background: transparent !important;
  position: relative;
  z-index: 5;
}
.mvv-under-hero .mvv-shell {
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid rgba(0, 86, 150, .08);
  box-shadow: 0 18px 48px rgba(0, 40, 60, .16);
  overflow: hidden;
  padding: clamp(.65rem, 1.5vw, 1rem);
}
.mvv-under-hero .mvv-grid > [class*="col-"] {
  display: flex;
}
.mvv-under-hero .mvv-grid .mvv-card {
  box-shadow: none;
  border: 0;
  border-radius: .85rem;
  background: transparent;
  min-height: 280px;
}
.mvv-under-hero .mvv-grid .mvv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 40, 60, .08);
  background: #fff;
}
.mvv-under-hero .mvv-grid > [class*="col-"] + [class*="col-"] .mvv-card {
  border-left: 1px solid #eef2f6;
}
@media (max-width: 991.98px) {
  .mvv-under-hero .mvv-shell {
    border-radius: 1rem;
    padding: .55rem;
  }
  .mvv-under-hero .mvv-grid > [class*="col-"] + [class*="col-"] .mvv-card {
    border-left: 0;
    border-top: 1px solid #eef2f6;
  }
}
.mvv-under-hero + .section-cream {
  padding-top: clamp(2rem, 4vw, 3rem);
}
@media (max-width: 991.98px) {
  .hero-slider.hero-slider-full {
    --hero-header-offset: 132px;
    --hero-overlap: 4.25rem;
  }
  .hero-slider.hero-slider-full .hero-slider-indicators {
    bottom: 5.25rem !important;
  }
}
@media (max-width: 575.98px) {
  .hero-slider.hero-slider-full {
    --hero-header-offset: 120px;
    --hero-overlap: 3.5rem;
    min-height: 560px;
    height: max(560px, calc(100dvh - var(--hero-header-offset)));
  }
  .hero-slider.hero-slider-full .hero-slide {
    align-items: center;
    padding: 5rem 0 7rem;
  }
  .hero-slider.hero-slider-full .hero-slider-indicators {
    bottom: 4.75rem !important;
  }
}

/* MoEWR-style animated brand footer */
.site-footer.site-footer-modern {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #005696 0%, #003d6b 100%) !important;
  color: rgba(255,255,255,.9) !important;
  border-top: 0 !important;
  padding: 4.5rem 0 0 !important;
  box-shadow: none;
}
.site-footer.site-footer-modern::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  z-index: 2;
  background: linear-gradient(90deg, #00ADEF, #ffffff, #7BC043, #ffffff, #00ADEF);
  background-size: 200% 100%;
  animation: gradientMove 3s ease infinite;
}
.site-footer.site-footer-modern::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.035'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
@keyframes gradientMove {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.site-footer-modern .footer-brand-row {
  display: flex; align-items: center; gap: .85rem;
}
.site-footer-modern .footer-brand-row img {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  border: 3px solid rgba(255,255,255,.45);
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
}
.site-footer-modern .footer-title,
.site-footer-modern .footer-heading {
  color: #fff !important;
  letter-spacing: .01em;
}
.site-footer-modern .footer-heading {
  position: relative;
  padding-bottom: .45rem;
  margin-bottom: 1rem !important;
}
.site-footer-modern .footer-heading::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 2rem; height: 3px;
  border-radius: 999px;
  background: #F7941E;
}
.site-footer-modern .footer-text,
.site-footer-modern .footer-contact li {
  color: rgba(255,255,255,.85) !important;
  opacity: 1 !important;
  line-height: 1.6;
}
.site-footer-modern .footer-links a,
.site-footer-modern .footer-contact a {
  color: #fff !important;
  font-weight: 600;
  transition: color .2s ease, transform .2s ease;
}
.site-footer-modern .footer-links a:hover {
  color: #F2A766 !important;
  transform: translateX(3px);
}
.site-footer-modern .footer-links-one {
  columns: 1;
  column-gap: 0;
  max-width: 16rem;
}
.site-footer-modern .footer-links-one li { break-inside: avoid; }
.site-footer-modern .footer-links-one a {
  display: block;
  padding: .28rem 0;
}
.site-footer-modern .footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.12);
  color: rgba(255,255,255,.8) !important;
  opacity: 1 !important;
  padding: 1rem 0 !important;
}
.site-footer-modern .footer-contact i {
  color: #F2A766;
  width: 1.15rem;
}
.site-footer-modern .social-icons-footer .social-icon {
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  border-color: rgba(255,255,255,.2) !important;
}
.site-footer-modern .footer-ambient i {
  color: #fff !important;
  opacity: .06;
}

/* Impact numbers — light brand panel + count-up cards */
.impact-numbers {
  position: relative;
  overflow: hidden;
}
.impact-numbers-glow {
  position: absolute;
  inset: -20% 10% auto;
  height: 70%;
  background: radial-gradient(ellipse at center, rgba(20,122,78,.14), transparent 68%);
  pointer-events: none;
  animation: impactGlowPulse 4.5s ease-in-out infinite;
}
.impact-numbers-intro {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.impact-numbers.is-live .impact-numbers-intro {
  opacity: 1;
  transform: none;
}
.impact-stat-card {
  position: relative;
  text-align: center;
  padding: 1.6rem 1rem 1.35rem;
  border-radius: 1.25rem;
  background: #fff;
  border: 1px solid rgba(0,86,150,.12);
  box-shadow: 0 14px 32px rgba(0,86,150,.08);
  overflow: hidden;
  opacity: 0;
  transform: translateY(36px) scale(.94);
  transition:
    opacity .75s cubic-bezier(.22,1,.36,1),
    transform .75s cubic-bezier(.22,1,.36,1),
    box-shadow .35s ease,
    border-color .35s ease;
  transition-delay: calc(var(--i, 0) * 120ms);
}
.impact-numbers.is-live .impact-stat-card {
  opacity: 1;
  transform: none;
}
.impact-stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(0,86,150,.28);
  box-shadow: 0 22px 44px rgba(0,86,150,.14);
}
.impact-stat-ring {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 120px; height: 120px;
  margin: -60px 0 0 -60px;
  border-radius: 50%;
  border: 2px solid rgba(20,122,78,.14);
  pointer-events: none;
  opacity: 0;
}
.impact-numbers.is-live .impact-stat-ring {
  animation: impactRing 2.4s ease-out calc(var(--i, 0) * 120ms) infinite;
}
.impact-stat-icon {
  width: 3.1rem; height: 3.1rem;
  margin: 0 auto .85rem;
  border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(20,122,78,.1);
  color: #005696;
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
  animation: impactIconBob 2.8s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 180ms);
}
.impact-stat-value {
  position: relative;
  z-index: 1;
  font-family: var(--font-display, Fraunces, Georgia, serif);
  font-size: clamp(2.15rem, 5vw, 3.1rem);
  font-weight: 700;
  color: #005696;
  margin: 0;
  line-height: 1;
  letter-spacing: .01em;
}
.impact-stat-value.is-counting {
  animation: impactNumberPop .55s ease;
}
.impact-stat-value.is-done {
  background: linear-gradient(120deg, #005696 15%, #0077b6 45%, #c4a35a 70%, #005696 95%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: impactShimmer 2.8s linear infinite;
}
.impact-stat-label {
  position: relative;
  z-index: 1;
  margin: .65rem 0 0;
  color: rgba(20,35,27,.72);
  font-size: .95rem;
  font-weight: 600;
}
@keyframes impactGlowPulse {
  0%, 100% { opacity: .55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes impactRing {
  0% { transform: scale(.55); opacity: .55; }
  100% { transform: scale(1.55); opacity: 0; }
}
@keyframes impactIconBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes impactNumberPop {
  0% { transform: scale(.86); }
  55% { transform: scale(1.08); }
  100% { transform: scale(1); }
}
@keyframes impactShimmer {
  to { background-position: 200% center; }
}

/* Reveal / motion */
.reveal, .fade-up, .project-card-animate, .contact-animate {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible, .fade-up.is-visible,
.project-card-animate.is-visible, .contact-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.project-card-animate { transition-delay: var(--d, 0s); }
.project-card-animate:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 22px 50px rgba(0,86,150,.16);
}
.contact-animate .content-card {
  transition: transform .45s ease, box-shadow .45s ease;
}
.contact-animate.is-visible .content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,86,150,.12);
}

/* Partners marquee (MoEWR-like) */
.partners-band {
  background: #fff;
  border-block: 1px solid rgba(0,86,150,.08);
  padding: 2.5rem 0;
  overflow: hidden;
}
.partners-band .section-eyebrow { text-align: center; }
.partners-band .section-title { text-align: center; margin-bottom: 1.5rem; }
.partners-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners-track {
  display: flex;
  gap: 1.25rem;
  width: max-content;
  animation: partnerScroll 38s linear infinite;
}
.partners-track:hover { animation-play-state: paused; }
.partner-chip {
  min-width: 220px;
  min-height: 118px;
  border-radius: 20px;
  background: linear-gradient(180deg, #fff, #f3faf6);
  border: 1px solid rgba(0,86,150,.1);
  box-shadow: 0 10px 28px rgba(0,86,150,.06);
  display: grid;
  place-items: center;
  padding: 1rem 1.15rem;
  text-align: center;
  transition: transform .35s ease, box-shadow .35s ease;
}
.partner-chip:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 16px 36px rgba(0,86,150,.14);
}
.partner-logo-img {
  max-height: 58px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  margin: 0 auto .45rem;
  display: block;
}
.partner-chip strong {
  color: #005696;
  font-size: .95rem;
  line-height: 1.25;
}
.partner-chip small {
  display: block;
  color: #5b6f66;
  margin-top: .2rem;
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
a.partner-chip { text-decoration: none !important; color: inherit; }
.partner-logo-fallback {
  width: 52px;
  height: 52px;
  border-radius: .65rem;
  display: grid;
  place-items: center;
  margin: 0 auto .45rem;
  background: rgba(0,86,150,.08);
  color: #005696;
  font-size: 1.25rem;
}
.member-ngos-band .section-subtitle {
  max-width: 40rem;
  color: rgba(26,26,26,.65);
  margin-top: .35rem;
}
.partners-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
}
.partner-chip-static {
  width: 100%;
  min-height: 140px;
}
.member-ngos-page {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

/* Featured videos */
.featured-videos-band {
  background: linear-gradient(180deg, #fff 0%, #f3f7fb 100%);
}
.featured-videos-band .section-subtitle {
  max-width: 38rem;
  color: rgba(20, 32, 51, .65);
}
.featured-video-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(0, 86, 150, .12);
  border-radius: 1rem;
  padding: .85rem;
  box-shadow: 0 12px 28px rgba(0, 86, 150, .06);
}
.featured-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: .75rem;
  overflow: hidden;
  background: #0b1e33;
  margin-bottom: .75rem;
}
.featured-video-frame iframe,
.featured-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}

/* MOI-style glass hero arrows */
.hero-slider-control.hero-glass-arrow {
  width: auto;
  opacity: 1;
  background: none;
  border: 0;
  z-index: 5;
}
.hero-slider-control.hero-glass-arrow .carousel-control-prev-icon,
.hero-slider-control.hero-glass-arrow .carousel-control-next-icon {
  display: none;
}
.hero-glass-arrow.carousel-control-prev { left: clamp(.75rem, 2vw, 1.5rem); }
.hero-glass-arrow.carousel-control-next { right: clamp(.75rem, 2vw, 1.5rem); }
.hero-glass-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.05rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: background .25s ease, transform .25s ease, border-color .25s ease;
}
.hero-glass-arrow:hover .hero-glass-btn,
.hero-glass-arrow:focus .hero-glass-btn {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.45);
  transform: scale(1.06);
}
.hero-glass-arrow:focus { outline: none; box-shadow: none; }

/* Footer ambient NGO / water icons (very light) */
.site-footer.site-footer-modern {
  overflow: hidden;
}
.footer-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.footer-ambient i {
  position: absolute;
  color: #005696;
  opacity: 0.045;
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  animation: footerFloat 14s ease-in-out infinite;
  filter: blur(0.2px);
}
.footer-ambient .fa-1 { top: 12%; left: 6%; animation-delay: 0s; }
.footer-ambient .fa-2 { top: 28%; left: 22%; animation-delay: -2s; font-size: 2.1rem; }
.footer-ambient .fa-3 { top: 18%; left: 48%; animation-delay: -4s; }
.footer-ambient .fa-4 { top: 42%; left: 72%; animation-delay: -1s; }
.footer-ambient .fa-5 { top: 58%; left: 12%; animation-delay: -6s; font-size: 2.4rem; }
.footer-ambient .fa-6 { top: 66%; left: 38%; animation-delay: -3s; }
.footer-ambient .fa-7 { top: 22%; left: 84%; animation-delay: -5s; }
.footer-ambient .fa-8 { top: 74%; left: 58%; animation-delay: -7s; font-size: 2.6rem; opacity: 0.04; }
.footer-ambient .fa-9 { top: 48%; left: 88%; animation-delay: -8s; }
.footer-ambient .fa-10 { top: 80%; left: 28%; animation-delay: -9s; opacity: 0.035; }
@keyframes footerFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-ambient i { animation: none; }
}

/* Headquarters map above partners */
.hq-map-band {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 1rem;
  background: linear-gradient(180deg, #f7faf8 0%, #fff 100%);
}
.hq-map-band .section-title { text-align: center; }
.hq-map-band .section-eyebrow { text-align: center; }
.hq-map-band .section-subtitle {
  max-width: 36rem;
  color: rgba(26, 26, 26, .65);
}
.hq-map-canvas {
  width: 100%;
  height: min(420px, 58vh);
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid rgba(0,86,150, .12);
  box-shadow: 0 16px 40px rgba(0,86,150, .08);
  background: #e8f2ec;
  z-index: 1;
}
.hq-map-admin {
  height: 360px;
  border-radius: .85rem;
}

/* Social top bar — white + green gradient, languages + icons */
.site-topbar {
  background: linear-gradient(90deg, #ffffff 0%, #f4fbf7 45%, #e7f5ee 100%);
  color: #005696;
  padding: .45rem 0;
  font-size: .85rem;
  border-bottom: 1px solid rgba(0,86,150,.12);
}
.topbar-langs {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.lang-flag-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .28rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(0,86,150,.18);
  background: #fff;
  color: #005696 !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .03em;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.lang-flag-btn img {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
}
.lang-flag-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(0,86,150,.35);
  box-shadow: 0 6px 14px rgba(0,86,150,.12);
}
.lang-flag-btn.active {
  background: linear-gradient(145deg, #005696, #0077b6);
  border-color: transparent;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(0,86,150,.22);
}
.social-icons {
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
  margin-left: auto;
}
.site-topbar .social-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, #005696, #0077b6);
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,86,150,.2);
  transition: transform .2s ease, filter .2s ease;
}
.site-topbar .social-icon:hover {
  transform: translateY(-2px) scale(1.06);
  filter: brightness(1.08);
  color: #fff !important;
}
.social-icons-footer .social-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(145deg, #005696, #0077b6);
  color: #fff !important;
  text-decoration: none;
}
.social-icons-footer .social-icon:hover {
  filter: brightness(1.1);
  color: #fff !important;
}

/* MOI.gov.so-inspired news */
.moi-home-news {
  background: #0d3b7a;
  color: #fff;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}
.moi-home-news-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.moi-home-news-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin: 0;
  color: #fff !important;
}
.moi-home-news-sub { margin: .35rem 0 0; color: rgba(255,255,255,.55); font-size: .92rem; }
.moi-all-news-btn {
  border: 1px solid rgba(255,255,255,.4);
  color: #fff !important;
  text-decoration: none !important;
  padding: .45rem .9rem;
  border-radius: .4rem;
  font-weight: 700;
  font-size: .85rem;
  transition: background .2s ease, color .2s ease;
}
.moi-all-news-btn:hover { background: #fff; color: #0d3b7a !important; }

.moi-featured, .moi-side-card, .moi-news-row {
  text-decoration: none !important;
  color: inherit;
  display: block;
  background: #fff;
  border-radius: .7rem;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.moi-featured:hover, .moi-side-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.18); }
.moi-featured { display: flex; flex-direction: column; height: 100%; min-height: 280px; color: #1f2937; }
@media (min-width: 768px) {
  .moi-featured { flex-direction: row; }
  .moi-featured-media { width: 42%; min-height: 100%; }
}
.moi-featured-media, .moi-side-media {
  position: relative;
  overflow: hidden;
  background: #0b1c2c;
  min-height: 200px;
}
.moi-featured-media { min-height: 260px; }
.moi-side-media { aspect-ratio: 16 / 11; }
.moi-featured-media img, .moi-side-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  position: absolute; inset: 0;
  transition: transform .5s ease;
}
.moi-featured:hover img, .moi-side-card:hover img { transform: scale(1.05); }
.moi-featured-body, .moi-side-body {
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex; flex-direction: column; flex: 1;
  color: #1f2937;
}
.moi-featured-body h2, .moi-featured-body h3, .moi-side-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0b2f5c !important;
  line-height: 1.35;
  margin: 0 0 .65rem;
  display: block;
  visibility: visible;
  opacity: 1;
  -webkit-line-clamp: unset;
  overflow: visible;
  text-shadow: none;
}
.moi-side-body h3 {
  font-size: 1.05rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.moi-featured-body p { color: #4b5563; font-size: .92rem; margin: 0 0 .75rem; }
.moi-meta { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .55rem; }
.moi-cat {
  font-size: .65rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: #6b7280; padding: .2rem .5rem; border-radius: .3rem;
}
.moi-date { font-size: .78rem; color: #6b7280; font-weight: 600; }
.moi-read { margin-top: auto; color: #0d3b7a; font-weight: 700; font-size: .85rem; }
.moi-side-card { height: 100%; display: flex; flex-direction: column; color: #1f2937; }
.moi-side-media { height: 140px; }

.moi-news-rows { display: flex; flex-direction: column; gap: .65rem; }
.moi-news-row {
  display: flex; align-items: center; gap: .85rem;
  padding: .85rem 1rem; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12); color: #fff;
}
.moi-news-rows:not(.moi-news-rows-on-dark) .moi-news-row {
  background: #fff; color: #1f2937; border: 1px solid #e5e7eb;
}
.moi-news-row:hover { transform: translateX(4px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.moi-row-icon {
  width: 2.4rem; height: 2.4rem; border-radius: .5rem;
  display: grid; place-items: center; flex-shrink: 0;
  background: rgba(255,255,255,.12); color: #fff;
}
.moi-news-rows:not(.moi-news-rows-on-dark) .moi-row-icon { background: #eff6ff; color: #0d3b7a; }
.moi-row-main { flex: 1; min-width: 0; }
.moi-row-main strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.4;
  font-weight: 800;
  color: inherit !important;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
}
.moi-news-rows-on-dark .moi-row-main strong { color: #fff !important; }
.moi-news-rows:not(.moi-news-rows-on-dark) .moi-row-main strong { color: #0b2f5c !important; }
.moi-news-rows-on-dark .moi-date { color: rgba(255,255,255,.65); }
.moi-news-rows-on-dark .moi-cat { background: rgba(255,255,255,.2); }
.moi-row-arrow { opacity: .7; }

.event-calendar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  align-items: center;
}
.event-calendar-actions .btn {
  font-weight: 700;
}

.member-ngo-logo-wrap {
  display: grid !important;
  place-items: center;
  background: #f3f7f4;
  min-height: 160px;
}
.member-ngo-logo-wrap img {
  width: auto !important;
  height: auto !important;
  max-height: 110px;
  max-width: 80%;
  object-fit: contain !important;
  position: static !important;
}
.member-ngo-fallback {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1rem;
  display: grid;
  place-items: center;
  background: rgba(0,86,150,.1);
  color: #005696;
  font-size: 1.6rem;
}
.member-ngo-detail-logo {
  max-width: 180px;
  max-height: 140px;
  object-fit: contain;
}

.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.document-preview-frame {
  border: 1px solid rgba(0,86,150,.12);
  border-radius: .85rem;
  overflow: hidden;
  background: #f8faf9;
  min-height: 220px;
  transition: box-shadow .25s ease, transform .25s ease;
}
.document-preview-frame.is-focus {
  box-shadow: 0 0 0 3px rgba(20,122,78,.25);
  transform: translateY(-2px);
}
.document-preview-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  background: #fff;
}
.document-preview-iframe {
  width: 100%;
  height: 420px;
  border: 0;
  background: #fff;
}
.document-preview-fallback {
  padding: 2rem 1.25rem;
  text-align: center;
  color: #3d5248;
}
.document-preview-fallback i {
  font-size: 2rem;
  color: #005696;
  margin-bottom: .75rem;
}
.document-qr-mini img {
  border-radius: .5rem;
  border: 1px solid rgba(0,0,0,.06);
  background: #fff;
}

.moi-news-page { background: #f3f3f4; padding-bottom: 3rem; }
.moi-news-banner {
  background: linear-gradient(135deg, #0d3b7a, #1a56a0);
  color: #fff; padding: 2.5rem 0 2rem; margin-bottom: 1.75rem;
}
.moi-news-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: .75rem; opacity: .75; margin: 0 0 .35rem; font-weight: 700; }
.moi-news-title { margin: 0; font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; color: #fff !important; }
.moi-news-sub { margin: .4rem 0 0; opacity: .7; }
.moi-news-body .moi-featured, .moi-news-body .moi-side-card { box-shadow: 0 8px 24px rgba(13,59,122,.08); }

/* News detail hero headline (restored) */
.moi-news-article { background: #f4f7fb; }
.news-hero {
  position: relative;
  min-height: clamp(300px, 54vw, 480px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: #005696;
}
.news-hero-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.02);
}
.news-hero-fallback {
  background: linear-gradient(135deg, #005696, #0077b6);
}
.news-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.82) 100%);
}
.news-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 2.1rem;
  padding-top: 4.5rem;
}
.news-back {
  display: inline-block;
  color: rgba(255,255,255,.92) !important;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: .85rem;
}
.news-back:hover { color: #fff !important; }
.news-hero-cat {
  display: inline-block;
  background: rgba(20,20,20,.55);
  color: #fff;
  border-radius: 999px;
  padding: .28rem .8rem;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: .75rem;
}
.news-hero-title {
  font-family: var(--font-display, Fraunces, Georgia, serif);
  font-size: clamp(1.7rem, 4.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  margin: 0 0 .5rem;
  max-width: min(100%, 42rem);
  color: #fff !important;
  text-shadow: 0 2px 4px rgba(0,0,0,.45), 0 10px 28px rgba(0,0,0,.4);
}
.news-hero-meta {
  margin: 0;
  opacity: 1;
  font-weight: 600;
  color: rgba(255,255,255,.95) !important;
}
.news-lead {
  font-size: 1.15rem;
  color: #3d5248;
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.news-body { margin-bottom: 1rem; }
.news-photos-heading {
  font-family: var(--font-display, Fraunces, Georgia, serif);
  font-size: 1.35rem;
  color: #005696;
  margin-bottom: 1rem;
}
.news-photo-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.news-photo-frame {
  margin: 0;
  border-radius: .35rem;
  overflow: hidden;
  background: #0b1c2c;
  border: 1px solid rgba(0, 40, 70, .08);
}
.news-photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(70vh, 640px);
  object-fit: cover;
  object-position: center;
  vertical-align: middle;
}
.sticky-side { position: sticky; top: 6rem; }

/* MOI-style news detail right sidebar */
.news-detail-section {
  background: #f4f7fb;
}
.news-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.moi-side-card-box {
  background: #fff;
  border: 1px solid #e5eaf0;
  border-radius: .85rem;
  box-shadow: 0 8px 22px rgba(15, 40, 70, .06);
  padding: 1rem 1.05rem 1.05rem;
}
.moi-side-heading {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .85rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid #e8eef4;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #0b2c4a;
}
.moi-side-heading i {
  color: #005696;
  font-size: 1rem;
}
.moi-related-list,
.moi-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.moi-related-list > li + li {
  border-top: 1px solid #eef2f6;
}
.moi-related-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .85rem 0;
  text-decoration: none !important;
  color: inherit;
}
.moi-related-thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: .55rem;
  background: #e8eef4 center/cover no-repeat;
  border: 1px solid #e5eaf0;
}
.moi-related-thumb.is-empty {
  background: linear-gradient(135deg, #d7e4f0, #eef3f8);
}
.moi-related-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .28rem;
}
.moi-related-cat {
  display: inline-flex;
  align-self: flex-start;
  background: #5b6570;
  color: #fff;
  border-radius: 999px;
  padding: .12rem .5rem;
  font-size: .68rem;
  font-weight: 700;
  line-height: 1.3;
}
.moi-related-title {
  font-size: .92rem;
  font-weight: 700;
  color: #122433;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.moi-related-item:hover .moi-related-title {
  color: #005696;
}
.moi-related-date {
  font-size: .78rem;
  color: #7a8794;
  font-weight: 500;
}
.moi-related-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .35rem;
  padding-top: .75rem;
  border-top: 1px solid #eef2f6;
  width: 100%;
  font-size: .88rem;
  font-weight: 700;
  color: #005696 !important;
  text-decoration: none !important;
}
.moi-related-more:hover {
  color: #003d6b !important;
}
.moi-cat-list > li + li {
  border-top: 1px solid #eef2f6;
}
.moi-cat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .7rem 0;
  text-decoration: none !important;
  color: #243444 !important;
  font-weight: 600;
  font-size: .92rem;
}
.moi-cat-link:hover,
.moi-cat-link.is-active {
  color: #005696 !important;
}
.moi-cat-count {
  color: #8a96a3;
  font-weight: 600;
  font-size: .85rem;
}
.moi-side-donate-text {
  color: #4a5a68;
  font-size: .92rem;
  margin: 0 0 .9rem;
  line-height: 1.45;
}

.news-cover-img {
  max-height: 420px;
  width: 100%;
  object-fit: cover;
}
.news-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .75rem;
}
.news-gallery-item {
  display: block;
  border-radius: .85rem;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 8px 20px rgba(0,86,150,.1);
}
.news-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.news-gallery-item:hover img { transform: scale(1.05); }
.news-photo-stack .news-photo-frame + .news-photo-frame { margin-top: 1rem; }

/* Admin news multi-photo drop zone */
.admin-photo-drop {
  border: 2px dashed rgba(0, 86, 150, .35);
  background: linear-gradient(180deg, #f0f7fc, #fff);
  border-radius: 1rem;
  padding: 1.1rem 1.15rem 1.25rem;
}
.admin-photo-drop__title {
  font-weight: 800;
  color: #005696;
  margin-bottom: .35rem;
  font-size: 1.05rem;
}
.admin-photo-drop .admin-live-preview {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.admin-photo-drop .admin-live-preview img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: .5rem;
  border: 1px solid #dbe7f3;
}

/* News category filters */
.news-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  padding: .4rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(0,86,150,.18);
  background: #fff;
  color: #005696;
  text-decoration: none;
  font-weight: 600;
  font-size: .88rem;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.cat-pill:hover, .cat-pill.active {
  background: #005696;
  color: #fff;
  transform: translateY(-1px);
}
.cat-badge {
  display: inline-block;
  padding: .15rem .55rem;
  border-radius: 999px;
  background: rgba(0,86,150,.1);
  color: #005696;
  font-size: .78rem;
  font-weight: 700;
}
@keyframes partnerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Maintenance */
body.is-maintenance { background: linear-gradient(180deg, #f4faf6 0%, #fff 55%, #fbf8f1 100%); }
.maintenance-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 3rem 1rem;
}
.maint-icon-wrap { display: inline-grid; place-items: center; }
.maint-icon {
  width: 132px; height: 132px;
  animation: maintShake 1.7s ease-in-out infinite;
  filter: drop-shadow(0 16px 32px rgba(0,86,150,.28));
}
.maint-wrench { transform-origin: 64px 64px; animation: wrenchWiggle 1.7s ease-in-out infinite; }
.maint-gear { transform-origin: 40px 42px; animation: gearSpin 4.5s linear infinite; }
.maint-copy { color: #3d5248 !important; max-width: 34rem; }
@keyframes maintShake {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  15% { transform: rotate(-5deg) translateY(1px); }
  30% { transform: rotate(5deg) translateY(0); }
  45% { transform: rotate(-4deg) translateY(-1px); }
  60% { transform: rotate(3deg) translateY(0); }
  75% { transform: rotate(-2deg) translateY(1px); }
}
@keyframes wrenchWiggle {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(14deg); }
}
@keyframes gearSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
/* Documents center (MoEWR-style) */
.documents-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 4.5rem) 0;
  background: linear-gradient(135deg, #005696 0%, #0077B6 45%, #00ADEF 100%);
  color: #fff;
}
.documents-hero-deco {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  animation: decorationPulse 8s ease-in-out infinite;
}
.documents-hero-deco-1 { width: 220px; height: 220px; top: -60px; right: 8%; }
.documents-hero-deco-2 { width: 140px; height: 140px; bottom: -40px; left: 12%; animation-delay: -3s; }
@keyframes decorationPulse {
  0%, 100% { transform: scale(1); opacity: .35; }
  50% { transform: scale(1.12); opacity: .55; }
}
.documents-center-section { background: linear-gradient(180deg, #f4f8fc 0%, #fff 100%); }
.docs-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 991.98px) {
  .docs-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.docs-stat-card {
  background: #fff;
  border: 1px solid rgba(0,86,150,.1);
  border-radius: 1rem;
  padding: 1.15rem 1rem;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,86,150,.05);
}
.docs-stat-card strong { display: block; font-size: 1.6rem; color: #005696; }
.docs-stat-card span { color: #64748b; font-size: .85rem; font-weight: 600; }
.stat-icon {
  width: 58px; height: 58px; margin: 0 auto .75rem;
  border-radius: 16px; display: grid; place-items: center; font-size: 1.35rem;
}
.stat-icon.total-icon { background: linear-gradient(135deg, rgba(123,192,67,.18), rgba(123,192,67,.08)); color: #7BC043; }
.stat-icon.pdf-icon { background: linear-gradient(135deg, rgba(239,68,68,.15), rgba(239,68,68,.08)); color: #ef4444; }
.stat-icon.doc-icon { background: linear-gradient(135deg, rgba(59,130,246,.15), rgba(59,130,246,.08)); color: #3b82f6; }
.stat-icon.download-icon { background: linear-gradient(135deg, rgba(0,173,239,.15), rgba(0,173,239,.08)); color: #00ADEF; }
.doc-icon-anim { animation: iconFloat 3.6s ease-in-out infinite; }
.docs-stat-card:nth-child(2) .doc-icon-anim { animation-delay: -.7s; }
.docs-stat-card:nth-child(3) .doc-icon-anim { animation-delay: -1.4s; }
.docs-stat-card:nth-child(4) .doc-icon-anim { animation-delay: -2.1s; }
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.docs-toolbar {
  display: flex; flex-wrap: wrap; gap: .85rem; justify-content: space-between; align-items: center;
}
.docs-type-filters { display: flex; flex-wrap: wrap; gap: .45rem; }
.docs-filter-btn {
  border: 1px solid rgba(0,86,150,.18);
  background: #fff; color: #005696; border-radius: 999px;
  padding: .4rem .9rem; font-weight: 700; font-size: .85rem;
}
.docs-filter-btn.active, .docs-filter-btn:hover {
  background: #005696; color: #fff; border-color: #005696;
}
.docs-search { display: flex; gap: .5rem; min-width: min(100%, 280px); }
.moewr-document-card {
  background: #fff; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(0,86,150,.1);
  box-shadow: 0 8px 32px rgba(0,0,0,.06);
  position: relative; transition: transform .35s ease, box-shadow .35s ease;
  animation: titleReveal .55s ease both; animation-delay: calc(var(--i, 0) * .05s);
}
@keyframes titleReveal {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.moewr-document-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, #005696, #7BC043); opacity: 0; transition: opacity .3s;
}
.moewr-document-card:hover { transform: translateY(-8px); box-shadow: 0 20px 48px rgba(0,86,150,.14); }
.moewr-document-card:hover::before { opacity: 1; }
.moewr-document-card:hover .document-icon { transform: scale(1.06) rotate(-3deg); }
.document-card__header {
  padding: 1.35rem 1.35rem 1rem; display: flex; gap: 1rem; align-items: flex-start;
  background: linear-gradient(135deg, #f8fafc, #fff);
  border-bottom: 1px solid rgba(0,86,150,.08);
}
.document-icon {
  width: 58px; height: 58px; border-radius: 16px; flex: 0 0 auto;
  display: grid; place-items: center; font-size: 1.4rem; color: #fff;
  background: linear-gradient(135deg, #005696, #00ADEF);
  transition: transform .35s ease;
}
.document-icon.pdf { background: linear-gradient(135deg, #ef4444, #f97316); }
.document-icon.word { background: linear-gradient(135deg, #2563eb, #3b82f6); }
.document-icon.excel { background: linear-gradient(135deg, #16a34a, #22c55e); }
.document-icon.ppt { background: linear-gradient(135deg, #ea580c, #f59e0b); }
.document-icon.img { background: linear-gradient(135deg, #7E2E8E, #a855f7); }
.document-info h2 a { color: #142033; text-decoration: none; }
.document-meta { display: flex; flex-wrap: wrap; gap: .65rem; color: #64748b; font-size: .78rem; }
.document-meta i { margin-right: .25rem; color: #005696; }
.document-card__body { padding: 1rem 1.35rem; }
.document-description { color: #475569; font-size: .95rem; }
.document-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.document-tag {
  background: rgba(0,86,150,.08); color: #005696; border-radius: 999px;
  padding: .2rem .65rem; font-size: .72rem; font-weight: 700;
}
.document-card__footer {
  padding: .85rem 1.35rem 1.25rem; display: flex; gap: .65rem; flex-wrap: wrap;
}
.btn-doc-open, .btn-download {
  display: inline-flex; align-items: center; gap: .4rem;
  border-radius: 999px; padding: .45rem .9rem; font-size: .82rem; font-weight: 700;
  text-decoration: none !important;
}
.btn-doc-open { background: rgba(0,86,150,.08); color: #005696 !important; }
.btn-download { background: #005696; color: #fff !important; }
.btn-download:hover { background: #003d6b; color: #fff !important; }

/* Board / leadership (MoEWR-style) */
.leadership-section, .board-section {
  background: linear-gradient(180deg, #edf3ff 0%, #fff 100%);
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}
.message-card {
  background: #fff; max-width: 960px; margin: 0 auto;
  border-radius: 18px; display: flex; overflow: hidden;
  box-shadow: 0 12px 36px rgba(0,86,150,.1);
  border: 1px solid rgba(0,86,150,.12); position: relative; min-height: 280px;
}
.message-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; z-index: 2;
  background: linear-gradient(90deg, #005696, #00ADEF, #7BC043);
}
.minister-image { width: 34%; position: relative; min-height: 280px; max-height: 340px; flex: 0 0 34%; }
.minister-image img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.minister-info {
  position: absolute; inset: auto 0 0 0; padding: 1rem 1.1rem;
  background: linear-gradient(transparent, rgba(7,21,37,.88)); color: #fff;
}
.minister-info h3 { margin: 0; font-size: 1.05rem; font-weight: 700; }
.minister-info span {
  display: block; margin-top: .25rem; font-size: .68rem; text-transform: uppercase;
  letter-spacing: .12em; color: #93c5fd; font-weight: 600;
}
.message-body { padding: 1.6rem 1.75rem; flex: 1; }
.message-kicker {
  color: #005696; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.message-text { color: #475569; line-height: 1.7; }
.org-minister-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem;
}
.org-leader-card {
  width: min(100%, 240px); text-align: center; padding: 1.35rem 1.1rem;
  border-radius: 20px; background: #fff; border: 1px solid rgba(0,86,150,.1);
  box-shadow: 0 10px 28px rgba(0,86,150,.08);
}
.org-leader-card img {
  width: 78px; height: 78px; object-fit: cover; border-radius: 50%;
  border: 3px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.12); margin: 0 auto .85rem;
}
.org-leader-card h2 { font-size: 1rem; margin: 0 0 .2rem; color: #142033; }
.org-leader-card span {
  display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em;
  font-weight: 700; color: #005696;
}
.org-leader-featured {
  background: linear-gradient(135deg, #005696, #0077B6); color: #fff;
}
.org-leader-featured h2, .org-leader-featured span { color: #fff !important; }
.org-leader-featured .text-muted { color: rgba(255,255,255,.8) !important; }
@media (max-width: 767.98px) {
  .message-card { flex-direction: column; }
  .minister-image { width: 100%; flex-basis: auto; max-height: 260px; min-height: 220px; }
}

/* Theme toggle */
.theme-toggle-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(0,86,150,.2); background: #fff; color: #005696;
  display: inline-grid; place-items: center; cursor: pointer;
}
.theme-toggle-btn .theme-icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle-btn { background: #0f2740; color: #F2A766; border-color: rgba(255,255,255,.2); }
html[data-theme="dark"] .theme-toggle-btn .theme-icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle-btn .theme-icon-sun { display: inline-block; }

/* Dark mode */
html[data-theme="dark"] body.wanaag-body {
  background: #0b1726 !important;
  color: #e7eef7 !important;
}
html[data-theme="dark"] .site-topbar {
  background: linear-gradient(90deg, #0f2740, #123255) !important;
  border-bottom-color: rgba(255,255,255,.08) !important;
  color: #dbe7f5 !important;
}
html[data-theme="dark"] .lang-flag-btn {
  background: #152f4d !important; color: #e7eef7 !important; border-color: rgba(255,255,255,.15) !important;
}
html[data-theme="dark"] .site-header:not(.moict-header) {
  background: rgba(8, 28, 48, .97) !important;
}
html[data-theme="dark"] .site-header.moict-header {
  background: #0b1c2c !important;
}
html[data-theme="dark"] .section-cream,
html[data-theme="dark"] .section,
html[data-theme="dark"] .leadership-section,
html[data-theme="dark"] .hq-map-band,
html[data-theme="dark"] .featured-videos-band,
html[data-theme="dark"] .documents-center-section,
html[data-theme="dark"] .partners-band {
  background: #0b1726 !important;
}
html[data-theme="dark"] .section-title,
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3 {
  color: #f3f7fc !important;
}
html[data-theme="dark"] .lead-text,
html[data-theme="dark"] .section-subtitle,
html[data-theme="dark"] .text-muted,
html[data-theme="dark"] p {
  color: #b7c7d8 !important;
}
html[data-theme="dark"] .content-card,
html[data-theme="dark"] .card-wanaag,
html[data-theme="dark"] .mvv-card,
html[data-theme="dark"] .moewr-document-card,
html[data-theme="dark"] .featured-video-card,
html[data-theme="dark"] .partner-chip,
html[data-theme="dark"] .org-leader-card,
html[data-theme="dark"] .message-card,
html[data-theme="dark"] .docs-stat-card {
  background: #12263d !important;
  border-color: rgba(255,255,255,.08) !important;
  color: #e7eef7 !important;
}
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select {
  background: #0f2034 !important;
  border-color: rgba(255,255,255,.14) !important;
  color: #e7eef7 !important;
}
html[data-theme="dark"] .document-card__header,
html[data-theme="dark"] .document-card__footer {
  background: linear-gradient(135deg, #152f4d, #12263d) !important;
}
html[data-theme="dark"] a { color: #7dd3fc; }
html[data-theme="dark"] .link-arrow { color: #7dd3fc !important; }

/* Event type + registration */
.event-type-badge {
  display: inline-block; border-radius: 999px; padding: .2rem .65rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
}
.event-type-badge.is-event { background: rgba(0,86,150,.12); color: #005696; }
.event-type-badge.is-training { background: rgba(123,192,67,.18); color: #3f7d1a; }
html[data-theme="dark"] .event-type-badge.is-event { background: rgba(0,173,239,.18); color: #7dd3fc; }
html[data-theme="dark"] .event-type-badge.is-training { background: rgba(123,192,67,.22); color: #b6e388; }
.event-register-card { position: sticky; top: 5.5rem; }

/* Certificates */
.cert-print-body { background: #eef3f8; padding: 1.5rem; }
.certificate-sheet {
  max-width: 920px; margin: 0 auto; background: #fff;
  border: 10px solid #005696; border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,86,150,.15);
}
.certificate-inner { padding: clamp(1.5rem, 4vw, 2.75rem); text-align: center; position: relative; }
.certificate-inner::before {
  content: ""; position: absolute; inset: 14px; border: 2px solid #F7941E; pointer-events: none;
}
.cert-kicker { letter-spacing: .18em; text-transform: uppercase; color: #005696; font-weight: 800; font-size: .8rem; }
.cert-title { font-family: Georgia, serif; color: #003d6b; margin: .5rem 0 1rem; font-size: clamp(1.6rem, 4vw, 2.4rem); }
.cert-name { font-family: Georgia, serif; color: #005696; font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: .75rem 0; }
.cert-body { max-width: 38rem; margin: 0 auto 1.5rem; color: #334155; line-height: 1.7; }
.cert-footer-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: end; margin-top: 1.5rem; }
.cert-line { height: 1px; background: #94a3b8; margin-bottom: .4rem; }
@media print {
  .no-print { display: none !important; }
  .cert-print-body { background: #fff; padding: 0; }
  .certificate-sheet { box-shadow: none; }
}

/* Field data help */
.field-help-icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: rgba(0,86,150,.1); color: #005696; font-size: 1.4rem; margin-bottom: 1rem;
}

/* Jobs portal */
.jobs-filter-bar .form-label { font-weight: 600; color: #334155; }
.job-card-logo {
  width: 64px; height: 64px; flex: 0 0 64px;
  border-radius: 12px; overflow: hidden;
  background: #f1f5f9; border: 1px solid rgba(0,86,150,.12);
  display: grid; place-items: center;
}
.job-card-logo img {
  width: 100%; height: 100%; object-fit: contain; background: #fff; padding: 4px;
}
.job-card-logo-fallback {
  color: #005696; font-size: 1.35rem; opacity: .75;
}
html[data-theme="dark"] .jobs-filter-bar .form-label { color: #cbd5e1; }
html[data-theme="dark"] .job-card-logo {
  background: #0f172a; border-color: rgba(148,163,184,.25);
}
