:root {
  /* Client Brand Colors */
  --primary-color: #187DAB;
  --light-background: #F7FBFD;
  --accent-color: #94D4E4;
  --accent-overlay: rgba(148, 212, 228, 0.28);

  /* Supporting Colors */
  --secondary-color: #0B3544;
  --primary-hover: #12658B;
  --heading-color: #0B3544;
  --text-color: #344F5A;
  --white: #FFFFFF;
  --border-color: #E1EEF3;

  /* Components */
  --body-background: #F7FBFD;
  --card-background: #F2FAFD;
  --navbar-background: #FFFFFF;
  --topbar-background: #0B3544;
  --footer-background: #0B3544;
  --button-primary-bg: #187DAB;
  --button-primary-text: #FFFFFF;
  --button-primary-hover: #12658B;

  /* Theme Token Mappings */
  --brand: var(--primary-color);
  --brand-dark: var(--primary-hover);
  --brand-deep: var(--secondary-color);
  --wing: var(--accent-color);
  --wing-soft: var(--accent-color);
  --sky: var(--light-background);
  --sky-2: var(--light-background);
  --ink: var(--heading-color);
  --body: var(--text-color);
  --muted: #5E6B74;
  --line: var(--border-color);
  --gold: #B8862B;
  --radius: 18px;
  --shadow: 0 10px 30px -12px rgba(11, 53, 68, .20);
  --shadow-lg: 0 30px 60px -25px rgba(11, 53, 68, .30);
  --maxw: 1220px;
  --fs: 1rem;

  /* ==========================================================================
     Common Section Spacing (Single Source of Truth for the Entire Website)
     ========================================================================== */
  --section-padding-desktop: 40px;
  --section-padding-tablet: 30px;
  --section-padding-mobile: 22px;
  --section-padding-y: clamp(var(--section-padding-mobile), 3.5vw, var(--section-padding-desktop));
  --section-padding-x: 0;
  --section-padding: var(--section-padding-y) var(--section-padding-x);

  /* Site Header Height (Utility Bar + Main Nav) */
  --site-header-height: 119px;
}

/* Responsive Scaling for Common Section Spacing */
@media (max-width: 991px) {
  :root {
    --section-padding-desktop: 32px;
    --section-padding-tablet: 26px;
  }
}

@media (max-width: 760px) {
  :root {
    --section-padding-desktop: 26px;
    --section-padding-tablet: 22px;
    --section-padding-mobile: 18px;
    --site-header-height: 109px;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  background-color: var(--body-background);
  scroll-behavior: smooth;
  font-size: calc(16px * var(--scale, 1))
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  * {
    animation: none !important;
    transition: none !important
  }
}

body {
  font-family: 'Figtree', system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--body);
  background-color: var(--body-background);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased
}

h1,
h2,
h3,
h4 {
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.01em;
  font-weight: bold;
}

ul,
ol {
  margin-bottom: 0;
  padding-left: 0;
}

p {
  margin-bottom: 0;
}

a {
  color: var(--brand);
  text-decoration: none
}

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

button {
  font: inherit;
  cursor: pointer
}

:focus-visible {
  outline: 3px solid var(--wing);
  outline-offset: 3px;
  border-radius: 6px
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px
}

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

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--brand-deep);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 999;
  font-weight: 600
}

.skip:focus {
  top: 12px
}

/* high contrast mode */
body.hc {
  --brand: #0A4F70;
  --brand-dark: #05344B;
  --body: #111;
  --muted: #222;
  --line: #8aa;
  --wing: #005F7A
}

body.hc .hero {
  background: #05344B
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  border: 2px solid transparent;
  border-radius: 999px;
  padding: .8rem 1.4rem;
  font-weight: 700;
  font-size: .97rem;
  transition: .2s ease;
  white-space: nowrap;
  font-family: 'Outfit', sans-serif;
  letter-spacing: .01em
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform .2s
}

.btn:hover svg {
  transform: translateX(3px)
}

.btn-primary {
  background: var(--brand);
  color: #fff
}

.btn-primary:hover {
  background: var(--brand-dark)
}

.btn-light {
  background: #fff;
  color: var(--brand-dark)
}

.btn-light:hover {
  background: var(--sky)
}

.btn-outline {
  border-color: var(--brand);
  color: var(--brand)
}

.btn-outline:hover {
  background: var(--brand);
  color: #fff
}

.btn-ghost-w {
  border-color: rgba(255, 255, 255, .55);
  color: #fff
}

.btn-ghost-w:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff
}

.btn-sm {
  padding: .55rem 1rem;
  font-size: .88rem
}

/* ---------- Utility bar ---------- */
.util {
  background: var(--brand-deep);
  color: #D6ECF5;
  font-size: .84rem
}

.util .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 40px;
  gap: 16px;
  flex-wrap: wrap
}

.util a,
.util button {
  white-space: nowrap;
  color: #D6ECF5;
  background: none;
  border: 0
}

.util a:hover,
.util button:hover {
  color: #fff
}

.util-l {
  display: flex;
  gap: 18px;
  align-items: center
}

.util-r {
  display: flex;
  gap: 6px;
  align-items: center
}

.util .pill {
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  padding: 3px 10px;
  font-weight: 600
}

.util .sep {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, .2);
  margin: 0 8px
}

.util-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px
}

.util-tag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wing);
  display: inline-block
}

/* ---------- Header / Mega menu ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line)
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 15px;
}

.brand img {
  height: 46px;
  width: auto
}

.nav nav[aria-label="Main"] {
  height: 100%;
  display: flex;
  align-items: center;
}

.menu {
  display: flex;
  list-style: none;
  gap: 2px;
  align-items: center;
  height: 100%;
  margin-bottom: 0;
  padding-left: 0;
}

.menu>li {
  position: static;
  height: 100%;
  display: flex;
  align-items: center;
}

.menu>li>button,
.menu>li>a {
  background: none;
  border: 0;
  padding: .6rem .6rem;
  font-weight: 600;
  color: var(--ink);
  font-size: .92rem;
  white-space: nowrap;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Figtree', sans-serif;
  transition: color .18s ease, background-color .18s ease;
}

.menu>li>button:hover,
.menu>li>button[aria-expanded="true"],
.menu>li:hover>button,
.menu>li>a:hover,
.menu>li>a[aria-expanded="true"],
.menu>li:hover>a {
  color: var(--brand);
  background: var(--sky);
}

.menu>li>button svg,
.menu>li>a svg {
  width: 14px;
  height: 14px;
  transition: transform .2s ease;
}

.menu>li>button[aria-expanded="true"] svg,
.menu>li>a[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  display: none;
}

/* Invisible bridge between nav button and mega panel */
.mega::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.mega.open,
.menu>li>button[aria-expanded="true"] + .mega,
.menu>li>a[aria-expanded="true"] + .mega {
  display: block;
  animation: drop .18s ease;
}

@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(-6px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.mega .wrap {
  display: grid;
  grid-template-columns: 1.1fr 2fr;
  gap: 40px;
  padding-top: 34px;
  padding-bottom: 36px
}

.mega-intro {
  background: var(--sky);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--line)
}

.mega-intro .eyebrow {
  margin-bottom: 10px
}

.mega-intro h3 {
  font-size: 1.35rem;
  margin-bottom: 8px
}

.mega-intro p {
  font-size: .93rem;
  margin-bottom: 18px
}

.mega-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  align-content: start
}

.mega-links a {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  color: var(--ink);
  transition: .15s
}

.mega-links a:hover {
  background: var(--sky-2)
}

.mega-links .mi {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--sky);
  display: grid;
  place-items: center;
  color: var(--brand)
}

.mega-links .mi svg {
  width: 20px;
  height: 20px
}

.mega-links strong {
  display: block;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem
}

.mega-links span {
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.4;
  display: block
}

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center
}

.burger {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: var(--ink)
}

.burger svg {
  width: 26px;
  height: 26px;
  margin: auto
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 85% 20%, #2491C2 0%, transparent 60%), linear-gradient(135deg, var(--brand-deep) 0%, var(--brand-dark) 45%, var(--brand) 100%);
  color: #fff;
  padding: 90px 0 120px
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 80px;
  background: #fff;
  clip-path: ellipse(75% 100% at 50% 100%)
}

.hero .wing-bg {
  position: absolute;
  right: -80px;
  top: 40px;
  width: 560px;
  opacity: .13;
  pointer-events: none;
  filter: brightness(0) invert(1)
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 60px;
  align-items: center
}

.hero .tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 6px 14px 6px 8px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 26px
}

.hero .tag b {
  background: var(--wing);
  color: var(--brand-deep);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: .75rem;
  letter-spacing: .06em
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 4.3vw, 3.7rem);
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: -.02em
}

.hero h1 .ln {
  display: block
}

.hero h1 .ln:nth-child(2) {
  color: #BFE7F3
}

.hero h1 .ln:nth-child(3) {
  color: var(--accent-color, #94D4E4);
}

.hero p.lead {
  font-size: 1.18rem;
  color: #DDF0F8;
  max-width: 560px;
  margin-bottom: 34px
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center
}

.orbit {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 1
}

.orbit .ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed rgba(255, 255, 255, .28);
  animation: spin 60s linear infinite
}

.orbit .ring.r2 {
  inset: 14%;
  border-style: solid;
  border-color: rgba(255, 255, 255, .14)
}

@keyframes spin {
  to {
    transform: rotate(360deg)
  }
}

.orbit .core {
  position: absolute;
  inset: 28%;
  background: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45)
}

.orbit .core img {
  width: 58%
}

.node {
  position: absolute;
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 10px 14px;
  font-size: .82rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', system-ui, sans-serif
}

.node i {
  width: 10px;
  height: 10px;
  border-radius: 50%
}

.node.n1 {
  top: 4%;
  left: -6%
}

.node.n1 i {
  background: #2BA7C9
}

.node.n2 {
  top: 18%;
  right: -10%
}

.node.n2 i {
  background: var(--brand)
}

.node.n3 {
  bottom: 12%;
  left: -12%
}

.node.n3 i {
  background: #7CC6DE
}

.node.n4 {
  bottom: 2%;
  right: -2%
}

.node.n4 i {
  background: var(--brand-deep)
}

/* Pathways */
.pathways {
  position: relative;
  z-index: 5;
  margin-top: -70px
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.path {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 30px 28px 26px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: .25s;
  overflow: hidden
}

.path::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 5px;
  background: var(--c, var(--brand))
}

.path:hover {
  transform: translateY(-6px)
}

.path .who {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--c, var(--brand));
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px
}

.path .pi {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sky);
  color: var(--c, var(--brand));
  display: grid;
  place-items: center;
  margin-bottom: 18px
}

.path .pi svg {
  width: 24px;
  height: 24px
}

.path h3 {
  font-size: 1.4rem;
  margin-bottom: 8px
}

.path p {
  color: var(--body);
  font-size: .95rem;
  margin-bottom: 20px;
  flex: 1
}

.path ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px
}

.path li {
  font-size: .78rem;
  background: var(--sky-2);
  border: 1px solid var(--line);
  padding: 3px 10px;
  border-radius: 999px;
  color: var(--brand-dark);
  font-weight: 600
}

.path .go {
  font-weight: 700;
  color: var(--c, var(--brand));
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', system-ui, sans-serif
}

.path .go svg {
  width: 18px;
  height: 18px;
  transition: .2s
}

.path:hover .go svg {
  transform: translateX(4px)
}

.path.p1 {
  --c: #1B8FB8
}

.path.p2 {
  --c: #2A9BB4
}

.path.p3 {
  --c: var(--brand-dark)
}

/* ---------- Sections (Unified Spacing) ---------- */
section,
.sec,
.sec-sm {
  padding: var(--section-padding);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand)
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px
}

.sec-head {
  max-width: 760px;
  margin-bottom: 36px
}

.sec-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center
}

.sec-head.center .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px
}

.sec-head h2 {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  margin: 14px 0 16px;
  font-weight: 700
}

.sec-head p {
  font-size: 1.1rem;
  color: var(--muted)
}

.bg-sky {
  background: var(--sky-2)
}

.bg-deep {
  background: var(--brand-deep);
  color: #CFE6F0
}

.bg-deep h2,
.bg-deep h3 {
  color: #fff
}

.bg-deep .eyebrow {
  color: var(--wing-soft)
}

/* flow strip */
.flow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 auto 64px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  max-width: 980px;
  box-shadow: var(--shadow)
}

.flow span {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 600;
  color: var(--ink);
  font-size: .98rem;
  padding: 6px 14px;
  border-radius: 999px
}

.flow span.hl {
  background: var(--brand);
  color: #fff
}

.flow .ar {
  color: var(--wing);
  font-weight: 800;
  padding: 0
}

/* ---------- Ecosystem Butterfly ---------- */
.eco {
  display: grid;
  grid-template-columns: 1fr 300px 1fr;
  gap: 0;
  align-items: center;
  position: relative
}

.wing {
  border-radius: 40px;
  padding: 38px 36px;
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column
}

.wing.left {
  background: linear-gradient(160deg, #E4F4FA, #fff);
  border: 1px solid var(--line);
  border-radius: 160px 26px 26px 40px;
  text-align: right;
  align-items: flex-end;
  padding-right: 70px
}

.wing.right {
  background: linear-gradient(200deg, var(--brand-dark), var(--brand));
  color: #D8EEF7;
  border-radius: 26px 160px 40px 26px;
  padding-left: 70px
}

.wing.right h3 {
  color: #fff
}

.wing .lbl {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--brand)
}

.wing.right .lbl {
  color: var(--wing-soft)
}

.wing h3 {
  font-size: 1.75rem;
  margin-bottom: 10px
}

.wing p {
  margin-bottom: 18px;
  max-width: 340px
}

.wing ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 24px
}

.wing li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  font-size: .95rem
}

.wing.left li {
  flex-direction: row-reverse;
  color: var(--ink)
}

.wing li svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--brand)
}

.wing.right li svg {
  color: var(--wing-soft)
}

.wing .btn {
  margin-top: auto
}

.body {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  margin: 0 -40px
}

.body-card {
  width: 300px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 30px 70px -25px rgba(10, 62, 87, .5);
  border: 10px solid var(--sky);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 36px
}

.body-card img {
  width: 88px;
  margin-bottom: 12px
}

.body-card .lbl {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brand)
}

.body-card h3 {
  font-size: 1.35rem;
  margin: 4px 0 6px
}

.body-card p {
  font-size: .86rem;
  line-height: 1.45;
  color: var(--muted)
}

.eco-cp {
  margin-top: 34px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  border: 2px dashed var(--wing-soft);
  border-radius: 26px;
  padding: 22px 30px;
  background: #fff
}

.eco-cp img {
  width: 110px
}

.eco-cp h3 {
  font-size: 1.3rem;
  margin-bottom: 4px
}

.eco-cp p {
  font-size: .96rem
}

.eco-sub {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px
}

.eco-sub a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  color: var(--ink);
  transition: .2s
}

.eco-sub a:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow)
}

.eco-sub small {
  display: block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 4px
}

.eco-sub strong {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.02rem
}

/* ---------- Advocacy & Community ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center
}

.quote-big {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.12;
  margin: 14px 0 18px
}

.quote-big em {
  font-style: normal;
  color: var(--brand)
}

.member-card {
  position: relative;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  overflow: hidden
}

.member-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 187, 211, .45), transparent 70%)
}

.member-card .top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  position: relative;
  z-index: 1
}

.member-card .badge {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em
}

.member-card h3 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 6px;
  position: relative
}

.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 22px;
  position: relative
}

.price b {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1
}

.price span {
  color: #BFE3F0
}

.member-card ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-bottom: 30px;
  position: relative
}

.member-card li {
  display: flex;
  gap: 8px;
  font-size: .92rem;
  align-items: flex-start;
  color: #E4F3F9
}

.member-card li svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--wing-soft);
  margin-top: 2px
}

.member-card .actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  position: relative
}

.member-card .fine {
  font-size: .8rem;
  color: #A9D3E4;
  margin-top: 16px;
  position: relative
}

/* ---------- Talent Hub ---------- */
.th-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

.th-card {
  border-radius: 26px;
  padding: 40px;
  position: relative;
  overflow: hidden
}

.th-card.cand {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow)
}

.th-card.emp {
  background: linear-gradient(150deg, #0F5F84, #0A3E57);
  color: #CFE6F0
}

.th-card.emp h3 {
  color: #fff
}

.th-card .kicker {
  display: inline-block;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--brand-dark);
  margin-bottom: 18px
}

.th-card.emp .kicker {
  background: rgba(255, 255, 255, .12);
  color: var(--wing-soft)
}

.th-card h3 {
  font-size: 1.9rem;
  margin-bottom: 10px
}

.th-card p {
  margin-bottom: 22px
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px
}

.chips span {
  font-size: .82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 10px;
  background: var(--sky-2);
  border: 1px solid var(--line);
  color: var(--brand-dark)
}

.th-card.emp .chips span {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .16);
  color: #DDEFF6
}

.foc {
  position: absolute;
  top: 30px;
  right: 30px;
  background: #E7F7EE;
  color: #146C3A;
  font-weight: 800;
  font-size: .75rem;
  letter-spacing: .08em;
  padding: 6px 12px;
  border-radius: 999px
}

.disclaimer {
  margin-top: 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  background: #FFF8EC;
  border: 1px solid #F1DDB5;
  border-radius: 20px;
  padding: 22px 28px
}

.disclaimer .di {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #F8E6C2;
  color: #8A5A0B;
  display: grid;
  place-items: center
}

.disclaimer .di svg {
  width: 24px;
  height: 24px
}

.disclaimer strong {
  display: block;
  font-family: 'Outfit', system-ui, sans-serif;
  color: #5E3E07;
  font-size: 1.05rem;
  margin-bottom: 2px
}

.disclaimer p {
  font-size: .93rem;
  color: #6B5324
}

.disclaimer blockquote {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 600;
  color: var(--brand-dark);
  font-size: 1.05rem;
  max-width: 280px;
  border-left: 3px solid var(--wing);
  padding-left: 14px
}

/* ---------- Community Partners / Finder ---------- */
.finder {
  background: #fff;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  padding: 30px;
  margin-bottom: 44px
}

.finder-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  gap: 16px;
  flex-wrap: wrap
}

.finder-head h3 {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 10px
}

.finder-head h3 svg {
  width: 22px;
  height: 22px;
  color: var(--brand)
}

.finder form {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr) auto;
  gap: 12px
}

.field label:not(.custom-chk-card, .custom-radio-card, .option-tile) {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: .02em
}

.field input,
.field select {
  width: 100%;
  height: 50px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  font: inherit;
  color: var(--ink);
  background: #fff
}

.field input:focus,
.field select:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 4px rgba(24, 125, 171, .15)
}

.finder .btn {
  height: 50px;
  align-self: end
}

.partners-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px
}

.pcard {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  gap: 16px;
  background: var(--sky-2)
}

.pcard .logo {
  flex: 0 0 56px;
  height: 56px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 800;
  color: var(--brand)
}

.pcard h4 {
  font-size: 1.02rem;
  margin-bottom: 2px
}

.pcard .meta {
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: 8px
}

.pcard .tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap
}

.pcard .tags span {
  font-size: .72rem;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  color: var(--brand-dark)
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  font-weight: 700;
  color: #146C3A
}

.verified svg {
  width: 14px;
  height: 14px
}

.cp-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

.cp-box {
  border-radius: 24px;
  padding: 36px;
  border: 1px solid var(--line);
  background: #fff
}

.cp-box.alt {
  background: var(--sky)
}

.cp-box h3 {
  font-size: 1.6rem;
  margin: 10px 0 10px
}

.providers-receive .cats,.providers-receive ul{
    list-style: none;
}

.cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 20px 0 26px
}

.cats span {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
  color: var(--ink);
  font-size: .94rem
}

.cats span i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wing)
}

/* ---------- Inclusive Employment ---------- */
.ie-hero {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 64px
}

.ie-hero .quote-big {
  color: #fff
}

.ie-hero .quote-big em {
  color: var(--wing-soft)
}

.ie-hero p {
  font-size: 1.1rem
}

.ie-badge {
  justify-self: center;
  background: #fff;
  border-radius: 50%;
  padding: 22px;
  width: min(340px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6)
}

.ie-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 70px
}

.ie-pillars div {
  background: #0C4863;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #E2F2F8;
  font-weight: 600
}

.ie-pillars svg {
  width: 20px;
  height: 20px;
  color: var(--wing-soft);
  flex: 0 0 20px
}

.tiers-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 26px;
  flex-wrap: wrap
}

.tiers-head h3 {
  font-size: 1.9rem
}

.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

.tier {
  background: #fff;
  color: var(--body);
  border-radius: 22px;
  padding: 28px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  border-top: 6px solid var(--t)
}

.tier.bronze {
  --t: #B07A4A
}

.tier.silver {
  --t: #9AA7B0
}

.tier.gold {
  --t: #C9A13B
}

.tier.plat {
  --t: #5C7A8C
}

.tier .medal {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--t));
  margin-bottom: 14px;
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .15)
}

.tier h4 {
  font-size: 1.35rem;
  margin-bottom: 4px
}

.tier .sub {
  font-size: .86rem;
  color: var(--muted);
  margin-bottom: 16px
}

.tier ul {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  font-size: .9rem;
  flex: 1
}

.tier li {
  display: flex;
  gap: 8px
}

.tier li svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--brand);
  margin-top: 3px
}

.tier li.off {
  color: #A7B2B9
}

.tier li.off svg {
  color: #C9D3D9
}

.tier.pop {
  box-shadow: 0 0 0 3px var(--wing)
}

.tier .flag {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--wing);
  color: var(--brand-deep);
  font-weight: 800;
  font-size: .7rem;
  letter-spacing: .1em;
  padding: 5px 10px;
  border-radius: 999px
}

.tiers-note {
  margin-top: 18px;
  font-size: .88rem;
  color: #A9CFDF;
  text-align: center
}

/* ---------- Consultancy ---------- */
.consult {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 60px;
  align-items: start
}

.consult .sticky {
  position: sticky;
  top: 110px
}

.consult .note {
  font-size: .95rem;
  color: var(--muted);
  margin: 14px 0 26px
}

.areas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px
}

.area {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  transition: .2s
}

.area:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
  box-shadow: var(--shadow)
}

.area .n {
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: .8rem;
  font-weight: 800;
  color: var(--wing)
}

.area strong {
  display: block;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 600;
  color: var(--ink);
  font-size: 1rem;
  margin-top: 4px;
  line-height: 1.3
}

.steps {
  display: flex;
  gap: 12px;
  margin: 26px 0 30px;
  flex-wrap: wrap
}

.steps div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
  font-size: .92rem
}

.steps b {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .82rem
}

/* ---------- Academy ---------- */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px
}

.filters button {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: .5rem 1rem;
  font-weight: 600;
  color: var(--ink);
  font-size: .9rem
}

.filters button[aria-pressed="true"] {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand)
}

.courses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.course {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: .2s
}

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

.course .cov {
  height: 130px;
  position: relative;
  background: linear-gradient(135deg, var(--a, #187DAB), var(--b, #3BBBD3));
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start
}

.course .cov .fmt {
  background: rgba(255, 255, 255, .92);
  color: var(--brand-deep);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 999px;
  text-transform: uppercase
}

.course .cov .cert {
  background: rgba(10, 62, 87, .55);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  display: flex;
  gap: 5px;
  align-items: center
}

.course .cov .cert svg {
  width: 14px;
  height: 14px
}

.course .cov svg.art {
  position: absolute;
  right: 14px;
  bottom: -8px;
  width: 90px;
  opacity: .25;
  color: #fff
}

.course .cb {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.course h4 {
  font-size: 1.18rem;
  margin-bottom: 6px
}

.course p {
  font-size: .9rem;
  margin-bottom: 14px
}

.course dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
  font-size: .82rem;
  margin-bottom: 18px;
  padding: 12px;
  border-radius: 12px;
  background: var(--sky-2)
}

.course dt {
  color: var(--muted);
  font-weight: 600
}

.course dd {
  color: var(--ink);
  font-weight: 700
}

.course .foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line)
}

.course .pr {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 800;
  color: var(--ink);
  font-size: 1.2rem
}

.course .pr small {
  font-size: .75rem;
  color: var(--muted);
  font-weight: 600;
  display: block
}

.avail {
  font-size: .76rem;
  font-weight: 700;
  color: #146C3A;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px
}

.avail i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1DA05A
}

/* section.get-started {
  padding-bottom: 0;
} */

.started-link .link-title {
  font-weight: 500;
}

.started-link .link-intro {
  font-size: 12px;
  font-style: italic;
}

/* ---------- Knowledge Hub ---------- */
.kh {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px
}

.kh aside {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  align-self: start
}

.kh aside h4 {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
  font-family: 'Figtree', system-ui, sans-serif;
  font-weight: 800
}

.kh aside h4:not(:first-child) {
  margin-top: 22px
}

.kh aside label {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 6px 0;
  font-size: .93rem;
  color: var(--ink);
  cursor: pointer
}

.kh aside input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand)
}

.res-grid {
  align-items: start;
  align-content: start;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px
}

.res {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  transition: .2s
}

.res:hover {
  border-color: var(--brand)
}

.res .ft {
  width: 50px;
  height: 58px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 800;
  font-size: .72rem;
  color: #fff;
  letter-spacing: .04em
}

.ft.pdf {
  background: #C8453A
}

.ft.ppt {
  background: #D06A2A
}

.ft.doc {
  background: #2B5CAB
}

.ft.vid {
  background: var(--brand-deep)
}

.res .top {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap
}

.acc {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 3px 9px;
  border-radius: 999px
}

.acc.free {
  background: #E5F6EC;
  color: #146C3A
}

.acc.mem {
  background: #0A3E57;
  color: #fff;
  display: inline-flex;
  gap: 4px;
  align-items: center
}

.acc.mem svg {
  width: 12px;
  height: 12px
}

.res .kind {
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 0
}

.res h4 {
  font-size: 1.04rem;
  margin-bottom: 4px
}

.res p {
  font-size: .86rem;
  color: var(--muted);
  margin-bottom: 10px
}

.res a.dl {
  font-weight: 700;
  font-size: .88rem;
  display: inline-flex;
  gap: 6px;
  align-items: center
}

.res a.dl svg {
  width: 16px;
  height: 16px
}

.res.locked a.dl {
  color: var(--muted)
}

/* ---------- Portal ---------- */
.portal {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  background: #fff
}

.portal-tabs {
  background: var(--brand-deep);
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px
}

.portal-tabs .pt-title {
  color: #fff;
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 1.1rem;
  padding: 0 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  margin-bottom: 10px
}

.portal-tabs button {
  background: none;
  border: 0;
  text-align: left;
  color: #BFDDEA;
  padding: 14px;
  border-radius: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px
}

.portal-tabs button svg {
  width: 20px;
  height: 20px
}

.portal-tabs button[aria-selected="true"] {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  box-shadow: inset 3px 0 0 var(--wing)
}

.portal-panel {
  padding: 36px 40px;
  background: var(--sky-2)
}

.pp-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap
}

.pp-head h3 {
  font-size: 1.5rem
}

.pp-head .hello {
  font-size: .9rem;
  color: var(--muted)
}

.dash {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.dash div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  font-weight: 600;
  color: var(--ink)
}

.dash div i {
  flex: 0 0 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--sky);
  display: grid;
  place-items: center;
  color: var(--brand);
  font-style: normal
}

.dash div i svg {
  width: 20px;
  height: 20px
}

.portal-panel[hidden] {
  display: none
}

/* ---------- Journeys ---------- */
.journeys {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

.journey {
  border-radius: 24px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line)
}

.journey h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px
}

.journey h3 span {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  background: var(--sky);
  color: var(--brand-dark);
  padding: 4px 10px;
  border-radius: 999px;
  font-family: 'Figtree', system-ui, sans-serif
}

.jrow {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px dashed var(--line)
}

.jrow:first-of-type {
  border-top: 0
}

.jrow .q {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  color: var(--ink);
  min-width: 200px
}

.jrow .s {
  font-size: .84rem;
  background: var(--sky-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 600;
  color: var(--brand-dark)
}

.jrow .s.end {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand)
}

.jrow svg {
  width: 14px;
  height: 14px;
  color: var(--wing)
}

/* ---------- Team ---------- */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px
}

.member {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: .2s
}

.member:hover {
  box-shadow: var(--shadow-lg)
}

.member .ph {
  aspect-ratio: 1/1;
  background: linear-gradient(160deg, var(--sky), #D3EAF3);
  display: grid;
  place-items: center;
  position: relative
}

.member .ph span {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--brand);
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow)
}

.member .ph small {
  position: absolute;
  bottom: 10px;
  font-size: .72rem;
  color: var(--muted);
  font-weight: 600
}

.member .mb {
  padding: 20px
}

.member h4 {
  font-size: 1.1rem
}

.member .role {
  color: var(--brand);
  font-weight: 700;
  font-size: .88rem;
  margin-bottom: 10px
}

.member p {
  font-size: .86rem;
  color: var(--muted);
  margin-bottom: 12px
}

.member .exp {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px
}

.member .exp span {
  font-size: .72rem;
  font-weight: 700;
  background: var(--sky-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 9px;
  color: var(--brand-dark)
}

.member .li {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: .85rem;
  font-weight: 700
}

.member .li svg {
  width: 16px;
  height: 16px
}

/* ---------- Final CTA ---------- */
.final {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
  border-radius: 32px;
  padding: 64px;
  color: #DDF0F8;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden
}

.final img.wm {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 320px;
  opacity: .1;
  filter: brightness(0) invert(1)
}

.final h2 {
  color: #fff;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
  margin-bottom: 12px
}

.final-links {
  display: grid;
  gap: 10px;
  position: relative
}

.final-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 14px;
  padding: 15px 18px;
  color: #fff;
  font-family: 'Outfit', system-ui, sans-serif;
  transition: .2s
}

.final-links a:hover {
  background: #fff;
  color: var(--brand-dark)
}

.final-links svg {
  width: 18px;
  height: 18px
}

/* ---------- Footer ---------- */
footer {
  background: #08324A;
  color: #A9CBDA;
  padding: 80px 0 28px;
  margin-top: 0px;
  font-size: .93rem
}

.f-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.f-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 18px
}

.f-brand p {
  max-width: 320px;
  margin-bottom: 22px
}

.f-col h4 {
  color: #fff;
  font-size: .95rem;
  margin-bottom: 16px;
  letter-spacing: .02em
}

.f-col ul {
  list-style: none;
  display: grid;
  gap: 10px
}

.f-col a {
  color: #A9CBDA
}

.f-col a:hover {
  color: #fff
}

.news {
  display: flex;
  gap: 8px;
  margin-bottom: 10px
}

.news input {
  flex: 1;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06);
  color: #fff;
  padding: 0 14px;
  font: inherit
}

.news input::placeholder {
  color: #88AFC1
}

.consent {
  display: flex;
  gap: 8px;
  font-size: .8rem;
  align-items: flex-start;
  line-height: 1.4
}

.consent input {
  margin-top: 3px;
  accent-color: var(--wing)
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 20px
}

.socials a {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  color: #fff
}

.socials a:hover {
  background: var(--brand)
}

.socials svg {
  width: 18px;
  height: 18px
}

.f-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  flex-wrap: wrap;
  font-size: .84rem
}

.f-bottom nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap
}

.f-bottom a {
  color: #A9CBDA
}

.a11y-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 5px 12px;
  color: #DDF0F8;
  font-weight: 600
}

.a11y-badge svg {
  width: 16px;
  height: 16px
}

/* ---------- Get Started dialog ---------- */
dialog {
  border: 0;
  border-radius: 26px;
  padding: 0;
  max-width: 640px;
  width: calc(100% - 32px);
  box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .5)
}

dialog::backdrop {
  background: rgba(8, 50, 74, .6);
  backdrop-filter: blur(4px)
}

.dlg {
  padding: 36px
}

.dlg-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px
}

.dlg-head h2 {
  font-size: 1.7rem
}

.dlg-head p {
  color: var(--muted);
  margin-top: 4px
}

.dlg-x {
  background: var(--sky);
  border: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: var(--ink);
  flex: 0 0 40px
}

.dlg-x svg {
  width: 20px;
  height: 20px;
  margin: auto
}

.dlg-opts {
  display: grid;
  gap: 10px
}

.dlg-opts a {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  transition: .15s
}

.dlg-opts a:hover {
  border-color: var(--brand);
  background: var(--sky-2)
}

.dlg-opts .pi {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sky);
  display: grid;
  place-items: center;
  color: var(--brand)
}

.dlg-opts .pi svg {
  width: 22px;
  height: 22px
}

.dlg-opts strong {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 600;
  display: block;
  font-size: 1.05rem
}

.dlg-opts span {
  font-size: .86rem;
  color: var(--muted)
}

.dlg-opts .arr {
  width: 20px;
  height: 20px;
  color: var(--brand)
}

/* floating get started (mobile) */
.fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 90;
  display: none;
  box-shadow: 0 14px 30px -10px rgba(10, 62, 87, .6)
}

/* reveal */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease
}

.rv.in {
  opacity: 1;
  transform: none
}

/* ---------- Responsive ---------- */
@media (max-width:1240px) {

  .menu,
  .nav-cta .login {
    display: none
  }

  .burger {
    display: grid
  }
}

@media (max-width:1100px) {

  .menu,
  .nav-cta .login {
    display: none
  }

  .burger {
    display: grid
  }

  .hero-grid {
    grid-template-columns: 1fr
  }

  .hero-visual {
    display: none
  }

  .eco {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .body {
    margin: 0;
    order: -1
  }

  .wing.left {
    text-align: left;
    align-items: flex-start;
    padding-right: 36px;
    border-radius: 26px
  }

  .wing.left li {
    flex-direction: row
  }

  .wing.right {
    padding-left: 36px;
    border-radius: 26px
  }

  .eco-sub {
    grid-template-columns: 1fr 1fr
  }

  .split,
  .ie-hero,
  .consult,
  .kh,
  .portal,
  .final {
    grid-template-columns: 1fr
  }

  .consult .sticky {
    position: static
  }

  .tiers {
    grid-template-columns: 1fr 1fr
  }

  .courses,
  .team {
    grid-template-columns: 1fr 1fr
  }

  .finder form {
    grid-template-columns: 1fr 1fr
  }

  .finder .btn {
    grid-column: 1/-1;
    justify-content: center
  }

  .f-grid {
    grid-template-columns: 1fr 1fr 1fr
  }

  .f-brand {
    grid-column: 1/-1
  }

  .ie-badge {
    width: 260px
  }
}

@media (max-width:760px) {
  section {
    padding: var(--section-padding);
  }

  .util-l .hide-m,
  .util .sep,
  #hcBtn {
    display: none
  }

  .nav {
    height: 68px
  }

  .brand img {
    height: 38px
  }

  .nav-cta .btn {
    display: none
  }

  .hero {
    padding: 60px 0 110px
  }

  .path-grid,
  .th-grid,
  .cp-split,
  .journeys,
  .partners-row,
  .res-grid,
  .courses,
  .team,
  .ie-pillars,
  .dash {
    grid-template-columns: 1fr
  }

  .tiers {
    grid-template-columns: 1fr
  }

  .areas {
    grid-template-columns: 1fr 1fr
  }

  .member-card ul,
  .cats {
    grid-template-columns: 1fr
  }

  .disclaimer,
  .eco-cp {
    grid-template-columns: 1fr
  }

  .finder form {
    grid-template-columns: 1fr
  }

  .flow {
    border-radius: 22px
  }

  .final {
    padding: 36px 26px
  }

  .f-grid {
    grid-template-columns: 1fr 1fr
  }

  .member-card,
  .th-card,
  .cp-box,
  .journey {
    padding: 28px 22px
  }

  .portal-panel {
    padding: 26px 20px
  }

  .fab {
    display: inline-flex
  }

  .foc {
    position: static;
    display: inline-block;
    margin-bottom: 12px
  }
}

/* mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #fff;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-y: auto;
  visibility: hidden
}

.drawer.open {
  transform: none;
  visibility: visible
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line)
}

.drawer-head img {
  height: 38px
}

.drawer details {
  border-bottom: 1px solid var(--line)
}

.drawer summary {
  padding: 18px 24px;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  cursor: pointer
}

.drawer summary::after {
  content: "+";
  color: var(--brand);
  font-size: 1.4rem;
  line-height: 1
}

.drawer details[open] summary::after {
  content: "–"
}

.drawer details ul {
  list-style: none;
  padding: 0 24px 16px
}

.drawer details a {
  display: block;
  padding: 10px 0;
  color: var(--body);
  font-weight: 600
}

.drawer .dr-cta {
  padding: 24px;
  display: grid;
  gap: 10px
}

.drawer .dr-cta .btn {
  justify-content: center
}

/* ================= V2 — Butterfly-led design layer ================= */
:root {
  --sand: #F8F2EA;
  --sand-2: #EFE3D2;
  --cyan: #3BBBD3;
  --cyan-ink: #0E6F8C
}

.btn-lg {
  padding: 1rem 1.7rem;
  font-size: 1.02rem
}

.grad {
  color: var(--primary-color, #187DAB);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.bg-sand {
  background: var(--light-background)
}

/* ---------- Hero v2 (light, butterfly-led) ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  pointer-events: none
}

.blob.b1 {
  width: 520px;
  height: 520px;
  background: #CDEFF7;
  left: -160px;
  top: -120px
}

.blob.b2 {
  width: 620px;
  height: 620px;
  background: #D6E9F5;
  right: -200px;
  top: 40px
}

.chip-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--brand-dark);
  box-shadow: var(--shadow);
  margin-bottom: 26px
}

.chip-tag i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(59, 187, 211, .2)
}

.bfly-stage {
  position: relative;
  width: 100%;
  max-width: 600px;
  justify-self: center
}

.bfly {
  width: 100%;
  height: auto;
  overflow: visible
}

.bfly .flap {
  transform-box: view-box;
  transform-origin: 300px 300px;
  animation: flap 5s ease-in-out infinite
}

@keyframes flap {

  0%,
  100% {
    transform: scaleX(1)
  }

  45% {
    transform: scaleX(.93)
  }

  55% {
    transform: scaleX(.93)
  }
}

.bfly .wing-l,
.bfly .wing-r {
  transition: opacity .3s, filter .3s
}

.bfly-stage.hl-l .wing-r,
.bfly-stage.hl-r .wing-l {
  opacity: .35
}

.bfly-stage.hl-l .wing-l,
.bfly-stage.hl-r .wing-r {
  filter: drop-shadow(0 12px 24px rgba(10, 62, 87, .35))
}

.bfly .orbit-ring {
  transform-box: view-box;
  transform-origin: 300px 300px;
  animation: spin 80s linear infinite
}

.bfly .pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse 2.4s ease-out infinite
}

@keyframes pulse {
  0% {
    transform: scale(.6);
    opacity: 1
  }

  100% {
    transform: scale(2.6);
    opacity: 0
  }
}

.wlabel {
  position: absolute;
  top: 13%;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  max-width: 215px;
  transition: .25s
}

.wlabel:hover,
.wlabel:focus-visible {
  transform: translateY(-4px)
}

.wlabel .k {
  display: block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase
}

.wlabel strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.12rem;
  line-height: 1.2;
  margin: 3px 0 2px
}

.wlabel .d {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.35;
  display: block
}

.wl-left {
  left: -2%
}

.wl-left .k {
  color: var(--cyan-ink)
}

.wl-left {
  border-left: 4px solid var(--cyan)
}

.wl-right {
  right: -2%;
  text-align: right;
  border-right: 4px solid var(--brand)
}

.wl-right .k {
  color: var(--brand)
}

.blabel {
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translateX(-50%);
  background: var(--brand-deep);
  color: #CFE6F0;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: .78rem;
  white-space: nowrap;
  box-shadow: var(--shadow-lg)
}

.blabel span {
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  margin-right: 4px
}

.cplabel {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px dashed var(--cyan);
  color: var(--cyan-ink);
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 700;
  font-size: .85rem;
  white-space: nowrap
}

.cplabel svg {
  width: 16px;
  height: 16px
}

.emirates {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  padding: 14px 0
}

.emirates .track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marq 38s linear infinite
}

.emirates span {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--brand-dark);
  padding: 0 26px;
  display: flex;
  align-items: center;
  gap: 26px;
  white-space: nowrap
}

.emirates span::after {
  content: "";
  width: 18px;
  height: 12px;
  background: var(--cyan);
  clip-path: path('M9,11 C8,6 4,2 0,0 C0,6 3,10 8,11Z M9,11 C10,6 14,2 18,0 C18,6 15,10 10,11Z');
  opacity: .8
}

@keyframes marq {
  to {
    transform: translateX(-50%)
  }
}

.pathways2 {
  padding: 60px 0 0
}

.pathways2 .path::before {
  height: 6px
}

.path.p1 {
  --c: #0E7FA0
}

.path.p2 {
  --c: #1C8FB0
}

.path.p3 {
  --c: var(--brand-deep)
}

.path p {
  color: var(--body)
}

/* ---------- Ecosystem network map ---------- */
.netmap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto 40px
}

.netmap svg {
  width: 100%;
  height: auto;
  overflow: visible
}

.flowtxt text {
  font: 700 13px 'Figtree', system-ui, sans-serif;
  fill: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase
}

.netmap .pulse2 {
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse3 3s ease-out infinite
}

@keyframes pulse3 {
  0% {
    transform: scale(1);
    opacity: .9
  }

  100% {
    transform: scale(1.35);
    opacity: 0
  }
}

.nd {
  position: absolute;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 18px 14px 40px;
  box-shadow: var(--shadow-lg);
  min-width: 210px
}

.nd strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.2
}

.nd span {
  font-size: .8rem;
  color: var(--muted)
}

.dot {
  position: absolute;
  left: 16px;
  top: 20px;
  width: 12px;
  height: 12px;
  border-radius: 50%
}

.dot.c {
  background: var(--cyan)
}

.dot.d {
  background: var(--brand-deep)
}

.dot.m {
  background: #2A9BC1;
  box-shadow: 0 0 0 3px #D5EEF6
}

.nd-center {
  position: absolute;
  left: 50%;
  top: 65%;
  transform: translateX(-50%);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--brand-deep);
  font-size: .95rem;
  background: var(--sky);
  padding: 4px 12px;
  border-radius: 999px
}

.wings-legend {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.wleg {
  display: grid;
  grid-template-columns: 52px 1fr 20px;
  gap: 14px;
  align-items: center;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: .2s
}

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

.wleg svg {
  width: 52px;
  height: 52px
}

.wleg>svg:last-child {
  width: 20px;
  height: 20px;
  color: var(--brand)
}

.wleg small {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand)
}

.wleg.left small {
  color: var(--cyan-ink)
}

.wleg strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  line-height: 1.25
}

.wleg span {
  font-size: .82rem;
  color: var(--muted)
}

.wleg.left {
  border-top: 4px solid var(--cyan)
}

.wleg.mid {
  border-top: 4px solid var(--brand-deep)
}

.wleg.right {
  border-top: 4px solid var(--brand)
}

/* ---------- Impact ---------- */
.impact {
  background: var(--brand-deep);
  color: #CFE6F0;
  padding: var(--section-padding);
  position: relative;
  overflow: hidden
}

.impact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 300px at 90% 0%, rgba(59, 187, 211, .25), transparent 70%), radial-gradient(500px 300px at 0% 100%, rgba(24, 125, 171, .35), transparent 70%)
}

.impact .wrap {
  position: relative
}

.impact-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 34px
}

.impact h2 {
  color: #fff;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  margin-bottom: 0;
}

.sample {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px dashed rgba(255, 255, 255, .35);
  border-radius: 999px;
  padding: 5px 12px;
  color: #A9D3E4
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border-radius: 22px;
  overflow: hidden
}

.stat {
  background: #0B4561;
  padding: 30px 28px
}

.stat b {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1
}

.stat>span {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--cyan)
}

.stat p {
  margin-top: 8px;
  font-weight: 600;
  margin-bottom: 0;
}

.logos {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap
}

.lg-title {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8FB9CB;
  flex: 0 0 auto
}

.lg-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex: 1
}

.lg-row i {
  font-style: normal;
  flex: 1 1 120px;
  text-align: center;
  border: 1px dashed rgba(255, 255, 255, .22);
  border-radius: 12px;
  padding: 14px 10px;
  font-size: .8rem;
  color: #7FA9BC;
  font-weight: 600
}

/* ---------- Transformation ---------- */
.transform {
  background: linear-gradient(180deg, #fff, var(--sky-2))
}

.tr-toggle {
  display: flex;
  justify-content: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--wing-soft);
  border-radius: 999px;
  padding: 6px;
  width: max-content;
  margin: 0 auto 46px;
  box-shadow: var(--shadow)
}

.tr-toggle button {
  border: 0;
  background: none;
  border-radius: 999px;
  padding: .65rem 1.3rem;
  font-weight: 700;
  color: var(--muted)
}

.tr-toggle button[aria-selected="true"] {
  background: var(--brand);
  color: #fff
}

.stages {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
  counter-reset: s
}

.stages::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 62px;
  height: 3px;
  background: linear-gradient(90deg, var(--wing-soft), var(--brand));
  border-radius: 3px
}

.stages li {
  position: relative;
  text-align: center;
  padding: 0 10px
}

.st-ic {
  width: 124px;
  height: 124px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1
}

.st-ic svg {
  width: 86px;
  height: 80px
}

.st-ic .w {
  transform-box: view-box;
  transform-origin: 60px 55px;
  transform: scaleX(.05);
  transition: transform 1.2s cubic-bezier(.2, .8, .2, 1)
}

.stages li.in .st-ic .w {
  transform: scaleX(var(--o))
}

.st-n {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--cyan);
  font-size: .85rem
}

.stages strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.45rem;
  color: var(--ink);
  margin: 2px 0 6px
}

.stages p {
  font-size: .94rem;
  color: var(--muted);
  max-width: 240px;
  margin: 0 auto
}

.stages[data-set="fam"] .st-n {
  color: var(--cyan-ink)
}

/* ---------- Chapter dividers (two wings) ---------- */
.chapter {
  position: relative;
  overflow: hidden
}

.ch-left {
  background: linear-gradient(100deg, #DDF3F9, #F2FAFC 60%, #fff);
  color: var(--cyan)
}

.ch-right {
  background: linear-gradient(100deg, var(--brand-deep), var(--brand-dark) 60%, var(--brand));
  color: #fff
}

.ch-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding-top: 44px;
  padding-bottom: 44px
}

.ch-wing {
  width: 92px;
  height: 92px
}

.ch-left .ch-wing {
  color: var(--cyan)
}

.ch-right .ch-wing {
  color: rgba(255, 255, 255, .9);
  transform: scaleX(-1)
}

.ch-k {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase
}

.ch-left .ch-k {
  color: var(--cyan-ink)
}

.ch-right .ch-k {
  color: var(--wing-soft)
}

.chapter h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  margin: 4px 0
}

.ch-right h2 {
  color: #fff
}

.ch-left p {
  color: var(--body)
}

.ch-right p {
  color: #CFE6F0
}

.chapter nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end
}

.chapter nav a {
  border-radius: 999px;
  padding: .5rem 1rem;
  font-weight: 700;
  font-size: .88rem
}

.ch-left nav a {
  background: #fff;
  color: var(--cyan-ink);
  border: 1px solid #BFE3EE
}

.ch-right nav a {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25)
}

.chapter nav a:hover {
  transform: translateY(-2px)
}

/* ---------- Human: leaf-shaped photography ---------- */
.leaf {
  border-radius: 0 50% 0 50%
}

.photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: linear-gradient(150deg, #D8EEF5, #A9D8E8 60%, #7FC4DB);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg)
}

.photo>span {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
  display: grid;
  place-items: center;
  color: var(--brand-dark)
}

.photo>span svg {
  width: 26px;
  height: 26px
}

.photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14%;
  text-align: center;
  font-size: .74rem;
  font-weight: 700;
  color: var(--brand-deep);
  padding: 0 18%
}

.collage {
  position: relative;
  height: 540px
}

.collage .l1 {
  position: absolute;
  left: 0;
  top: 0;
  width: 62%;
  height: 62%
}

.collage .l2 {
  position: absolute;
  right: 0;
  top: 18%;
  width: 42%;
  height: 40%;
  border-radius: 50% 0 50% 0;
  background: linear-gradient(150deg, #F3E6D3, #E6CFAF)
}

.collage .l3 {
  position: absolute;
  left: 18%;
  bottom: 0;
  width: 48%;
  height: 38%;
  border-radius: 50% 0 50% 0;
  background: linear-gradient(150deg, #CFE7F1, #8CC7DC)
}

.float-quote {
  position: absolute;
  right: 0;
  bottom: 6%;
  width: 56%;
  background: #fff;
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--cyan)
}

.float-quote p {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 8px
}

.float-quote cite {
  font-style: normal;
  font-size: .82rem;
  font-weight: 700;
  color: var(--cyan-ink)
}

.float-quote small {
  color: var(--muted);
  font-weight: 500
}

#advocacy .quote-big em {
  color: var(--cyan-ink)
}

#advocacy .eyebrow {
  color: var(--cyan-ink)
}

.member-band {
  position: relative;
  overflow: hidden;
  margin-top: 70px;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: center;
  border-radius: 28px;
  padding: 44px;
  background: linear-gradient(120deg, #0E7FA0 0%, var(--brand) 50%, var(--brand-deep) 100%);
  color: #E4F3F9;
  box-shadow: var(--shadow-lg)
}

.member-band .badge {
  display: inline-block;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 12px
}

.member-band h3 {
  color: #fff;
  font-size: 1.7rem
}

.member-band .price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 22px
}

.member-band .price b {
  font-family: 'Outfit', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1
}

.member-band .fine {
  font-size: .8rem;
  color: #A9D3E4;
  margin-top: 14px
}

.member-band ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 22px;
  position: relative;
  z-index: 1
}

.member-band li {
  display: flex;
  gap: 10px;
  font-weight: 600;
  align-items: flex-start
}

.member-band li svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: var(--wing-soft)
}

.mb-wing {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 300px;
  height: 300px;
  color: rgba(255, 255, 255, .07)
}

/* team: leaf photos */
.member .ph span {
  border-radius: 0 50% 0 50%;
  width: 130px;
  height: 130px
}

/* ---------- Responsive v2 ---------- */
@media (max-width:1100px) {
  .bfly-stage {
    max-width: 560px
  }

  .wings-legend {
    grid-template-columns: 1fr
  }

  .stats {
    grid-template-columns: 1fr 1fr
  }

  .member-band {
    grid-template-columns: 1fr
  }
}

@media (max-width:900px) {
  .netmap {
    display: none
  }

  .stages {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px
  }

  .stages::before {
    display: none
  }

  .ch-inner {
    grid-template-columns: auto 1fr
  }

  .chapter nav {
    grid-column: 1/-1;
    justify-content: flex-start
  }
}

@media (max-width:760px) {
  .hero-actions .btn-lg {
    width: 100%;
    justify-content: center
  }

  .wlabel {
    position: static;
    max-width: none;
    text-align: left;
    border-right: 0
  }

  .wl-right {
    border-left: 4px solid var(--brand);
    border-right: 0
  }

  .bfly-stage {
    display: grid;
    gap: 10px
  }

  .bfly-stage .bfly {
    order: -1
  }

  .blabel {
    top: auto;
    bottom: 46%
  }

  .cplabel {
    position: static;
    transform: none;
    justify-self: center
  }

  .collage {
    height: 420px
  }

  .float-quote {
    width: 78%
  }

  .member-band {
    padding: 30px 22px
  }

  .member-band ul {
    grid-template-columns: 1fr
  }

  .stats {
    grid-template-columns: 1fr 1fr
  }

  .stat {
    padding: 22px 18px
  }

  .stages {
    grid-template-columns: 1fr
  }

  .tr-toggle {
    width: 100%
  }

  .tr-toggle button {
    flex: 1;
    padding: .6rem .6rem;
    font-size: .86rem
  }

  .ch-wing {
    width: 56px;
    height: 56px
  }
}

@media (prefers-reduced-motion:reduce) {
  .emirates .track {
    animation: none
  }
}

.bfly .wk {
  font: 800 12px 'Figtree', system-ui, sans-serif;
  letter-spacing: .18em;
  fill: #0E6F8C
}

.bfly .wk.light {
  fill: #BFE7F3
}

.bfly .wt {
  font: 700 18px 'Outfit', system-ui, sans-serif;
  fill: #fff;
  letter-spacing: -.01em
}

.bfly .wt.dark {
  fill: #0A3E57
}

.bfly .wlink {
  cursor: pointer
}

.bfly .wlink:hover .wt,
.bfly .wlink:focus .wt {
  text-decoration: underline
}

.bfly .wlink:focus {
  outline: none
}

.bfly .wlink:focus-visible .wt {
  text-decoration: underline;
  text-decoration-thickness: 3px
}

.emirates span::after {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  clip-path: none
}

.lg-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr)
}

.collage .l3 {
  left: 2%;
  width: 40%;
  height: 34%
}

.float-quote {
  width: 54%;
  bottom: 3%
}

@media (max-width:760px) {
  .lg-title {
    flex: 1 1 100%
  }

  .lg-row {
    grid-template-columns: repeat(3, 1fr)
  }

  .float-quote {
    width: 70%
  }
}

@media (max-width:760px) {
  .blabel {
    display: none
  }
}

/* ================= Inner pages ================= */
.menu>li>a.active,
.menu>li>button.active {
  color: var(--brand)
}

.menu>li>button.active::after,
.menu>li>a.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand)
}

.menu>li>button,
.menu>li>a {
  position: relative
}

.mega-links a.current {
  background: var(--sky)
}

/* page hero */
.phero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  background: linear-gradient(180deg, #F3FAFD, #fff)
}

.phero.w-left {
  background: linear-gradient(115deg, #DDF3F9 0%, #F4FBFD 55%, #fff 100%)
}

.phero.w-right {
  background: linear-gradient(115deg, var(--brand-deep) 0%, var(--brand-dark) 55%, var(--brand) 100%);
  color: #CFE6F0
}

.phero.w-body {
  background: linear-gradient(115deg, #EAF5FA, #fff)
}

.phero .pw {
  position: absolute;
  right: -40px;
  top: -30px;
  width: 360px;
  height: 360px;
  pointer-events: none
}

.phero.w-left .pw {
  color: rgba(59, 187, 211, .22)
}

.phero.w-right .pw {
  color: rgba(255, 255, 255, .08);
  transform: scaleX(-1)
}

.phero.w-body .pw {
  color: rgba(24, 125, 171, .08)
}

.phero .wrap {
  position: relative;
  z-index: 1
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: .85rem;
  margin-bottom: 22px
}

.crumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted)
}

.crumbs li+li::before {
  content: "/";
  opacity: .5
}

.crumbs a {
  font-weight: 600
}

.w-right .crumbs li {
  color: #A9D3E4
}

.w-right .crumbs a {
  color: #fff
}

.phero-grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: 50px;
  align-items: center
}

.phero .wing-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px
}

.w-left .wing-tag {
  background: #fff;
  color: var(--cyan-ink);
  border: 1px solid #BFE3EE
}

.w-right .wing-tag {
  background: rgba(255, 255, 255, .12);
  color: var(--wing-soft);
  border: 1px solid rgba(255, 255, 255, .2)
}

.w-body .wing-tag {
  background: #fff;
  color: var(--brand-deep);
  border: 1px solid var(--line)
}

.wing-tag i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor
}

.phero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.06;
  margin-bottom: 16px
}

.w-right h1 {
  color: #fff
}

.phero h1 em {
  font-style: normal;
  color: var(--brand)
}

.w-left h1 em {
  color: var(--cyan-ink)
}

.w-right h1 em {
  color: var(--wing-soft)
}

.phero p.lead {
  font-size: 1.15rem;
  max-width: 640px;
  margin-bottom: 26px
}

.w-right p.lead {
  color: #DDF0F8
}

.phero-aside {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
  color: var(--body)
}

.phero-aside h3 {
  font-size: 1.1rem;
  margin-bottom: 12px
}

.phero-aside ul {
  list-style: none;
  display: grid;
  gap: 10px
}

.phero-aside li {
  display: flex;
  gap: 10px;
  font-weight: 600;
  color: var(--ink);
  font-size: .95rem
}

.phero-aside li svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex: 0 0 18px;
  margin-top: 3px
}

.phero-aside.img {
  display: grid;
  place-items: center;
  padding: 30px;
  border-radius: 50%;
  aspect-ratio: 1;
  width: min(320px, 100%);
  justify-self: center
}

/* sub-nav (in-page tabs across a wing) */
.subnav {
  position: sticky;
  top: 78px;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line)
}

.subnav .wrap {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none
}

.subnav a {
  white-space: nowrap;
  padding: 14px 14px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--muted);
  border-bottom: 3px solid transparent
}

.subnav a:hover {
  color: var(--ink)
}

.subnav a.on {
  color: var(--brand);
  border-color: var(--brand)
}

.subnav.left a.on {
  color: var(--cyan-ink);
  border-color: var(--cyan)
}

/* generic blocks */
.sec-sm {
  padding: var(--section-padding);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
  transition: .2s
}

.card:hover {
  box-shadow: var(--shadow)
}

.card .ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sky);
  color: var(--brand);
  display: grid;
  place-items: center;
  margin-bottom: 16px
}

.card .ic svg {
  width: 24px;
  height: 24px
}

.card.cy .ic {
  background: #DDF3F9;
  color: var(--cyan-ink)
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px
}

.card p {
  font-size: .95rem;
  color: var(--muted)
}

.card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  margin-top: 14px;
  font-family: 'Outfit', sans-serif
}

.card .more svg {
  width: 16px;
  height: 16px
}

a.card {
  color: inherit;
  display: block
}

a.card:hover {
  transform: translateY(-4px);
  border-color: var(--brand)
}

.prose {
  max-width: 760px
}

.prose h2 {
  font-size: 1.6rem;
  margin: 36px 0 12px
}

.prose h3 {
  font-size: 1.2rem;
  margin: 24px 0 8px
}

.prose p,
.prose li {
  margin-bottom: 12px
}

.prose ul {
  padding-left: 20px
}

.callout {
  border-radius: 18px;
  padding: 22px 24px;
  background: var(--sky);
  border-left: 4px solid var(--brand);
  margin: 24px 0
}

.callout.warn {
  background: #FFF8EC;
  border-color: #E3B25C;
  color: #6B5324
}

.callout strong {
  color: var(--ink)
}

.cta-band {
  background: linear-gradient(120deg, var(--brand), var(--brand-deep));
  border-radius: 28px;
  padding: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: #DDF0F8;
  position: relative;
  overflow: hidden
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin-bottom: 6px
}

.cta-band.cy {
  background: linear-gradient(120deg, #0E7FA0, var(--brand))
}

.cta-band .acts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

/* forms */
.form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: start
}

.form-wrap.pod-cv{
  display:block;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 38px 40px;
  box-shadow: var(--shadow)
}

.form-card h2 {
  font-size: 1.65rem;
  margin-bottom: 6px
}

.form-card>p {
  color: var(--muted);
  margin-bottom: 22px
}

.steps-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  list-style: none;
  counter-reset: st
}

.steps-bar li {
  flex: 1;
  counter-increment: st;
  font-size: .88rem;
  font-weight: 700;
  color: var(--muted);
  padding-top: 13px;
  border-top: 4px solid var(--line);
  transition: border-color .25s ease, color .25s ease
}

.steps-bar li::before {
  content: "Step " counter(st) " · "
}

.steps-bar li.on {
  color: var(--brand-dark);
  border-color: var(--brand)
}

.steps-bar li.done {
  color: var(--ink);
  border-color: var(--cyan)
}

.fstep {
  display: none
}

.fstep.on {
  display: block
}

.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px
}

.frow.one {
  grid-template-columns: 1fr
}

.field textarea {
  width: 100%;
  min-height: 120px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
  resize: vertical
}

.field textarea:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 4px rgba(24, 125, 171, .15)
}

.field .hint {
  font-size: .78rem;
  color: var(--muted);
  margin-top: 5px
}

.field .req {
  color: #B3261E
}

.file-drop {
  border: 2px dashed var(--wing-soft);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  background: var(--sky-2);
  font-size: .9rem;
  color: var(--muted)
}

.file-drop strong {
  color: var(--brand)
}

.checks {
  display: grid;
  gap: 10px;
  margin: 8px 0 18px
}

.checks label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .9rem;
  line-height: 1.45
}

.checks input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
  flex: 0 0 18px
}

.chk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px
}

.chk-grid label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .9rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer
}

.chk-grid input {
  accent-color: var(--brand)
}

.form-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line)
}

.family-membership-charges {
  position: sticky;
  top: 120px;
  width: 100%;
}

.summary {
  background: var(--brand-deep);
  color: #CFE6F0;
  border-radius: 20px;
  padding: 22px 20px;
  box-shadow: 0 10px 25px -10px rgba(10, 62, 87, .3)
}

.summary h3 {
  color: #fff;
  font-size: 1.12rem;
  margin-bottom: 12px;
  font-weight: 700
}

.summary .line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-size: .88rem
}

.summary .tot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: #fff;
  font-size: 1.25rem
}

.summary .sec {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-top: 14px;
  font-size: .78rem;
  color: #A9D3E4;
  line-height: 1.35
}

.summary .sec svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0
}

.pay-box {
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: var(--sky-2)
}

.pay-box .cards {
  display: flex;
  gap: 8px;
  margin-bottom: 14px
}

.pay-box .cards span {
  font-size: .72rem;
  font-weight: 800;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  color: var(--brand-deep)
}

.success {
  display: none;
  text-align: center;
  padding: 30px 10px
}

.success.on {
  display: block
}

.success .ok {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #E5F6EC;
  color: #146C3A;
  display: grid;
  place-items: center;
  margin: 0 auto 16px
}

.success .ok svg {
  width: 36px;
  height: 36px
}

.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(15, 95, 132, .04)
}

.side-card h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
  font-weight: 700
}

.side-card p,
.side-card li {
  font-size: .86rem;
  color: var(--muted);
  line-height: 1.45
}

.side-card ul {
  list-style: none;
  display: grid;
  gap: 8px
}

.side-card li {
  display: flex;
  gap: 8px
}

.side-card li svg {
  width: 16px;
  height: 16px;
  color: var(--brand);
  flex: 0 0 16px;
  margin-top: 3px
}

/* comparison table */
.cmp-wrap {
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow)
}

table.cmp {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px
}

.cmp th,
.cmp td {
  padding: 15px 18px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  font-size: .92rem
}

.cmp th:first-child,
.cmp td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--ink)
}

.cmp thead th {
  background: var(--sky-2);
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  color: var(--ink);
  vertical-align: bottom
}

.cmp thead th small {
  display: block;
  font-family: 'Figtree', sans-serif;
  font-size: .75rem;
  color: var(--muted);
  font-weight: 600
}

.cmp thead th i {
  display: block;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  margin: 0 auto 6px;
  background: radial-gradient(circle at 30% 30%, #fff, var(--t))
}

.cmp .grp td {
  background: #F9FCFE;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  text-align: left
}

.cmp .y {
  color: var(--brand)
}

.cmp .y svg {
  width: 20px;
  height: 20px
}

.cmp .n {
  color: #C3CED5
}

.cmp th.pop {
  background: #E3F4FA;
  box-shadow: inset 0 4px 0 var(--cyan)
}

/* directory */
.dir {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 30px
}

.dir-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  align-self: start;
  position: sticky;
  top: 110px
}

.dir-side .field {
  margin-bottom: 14px
}

.dir-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  gap: 10px;
  flex-wrap: wrap
}

.dir-top b {
  font-family: 'Outfit', sans-serif;
  color: var(--ink)
}

.dir-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.pprof {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.pprof .hd {
  display: flex;
  gap: 14px;
  align-items: center
}

.pprof .logo {
  flex: 0 0 56px;
  height: 56px;
  border-radius: 0 50% 0 50%;
  background: var(--sky);
  display: grid;
  place-items: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  color: var(--brand)
}

.pprof h3 {
  font-size: 1.08rem
}

.pprof .meta {
  font-size: .84rem;
  color: var(--muted)
}

.pprof p {
  font-size: .9rem
}

.pprof .tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap
}

.pprof .tags span {
  font-size: .72rem;
  font-weight: 700;
  background: var(--sky-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
  color: var(--brand-dark)
}

.pprof .ft {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line)
}

.pprof .offer {
  font-size: .76rem;
  font-weight: 800;
  color: #8A5A0B;
  background: #FFF3DC;
  border-radius: 999px;
  padding: 3px 10px
}

.empty {
  display: none;
  text-align: center;
  padding: 40px;
  color: var(--muted);
  grid-column: 1/-1
}

/* events */
.ev-list {
  display: grid;
  gap: 14px
}

.ev {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 22px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px 24px
}

.ev .date {
  text-align: center;
  border-radius: 0 24px 0 24px;
  background: var(--sky);
  padding: 12px 0
}

.ev .date b {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.9rem;
  color: var(--brand-deep);
  line-height: 1
}

.ev .date span {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--brand)
}

.ev h3 {
  font-size: 1.12rem;
  margin-bottom: 4px
}

.ev .meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: .85rem;
  color: var(--muted)
}

.ev .meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px
}

.ev .meta svg {
  width: 14px;
  height: 14px
}

.ev .tag {
  font-size: .7rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  background: #DDF3F9;
  color: var(--cyan-ink);
  margin-right: 6px
}

.ev .tag.m {
  background: var(--brand-deep);
  color: #fff
}

/* news */
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column
}

.news-card .im {
  height: 190px;
  background: linear-gradient(135deg, #CFE9F2, #8CC7DC);
  display: grid;
  place-items: center;
  color: var(--brand-dark);
  font-size: .78rem;
  font-weight: 700
}

.news-card .bd {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1
}

.news-card .cat {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 6px
}

.news-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px
}

.news-card p {
  font-size: .9rem;
  color: var(--muted);
  margin-bottom: 14px
}

.news-card .dt {
  margin-top: auto;
  font-size: .8rem;
  color: var(--muted)
}

.news-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 30px
}

.news-feature .im {
  min-height: 320px;
  background: linear-gradient(135deg, var(--brand), var(--cyan));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: .85rem
}

.news-feature .bd {
  padding: 36px
}

.news-feature h2 {
  font-size: 1.8rem;
  margin: 8px 0 12px
}

/* login + dashboard */
.auth {
  min-height: 70vh;
  display: grid;
  grid-template-columns: 1fr 1fr
}

.auth-l {
  background: linear-gradient(150deg, var(--brand-deep), var(--brand));
  color: #CFE6F0;
  padding: 70px 60px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.auth-l h1 {
  color: #fff;
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  margin: 16px 0 12px
}

.auth-l .wm {
  position: absolute;
  right: -60px;
  bottom: -60px;
  width: 340px;
  opacity: .1;
  filter: brightness(0) invert(1)
}

.auth-l ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 20px
}

.auth-l li {
  display: flex;
  gap: 10px;
  font-weight: 600
}

.auth-l li svg {
  width: 18px;
  height: 18px;
  color: var(--wing-soft)
}

.auth-r {
  display: grid;
  place-items: center;
  padding: 60px 24px;
  background: var(--sky-2)
}

.auth-card {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px;
  box-shadow: var(--shadow-lg)
}

.auth-card h2 {
  font-size: 1.6rem;
  margin-bottom: 6px
}

.auth-card .field {
  margin-bottom: 14px
}

.role-pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px
}

.role-pick label {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  gap: 8px;
  align-items: center
}

.role-pick input {
  accent-color: var(--brand)
}

.role-pick label:has(input:checked) {
  border-color: var(--brand);
  background: var(--sky)
}

.dash-wrap {
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 80vh
}

.dash-side {
  background: var(--brand-deep);
  padding: 26px 16px;
  color: #BFDDEA
}

.dash-side .who {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 10px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  margin-bottom: 14px
}

.dash-side .av {
  width: 44px;
  height: 44px;
  border-radius: 0 50% 0 50%;
  background: var(--cyan);
  display: grid;
  place-items: center;
  color: var(--brand-deep);
  font-weight: 800;
  font-family: 'Outfit', sans-serif
}

.dash-side .who strong {
  color: #fff;
  display: block;
  font-family: 'Outfit', sans-serif
}

.dash-side .who span {
  font-size: .8rem
}

.dash-side nav a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 12px;
  color: #BFDDEA;
  font-weight: 600;
  font-size: .93rem
}

.dash-side nav a svg {
  width: 18px;
  height: 18px
}

.dash-side nav a.on,
.dash-side nav a:hover {
  background: rgba(255, 255, 255, .1);
  color: #fff
}

.dash-side select {
  width: 100%;
  margin: 6px 0 18px;
  height: 42px;
  border-radius: 10px;
  border: 0;
  padding: 0 10px;
  font: inherit;
  font-weight: 600
}

.dash-main {
  background: var(--sky-2);
  padding: 36px 40px
}

.dash-main h1 {
  font-size: 1.9rem;
  margin-bottom: 4px
}

.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 24px 0
}

.kpi {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px
}

.kpi small {
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted)
}

.kpi b {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  color: var(--ink)
}

.dash-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px
}

.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px
}

.panel h3 {
  font-size: 1.1rem;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.panel h3 a {
  font-size: .85rem;
  font-family: 'Figtree', sans-serif
}

.list-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem
}

.list-row:last-child {
  border-bottom: 0
}

.list-row strong {
  color: var(--ink);
  display: block
}

.list-row span {
  font-size: .8rem;
  color: var(--muted)
}

.pill {
  font-size: .72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--brand-dark);
  white-space: nowrap
}

.pill.g {
  background: #E5F6EC;
  color: #146C3A
}

.pill.a {
  background: #FFF3DC;
  color: #8A5A0B
}

.progress {
  height: 8px;
  border-radius: 8px;
  background: var(--line);
  overflow: hidden;
  margin-top: 6px
}

.progress i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--brand));
  border-radius: 8px
}

.dview {
  display: none
}

.dview.on {
  display: block
}

/* get started hub */
.hub {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px
}

.hub a {
  display: grid;
  grid-template-columns: 64px 1fr 24px;
  gap: 18px;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  color: var(--ink);
  transition: .2s
}

.hub a:hover {
  border-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg)
}

.hub .hi {
  width: 64px;
  height: 64px;
  border-radius: 0 50% 0 50%;
  display: grid;
  place-items: center;
  background: var(--sky);
  color: var(--brand)
}

.hub .hi svg {
  width: 28px;
  height: 28px
}

.hub a.l .hi {
  background: #DDF3F9;
  color: var(--cyan-ink)
}

.hub strong {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem
}

.hub span {
  font-size: .9rem;
  color: var(--muted)
}

.hub a>svg {
  width: 22px;
  height: 22px;
  color: var(--brand)
}

.hub-h {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 30px 0 14px
}

/* course detail */
.course-hero {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 40px;
  align-items: start
}

.book-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
  color: var(--body);
  position: sticky;
  top: 110px
}

.book-card .pr {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--ink)
}

.book-card .field {
  margin: 14px 0
}

.book-card dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  font-size: .88rem;
  margin: 16px 0
}

.book-card dt {
  color: var(--muted);
  font-weight: 600
}

.book-card dd {
  color: var(--ink);
  font-weight: 700
}

.outcomes {
  list-style: none;
  display: grid;
  gap: 12px
}

.outcomes li {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px
}

.outcomes b {
  font-family: 'Outfit', sans-serif;
  color: var(--cyan);
  min-width: 24px
}

.modules {
  display: grid;
  gap: 10px
}

.modules details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px
}

.modules summary {
  padding: 16px 18px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between
}

.modules summary span {
  font-weight: 600;
  color: var(--muted);
  font-size: .85rem
}

.modules details p {
  padding: 0 18px 16px;
  font-size: .92rem;
  color: var(--muted)
}

.cert-card {
  display: flex;
  gap: 18px;
  align-items: center;
  background: linear-gradient(120deg, #FFF8EC, #fff);
  border: 1px solid #F1DDB5;
  border-radius: 20px;
  padding: 22px
}

.cert-card .ic {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #F8E6C2;
  color: #8A5A0B;
  display: grid;
  place-items: center;
  flex: 0 0 56px
}

.cert-card .ic svg {
  width: 28px;
  height: 28px
}

/* sitemap tiles on home */
.teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px
}

.teaser .card {
  padding: 34px
}

@media (max-width:1100px) {

  .phero-grid,
  .course-hero,
  .news-feature,
  .auth,
  .dash-wrap,
  .dash-grid {
    grid-template-columns: 1fr
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr
  }

  .dir {
    grid-template-columns: 1fr
  }

  .dir-side {
    position: static
  }

  .summary,
  .book-card {
    position: static
  }

  .kpis {
    grid-template-columns: 1fr 1fr
  }

  .phero-aside.img {
    display: none
  }

  .dash-side nav {
    display: flex;
    overflow-x: auto;
    gap: 4px
  }

  .dash-side nav a {
    white-space: nowrap
  }
}

@media (max-width:760px) {

  .grid-2,
  .grid-3,
  .grid-4,
  .dir-list,
  .hub,
  .teaser,
  .chk-grid,
  .role-pick {
    grid-template-columns: 1fr
  }

  .frow {
    grid-template-columns: 1fr
  }

  .form-card {
    padding: 24px 18px
  }

  .ev {
    grid-template-columns: 70px 1fr
  }

  .ev .btn {
    grid-column: 1/-1;
    justify-content: center
  }

  .cta-band {
    padding: 30px 22px
  }

  .auth-l {
    padding: 44px 24px
  }

  .dash-main {
    padding: 24px 16px
  }

  .subnav {
    top: 68px
  }

  .steps-bar li {
    font-size: 0;
    padding-top: 0
  }

  .steps-bar li::before {
    font-size: .72rem
  }

  .phero {
    padding: 40px 0 48px
  }
}

.stages.three {
  grid-template-columns: repeat(3, 1fr)
}

a.news-card {
  color: inherit;
  transition: .2s
}

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

@media (max-width:760px) {
  .stages.three {
    grid-template-columns: 1fr
  }
}

.areas.four {
  grid-template-columns: repeat(4, 1fr)
}

@media (max-width:1100px) {
  .areas.four {
    grid-template-columns: repeat(3, 1fr)
  }
}

@media (max-width:760px) {
  .areas.four {
    grid-template-columns: 1fr 1fr
  }
}

.kh-side fieldset {
  border: 0;
  margin-top: 16px
}

.kh-l {
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 8px
}

.kh-side label {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 5px 0;
  font-size: .92rem;
  color: var(--ink);
  cursor: pointer
}

.kh-side input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--brand)
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px
}

@media (max-width:760px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr)
  }
}

.subnav {
  overflow: hidden
}

.subnav .wrap {
  min-width: 0
}

.dash-wrap>* {
  min-width: 0
}

.cmp-wrap {
  max-width: 100%
}

html,
body {
  overflow-x: clip
}

section.dash-wrap,
section.auth {
  padding: 0
}

.btn-outline {
  background: transparent
}

/* ---------- Homepage hero slider (Swiper) ---------- */
.hero-slider {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #082f43;
  isolation: isolate
}

.hero-swiper {
  height: min(760px, calc(100vh - 76px));
  min-height: 620px
}

.hero-static {
  height: calc(100vh - var(--site-header-height, 119px));
  height: calc(100dvh - var(--site-header-height, 119px));
  min-height: 440px
}

.hero-slide {
  position: relative;
  overflow: hidden
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.1);
  transition: transform 9s ease-out
}

.hero-slide.swiper-slide-active .hero-bg {
  transform: scale(1)
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 35, 51, .78) 0%, rgba(4, 35, 51, .54) 34%, rgba(4, 35, 51, .16) 68%, rgba(4, 35, 51, .08) 100%), linear-gradient(0deg, rgba(4, 35, 51, .42) 0%, transparent 35%)
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-bottom: 100px
}

.hero-copy {
  max-width: 650px;
  color: #fff
}

.hero-title {
  font-size: clamp(2.3rem, 3.9vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.04;
  margin-bottom: 18px;
  color: #fff
}

.hero-title span {
  display: block
}

.hero-title em {
  font-style: normal
}

.hero-title .c1 {
  color: #64e4f9
}

.hero-title .c2 {
  color: #64e4f9
}

.hero-title .c3 {
  color: #64e4f9
}

.hero-copy .ar {
  font-family: 'Noto Kufi Arabic', 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  text-align: left
}

.hero-copy .btn-outline {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .72);
  color: #fff
}

.hero-copy .btn-outline:hover,
.hero-copy .btn-outline:focus-visible {
  background: #fff;
  color: var(--brand-dark);
  border-color: #fff
}

@media (min-width:1101px) {
  .hero-title span {
    white-space: nowrap
  }
}

/* entrance animation: runs every time a slide becomes active; first slide also animates before Swiper boots (same animation-name = no restart) */
@keyframes heroUp {
  from {
    opacity: 0;
    transform: translateY(34px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

@keyframes heroPop {
  from {
    opacity: 0;
    transform: translateY(22px) scale(.9)
  }

  to {
    opacity: 1;
    transform: none
  }
}

/* .hero-slide.swiper-slide-active .hero-anim,
.hero-swiper:not(.swiper-initialized) .hero-slide:first-child .hero-anim,
.hero-static .hero-anim {
  animation: heroUp .85s cubic-bezier(.22, .8, .3, 1) calc(.3s + var(--i, 0) * .11s) both
}

.hero-slide.swiper-slide-active .hero-anim--btn,
.hero-swiper:not(.swiper-initialized) .hero-slide:first-child .hero-anim--btn,
.hero-static .hero-anim--btn {
  animation-name: heroPop
} */

/* arrows */
.hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(4, 35, 51, .3);
  backdrop-filter: blur(8px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(.94);
  transition: opacity .2s ease, transform .2s ease, background .2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15)
}

.hero-arrow svg {
  width: 24px;
  height: 24px
}

.hero-prev {
  left: 24px
}

.hero-next {
  right: 24px
}

.hero-slider:hover .hero-arrow,
.hero-arrow:focus-visible {
  opacity: 1;
  transform: scale(1)
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
  background: rgba(4, 35, 51, .68)
}

/* pagination: progress bullets, aligned to the content column */
.hero-swiper .hero-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
  --p: 0;
  position: absolute;
  z-index: 4;
  bottom: 36px;
  left: max(24px, calc((100% - var(--maxw)) / 2 + 24px));
  width: auto;
  display: flex;
  gap: 10px
}

.hero-pagination .swiper-pagination-bullet {
  position: relative;
  width: 44px;
  height: 20px;
  margin: 0;
  border-radius: 0;
  background: none;
  opacity: 1
}

.hero-pagination .swiper-pagination-bullet::before,
.hero-pagination .swiper-pagination-bullet::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 8px;
  height: 4px;
  border-radius: 4px
}

.hero-pagination .swiper-pagination-bullet::before {
  background: rgba(255, 255, 255, .4)
}

.hero-pagination .swiper-pagination-bullet::after {
  background: #fff;
  transform: scaleX(0);
  transform-origin: left
}

.hero-pagination .swiper-pagination-bullet-active::after {
  transform: scaleX(var(--p))
}

@media (max-width:760px) {
  .hero-swiper {
    min-height: 650px;
    height: calc(100svh - 64px)
  }

  .hero-static {
    height: calc(100vh - var(--site-header-height, 109px));
    height: calc(100dvh - var(--site-header-height, 109px));
    height: calc(100svh - var(--site-header-height, 109px));
    min-height: 400px
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(4, 35, 51, .72), rgba(4, 35, 51, .34)), linear-gradient(0deg, rgba(4, 35, 51, .65), transparent 65%)
  }

  .hero-content {
    align-items: flex-end;
    padding-bottom: 108px
  }

  .hero-copy {
    width: 100%;
    padding-right: 40px;
  }

  .hero-arrow {
    opacity: 1;
    width: 44px;
    height: 44px;
    margin-top: -22px
  }

  .hero-prev {
    left: 12px
  }

  .hero-next {
    right: 12px
  }
}

@media (prefers-reduced-motion:reduce) {

  .hero-bg,
  .hero-arrow {
    transition: none
  }

  .hero-bg {
    transform: none;
    animation: none
  }
}

/* ---------- Partner logo sliders (IEE / Community / Endorsement) ---------- */
.partners.sec-sm {
  padding: var(--section-padding);
}

.partners .sec-head {
  max-width: 720px;
  margin-bottom: 40px
}

.partners .sec-head h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem)
}

.partners .sec-head p {
  font-size: 1.05rem
}

.logo-slider {
  position: relative
}

.logo-swiper {
  --swiper-theme-color: var(--brand);
  overflow: hidden;
  padding: 12px 6px 22px;
  margin: -12px -6px 0
}

.logo-swiper .swiper-slide {
  height: auto;
  display: flex
}

.partners.partners-combined{
    background-color: var(--body-background);
    background-image: url('../img/bg_image.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    background-attachment: scroll;
}

.logo-card {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(10, 62, 87, .05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease
}

.partners.partners-combined .logo-card{
    border-color: var(--wing-soft);
}

.logo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain
}

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

.logo-swiper--wide .logo-card {
  height: 140px;
  aspect-ratio: auto;
  padding: 20px;
}

.logo-ctl {
  display: flex;
  justify-content: center;
  gap: 12px
}

.logo-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--brand);
  transition: background .2s, color .2s, border-color .2s, transform .2s
}

.logo-btn svg {
  width: 18px;
  height: 18px
}

.logo-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff
}

.logo-btn:active {
  transform: scale(.94)
}

.logo-btn.swiper-button-disabled {
  opacity: .4;
  pointer-events: none
}

@media (max-width:760px) {
  .partners.sec-sm {
    padding: var(--section-padding);
  }

  .partners .sec-head {
    margin-bottom: 28px
  }

  .logo-card {
    height: 112px;
    padding: 12px
  }

  .logo-swiper--wide .logo-card {
    height: 112px;
    aspect-ratio: auto;
    padding: 12px;
  }
}

@media (prefers-reduced-motion:reduce) {

  .logo-card,
  .logo-btn {
    transition: none
  }

  .logo-card:hover {
    transform: none
  }
}

/* ---------- Homepage: merged members & partners tabs ---------- */
.members-partners-tabs {
  margin-bottom: 40px
}

.members-partners-tabs button {
  white-space: nowrap
}

.members-partners-panels {
  position: relative
}

.members-partners-panel[hidden] {
  display: none
}

.members-partners-panel.is-tab-fading {
  animation: membersPartnersTabFade .45s ease both
}

@keyframes membersPartnersTabFade {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

@media (prefers-reduced-motion:reduce) {
  .members-partners-panel.is-tab-fading {
    animation: none
  }
}

.members-partners-panel-head {
  max-width: 720px;
  margin: 0 auto 28px
}

.members-partners-panel-head h3 {
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  margin-bottom: 10px
}

.members-partners-panel-head p {
  font-size: 1rem
}

@media (max-width:760px) {
  .members-partners-tabs {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start
  }

  .members-partners-tabs button {
    flex: 0 0 auto
  }
}

/* ==========================================================================
   Ecosystem Butterfly Formation & Styling
   ========================================================================== */
#ecosystem .flap {
  animation: none !important;
}

#ecosystem .wing-l,
#ecosystem .wing-r {
  transform-box: view-box;
  transform-origin: 300px 300px;
}

.a-lower-wing-labels {
  display: inline;
}

#ecosystem .wt {
  fill: #062c40;
  paint-order: stroke fill;
  stroke: #e8f8fc;
  stroke-width: 2.5px;
  stroke-linejoin: round;
}

#ecosystem .eco-mini-bfly {
  display: none !important;
}

/* ==========================================================================
   Ecosystem Showcase: Balanced, Cinematic & Dynamic Butterfly Canvas
   ========================================================================== */
.eco-showcase {
  position: relative;
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 30px;
  margin: 10px auto 26px;
  padding: 40px 20px;
  background: radial-gradient(circle at 50% 50%, rgba(235, 248, 253, 0.75) 0%, rgba(255, 255, 255, 0) 72%);
}

/* Perfect balanced size for main butterfly (500px) */
.eco-showcase .bfly-stage {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  filter: drop-shadow(0 16px 36px rgba(10, 62, 87, 0.12));
  transition: transform 0.35s ease;
}

.eco-showcase .bfly-stage:hover {
  transform: scale(1.02);
}

/* Rich, Ambient Background Auras */
.eco-aura {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(75px);
  opacity: 0.35;
}

.eco-aura-l {
  width: 420px;
  height: 420px;
  top: 15%;
  left: 6%;
  background: radial-gradient(circle, #3BBBD3 0%, rgba(143, 211, 230, 0) 70%);
}

.eco-aura-r {
  width: 420px;
  height: 420px;
  top: 15%;
  right: 6%;
  background: radial-gradient(circle, #187DAB 0%, rgba(10, 78, 112, 0) 70%);
}

/* Concentric Orbit Rings */
.eco-ripples {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.eco-ripple {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.eco-ripple.r1 {
  width: 540px;
  height: 540px;
  border: 1px dashed rgba(59, 187, 211, 0.24);
  animation: rippleSpin 100s linear infinite, rippleBreathe 8s ease-in-out infinite alternate;
}

.eco-ripple.r2 {
  width: 760px;
  height: 760px;
  border: 1px dashed rgba(24, 125, 171, 0.18);
  animation: rippleSpinRev 140s linear infinite, rippleBreathe 9s ease-in-out infinite alternate 1s;
}

@keyframes rippleSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes rippleSpinRev {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

@keyframes rippleBreathe {
  0% { transform: scale(0.97); opacity: 0.45; }
  100% { transform: scale(1.03); opacity: 0.85; }
}

/* Fluid Flight Path Curves & Traveling Pulses */
.eco-flight-paths {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

/* Decor Layer: 4 Mini Butterflies, Subtle Wing Petals & Sparkles */
.eco-decor-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}

.eco-mini-bfly {
  position: absolute;
  pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(10, 62, 87, 0.15));
}

.mini-bfly-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.mini-bfly-svg .mb-wing-l {
  transform-origin: 25px 21px;
  animation: mbFlapL 1.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

.mini-bfly-svg .mb-wing-r {
  transform-origin: 25px 21px;
  animation: mbFlapR 1.4s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}

@keyframes mbFlapL {
  0% { transform: scaleX(1) rotate(0deg); }
  100% { transform: scaleX(0.24) rotate(-6deg); }
}

@keyframes mbFlapR {
  0% { transform: scaleX(1) rotate(0deg); }
  100% { transform: scaleX(0.24) rotate(6deg); }
}

/* 4 Mini Butterflies: 2 Left, 2 Right at varied heights and scales */
.bfly-l1 {
  top: 20%;
  left: 14%;
  width: 42px;
  height: 36px;
  transform: rotate(-14deg);
  animation: floatDrift1 6.5s ease-in-out infinite alternate;
}

.bfly-l2 {
  top: 65%;
  left: 20%;
  width: 32px;
  height: 28px;
  transform: rotate(8deg);
  animation: floatDrift2 7.5s ease-in-out infinite alternate 1.2s;
}

.bfly-r1 {
  top: 20%;
  right: 14%;
  width: 42px;
  height: 36px;
  transform: rotate(14deg);
  animation: floatDrift2 7s ease-in-out infinite alternate 0.5s;
}

.bfly-r2 {
  top: 65%;
  right: 20%;
  width: 32px;
  height: 28px;
  transform: rotate(-8deg);
  animation: floatDrift1 6.8s ease-in-out infinite alternate 1.8s;
}

@keyframes floatDrift1 {
  0% { transform: translateY(0px) rotate(-10deg); }
  50% { transform: translateY(-12px) rotate(-3deg); }
  100% { transform: translateY(8px) rotate(-14deg); }
}

@keyframes floatDrift2 {
  0% { transform: translateY(0px) rotate(10deg); }
  50% { transform: translateY(-14px) rotate(15deg); }
  100% { transform: translateY(8px) rotate(6deg); }
}

/* Delicate Translucent Glass Wing Petals */
.eco-petal {
  position: absolute;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(220, 245, 252, 0.15) 100%);
  border: 1px solid rgba(59, 187, 211, 0.22);
  border-radius: 50% 50% 50% 20% / 60% 40% 60% 40%;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 8px 20px -4px rgba(10, 62, 87, 0.06);
}

.eco-petal.p1 {
  width: 44px;
  height: 58px;
  top: 42%;
  left: 9%;
  transform: rotate(-30deg);
  animation: petalFloat 8s ease-in-out infinite alternate;
}

.eco-petal.p2 {
  width: 38px;
  height: 50px;
  top: 42%;
  right: 9%;
  transform: rotate(30deg);
  animation: petalFloat 8.5s ease-in-out infinite alternate 1.5s;
}

@keyframes petalFloat {
  0% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-10px) rotate(8deg) scale(1.05); }
  100% { transform: translateY(6px) rotate(-4deg) scale(0.97); }
}

/* Soft Sparkles */
.eco-sparkle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #3BBBD3;
  box-shadow: 0 0 8px rgba(59, 187, 211, 0.6);
  pointer-events: none;
  animation: sparkleTwinkle 4s ease-in-out infinite alternate;
}

.eco-sparkle.sp1 { top: 16%; left: 32%; animation-delay: 0s; background: #3BBBD3; }
.eco-sparkle.sp2 { top: 78%; left: 16%; animation-delay: 1.5s; background: #8FD3E6; }
.eco-sparkle.sp3 { top: 16%; right: 32%; animation-delay: 0.8s; background: #187DAB; }
.eco-sparkle.sp4 { top: 78%; right: 16%; animation-delay: 2.2s; background: #3BBBD3; }

@keyframes sparkleTwinkle {
  0% { transform: scale(0.5); opacity: 0.25; }
  50% { transform: scale(1.2); opacity: 0.85; }
  100% { transform: scale(0.6); opacity: 0.35; }
}

@media (max-width: 1024px) {
  .eco-showcase {
    min-height: 500px;
    padding: 30px 15px;
  }
  .eco-showcase .bfly-stage {
    max-width: 440px;
  }
  .eco-ripple.r2 {
    display: none;
  }
  .eco-petal {
    display: none;
  }
  .bfly-l1 { left: 8%; }
  .bfly-r1 { right: 8%; }
  .bfly-l2 { left: 12%; }
  .bfly-r2 { right: 12%; }
}

@media (max-width: 768px) {
  .eco-showcase {
    min-height: 420px;
    padding: 20px 10px;
    border-radius: 20px;
  }
  .eco-showcase .bfly-stage {
    max-width: 340px;
  }
  .eco-ripple.r1 {
    width: 360px;
    height: 360px;
  }
  .bfly-l2, .bfly-r2 {
    display: none;
  }
  .bfly-l1 { left: 4%; transform: scale(0.8); }
  .bfly-r1 { right: 4%; transform: scale(0.8); }
}

.eco-tagline {
  margin-top: 34px;
  margin-bottom: 0
}

.eco-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px 26px 24px;
  box-shadow: var(--shadow);
  transition: box-shadow .3s, transform .3s
}

.eco-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 5px
}

.eco-l {
  background: linear-gradient(165deg, #EAF7FB 0%, #fff 55%)
}

.eco-l::before {
  background: linear-gradient(90deg, #3BBBD3, #8FD3E6)
}

.eco-r {
  background: linear-gradient(165deg, #EEF5FA 0%, #fff 55%)
}

.eco-r::before {
  background: linear-gradient(90deg, #187DAB, #0A4E70)
}

.eco-tag {
  display: block;
  font: 800 .72rem 'Figtree', system-ui, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan-ink);
  margin-bottom: 8px
}

.eco-r .eco-tag {
  color: var(--brand)
}

.eco-panel h3 {
  font-size: 1.35rem;
  margin-bottom: 8px
}

.eco-panel>p {
  font-size: .93rem;
  color: var(--muted);
  margin-bottom: 18px
}

.eco-list {
  list-style: none;
  display: grid;
  grid-auto-rows: 1fr;
  gap: 10px;
  flex: 1
}

.eco-list li {
  display: flex
}

.eco-list a {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  transition: transform .2s, border-color .2s, box-shadow .2s
}

.eco-list a:hover,
.eco-list a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--wing-soft);
  box-shadow: var(--shadow)
}

.eco-r .eco-list a:hover,
.eco-r .eco-list a:focus-visible {
  border-color: var(--brand)
}

.eco-ic {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #DDF3F9;
  color: var(--cyan-ink)
}

.eco-r .eco-ic {
  background: var(--sky);
  color: var(--brand)
}

.eco-ic svg {
  width: 20px;
  height: 20px
}

.eco-tx {
  flex: 1;
  min-width: 0
}

.eco-tx strong {
  display: block;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2
}

.eco-tx small {
  display: block;
  font-size: .84rem;
  color: var(--muted);
  margin-top: 2px
}

.eco-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 6px;
  margin-top: 18px;
  font: 700 .95rem 'Outfit', system-ui, sans-serif;
  color: var(--brand)
}

.eco-more svg {
  width: 16px;
  height: 16px;
  transition: transform .2s
}

.eco-more:hover svg {
  transform: translateX(4px)
}

@media (max-width:1100px) {
  .eco-grid {
    grid-template-columns: 1fr 1fr
  }

  .eco-grid .bfly-stage {
    grid-column: 1/-1;
    order: -1;
    max-width: 520px;
    margin: 0 auto
  }
}

@media (max-width:760px) {
  .eco-grid {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .eco-panel {
    padding: 26px 20px 22px
  }
}

/* ---------- Two Wings: photo cards ---------- */
/* photo sits in a 16:9 band at the top (shown whole), fades into the card colour; heading + links sit below it */
.tw-card {
  --c1: #0B6280;
  --c2: #2A9BC1;
  --rgb: 11, 98, 128;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--c1) 0, var(--c1) 62%, var(--c2) 100%)
}

.teaser .tw-card {
  padding-top: 34%
}

.tw-card::before,
.tw-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  aspect-ratio: 16/9;
  pointer-events: none
}

.tw-card::after {
  z-index: -1;
  background: linear-gradient(180deg, rgba(var(--rgb), 0) 0%, rgba(var(--rgb), .18) 40%, rgba(var(--rgb), .86) 78%, var(--c1) 100%);
  box-shadow: 0 2px 0 var(--c1)
}

.tw-card::before {
  z-index: -2;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat
}

.tw-card::before,
.tw-card::after {
  transform-origin: 50% 0;
  transition: transform 1.4s ease
}

.tw-card:hover::before,
.tw-card:hover::after {
  transform: scale(1.05)
}

.tw-card::after {
  z-index: -1;
  background: linear-gradient(180deg, rgba(var(--rgb), 0) 0%, rgba(var(--rgb), .18) 40%, rgba(var(--rgb), .86) 78%, var(--c1) 100%)
}

.tw-adv {
  border-top: 5px solid var(--cyan)
}

.tw-adv::before {
  background-image: url(../img/advocacy_bg.webp);
  background-image: image-set(url(../img/advocacy_bg.webp) type("image/webp"), url(../img/advocacy_bg.webp) type("image/webp"))
}

.tw-corp {
  --c1: var(--brand-deep);
  --c2: var(--brand);
  --rgb: 10, 62, 87
}

.tw-corp::before {
  background-image: url(../img/corporate_readiness_bg.webp);
  background-image: image-set(url(../img/corporate_readiness_bg.webp) type("image/webp"), url(../img/corporate_readiness_bg.webp) type("image/webp"))
}

.tw-card>h3 {
  font-size: 1.9rem;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .25)
}

.tw-card>p {
  margin-bottom: 20px;
  color: #e6f4f9;
  font-size: 1rem
}

.tw-card .grid-2 {
  margin-top: auto
}

.tw-card a.card {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, .6)
}

.tw-card a.card:hover {
  border-color: var(--brand)
}

.tw-card a.card p {
  color: var(--muted)
}

@media (max-width:760px) {
  .teaser .tw-card {
    padding: 34% 18px 24px
  }

  .tw-card>h3 {
    font-size: 1.6rem
  }
}

@media (prefers-reduced-motion:reduce) {

  .tw-card::before,
  .tw-card::after,
  .tw-card:hover::before,
  .tw-card:hover::after {
    transition: none;
    transform: none
  }

  .eco-panel,
  .eco-list a,
  .eco-mini-bfly,
  .mini-bfly-svg .mb-wing-l,
  .mini-bfly-svg .mb-wing-r,
  .eco-shard,
  .eco-ripple,
  .eco-sparkle,
  .eco-aura {
    animation: none;
    transition: none
  }
}

/* ---------- Family membership: Interconnected Services Showcase ---------- */

.benefits-head {
  max-width: 840px;
  margin-bottom: 22px;
}

.benefits-head h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.benefits-head p.lead {
  font-size: 0.94rem;
  margin-top: 6px;
}

/* ==========================================================================
   What's Included Showcase: 70% Image & 30% Card Side-by-Side Showcase
   ========================================================================== */

.benefits-showcase {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: 22px;
  align-items: stretch;
  height: clamp(410px, 50vh, 455px);
  margin-bottom: 28px;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

/* Left Column: 70% Image Slider */
.benefits-img-col {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(8, 47, 67, 0.10);
  background: #082f43;
}

.benefits-img-swiper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
}

.benefits-img-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.benefits-img-frame {
  position: relative;
  width: 100%;
  height: 100%;
}

.benefits-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.benefits-img-slide.swiper-slide-active .benefits-img-frame img {
  transform: scale(1.03);
}

/* Subtle Gradient Overlay: clean at top/mid, smooth dark tone at bottom for captions & nav buttons */
.benefits-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 47, 67, 0.12) 0%,
    transparent 35%,
    rgba(8, 47, 67, 0.25) 55%,
    rgba(8, 47, 67, 0.85) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Top-Left Active Service Pill Badge */
.benefits-img-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  border-radius: 999px;
  padding: 6px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  color: #035272;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.01em;
}

.benefits-img-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0288a8;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(2, 136, 168, 0.25);
}

/* Lower-Left Caption over Image */
.benefits-img-caption {
  display: block;
  position: absolute;
  bottom: 68px;
  left: 24px;
  right: 24px;
  z-index: 6;
  color: #ffffff;
  pointer-events: none;
}

.benefits-img-caption h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 3px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.01em;
}

.benefits-img-caption p {
  font-size: 0.85rem;
  line-height: 1.38;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
  max-width: 540px;
}

/* Bottom Navigation Bar across Image */
.benefits-slider-nav {
  position: absolute;
  bottom: 18px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
  pointer-events: none;
}

.benefits-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  color: #062332;
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.benefits-nav-btn:hover {
  background: #02789f;
  color: #ffffff;
  transform: scale(1.08);
}

.benefits-nav-btn svg {
  width: 17px;
  height: 17px;
}

.benefits-pagination {
  display: flex;
  gap: 7px;
  align-items: center;
  width: auto !important;
  pointer-events: auto;
}

.benefits-pagination .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), background 0.3s ease;
  cursor: pointer;
}

.benefits-pagination .swiper-pagination-bullet-active {
  width: 22px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Right Column: 30% Service Card Column */
.benefits-cards-col {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.benefits-card-swiper {
  width: 100%;
  height: 100%;
  overflow: hidden !important;
  border-radius: 24px;
  padding: 0;
}

.benefits-card-slide {
  width: 100%;
  height: 100%;
  display: flex;
  box-sizing: border-box;
}

/* White Card with Cyan Border matching earlier design */
.benefit-card {
  background: #ffffff;
  border: 2px solid #3bbbd3;
  border-radius: 24px;
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  box-shadow: 0 8px 26px rgba(8, 47, 67, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.benefit-card:hover {
  border-color: #02789f;
  box-shadow: 0 12px 32px rgba(8, 47, 67, 0.10);
}

.benefit-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.benefit-step-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8f7fa;
  border: 1px solid rgba(59, 187, 211, 0.25);
  border-radius: 999px;
  padding: 4px 10px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  color: #05506e;
  letter-spacing: 0.01em;
}

.benefit-step-tag i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #0082a6;
}

.benefit-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #0082a6;
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 130, 166, 0.22);
  transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.05);
}

.benefit-icon svg {
  width: 18px;
  height: 18px;
}

.benefit-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
}

.benefit-card-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  color: #082f43;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.benefit-card-body p {
  color: #556c7d;
  font-size: 0.80rem;
  line-height: 1.40;
  font-weight: 500;
  margin: 0 0 10px;
}

.benefit-highlights {
  list-style: none;
  padding: 0;
  margin: auto 0 12px 0;
  display: grid;
  gap: 6px;
}

.benefit-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #082f43;
  background: transparent;
  border: none;
  padding: 0;
  line-height: 1.25;
}

.benefit-highlights li svg {
  width: 14px;
  height: 14px;
  color: #0082a6;
  flex-shrink: 0;
}

.benefit-card-foot {
  margin-top: auto;
  padding-top: 0;
}

.benefit-card-foot .btn {
  width: 100%;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.84rem;
  background: #0082a6;
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 14px rgba(0, 130, 166, 0.22);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.benefit-card-foot .btn:hover {
  background: #05506e;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0, 130, 166, 0.32);
}

/* Wide Testimonial Strip */
.benefits-quote-wrap {
  margin-top: 24px;
}

.float-quote--wide {
    position: static;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 5px solid var(--brand);
    border-radius: 18px;
    padding: 24px 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    margin-bottom: 0;
}

.float-quote--wide .fq-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--sky);
  color: var(--brand);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.float-quote--wide .fq-icon svg {
  width: 24px;
  height: 24px;
}

.float-quote--wide .fq-body {
  flex: 1;
}

.float-quote--wide .fq-body p {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.5;
  margin: 0 0 10px;
}

.float-quote--wide .fq-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Detail Modal */
html:has(.fm-dialog[open]) {
  overflow: hidden;
  scrollbar-gutter: stable
}

.fm-dialog {
  margin: auto;
  max-width: 560px;
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  overscroll-behavior: contain
}

.fm-dialog[open] {
  display: flex;
  flex-direction: column;
  animation: fmIn .3s cubic-bezier(.2, .8, .3, 1)
}

.fm-dialog[open]::backdrop {
  animation: fmFade .3s ease
}

@keyframes fmIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.98)
  }
}

@keyframes fmFade {
  from {
    opacity: 0
  }
}

.fm-dlg {
  position: relative;
  padding: 36px 32px 24px;
  overflow-y: auto
}

.fm-dlg::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--wing), var(--brand))
}

.fm-dlg .dlg-x {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  place-items: center;
  cursor: pointer
}

.fm-dlg .dlg-x:hover {
  background: var(--wing-soft)
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .benefits-showcase {
    gap: 20px;
  }
  .benefit-card {
    padding: 26px 20px 22px;
  }
  .benefit-card-body h3 {
    font-size: 1.35rem;
  }
  .benefit-card-body p {
    font-size: 0.84rem;
    margin-bottom: 16px;
  }
}

@media (max-width: 920px) {
  .benefits-head {
    margin-bottom: 20px;
  }

  .benefits-showcase {
    grid-template-columns: 1fr;
    gap: 20px;
    height: auto;
  }

  .benefits-img-col {
    min-height: 380px;
    height: 380px;
    border-radius: 20px;
  }

  .benefits-img-swiper {
    min-height: 380px;
    border-radius: 20px;
  }

  .benefits-cards-col {
    max-width: 100%;
    margin-left: 0;
    height: auto;
  }

  .benefit-card {
    padding: 24px 20px 20px;
    border-radius: 20px;
    height: auto;
  }

  .benefit-card-body h3 {
    font-size: 1.25rem;
  }

  .benefit-card-body p {
    font-size: 0.82rem;
    margin: 0 0 12px;
  }

  .benefit-highlights {
    gap: 8px;
    margin: 0 0 16px;
  }

  .benefit-card-foot .btn {
    padding: 10px 18px;
    font-size: 0.86rem;
  }

  .benefits-slider-nav {
    bottom: 16px;
    left: 18px;
    right: 18px;
  }
}

@media (max-width: 640px) {
  .benefits-showcase {
    gap: 18px;
  }

  .benefits-img-col {
    min-height: 360px;
    height: 360px;
    border-radius: 20px;
  }

  .benefits-img-swiper {
    min-height: 360px;
    border-radius: 20px;
  }

  .benefits-img-badge {
    top: 16px;
    left: 16px;
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .benefits-img-caption {
    bottom: 72px;
    left: 18px;
    right: 18px;
  }

  .benefits-img-caption h4 {
    font-size: 1.25rem;
  }

  .benefits-img-caption p {
    font-size: 0.82rem;
  }

  .benefits-slider-nav {
    bottom: 16px;
    left: 18px;
    right: 18px;
  }

  .benefits-nav-btn {
    width: 36px;
    height: 36px;
  }

  .benefit-card {
    padding: 22px 18px 20px;
    border-radius: 20px;
  }

  .benefit-card-body h3 {
    font-size: 1.25rem;
  }

  .benefit-card-body p {
    font-size: 0.82rem;
    margin-bottom: 14px;
  }

  .benefit-highlights {
    gap: 10px;
    margin-bottom: 18px;
  }

  .benefit-card-foot .btn {
    padding: 12px 18px;
    font-size: 0.88rem;
  }
}

@media (max-width: 820px) {

  .float-quote--wide {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 14px;
  }

  .fm-dialog {
    width: 100%;
    max-width: none;
    margin: auto 0 0;
    border-radius: 24px 24px 0 0;
    max-height: 88dvh
  }

  .fm-dlg {
    padding: 32px 20px 20px
  }

  .fm-dlg h3 {
    font-size: 1.4rem
  }
}

@media (prefers-reduced-motion:reduce) {
  .benefits-card-slide,
  .benefit-card,
  .benefit-icon {
    transition: none
  }

  .fm-dialog[open],
  .fm-dialog[open]::backdrop {
    animation: none
  }
}

/* ==========================================================================
   Family Membership Page (Hero Banner & Parent Quote Read-More)
   ========================================================================== */

/* Work 1: Static Hero Banner (Single image with homepage hero design, full page & shadow) */
.hero-static {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: #082f43;
  isolation: isolate;
}

@keyframes heroKenBurns {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

.hero-static .hero-bg {
  animation: heroKenBurns 10s cubic-bezier(.22, .8, .3, 1) forwards;
  background-position: 72% center;
}

.hero-static .hero-content {
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
  box-sizing: border-box;
}

.hero-static .hero-title {
  margin-bottom: 18px !important;
}

.hero-static .hero-copy {
  max-width: 680px;
}

.hero-copy .hero-desc {
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 24px;
  max-width: 580px;
}

@media (max-width: 900px) {
  .hero-static .hero-bg {
    background-position: 65% center;
  }
}

@media (max-width: 760px) {
  .hero-static .hero-bg {
    background-position: center top;
  }

  .hero-static .hero-content {
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-static .hero-bg {
    animation: none;
    transform: scale(1);
  }
}

/* Breadcrumb bar placed directly after hero banner */
.breadcrumb-bar {
  background: #f7fafc;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.breadcrumb-bar .crumbs {
  margin-bottom: 0;
}

/* Work 2: Floating Quote Read More */
.float-quote .fq-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.float-quote .fq-more {
  position: static;
  font-size: .85rem;
}

.float-quote .fq-more .fm-chev {
  width: 24px;
  height: 24px;
}

.float-quote .fq-more .fm-chev svg {
  width: 12px;
  height: 12px;
}

.float-quote:hover .fq-more .fm-chev {
  background: var(--brand);
  color: #fff;
  transform: translateX(3px);
}

.quote-dialog .quote-dlg-cite {
  font-style: normal;
  font-weight: 700;
  color: var(--cyan-ink);
  font-size: .95rem;
}

.quote-dialog .quote-dlg-actions {
  margin-left: auto;
}

/* ==========================================================================
   YouTube Video Section
   ========================================================================== */

.sec-video {
  background: var(--sky-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--section-padding);
}

.video-container {
  max-width: 960px;
  margin: 0 auto;
}

.video-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #061e2b;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

.video-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.video-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 4px 6px;
}

.video-bar-info {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .88rem;
  color: var(--muted);
}

.video-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--cyan-ink);
  background: #fff;
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: .8rem;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wing);
  display: inline-block;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: .4;
    transform: scale(.85);
  }
}

.video-sound-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  font-size: .86rem;
  font-weight: 600;
  transition: all .2s ease;
}

.video-sound-btn svg {
  width: 16px;
  height: 16px;
}

.video-sound-btn:hover {
  background: var(--brand);
  color: #fff;
}

@media (max-width: 760px) {
  .sec-video {
    padding: var(--section-padding);
  }

  .video-frame-wrap {
    border-radius: 14px;
  }

  .video-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ==========================================================================
   ADV & SYSTEMIC ADVOCACY PAGES DEDICATED STYLES
   ========================================================================== */

/* Page-scoped hero subtitle readability */
.hero-desc.hero-desc--wide {
  max-width: 860px;
  line-height: 1.65;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
}

/* Stats Ribbon */
.adv-stats-ribbon {
  position: relative;
  margin-top: 0;
  padding: 34px 0 16px;
  margin-bottom: 24px;
}

.adv-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.adv-stat-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 3.5px solid var(--wing);
  border-radius: 18px;
  padding: 24px 22px;
  box-shadow: 0 10px 28px -10px rgba(15, 95, 132, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 168px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative;
}

.adv-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(15, 95, 132, 0.2);
  border-color: var(--brand);
}

.adv-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.adv-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sky);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6eaf5;
}

.adv-stat-icon svg {
  width: 22px;
  height: 22px;
}

.adv-stat-val {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.9rem, 2.3vw, 2.35rem);
  font-weight: 800;
  color: var(--brand-dark);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 8px;
}

.adv-stat-val em {
  font-style: normal;
  color: var(--wing);
}

.adv-stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
  margin-top: auto;
}

/* Charter & Intro Split */
/* .adv-split-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
} */

.adv-lead-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: 18px;
}

.adv-charter-card {
  background: linear-gradient(145deg, #f7fcff 0%, #eaf5fa 100%);
  border: 1px solid #d2e7f3;
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 20px 40px -15px rgba(14, 111, 140, 0.12);
  position: relative;
}

.adv-charter-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #d0e4f0;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.adv-charter-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--wing);
}

.adv-charter-card h3 {
  font-size: 1.45rem;
  margin-bottom: 16px;
  color: var(--ink);
}

.adv-charter-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.adv-charter-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--body);
}

.adv-charter-list li svg {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: var(--brand);
  margin-top: 2px;
}

.adv-charter-list li strong {
  color: var(--ink);
  font-weight: 700;
}

/* Four Pillars Grid */
.adv-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.adv-pillar-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px -10px rgba(15, 95, 132, 0.08);
  display: flex;
  flex-direction: column;
  transition: all .28s ease;
  position: relative;
  overflow: hidden;
}

.adv-pillar-card:hover {
  transform: translateY(-5px);
  border-color: var(--wing);
  box-shadow: 0 22px 48px -12px rgba(14, 111, 140, 0.2);
}

.adv-pillar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.adv-pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sky) 0%, #d8eff8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  border: 1px solid #d0e7f4;
}

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

.adv-pillar-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: #c9e0ed;
}

.adv-pillar-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--ink);
}

.adv-pillar-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.adv-pillar-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.adv-pillar-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--body);
}

.adv-pillar-points li svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  color: var(--wing);
}

#find-a-service .adv-service-cta {
  margin-top: 8px;
  font-weight: 600;
  color: #217FA7;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#find-a-service .adv-service-cta:hover{
  color:#054c6e;
}
/* ==========================================================================
   Section: Find the Advocacy and Support You Need (4 Types Showcase)
   ========================================================================== */

.adv-types-section {
  padding: var(--section-padding);
}

.adv-types-stack {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.adv-type-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 40px;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(15, 95, 132, 0.12);
  border-radius: 28px;
  padding: 36px 34px;
  box-shadow: 0 14px 40px -10px rgba(8, 47, 67, 0.08);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.adv-type-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 187, 211, 0.45);
  box-shadow: 0 24px 55px -10px rgba(8, 47, 67, 0.14);
}

/* Reverse Column Layout for Alternating Balance */
.adv-type-card--reverse {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.adv-type-card--reverse .adv-type-media {
  order: 2;
}

.adv-type-card--reverse .adv-type-content {
  order: 1;
}

/* Media Column */
.adv-type-media {
  position: relative;
  width: 100%;
}

.adv-type-media-frame {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: 22px;
  overflow: hidden;
  background: #082f43;
  box-shadow: 0 10px 30px rgba(8, 47, 67, 0.12);
}

.adv-type-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.adv-type-card:hover .adv-type-media-frame img {
  transform: scale(1.04);
}

.adv-type-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 47, 67, 0.10) 0%, transparent 40%, rgba(8, 47, 67, 0.55) 100%);
  pointer-events: none;
  z-index: 2;
}

.adv-type-media-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  color: #06405c;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  letter-spacing: 0.02em;
}

.adv-type-media-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wing);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(59, 187, 211, 0.3);
}

/* Video Frame & Play Button Specifics */
.adv-type-video-frame {
  cursor: pointer;
}

.adv-video-overlay {
  background: linear-gradient(180deg, rgba(8, 47, 67, 0.20) 0%, rgba(8, 47, 67, 0.35) 50%, rgba(8, 47, 67, 0.85) 100%);
}

.adv-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 74px;
  height: 74px;
  border: none;
  background: transparent;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.adv-play-ring {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  animation: advPlayPulse 2.4s infinite cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

@keyframes advPlayPulse {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }
  60% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.adv-play-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  color: #02789f;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.3s ease;
}

.adv-play-circle svg {
  width: 26px;
  height: 26px;
  margin-left: 3px;
}

.adv-type-video-frame:hover .adv-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
}

.adv-type-video-frame:hover .adv-play-circle {
  background: #02789f;
  color: #ffffff;
  box-shadow: 0 14px 36px rgba(2, 120, 159, 0.45);
}

.adv-video-caption-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(8, 47, 67, 0.92) 0%, transparent 100%);
  pointer-events: none;
}

.adv-video-title-hint {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.adv-video-watch-hint {
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Content Column */
.adv-type-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.adv-type-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.adv-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(59, 187, 211, 0.12);
  color: #02789f;
  border: 1px solid rgba(59, 187, 211, 0.28);
  border-radius: 999px;
  padding: 5px 14px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.adv-type-pill i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgb(0, 130, 166);
}

.adv-type-index {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: rgba(15, 95, 132, 0.28);
}

.adv-type-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 2.3vw, 2.05rem);
  font-weight: 700;
  color: #082f43;
  margin: 0 0 12px;
  letter-spacing: -0.015em;
  line-height: 1.22;
}

.adv-type-tagline-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f0f8fb;
  border-left: 4px solid var(--wing);
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 18px;
}

.adv-tagline-icon {
  width: 18px;
  height: 18px;
  color: var(--wing);
  flex-shrink: 0;
  margin-top: 3px;
}

.adv-type-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: #054c6e;
  line-height: 1.4;
  margin: 0;
}

.adv-type-desc {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #3d4b55;
  margin-bottom: 0;
}

.adv-type-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* Video Lightbox Popup */
.adv-video-popup:not([open]) {
  display: none !important;
}

.adv-video-popup[open] {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  margin: 0 !important;
  padding: 36px 24px !important;
  box-sizing: border-box !important;
  border: none !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  z-index: 999999 !important;
}

/* Translucent backdrop allowing the page behind to be clearly visible */
.adv-video-popup::backdrop {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.adv-video-popup[open]:not(:modal) {
  background: rgba(0, 0, 0, 0.55) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
}

.adv-video-popup-close {
  position: fixed;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000001;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.adv-video-popup-close:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: #ffffff;
  transform: scale(1.08);
}

.adv-video-popup-close svg {
  width: 20px;
  height: 20px;
}

.adv-video-popup-dialog {
  position: relative;
  width: 100%;
  max-width: min(1180px, 92vw, calc(84vh * 16 / 9));
  margin: auto;
  display: flex;
  flex-direction: column;
}

.adv-video-popup-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.adv-video-popup-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Responsive Media Queries for Advocacy Types */
@media (max-width: 992px) {
  .adv-type-card,
  .adv-type-card--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 24px;
    border-radius: 22px;
  }

  .adv-type-card--reverse .adv-type-media {
    order: 1;
  }

  .adv-type-card--reverse .adv-type-content {
    order: 2;
  }

  .adv-type-media-frame {
    height: 300px;
    border-radius: 18px;
  }

  .adv-type-title {
    font-size: 1.6rem;
  }

  .adv-type-tagline {
    font-size: 0.96rem;
  }
}

@media (max-width: 640px) {
  .adv-types-section {
    padding: var(--section-padding);
  }

  .adv-types-stack {
    gap: 24px;
  }

  .adv-type-card,
  .adv-type-card--reverse {
    padding: 22px 18px;
    border-radius: 20px;
    gap: 22px;
  }

  .adv-type-media-frame {
    height: 240px;
    border-radius: 16px;
  }

  .adv-play-btn {
    width: 62px;
    height: 62px;
  }

  .adv-play-circle {
    width: 52px;
    height: 52px;
  }

  .adv-play-circle svg {
    width: 20px;
    height: 20px;
  }

  .adv-type-title {
    font-size: 1.35rem;
  }

  .adv-type-tagline-box {
    padding: 10px 12px;
  }

  .adv-type-tagline {
    font-size: 0.90rem;
  }

  .adv-type-desc {
    font-size: 0.88rem;
  }

  .adv-type-actions {
    margin-top: 18px;
  }

  .adv-type-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .adv-video-popup[open] {
    padding: 48px 16px 20px !important;
  }

  .adv-video-popup-dialog {
    max-width: 100%;
  }

  .adv-video-popup-close {
    top: 12px;
    right: 14px;
    width: 38px;
    height: 38px;
  }

  .adv-video-popup-close svg {
    width: 18px;
    height: 18px;
  }

  .adv-video-popup-media {
    border-radius: 14px;
  }
}

/* Process Flow / Journey Steps */
.adv-steps-flow {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 24px;
}

.adv-step-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 22px;
  position: relative;
  transition: all .25s ease;
  box-shadow: 0 8px 24px -10px rgba(15, 95, 132, 0.08);
}

.adv-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 16px 36px -10px rgba(15, 95, 132, 0.16);
}

.adv-step-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(24, 125, 171, 0.35);
}

.adv-step-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--ink);
}

.adv-step-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Peer Support Box with Image */
.adv-peer-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, #093950 0%, #0c4a68 100%);
  border-radius: 28px;
  padding: 44px;
  color: #ffffff;
  box-shadow: 0 30px 60px -25px rgba(9, 57, 80, 0.45);
  position: relative;
  overflow: hidden;
}

.adv-peer-feature::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 187, 211, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.adv-peer-feature h3 {
  color: #ffffff;
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  margin-bottom: 16px;
}

.adv-peer-feature p {
  color: #d1e7f3;
  font-size: 1.02rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

.adv-peer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 28px;
}

.adv-peer-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.adv-peer-pill svg {
  width: 18px;
  height: 18px;
  color: var(--wing);
  min-width: 18px;
}

.adv-peer-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.18);
  aspect-ratio: 4 / 3;
}

.adv-peer-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.adv-peer-badge-float {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background: rgba(14, 35, 47, 0.88);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #ffffff;
  font-weight: 700;
}

.adv-peer-badge-float i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

/* Testimonial Cards */
.adv-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.adv-story-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px -10px rgba(15, 95, 132, 0.08);
  position: relative;
}

.adv-story-card blockquote {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
}

.adv-story-card blockquote::before {
  content: '“';
  font-family: serif;
  font-size: 3rem;
  color: var(--wing);
  opacity: 0.35;
  position: absolute;
  top: -24px;
  left: -8px;
  line-height: 1;
}

.adv-story-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.adv-story-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid var(--wing-soft);
}

.adv-story-info h5 {
  font-size: 0.95rem;
  margin-bottom: 2px;
  color: var(--ink);
}

.adv-story-info span {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Intake & Consultation Form Card */
.adv-intake-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 24px 50px -15px rgba(15, 95, 132, 0.14);
  max-width: 860px;
  margin: 0 auto;
}

.adv-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 20px;
}

.adv-form-grid .full {
  grid-column: span 2;
}

.adv-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.adv-field label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.adv-field input,
.adv-field select,
.adv-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fdfefe;
  transition: all .2s ease;
}

.adv-field input:focus,
.adv-field select:focus,
.adv-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(24, 125, 171, 0.15);
}

.adv-field textarea {
  min-height: 110px;
  resize: vertical;
}

/* Modern FAQ Accordion */
.adv-faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.adv-faq-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: all .25s ease;
}

.adv-faq-item[open] {
  border-color: var(--wing);
  box-shadow: 0 8px 24px -8px rgba(15, 95, 132, 0.12);
}

.adv-faq-summary {
  padding: 18px 22px;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
}

.adv-faq-summary::-webkit-details-marker {
  display: none;
}

.adv-faq-summary svg {
  width: 20px;
  height: 20px;
  color: var(--brand);
  transition: transform .25s ease;
  min-width: 20px;
}

.adv-faq-item[open] .adv-faq-summary svg {
  transform: rotate(180deg);
}

.adv-faq-content {
  padding: 0 22px 20px;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.65;
  border-top: 1px solid #f0f6fa;
  padding-top: 14px;
}

/* ==========================================================================
   SYSTEMIC ADVOCACY SPECIFIC STYLES
   ========================================================================== */

/* Systemic Hero Overlay tint */
.hero-slider.hero-static.hero-systemic .hero-bg {
  filter: contrast(1.05) brightness(0.95);
}

/* Comparison Matrix (Individual vs Systemic) */
.sys-compare-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.sys-compare-card {
  border-radius: 20px;
  padding: 34px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.sys-compare-card.indiv {
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px -10px rgba(15, 95, 132, 0.08);
}

.sys-compare-card.systemic {
  background: linear-gradient(145deg, #0f5f84 0%, #0a3e57 100%);
  color: #ffffff;
  border: 1px solid #187dab;
  box-shadow: 0 24px 50px -15px rgba(10, 62, 87, 0.4);
}

.sys-compare-badge {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 14px;
  width: fit-content;
}

.sys-compare-card.indiv .sys-compare-badge {
  background: var(--sky);
  color: var(--brand);
}

.sys-compare-card.systemic .sys-compare-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.sys-compare-card.systemic h3 {
  color: #ffffff;
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.sys-compare-card.indiv h3 {
  color: var(--ink);
  font-size: 1.45rem;
  margin-bottom: 12px;
}

.sys-compare-card p {
  font-size: 0.96rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.sys-compare-card.systemic p {
  color: #d1e7f3;
}

.sys-compare-card.indiv p {
  color: var(--muted);
}

.sys-compare-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.sys-compare-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.sys-compare-card.indiv .sys-compare-points li {
  color: var(--body);
}

.sys-compare-card.systemic .sys-compare-points li {
  color: #ffffff;
}

.sys-compare-points li svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
}

.sys-compare-card.indiv .sys-compare-points li svg {
  color: var(--brand);
}

.sys-compare-card.systemic .sys-compare-points li svg {
  color: var(--wing);
}

/* Systemic Framework / 4-Stage Cycle */
.sys-cycle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.sys-cycle-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all .28s ease;
  box-shadow: 0 10px 28px -10px rgba(15, 95, 132, 0.08);
}

.sys-cycle-card:hover {
  transform: translateY(-5px);
  border-color: var(--wing);
  box-shadow: 0 20px 44px -12px rgba(14, 111, 140, 0.18);
}

.sys-cycle-num {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 14px;
}

.sys-cycle-card h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--ink);
}

.sys-cycle-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* LEAP Section (Lived Experience Advisory Panel) */
.sys-leap-box {
  background: linear-gradient(135deg, #f7fafc 0%, #eaf5fa 100%);
  border: 1px solid #d2e7f3;
  border-radius: 28px;
  padding: 44px;
  box-shadow: 0 20px 44px -15px rgba(15, 95, 132, 0.1);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.sys-leap-quote {
  font-size: clamp(1.4rem, 1.9vw, 1.8rem);
  font-weight: 700;
  color: var(--brand-dark);
  line-height: 1.35;
  margin-bottom: 18px;
}

.sys-leap-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sys-leap-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
}

.sys-leap-list li svg {
  width: 18px;
  height: 18px;
  color: var(--wing);
}

/* Public Sector Collaboration Card */
.sys-gov-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 16px 36px -12px rgba(15, 95, 132, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.sys-gov-card h3 {
  font-size: 1.6rem;
  margin-bottom: 14px;
  color: var(--ink);
}

.sys-gov-card p {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

/* Systemic Barrier Reporting Form */
.sys-barrier-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 24px 50px -15px rgba(15, 95, 132, 0.14);
  max-width: 860px;
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .adv-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .adv-peer-feature,
  .sys-leap-box,
  .sys-gov-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .adv-steps-flow,
  .sys-cycle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .adv-stories-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .adv-stats-ribbon {
    margin-top: 0;
    padding: 24px 0 12px;
    margin-bottom: 20px;
  }

  .adv-stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .adv-pillars-grid {
    grid-template-columns: 1fr;
  }

  .adv-steps-flow,
  .sys-cycle-grid {
    grid-template-columns: 1fr;
  }

  .adv-peer-feature {
    padding: 28px 20px;
  }

  .adv-peer-grid {
    grid-template-columns: 1fr;
  }

  .adv-intake-card,
  .sys-barrier-card,
  .adv-charter-card,
  .sys-leap-box,
  .sys-gov-card {
    padding: 24px 18px;
  }

  .adv-form-grid {
    grid-template-columns: 1fr;
  }

  .adv-form-grid .full {
    grid-column: span 1;
  }

  .sys-compare-container {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Hero Quick Services Navigation (Floating Right-Side Service Pills)
   ========================================================================== */

.hero-quick-nav {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  pointer-events: auto;
}

.hqn-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  margin: 0;
  padding: 0;
}

.hqn-item {
  display: flex;
  justify-content: flex-end;
}

.hqn-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  background: #ffffff;
  color: var(--brand-dark);
  border-radius: 999px;
  padding: 5px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
  text-decoration: none;
  overflow: hidden;
  height: 52px;
  width: 52px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  box-sizing: border-box;
  will-change: width, box-shadow;
  z-index: 1;
  /* Full hqn-link slow graceful contraction (hide) */
  transition: width 0.8s cubic-bezier(0.2, 0.9, 0.3, 1),
              box-shadow 0.7s ease,
              border-color 0.6s ease;
}

/* Smooth gradient background transition layer */
.hqn-link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.75s cubic-bezier(0.2, 0.9, 0.3, 1);
  pointer-events: none;
}

.hqn-icon {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.75s cubic-bezier(0.2, 0.9, 0.3, 1),
              box-shadow 0.6s ease,
              color 0.5s ease;
}

.hqn-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 2.2;
}

.hqn-label {
  position: relative;
  z-index: 1;
  font-family: 'Outfit', sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  opacity: 0;
  padding-left: 10px;
  padding-right: 14px;
  transform: translateX(12px);
  pointer-events: none;
  overflow: hidden;
  /* Slow, graceful label fade-out in sync with full link hide */
  transition: opacity 0.5s ease,
              transform 0.75s cubic-bezier(0.2, 0.9, 0.3, 1);
}

/* Hover state: full hqn-link item expands slowly to the left */
.hqn-link:hover,
.hqn-link:focus-visible {
  width: 225px;
  box-shadow: 0 10px 28px rgba(15, 95, 132, 0.42), 0 0 0 2px rgba(59, 187, 211, 0.45);
  outline: none;
  /* Full hqn-link slow graceful expansion (show) */
  transition: width 0.85s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.7s ease,
              border-color 0.6s ease;
}

.hqn-link:hover::before,
.hqn-link:focus-visible::before {
  opacity: 1;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hqn-link:hover .hqn-icon,
.hqn-link:focus-visible .hqn-icon {
  background: #ffffff;
  color: var(--brand);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
  transform: scale(1.05);
}

.hqn-link:hover .hqn-label,
.hqn-link:focus-visible .hqn-label {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  /* Slow, gentle title dissolve in sync with full link show */
  transition: opacity 0.7s ease 0.12s,
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active current-page indicator */
.hqn-link.active {
  border-color: var(--wing);
  box-shadow: 0 0 0 3px rgba(59, 187, 211, 0.4), 0 6px 20px rgba(0, 0, 0, 0.2);
}

.hqn-link.active .hqn-icon {
  color: var(--brand-dark);
}

@media (max-width: 992px) {
  .hero-quick-nav {
    right: 14px;
  }
  .hqn-list {
    gap: 10px;
  }
  .hqn-link {
    height: 46px;
    width: 46px;
    padding: 4px;
  }
  .hqn-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }
  .hqn-icon svg {
    width: 19px;
    height: 19px;
  }
  .hqn-link:hover,
  .hqn-link:focus-visible {
    width: 205px;
  }
  .hqn-label {
    font-size: 0.88rem;
    padding-left: 8px;
    padding-right: 12px;
  }
}

/* ==========================================================================
   Registration Section: Membership Includes Block
   ========================================================================== */

.membership-includes-box {
  margin-top: 26px;
  background: #ffffff;
  border: 1px solid rgba(14, 111, 140, 0.14);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 10px 30px -10px rgba(15, 95, 132, 0.08);
  text-align: left;
}

.membership-includes-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px 0;
}

.membership-includes-title-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(59, 187, 211, 0.15);
  color: var(--wing);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.membership-includes-title-icon svg {
  width: 17px;
  height: 17px;
}

.membership-includes-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}

.membership-includes-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--ink);
}

.membership-includes-item.full-span {
  grid-column: span 2;
}

.membership-includes-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 10px;
  background: rgba(14, 111, 140, 0.08);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.membership-includes-item:hover .membership-includes-icon {
  border:1px solid var(--brand);
  color: #ffffff;
  transform: scale(1.08);
}

.membership-includes-icon svg {
  width: 18px;
  height: 18px;
}

.membership-includes-text {
  flex: 1;
}

@media (max-width: 768px) {
  .membership-includes-box {
    padding: 20px 18px;
  }

  .membership-includes-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .membership-includes-item.full-span {
    grid-column: span 1;
  }

  .membership-includes-item {
    font-size: 0.90rem;
  }
}

/* ==========================================================================
   Advocacy-Support 3-Step Registration Form Enhancements
   ========================================================================== */

/* Field Titles & Subtexts */
.field-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.field-subtext {
  font-size: 0.85rem;
  color: var(--muted);
  margin: -4px 0 12px 0;
  line-height: 1.45;
}

/* 1. Radio Cards for "Who are you filling this form for?" */
.radio-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.radio-card {
  position: relative;
  cursor: pointer;
  display: block;
}

.radio-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-card-body {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  transition: all 0.22s ease;
}

.radio-card:hover .radio-card-body {
  border-color: var(--wing);
  background: rgba(59, 187, 211, 0.04);
}

.radio-card input:checked + .radio-card-body {
  border-color: var(--brand);
  background: rgba(14, 111, 140, 0.06);
  box-shadow: 0 0 0 2px var(--brand);
}

.radio-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(14, 111, 140, 0.08);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.radio-card input:checked + .radio-card-body .radio-card-icon {
  background: var(--brand);
  color: #ffffff;
}

.radio-card-icon svg {
  width: 22px;
  height: 22px;
}

.radio-card-text {
  display: flex;
  flex-direction: column;
}

.radio-card-text strong {
  font-family: 'Outfit', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
}

.radio-card-text small {
  font-size: 0.80rem;
  color: var(--muted);
}

/* 2. Phone Input with UAE Flag & Country Code Prefix */
.phone-input-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.phone-input-wrap:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(24, 125, 171, 0.15);
}

.phone-prefix {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: #f4f8fa;
  border-right: 1.5px solid var(--line);
  height: 48px;
  font-weight: 700;
  font-size: 0.90rem;
  color: var(--brand-dark);
  user-select: none;
  flex-shrink: 0;
}

.phone-input-wrap input {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  height: 48px;
  flex: 1;
  padding: 0 14px;
  width: 100%;
}

/* 3. Inline Check/Radio Cards (Language, Nationality, Gender) */
.chk-inline-grid {
  display: flex;
  gap: 12px;
}

.custom-chk-card,
.custom-radio-card {
  flex: 1;
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.2s ease;
  user-select: none;
}

.custom-chk-card:hover,
.custom-radio-card:hover {
  border-color: var(--wing);
}

.custom-chk-card:has(input:checked),
.custom-radio-card:has(input:checked) {
  border-color: var(--brand);
  background: rgba(14, 111, 140, 0.05);
  box-shadow: 0 0 0 1px var(--brand);
}

.custom-chk-card input,
.custom-radio-card input {
  accent-color: var(--brand);
  width: 18px;
  height: 18px;
  margin: 0;
}

.chk-card-text,
.radio-card-text-sm {
  flex: 1;
}

/* 4. Options Tile Grid (Diagnoses & Reasons) */
.options-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.option-tile {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.option-tile:hover {
  border-color: var(--wing);
  background: rgba(59, 187, 211, 0.03);
}

.option-tile:has(input:checked) {
  border-color: var(--brand);
  background: rgba(14, 111, 140, 0.05);
  box-shadow: 0 0 0 1px var(--brand);
}

.option-tile input {
  accent-color: var(--brand);
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.option-tile-title {
  font-size: 0.88rem;
  line-height: 1.42;
  color: var(--ink);
  font-weight: 500;
}

.option-tile:has(input:checked) .option-tile-title {
  font-weight: 700;
  color: var(--brand-dark);
}

.other-input-reveal input {
  width: 100%;
  border: 1.5px solid var(--brand);
  border-radius: 12px;
  padding: 11px 16px;
  font-size: 0.92rem;
  outline: none;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(14, 111, 140, 0.12);
}

/* 5. Step 3: Consent Items */
.checks--premium {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 10px 0 24px;
}

.consent-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink);
  padding: 13px 16px;
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.consent-check-item:hover {
  border-color: var(--wing);
}

.consent-check-item:has(input:checked) {
  border-color: rgba(14, 111, 140, 0.4);
  background: rgba(14, 111, 140, 0.02);
}

.consent-check-item input {
  accent-color: var(--brand);
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}

.legal-modal-trigger {
  background: none;
  border: none;
  padding: 0;
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  transition: color 0.2s ease;
}

.legal-modal-trigger:hover {
  color: var(--wing-dark);
}

/* 6. Step 3: Payment Step Card */
.payment-step-card {
  background: linear-gradient(135deg, #f7fafc 0%, #ebf5fa 100%);
  border: 1.5px solid #d0e6f2;
  border-radius: 20px;
  padding: 24px 26px;
  margin-top: 10px;
  margin-bottom: 22px;
}

.payment-step-header {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(14, 111, 140, 0.15);
}

.payment-step-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.payment-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(14, 111, 140, 0.25);
}

.payment-step-icon svg {
  width: 22px;
  height: 22px;
}

.payment-step-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0;
}

.payment-step-amount {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--brand);
}

.payment-step-amount small {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
}

.payment-step-notice {
  font-size: 0.94rem;
  line-height: 1.62;
  color: var(--ink);
  margin: 0 0 16px 0;
}

.payment-step-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pay-badge {
  font-size: 0.72rem;
  font-weight: 800;
  background: #ffffff;
  color: var(--brand-deep);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
}

.pay-icon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-ink);
}

.pay-secure-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.80rem;
  font-weight: 600;
  color: var(--brand);
  margin-left: auto;
}

.pay-secure-tag svg {
  width: 15px;
  height: 15px;
}

/* 7. Legal Policy Modal Popup */
.legal-popup-modal:not([open]) {
  display: none !important;
}

.legal-popup-modal[open] {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  margin: 0 !important;
  padding: 30px 20px !important;
  box-sizing: border-box !important;
  border: none !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  z-index: 1000000 !important;
}

.legal-popup-modal::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.legal-popup-container {
  position: relative;
  width: 100%;
  max-width: 740px;
  max-height: 86vh;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.legal-popup-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  border: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.legal-popup-close:hover {
  background: rgba(0, 0, 0, 0.12);
  transform: scale(1.08);
}

.legal-popup-close svg {
  width: 18px;
  height: 18px;
}

.legal-popup-header {
  padding: 20px 24px 14px;
  border-bottom: 1px solid var(--line);
  background: #fafcfe;
}

.legal-popup-tabs {
  display: flex;
  gap: 10px;
}

.legal-tab-btn {
  border: none;
  background: transparent;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.legal-tab-btn.active {
  background: var(--brand);
  color: #ffffff;
}

.legal-popup-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
  color: var(--ink);
}

.legal-tab-panel {
  display: none;
}

.legal-tab-panel.active {
  display: block;
}

.legal-tab-panel h3 {
  font-size: 1.35rem;
  color: var(--brand-dark);
  margin-bottom: 8px;
}

.legal-lead {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.legal-tab-panel h4 {
  font-size: 1.02rem;
  color: var(--ink);
  margin-top: 16px;
  margin-bottom: 6px;
}

.legal-tab-panel p {
  font-size: 0.90rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 12px;
}

.legal-popup-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: #fafcfe;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 640px) {
  .radio-card-grid {
    grid-template-columns: 1fr;
  }
  .options-tile-grid {
    grid-template-columns: 1fr;
  }
  .payment-step-info {
    flex-direction: column;
    align-items: flex-start;
  }
  .pay-secure-tag {
    margin-left: 0;
    width: 100%;
    margin-top: 6px;
  }
  .legal-popup-container {
    max-height: 92vh;
  }
  .legal-popup-body {
    padding: 18px 20px;
  }
}

/* 8. Multi-Child Registration Cards (Advocacy Support) */
.pod-mode-fieldset {
  border: none;
  padding: 0;
  margin: 0;
  min-inline-size: 0;
}

.pod-mode-fieldset:disabled {
  display: none !important;
}

.pod-child-card {
  background: #ffffff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(15, 95, 132, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pod-child-card:focus-within {
  border-color: rgba(14, 111, 140, 0.35);
  box-shadow: 0 6px 24px rgba(15, 95, 132, 0.1);
}

.pod-child-header {
  background: linear-gradient(135deg, #f4f9fc 0%, #eaf4f9 100%);
  border-bottom: 1.5px solid var(--line);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pod-child-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.child-number-badge {
  background: var(--brand);
  color: #ffffff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
}

.child-summary-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.child-summary-name:not(:empty)::before {
  content: '– ';
  color: var(--muted);
  font-weight: 400;
}

.btn-remove-child {
  background: rgba(179, 38, 30, 0.07);
  color: #B3261E;
  border: 1px solid rgba(179, 38, 30, 0.22);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-remove-child:hover {
  background: #B3261E;
  color: #ffffff;
  border-color: #B3261E;
  transform: translateY(-1px);
}

.btn-remove-child svg {
  width: 14px;
  height: 14px;
}

.pod-child-body {
  padding: 22px 22px 14px;
}

.education-radio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.add-child-action-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 16px 0 26px;
}

.btn-add-child {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: 2px dashed var(--wing);
  border-radius: 14px;
  background: rgba(59, 187, 211, 0.05);
  color: var(--brand);
  font-family: 'Outfit', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
}

.btn-add-child:hover {
  background: rgba(59, 187, 211, 0.12);
  border-color: var(--brand);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(14, 111, 140, 0.08);
}

.btn-add-child svg {
  width: 20px;
  height: 20px;
}

.add-child-note {
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
  max-width: 600px;
  line-height: 1.45;
}

@media (max-width: 991px) {
  .form-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .family-membership-charges {
    position: static;
  }
}

@media (max-width: 768px) {
  .education-radio-grid {
    grid-template-columns: 1fr;
  }
  .pod-child-body {
    padding: 16px 14px 10px;
  }
  .pod-child-header {
    padding: 10px 14px;
  }
}

@media (max-width: 640px) {
  .form-card {
    padding: 24px 18px;
    border-radius: 18px;
  }
  .steps-bar {
    gap: 6px;
    margin-bottom: 22px;
  }
  .steps-bar li {
    font-size: 0.78rem;
    padding-top: 8px;
  }
}

/* ==========================================================================
   News & Insights Article Details Layout & Components
   ========================================================================== */

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}

.article-main {
  min-width: 0;
}

.article-header-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.92rem;
  color: var(--muted);
}

.article-author-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--heading-color);
}

.article-author-badge img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-color);
}

.article-meta-sep {
  color: var(--border-color);
}

.article-featured-media {
  margin: 0 0 36px;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px -10px rgba(11, 53, 68, 0.08);
}

.article-featured-media img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.article-media-caption {
  padding: 12px 18px;
  font-size: 0.88rem;
  color: var(--muted);
  background: var(--light-background);
  border-top: 1px solid var(--border-color);
  text-align: center;
  font-style: italic;
}

/* Executive Summary Callout */
.article-lead-box {
  background: linear-gradient(135deg, rgba(24, 125, 171, 0.06) 0%, rgba(148, 212, 228, 0.12) 100%);
  border: 1px solid rgba(24, 125, 171, 0.2);
  border-left: 5px solid var(--primary-color);
  border-radius: 16px;
  padding: 26px 30px;
  margin-bottom: 36px;
}

.article-lead-box h3 {
  font-size: 1.22rem;
  color: var(--heading-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-lead-box p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-color);
  margin-bottom: 0;
}

/* In-Page Quick Jump Navigation */
.article-quick-nav {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 22px 26px;
  margin-bottom: 40px;
  box-shadow: 0 4px 18px rgba(11, 53, 68, 0.04);
}

.article-quick-nav-title {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-quick-nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.article-quick-nav-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--light-background);
  border: 1px solid var(--border-color);
  color: var(--heading-color);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.article-quick-nav-list a:hover {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  transform: translateY(-1px);
}

/* Article Sections */
/* .article-section {
  margin-bottom: 48px;
  scroll-margin-top: 100px;
} */

.article-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-color);
  background: rgba(24, 125, 171, 0.08);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.article-section h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  color: var(--heading-color);
  line-height: 1.3;
  margin-bottom: 18px;
}

.article-section p {
  font-size: 1.04rem;
  line-height: 1.78;
  color: var(--text-color);
  margin-bottom: 18px;
}

.article-section strong {
  color: var(--heading-color);
  font-weight: 700;
}

/* Article In-Body Images */
.article-inline-media {
  margin: 28px 0;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 24px -8px rgba(11, 53, 68, 0.06);
}

.article-inline-media img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 440px;
  object-fit: cover;
}

.article-inline-media figcaption {
  padding: 10px 16px;
  font-size: 0.84rem;
  color: var(--muted);
  background: var(--light-background);
  border-top: 1px solid var(--border-color);
  text-align: center;
}

/* Video Player in Article */
.article-video-box {
  margin: 28px 0;
  border-radius: 18px;
  overflow: hidden;
  background: #0B3544;
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 36px -12px rgba(11, 53, 68, 0.16);
}

.article-video-box video {
  width: 100%;
  max-height: 480px;
  display: block;
  outline: none;
  background: #000000;
}

/* Partner Entity Tags Cloud */
.article-tags-wrap {
  background: var(--light-background);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 22px;
  margin: 24px 0 28px;
}

.article-tags-wrap h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-tag-pill {
  display: inline-block;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(11, 53, 68, 0.03);
}

/* Pull Quotes */
.article-pullquote {
  position: relative;
  background: #ffffff;
  border-left: 4px solid var(--primary-color);
  border-radius: 0 16px 16px 0;
  padding: 28px 32px 28px 36px;
  margin: 32px 0;
  box-shadow: 0 6px 24px rgba(11, 53, 68, 0.05);
}

.article-pullquote p {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--heading-color);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 12px;
}

.article-pullquote cite {
  font-size: 0.88rem;
  color: var(--primary-color);
  font-weight: 700;
  font-style: normal;
  display: block;
}

/* Partner Spotlight Cards Grid */
.partner-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 28px 0;
}

.partner-spotlight-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(11, 53, 68, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-spotlight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 53, 68, 0.08);
}

.partner-spotlight-card .partner-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--light-background);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.partner-spotlight-card h4 {
  font-size: 1.05rem;
  color: var(--heading-color);
  margin-bottom: 8px;
  line-height: 1.3;
}

.partner-spotlight-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

/* Article Author Card & Footer */
.article-author-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  box-shadow: 0 4px 20px rgba(11, 53, 68, 0.04);
}

.article-author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--light-background);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.article-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.article-author-info h4 {
  font-size: 1.15rem;
  color: var(--heading-color);
  margin-bottom: 4px;
}

.article-author-info p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.article-share-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
  margin-top: 36px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.article-share-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--heading-color);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.article-share-btn:hover {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}

/* Sidebar Widgets */
.article-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-widget {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 4px 18px rgba(11, 53, 68, 0.04);
}

.article-widget h3 {
  font-size: 1.05rem;
  color: var(--heading-color);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.article-widget-meta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.9rem;
}

.article-widget-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.article-widget-meta-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
}

.article-widget-meta-value {
  color: var(--heading-color);
  font-weight: 600;
}

.article-widget-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.article-widget-toc-list a {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text-color);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.article-widget-toc-list a:hover {
  background: var(--light-background);
  color: var(--primary-color);
}

.article-widget-toc-num {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary-color);
  background: rgba(24, 125, 171, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  flex-shrink: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .article-sidebar {
    position: static;
  }
  .partner-spotlight-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .partner-spotlight-grid {
    grid-template-columns: 1fr;
  }
  .article-author-card {
    flex-direction: column;
    text-align: center;
  }
  .article-share-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Contact Page - Direct Enquiry Pathways & Cards
   ========================================================================== */

.contact-pathways-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-pathway-card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px;
  background: #ffffff !important;
  border: 1.5px solid var(--border-color) !important;
  border-radius: 18px !important;
  padding: 20px 24px !important;
  text-decoration: none !important;
  color: inherit !important;
  box-shadow: 0 4px 14px rgba(11, 53, 68, 0.04);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  position: relative;
  overflow: hidden;
}

.contact-pathway-card:hover {
  border-color: var(--primary-color) !important;
  box-shadow: 0 10px 28px -6px rgba(24, 125, 171, 0.16) !important;
  transform: translateY(-2px);
  background: #ffffff !important;
}

.contact-pathway-card:focus-visible {
  outline: 3px solid rgba(24, 125, 171, 0.4);
  outline-offset: 2px;
}

.contact-pathway-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex: 1;
}

.contact-pathway-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--light-background) 0%, #E1EEF3 100%);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(24, 125, 171, 0.16);
  transition: all 0.25s ease;
}

.contact-pathway-card:hover .contact-pathway-icon {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  transform: scale(1.04);
}

.contact-pathway-body {
  min-width: 0;
  flex: 1;
}

.contact-pathway-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 3px;
}

.contact-pathway-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 4px;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.contact-pathway-card:hover .contact-pathway-title {
  color: var(--primary-color);
}

.contact-pathway-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.contact-pathway-action {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.contact-pathway-action-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-pathway-card:hover .contact-pathway-action-label {
  opacity: 1;
  transform: translateX(-2px);
}

.contact-pathway-arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light-background);
  border: 1.5px solid var(--border-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.contact-pathway-card:hover .contact-pathway-arrow-btn {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  transform: translateX(4px);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--light-background);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid var(--border-color);
}

.contact-info-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-info-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}

.contact-info-val {
  font-size: 0.95rem;
  color: var(--heading-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info-val:hover {
  color: var(--primary-color);
}

.contact-banner-note {
  background: var(--light-background);
  border: 1px solid rgba(24, 125, 171, 0.16);
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-color);
  line-height: 1.5;
}

.contact-banner-note svg {
  color: var(--primary-color);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .contact-pathway-card {
    padding: 16px 18px !important;
    gap: 12px !important;
  }
  .contact-pathway-left {
    gap: 12px;
  }
  .contact-pathway-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .contact-pathway-title {
    font-size: 1.02rem;
  }
  .contact-pathway-desc {
    font-size: 0.84rem;
  }
  .contact-pathway-action-label {
    display: none;
  }
  .contact-pathway-arrow-btn {
    width: 36px;
    height: 36px;
  }
}

/* ==========================================================================
   Page Intro Split Section (40% Title / 60% Text)
   ========================================================================== */
.page-intro-split {
  padding: var(--section-padding);
}

.intro-split-grid {
  display: grid;
  grid-template-columns: 4fr 6fr; /* 40% title / 60% text on desktop */
  gap: clamp(36px, 4.5vw, 64px);
  align-items: center;
}

.intro-split-title {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--heading-color, #0B3544);
  margin: 0;
}

.intro-split-title .highlight {
  color: var(--brand, #187DAB);
  display: block;
}

.intro-split-text-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.intro-split-text-col p {
  font-size: clamp(1.02rem, 1.15vw, 1.14rem);
  line-height: 1.75;
  color: var(--body, #344F5A);
  margin: 0;
}

@media (max-width: 991px) {
  .intro-split-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: flex-start;
  }

  .intro-split-title .highlight {
    display: inline;
  }
}

/* ==========================================================================
   Google Translate & Arabic (UAE) Language Support
   ========================================================================== */
body {
  top: 0 !important;
  position: static !important;
}

.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
}

.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

#google_translate_element {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0.01 !important;
  pointer-events: none !important;
}

/* Language Switcher Buttons */
.util .pill.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 3px 12px;
  font-weight: 600;
  color: #fff;
  font-size: 0.84rem;
  transition: all 0.2s ease;
}

.util .pill.lang-toggle:hover,
.util .pill.lang-toggle.active {
  background: var(--wing);
  color: var(--brand-dark);
  border-color: var(--wing);
}

.drawer-lang-toggle {
  background: var(--sky);
  color: var(--brand);
  border: 1px solid var(--line);
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-lang-toggle:hover,
.drawer-lang-toggle.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

/* Arabic RTL Typography and Layout */
html[dir="rtl"],
body.lang-ar,
.translated-rtl {
  direction: rtl;
  text-align: right;
  font-family: 'Noto Kufi Arabic', system-ui, -apple-system, sans-serif !important;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] .hero-title,
body.lang-ar h1,
body.lang-ar h2,
body.lang-ar h3,
body.lang-ar h4,
body.lang-ar .hero-title {
  font-family: 'Noto Kufi Arabic', 'Outfit', sans-serif !important;
  letter-spacing: normal;
}

/* Mirrored icon / arrow directions in RTL */
html[dir="rtl"] .btn svg,
body.lang-ar .btn svg,
html[dir="rtl"] .hero-actions svg,
body.lang-ar .hero-actions svg {
  transform: scaleX(-1);
}

html[dir="rtl"] .btn:hover svg,
body.lang-ar .btn:hover svg {
  transform: scaleX(-1) translateX(3px);
}

/* ==========================================================================
   Butterfly Preloader & Flying Landing Animation
   ========================================================================== */
#butterfly-loader {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  place-items: center;
  pointer-events: none;
}
#butterfly-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  background: white;
  transition: opacity .8s ease;
  animation: loader-failsafe 0s 5s forwards;
}
#butterfly-loader.is-flying::before {
  opacity: 0;
}
#butterfly-loader img {
  position: relative;
  width: 88px;
  height: auto;
  transform-origin: center;
  animation: butterfly-arrive 1s ease-in-out infinite;
}
@keyframes butterfly-arrive {
  0%, 100% {
    transform: translateY(4px) rotate(-6deg) scaleX(.92);
  }
  50% {
    transform: translateY(-6px) rotate(3deg) scaleX(1);
  }
}
@keyframes loader-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
@media (prefers-reduced-motion: reduce) {
  #butterfly-loader img {
    animation: none;
  }
  #butterfly-loader::before {
    transition: none;
  }
}

header.site .brand.butterfly-own-icon {
  position: relative;
}
header.site .brand.butterfly-own-icon > img:first-child {
  clip-path: polygon(0 0, 70% 0, 70% 46%, 81.5% 61%, 81.5% 100%, 0 100%);
}
header.site .brand .butterfly-landed-icon {
  position: absolute;
  right: 0;
  top: 0;
  width: 30%;
  height: auto;
  pointer-events: none;
  max-width: none;
}

/* ==========================================================================
   Homepage Hero Slider
   ========================================================================== */
#top .hero-slide:nth-child(1) { --hero-focus: 62% 50%; }
#top .hero-slide:nth-child(2) { --hero-focus: 52% 50%; }
#top .hero-slide:nth-child(3) { --hero-focus: 48% 50%; }
#top .hero-slide:nth-child(4) { --hero-focus: 82% 50%; }
#top .hero-slide:nth-child(5) { --hero-focus: 60% 50%; }
#top .hero-slide:nth-child(6) { --hero-focus: 60% 50%; }

#top .hero-swiper {
  height: clamp(560px, 43vw, 700px);
  min-height: 0;
}

#top .hero-slide {
  background: #082f43;
}

#top .hero-bg {
  left: 30%;
  background-position: var(--hero-focus, 50% 50%);
  transform: none !important;
  transition: none;
}

#top .hero-overlay {
  background: linear-gradient(90deg, #082f43 0%, #082f43 29%, rgba(8, 47, 67, .94) 36%, rgba(8, 47, 67, .65) 45%, rgba(8, 47, 67, .10) 62%, transparent 78%);
}

#top .hero-content {
  align-items: center;
  /* padding-top: 42px;
  padding-bottom: 85px; */
}

#top .hero-copy {
  max-width: 46%;
  padding-right: 0;
}

#top .hero-title {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -.018em;
  line-height: 1.19;
  font-size: clamp(32px, 3.3vw, 53px);
  margin-bottom: 22px;
}

#top .hero-title em {
  font-weight: inherit;
}

#top .hero-title .c1,
#top .hero-title .c2,
#top .hero-title .c3 {
  color: #90d4df;
}

#top .hero-copy .ar {
  font-family: "Noto Kufi Arabic", Tahoma, sans-serif;
  font-weight: 400;
  direction: rtl;
  unicode-bidi: isolate;
  text-align: right;
  letter-spacing: normal;
  word-spacing: normal;
  line-height: 2;
  font-size: clamp(12px, 1.2vw, 16px);
  margin-bottom: 26px;
  width: fit-content;
  max-width: 100%;
  margin-left: 0;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  column-gap: .45em;
  row-gap: 0;
}

#top .hero-copy .ar span {
  direction: rtl;
  unicode-bidi: isolate;
  white-space: nowrap;
}

#top .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

#top .hero-actions .btn {
  font-size: 14px;
  padding: 13px 18px;
}

#top .hero-copy .btn-outline {
  background: transparent;
  border-color: #ffffff70;
}

#top .hero-anim {
  animation: none !important;
}

#top .hero-motion-content {
  display: inline-block;
}

#top .hero-arrow {
  width: 40px;
  height: 40px;
  opacity: 0;
  pointer-events: none;
  transform: scale(.94);
  transition: opacity .3s ease, transform .3s ease, background .2s ease;
}

#top:hover .hero-arrow,
#top .hero-arrow:focus-visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

#top .hero-arrow:hover {
  background: rgba(4, 35, 51, .75);
}

#top .hero-prev {
  left: 12px;
}

#top .hero-next {
  right: 12px;
}

/* RTL Support */
html[dir="rtl"] #top .hero-bg,
body.lang-ar #top .hero-bg {
  left: auto;
  right: 30%;
}

html[dir="rtl"] #top .hero-overlay,
body.lang-ar #top .hero-overlay {
  background: linear-gradient(270deg, #082f43 0%, #082f43 29%, rgba(8, 47, 67, .94) 36%, rgba(8, 47, 67, .65) 45%, rgba(8, 47, 67, .10) 62%, transparent 78%);
}

html[dir="rtl"] #top .hero-copy,
body.lang-ar #top .hero-copy {
  padding-left: 0;
  padding-right: 0;
}

html[dir="rtl"] #top .hero-prev,
body.lang-ar #top .hero-prev {
  left: auto;
  right: 12px;
}

html[dir="rtl"] #top .hero-next,
body.lang-ar #top .hero-next {
  right: auto;
  left: 12px;
}

html[dir="rtl"] #top .hero-pagination.swiper-pagination-bullets.swiper-pagination-horizontal,
body.lang-ar #top .hero-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
  left: auto;
  right: max(24px, calc((100% - var(--maxw)) / 2 + 24px));
}

@media (max-width: 767px) {
  #top .hero-swiper,.hero-static#top {
    height: auto;
    min-height: 0;
  }
  #top .swiper-wrapper {
    align-items: stretch;
  }
  #top .hero-slide {
    height: auto;
    display: flex;
    flex-direction: column;
  }
  #top .hero-bg {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    width: 100%;
    aspect-ratio: 16/9;
    background-size: contain;
    background-position: center;
    background-color: #e9f3f6;
    flex-shrink: 0;
  }
  #top .hero-slide:nth-child(1) .hero-bg {
    background-size: 125% auto;
    background-position: 100% 95%;
  }
  #top .hero-slide:nth-child(5) .hero-bg {
    background-size: 125% auto;
    background-position: 100% 85%;
  }
  #top .hero-slide:nth-child(6) .hero-bg {
    background-size: 122% auto;
    background-position: 100% 65%;
  }
  #top .hero-bg::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: auto 0 -1px;
    height: clamp(62px, 19vw, 92px);
    background: linear-gradient(180deg, rgba(8, 47, 67, 0) 0%, rgba(8, 47, 67, .025) 17%, rgba(8, 47, 67, .10) 35%, rgba(8, 47, 67, .30) 54%, rgba(8, 47, 67, .63) 73%, rgba(8, 47, 67, .90) 89%, #082f43 100%);
    pointer-events: none;
  }
  #top .hero-overlay {
    display: none;
  }
  #top .hero-content {
    width: 100%;
    height: auto;
    flex: 1;
    padding: 27px 24px 62px;
    align-items: flex-start;
    padding-top: 4px;
    margin-top: -1px;
  }
  #top.hero-static .hero-content{
    padding: 24px;
  }
  #top .hero-copy {
    max-width: none;
    width: 100%;
    padding: 0;
  }
  #top .hero-title {
    font-size: clamp(29px, 7.7vw, 39px);
    line-height: 1.12;
    letter-spacing: -.015em;
    margin: 0 0 16px;
  }
  #top .hero-copy .ar {
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 21px;
  }
  #top .hero-actions {
    gap: 10px;
  }
  #top .hero-actions .btn {
    font-size: 12px;
    padding: 12px 14px;
    min-height: 44px;
  }
  #top .hero-arrow {
    top: calc(100vw * .28125);
    width: 36px;
    height: 36px;
    margin-top: -18px;
    background: #082f4370;
  }
  #top .hero-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
    left: 24px;
    right: auto;
    bottom: 17px;
    gap: 5px;
  }
  #top .hero-pagination .swiper-pagination-bullet {
    width: 30px;
  }
}



/* ==========================================================================
   Pathways Section (How can The Butterfly support you?)
   ========================================================================== */
.pathways2 {
  background: #f4fbfe;
  padding: 60px 0 0;
}

.pathways2 .sec-head {
  margin-bottom: 36px;
}

.pathways2 .sec-head h2 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.2;
  letter-spacing: -.025em;
  color: #082f43;
  margin-bottom: 18px;
  position: relative;
  width: fit-content;
  max-width: calc(100% - 200px);
  margin-inline: auto;
  text-align: center;
}

.pathways2 .sec-head h2 .grad {
  font-family: inherit !important;
  font-weight: inherit !important;
  font-style: inherit !important;
  letter-spacing: inherit;
  color: #087f9e;
}

.pathways2 .sec-head h2::before,
.pathways2 .sec-head h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 72px;
  height: 3px;
  border-radius: 3px;
  background: #17859d;
  transform: translateY(-50%);
}

.pathways2 .sec-head h2::before {
  right: calc(100% + 28px);
}

.pathways2 .sec-head h2::after {
  left: calc(100% + 28px);
}

.pathways2 .sec-head .social-intro {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.15rem) !important;
  font-weight: 400 !important;
  line-height: 1.65 !important;
  max-width: 760px !important;
  margin: 0 auto 16px !important;
  color: #334957;
  text-align: center;
}

.pathways2 .path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: calc(100% - 144px);
  max-width: 1392px;
  gap: 20px;
  padding: 0;
  grid-auto-rows: 1fr;
  margin-inline: auto;
  align-items: stretch;
}

.pathways2 .path-grid > .path {
  display: grid;
  grid-template-rows: 114px 64px 54px 1fr 64px;
  row-gap: 0;
  min-height: 480px;
  padding: 30px 46px;
  border-radius: 45px;
  background: #fdfeff;
  box-shadow: 0 12px 38px rgba(67, 165, 190, .13);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #082f43;
  border: 0;
  text-decoration: none;
  transition: box-shadow .25s ease, transform .25s ease;
}

.pathways2 .path::before {
  display: none !important;
}

.pathways2 .path-grid > .path:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(67, 165, 190, .22);
}

.pathways2 .path-grid > .path:focus-visible {
  outline: 3px solid #09657d;
  outline-offset: 5px;
}

.pathways2 .path-grid > .p1 {
  --c: #09657d;
  --wave-light: #a5e4eb;
  --wave-dark: #42bfd0;
  --icon-fill: #8adbe7;
}

.pathways2 .path-grid > .p2 {
  --c: #09617c;
  --wave-light: #b3e7ed;
  --wave-dark: #389dbb;
  --icon-fill: #9cdfea;
}

.pathways2 .path-grid > .p3 {
  --c: #08536d;
  --wave-light: #7fcbd9;
  --wave-dark: #0e799a;
  --icon-fill: #51bed3;
}

.pathways2 .path-grid .pi {
  display: grid;
  place-items: center;
  width: 170px;
  height: 114px;
  margin: 0 auto;
  align-self: start;
  flex-shrink: 0;
  border-radius: 0;
  background: transparent;
  color: var(--c);
}

.pathways2 .path-grid .pi svg {
  width: 170px;
  height: 124px;
  overflow: visible;
}

.pathways2 .path-grid .supplied-organisation-icon img {
  width: 170px;
  height: 170px;
  object-fit: contain;
  position: relative;
  top: -25px;
  user-select: none;
}

.pathways2 .path-grid .who {
  display: block;
  min-height: 0;
  margin: 0;
  font: 700 12px/1.45 "Outfit", sans-serif;
  letter-spacing: .09em;
  color: var(--c);
  text-transform: uppercase;
  align-self: start;
}

.pathways2 .path-grid h3 {
  font: 700 clamp(23px, 2.4vw, 32px)/1.19 "Outfit", system-ui, sans-serif;
  letter-spacing: -.018em;
  word-spacing: normal;
  color: #082f43;
  margin: 0 0 10px;
  align-self: start;
}

.pathways2 .path-grid p {
  flex: 0 0 auto;
  font-size: 16px;
  line-height: 1.45;
  color: #334957;
  margin: 0;
  align-self: start;
}

.pathways2 .path-grid .go {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 44px;
  margin-top: 0;
  font: 700 15px/1.45 "Outfit", sans-serif;
  color: var(--c);
  position: relative;
  z-index: 1;
  align-self: end;
}

.pathways2 .path-grid .path-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #dff3f8;
  color: var(--c);
  transition: transform .2s ease;
}

.pathways2 .path-grid .path:hover .path-arrow {
  transform: translateX(4px);
}

.pathways2 .path-grid .path-arrow svg {
  width: 22px;
  height: 22px;
}

.pathways2 .path-grid .path-wave {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 66px;
  pointer-events: none;
  z-index: -1;
}

.pathways2 > .pathways-closing {
  max-width: 860px;
  padding: 0 24px;
  margin: 16px auto 0;
  padding-bottom: 48px;
  text-align: center;
  font-family: "Outfit", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body, #52666f);
}

/* Tablet (768px - 1450px) */
@media (min-width: 768px) and (max-width: 1450px) {
  .pathways2 .path-grid {
    width: calc(100% - 64px);
    gap: 18px;
  }
  .pathways2 .path-grid > .path {
    padding: 26px 26px;
  }
}

/* Responsive (Mobile <= 767px) */
@media (max-width: 767px) {
  .pathways2 .sec-head h2 {
    max-width: calc(100% - 48px);
    margin-inline: auto;
    text-align: center;
  }
  .pathways2 .sec-head h2::before,
  .pathways2 .sec-head h2::after {
    content: none;
    display: none;
  }
  .pathways2 .sec-head .social-intro {
    box-sizing: border-box;
    width: 100%;
    padding-inline: 24px;
    text-align: center;
  }
  .pathways2 .path-grid {
    grid-template-columns: minmax(0, 1fr);
    width: calc(100% - 48px);
    grid-auto-rows: auto;
    gap: 18px;
  }
  .pathways2 .path-grid > .path {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 82px;
    grid-template-rows: auto auto auto auto;
    column-gap: 12px;
    row-gap: 14px;
    align-items: center;
    min-height: 0;
    height: auto;
    padding: 22px 24px 24px;
    border-radius: 26px;
  }
  .pathways2 .path-grid .pi {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    width: 82px;
    height: 66px;
    margin: 0;
  }
  .pathways2 .path-grid .pi svg {
    width: 82px;
    height: 66px;
  }
  .pathways2 .path-grid .supplied-organisation-icon img {
    width: 90px;
    height: 90px;
    top: -14px;
  }
  .pathways2 .path-grid .who {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    min-height: 0;
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: .09em;
  }
  .pathways2 .path-grid h3 {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: start;
    margin: 0;
    font-size: 27px;
    line-height: 1.2;
  }
  .pathways2 .path-grid p {
    grid-column: 1 / -1;
    grid-row: 3;
    align-self: start;
    flex: none;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
  }
  .pathways2 .path-grid .go {
    grid-column: 1 / -1;
    grid-row: 4;
    align-self: start;
    min-height: 44px;
    margin: 4px 0 0;
    font-size: 17px;
    line-height: 1.4;
  }
  .pathways2 .path-grid .path-arrow {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }
  .pathways2 .path-grid .path-wave {
    width: 36%;
    height: 48px;
  }
  .pathways2 > .pathways-closing {
    margin-top: 12px;
    padding-bottom: 40px;
    font-size: 16px;
    line-height: 1.65;
  }
}

/* RTL Support */
html[dir="rtl"] .pathways2 .path-grid .path-wave,
body.lang-ar .pathways2 .path-grid .path-wave {
  right: auto;
  left: 0;
  transform: scaleX(-1);
}
html[dir="rtl"] .pathways2 .path-grid .path-arrow svg,
body.lang-ar .pathways2 .path-grid .path-arrow svg {
  transform: scaleX(-1);
}
html[dir="rtl"] .pathways2 .path-grid .path:hover .path-arrow,
body.lang-ar .pathways2 .path-grid .path:hover .path-arrow {
  transform: translateX(-4px);
}


/* ==========================================================================
   Community Photo Carousel
   ========================================================================== */
.community-carousel {
  padding: 40px 0 32px;
  background: #f5fbfd;
  overflow: hidden;
  position: relative;
}

.community-carousel-shell {
  position: relative;
  max-width: 1600px;
  margin: auto;
}

.community-photo-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  direction: ltr;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
  cursor: grab;
  overscroll-behavior-x: contain;
}

.community-photo-track::-webkit-scrollbar {
  display: none;
}

.community-photo-track:active {
  cursor: grabbing;
}

.community-photo-set {
  display: flex;
  flex: none;
  gap: 20px;
  padding-right: 20px;
}

.community-slide {
  position: relative;
  width: clamp(260px, 28vw, 390px);
  flex: none;
  aspect-ratio: 1;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  isolation: isolate;
  box-shadow: 0 8px 24px rgba(8, 47, 67, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.community-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(8, 47, 67, 0.16);
}

.community-slide-media {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
  overflow: hidden;
}

.community-slide-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.community-slide:hover .community-slide-media img {
  transform: scale(1.05);
}

.community-slide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 47, 67, 0.15);
  transition: background 0.3s ease;
  pointer-events: none;
}

.community-slide:hover .community-slide-overlay {
  background: rgba(8, 47, 67, 0.28);
}

/* Play button overlay styled like advocacy-support.php */
.community-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 66px;
  height: 66px;
  border: none;
  background: transparent;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.community-play-btn .adv-play-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  animation: advPlayPulse 2.4s infinite cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}

.community-play-btn .adv-play-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(4, 35, 51, 0.48);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.community-play-btn .adv-play-circle svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}

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

.community-slide:hover .community-play-btn .adv-play-circle {
  background: #02789f;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(2, 120, 159, 0.45);
}

/* Carousel navigation matching Hero Slider design language */
.community-nav {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  background: rgba(4, 35, 51, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.community-nav svg {
  width: 20px;
  height: 20px;
}

.community-nav:hover,
.community-nav:focus-visible {
  background: rgba(4, 35, 51, 0.85);
  border-color: #ffffff;
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3);
}

.community-prev {
  left: 18px;
}

.community-next {
  right: 18px;
}

/* Play/Pause bottom toggle pill */
.community-playback {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.community-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 110px;
  min-height: 42px;
  padding: 8px 18px;
  border: 1px solid #b9dbe5;
  border-radius: 24px;
  background: #ffffff;
  color: #0a3e57;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(8, 47, 67, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.community-toggle:hover {
  background: #def4f8;
  border-color: #92cbd9;
  transform: translateY(-1px);
}

.community-carousel :focus-visible {
  outline: 3px solid #087f9e;
  outline-offset: 2px;
}

.community-toggle-icon {
  font-size: 17px;
  line-height: 1;
}

/* Responsive Styles */
@media (max-width: 767px) {
  .community-carousel {
    padding: 24px 0 20px;
  }
  .community-slide {
    width: 78vw;
    max-width: 340px;
    border-radius: 20px;
  }
  .community-photo-set {
    gap: 14px;
    padding-right: 14px;
  }
  .community-nav {
    width: 38px;
    height: 38px;
  }
  .community-nav svg {
    width: 17px;
    height: 17px;
  }
  .community-prev {
    left: 8px;
  }
  .community-next {
    right: 8px;
  }
  .community-play-btn {
    width: 52px;
    height: 52px;
  }
  .community-play-btn .adv-play-circle {
    width: 44px;
    height: 44px;
  }
  .community-play-btn .adv-play-circle svg {
    width: 17px;
    height: 17px;
  }
}

/* RTL Support */
html[dir="rtl"] .community-prev svg,
body.lang-ar .community-prev svg,
html[dir="rtl"] .community-next svg,
body.lang-ar .community-next svg {
  transform: scaleX(-1);
}


/* Slide link & overlays */
.community-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.community-action-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(4, 35, 51, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s ease, background 0.2s ease;
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.community-action-badge svg {
  width: 22px;
  height: 22px;
}

.community-slide:hover .community-action-badge {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.community-video-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(8, 47, 67, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
}

.community-video-pill svg {
  width: 10px;
  height: 10px;
}

.community-photo-pill {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(8, 47, 67, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0.9;
}

.community-photo-pill svg {
  width: 12px;
  height: 12px;
}




/* Ensure slide link catches click events across all slide children */
.community-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
}

.community-slide-media * {
  pointer-events: none;
}

/* ==========================================================================
   Advocacy Refined Section (Highlights & Editorial Intro)
   ========================================================================== */
.adv-refined {
  background: #f4fbfd;
  color: #082f43;
}

.adv-highlights {
  padding: 34px 0 20px;
}

.adv-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.adv-highlight {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
  padding: 20px 22px;
  background: #ffffff;
  border: 1px solid #8bcbd4;
  border-radius: 18px;
  box-shadow: 0 8px 22px rgba(11, 83, 107, 0.04);
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.adv-highlight:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(11, 83, 107, 0.08);
  border-color: #60b6c3;
}

.adv-highlight-icon {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #e8f8fb;
  color: #1684a0;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.adv-highlight:hover .adv-highlight-icon {
  /* background: #087e98; */
  /* color: #ffffff; */
  transform: scale(1.04);
}

.adv-highlight-icon svg {
  width: 30px;
  height: 30px;
}

.adv-highlight h3 {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 6px;
  color: #082f43;
}

.adv-highlight p {
  font-size: 14.5px;
  line-height: 1.4;
  font-weight: 400;
  margin: 0;
  color: #436272;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.adv-editorial {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 24px 0 48px;
}

.adv-editorial::before,
.adv-editorial::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 140px;
  left: -190px;
  bottom: -100px;
  border-radius: 50%;
  background: #dff5f8;
  transform: rotate(15deg);
  pointer-events: none;
}

.adv-editorial::after {
  left: -230px;
  bottom: -110px;
  background: #c9edf2;
  transform: rotate(22deg);
}

.adv-editorial-grid {
  display: grid;
  grid-template-columns: 46% 54%;
  gap: 0;
  align-items: stretch;
}

.adv-editorial-heading {
  padding-right: 48px;
  box-sizing: border-box;
}

.adv-editorial-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #087e98;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.adv-editorial-heading .eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2px;
  background: #087e98;
}

.adv-editorial-heading h2 {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 2.7vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
  color: #082f43;
}

.adv-editorial-heading h2 span {
  display: block;
}

.adv-editorial-heading h2 em {
  display: block;
  font-weight: 800;
  font-style: italic;
  color: #087e98;
}

.adv-editorial-body {
  position: relative;
  padding-left: 48px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.adv-editorial-body::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: #70b6c3;
}

.adv-editorial-body p {
  font-size: 16.5px;
  line-height: 1.5;
  font-weight: 400;
  margin: 0 0 14px;
  color: #244859;
}

.adv-editorial-body .adv-closing {
  font-weight: 700;
  color: #082f43;
  margin-bottom: 0;
}

/* Tablet styles (768px - 1100px) */
@media (min-width: 768px) and (max-width: 1100px) {
  .adv-highlight-grid {
    gap: 14px;
  }
  .adv-highlight {
    padding: 16px 14px;
    gap: 14px;
  }
  .adv-highlight-icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }
  .adv-highlight-icon svg {
    width: 26px;
    height: 26px;
  }
  .adv-highlight h3 {
    font-size: 19px;
  }
  .adv-highlight p {
    font-size: 13.5px;
  }
  .adv-editorial-heading {
    padding-right: 32px;
  }
  .adv-editorial-body {
    padding-left: 32px;
  }
  .adv-editorial-heading h2 {
    font-size: 34px;
  }
  .adv-editorial-body p {
    font-size: 15.5px;
  }
}

@media (max-width: 992px) {
  .adv-highlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

/* Mobile styles (max-width: 767px) */
@media (max-width: 767px) {
  .adv-highlights {
    padding: 24px 0 12px;
  }
  .adv-highlight {
    padding: 16px 14px;
    gap: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  .adv-highlight-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
  }
  .adv-highlight-icon svg {
    width: 25px;
    height: 25px;
  }
  .adv-highlight h3 {
    font-size: 19px;
    line-height: 1.2;
  }
  .adv-highlight p {
    font-size: 13.5px;
    line-height: 1.45;
  }
  .adv-editorial {
    padding: 24px 0 38px;
  }
  .adv-editorial-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .adv-editorial-heading {
    padding-right: 0;
  }
  .adv-editorial-heading .eyebrow {
    font-size: 11px;
    line-height: 1.6;
  }
  .adv-editorial-heading h2 {
    font-size: 28px;
    line-height: 1.15;
  }
  .adv-editorial-body {
    padding-left: 0;
  }
  .adv-editorial-body::before {
    display: none;
  }
  .adv-editorial-body p {
    font-size: 15.5px;
    line-height: 1.55;
    margin-bottom: 12px;
  }
}

@media (max-width: 402px) {
  .adv-highlight-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 15px;
  }
}
/* RTL Support */
html[dir="rtl"] .adv-editorial-heading,
body.lang-ar .adv-editorial-heading {
  padding-right: 0;
  padding-left: 48px;
}

html[dir="rtl"] .adv-editorial-body,
body.lang-ar .adv-editorial-body {
  padding-left: 0;
  padding-right: 48px;
}

html[dir="rtl"] .adv-editorial-body::before,
body.lang-ar .adv-editorial-body::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .adv-editorial::before,
body.lang-ar .adv-editorial::before,
html[dir="rtl"] .adv-editorial::after,
body.lang-ar .adv-editorial::after {
  left: auto;
  right: -190px;
  transform: rotate(-15deg);
}

html[dir="rtl"] .adv-editorial::after,
body.lang-ar .adv-editorial::after {
  right: -230px;
  transform: rotate(-22deg);
}

/* ==========================================================================
   Family Voices Testimonials Section (Swiper Enhancement)
   ========================================================================== */
.bfv2 {
  --bf-navy: #07354b;
  --bf-blue: #217FA7;
  --bf-turquoise: #65BFCE;
  --bf-cyan: #00B8D4;
  --bf-ice: #DDF3F7;
  color: var(--bf-navy);
  font-family: Outfit, system-ui, sans-serif;
  background: linear-gradient(135deg, #fff, #f5fbfc);
  padding: 48px 24px 40px;
  overflow: hidden;
}

.bfv2 * {
  box-sizing: border-box;
}

.bfv2 button {
  font: inherit;
  cursor: pointer;
}

.bfv2 button:focus-visible {
  outline: 3px solid var(--bf-blue);
  outline-offset: 4px;
}

.bfv2__inner {
  max-width: 1140px;
  margin: 0 auto;
}

.bfv2 .bfv2__intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 32px;
}

.bfv2__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bf-blue);
}

.bfv2__intro .bfv2__eyebrow::before,
.bfv2__intro .bfv2__eyebrow::after {
  content: "";
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--bf-ice), var(--bf-blue));
}

.bfv2 .bfv2__intro h2 {
  font-size: 34px;
  line-height: 1.15;
  letter-spacing: -.03em;
  font-weight: 800;
  margin: 10px 0;
  color: var(--bf-navy);
}

.bfv2__intro h2 span {
  color: var(--bf-blue);
}

.bfv2__intro p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted, #5E6B74);
  margin: 0;
}

.bfv2__carousel {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}

.bfv2-swiper {
  position: relative;
  padding: 12px 4px 20px;
  overflow: hidden;
}

.bfv2-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.bfv2-swiper .swiper-slide .bfv2__card {
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  min-height: 292px;
  display: flex;
  flex-direction: column;
}

.bfv2__card {
  --bf-accent: var(--bf-blue);
  position: relative;
  background: linear-gradient(125deg, var(--bf-ice), #fff 68%);
  border: 2px solid #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(7, 53, 75, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.bfv2__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(7, 53, 75, 0.12);
}

.bfv2__card[data-theme="turquoise"] {
  --bf-accent: var(--bf-turquoise);
  background: linear-gradient(130deg, #fff 25%, var(--bf-ice));
}

.bfv2__card[data-theme="cyan"] {
  --bf-accent: var(--bf-cyan);
}

.bfv2__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 18px;
  background: var(--bf-accent);
  clip-path: polygon(0 0, 100% 0, 30% 65%, 0 100%);
}

.bfv2__card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 42%;
  height: 66px;
  background: var(--bf-accent);
  opacity: .45;
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 52% 50%);
  border-radius: 80% 0 0 0;
  pointer-events: none;
}

.bfv2__art {
  position: absolute;
  top: 15px;
  right: 16px;
  z-index: 1;
}

.bfv2__icon-orbit {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bf-ice);
  box-shadow: 0 2px 6px rgba(7, 53, 75, 0.08);
}

.bfv2__icon-orbit img {
  width: 32px;
  height: 32px;
}

.bfv2__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 24px 22px;
  min-width: 0;
}

.bfv2__quote {
  display: block;
  height: 36px;
  font: 800 58px/.9 Georgia, serif;
  color: var(--bf-blue);
  margin: 0 50px 4px 0;
}

.bfv2 .bfv2__content h3 {
  font-size: 23px;
  line-height: 1.15;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -.025em;
  color: var(--bf-navy);
  margin: 0 0 20px;
  min-height: 76px;
}

.bfv2__story[hidden] {
  display: none;
}

.bfv2__byline {
  border-left: 2px solid var(--bf-accent);
  padding-left: 12px;
  margin-top: auto;
  margin-bottom: 18px;
}

.bfv2__byline strong {
  display: block;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  color: var(--bf-navy);
  margin-bottom: 3px;
}

.bfv2__byline span {
  display: block;
  font-size: 13.5px;
  color: var(--muted, #5E6B74);
  line-height: 1.35;
}

.bfv2 .bfv2__read-story {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  min-height: 42px;
  padding: 8px 18px;
  border: 1px solid var(--bf-blue);
  border-radius: 24px;
  background: #ffffff;
  color: var(--bf-navy);
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.bfv2__read-story:hover {
  background: var(--bf-ice);
  border-color: var(--bf-navy);
}

.bfv2__controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.bfv2__arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: var(--bf-blue);
  box-shadow: 0 3px 10px rgba(7, 53, 75, 0.12);
  cursor: pointer;
  transition: all 0.2s ease;
}

.bfv2__arrow:hover {
  background: var(--bf-ice);
  transform: scale(1.05);
}

.bfv2__arrow svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.bfv2-pagination.swiper-pagination {
  position: static !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto !important;
  margin: 0 !important;
}

.bfv2-pagination .swiper-pagination-bullet {
  width: 14px;
  height: 14px;
  margin: 0 !important;
  border: 1.5px solid var(--bf-blue);
  background: #ffffff;
  opacity: 1;
  transition: all 0.2s ease;
  cursor: pointer;
}

.bfv2-pagination .swiper-pagination-bullet-active {
  background: var(--bf-blue);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--bf-blue);
  transform: scale(1.1);
}

/* Dialog Story Popup */
.bfv2 .bfv2__dialog {
  color: var(--bf-navy);
  font: inherit;
  width: min(620px, calc(100% - 40px));
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 34px;
  border: 2px solid #ffffff;
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff 70%, var(--bf-ice));
  box-shadow: 0 18px 60px rgba(7, 53, 75, 0.25);
  overflow: auto;
  overscroll-behavior: contain;
}

.bfv2__dialog:not([open]) {
  display: none;
}

.bfv2__dialog::backdrop {
  background: rgba(7, 53, 75, 0.45);
  backdrop-filter: blur(2px);
}

/* Dialog Top Bar with Prev/Next and Close */
.bfv2__dialog-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.bfv2__dialog-nav-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(221, 243, 247, 0.45);
  border: 1px solid #cce7ed;
  border-radius: 24px;
  padding: 3px 8px;
}

.bfv2__dialog-nav-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--bf-blue, #217FA7);
  background: #ffffff;
  color: var(--bf-blue, #217FA7);
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}

.bfv2__dialog-nav-btn:hover {
  background: var(--bf-blue, #217FA7);
  color: #ffffff;
  transform: scale(1.06);
}

.bfv2__dialog-nav-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.bfv2__dialog-counter {
  font-size: 13px;
  font-weight: 700;
  color: var(--bf-navy, #07354b);
  padding: 0 4px;
  letter-spacing: 0.02em;
}

.bfv2__dialog-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  min-height: 38px;
  padding: 6px 16px;
  border: 1px solid var(--bf-blue, #217FA7);
  border-radius: 24px;
  background: #ffffff;
  color: var(--bf-navy, #07354b);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bfv2__dialog-close:hover {
  background: var(--bf-ice, #DDF3F7);
}

/* Floating Side Navigation Arrows on Desktop */
@media (min-width: 820px) {
  .bfv2__dialog-side-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--bf-blue, #217FA7);
    box-shadow: 0 6px 22px rgba(7, 53, 75, 0.28);
    border: 1.5px solid #cce7ed;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 2147483647;
    transition: all 0.2s ease;
  }
  .bfv2__dialog-side-nav:hover {
    background: var(--bf-ice, #DDF3F7);
    color: var(--bf-navy, #07354b);
    transform: translateY(-50%) scale(1.1);
  }
  .bfv2__dialog-side-prev {
    left: max(16px, calc(50vw - 310px - 68px));
  }
  .bfv2__dialog-side-next {
    right: max(16px, calc(50vw - 310px - 68px));
  }
  .bfv2__dialog-side-nav svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
  }
}

@media (max-width: 819px) {
  .bfv2__dialog-side-nav {
    display: none !important;
  }
}

/* Dialog Footer Prev/Next Buttons */
.bfv2__dialog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(101, 191, 206, 0.4);
}

.bfv2__dialog-foot-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 18px;
  border: 1px solid var(--bf-blue, #217FA7);
  border-radius: 24px;
  background: #ffffff;
  color: var(--bf-navy, #07354b);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.bfv2__dialog-foot-btn:hover {
  background: var(--bf-blue, #217FA7);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(33, 127, 167, 0.25);
}

.bfv2__dialog-foot-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.bfv2__dialog-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bf-turquoise);
}

.bfv2__dialog-icon {
  width: 72px;
  height: 72px;
  padding: 14px;
  border-radius: 50%;
  background: var(--bf-ice);
  flex: none;
}

.bfv2__dialog .bfv2__eyebrow {
  justify-content: flex-start;
  color: var(--bf-blue);
  font-size: 11px;
  letter-spacing: .16em;
}

.bfv2 .bfv2__dialog h3 {
  font-size: 26px;
  line-height: 1.2;
  margin: 4px 0;
  font-weight: 800;
  color: var(--bf-navy);
}

.bfv2__dialog-attribution {
  font-size: 14.5px;
  line-height: 1.4;
  color: var(--muted, #5E6B74);
}

.bfv2__dialog-story {
  padding-top: 22px;
}

.bfv2__dialog .bfv2__quote {
  height: 28px;
  font-size: 52px;
  margin-bottom: 8px;
}

.bfv2__dialog p {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 14px;
  color: var(--bf-navy);
}

.bfv2__full-quote {
  font-weight: 700;
  color: var(--bf-navy);
}

.bfv2__full-story {
  color: var(--text-color, #344F5A);
}

@media (max-width: 767px) {
  .bfv2 {
    padding: 32px 16px 28px;
  }
  .bfv2 .bfv2__intro h2 {
    font-size: 28px;
  }
  .bfv2 .bfv2__dialog {
    position: fixed;
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: 88dvh;
    margin: 0;
    padding: 20px 22px calc(24px + env(safe-area-inset-bottom));
    border-radius: 28px 28px 0 0;
    border-bottom: 0;
    animation: bfv2-sheet-in 0.3s ease-out;
  }
}

@keyframes bfv2-sheet-in {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* ==========================================================================
   Compact FAQ Section (Two-Column Desktop / Accordion Mobile)
   ========================================================================== */
.adv-faq-compact {
  padding: 48px 0;
}
.adv-faq-compact .sec-head {
  margin-bottom: 28px !important;
}
.adv-faq-compact .sec-head h2 {
  margin-bottom: 0;
}
.adv-faq-compact .lead {
  font-size: 16px;
}

/* Desktop Two-Column */
@media (min-width: 768px) {
  .faq-two-column {
    display: grid;
    grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    gap: 24px;
    align-items: start;
  }
  .faq-accordion-mobile {
    display: none !important;
  }
}

.faq-questions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-choice {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  color: var(--ink, #082f43);
  font: 600 15px/1.35 Outfit, sans-serif;
  cursor: pointer;
  min-height: 48px;
  transition: all 0.2s ease;
}

.faq-choice:hover {
  background: rgba(232, 248, 251, 0.6);
  border-color: #cce7ed;
}

.faq-choice[aria-pressed="true"],
.faq-choice[aria-selected="true"] {
  background: #e8f8fb;
  border-color: #8bcbd4;
  color: var(--cyan-ink, #087e98);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(8, 126, 152, 0.08);
}

.faq-question-icon {
  display: grid;
  place-items: center;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.faq-choice:focus-visible {
  outline: 3px solid var(--cyan-ink, #087e98);
  outline-offset: 2px;
}

.faq-answer {
  padding: 28px 32px;
  background: #ffffff;
  border: 1px solid #cce7ed;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(11, 83, 107, 0.06);
  align-self: stretch;
  min-height: 180px;
  display: flex;
  align-items: center;
}

.faq-answer p {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  color: var(--ink, #082f43);
}

.faq-all {
  text-align: center;
  margin-top: 24px;
}

.faq-all a {
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan-ink, #087e98);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.faq-all a:hover {
  color: var(--navy, #062332);
}

/* Mobile Accordion Layout */
@media (max-width: 767px) {
  .faq-two-column {
    display: none !important;
  }
  .faq-accordion-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .faq-accordion-mobile .adv-faq-item {
    background: #ffffff;
    border: 1px solid #cce7ed;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
  }
  .faq-accordion-mobile .adv-faq-item[open] {
    border-color: #8bcbd4;
    box-shadow: 0 4px 14px rgba(8, 126, 152, 0.08);
  }
  .faq-accordion-mobile .adv-faq-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    font: 600 15px/1.35 Outfit, sans-serif;
    color: var(--ink, #082f43);
    cursor: pointer;
    list-style: none;
    user-select: none;
  }
  .faq-accordion-mobile .adv-faq-summary::-webkit-details-marker {
    display: none;
  }
  .faq-accordion-mobile .adv-faq-item[open] .adv-faq-summary {
    color: var(--cyan-ink, #087e98);
  }
  .faq-accordion-mobile .adv-faq-summary svg {
    margin-left: auto;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    transition: transform 0.25s ease;
  }
  .faq-accordion-mobile .adv-faq-item[open] .adv-faq-summary svg {
    transform: rotate(180deg);
  }
  .faq-accordion-mobile .adv-faq-content {
    padding: 0 16px 16px 54px;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink, #082f43);
  }
}

/* RTL Support for Family Voices and FAQ */
html[dir="rtl"] .bfv2__byline,
body.lang-ar .bfv2__byline {
  border-left: 0;
  border-right: 2px solid var(--bf-accent);
  padding-left: 0;
  padding-right: 12px;
}
html[dir="rtl"] .bfv2__quote,
body.lang-ar .bfv2__quote {
  margin: 0 0 4px 50px;
}
html[dir="rtl"] .bfv2__art,
body.lang-ar .bfv2__art {
  right: auto;
  left: 16px;
}
html[dir="rtl"] .faq-choice,
body.lang-ar .faq-choice {
  text-align: right;
}
html[dir="rtl"] .faq-accordion-mobile .adv-faq-summary svg,
body.lang-ar .faq-accordion-mobile .adv-faq-summary svg {
  margin-left: 0;
  margin-right: auto;
}
html[dir="rtl"] .faq-accordion-mobile .adv-faq-content,
body.lang-ar .faq-accordion-mobile .adv-faq-content {
  padding: 0 54px 16px 16px;
}

html[dir="rtl"] .bfv2__dialog-side-prev,
body.lang-ar .bfv2__dialog-side-prev {
  left: auto;
  right: max(16px, calc(50vw - 310px - 68px));
  transform: translateY(-50%) scaleX(-1);
}
html[dir="rtl"] .bfv2__dialog-side-next,
body.lang-ar .bfv2__dialog-side-next {
  right: auto;
  left: max(16px, calc(50vw - 310px - 68px));
  transform: translateY(-50%) scaleX(-1);
}
html[dir="rtl"] .bfv2__dialog-nav-btn svg,
body.lang-ar .bfv2__dialog-nav-btn svg,
html[dir="rtl"] .bfv2__dialog-foot-btn svg,
body.lang-ar .bfv2__dialog-foot-btn svg {
  transform: scaleX(-1);
}

/* ==========================================================================
   Service Provider "Why Join" Cards (Community Partners)
   ========================================================================== */
section[aria-labelledby="w-h"] .grid-3 {
  align-items: stretch;
  gap: 24px;
}

section[aria-labelledby="w-h"] .grid-3 > .card,
section[aria-labelledby="how-h"] .grid-3 > .card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #cce7ed;
  border-radius: 24px;
  padding: 34px 28px 36px;
  box-shadow: 0 8px 24px rgba(7, 53, 75, 0.05);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
  --provider-wave-light: #8cdee6;
  --provider-wave-dark: #23b9ce;
}

section[aria-labelledby="w-h"] .grid-3 > .card:hover,
section[aria-labelledby="how-h"] .grid-3 > .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(7, 53, 75, 0.11);
  border-color: #8bcbd4;
}

section[aria-labelledby="w-h"] .grid-3 > .card:nth-child(2),
section[aria-labelledby="how-h"] .grid-3 > .card:nth-child(2) {
  --provider-wave-light: #d1f1f7;
  --provider-wave-dark: #8edce7;
}

section[aria-labelledby="w-h"] .grid-3 > .card:nth-child(3),
section[aria-labelledby="how-h"] .grid-3 > .card:nth-child(3) {
  --provider-wave-light: #65bfce;
  --provider-wave-dark: #217fa7;
}

section[aria-labelledby="w-h"] .grid-3 > .card > .ic,
section[aria-labelledby="how-h"] .grid-3 > .card > .ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #e8f8fb;
  color: var(--cyan-ink, #087e98);
  margin: 0 auto 22px;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

section[aria-labelledby="w-h"] .grid-3 > .card:hover > .ic,
section[aria-labelledby="how-h"] .grid-3 > .card:hover > .ic {
  transform: scale(1.08);
  background: #ddf3f7;
}

section[aria-labelledby="w-h"] .grid-3 > .card > .ic svg,
section[aria-labelledby="how-h"] .grid-3 > .card > .ic svg {
  width: 26px;
  height: 26px;
}

section[aria-labelledby="w-h"] .grid-3 > .card h3,
section[aria-labelledby="how-h"] .grid-3 > .card h3 {
  font-size: 21px;
  line-height: 1.25;
  font-weight: 700;
  color: var(--heading-color, #0B3544);
  margin: 0 0 12px;
}

section[aria-labelledby="w-h"] .grid-3 > .card p,
section[aria-labelledby="how-h"] .grid-3 > .card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-color, #344F5A);
  margin: 0;
  flex: 1 1 auto;
}

section[aria-labelledby="w-h"] .provider-card-wave,
section[aria-labelledby="how-h"] .provider-card-wave {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34%;
  height: 28px;
  z-index: -1;
  pointer-events: none;
  transition: transform 0.3s ease;
}

section[aria-labelledby="w-h"] .grid-3 > .card:hover .provider-card-wave,
section[aria-labelledby="how-h"] .grid-3 > .card:hover .provider-card-wave {
  transform: scale(1.05);
}

/* RTL Support for Why Join & How It Works Cards */
html[dir="rtl"] section[aria-labelledby="w-h"] .provider-card-wave,
body.lang-ar section[aria-labelledby="w-h"] .provider-card-wave,
html[dir="rtl"] section[aria-labelledby="how-h"] .provider-card-wave,
body.lang-ar section[aria-labelledby="how-h"] .provider-card-wave {
  right: auto;
  left: 0;
  transform: scaleX(-1);
}

html[dir="rtl"] section[aria-labelledby="w-h"] .grid-3 > .card:hover .provider-card-wave,
body.lang-ar section[aria-labelledby="w-h"] .grid-3 > .card:hover .provider-card-wave,
html[dir="rtl"] section[aria-labelledby="how-h"] .grid-3 > .card:hover .provider-card-wave,
body.lang-ar section[aria-labelledby="how-h"] .grid-3 > .card:hover .provider-card-wave {
  transform: scaleX(-1) scale(1.05);
}

/* ==========================================================================
   Home Hero Slider Refinements, Screen Height & Bottom Sky Wave
   ========================================================================== */
#top.hero-slider {
  position: relative;
}

#top .hero-wave {
  position: absolute;
  inset: auto 0 -1px;
  width: 100%;
  height: clamp(16px, 3.2vw, 48px);
  z-index: 2;
  pointer-events: none;
}

@media (max-width: 767px) {
  #top .hero-wave {
    height: 14px;
  }
}

#top .hero-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: clamp(40px, 5.4vw, 76px);
  gap: 8px;
}

#top .hero-pagination .swiper-pagination-bullet {
  width: clamp(22px, 2.1vw, 30px);
  height: 5px;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 999px;
  background: transparent;
  opacity: 1;
}

#top .hero-pagination .swiper-pagination-bullet::before,
#top .hero-pagination .swiper-pagination-bullet::after {
  content: none;
}

#top .hero-pagination .swiper-pagination-bullet-active {
  background: linear-gradient(white, white) left center / var(--hero-progress, 0%) 100% no-repeat;
  border-color: white;
}

html[dir="rtl"] #top .hero-pagination .swiper-pagination-bullet-active,
body.lang-ar #top .hero-pagination .swiper-pagination-bullet-active {
  background-position: right center;
}

@media (min-width: 768px) {
  #top .hero-swiper {
    height: clamp(490px, 39vw, 600px);
  }
  /* #top .hero-content {
    padding-block: 34px 100px;
  } */
  #top .hero-title {
    font-size: clamp(29px, 3vw, 47px);
    line-height: 1.1;
    margin-bottom: 16px;
  }
  #top .hero-copy .ar {
    line-height: 1.6;
    margin-bottom: 21px;
  }
  #top .hero-arrow {
    top: auto;
    bottom: calc(clamp(40px, 5.4vw, 76px) + 20px);
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  #top .hero-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 34px;
  }
}

/* RTL Support for Home Hero Wave */
html[dir="rtl"] #top .hero-wave,
body.lang-ar #top .hero-wave {
  transform: scaleX(-1);
}

/* ==========================================================================
   Advocacy & Support: Membership Entry Section (#join)
   ========================================================================== */
.membership-entry {
  padding: 24px 0 32px;
}
.membership-entry-card {
  display: grid;
  grid-template-columns: 1.4fr 1.15fr 0.55fr;
  gap: 24px;
  align-items: center;
  padding: 24px 30px;
  border: 1px solid #9dd4de;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(8, 47, 67, 0.04);
}
.membership-entry h2 {
  font: 700 30px/1.15 Outfit, sans-serif;
  margin: 4px 0 10px;
  color: var(--brand-deep, #082f43);
}
.membership-entry p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  color: var(--body, #52666f);
}
.membership-entry .eyebrow {
  font-size: 11px;
  color: var(--cyan-ink, #0e6f8c);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.membership-entry-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
  border-left: 1px solid #cce2e8;
  border-right: 1px solid #cce2e8;
  padding: 8px 18px;
}
.membership-entry-benefits > span {
  font-size: 28px;
  color: var(--cyan-ink, #0e6f8c);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.membership-entry-benefits svg {
  display: block;
  width: 28px;
  height: 28px;
  margin: 0 auto 8px;
  color: var(--cyan-ink, #0e6f8c);
}
.membership-entry-benefits small {
  display: block;
  font: 500 13px/1.3 Outfit, sans-serif;
  color: var(--ink, #082f43);
}
.membership-entry-price {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  gap: 12px;
  text-align: center;
}
.membership-entry-price strong {
  white-space: nowrap;
  font: 700 19px Outfit, sans-serif;
}
.membership-entry-price .btn {
  margin: 0;
  width: 100%;
  max-width: 240px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
#join .membership-entry-price {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}
#join .membership-entry-price .btn {
  margin: 0;
  width: 100%;
  max-width: 240px;
}

@keyframes butterfly-join-nudge {
  0%, 88%, 100% {
    transform: translateX(0);
  }
  90%, 94% {
    transform: translateX(-3px);
  }
  92%, 96% {
    transform: translateX(3px);
  }
  98% {
    transform: translateX(-1px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  #join .membership-entry-price .btn {
    animation: butterfly-join-nudge 6s ease-in-out 0.72s infinite;
  }
  #join .membership-entry-price .btn:hover,
  #join .membership-entry-price .btn:focus {
    animation: none;
  }
}

/* RTL Support */
html[dir="rtl"] .membership-entry-benefits,
body.lang-ar .membership-entry-benefits {
  border-left: 1px solid #cce2e8;
  border-right: 1px solid #cce2e8;
}

@media (max-width: 991px) {
  .membership-entry-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
  .membership-entry-benefits {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid #cce2e8;
    border-bottom: 1px solid #cce2e8;
    padding: 18px 0;
    gap: 12px;
  }
}

@media (max-width: 767px) {
  .membership-entry-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px;
  }
  .membership-entry-benefits {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid #cce2e8;
    border-bottom: 1px solid #cce2e8;
    padding: 18px 0;
    gap: 10px;
  }
  .membership-entry-benefits small {
    font-size: 12px;
  }
  .membership-entry-price {
    width: 100%;
  }
  .membership-entry-price .btn {
    max-width: 100%;
  }
}

/* ==========================================================================
   About Us Page Styles (Who We Are, Our Beliefs, Our Promise, Our Founder)
   ========================================================================== */
#who-we-are {
  padding-top: clamp(20px, 2.5vw, 38px);
}
.about-page {
  background: #f3f9fb;
  color: #082f43;
}
.about-section {
  padding-block: clamp(24px, 4vw, 56px);
  scroll-margin-top: 100px;
}
.about-section + .about-section {
  border-top: 1px solid #d7e8ee;
}
.about-section p {
  max-width: 72ch;
  line-height: 1.65;
  color: var(--body, #52666f);
}
.about-grid {
  display: grid;
  align-items: center;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 56px);
}
.about-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}
.about-grid h3 {
  font-size: 1.125rem;
}
#team img {
  max-width: 400px;
}

.about-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--cyan-ink, #08749a);
}
.about-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: #217fa7;
}
.about-section h2 {
  font-size: clamp(27px, 3.4vw, 48px);
  line-height: 1.06;
  letter-spacing: -.03em;
  color: var(--brand-deep, #082f43);
  margin-bottom: 16px;
}
.about-section h2 em {
  color: #08749a;
  font-style: normal;
}
.about-grid .about-discussion {
  aspect-ratio: 2.1;
  object-fit: cover;
}
.about-beliefs {
  background: radial-gradient(ellipse at 95% 120%, #b9edf4 0 25%, transparent 26%), linear-gradient(120deg, #e4f7fa, #f5fcfd 55%, #ddf3f7);
}
.about-belief-copy {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
}
.about-belief-copy > div + div {
  border-inline-start: 1px solid #abdce6;
  padding-inline-start: clamp(16px, 4vw, 56px);
}
.about-values {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0;
  margin: 24px 0 0;
  gap: 14px;
}
.about-values li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--brand-deep, #082f43);
}
.about-values svg {
  flex: none;
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 50%;
  background: #d1f0f6;
  fill: none;
  stroke: #08749a;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.about-checks {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.about-checks li {
  position: relative;
  padding-inline-start: 28px;
  margin-bottom: 10px;
  line-height: 1.5;
  color: var(--body, #52666f);
}
.about-checks li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  background: #08749a;
  color: white;
  font-size: 12px;
  font-weight: bold;
}
.about-beliefs .about-section {
  padding-block: clamp(22px, 3vw, 42px) clamp(18px, 2.5vw, 32px);
}
.about-belief-copy p:last-child {
  margin-bottom: 0;
}
#our-promise {
  padding-top: clamp(16px, 2vw, 26px);
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
}
#team {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  background: #e2f5fa;
  border: 0;
  border-radius: 24px;
  padding: clamp(16px, 2vw, 26px);
  margin-bottom: clamp(24px, 4vw, 52px);
}
#team img {
  max-width: none;
  aspect-ratio: 1.45;
  object-fit: cover;
  object-position: center 28%;
}
#team p {
  margin: 0;
}
#team blockquote {
  margin: 16px 0 0;
  padding-inline-start: 18px;
  border-inline-start: 3px solid #187dab;
  font-style: italic;
  color: #083c53;
}
#team blockquote p {
  font-size: 15px;
  line-height: 1.6;
}
#team .about-wing {
  position: absolute;
  right: 14px;
  top: 14px;
  width: clamp(72px, 14vw, 160px);
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 0;
  opacity: .22;
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 767px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-belief-copy, #our-promise, #team {
    grid-template-columns: 1fr;
  }
  .about-belief-copy > div + div {
    border: 0;
    padding: 0;
  }
  .about-values {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #our-promise {
    gap: 16px;
  }
  .about-belief-copy {
    gap: 12px;
  }
  .about-values svg {
    width: 38px;
    height: 38px;
    padding: 8px;
  }
  #team {
    width: calc(100% - 32px);
  }
}

/* RTL Support for About Sections */
html[dir="rtl"] #team .about-wing,
body.lang-ar #team .about-wing {
  right: auto;
  left: 14px;
  transform: scaleX(-1);
}

/* ==========================================================================
   IEE CORPORATE READINESS ROADMAP
   ========================================================================== */
.iee-icon-grid {
  gap: clamp(14px, 2vw, 26px);
}
.iee-icon-grid > .card {
  --accent: #087ba4;
  --iee-wave-light: #ddf3f7;
  --iee-wave-dark: #afe4ef;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: clamp(44px, 7vw, 96px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(12px, 2vw, 26px);
  padding: clamp(16px, 2vw, 28px);
  border: 1px solid #e6f0f3;
  border-top: 7px solid var(--accent);
  border-radius: 22px;
  box-shadow: 0 12px 24px #14526d15;
}
.iee-icon-grid > .card:nth-child(2) { --accent: #0ab8be; }
.iee-icon-grid > .card:nth-child(3) { --accent: #00b8d4; }
.iee-icon-grid > .card:nth-child(4) { --accent: #82cf85; }
.iee-icon-grid > .card:nth-child(5) { --accent: #f9d46d; }
.iee-icon-grid > .card > .ic {
  display: grid;
  place-items: center;
  width: 100%;
  height: auto;
  aspect-ratio: 1.08;
  margin: 0;
  border-radius: 26%;
  background: #e3f7fa;
  color: #0b7290;
}
.iee-icon-grid > .card > .ic svg { width: 64%; height: 64%; }
.iee-card-copy h3 { margin: 0 0 10px; font-size: clamp(17px, 1.8vw, 28px); line-height: 1.12; }
.iee-card-copy p { margin: 0; font-size: clamp(14px, 1.3vw, 20px); line-height: 1.35; }

@media (min-width: 768px) {
  .iee-icon-grid > .card > .iee-card-copy {
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }
  .iee-icon-grid .iee-card-copy > p { margin-bottom: 18px; }
  .iee-icon-grid .iee-card-copy::after { margin-top: auto; }
}
.iee-card-copy::after {
  content: '';
  display: block;
  width: clamp(38px, 5vw, 70px);
  height: 6px;
  margin-top: 18px;
  border-radius: 999px;
  background: var(--accent);
}
.iee-icon-grid > .card > .iee-card-wave {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(36%, 148px);
  height: 24%;
  z-index: -1;
  pointer-events: none;
}
@media (min-width: 768px) {
  .iee-icon-grid.grid-3 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .iee-icon-grid > .card { grid-column: span 2; }
  .iee-icon-grid > .card:nth-child(4) { grid-column: 2 / span 2; }
  .iee-icon-grid > .card:nth-child(5) { grid-column: 4 / span 2; }
}
@media (max-width: 767px) {
  .iee-icon-grid.grid-3 { grid-template-columns: minmax(0, 1fr); }
}

.iee-step { display: none; }
@media (min-width: 768px) {
  section[aria-labelledby='iee-h'] {
    padding-block: 32px 62px;
    background:
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23ddf3f7' d='M0 24C250 -30 430 94 720 70S1170 -24 1440 20V80H0Z'/%3E%3Cpath fill='%23afe4ef' d='M0 33C280 -5 400 100 720 72S1120 7 1440 32V80H0Z'/%3E%3C/svg%3E") center bottom / 100% 54px no-repeat,
      linear-gradient(#f2fafc, #eef9fc);
  }
  section[aria-labelledby='iee-h'] .sec-head { margin-bottom: 24px; }
  .iee-icon-grid.grid-3 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
  }
  .iee-icon-grid.grid-3 > .card {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 24px 16px 26px;
    border-top: 1px solid #e6f0f3;
    overflow: visible;
  }
  .iee-icon-grid > .card:nth-child(4) { --accent: #149f94; }
  .iee-icon-grid > .card:nth-child(5) { --accent: #238d79; }
  .iee-step {
    display: grid;
    place-items: center;
    position: absolute;
    inset-block-start: -1px;
    inset-inline-start: -1px;
    min-width: 55px;
    height: 28px;
    background: var(--accent);
    color: white;
    border-start-start-radius: 22px;
    border-end-end-radius: 16px;
    font-weight: 800;
  }
  .iee-icon-grid > .card:not(:last-child)::after {
    content: '';
    position: absolute;
    inset-block-start: 50%;
    inset-inline-end: -21px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: #36bacb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m8 6 4 4-4 4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  [dir='rtl'] .iee-icon-grid > .card:not(:last-child)::after,
  body.lang-ar .iee-icon-grid > .card:not(:last-child)::after {
    transform: translateY(-50%) rotate(180deg);
  }
  .iee-icon-grid > .card > .ic { width: 54px; justify-self: center; }
  .iee-icon-grid .iee-card-copy h3 { font-size: clamp(16px, 1.45vw, 21px); }
  .iee-icon-grid .iee-card-copy > p { margin-bottom: 0; font-size: 14px; }
  .iee-icon-grid .iee-card-copy::after { display: none; }
  .iee-icon-grid > .card > .iee-card-wave {
    width: 60%;
    height: 18%;
    border-bottom-right-radius: 21px;
  }
}

/* ==========================================================================
   REDESIGNED IEE MEMBERSHIP (COMPARE MEMBERSHIPS)
   ========================================================================== */
#compare {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 72' preserveAspectRatio='none'%3E%3Cpath fill='%23e9f8fa' d='M0 39C180 2 310 64 560 52S960 13 1130 9 1360 12 1440 24V72H0Z'/%3E%3Cpath fill='%23b7e8ef' d='M0 54C245 24 355 78 615 66S1060 8 1240 16 1400 27 1440 31V72H0Z'/%3E%3Cpath fill='%2365bfce' d='M0 64C255 43 390 82 665 69S1105 28 1260 27 1380 36 1440 39V72H0Z'/%3E%3C/svg%3E") center bottom / 100% clamp(24px, 4vw, 52px) no-repeat,
    linear-gradient(to bottom, #ddf3f7 0, #f2faf5 56px,
    #e4f7f1 48%, #c6eff0 calc(100% - 52px), #f3f9fb 100%);
  padding-bottom: clamp(32px, 4.5vw, 60px);
}
#compare .cmp-shared {
  padding: clamp(14px, 2vw, 26px);
  margin-bottom: 28px;
  background: #d7f0f9;
  border-radius: 24px;
}
.cmp-shared-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-bottom: 14px; }
.cmp-shared-head h3 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: clamp(17px, 2vw, 26px); }
.cmp-shared-head h3 span { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 50%; background: #086b93; color: white; }
.cmp-shared-head p { margin: 0; }
.cmp-shared ul { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; padding: 0; margin: 0; list-style: none; }
.cmp-shared li { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; background: #f9fdff; font-weight: 700; line-height: 1.3; }
.cmp-shared svg, #compare .cmp-feature svg { width: 26px; height: 26px; flex: 0 0 26px; color: #086b93; }
#compare .cmp-feature { display: flex; align-items: center; gap: 12px; }
#compare .cmp tbody :is(th, td) {
  padding-block: 8px;
  line-height: 1.3;
}
#compare .cmp-feature svg {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
}

#compare .cmp thead th:first-child {
    width: 28%;
}

#compare .cmp thead th:not(:first-child) {
    width: 18%;
}

#compare .cmp thead th:nth-child(2) { background: #d2ebf8; }
#compare .cmp thead th:nth-child(3) { background: #8ccce8; }
#compare .cmp thead th:nth-child(4) { background: #08759e; color: white; }
#compare .cmp thead th:nth-child(5) { background: #084773; color: white; }
#compare .cmp thead th:nth-child(n+4) small { color: inherit; }
#compare .cmp tbody tr:nth-child(even) > * { background: #fbfdff; }
#compare .cmp tbody tr:nth-child(odd) > * { background: #ebf6fc; }
#compare .cmp tbody tr > :nth-child(4) { background: #d9eef9; }
@media (max-width: 767px) {
  .cmp-shared ul { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cmp-shared li { gap: 8px; font-size: 13px; }
}

/* ==========================================================================
   MORE WAYS TO CONNECT AND GROW
   ========================================================================== */
.iee-action-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.iee-action-cards > .card {
  --accent: #007ba5;
  --button: #006b90;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top: 8px solid var(--accent);
  box-shadow: 0 8px 24px #10394912;
  background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 62'%3E%3Cpath fill='%23ddf3f7' d='M0 62C85 62 88 0 160 0v62Z'/%3E%3Cpath fill='%23b6e5ed' d='M20 62c70 0 95-36 140-32v32Z'/%3E%3C/svg%3E") right bottom / 100px auto no-repeat;
}
.iee-action-cards > .card:nth-child(2) { --accent: #16c1c3; }
.iee-action-cards > .card:nth-child(3) { --accent: #00b8d4; }
.iee-action-cards > .card:nth-child(4) { --accent: #79d2d7; }
.iee-action-cards .iee-employer-icon { box-sizing: border-box; padding: 10px; color: #09869a; background: #ddf3f7; border-radius: 16px; }
.iee-action-cards > .card > .iee-action-icon { width: 72px; height: 72px; object-fit: contain; margin-bottom: 16px; }
.iee-action-cards > .card > .more { margin-top: auto; }
.iee-action-cards a.card > .more,
.iee-action-cards .more a,
.iee-action-cards .iee-talent-pending {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--button);
  color: white;
}
.iee-talent-pending { border: 0; font: inherit; font-weight: 700; cursor: not-allowed; }
.iee-action-cards > .card > p { margin-bottom: 16px; }
@media (min-width: 1024px) {
  section[aria-labelledby='iee-action-title'] { padding-block: 56px 44px; }
  section[aria-label='Join IEE'] { padding-block: 0 60px; }
}
.iee-action-title h2,
.iee-action-cards h3 {
  font-family: Outfit, system-ui, sans-serif;
  font-weight: 750;
  line-height: 1.1;
  letter-spacing: -.025em;
}
.iee-action-title h2 { font-size: clamp(30px, 3.1vw, 48px); color: #0b2540; }
section[aria-label='Join IEE'] .cta-band { width: 100%; max-width: none; box-sizing: border-box; margin-inline: 0; }
.iee-action-title em { color: #007f9f; font-style: normal; }
.iee-action-cards > .card { border-radius: 22px; padding: clamp(16px, 2vw, 30px); background-size: 42% auto; }
.iee-action-cards h3 { color: #0b2540; font-size: clamp(18px, 1.65vw, 25px); margin-bottom: 10px; }
.iee-action-cards > .card > p { color: #15314b; line-height: 1.35; }
@media (max-width: 767px) {
  .iee-action-title { margin-bottom: 20px; }
  .iee-action-title h2 { margin-block: 6px 10px; }
  .iee-action-title h2 em { display: block; }
  .iee-action-title > p { font-size: 16px; line-height: 1.45; }
  .iee-action-cards {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 0;
    gap: 12px;
  }
  .iee-action-cards > .card {
    --button: #217fa7;
    position: relative;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 7px 20px;
    align-items: start;
    padding: 14px;
    border: 1px solid #a7dce7;
    border-radius: 18px;
    background-size: min(38%, 125px) auto;
  }
  .iee-action-cards > .card::before {
    content: '';
    position: absolute;
    inset-block-start: 16px;
    inset-inline-start: 74px;
    width: 1px;
    height: 55px;
    background: #b6e5ed;
    pointer-events: none;
  }
  .iee-action-cards > .card > .iee-action-icon {
    grid-area: 1 / 1 / span 2;
    box-sizing: border-box;
    width: 50px;
    height: 50px;
    margin: 2px 0 0;
    padding: 7px;
    border-radius: 12px;
    background: #ddf3f7;
  }
  .iee-action-cards > .card > :is(h3, p, .more) {
    grid-column: 2;
    min-width: 0;
    margin: 0;
  }
  .iee-action-cards > .card > h3 { font-size: 20px; }
  .iee-action-cards > .card > p { font-size: 15px; }
  .iee-action-cards a.card > .more,
  .iee-action-cards .more a,
  .iee-action-cards .iee-talent-pending {
    box-sizing: border-box;
    max-width: 100%;
    justify-self: start;
    gap: 6px;
    padding-inline: 11px;
    font-size: 14px;
    line-height: 1.2;
  }
  .iee-action-cards .more svg { flex-shrink: 0; }
  .iee-action-cards :is(a, button):focus-visible {
    outline: 2px solid #0b2540;
    outline-offset: 3px;
  }
}

/* CV Registration Dialog Modal */
#cv-dialog {
  left: auto;
  right: 12px;
  margin-inline: 0;
  width: min(760px, calc(100% - 24px));
  max-height: 92dvh;
  padding: 0;
  border: 0;
  border-radius: 20px;
  color: inherit;
  background: white;
}
#cv-dialog::backdrop { background: rgba(8, 47, 67, .65); }
#cv-dialog .cv-dialog-close { display: flex; justify-content: flex-end; padding: 8px 12px; }
#cv-dialog .cv-dialog-close button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #edf6f8;
  color: #082f43;
  font-size: 24px;
  cursor: pointer;
}
#cv-dialog #register-cv { padding-block: 12px 24px; }
#cv-dialog .cv-desktop-title { display: none; }
@media (min-width: 768px) {
  #cv-dialog:modal {
    position: fixed;
    inset: 0;
    margin: auto;
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  #cv-dialog:modal .cv-dialog-close {
    position: sticky;
    top: 0;
    z-index: 2;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 24px;
    background: white;
  }
  #cv-dialog:modal .cv-desktop-title {
    display: block;
    font-size: 1.35rem;
    font-weight: 700;
  }
  #cv-dialog:modal #cv-h {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  #cv-dialog:modal #cv-consent {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    min-height: 0;
    padding: 0;
  }
}
html:has(#cv-dialog:modal) { overflow: hidden; }
html.cv-page body > :not(#cv-dialog) { display: none !important; }
html.cv-page #cv-dialog[open] {
  position: relative;
  inset: auto;
  margin: 0 auto;
  width: 100%;
  max-width: 760px;
  height: auto;
  max-height: none;
  overflow: visible;
}
@media (max-width: 767px) {
  #cv-dialog {
    position: fixed;
    inset: 0;
    margin: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    border-radius: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  #cv-dialog .cv-dialog-close {
    position: sticky;
    top: 0;
    z-index: 2;
    background: white;
  }
  #register-cv > .wrap { width: 100%; padding-inline: 16px; }
  #register-cv .form-card { padding: 16px !important; }
  #candidateCvForm .frow { grid-template-columns: minmax(0, 1fr) !important; }
  #candidateCvForm .field { min-width: 0; }
  #candidateCvForm :is(input:not([type='checkbox']), select, textarea) {
    box-sizing: border-box;
    max-width: 100%;
    min-height: 44px;
    font-size: 16px !important;
  }
  #submitCvBtn { width: 100%; min-height: 44px; justify-content: center; }
}

/* ==========================================================================
   Consultancy - Areas of Expertise Redesign
   (Matches /inclusive-employment.php "More Ways to Connect and Grow" style)
   ========================================================================== */
section[aria-labelledby="ar-h"] .areas.four {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

section[aria-labelledby="ar-h"] .area {
  --accent: #007ba5;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  min-height: 120px;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 62'%3E%3Cpath fill='%23ddf3f7' d='M0 62C85 62 88 0 160 0v62Z'/%3E%3Cpath fill='%23b6e5ed' d='M20 62c70 0 95-36 140-32v32Z'/%3E%3C/svg%3E") right bottom / 95px auto no-repeat;
  border: 1px solid #cce7ed;
  border-top: 8px solid var(--accent);
  border-radius: 22px;
  padding: 24px 22px 28px;
  box-shadow: 0 8px 24px rgba(16, 57, 73, 0.06);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
}

section[aria-labelledby="ar-h"] .area:nth-child(4n+1) {
  --accent: #007ba5;
}

section[aria-labelledby="ar-h"] .area:nth-child(4n+2) {
  --accent: #16c1c3;
}

section[aria-labelledby="ar-h"] .area:nth-child(4n+3) {
  --accent: #00b8d4;
}

section[aria-labelledby="ar-h"] .area:nth-child(4n) {
  --accent: #79d2d7;
}

section[aria-labelledby="ar-h"] .area:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(16, 57, 73, 0.12);
  border-color: #8bcbd4;
}

section[aria-labelledby="ar-h"] .area .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 28px;
  padding: 0 10px;
  border-radius: 10px;
  background: #eaf6fa;
  color: var(--accent);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

section[aria-labelledby="ar-h"] .area:hover .n {
  background: var(--accent);
  color: #ffffff;
  transform: scale(1.06);
}

section[aria-labelledby="ar-h"] .area strong {
  display: block;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  color: var(--heading-color, #0b2540);
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 0;
}

/* Responsive grid for Areas of Expertise */
@media (max-width: 1100px) {
  section[aria-labelledby="ar-h"] .areas.four {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 767px) {
  section[aria-labelledby="ar-h"] .areas.four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  section[aria-labelledby="ar-h"] .area {
    padding: 18px 16px 22px;
    border-radius: 18px;
    background-size: 78px auto;
  }
  section[aria-labelledby="ar-h"] .area strong {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  section[aria-labelledby="ar-h"] .areas.four {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

/* RTL Support for Areas of Expertise */
html[dir="rtl"] section[aria-labelledby="ar-h"] .area,
body.lang-ar section[aria-labelledby="ar-h"] .area {
  background-position: left bottom;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 62'%3E%3Cpath fill='%23ddf3f7' d='M160 62C75 62 72 0 0 0v62Z'/%3E%3Cpath fill='%23b6e5ed' d='M140 62c-70 0-95-36-140-32v32Z'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Consultation Modal Popup
   ========================================================================== */
.consult-modal:not([open]) {
  display: none !important;
}

.consult-modal[open] {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  margin: 0 !important;
  padding: 30px 20px !important;
  box-sizing: border-box !important;
  border: none !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  z-index: 1000000 !important;
}

.consult-modal::backdrop {
  background: rgba(8, 50, 74, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.consult-modal-container {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: consultModalFadeIn 0.25s ease-out;
}

@keyframes consultModalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.consult-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.consult-modal-close:hover {
  background: rgba(0, 0, 0, 0.12);
  transform: scale(1.08);
}

.consult-modal-close svg {
  width: 18px;
  height: 18px;
}

.consult-modal-body {
  padding: 36px 36px 32px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.consult-modal-body h2 {
  font-size: 1.55rem;
  margin-bottom: 6px;
  color: var(--heading-color);
}

.consult-modal-body p.consult-sub {
  color: var(--muted);
  margin-bottom: 22px;
  font-size: 0.95rem;
}

.consultation-cta{
  display: flex;
  align-items: center;
  gap: 20px;
}

.consultation-cta .cta-band{
  padding: 20px 30px;
}

@media (max-width: 991px) {
  .consultation-cta{
    display: block;
  }

  .consult-modal-trust{
    margin-top: 20px;
  }
}

.consult-modal-trust {
  padding: 16px 20px;
  background: #f4f9fb;
  border: 1px solid #d4ebf2;
  border-radius: 14px;
}

.consult-modal-trust h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.consult-modal-trust ul {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.consult-modal-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--ink);
  font-weight: 500;
}

.consult-modal-trust li svg {
  width: 17px;
  height: 17px;
  color: var(--brand);
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .consult-modal[open] {
    padding: 16px !important;
  }
  .consult-modal-container {
    max-height: 92vh;
    border-radius: 20px;
  }
  .consult-modal-body {
    padding: 26px 20px 24px;
  }
  .consult-modal-body h2 {
    font-size: 1.3rem;
  }
}

/* Scoped styling for Request a Referral modal consent checkbox */
#referralModal #refConsent {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  flex: 0 0 18px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  border: 1.5px solid var(--line) !important;
  border-radius: 4px !important;
  accent-color: var(--brand) !important;
  cursor: pointer;
  box-shadow: none !important;
}

/* ==========================================================================
   Course Booking Modal & Proper Secure Checkout Icon
   ========================================================================== */
.secure-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  font-size: 0.82rem !important;
  color: var(--muted) !important;
  margin-top: 10px !important;
  text-align: center !important;
  width: 100% !important;
}

.secure-badge svg {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  max-width: 14px !important;
  max-height: 14px !important;
  flex-shrink: 0 !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

.course-modal:not([open]) {
  display: none !important;
}

.course-modal[open] {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  margin: 0 !important;
  padding: 30px 20px !important;
  box-sizing: border-box !important;
  border: none !important;
  background: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  z-index: 1000000 !important;
}

.course-modal::backdrop {
  background: rgba(8, 50, 74, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.course-modal-container {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: 88vh;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: courseModalFadeIn 0.25s ease-out;
}

@keyframes courseModalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.course-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  border: none;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.course-modal-close:hover {
  background: rgba(0, 0, 0, 0.12);
  transform: scale(1.08);
}

.course-modal-close svg {
  width: 18px;
  height: 18px;
}

.course-modal-body {
  padding: 32px 34px 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.course-modal-body h2 {
  font-size: 1.5rem;
  color: var(--heading-color);
  margin: 0 0 4px;
}

.course-modal-body p.modal-sub {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 18px;
}

.course-modal-summary {
  background: #f4f9fb;
  border: 1.5px solid #d4ebf2;
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 20px;
}

.course-modal-summary h3 {
  font-size: 1.15rem;
  color: var(--heading-color);
  margin: 0 0 10px;
  font-weight: 700;
}

.course-modal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 0.86rem;
  color: var(--ink);
}

.course-modal-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid #d4ebf2;
  font-weight: 500;
}

.course-modal-chip strong {
  color: var(--brand-dark);
}

@media (max-width: 640px) {
  .course-modal[open] {
    padding: 16px !important;
  }
  .course-modal-container {
    max-height: 92vh;
    border-radius: 20px;
  }
  .course-modal-body {
    padding: 24px 20px 20px;
  }
  .course-modal-body h2 {
    font-size: 1.3rem;
  }
}



