/* ═══════════════════════════════════════════════
   OIG — Ocean Integrity Group  |  main.css
   Global styles · All pages
═══════════════════════════════════════════════ */

/* ── TOKENS ── */
/* Palette sourced directly from @oceanintegritygroup Instagram:
   Logo: dark-navy swoosh #0a2d4a + leaf-green #3db54a on white
   Posts: electric ocean blue, crystal clear water, lush greens, warm sunset gold */
:root {
  /* ── Brand core (from logo) ── */
  --brand-navy:   #0a2d4a;   /* logo swoosh dark navy              */
  --brand-green:  #3db54a;   /* logo leaf green                    */

  /* ── Ocean blues (from posts — BRIGHT, not dark) ── */
  --electric:     #0096c7;   /* vivid tropical ocean blue          */
  --crystal:      #48cae4;   /* clear water cyan                   */
  --sky:          #90e0ef;   /* light sky/foam blue                */
  --lagoon:       #caf0f8;   /* pale lagoon / section tint         */

  /* ── Depth (for dark sections only) ── */
  --deep:         #02223d;   /* deep underwater — used sparingly   */
  --navy:         #0a2d4a;   /* = brand-navy, dark section bg      */
  --ocean:        #0e4f7a;   /* mid-depth blue                     */

  /* ── Nature greens (from mangrove / reef posts) ── */
  --leaf:         #3db54a;   /* = brand-green                      */
  --reef-green:   #52b788;   /* mangrove / sea-grass green         */
  --green:        #52b788;   /* alias used in existing code        */

  /* ── Warm accents (from sunset post) ── */
  --gold:         #f4a261;   /* sunset amber-gold                  */
  --coral:        #e76f51;   /* warm sunset coral                  */
  --coral-lt:     #f4845f;   /* lighter coral                      */

  /* ── Neutrals ── */
  --white:        #ffffff;
  --off-white:    #f0f8ff;   /* light blue-tinted white            */
  --text-dark:    #0a2d4a;   /* navy for text on light bg          */
  --text-mid:     #2d5a7a;   /* mid-blue for subtext on light bg   */
  --sand:         #fdf6ec;   /* warm cream for alt light sections  */

  /* ── Context-aware (light theme defaults) ── */
  --muted:        rgba(10,45,74,.55);
  --border:       rgba(10,45,74,.1);
  --border-tl:    rgba(0,150,199,.25);

  /* ── Dark-section overrides (applied via .dark-section) ── */
  --dark-muted:   rgba(255,255,255,.6);
  --dark-border:  rgba(255,255,255,.1);
  --dark-btl:     rgba(72,202,228,.25);

  --font-body:    'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;

  --r-xs:  6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 40px;

  --shadow:        0 4px 24px rgba(10,45,74,.15);
  --shadow-blue:   0 0 40px rgba(0,150,199,.2);
  --shadow-green:  0 4px 20px rgba(61,181,74,.25);
  --shadow-coral:  0 4px 20px rgba(231,111,81,.3);
  --shadow-teal:   0 0 40px rgba(0,150,199,.2); /* alias */
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--white);
  color: var(--text-dark);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
em { font-family: var(--font-display); font-style: italic; color: var(--electric); }

/* Dark sections: flip all context-aware vars back to white-on-dark */
.dark-section {
  --muted:     var(--dark-muted);
  --border:    var(--dark-border);
  --border-tl: var(--dark-btl);
  color: #fff;
}

/* ── LAYOUT ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 3rem);
}
.section { position: relative; padding: clamp(5rem, 10vw, 9rem) 0; overflow: hidden; }

/* ── SECTION LABELS / TITLES ── */
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--electric);
  margin-bottom: .85rem;
}
.section-label--light { color: var(--sky); opacity: .9; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}
.section-title--white { color: #fff !important; }
.dark-section .section-title { color: #fff; }
.dark-section em { color: var(--crystal); }
.section-desc {
  max-width: 580px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.72;
}
.section-header { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-header--center { text-align: center; }
.section-header--center .section-desc { margin: 0 auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.85rem; border-radius: 50px;
  font-size: .92rem; font-weight: 700; letter-spacing: .01em;
  transition: all .25s ease; border: 2px solid transparent;
  white-space: nowrap;
}
.btn--lg  { padding: 1rem 2.25rem; font-size: .98rem; }
.btn--xl  { padding: 1.1rem 2.75rem; font-size: 1.05rem; }

/* Primary = brand leaf-green (from logo) */
.btn--primary {
  background: linear-gradient(135deg, var(--brand-green), #52c960);
  color: #fff;
  box-shadow: var(--shadow-green);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(61,181,74,.45); }

/* Coral = warm sunset CTA */
.btn--coral {
  background: linear-gradient(135deg, var(--coral), var(--coral-lt));
  color: #fff;
  box-shadow: var(--shadow-coral);
}
.btn--coral:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(231,111,81,.45); }

/* Electric blue secondary */
.btn--blue {
  background: linear-gradient(135deg, var(--electric), var(--crystal));
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.btn--blue:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,150,199,.4); }

/* Ghost on light backgrounds */
.btn--ghost {
  background: transparent; color: var(--text-dark);
  border-color: rgba(10,45,74,.25);
}
.btn--ghost:hover { border-color: var(--electric); color: var(--electric); background: rgba(0,150,199,.06); }

/* Ghost on dark backgrounds */
.btn--ghost-white {
  background: rgba(255,255,255,.1);
  color: #fff;
  border-color: rgba(255,255,255,.4);
}
.btn--ghost-white:hover { background: rgba(255,255,255,.2); border-color: #fff; }

.btn--outline-white {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.25);
}
.btn--outline-white:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 1.1rem 0;
  transition: background .4s, padding .4s, box-shadow .4s;
}
/* On hero (transparent over dark image) — white text */
.nav.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: .7rem 0;
  box-shadow: 0 1px 0 rgba(10,45,74,.1), 0 4px 20px rgba(10,45,74,.08);
}
.nav__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(1.25rem,5vw,3rem);
  display: flex; align-items: center; justify-content: space-between;
}
.nav__logo { display: flex; align-items: center; gap: .75rem; }
.nav__logo-img {
  height: 42px; width: auto;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
  flex-shrink: 0;
}
.nav__logo-mark { display: none; } /* replaced by logo image */
.nav__logo-text {
  display: flex; flex-direction: column; line-height: 1.2;
  font-size: .8rem; font-weight: 600;
  color: var(--text-mid);
}
.nav__logo-text span:first-child { color: var(--brand-navy); font-weight: 700; }

/* Hero nav: light text before scroll */
.nav:not(.scrolled) .nav__logo-text span { color: rgba(255,255,255,.85); }
.nav:not(.scrolled) .nav__logo-text span:first-child { color: #fff; }
.nav:not(.scrolled) .nav__logo-img { box-shadow: 0 2px 14px rgba(0,0,0,.32); }

.nav__links {
  display: flex; align-items: center; gap: 1.75rem; list-style: none;
}
.nav__links > li { position: relative; }
.nav__links > li > a {
  font-size: .88rem; font-weight: 500;
  color: var(--text-mid);
  transition: color .2s; display: flex; align-items: center; gap: .25rem;
}
.nav__links > li > a:hover { color: var(--electric); }
.nav:not(.scrolled) .nav__links > li > a { color: rgba(255,255,255,.82); }
.nav:not(.scrolled) .nav__links > li > a:hover { color: #fff; }
.nav__arrow { font-size: .65rem; opacity: .5; }

.nav__submenu {
  display: none;
  position: absolute; top: calc(100% + 1rem); left: 0;
  min-width: 200px; list-style: none;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(10,45,74,.1);
  border-radius: var(--r-md);
  padding: .6rem;
  box-shadow: var(--shadow);
  z-index: 50;
}
.nav__dropdown:hover .nav__submenu { display: block; }
.nav__submenu li a {
  display: block; padding: .55rem 1rem;
  font-size: .85rem; color: var(--text-mid);
  border-radius: var(--r-xs);
  transition: all .2s;
}
.nav__submenu li a:hover { color: var(--electric); background: rgba(0,150,199,.06); }

.nav__donate-btn {
  background: linear-gradient(135deg, var(--brand-green), #52c960) !important;
  color: #fff !important;
  padding: .5rem 1.25rem;
  border-radius: 50px;
  font-weight: 700 !important;
  font-size: .85rem !important;
  box-shadow: var(--shadow-green);
  transition: all .25s !important;
}
.nav__donate-btn:hover { transform: translateY(-1px) !important; box-shadow: 0 6px 20px rgba(61,181,74,.4) !important; }

.nav__hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: .4rem;
}
.nav__hamburger span { display: block; width: 24px; height: 2px; background: var(--brand-navy); border-radius: 2px; transition: all .3s; }
.nav:not(.scrolled) .nav__hamburger span { background: #fff; }

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero__bg-photo {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero__video-bg {
  position: absolute; inset: 0; z-index: 0;
  /* Fallback gradient if photo fails to load */
  background:
    radial-gradient(ellipse at 20% 40%, rgba(72,202,228,.45) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(82,183,136,.25) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 10%, rgba(0,150,199,.4)  0%, transparent 55%),
    linear-gradient(160deg, #0077b6 0%, #0096c7 30%, #00b4d8 65%, #48cae4 100%);
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(2,34,61,.62) 0%, rgba(0,80,130,.35) 45%, rgba(10,45,74,.68) 100%);
}
.hero__animated-ocean {
  position: absolute; bottom: 0; left: 0; right: 0; height: 60%; overflow: hidden; z-index: 2;
}
.ocean-layer {
  position: absolute; bottom: 0; left: -10%; width: 120%; border-radius: 50%;
}
.layer-1 { height: 320px; background: rgba(0,150,199,.15); animation: waveAnim 9s ease-in-out infinite; bottom: -80px; }
.layer-2 { height: 260px; background: rgba(72,202,228,.1); animation: waveAnim 12s ease-in-out infinite reverse; bottom: -110px; }
.layer-3 { height: 200px; background: rgba(202,240,248,.06); animation: waveAnim 15s ease-in-out infinite; bottom: -140px; }
@keyframes waveAnim {
  0%,100% { transform: translateX(0) scaleY(1); }
  50%      { transform: translateX(-4%) scaleY(1.06); }
}
.bubbles { position: absolute; inset: 0; pointer-events: none; }

.hero__content {
  position: relative; z-index: 2; text-align: center;
  max-width: 820px; padding: 0 clamp(1.25rem,5vw,3rem); padding-top: 5rem;
}
.hero__tag {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35);
  color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  padding: .45rem 1.25rem; border-radius: 50px; margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}
.hero__org-name {
  font-size: clamp(1.15rem, 3vw, 1.8rem);
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #fff;
  margin: .4rem 0 .9rem;
  display: flex;
  align-items: center;
  gap: .85rem;
}
.hero__org-name::before,
.hero__org-name::after {
  content: '';
  height: 2px;
  width: 44px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--electric), var(--crystal));
  border-radius: 2px;
  opacity: .8;
}
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 900; line-height: 1.08; color: #fff; margin-bottom: .85rem;
}
.hero__headline em {
  background: linear-gradient(135deg, #a8edea, #fed6e3, #caf0f8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  display: block; font-style: italic;
}
.hero__tagline {
  font-size: clamp(.85rem, 2vw, 1.1rem); font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.7); margin-bottom: 1.5rem;
}
.hero__sub {
  font-size: clamp(.95rem, 2vw, 1.12rem); color: rgba(255,255,255,.8);
  max-width: 640px; margin: 0 auto 2.5rem; line-height: 1.76;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center;
}

.hero__counters {
  position: relative; z-index: 2;
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 0; margin-top: 3.5rem;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.hero__counter {
  padding: 1.5rem 2.25rem; text-align: center;
  border-right: 1px solid rgba(255,255,255,.15);
}
.hero__counter:last-child { border-right: none; }
.counter-num {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 800;
  color: #fff; line-height: 1;
}
.counter-label { font-size: .72rem; font-weight: 600; color: var(--lagoon); letter-spacing: .1em; text-transform: uppercase; margin-top: .4rem; }

.hero__scroll {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(244,250,255,.3);
}
.hero__scroll-dot {
  width: 6px; height: 6px; background: var(--crystal); border-radius: 50%;
  animation: scrollBounce 2s ease infinite;
}
@keyframes scrollBounce { 0%,100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(6px); opacity: 1; } }

/* reveal animations */
.reveal-hero { opacity: 0; transform: translateY(22px); }
.reveal-hero.visible { animation: fadeUp .8s ease forwards; }
.reveal-hero.delay-1.visible { animation-delay: .15s; }
.reveal-hero.delay-2.visible { animation-delay: .3s; }
.reveal-hero.delay-3.visible { animation-delay: .45s; }
.reveal-hero.delay-4.visible { animation-delay: .6s; }
.reveal-hero.delay-5.visible { animation-delay: .75s; }

.reveal-scroll { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal-scroll.visible { opacity: 1; transform: translateY(0); }
.reveal-scroll.delay-1 { transition-delay: .12s; }
.reveal-scroll.delay-2 { transition-delay: .24s; }
.reveal-scroll.delay-3 { transition-delay: .36s; }
.reveal-scroll.delay-4 { transition-delay: .48s; }
.reveal-scroll.delay-5 { transition-delay: .6s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }

/* ── TRUST / SPONSOR BAR ── */
.trust-bar {
  display: flex; align-items: center; gap: 2rem;
  background: var(--off-white); border-top: 1px solid rgba(10,45,74,.08); border-bottom: 1px solid rgba(10,45,74,.08);
  padding: 1.1rem 0; overflow: hidden;
}
.trust-bar__label {
  white-space: nowrap; font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(10,45,74,.4);
  padding: 0 2rem;
  border-right: 1px solid rgba(10,45,74,.1); flex-shrink: 0;
}
.trust-bar__logos { overflow: hidden; flex: 1; }
.trust-bar__track {
  display: flex; gap: 3rem; white-space: nowrap;
  animation: sponsorScroll 28s linear infinite;
}
.sponsor-logo {
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  color: rgba(10,45,74,.3); flex-shrink: 0;
  transition: color .2s;
}
.sponsor-logo:hover { color: var(--electric); }
@keyframes sponsorScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── MISSION SECTION ── */
.mission-section { background: var(--white); }
.mission-section__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem,7vw,6rem); align-items: center;
}
.mission-section__text p { color: var(--text-mid); margin-bottom: 1.25rem; font-size: 1.025rem; line-height: 1.76; }
.mission-section__stats {
  display: flex; gap: 2rem; margin: 2rem 0; flex-wrap: wrap;
}
.ms-stat__num {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--electric); line-height: 1;
}
.ms-stat__label { font-size: .78rem; color: var(--text-mid); margin-top: .25rem; max-width: 120px; line-height: 1.3; }
.trust-badges { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.5rem 0 2rem; }
.trust-badge {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-green); background: rgba(61,181,74,.08); border: 1px solid rgba(61,181,74,.25);
  padding: .3rem .8rem; border-radius: 50px;
}

/* Mission card stack */
.mission-card-stack { position: relative; width: 100%; max-width: 420px; height: 340px; }
.mcard {
  position: absolute; left: 0; right: 0; padding: 1.5rem;
  background: var(--brand-navy); border: 1px solid rgba(72,202,228,.25);
  border-radius: var(--r-lg); backdrop-filter: blur(20px);
  transition: transform .4s ease;
}
.mcard--back  { top: 0; transform: rotate(-4deg) translateY(0); opacity: .45; }
.mcard--mid   { top: 20px; transform: rotate(-2deg); opacity: .72; }
.mcard--front { top: 40px; transform: none; box-shadow: var(--shadow-blue); background: #0e3f6a; }
.mcard__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.mcard__label  { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.mcard__id     { font-size: .72rem; color: var(--crystal); font-weight: 600; }
.mcard__loc    { font-size: .95rem; font-weight: 600; color: #fff; margin-bottom: .25rem; }
.mcard__date   { font-size: .78rem; color: rgba(255,255,255,.55); margin-bottom: 1rem; }
.mcard__metrics-row { display: flex; gap: 1.5rem; margin-bottom: 1rem; }
.mcard__metric-val { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: #fff; }
.mcard__metric-key { font-size: .68rem; color: rgba(255,255,255,.5); margin-top: .15rem; }
.mcard__metric { font-size: .9rem; font-weight: 600; color: var(--sky); }
.mcard__badge  { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  color: var(--brand-green); background: rgba(61,181,74,.15); border: 1px solid rgba(61,181,74,.3); padding: .3rem .75rem; border-radius: 50px; margin-bottom: 1rem; }
.mcard__progress-label { font-size: .72rem; color: rgba(255,255,255,.5); margin-bottom: .4rem; }
.mcard__progress-bar { height: 5px; background: rgba(255,255,255,.1); border-radius: 50px; overflow: hidden; }
.mcard__progress-fill { height: 100%; background: linear-gradient(90deg, var(--brand-green), #7cd97f); border-radius: 50px; }

/* ── HOW IT WORKS ── */
.how-it-works { overflow: visible; }
.how-bg { position: absolute; inset: 0; background: linear-gradient(160deg, var(--brand-navy) 0%, var(--deep) 100%); z-index: -1; }
.how-steps { display: flex; align-items: flex-start; gap: 0; }
.how-step {
  flex: 1; text-align: center; padding: 2.5rem 1.5rem;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--r-lg);
  transition: all .3s;
}
.how-step:hover { background: rgba(0,150,199,.15); border-color: rgba(72,202,228,.3); transform: translateY(-4px); }
.how-step__num { font-size: 3rem; font-weight: 900; color: rgba(255,255,255,.05); font-family: var(--font-display); line-height: 1; margin-bottom: -.5rem; }
.how-step__icon { font-size: 2.5rem; margin-bottom: 1rem; }
.how-step h3 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: .75rem; }
.how-step p { font-size: .9rem; color: rgba(255,255,255,.65); line-height: 1.7; }
.how-connector { flex-shrink: 0; width: 2rem; display: flex; align-items: center; justify-content: center; padding-top: 5rem; color: rgba(72,202,228,.5); font-size: 1.5rem; }
.how-connector::after { content: '→'; }

/* ── IMPACT BAND ── */
/* Uses vibrant electric blue gradient — matches the bright water in OIG posts */
.impact-band { background: linear-gradient(135deg, #0077b6 0%, #0096c7 40%, #00b4d8 70%, #48cae4 100%); padding: 5rem 0; }
.impact-band__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; }
.ib-stat { text-align: center; padding: 2rem 1rem; border-right: 1px solid rgba(255,255,255,.18); }
.ib-stat:last-child { border-right: none; }
.ib-stat__num { font-family: var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; color: #fff; line-height: 1; margin-bottom: .5rem; }
.ib-stat__label { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* ── MAP SECTION ── */
.map-section { background: var(--off-white); }
.world-map-wrap { margin: 3rem 0; overflow: hidden; }
.world-map {
  position: relative; height: 420px;
  background: linear-gradient(180deg, #0077b6 0%, #0096c7 50%, #00b4d8 100%),
              repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255,255,255,.06) 39px, rgba(255,255,255,.06) 40px),
              repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255,255,255,.06) 39px, rgba(255,255,255,.06) 40px);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.map-overlay-text { position: absolute; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.25); pointer-events: none; }

.map-dot {
  position: absolute; cursor: pointer;
}
.map-dot::before {
  content: ''; display: block; width: 12px; height: 12px; border-radius: 50%;
  background: var(--crystal); border: 2px solid rgba(255,255,255,.6);
  box-shadow: 0 0 12px rgba(72,202,228,.7);
  animation: mapPulse 3s ease-in-out infinite;
}
.map-dot--active::before { background: #fff; box-shadow: 0 0 14px rgba(255,255,255,.7); animation: mapPulse 2s ease-in-out infinite; }

/* ── Concern dots (Areas of Concern — orange/red) ── */
.map-dot--concern::before {
  background: #ff6b35;
  border-color: rgba(255,255,255,.8);
  box-shadow: 0 0 12px rgba(255,107,53,.9);
  animation: mapPulse 1.8s ease-in-out infinite;
  width: 14px; height: 14px;
  margin-top: -1px; margin-left: -1px;
}
.map-dot--concern.map-dot--flagship::before {
  background: #ffd700;
  box-shadow: 0 0 18px rgba(255,215,0,.9);
  width: 16px; height: 16px;
  margin-top: -2px; margin-left: -2px;
}
.map-dot--concern .map-dot__pulse { border-color: rgba(255,107,53,.6); }
.map-dot--concern.map-dot--flagship .map-dot__pulse { border-color: rgba(255,215,0,.7); }
.map-dot__rank {
  position: absolute;
  top: -9px; left: 50%;
  transform: translateX(-50%);
  background: #ff6b35;
  color: #fff;
  font-size: .55rem;
  font-weight: 800;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 3px;
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: .03em;
}
.map-dot--flagship .map-dot__rank {
  background: #ffd700;
  color: #1a0800;
}

/* ── Map Legend ── */
.map-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: .75rem 0 .25rem;
}
.map-legend__item {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .72rem;
  font-weight: 600;
  color: rgba(10,45,74,.55);
  letter-spacing: .04em;
}
.map-legend__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.map-legend__dot--ops   { background: #fff; border: 2px solid rgba(0,150,199,.5); box-shadow: 0 0 6px rgba(0,180,216,.5); }
.map-legend__dot--concern { background: #ff6b35; box-shadow: 0 0 6px rgba(255,107,53,.5); }
.map-legend__dot--flagship { background: #ffd700; box-shadow: 0 0 6px rgba(255,215,0,.6); }

/* ── Tooltip link ── */
.map-tooltip a {
  display: inline-block;
  margin-top: .35rem;
  font-size: .65rem;
  font-weight: 700;
  color: #00b4d8;
  text-decoration: none;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.map-dot__pulse {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5); opacity: 0;
  animation: ripple 2.5s ease-out infinite;
}
.map-dot--active .map-dot__pulse { border-color: rgba(255,255,255,.7); }
.map-tooltip {
  display: none; position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  background: rgba(3,29,53,.97); border: 1px solid var(--border-tl); border-radius: var(--r-sm);
  padding: .6rem .9rem; font-size: .75rem; color: var(--white); white-space: nowrap;
  box-shadow: var(--shadow); pointer-events: none; line-height: 1.5;
}
.map-dot:hover .map-tooltip { display: block; }
@keyframes mapPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.3); } }
@keyframes ripple { 0% { transform: translate(-50%,-50%) scale(.8); opacity: .8; } 100% { transform: translate(-50%,-50%) scale(3); opacity: 0; } }

.map-section__cta { display: flex; gap: 1rem; justify-content: center; padding-top: 1rem; }

/* ── BEFORE / AFTER ── */
.gallery-section { overflow: visible; }
.gallery-bg { position: absolute; inset: 0; background: linear-gradient(160deg, var(--brand-navy) 0%, var(--deep) 100%); z-index: -1; }
.ba-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.ba-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); overflow: hidden; transition: transform .3s; }
.ba-card:hover { transform: translateY(-5px); }
.ba-card__images { display: grid; grid-template-columns: 1fr 1fr; height: 180px; }
.ba-card__img { position: relative; overflow: hidden; }
.ba-placeholder { width: 100%; height: 100%; }
.before-placeholder { background: linear-gradient(135deg, #2a1810 0%, #4a2820 50%, #3a2015 100%); }
.after-placeholder  { background: linear-gradient(135deg, #0a3a2a 0%, #0d5c3a 50%, #0a4a30 100%); }
.ba-sim { width: 100%; height: 100%; }
.before-sim { background: radial-gradient(circle at 30% 60%, #6b3a28 20%, transparent 50%), radial-gradient(circle at 70% 30%, #5a2f1e 15%, transparent 45%), radial-gradient(circle at 50% 80%, #4a2518 25%, transparent 55%); }
.after-sim  { background: radial-gradient(ellipse at 50% 80%, rgba(0,150,199,.3) 0%, transparent 60%); }
.ba-card__label {
  position: absolute; top: .6rem; left: .6rem;
  font-size: .65rem; font-weight: 800; letter-spacing: .15em;
  background: rgba(1,15,30,.8); color: var(--white); padding: .25rem .6rem; border-radius: 50px;
}
.ba-card__img--after .ba-card__label { color: var(--green); }
.ba-card__info { padding: 1rem 1.25rem; }
.ba-card__loc { font-size: .9rem; font-weight: 600; color: var(--white); margin-bottom: .3rem; }
.ba-card__stat { font-size: .78rem; color: var(--muted); }

/* ── TRANSPARENCY ── */
.transparency-section { background: var(--off-white); }
.transparency-section__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.transparency-section__text p { color: var(--text-mid); margin-bottom: 1.25rem; font-size: 1rem; line-height: 1.75; }

.fund-breakdown { margin: 2rem 0; display: flex; flex-direction: column; gap: 1.25rem; }
.fund-item__bar-wrap { margin-bottom: .5rem; }
.fund-item__bar { height: 8px; background: rgba(10,45,74,.1); border-radius: 50px; overflow: hidden; }
.fund-item__fill { height: 100%; width: 0; border-radius: 50px; background: linear-gradient(90deg, var(--electric), var(--crystal)); transition: width 1.4s ease; }
.fund-item__fill--2 { background: linear-gradient(90deg, var(--brand-green), #7cd97f); }
.fund-item__fill--3 { background: linear-gradient(90deg, var(--gold), #f9c784); }
.fund-item__info { display: flex; justify-content: space-between; }
.fund-item__label { font-size: .85rem; color: var(--text-mid); }
.fund-item__pct { font-size: .85rem; font-weight: 700; color: var(--text-dark); }

.donut-chart-wrap { position: relative; display: flex; align-items: center; justify-content: center; }
.donut-center { position: absolute; text-align: center; }
.donut-pct { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: var(--text-dark); line-height: 1; }
.donut-label { font-size: .75rem; color: var(--text-mid); letter-spacing: .08em; margin-top: .2rem; }

/* ── DONATE CTA ── */
.donate-cta { overflow: hidden; }
/* Warm golden-green gradient — inspired by the sunset cleanup post + brand green */
.donate-cta__bg { position: absolute; inset: 0; background:
  radial-gradient(ellipse at 50% 0%, rgba(244,162,97,.35) 0%, transparent 60%),
  radial-gradient(ellipse at 20% 80%, rgba(61,181,74,.2) 0%, transparent 55%),
  linear-gradient(180deg, var(--brand-navy) 0%, #0a3a5c 100%);
  z-index: -1; }
.donate-cta__inner { text-align: center; max-width: 700px; margin: 0 auto; }
.donate-cta__title { font-family: var(--font-display); font-size: clamp(2.25rem, 5vw, 3.75rem); color: #fff; line-height: 1.12; margin-bottom: 1.25rem; }
.donate-cta__sub { color: rgba(255,255,255,.7); font-size: 1.05rem; line-height: 1.75; margin-bottom: 2.5rem; }

.donate-amounts { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.25rem; }
.amount-btn {
  padding: .7rem 1.4rem; background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.2);
  color: #fff; border-radius: 50px; font-size: .92rem; font-weight: 600;
  transition: all .2s;
}
.amount-btn:hover, .amount-btn--active { background: rgba(61,181,74,.2); border-color: var(--brand-green); color: #fff; }
.amount-btn--featured { border-color: var(--brand-green); color: #fff; background: rgba(61,181,74,.18); }
.amount-btn--custom { border-style: dashed; }

.donate-impact-label { font-size: .88rem; color: rgba(255,255,255,.6); margin-bottom: 2rem; }
.donate-impact-label strong { color: #7cd97f; }
.donate-cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1rem; }
.donate-cta__note { font-size: .75rem; color: rgba(255,255,255,.3); letter-spacing: .06em; }

/* ── PROGRAMS PREVIEW ── */
/* Light section — vibrant cards on white, navy text */
.programs-preview { background: var(--off-white); }
.programs-preview__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.prog-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 2rem 1.75rem;
  transition: all .3s; cursor: pointer;
  box-shadow: 0 2px 12px rgba(10,45,74,.06);
}
.prog-card:hover { background: var(--white); border-color: var(--electric); transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,150,199,.15); }
.prog-card--featured { background: linear-gradient(160deg, rgba(0,150,199,.06), rgba(72,202,228,.04)); border-color: rgba(0,150,199,.3); box-shadow: var(--shadow-blue); }
.prog-card__icon { font-size: 2.25rem; margin-bottom: 1rem; }
.prog-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-dark); margin-bottom: .65rem; }
.prog-card p { font-size: .9rem; color: var(--text-mid); line-height: 1.68; flex: 1; }
.prog-card__link { margin-top: 1.25rem; font-size: .85rem; font-weight: 700; color: var(--electric); }

/* ── TESTIMONIALS ── */
/* Dark section — electric-ocean-to-navy gradient, white text */
.testimonials-section { overflow: hidden; }
.test-bg { position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(0,150,199,.25) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(61,181,74,.15) 0%, transparent 50%),
    linear-gradient(160deg, var(--ocean) 0%, var(--brand-navy) 100%);
  z-index: -1; }
.testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.testimonial {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg); padding: 2rem 1.75rem;
  transition: border-color .3s, box-shadow .3s;
}
.testimonial:hover { border-color: rgba(72,202,228,.3); box-shadow: 0 6px 28px rgba(0,150,199,.12); }
.testimonial__quote { font-size: .97rem; line-height: 1.75; color: rgba(255,255,255,.82); margin-bottom: 1.5rem; font-style: italic; }
.testimonial__author { display: flex; align-items: center; gap: .85rem; }
.testimonial__avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--electric), var(--crystal)); display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 700; color: var(--brand-navy); flex-shrink: 0; }
.testimonial__name { font-weight: 700; font-size: .92rem; color: #fff; }
.testimonial__role { font-size: .75rem; color: rgba(255,255,255,.55); margin-top: .15rem; }

/* ── EVENTS PREVIEW ── */
/* Light section — white cards on off-white, electric blue accents */
.events-preview { background: var(--white); }
.events-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-bottom: 2rem; }
.event-card {
  display: flex; align-items: flex-start; gap: 1.25rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.75rem; transition: all .3s;
  box-shadow: 0 2px 12px rgba(10,45,74,.06);
}
.event-card:hover { border-color: var(--electric); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,150,199,.12); }
.event-card__date { flex-shrink: 0; text-align: center; background: rgba(0,150,199,.08); border: 1px solid rgba(0,150,199,.2); border-radius: var(--r-md); padding: .75rem 1rem; min-width: 60px; }
.event-card__day { display: block; font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; color: var(--brand-navy); line-height: 1; }
.event-card__month { display: block; font-size: .65rem; font-weight: 700; letter-spacing: .12em; color: var(--electric); text-transform: uppercase; }
.event-card__type { display: inline-block; font-size: .67rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 50px; margin-bottom: .6rem; }
.beach-cleanup { background: rgba(0,150,199,.1); color: var(--electric); }
.gala { background: rgba(244,162,97,.12); color: #c97a2e; }
.workshop { background: rgba(61,181,74,.1); color: #2a8f38; }
.virtual { background: rgba(72,202,228,.1); color: #0082a8; }
.corporate { background: rgba(10,45,74,.07); color: var(--text-mid); }
.event-card__content { flex: 1; }
.event-card__content h4 { font-size: .97rem; font-weight: 700; color: var(--text-dark); margin-bottom: .45rem; }
.event-card__content p { font-size: .85rem; color: var(--text-mid); line-height: 1.6; margin-bottom: .7rem; }
.event-card__meta { font-size: .77rem; color: rgba(10,45,74,.4); }
.event-card__cta { flex-shrink: 0; font-size: .78rem; font-weight: 700; color: var(--electric); background: rgba(0,150,199,.08); border: 1px solid rgba(0,150,199,.22); padding: .4rem .9rem; border-radius: 50px; white-space: nowrap; transition: all .2s; }
.event-card__cta:hover { background: rgba(0,150,199,.15); border-color: var(--electric); }
.events-preview__more { text-align: center; }

/* ── PRESS ── */
/* Light neutral section — subtle on off-white */
.press-section { background: var(--off-white); padding: 4rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.press-logos { display: flex; gap: 2.5rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }
.press-logo { font-size: 1rem; font-weight: 800; letter-spacing: .06em; color: rgba(10,45,74,.28); transition: color .2s; }
.press-logo:hover { color: var(--electric); }

/* ── NEWSLETTER ── */
/* Vibrant electric-blue band — eye-catching CTA strip */
.newsletter-section { padding: 4rem 0; background: linear-gradient(135deg, #0077b6 0%, var(--electric) 50%, var(--crystal) 100%); }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--r-xl); padding: 2.5rem 3rem;
  backdrop-filter: blur(16px); }
.newsletter__text h3 { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: .4rem; }
.newsletter__text p { font-size: .9rem; color: rgba(255,255,255,.8); }
.newsletter__form { display: flex; gap: .75rem; flex-shrink: 0; }
.newsletter__input { background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.45); color: #fff; padding: .85rem 1.5rem; border-radius: 50px; font-size: .9rem; min-width: 280px; outline: none; transition: border-color .2s, background .2s; font-family: inherit; }
.newsletter__input:focus { border-color: #fff; background: rgba(255,255,255,.26); }
.newsletter__input::placeholder { color: rgba(255,255,255,.6); }

/* ── FOOTER ── */
/* Deep brand-navy — kept dark for authority and contrast */
.footer { background: var(--deep); padding: clamp(3.5rem,8vw,6rem) 0 2rem; border-top: 1px solid rgba(0,150,199,.2); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3.5rem; }
.footer__logo-mark { display: none; } /* replaced by logo image */
.footer__logo-img { height: 64px; width: auto; border-radius: 50%; background: #fff; padding: 5px; box-shadow: 0 4px 18px rgba(0,0,0,.3); margin-bottom: 1rem; }
.footer__org { font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.82); margin-bottom: .75rem; }
.footer__mission { font-size: .85rem; font-weight: 700; letter-spacing: .12em; color: var(--crystal); margin-bottom: .4rem; }
.footer__sub { font-size: .77rem; color: rgba(255,255,255,.38); margin-bottom: .25rem; }
.footer__founded { font-size: .75rem; color: rgba(255,255,255,.25); margin-bottom: 1.25rem; }
.footer__social { display: flex; gap: .6rem; }
.footer__soc-link { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-sm); font-size: .95rem; transition: all .2s; }
.footer__soc-link:hover { background: rgba(0,150,199,.2); border-color: var(--electric); transform: translateY(-2px); }
.footer__col h4 { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.32); margin-bottom: 1.25rem; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer__col ul a { font-size: .86rem; color: rgba(255,255,255,.5); transition: color .2s; }
.footer__col ul a:hover { color: var(--crystal); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.75rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer__legal { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.footer__legal span, .footer__legal a { font-size: .78rem; color: rgba(255,255,255,.28); }
.footer__legal a:hover { color: var(--crystal); }
.footer__certifications { display: flex; gap: .65rem; }
.cert-badge { font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-green); background: rgba(61,181,74,.12); border: 1px solid rgba(61,181,74,.25); padding: .25rem .7rem; border-radius: 50px; }

/* ── INNER PAGE HEADER ── */
/* Vibrant electric ocean gradient — matches homepage hero tone for inner pages */
.page-hero {
  position: relative; padding: 10rem 0 5rem;
  background:
    radial-gradient(ellipse at 30% 0%, rgba(72,202,228,.45) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 80%, rgba(61,181,74,.18) 0%, transparent 50%),
    linear-gradient(160deg, #0077b6 0%, #0096c7 45%, #00b4d8 80%, #1a6ea8 100%);
  text-align: center; overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2,34,61,.35) 0%, rgba(10,45,74,.5) 100%); }
.page-hero__content { position: relative; z-index: 1; }
.page-hero__breadcrumb { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 1rem; }
.page-hero__breadcrumb a { color: var(--sky); }
.page-hero__breadcrumb a:hover { color: #fff; }
.page-hero__title { font-family: var(--font-display); font-size: clamp(2.5rem,6vw,4.5rem); font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 1rem; }
.page-hero__title em { color: var(--lagoon); }
.page-hero__sub { font-size: 1.1rem; color: rgba(255,255,255,.75); max-width: 600px; margin: 0 auto; line-height: 1.75; }

/* ── FORM STYLES ── */
/* Two contexts: dark forms (inside dark sections) and light forms (inside light sections) */
.form-group { display: flex; flex-direction: column; gap: .5rem; margin-bottom: 1.25rem; }
.form-label { font-size: .82rem; font-weight: 600; color: var(--text-mid); letter-spacing: .04em; }

/* Light form (default — for white/off-white sections) */
.form-input, .form-select, .form-textarea {
  background: var(--white); border: 1.5px solid var(--border);
  color: var(--text-dark); padding: .85rem 1.2rem; border-radius: var(--r-md);
  font-size: .92rem; font-family: inherit; outline: none; transition: border-color .2s, box-shadow .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--electric); box-shadow: 0 0 0 3px rgba(0,150,199,.12);
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(10,45,74,.35); }
.form-select { appearance: none; cursor: pointer; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

/* Dark form override (inside .dark-section) */
.dark-section .form-label { color: rgba(255,255,255,.7); }
.dark-section .form-input,
.dark-section .form-select,
.dark-section .form-textarea {
  background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: #fff;
}
.dark-section .form-input:focus,
.dark-section .form-select:focus,
.dark-section .form-textarea:focus { border-color: var(--crystal); box-shadow: 0 0 0 3px rgba(72,202,228,.15); }
.dark-section .form-input::placeholder,
.dark-section .form-textarea::placeholder { color: rgba(255,255,255,.3); }

/* ── TABS ── */
.tabs { display: flex; gap: .5rem; border-bottom: 1px solid var(--border); margin-bottom: 2.5rem; }
.tab-btn { padding: .85rem 1.5rem; background: none; border: none; color: var(--muted); font-size: .9rem; font-weight: 600; border-bottom: 2px solid transparent; transition: all .2s; cursor: pointer; text-decoration: none; display: inline-block; }
.tab-btn.active, .tab-btn:hover { color: var(--electric); border-bottom-color: var(--electric); }
/* Dark context tabs */
.dark-section .tabs { border-bottom-color: rgba(255,255,255,.12); }
.dark-section .tab-btn { color: rgba(255,255,255,.55); }
.dark-section .tab-btn.active, .dark-section .tab-btn:hover { color: var(--crystal); border-bottom-color: var(--crystal); }

/* ── CARD GRID ── */
.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 2rem; transition: all .3s;
  box-shadow: 0 2px 12px rgba(10,45,74,.06);
}
.card:hover { border-color: var(--electric); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,150,199,.12); }
/* Dark card variant */
.dark-section .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.dark-section .card:hover { border-color: rgba(72,202,228,.35); box-shadow: 0 8px 28px rgba(0,150,199,.15); }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .impact-band__grid { grid-template-columns: repeat(3,1fr); }
  .ib-stat:nth-child(3) { border-right: none; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1/-1; }
}
@media (max-width: 900px) {
  .mission-section__grid,
  .transparency-section__grid { grid-template-columns: 1fr; }
  .how-steps { flex-direction: column; }
  .how-connector { transform: rotate(90deg); width: 100%; height: 2rem; }
  .ba-gallery { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .programs-preview__grid { grid-template-columns: repeat(2,1fr); }
  .events-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2,1fr); }
  .hero__counters { border-radius: var(--r-lg); }
  .hero__counter { padding: 1.25rem 1.5rem; }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0; z-index: 99;
    background: rgba(10,45,74,.97); backdrop-filter: blur(24px);
    align-items: center; justify-content: center; gap: 2rem;
  }
  .nav__links.open > li > a { font-size: 1.4rem; color: #fff !important; }
  .nav__submenu { position: static; display: none; background: transparent; border: none; padding: .5rem 0 0 1rem; }
  .nav__dropdown.open .nav__submenu { display: block; }
  .nav__hamburger { display: flex; z-index: 101; }

  .programs-preview__grid { grid-template-columns: 1fr; }
  .newsletter-inner { flex-direction: column; }
  .newsletter__input { min-width: auto; width: 100%; }
  .newsletter__form { flex-direction: column; width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .trust-bar { flex-direction: column; gap: .5rem; }
  .trust-bar__label { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: .5rem; }
}
@media (max-width: 580px) {
  .impact-band__grid { grid-template-columns: repeat(2,1fr); }
  .ib-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .hero__actions { flex-direction: column; align-items: center; }
  .hero__counters { flex-direction: column; }
  .hero__counter { border-right: none; border-bottom: 1px solid var(--border); }
  .card-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
}

/* ═══════════════════════════════════════════════
   PHOTO-RICH COMPONENTS — added in retheme v2
═══════════════════════════════════════════════ */

/* ── MISSION PHOTO (replaces card-stack) ── */
.mission-photo-wrap {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-blue); max-width: 480px; width: 100%;
}
.mission-photo-wrap img {
  width: 100%; height: 420px; object-fit: cover; display: block;
}
.mission-photo-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem;
  background: rgba(10,45,74,.92); backdrop-filter: blur(14px);
  border: 1px solid rgba(72,202,228,.3); border-radius: var(--r-md);
  padding: 1rem 1.5rem; display: flex; gap: 0;
}
.mpb-stat {
  flex: 1; text-align: center;
  border-right: 1px solid rgba(255,255,255,.12);
}
.mpb-stat:last-child { border-right: none; }
.mpb-num {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  color: #fff; line-height: 1;
}
.mpb-label { font-size: .65rem; color: rgba(255,255,255,.5); margin-top: .25rem; letter-spacing: .06em; text-transform: uppercase; }

/* ── PROG-CARD PHOTO HEADER ── */
.prog-card__photo {
  height: 170px;
  margin: -2rem -1.75rem 1.5rem;
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--off-white);
  flex-shrink: 0;
}
.prog-card__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.prog-card:hover .prog-card__photo img { transform: scale(1.06); }

/* ── IMPACT PHOTO STRIP ── */
.impact-photo-strip {
  position: relative; height: 460px; overflow: hidden;
}
.impact-photo-strip__img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.7) saturate(1.15);
}
.impact-photo-strip__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(2,34,61,.72) 0%, rgba(0,80,130,.45) 60%, rgba(10,45,74,.2) 100%);
  display: flex; align-items: center;
}
.impact-photo-strip__content { position: relative; z-index: 1; max-width: 780px; }
.impact-photo-strip__label {
  font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--crystal); margin-bottom: 1.25rem; display: block;
}
.impact-photo-strip__quote {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 800;
  color: #fff; line-height: 1.18; margin-bottom: 1.25rem;
}
.impact-photo-strip__attr {
  font-size: .9rem; color: rgba(255,255,255,.72);
  display: flex; align-items: center; gap: .85rem;
}
.impact-photo-strip__attr::before {
  content: ''; display: block; width: 40px; height: 2px;
  background: linear-gradient(90deg, var(--electric), var(--crystal));
  flex-shrink: 0;
}

/* ── TECHNOLOGY SHOWCASE ── */
.tech-showcase { background: var(--brand-navy); }
.tech-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.tech-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-xl); overflow: hidden; transition: all .35s;
}
.tech-card:hover {
  border-color: rgba(72,202,228,.4); transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,150,199,.18);
}
.tech-card__photo { height: 220px; overflow: hidden; position: relative; }
.tech-card__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s ease;
}
.tech-card:hover .tech-card__photo img { transform: scale(1.06); }
.tech-card__photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(10,45,74,.75) 100%);
}
.tech-card__photo-badge {
  position: absolute; top: 1rem; left: 1rem;
  font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  background: var(--brand-green); color: #fff;
  padding: .3rem .85rem; border-radius: 50px;
}
.tech-card__body { padding: 1.75rem 2rem; }
.tech-card__num {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: .35rem;
}
.tech-card__title { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: .65rem; }
.tech-card__desc { font-size: .9rem; color: rgba(255,255,255,.62); line-height: 1.7; margin-bottom: 1rem; }
.tech-card__stat {
  font-size: .8rem; font-weight: 700; color: var(--crystal);
  display: flex; align-items: center; gap: .5rem;
}
.tech-card__stat::before { content: '→'; color: var(--brand-green); }

/* ── STORIES FROM THE FIELD ── */
.stories-section { background: var(--white); }
.stories-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.story-card {
  background: var(--white); border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--border); transition: all .3s;
  box-shadow: 0 2px 14px rgba(10,45,74,.06);
  display: flex; flex-direction: column;
}
.story-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(10,45,74,.12); border-color: var(--electric); }
.story-card__photo { height: 230px; overflow: hidden; position: relative; flex-shrink: 0; }
.story-card__photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s ease;
}
.story-card:hover .story-card__photo img { transform: scale(1.06); }
.story-card__tag {
  position: absolute; top: 1rem; left: 1rem;
  font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  background: rgba(10,45,74,.88); color: #fff;
  padding: .3rem .8rem; border-radius: 50px; backdrop-filter: blur(6px);
}
.story-card__body { padding: 1.6rem 1.75rem; flex: 1; display: flex; flex-direction: column; }
.story-card__category {
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--electric); margin-bottom: .55rem;
}
.story-card__title {
  font-family: var(--font-display); font-size: 1.15rem; font-weight: 700;
  color: var(--text-dark); line-height: 1.32; margin-bottom: .65rem;
}
.story-card__desc { font-size: .88rem; color: var(--text-mid); line-height: 1.68; margin-bottom: 1rem; flex: 1; }
.story-card__link {
  font-size: .82rem; font-weight: 700; color: var(--electric);
  display: inline-flex; align-items: center; gap: .4rem; margin-top: auto;
  transition: gap .2s;
}
.story-card:hover .story-card__link { gap: .65rem; }

/* ── THREE PURPOSE PILLARS ── */
.pillars-section { overflow: hidden; }
.pillars-bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--brand-navy) 0%, var(--deep) 100%);
  z-index: -1;
}
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.pillar-card {
  border-radius: var(--r-xl); overflow: hidden; position: relative;
  height: 440px; transition: transform .4s;
}
.pillar-card:hover { transform: scale(1.02); }
.pillar-card__photo { position: absolute; inset: 0; }
.pillar-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s; }
.pillar-card:hover .pillar-card__photo img { transform: scale(1.08); }
.pillar-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,45,74,.1) 0%, rgba(10,45,74,.88) 65%, rgba(10,45,74,.96) 100%);
}
.pillar-card__content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem 2rem 2.25rem;
}
.pillar-card__icon { font-size: 2.5rem; margin-bottom: .85rem; display: block; }
.pillar-card__title {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  color: #fff; margin-bottom: .5rem; line-height: 1.2;
}
.pillar-card__desc { font-size: .88rem; color: rgba(255,255,255,.72); line-height: 1.65; margin-bottom: 1rem; }
.pillar-card__stat { font-size: .78rem; font-weight: 700; color: var(--crystal); letter-spacing: .05em; }

/* ── BEFORE/AFTER with real photos ── */
.ba-card__images { position: relative; }
.ba-card__photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-card__photo--before { filter: saturate(.6) brightness(.85); }
.ba-card__photo--after  { filter: saturate(1.2) brightness(1.05); }

/* ── CORPORATE PARTNERS ── */
.partners-section {
  background: var(--white); padding: 4rem 0;
  border-top: 1px solid var(--border);
}
.partners-logos {
  display: flex; flex-wrap: wrap;
  justify-content: center; align-items: center;
  gap: 1rem 2rem; margin-top: 2.5rem;
}
.partner-item {
  display: flex; align-items: center; justify-content: center;
  padding: .7rem 1.75rem;
  background: var(--off-white); border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  font-size: .82rem; font-weight: 800; letter-spacing: .07em;
  color: rgba(10,45,74,.35); transition: all .22s;
  min-width: 120px; white-space: nowrap;
}
.partner-item:hover {
  color: var(--electric); border-color: rgba(0,150,199,.35);
  background: rgba(0,150,199,.04); transform: translateY(-2px);
}

/* ── RESPONSIVE — new sections ── */
@media (max-width: 900px) {
  .tech-grid    { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar-card  { height: 360px; }
  .impact-photo-strip { height: 360px; }
}
@media (max-width: 768px) {
  .mission-photo-wrap img { height: 300px; }
  .mission-photo-badge { position: static; border-radius: 0 0 var(--r-xl) var(--r-xl); }
  .mission-photo-wrap { border-radius: var(--r-lg); }
  .tech-card__photo { height: 180px; }
  .story-card__photo { height: 200px; }
}

/* ═══════════════════════════════════════════════
   GLOBAL AREAS OF CONCERN
═══════════════════════════════════════════════ */
.areas-section {
  background: var(--brand-navy);
  padding: 6rem 0;
}

/* ── Priority Grid (5 large cards) ── */
.areas-priority-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.areas-priority-grid .area-card:first-child {
  grid-column: span 2;
}

/* ── Secondary Grid (5 small cards) ── */
.areas-secondary-label {
  color: rgba(255,255,255,.45);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 3rem 0 1rem;
}
.areas-secondary-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

/* ── Area Card Base ── */
.area-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  cursor: default;
  transition: transform .3s, box-shadow .3s;
}
.area-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
}
.area-card--flagship {
  min-height: 420px;
  border: 2px solid rgba(255,215,0,.35);
  box-shadow: 0 0 0 1px rgba(255,215,0,.12), 0 12px 40px rgba(0,0,0,.4);
}
.area-card--sm {
  min-height: 220px;
  border-radius: var(--r-lg);
}

/* ── Card Photo ── */
.area-card__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.area-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ── Card Overlay ── */
.area-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(2,20,50,.95) 0%,
    rgba(2,20,50,.6) 55%,
    rgba(2,20,50,.15) 100%
  );
}
.area-card--flagship .area-card__overlay {
  background: linear-gradient(
    to top,
    rgba(2,20,50,.97) 0%,
    rgba(2,20,50,.55) 50%,
    rgba(2,20,50,.1) 100%
  );
}

/* ── Card Content ── */
.area-card__content {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.area-card--sm .area-card__content {
  padding: 1rem;
  gap: .4rem;
}

/* ── Badges ── */
.area-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .25rem;
}
.area-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .25rem .65rem;
  border-radius: 50px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1;
}
.area-badge--flagship {
  background: linear-gradient(135deg, #f5a623, #f0d060);
  color: #1a0a00;
}
.area-badge--rank {
  background: rgba(255,255,255,.15);
  color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.2);
}
.area-badge--priority {
  background: rgba(220,50,50,.8);
  color: #fff;
}
.area-badge--watch {
  background: rgba(0,150,199,.75);
  color: #fff;
}

/* ── Card Name & Region ── */
.area-card__name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0;
}
.area-card--flagship .area-card__name {
  font-size: 1.65rem;
}
.area-card--sm .area-card__name {
  font-size: 1rem;
}
.area-card__region {
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ── Score Bar ── */
.area-card__score {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .72rem;
  color: rgba(255,255,255,.65);
  font-weight: 600;
}
.area-score-bar {
  display: block;
  height: 4px;
  width: 80px;
  border-radius: 4px;
  background: rgba(255,255,255,.15);
  position: relative;
  flex-shrink: 0;
}
.area-score-bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: var(--score, 50%);
  border-radius: 4px;
  background: linear-gradient(90deg, var(--electric), var(--crystal));
}
.area-card--flagship .area-score-bar::after {
  background: linear-gradient(90deg, #f5a623, #f0d060);
}
.area-card--sm .area-score-bar { width: 50px; }

/* ── Bullet Points ── */
.area-card__points {
  list-style: none;
  padding: 0;
  margin: .25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.area-card__points li {
  font-size: .78rem;
  color: rgba(255,255,255,.7);
  padding-left: 1rem;
  position: relative;
  line-height: 1.4;
}
.area-card__points li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--electric);
  font-weight: 700;
}
.area-card--sm .area-card__points { display: none; }

/* ═══════════════════════════════════════════════
   CARIBBEAN SPOTLIGHT
═══════════════════════════════════════════════ */
.caribbean-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-top: 3.5rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,215,0,.18);
  box-shadow: 0 0 0 1px rgba(255,215,0,.06), 0 20px 60px rgba(0,0,0,.35);
}
.caribbean-spotlight__img {
  position: relative;
  min-height: 480px;
}
.caribbean-spotlight__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.caribbean-spotlight__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, rgba(2,20,50,.6) 100%);
}
.caribbean-spotlight__content {
  padding: 3rem 3rem 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
.caribbean-spotlight__eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #f5c842;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.caribbean-spotlight__title {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0;
}
.caribbean-spotlight__title em {
  font-style: italic;
  color: var(--crystal);
}
.caribbean-spotlight__desc {
  font-size: .92rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin: 0;
}
.caribbean-spotlight__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin: .5rem 0;
}
.csi-pillar {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-md);
  padding: .75rem;
  transition: background .2s, border-color .2s;
}
.csi-pillar:hover {
  background: rgba(0,150,199,.1);
  border-color: rgba(0,150,199,.25);
}
.csi-pillar__icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: .05rem;
}
.csi-pillar__text strong {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .1rem;
}
.csi-pillar__text span {
  font-size: .7rem;
  color: rgba(255,255,255,.5);
  line-height: 1.3;
}
.caribbean-spotlight__actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .25rem;
}

/* ── Areas Section Responsive ── */
@media (max-width: 1100px) {
  .areas-priority-grid {
    grid-template-columns: 1fr 1fr;
  }
  .areas-priority-grid .area-card:first-child {
    grid-column: span 2;
  }
  .areas-secondary-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  .areas-priority-grid {
    grid-template-columns: 1fr;
  }
  .areas-priority-grid .area-card:first-child {
    grid-column: span 1;
  }
  .areas-secondary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .caribbean-spotlight {
    grid-template-columns: 1fr;
  }
  .caribbean-spotlight__img {
    min-height: 280px;
  }
  .caribbean-spotlight__img::after {
    background: linear-gradient(180deg, transparent 60%, rgba(2,20,50,.6) 100%);
  }
  .caribbean-spotlight__content {
    padding: 2rem;
  }
  .caribbean-spotlight__title {
    font-size: 1.5rem;
  }
}
@media (max-width: 600px) {
  .areas-secondary-grid {
    grid-template-columns: 1fr 1fr;
  }
  .caribbean-spotlight__pillars {
    grid-template-columns: 1fr;
  }
  .area-card--sm .area-card__name {
    font-size: .9rem;
  }
}
