/* ============================================================
   INLK — International Needs Lanka
   Home page styles
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --brand-blue: #1563a5;
  --brand-blue-2: #2e4cb4;
  --brand-navy: #0e1e4f;
  --brand-navy-2: #142868;
  --brand-red: #e5322d;
  --brand-green: #7cb342;
  --brand-green-dk: #6ba038;
  --brand-yellow: #f5b301;
  --brand-yellow-lt: #ffd34e;

  --text-dark: #1a1a1a;
  --text-muted: #6b7280;
  --bg-soft: #f5f6fa;
  --bg-white: #ffffff;
  --border-soft: #e5e7eb;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-sm: 0 4px 14px rgba(15, 30, 79, 0.08);
  --shadow-md: 0 10px 30px rgba(15, 30, 79, 0.12);
  --shadow-lg: 0 20px 50px rgba(15, 30, 79, 0.18);

  --header-h: 78px;

  --ff-body: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --ff-display: "Poppins", system-ui, sans-serif;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(440px, 58vw, 640px);
  background: linear-gradient(
    165deg,
    rgba(0, 112, 200, 0.24) 0%,
    rgba(0, 112, 200, 0.17) 16%,
    rgba(0, 112, 200, 0.11) 32%,
    rgba(0, 112, 200, 0.07) 48%,
    rgba(0, 112, 200, 0.04) 64%,
    rgba(0, 112, 200, 0.015) 78%,
    rgba(0, 112, 200, 0) 100%
  );
  pointer-events: none;
  z-index: 0;
}
main {
  position: relative;
  z-index: 1;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}
h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.15;
}
p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-size: clamp(4.8rem, 3.5vw, 5rem);
  font-weight: 800;
  color: var(--text-dark);
}
.center {
  text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
  white-space: nowrap;
}
.btn i {
  transition: transform 0.18s ease;
}
.btn:hover i {
  transform: translateX(3px);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-green {
  background: var(--brand-green);
  color: #fff;
}
.btn-green:hover {
  background: var(--brand-green-dk);
}
.btn-lg {
  padding: 0.95rem 1.9rem;
  font-size: 1.05rem;
}

.btn.btn-donate,
.site-nav a.btn-donate {
  background: #c61212;
  color: #ffffff;
  padding: 0.55rem 1.2rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  font-size: 0.8rem;
}
.btn.btn-donate:hover,
.site-nav a.btn-donate:hover {
  background: #a80f0f;
  color: #ffffff;
}

/* ============================================================
   HEADER — floating white pill on a light blue band
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0 8px;
  background: transparent;
  transition: padding 0.25s ease;
}
.site-header.is-scrolled {
  padding: 10px 0;
  pointer-events: none;
}
.site-header.is-scrolled .header-pill {
  pointer-events: auto;
  box-shadow: 0 14px 40px rgba(15, 30, 79, 0.22);
}

.header-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px 10px 22px;
  box-shadow: 0 8px 24px rgba(15, 30, 79, 0.1);
  transition: box-shadow 0.2s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.brand img {
  height: 44px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  justify-content: flex-end;
  padding-left: 1rem;
}
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
  align-items: center;
  flex: 0 0 auto;
  justify-content: flex-end;
}
.site-nav a {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 500;
  color: #6b7280;
  padding: 0.6rem 1.35rem;
  border-radius: 999px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
  white-space: nowrap;
}
.site-nav a:hover {
  color: var(--brand-blue);
}
.site-nav a.is-active {
  background: linear-gradient(180deg, #4a9bf0 0%, #1f7fe0 100%);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(31, 127, 224, 0.35);
}
.site-nav a.is-active:hover {
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO BANNER — full viewport, Carex-style
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: stretch;
  overflow-x: clip;
  overflow-y: visible;
  background: #061824;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 24%;
  display: block;
}
/* Global cool blue cast across the photo (under the left gradient) */
.hero__tint {
  position: absolute;
  inset: 0;
  background: rgb(0 72 140 / 50%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero__layout {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1240px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  min-height: 100vh;
  min-height: 100svh;
  box-sizing: border-box;
  min-width: 0;
}

.hero__copy {
  color: #fff;
  max-width: 620px;
  width: 100%;
  min-width: 0;
  align-self: center;
}
.hero__copy h1 {
  font-size: clamp(2.4rem, 5.2vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 1.15rem;
  color: #fff;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.hero__copy p {
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 1.75rem;
  max-width: 480px;
  overflow-wrap: break-word;
}

.btn-hero-cta {
  align-self: flex-start;
  background: linear-gradient(
    to right top,
    #f23e3e,
    #ea3636,
    #e12e2d,
    #d92625,
    #d01c1c
  );
  color: #fff;
  padding: 0.9rem 2rem;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(208, 28, 28, 0.35);
}
.btn-hero-cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(208, 28, 28, 0.42);
}

/* Countdown — fixed white shell; only inner content slides */
.hero__countdown {
  justify-self: end;
  align-self: end;
  width: min(100%, 440px);
  padding-bottom: 0.25rem;
}
.hero-stat-shell {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 1.35rem 1.15rem 1.15rem 1.35rem;
  box-shadow: 0 18px 44px rgba(6, 24, 46, 0.22);
  box-sizing: border-box;
  overflow: hidden;
  /* Fixed countdown height — same on desktop and mobile */
  height: 210px;
}
.heroStatSwiper {
  width: 100%;
  height: 170px;
  overflow: hidden;
}
.heroStatSwiper .swiper-slide {
  height: 170px;
  box-sizing: border-box;
}
.heroStatSwiper .swiper-wrapper {
  height: 170px;
}
.hero-stat-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 46%);
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  height: 170px;
  box-sizing: border-box;
}

/* Carex-style appear: fade + rise on each slide change */
@keyframes heroStatAppear {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroStatMediaAppear {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.hero-stat-panel.is-appearing .hero-stat-card__count {
  animation: heroStatAppear 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-stat-panel.is-appearing .hero-stat-card__title {
  animation: heroStatAppear 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}
.hero-stat-panel.is-appearing .hero-stat-card__desc {
  animation: heroStatAppear 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}
.hero-stat-panel.is-appearing .hero-stat-card__media {
  animation: heroStatMediaAppear 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

.hero-stat-card__copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: 1.75rem 0 0.15rem;
}
.hero-stat-card__count {
  display: block;
  font-size: clamp(2.4rem, 4vw, 3.15rem);
  font-weight: 800;
  color: #111;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: 0 0 0.55rem;
}
.hero-stat-card__title {
  margin: 0 0 0.45rem;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 800;
  color: #111;
  line-height: 1.2;
}
.hero-stat-card__desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 400;
  color: #9aa0a6;
}
.hero-stat-card__media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 170px;
  background: #e8eef5;
}
.hero-stat-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Bar pagination — left column only (never over the image) */
.hero-stat-pagination {
  position: absolute !important;
  top: 22px !important;
  left: 1.35rem !important;
  /* Match left copy column: full width minus image column, gap, and right pad */
  right: calc(46% + 1rem + 1.15rem) !important;
  bottom: auto !important;
  width: auto !important;
  max-width: none !important;
  z-index: 5;
  display: flex !important;
  align-items: center;
  gap: 7px;
}
.hero-stat-pagination .swiper-pagination-bullet {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: 3.5px;
  margin: 0 !important;
  border-radius: 999px;
  background: #2a2a2a;
  opacity: 1;
  transition: background 0.25s ease;
}
.hero-stat-pagination .swiper-pagination-bullet-active {
  width: auto;
  background: linear-gradient(
    to right,
    #0065a7,
    #006bb1,
    #0072ba,
    #0078c4,
    #007fce
  );
}

/* ============================================================
   WHO WE ARE
   ============================================================ */
/* Continuous topo texture from Who We Are → Partnership */
.site-texture {
  background-color: rgb(255 255 255);
  background-image:
    linear-gradient(rgb(255 255 255 / 28%), rgb(255 255 255 / 38%)),
    url(../img/body-bg.jpg);
  background-repeat: no-repeat, repeat-y;
  background-position: center top;
  background-size: auto, 100%;
}
.who-we-are {
  padding: 90px 0;
  background: transparent;
}
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.who-copy {
  --who-copy-inset: 1.35rem;
}
.who-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  background: #ededed;
  border-radius: 18px;
  padding: 1.15rem 1.35rem 1.15rem var(--who-copy-inset);
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 18px rgba(15, 30, 79, 0.06);
}
.who-title {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 2.65rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.who-title span {
  background: linear-gradient(
    to right,
    #0065a7,
    #006bb1,
    #0072ba,
    #0078c4,
    #007fce
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.who-header__divider {
  width: 2px;
  height: 52px;
  background: #0078c4;
  flex-shrink: 0;
}
.who-header__lead {
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.22rem) !important;
  font-weight: 600;
  line-height: 1.45 !important;
  color: #111 !important;
  padding-left: 0px !important;
}
.who-copy p {
  color: #666;
  font-size: clamp(0.9rem, 1.1vw, 0.98rem);
  line-height: 1.75;
  margin-bottom: 1.15rem;
  padding-left: var(--who-copy-inset, 1.35rem);
}
.who-copy p:last-of-type {
  margin-bottom: 0;
}
.who-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.85rem;
  padding-left: var(--who-copy-inset, 1.35rem);
}
.btn-who-story {
  background: linear-gradient(
    to right,
    #0065a7,
    #006bb1,
    #0072ba,
    #0078c4,
    #007fce
  );
  color: #fff;
  padding: 0.78rem 1.55rem;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 101, 167, 0.22);
}
.btn-who-story:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 101, 167, 0.3);
}
.who-cta__chevrons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(15, 30, 79, 0.1);
  color: #22a559;
  font-size: 1rem;
}

.who-media {
  position: relative;
  min-height: clamp(460px, 52vw, 640px);
  width: 100%;
}
.who-img {
  position: absolute;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 14px 36px rgba(15, 30, 79, 0.12);
}
.who-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.who-img-1 {
  top: 18%;
  left: 10%;
  width: 41%;
  height: 48%;
  z-index: 3;
}
.who-img-2 {
  top: 1%;
  right: 2%;
  width: 49%;
  height: 57%;
  z-index: 1;
}
.who-img-3 {
  top: 43%;
  left: 36%;
  width: 47%;
  height: 52%;
  z-index: 2;
}

/* ============================================================
   FOCUS AREAS
   ============================================================ */
.focus-areas {
  padding: 90px 0;
  background: transparent;
}
.focus-areas .section-title {
  margin-bottom: 3rem;
  background-image: linear-gradient(
    to right top,
    #007fce,
    #0078c4,
    #0072ba,
    #006bb1,
    #0065a7
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

/* Dark navy stage that frames the vertical carousel */
.focus-stage {
  position: relative;
  height: clamp(580px, 62vw, 740px);
  border-radius: 28px;
  overflow: hidden;
  padding: 96px 0 96px;
  background: radial-gradient(
    ellipse 70% 80% at 50% 50%,
    #123a52 0%,
    #0a2438 48%,
    #061824 100%
  );
  box-shadow: 0 24px 60px rgba(6, 24, 46, 0.28);
}
/* Vertical nav: sits just left of the centered slide content,
   vertically aligned with the active card. */
.focus-vnav {
  position: absolute;
  left: max(14px, calc(50% - min(46vw, 430px)));
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.focus-vnav__btn {
  background: none;
  border: none;
  color: #7cb342;
  font-size: 18px;
  line-height: 1;
  padding: 4px;
  cursor: pointer;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}
.focus-vnav__btn:hover {
  color: #6ba038;
}
.focus-vdots,
.focus-vdots.swiper-pagination-vertical {
  position: static !important;
  transform: none !important;
  width: auto !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.focus-vdots .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.7);
  opacity: 1;
  border-radius: 50%;
  transition:
    background 0.3s ease,
    width 0.3s ease,
    height 0.3s ease,
    transform 0.3s ease;
}
.focus-vdots .swiper-pagination-bullet-active {
  width: 10px;
  height: 10px;
  background: #f5b301;
}
/* Arrows + dots on one smooth arc bulging right toward the content.
   Symmetric offsets for up to 6 bullets so the last dot stays on the curve. */
.focus-vdots .swiper-pagination-bullet:nth-child(1) {
  transform: translateX(5px);
}
.focus-vdots .swiper-pagination-bullet:nth-child(2) {
  transform: translateX(13px);
}
.focus-vdots .swiper-pagination-bullet:nth-child(3) {
  transform: translateX(20px);
}
.focus-vdots .swiper-pagination-bullet:nth-child(4) {
  transform: translateX(20px);
}
.focus-vdots .swiper-pagination-bullet:nth-child(5) {
  transform: translateX(13px);
}
.focus-vdots .swiper-pagination-bullet:nth-child(6) {
  transform: translateX(5px);
}
/* When there are only 5 bullets, pull the last one in like a pole */
.focus-vdots .swiper-pagination-bullet:nth-child(5):last-child {
  transform: translateX(5px);
}
.focus-vdots .swiper-pagination-bullet:nth-child(4):nth-last-child(2) {
  transform: translateX(13px);
}
.focus-vnav__prev {
  transform: translateX(-7px) rotate(-24deg);
}
.focus-vnav__next {
  transform: translateX(-7px) rotate(24deg);
}
.focus-vnav__prev:hover {
  transform: translateX(-7px) rotate(-24deg) scale(1.12);
}
.focus-vnav__next:hover {
  transform: translateX(-7px) rotate(24deg) scale(1.12);
}

/* Vertical swiper — visible so neighbor icons can sit in the stage padding */
.focusSwiper {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  overflow: visible !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.focusSwiper .swiper-wrapper {
  align-items: center;
}
.focusSwiper .swiper-slide {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.focus-card {
  position: relative;
  height: 100%;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  color: #fff;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: var(--focus-icon-size) clamp(260px, 36vw, 480px);
  align-items: center;
  justify-content: center;
  column-gap: clamp(2rem, 4vw, 3.5rem);
  padding: 1rem clamp(2rem, 4vw, 4rem) 1rem clamp(3.5rem, 7vw, 5.5rem);
  overflow: visible;
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  --focus-icon-size: clamp(72px, 8vw, 104px);
}
.focus-icon {
  width: var(--focus-icon-size);
  height: var(--focus-icon-size);
  display: grid;
  place-items: center;
  justify-self: center;
  color: #f5b301;
  opacity: 0;
  transition:
    opacity 0.55s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
/* Keep prev/next icons visible and close above/below the active slide */
.focusSwiper .swiper-slide-prev .focus-icon,
.focusSwiper .swiper-slide-next .focus-icon {
  opacity: 0.78;
  z-index: 2;
}
.focusSwiper .swiper-slide-prev,
.focusSwiper .swiper-slide-next {
  z-index: 2;
}
.focusSwiper .swiper-slide-active {
  z-index: 3;
}
.focus-icon--wash {
  color: #7ec8ef;
}
.focus-icon--edu {
  color: #f5b301;
}
.focus-icon--plant {
  color: #7cb342;
}
.focus-icon--shield {
  color: #57c1ff;
}
.focus-icon--advocate {
  color: #f5b301;
}
.focus-icon svg,
.focus-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}
.focus-text {
  /* Fixed width so every slide's icon lands on the same X as the active icon */
  width: 100%;
  max-width: 480px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  pointer-events: none;
}
/* Neighbours keep the text column width (for X align) but don't affect icon box */
@media (min-width: 901px) {
  .focusSwiper .swiper-slide:not(.swiper-slide-active) .focus-text {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
}
/* Active slide: full icon + text; neighbours keep the same layout (icon aligned) */
.focusSwiper .swiper-slide-active .focus-icon {
  opacity: 1;
}
.focusSwiper .swiper-slide-active .focus-text {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.focus-card h3 {
  color: #fff;
  font-size: clamp(1.45rem, 2.7vw, 2.05rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.12;
  text-transform: uppercase;
  text-align: left;
  margin: 0 0 0.9rem;
}
.focus-card p {
  color: #ffffff;
  font-size: clamp(0.88rem, 1.15vw, 1rem);
  font-weight: 400;
  line-height: 1.62;
  text-align: left;
  margin: 0;
  max-width: 480px;
}

/* ============================================================
   WHERE WE SERVE (Sri Lanka map)
   ============================================================ */
.where-we-serve {
  padding: 90px 0;
  background: transparent;
}

.serve-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 2rem;
  align-items: center;
}

/* ---- Left copy ---- */
.serve-copy {
  padding-left: clamp(0px, 2vw, 32px);
}
.serve-title {
  display: flex;
  flex-direction: column;
  line-height: 0.98;
  font-weight: 800;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: -0.01em;
  margin: 0 0 1.5rem;
}
.serve-title span {
  background-image: linear-gradient(
    to right top,
    #007fce,
    #0078c4,
    #0072ba,
    #006bb1,
    #0065a7
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.serve-subtitle {
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.15;
  margin: 0 0 1.35rem;
}
.serve-lead {
  color: #333;
  font-size: clamp(0.98rem, 1.3vw, 1.15rem);
  font-weight: 600;
  line-height: 1.5;
  max-width: 340px;
  margin: 0 0 2rem;
}
.btn-who-serve {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0;
  border-radius: 999px;
}
.btn-who-serve > span:first-child {
  background: linear-gradient(to right, #0f7fd1, #34a1ee);
  color: #fff;
  padding: 0.85rem 1.9rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(15, 127, 209, 0.28);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.btn-who-serve__chevrons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-green);
}
.btn-who-serve__chevrons svg {
  width: 26px;
  height: 26px;
}
.btn-who-serve:hover > span:first-child {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(15, 127, 209, 0.36);
}

/* ---- Map + floating card ---- */
.serve-map-area {
  position: relative;
  margin: auto;
}
.serve-map {
  position: relative;
  aspect-ratio: 450 / 793;
  max-height: 620px;
  display: grid;
  place-items: center;
}
.map-wrapper {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.map-wrapper svg {
  width: 100%;
  height: 100%;
  max-height: 600px;
  overflow: visible;
}
.map-wrapper svg path {
  fill: #ffffff;
  stroke: #d9dde3;
  stroke-width: 1;
  transition:
    fill 0.18s ease,
    filter 0.18s ease;
  cursor: default;
  transform-origin: center;
  transform-box: fill-box;
  outline: none;
}
.map-wrapper svg path.is-active {
  fill: #4a90e2;
  stroke: #ffffff;
  cursor: pointer;
  --map-accent: #f5b21e;
}
.map-wrapper svg path.is-active:hover {
  fill: var(--map-accent) !important;
  filter: brightness(1.06);
}
.map-wrapper svg path.is-selected {
  fill: var(--map-accent) !important;
  stroke: #ffffff;
  cursor: pointer;
}
/* Non-highlighted districts are non-interactive */
.map-wrapper svg path.is-disabled {
  cursor: default;
  pointer-events: none;
}
/* Location pins injected on served districts */
.map-wrapper svg .map-pin {
  fill: #ffffff;
  stroke: #b7bcc6;
  stroke-width: 1.4;
  pointer-events: none;
}

/* District name tip — active districts only, on hover */
.map-tooltip {
  position: absolute;
  z-index: 5;
  left: 0;
  top: 0;
  pointer-events: none;
  padding: 0.42rem 0.8rem;
  background: #0a1428;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, calc(-100% - 12px));
  transition: opacity 0.15s ease;
  box-shadow: 0 8px 20px rgba(15, 30, 79, 0.2);
}
.map-tooltip.is-visible {
  opacity: 1;
  visibility: visible;
}
.map-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #0a1428;
}

/* Floating location card (top-right, over the map) */
.location-info {
  position: absolute;
  top: 12%;
  right: 0;
  width: min(210px, 32%);
  background: transparent;
}
.loc-icon-box {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  background: #f5b21e;
  margin-bottom: 0.9rem;
}
.loc-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #1183d8;
  letter-spacing: 0.01em;
  margin: 0 0 0.15rem;
}
.loc-project {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  margin: 0 0 0.55rem;
}
.loc-desc {
  color: #555;
  font-size: 0.72rem;
  line-height: 1.5;
  margin: 0;
}

/* ============================================================
   CEO QUOTE
   ============================================================ */
.ceo-quote {
  padding: 90px 0;
  background: transparent;
}
.quote-card {
  position: relative;
  background: #f1f1f2;
  border-radius: 36px;
  min-height: 760px;
  overflow: visible;
}

/* Cut-out portrait on the left, rising slightly above the card top */
.quote-portrait {
  position: absolute;
  left: clamp(44px, 6vw, 88px);
  bottom: 92px;
  height: 104%;
  width: auto;
  max-width: 44%;
  object-fit: contain;
  object-position: bottom center;
  z-index: 2;
  pointer-events: none;
}

/* Big blue quote heading, top-right */
.quote-heading {
  position: absolute;
  top: clamp(34px, 6vw, 50px);
  left: 43%;
  right: clamp(24px, 5vw, 70px);
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.8rem, 4.4vw, 3.5rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  z-index: 2;
  background-image: linear-gradient(
    to right top,
    #007fce,
    #0078c4,
    #0072ba,
    #006bb1,
    #0065a7
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.quote-heading .q-mark {
  background-image: linear-gradient(
    to right top,
    #007fce,
    #0078c4,
    #0072ba,
    #006bb1,
    #0065a7
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Dark navy panel overlapping the lower half */
.quote-panel {
  position: absolute;
  left: clamp(20px, 3.5vw, 52px);
  right: clamp(20px, 3.5vw, 52px);
  bottom: 84px;
  min-height: 340px;
  background: #0a1428;
  border-radius: 30px;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(160px, 38%) minmax(0, 1fr);
  align-items: center;
  column-gap: clamp(1rem, 2.5vw, 2rem);
  padding: 1.75rem clamp(1.5rem, 3vw, 3rem) 1.75rem clamp(1.75rem, 3vw, 3.25rem);
}

.quote-name {
  align-self: end;
  z-index: 3;
  color: #fff;
  padding-left: clamp(0.75rem, 5vw, 0.25rem);
  padding-bottom: 0.4rem;
}
.quote-name strong {
  display: block;
  font-size: clamp(1.5rem, 2.7vw, 2.15rem);
  font-weight: 800;
  line-height: 1.04;
}
.quote-name span {
  display: block;
  margin-top: 0.45rem;
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
}

/* All quote paragraphs stay in the right column */
.quote-body {
  align-self: center;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.quote-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  line-height: 1.5;
}

/* Meet Our Team CTA bottom-right */
.quote-cta {
  position: absolute;
  right: clamp(20px, 6vw, 84px);
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #1183d8;
  font-weight: 800;
  font-size: clamp(1rem, 1.7vw, 1.45rem);
  z-index: 2;
}
.quote-cta__chevrons {
  display: inline-flex;
  align-items: center;
  color: var(--brand-green);
}
.quote-cta__chevrons svg {
  width: 30px;
  height: 30px;
}

/* ============================================================
   PARTNER WITH US
   ============================================================ */
.partner {
  padding: 90px 0;
  background: transparent;
}
.partner-wrap {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Scattered photo collage around the centred copy */
.partner-photos {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.partner-photo {
  position: absolute;
  width: clamp(120px, 11vw, 165px);
  height: clamp(128px, 11.5vw, 172px);
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(15, 42, 74, 0.14);
}
/* Left cluster */
.partner-photo.p1 {
  top: 0;
  left: -3%;
}
.partner-photo.p2 {
  top: 44%;
  left: -10%;
}
.partner-photo.p3 {
  top: 74%;
  left: 22%;
}
/* Right cluster */
.partner-photo.p4 {
  top: -2%;
  right: -3%;
}
.partner-photo.p5 {
  top: 66%;
  right: 20%;
}
.partner-photo.p6 {
  top: 34%;
  right: -10%;
}

.partner-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  padding: 0 1rem;
}
.partner-copy h2,
.partner-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 1.1rem;
  color: #006bb1;
}
.partner-title__lead,
.partner-title__sub {
  background-image: linear-gradient(
    to right top,
    #007fce,
    #0078c4,
    #0072ba,
    #006bb1,
    #0065a7
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.partner-title__lead {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.08;
}
.partner-title__sub {
  font-size: clamp(1.15rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.22;
  max-width: 18em;
}
.partner-copy p {
  color: var(--brand-blue);
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  font-weight: 600;
  line-height: 1.4;
  max-width: 460px;
  margin: 0 auto 1.75rem;
}
.partner-copy .btn-green {
  border-radius: 999px;
  padding: 0.9rem 3.5rem;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 800;
  background-image: linear-gradient(
    to right top,
    #00d332,
    #05c128,
    #07af1d,
    #069d13,
    #048c07
  );
  background-color: #048c07;
}
.partner-copy .btn-green:hover {
  background-image: linear-gradient(
    to right top,
    #05c128,
    #07af1d,
    #069d13,
    #048c07,
    #037a06
  );
  background-color: #037a06;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 0 14px 14px;
  background: #fff;
}
.footer-shell {
  border-radius: 40px;
  background-image: linear-gradient(
    105deg,
    #01060f 0%,
    #041526 45%,
    #082138 75%,
    #0b2a45 100%
  );
  color: #fff;
  padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1.5rem, 5vw, 4rem)
    clamp(2.25rem, 4vw, 3.25rem);
}

/* --- Top row: tagline | logo | mission --- */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.25rem);
  flex-wrap: wrap;
}
.footer-tagline {
  text-align: center;
}
.footer-tagline span {
  display: block;
  font-size: 0.92rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.footer-tagline strong {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
}
.footer-divider {
  width: 1px;
  height: 64px;
  background: rgba(255, 255, 255, 0.45);
}

/* Logo lockup */
.footer-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.footer-logo img {
  height: clamp(52px, 6vw, 68px);
  width: auto;
  display: block;
}

.footer-mission {
  max-width: 300px;
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

/* --- Middle nav links --- */
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: clamp(2.25rem, 4vw, 3rem);
}
.footer-nav a {
  position: relative;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0 1.4rem;
  transition: color 0.18s ease;
}
.footer-nav a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: #ffb00f;
}
.footer-nav a:hover {
  color: #57c1ff;
}

/* --- Social row --- */
.footer-social {
  margin-top: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
}
.footer-social__title {
  margin: 0 0 1.1rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
}
.footer-social__links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 2.5rem);
}
.footer-social__links a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.18s ease;
}
.footer-social__links a:hover {
  opacity: 0.8;
}
.social-badge {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  background: transparent;
}
.social-badge img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ============================================================
   REVEAL animations
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .focus-card {
    padding: 2.5rem;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }
  .header-pill {
    padding: 8px 8px 8px 14px;
  }
  .brand img {
    height: 38px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1.25rem;
    gap: 1rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      opacity 0.22s ease,
      transform 0.22s ease;
    padding-left: 1.25rem;
  }
  .site-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  .site-nav ul a {
    display: block;
    text-align: center;
  }
  .header-pill {
    position: relative;
  }

  .hero__layout {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    justify-items: stretch;
    gap: 1.5rem;
    padding-top: calc(var(--header-h) + 24px);
    padding-bottom: 1.75rem;
    min-height: 100svh;
  }
  .hero__copy {
    max-width: none;
    width: 100%;
    min-width: 0;
  }
  .hero__copy h1 {
    font-size: clamp(1.75rem, 7.2vw, 2.35rem);
    margin-bottom: 0.85rem;
  }
  .hero__copy p {
    max-width: none;
    font-size: 0.95rem;
    margin-bottom: 1.35rem;
  }
  .hero__countdown {
    justify-self: stretch;
    align-self: end;
    width: 100%;
    max-width: none;
  }
  .hero-stat-shell {
    /* Keep the same fixed desktop countdown height on mobile */
    height: 210px;
    padding: 1.35rem 1.15rem 1.15rem 1.35rem;
  }
  .heroStatSwiper,
  .heroStatSwiper .swiper-wrapper,
  .heroStatSwiper .swiper-slide,
  .hero-stat-panel,
  .hero-stat-card__media {
    height: 170px;
  }
  .hero-stat-panel {
    grid-template-columns: minmax(0, 1.05fr) minmax(110px, 40%);
    gap: 0.75rem;
  }
  .hero-stat-pagination {
    top: 22px !important;
    left: 1.35rem !important;
    right: calc(40% + 1rem + 1.15rem) !important;
    gap: 7px;
  }

  .who-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .who-copy {
    --who-copy-inset: 1.25rem;
  }
  .who-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.15rem 1.25rem 1.15rem var(--who-copy-inset, 1.25rem);
  }
  .who-title {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.3em;
    white-space: nowrap;
  }
  .who-header__divider {
    width: 100%;
    height: 2px;
  }
  /* Phone collage: same layered feel, rebalanced for narrow width */
  .who-media {
    position: relative;
    width: min(100%, 400px);
    max-width: none;
    min-height: 0;
    aspect-ratio: 1 / 1.08;
    margin: 0.35rem auto 0;
  }
  .who-img {
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(15, 30, 79, 0.14);
  }
  /* Kids — dominant anchor, top right */
  .who-img-2 {
    top: 0;
    right: 0;
    left: auto;
    width: 70%;
    height: 56%;
    z-index: 1;
  }
  /* Nursery — mid left, overlaps the kids frame */
  .who-img-1 {
    top: 30%;
    left: 0;
    right: auto;
    width: 54%;
    height: 40%;
    z-index: 3;
  }
  /* Gathering — bottom band, bridges both images */
  .who-img-3 {
    top: auto;
    bottom: 0;
    left: 18%;
    right: auto;
    width: 74%;
    height: 38%;
    z-index: 2;
  }
  .who-cta {
    flex-wrap: wrap;
  }

  .focus-areas .section-title {
    font-size: clamp(2rem, 5vw, 2.65rem);
  }
  .focus-stage {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
    padding: 28px 1rem 40px;
    overflow: hidden;
  }
  .focusSwiper {
    flex: none;
    height: auto;
    min-height: 0;
    width: 100%;
    overflow: hidden;
  }
  .focusSwiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  /* Straight horizontal pager under the slide */
  .focus-vnav {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin: 18px auto 0;
    width: 100%;
  }
  .focus-vnav__btn {
    font-size: 17px;
    transform: none;
  }
  .focus-vnav__btn:hover {
    transform: scale(1.12);
  }
  /* Point chevrons left / right for the bottom bar */
  .focus-vnav__prev i,
  .focus-vnav__next i {
    display: inline-block;
    transform: rotate(-90deg);
  }
  .focus-vdots,
  .focus-vdots.swiper-pagination-vertical {
    flex-direction: row;
    gap: 10px;
  }
  .focus-vdots .swiper-pagination-bullet,
  .focus-vdots .swiper-pagination-bullet:nth-child(n),
  .focus-vdots .swiper-pagination-bullet:nth-child(5):last-child,
  .focus-vdots .swiper-pagination-bullet:nth-child(4):nth-last-child(2) {
    transform: none;
  }
  .focus-vdots .swiper-pagination-bullet-active {
    transform: none;
  }
  .focus-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 0;
    text-align: center;
    gap: 1.35rem;
    padding: 0.5rem 1rem;
    --focus-icon-size: clamp(56px, 14vw, 72px);
  }
  .focus-icon {
    order: -1;
    margin: 0 auto;
  }
  .focus-text {
    max-width: 420px;
    width: 100%;
    align-items: center;
    text-align: center;
    margin: 0 auto;
  }
  .focus-card h3,
  .focus-card p {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  /* Hide peeking neighbor icons on mobile (horizontal) */
  .focusSwiper .swiper-slide-prev .focus-icon,
  .focusSwiper .swiper-slide-next .focus-icon {
    display: none !important;
  }

  .serve-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .serve-copy {
    text-align: center;
    padding-left: 0;
  }
  .serve-title {
    align-items: center;
  }
  .serve-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .serve-map {
    max-width: 420px;
    margin: 0 auto;
  }
  .location-info {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 320px;
    margin: 1.5rem auto 0;
    text-align: center;
  }
  .loc-icon-box {
    margin-left: auto;
    margin-right: auto;
  }

  .quote-card {
    min-height: 0;
    padding: 1.5rem;
    text-align: left;
    overflow: hidden;
  }
  .quote-portrait {
    position: relative;
    left: auto;
    bottom: auto;
    height: auto;
    max-width: 220px;
    margin: 0 auto 1rem;
    display: block;
  }
  .quote-heading {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: clamp(3rem, 8.5vw, 2.9rem);
    margin-top: -72px;
  }
  .quote-panel {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    text-align: left;
    min-height: 0;
  }
  .quote-name {
    align-self: flex-start;
    padding-left: 0;
    padding-bottom: 0;
  }
  .quote-body {
    align-self: flex-start;
  }
  .quote-cta {
    position: relative;
    right: auto;
    bottom: auto;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 1.25rem;
  }

  .partner-photo {
    width: clamp(100px, 10vw, 130px) !important;
    height: clamp(108px, 10.5vw, 140px) !important;
  }

  .footer-top {
    flex-direction: column;
    gap: 1.75rem;
  }
  .footer-divider {
    width: 64px;
    height: 1px;
  }
  .footer-nav a {
    padding: 0 0.9rem;
    font-size: 0.92rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .hero__copy h1 {
    font-size: 1.7rem;
    line-height: 1.12;
  }
  .hero__copy p {
    font-size: 0.9rem;
    line-height: 1.55;
  }
  .hero-stat-panel {
    grid-template-columns: minmax(0, 1fr) minmax(100px, 38%);
    gap: 0.65rem;
  }
  .hero-stat-pagination {
    right: calc(38% + 0.65rem + 1.15rem) !important;
  }
  .hero-stat-card__count {
    font-size: 1.9rem;
  }
  .hero-stat-card__title {
    font-size: 0.95rem;
  }
  .hero-stat-card__desc {
    font-size: 0.8rem;
  }

  .who-media {
    width: min(100%, 340px);
    aspect-ratio: 1 / 1.12;
  }
  .who-img {
    border-radius: 18px;
  }
  .who-img-2 {
    width: 72%;
    height: 54%;
  }
  .who-img-1 {
    top: 32%;
    width: 56%;
    height: 38%;
  }
  .who-img-3 {
    left: 14%;
    width: 78%;
    height: 36%;
  }
  .who-title {
    font-size: 1.85rem;
  }
  .focus-areas .section-title {
    font-size: clamp(2.6rem, 6vw, 4.6rem);
  }

  .who-we-are,
  .focus-areas,
  .where-we-serve,
  .ceo-quote,
  .partner {
    padding: 40px 0;
    padding-bottom: 20px;
  }

  /* Stack the collage into a tidy grid under the copy on phones */
  .partner-wrap {
    flex-direction: column;
    min-height: 0;
    gap: 1.5rem;
  }
  .partner-photos {
    position: relative;
    inset: auto;
    order: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
  }
  .partner-photo {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 5 / 5.2;
  }
  .partner-copy {
    order: 1;
  }
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-header {
  position: relative;
  z-index: 2;
  padding: 1.35rem clamp(1.25rem, 4vw, 3rem) 0;
}
.error-brand img {
  display: block;
  height: clamp(42px, 6vw, 56px);
  width: auto;
}

.error-main {
  position: relative;
  z-index: 1;
  flex: 1;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2rem, 5vw, 3.5rem);
  min-height: 100vh;
}

.error-copy {
  max-width: 34rem;
  animation: errorFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.error-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0078c4;
}
.error-code {
  margin: 0 0 1rem;
  font-size: clamp(5.5rem, 14vw, 8.5rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.04em;
  background: linear-gradient(to right, #0065a7, #0072ba, #007fce);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.error-lead {
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  line-height: 1.65;
  color: #4b5563;
  max-width: 32ch;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}
.btn-error-ghost {
  background: #fff;
  color: #0065a7;
  border: 1.5px solid rgba(0, 101, 167, 0.22);
  box-shadow: 0 4px 14px rgba(15, 30, 79, 0.06);
}
.btn-error-ghost:hover {
  color: #0065a7;
  border-color: rgba(0, 101, 167, 0.45);
  box-shadow: 0 8px 20px rgba(0, 101, 167, 0.12);
}

.error-visual {
  position: relative;
  min-height: clamp(340px, 48vw, 460px);
  animation: errorFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}
.error-visual__glow {
  position: absolute;
  inset: 12% 8% 18% 12%;
  background: radial-gradient(
    circle at 50% 45%,
    rgba(0, 127, 206, 0.22),
    transparent 68%
  );
  filter: blur(8px);
  pointer-events: none;
}
.error-shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 16px 40px rgba(15, 30, 79, 0.16);
  background: #061824;
}
.error-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.error-shot--a {
  top: 0;
  right: 0;
  width: 68%;
  height: 58%;
  z-index: 1;
  animation: errorFloatA 7s ease-in-out infinite;
}
.error-shot--b {
  top: 28%;
  left: 0;
  width: 52%;
  height: 42%;
  z-index: 3;
  animation: errorFloatB 8s ease-in-out infinite;
}
.error-shot--c {
  bottom: 4%;
  left: 22%;
  width: 66%;
  height: 40%;
  z-index: 2;
  animation: errorFloatC 7.5s ease-in-out infinite;
}
.error-badge {
  position: absolute;
  right: 4%;
  bottom: 10%;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem 0.7rem 0.7rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(15, 30, 79, 0.14);
  animation: errorFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}
.error-badge img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}
.error-badge span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0a2438;
  white-space: nowrap;
  padding-right: 0.2rem;
}

.error-footer {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.25rem, 4vw, 3rem) 1.75rem;
  text-align: center;
}
.error-footer p {
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
}
.error-footer a {
  color: #0078c4;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.error-footer a:hover {
  color: #0065a7;
}

@keyframes errorFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes errorFloatA {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes errorFloatB {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}
@keyframes errorFloatC {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 900px) {
  .error-main {
    grid-template-columns: 1fr;
    width: min(100% - 2rem, 520px);
    padding-top: 11rem;
    padding-bottom: 11rem;
    gap: 2rem;
  }
  .error-copy {
    text-align: center;
    margin: 0 auto;
  }
  .error-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .error-actions {
    justify-content: center;
  }
  .error-visual {
    min-height: 320px;
    width: min(100%, 380px);
    margin: 0 auto;
  }
  .error-shot {
    border-radius: 22px;
  }
  .error-badge {
    right: 50%;
    bottom: 2%;
    transform: translateX(50%);
  }
}

@media (max-width: 520px) {
  .error-header {
    display: flex;
    justify-content: center;
  }
  .error-code {
    font-size: clamp(4.6rem, 22vw, 6rem);
  }
  .error-actions {
    flex-direction: column;
    width: 100%;
  }
  .error-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .error-visual {
    min-height: 280px;
  }
}
