/* =======================================================================
   Serving Nicely Foundation — public site design system (revamp)
   Restyles the existing class vocabulary. No markup contracts changed:
   nav (#menu-jk/#menu collapse), gallery (.filter-button/.filter/.gallery_product),
   owl-carousel, forms, lord-icon, lightbox, toast all preserved.
   Palette: green #3cc88f / #51be78 / #2ba879 / #1f8d63, teal #21d7d9, mint, sky #7cc6f0, ink #1e2436.
   ======================================================================= */
/* Montserrat + Nunito Sans are loaded via <link> in <head> (parallel fetch, faster than @import). */

/* ── Design tokens ─────────────────────────────────────────────────────── */
:root {
  --green: #3cc88f;
  --green-2: #51be78;
  --green-d: #2ba879;
  --green-dd: #1f8d63;
  --ink: #1e2436;
  --ink-2: #161b29;
  --ink-soft: #2a3145;
  --heading: #20283a;
  --text: #515967;
  --muted: #8990a0;
  --line: #e8ebf1;
  --line-2: #eef1f6;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --bg-tint: #f0faf5;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(22, 30, 55, .06);
  --shadow: 0 14px 36px rgba(22, 30, 55, .10);
  --shadow-lg: 0 24px 60px rgba(22, 30, 55, .16);
  --green-grad: linear-gradient(135deg, #3cc88f 0%, #34b9a0 100%);
  --ink-grad: linear-gradient(135deg, #232b40 0%, #1a2033 100%);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --container: 1170px;
}

/* ── Reset / base ──────────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; list-style: none; }
html, body { height: 100%; }
img { max-width: 100%; height: auto; } /* height:auto so width/height attrs (CLS hints) don't force a fixed pixel height; explicit CSS heights still win */
a { text-decoration: none; outline: none; color: var(--green-d); transition: color .2s var(--ease); }
a:hover, a:focus { text-decoration: none; outline: none; color: var(--green-dd); }
ul { margin-bottom: 0; padding-left: 0; }
input, textarea, select, button { font-family: inherit; }
input, textarea { outline: none; }

body {
  background-color: #f3f7fc;
  background-image:
    linear-gradient(180deg, rgba(201, 246, 234, .10) 0%, rgba(127, 230, 214, .05) 38%, transparent 70%),
    radial-gradient(1100px 720px at 6% -4%, rgba(60, 200, 143, .14), transparent 58%),
    radial-gradient(1000px 760px at 102% 6%, rgba(33, 215, 217, .11), transparent 55%),
    radial-gradient(820px 640px at 78% 30%, rgba(124, 198, 240, .08), transparent 60%),
    radial-gradient(1050px 800px at 96% 116%, rgba(33, 215, 217, .12), transparent 60%),
    radial-gradient(820px 640px at 16% 96%, rgba(127, 230, 214, .10), transparent 62%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color: var(--text);
  font-family: 'Nunito Sans', 'Ubuntu', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading);
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.01em;
}
p { margin-bottom: 0; width: 100%; }

.container { max-width: var(--container); margin: 0 auto; padding-left: 15px; padding-right: 15px; }
.container-fluid { padding: 0; }
.no-padding { padding: 0; }
.no-margin { margin: 0; }
.center { text-align: center; }
.left { text-align: left; }
.right { text-align: right; }
.cp { cursor: pointer; }
.hid { display: none; }
.top-mar { margin-top: 15px; }
.h-100 { height: 100%; }
::placeholder { color: var(--muted) !important; opacity: .8 !important; font-size: .95rem; }
.collapse.show { display: block !important; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: .92rem; line-height: 1.1;
  padding: 11px 24px; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer;
  box-shadow: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:focus { box-shadow: 0 0 0 3px rgba(60, 200, 143, .3); }
.btn-sm { padding: 8px 18px; font-size: .85rem; }

.btn-success, .btn-primary {
  background: var(--green-grad); border-color: transparent; color: #fff;
  box-shadow: 0 8px 20px rgba(60, 200, 143, .28);
}
.btn-success:hover, .btn-primary:hover,
.btn-success:active, .btn-primary:active,
.btn-success:focus, .btn-primary:focus {
  background: var(--green-grad) !important; border-color: transparent !important; color: #fff !important;
  box-shadow: 0 12px 26px rgba(60, 200, 143, .4) !important;
}
.btn-success h3, .btn-primary h3 { color: #fff; font-size: .92rem; margin: 0; font-weight: 600; }

.btn-default, .btn-light {
  background: #fff; color: var(--heading); border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-default:hover, .btn-light:hover { border-color: var(--green); color: var(--green-dd); }

.btn-outline {
  background: transparent; border-color: var(--green); color: var(--green-dd);
}
.btn-outline:hover { background: var(--green); color: #fff; }

/* ── Forms ─────────────────────────────────────────────────────────────── */
.form-control {
  width: 100%;
  background-color: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: .98rem;
  color: var(--heading);
  margin-bottom: 16px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-control:focus {
  background-color: #fff;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(60, 200, 143, .14);
}
.form-group { margin-bottom: 4px; }
.form-group label { display: block; font-weight: 600; color: var(--heading); margin-bottom: 6px; font-size: .9rem; }
.form-msg { font-size: .92rem; font-weight: 600; }
.form-msg.success { color: var(--green-dd); }
.form-msg.error { color: #e0455e; }

.input-group { display: flex; flex-wrap: wrap; gap: 10px; }
.input-group .form-control { flex: 1 1 240px; margin-bottom: 0; }
.input-group-append { display: flex; }
.input-group-append .btn { white-space: nowrap; }

/* search bar component */
.form-inline { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.form-inline .form-control { margin-bottom: 0; width: auto; min-width: 220px; }
.form-inline .btn { margin-bottom: 0; }
.justify-content-center { justify-content: center; }

/* =======================================================================
   HEADER
   ======================================================================= */
header {
  background-color: #fff;
  width: 100%;
  z-index: 99;
  box-shadow: 0 1px 0 rgba(22, 30, 55, .06);
}

/* Top utility strip */
header .header-top {
  background: var(--ink);
  border-bottom: none;
  padding: 0;
  font-size: .86rem;
}
header .header-top .col-det { align-items: center; min-height: 42px; }
header .header-top .col-det .ulleft { display: flex; align-items: center; }
header .header-top .col-det .ulleft li { float: none; padding: 8px 0; color: rgba(255,255,255,.78); font-size: .86rem; display: flex; align-items: center; }
header .header-top .col-det .ulleft li a { color: rgba(255,255,255,.82); display: inline-flex; align-items: center; gap: 7px; }
header .header-top .col-det .ulleft li a:hover { color: #fff; }
header .header-top .col-det .ulleft li i { margin-right: 4px; color: var(--green); }
header .header-top .col-det .ulleft li span { margin: 0 14px; color: rgba(255,255,255,.25); }

header .header-top .col-det .ulright { float: right; display: flex; align-items: center; gap: 2px; }
header .header-top .col-det .ulright li { float: none; padding: 8px 7px; color: rgba(255,255,255,.78); font-size: 1rem; font-weight: 600; display: flex; align-items: center; }
header .header-top .col-det .ulright li a { color: rgba(255,255,255,.72); transition: color .2s var(--ease); }
header .header-top .col-det .ulright li a:hover { color: var(--green); }
header .header-top .col-det .ulright li i { margin-right: 0; color: inherit; }
header .header-top .col-det .ulright li small { color: rgba(255,255,255,.55); font-weight: 600; font-size: .8rem; white-space: nowrap; }
header .header-top .col-det .ulright li.donate-now { display: none; }

header .header-top .btn-bhed { padding: 5px 0; text-align: right; display: flex; gap: 8px; justify-content: flex-end; align-items: center; }
header .header-top .btn-bhed .btn { padding: 6px 18px; font-size: .82rem; margin-left: 0; box-shadow: none; }
header .header-top .btn-bhed .btn-success { background: var(--green-grad); }

/* Main nav bar */
header .header-bottom { padding: 0; background-color: #fff; }
header .header-bottom .nav-row { display: flex; align-items: center; justify-content: space-between; min-height: 78px; flex-wrap: wrap; }
header .logo { padding: 8px 0; display: flex; align-items: center; }
header .logo img { max-width: 188px; height: auto; }

header .nav-col { display: flex; justify-content: flex-end; }
@media screen and (min-width: 992px) {
  header .header-bottom .logo { flex: 0 0 auto; width: auto; max-width: none; }
  header .header-bottom .nav-col { flex: 1 1 auto; width: auto; max-width: none; }
}
header .nav-col .navbad {
  display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center;
  gap: 2px; float: none; width: auto;
}
header .nav-col .navbad li { float: none; padding: 0; font-weight: 600; font-size: .9rem; }
header .nav-col .navbad li a {
  display: inline-block;
  color: var(--heading) !important;
  border: none; border-radius: 0;
  padding: 8px 10px;
  position: relative;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600; font-size: .83rem;
  letter-spacing: -.012em;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
header .nav-col .navbad li a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px;
  height: 2px; background: var(--green); border-radius: 2px;
  transform: scaleX(0); transform-origin: center; transition: transform .25s var(--ease);
}
header .nav-col .navbad li a:hover { color: var(--green-dd) !important; background: transparent; }
header .nav-col .navbad li a:hover::after { transform: scaleX(1); }
header .nav-col .navbad li.active > a { color: var(--green-dd) !important; }
header .nav-col .navbad li.active > a::after { transform: scaleX(1); }

/* Donate Now → pill CTA inside nav (the one nav-item without an active route) */
header .nav-col .navbad li:nth-last-child(2) a {
  background: var(--green-grad); color: #fff !important;
  border-radius: var(--radius-pill); padding: 9px 15px; margin-left: 4px;
  box-shadow: 0 8px 18px rgba(60, 200, 143, .26);
}
header .nav-col .navbad li:nth-last-child(2) a::after { display: none; }
header .nav-col .navbad li:nth-last-child(2) a:hover { color: #fff !important; transform: translateY(-1px); }

header .small-menu {
  float: right; color: var(--heading); font-size: 1.6rem;
  position: absolute; right: 15px; top: 16px; cursor: pointer;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; background: var(--bg-alt);
}

/* sticky state from jquery-scrolltofixed */
.scroll-to-fixed-fixed {
  background-color: #fff;
  box-shadow: 0 6px 24px rgba(22, 30, 55, .1);
  padding: 0 !important;
}

@media screen and (min-width: 992px) and (max-width: 1120px) {
  header .nav-col .navbad li a { padding: 7px 8px; font-size: .8rem; }
  header .nav-col .navbad li a::after { left: 8px; right: 8px; }
  header .nav-col .navbad li:nth-last-child(2) a { padding: 8px 13px; }
  header .logo img { max-width: 168px; }
}

/* Mobile nav */
@media screen and (max-width: 991px) {
  header .header-bottom .nav-row { min-height: 64px; position: relative; }
  header .nav-col { width: 100%; }
  header .nav-col .navbad { flex-direction: column; align-items: stretch; width: 100%; gap: 0; padding: 8px 0 14px; }
  header .nav-col .navbad li { width: 100%; border-top: 1px solid var(--line-2); }
  header .nav-col .navbad li a { display: block; padding: 13px 6px; font-size: .95rem; }
  header .nav-col .navbad li a::after { display: none; }
  header .nav-col .navbad li.active > a { color: var(--green-dd) !important; border-left: 3px solid var(--green); padding-left: 12px; }
  /* Donate Now → a clean full-width centred CTA row, not a floating half-pill */
  header .nav-col .navbad li:nth-last-child(2) { border-top: none; padding: 14px 14px 6px; }
  header .nav-col .navbad li:nth-last-child(2) a { display: block; text-align: center; margin: 0; padding: 13px 18px; }
  #menu.nav-col { box-shadow: var(--shadow); border-radius: 0 0 var(--radius) var(--radius); }
  /* snappier open: replace Bootstrap collapse's slow .35s height ease with a fast punchy curve */
  #menu.collapsing { transition: height .2s cubic-bezier(.22, .61, .36, 1); }
}

/* =======================================================================
   BREADCRUMB HERO (.page-nav)
   ======================================================================= */
.page-nav {
  background: var(--ink-grad);
  position: relative; overflow: hidden;
  padding: 64px 0 58px; text-align: center; margin: 0;
}
.page-nav::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(620px 300px at 85% -10%, rgba(60, 200, 143, .30), transparent 60%),
    radial-gradient(560px 300px at 12% 120%, rgba(33, 215, 217, .24), transparent 62%),
    radial-gradient(420px 240px at 50% 130%, rgba(124, 198, 240, .14), transparent 64%);
  pointer-events: none;
}
.page-nav .container { position: relative; z-index: 1; }
.page-nav h2 { font-size: 2.3rem; width: 100%; font-weight: 800; color: #fff; margin-bottom: 14px; }
.page-nav ul { display: inline-flex; align-items: center; gap: 8px; float: none; margin: auto; flex-wrap: wrap; justify-content: center; }
.page-nav ul li { float: none; margin: 0; font-size: .95rem; font-weight: 600; color: rgba(255,255,255,.72); display: inline-flex; align-items: center; gap: 8px; }
.page-nav ul li i { width: auto; color: var(--green); }
.page-nav ul li a { color: rgba(255,255,255,.82); font-size: .95rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.page-nav ul li a:hover { color: #fff; }
.donate-now { display: none; }

@media screen and (max-width: 991px) {
  .donate-now { display: flex; }
  .page-nav { padding: 48px 0 42px; }
  .page-nav h2 { font-size: 1.9rem; }
}
@media screen and (max-width: 767px) {
  .page-nav { padding: 40px 0 34px; }
  .page-nav h2 { font-size: 1.7rem; }
}

/* =======================================================================
   SLIDER (home, owl-carousel)
   ======================================================================= */
.slider { position: relative; }
.slider .slider-img { position: relative; overflow: hidden; }
.slider .slider-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20,25,40,.12) 0%, rgba(20,25,40,.55) 100%);
}
.slider-img img { position: relative; z-index: 0; width: 100%; height: 78vh; max-height: 640px; min-height: 420px; object-fit: cover; }
.slider .container { position: relative; }
.slider-captions {
  position: absolute; bottom: 90px; left: 0; right: 0; text-align: center;
  background: rgba(20, 25, 40, .42); backdrop-filter: blur(4px);
  padding: 22px 28px; border-radius: var(--radius); z-index: 2;
  max-width: 860px; margin: 0 auto;
}
.slider-title { font-size: 1.9rem; font-weight: 700; color: #fff; letter-spacing: -.01em; line-height: 1.3; }
.slider-text { margin-bottom: 20px; color: #fff; }

@media screen and (max-width: 992px) { .slider-captions { bottom: 60px; } .slider-title { font-size: 1.5rem; } }
@media screen and (max-width: 767px) { .slider-img img { height: 60vh; min-height: 340px; } .slider-captions { bottom: 28px; padding: 16px; } .slider-title { font-size: 1.15rem; } }
@media screen and (max-width: 480px) { .slider-captions { display: block; bottom: 16px; left: 12px; right: 12px; } .slider-title { font-size: 1rem; } }

.slider .owl-nav .owl-prev, .slider .owl-nav .owl-next {
  color: #fff; display: inline-block; margin: 5px; padding: 0;
  width: 46px; height: 46px; line-height: 46px; text-align: center; font-size: 20px;
  border-radius: 50%; background: rgba(255,255,255,.16);
  border: 1.5px solid rgba(255,255,255,.55); backdrop-filter: blur(4px);
  transition: background .2s var(--ease);
}
.slider .owl-nav .owl-prev:hover, .slider .owl-nav .owl-next:hover { background: var(--green); border-color: var(--green); }
.slider .owl-nav .owl-prev { position: absolute; top: 50%; transform: translateY(-50%); left: 22px; }
.slider .owl-nav .owl-next { position: absolute; top: 50%; transform: translateY(-50%); right: 22px; }
.slider .owl-dots { position: relative; text-align: center; }
.slider .owl-dots .owl-dot { display: inline-block; }
.slider .owl-dots .owl-dot span { display: block; width: 11px; height: 11px; margin: 0 5px; bottom: 30px; position: relative; border-radius: 50%; background: rgba(255,255,255,.55); border: none; transition: all .2s var(--ease); }
.slider .owl-dots .owl-dot.active span { background: var(--green); width: 26px; border-radius: 6px; }
@media screen and (max-width: 767px) { .slider .owl-nav { display: none; } }

/* =======================================================================
   SECTION SCAFFOLD + section titles
   ======================================================================= */
section { position: relative; }
.session-title { text-align: center; padding: 0; margin: 0 auto 36px; max-width: 760px; }
.session-title h2 {
  width: 100%; text-align: center; font-weight: 800; font-size: 2rem; margin-bottom: 0;
  position: relative; display: inline-block; padding-bottom: 16px;
}
.session-title h2::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
  width: 56px; height: 3px; border-radius: 3px; background: var(--green-grad);
}
.session-title h2 + h2 { font-size: 1rem; font-weight: 500; color: var(--muted); padding: 8px 0 0; }
.session-title h2 + h2::after { display: none; }
.session-title p { max-width: 760px; text-align: center; float: none; margin: 12px auto 0; font-size: 1rem; color: var(--muted); }
.session-title span { float: none; font-style: italic; }

.inner-title { padding: 0 0 18px; margin: 0 0 22px; border-bottom: 1px solid var(--line); display: block; }
.inner-title h2 { width: auto; text-align: left; font-size: 1.3rem; font-weight: 700; border-bottom: none; padding-bottom: 0; margin-bottom: 0; display: inline-block; position: relative; }
.inner-title h2::after { content: ""; position: absolute; left: 0; bottom: -19px; width: 48px; height: 3px; background: var(--green-grad); border-radius: 3px; }
.inner-title p { width: 100%; text-align: left; color: var(--muted); }
.inner-title .btn { float: right; margin-top: -8px; }

/* =======================================================================
   ABOUT
   ======================================================================= */
.about-us { background: transparent; padding: 84px 0; position: relative; overflow: hidden; }
.about-us .natur-row { margin-top: 0; align-items: center; }
.about-us .text-part { padding-right: 30px; }
.about-us .text-part h2 { font-weight: 800; font-size: 2.1rem; margin-bottom: 18px; position: relative; padding-bottom: 16px; }
.about-us .text-part h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--green-grad); border-radius: 3px; }
.about-us .text-part p { text-indent: 0; margin-bottom: 14px; line-height: 1.85; font-weight: 400; text-align: left; font-size: 1.02rem; color: var(--text); }
.about-us .image-part .about-quick-box { margin: 0 -12px; }
.about-us .image-part .about-quick-box .col-md-6 { padding: 12px; }
.about-us .image-part .about-quick-box .about-qcard {
  padding: 44px 26px; background: #fff;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line-2);
  border-radius: var(--radius); text-align: center; margin-bottom: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.about-us .image-part .about-quick-box a:hover .about-qcard { transform: translateY(-6px); box-shadow: var(--shadow); }
.about-us .image-part .about-quick-box .about-qcard p { font-weight: 700; font-size: 1.1rem; color: var(--heading); margin-top: 6px; }
.about-us .image-part .about-quick-box .about-qcard i {
  font-size: 2rem; margin-bottom: 18px; color: var(--green);
  width: 74px; height: 74px; line-height: 74px; border-radius: 50%;
  background: var(--bg-tint); display: inline-block;
}
.about-us .image-part .about-quick-box .about-qcard .red { color: #ff6b70; background: #fff0f0; }
.about-us .image-part .about-quick-box .about-qcard .yell { color: #f5a623; background: #fff7e8; }
.about-us .image-part .about-quick-box .about-qcard .blu { color: #21d7d9; background: #e8fbfb; }

/* =======================================================================
   YOUTUBE / EMBEDS
   ======================================================================= */
section > div > center h2,
section center h2 { font-size: 1.5rem; color: var(--heading); margin: 8px 0; }
.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; margin-bottom: 1em; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.youtube-container { padding: 30px 100px; max-width: var(--container); margin: 0 auto; }
@media screen and (max-width: 992px) { .youtube-container { padding: 20px 40px; } }
@media screen and (max-width: 767px) { .youtube-container { padding: 16px; } }

/* =======================================================================
   MISSION / VISION
   ======================================================================= */
.mission-vision { background: transparent; padding: 84px 0 40px; position: relative; overflow: hidden; }
.mission-vision .mission-container { max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.mission-vision h1, .mission-vision .mission-container > center > h1 { font-size: 2rem; font-weight: 800; text-align: center; margin-bottom: 8px; }
.mission-vision .mission-container > center { display: block; margin-bottom: 36px; }
.mission-vision .mission-container > center > h1 { position: relative; display: inline-block; padding-bottom: 16px; }
.mission-vision .mission-container > center > h1::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 56px; height: 3px; background: var(--green-grad); border-radius: 3px; }
.mission-vision .mission { padding: 0; margin: 0 -12px; }
.mission-point { padding: 12px; }
.mission-point-inner {
  border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 26px 24px; height: 100%; background: #fff; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.mission-point-inner:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(60,200,143,.5); }
.mission-headers { display: flex; align-items: center; gap: 14px; background: transparent; border-radius: 0; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line-2); }
.mission-headers lord-icon { flex-shrink: 0; width: 48px; height: 48px; }
.mission-title { color: var(--heading); font-weight: 700; font-size: 1.12rem; font-family: 'Montserrat', sans-serif; }
.mission-content { color: var(--text); padding: 0; font-size: .98rem; min-height: 0; line-height: 1.7; }

.mission-vision .vision { padding: 56px 0 0; align-items: center; }
.mission-vision .mv-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.mission-vision .mv-det { margin: auto; padding: 0 10px 0 34px; }
.mission-vision .mv-det h1 { font-size: 2.1rem; font-weight: 800; margin-bottom: 16px; text-align: left; position: relative; padding-bottom: 16px; }
.mission-vision .mv-det h1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; background: var(--green-grad); border-radius: 3px; }
.vision-content { color: var(--text); padding: 0; font-size: 1.05rem; line-height: 1.85; }
@media screen and (max-width: 767px) { .mission-vision .mv-det { padding: 26px 4px 0; } .mission-vision .mv-det h1 { text-align: center; } .mission-vision .mv-det h1::after { left: 50%; transform: translateX(-50%); } }

/* =======================================================================
   EVENTS / PROJECTS / generic card sections (.events, .event-box)
   shared by projects, reports, results, schools, sponsors, blog
   ======================================================================= */
.events { background: transparent; padding: 80px 0; position: relative; overflow: hidden; }
.events + .events { padding-top: 0; }
.events .mission-container { max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.event-ro { margin-top: 0; }
.event-box {
  text-align: center; margin-bottom: 26px; padding: 14px;
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); height: calc(100% - 26px);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.event-box:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.event-box img { margin-bottom: 16px; border-radius: var(--radius-sm); width: 100%; }
.event-box h4 { font-size: 1.15rem; margin: 6px 0; }
.event-box h4 a { color: var(--heading); }
.event-box h4 a:hover { color: var(--green-dd); }
.event-box p { font-size: .96rem; color: var(--text); margin-bottom: 12px; line-height: 1.65; }
.event-box .raises { margin-bottom: 10px; }
.event-box .raises span { color: var(--green-dd); }
.event-box .desic { font-size: .85rem; margin-bottom: 15px; }
.event-box small { color: var(--muted); font-size: .82rem; }
.event-box .btn { margin: 4px 4px 0; }
.project-media { width: 100%; height: auto; display: block; border-radius: var(--radius-sm); margin-bottom: 14px; object-fit: cover; box-shadow: var(--shadow-sm); }
video { margin-bottom: 10px; border-radius: var(--radius-sm); }

/* =======================================================================
   STATS BAND (.doctor-message / .numb)
   ======================================================================= */
.doctor-message {
  position: relative;
  background-image: linear-gradient(rgba(20,25,40,.82), rgba(20,25,40,.9)), url("/assets/images/slider/slider-2.jpg");
  background-attachment: fixed; background-size: cover; background-position: center;
}
.doctor-message .session-title h2 { color: #fff; }
.doctor-message .session-title h2::after { background: var(--green); }
.doctor-message .inner-lay { background: transparent; padding: 78px 0; color: #fff; }
.doctor-message .inner-lay .numb { text-align: center; padding: 22px; }
.doctor-message .inner-lay .numb h3 {
  font-size: 3rem; padding-bottom: 8px; border-bottom: none; margin-bottom: 6px;
  color: #fff; font-weight: 800; line-height: 1;
}
.doctor-message .inner-lay .numb span { color: rgba(255,255,255,.78); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.numb h3 { color: var(--green-dd); font-weight: 800; }
.numb span { color: var(--muted); font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.events .numb { padding: 18px; text-align: center; }
.paynow { text-align: center; }
@media screen and (max-width: 767px) { .doctor-message .inner-lay .numb h3 { font-size: 2.2rem; } }

/* =======================================================================
   BLOG
   ======================================================================= */
.our-blog { background: transparent; padding: 80px 0; position: relative; overflow: hidden; }
.our-blog .single-blog { margin-bottom: 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.our-blog .single-blog:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.our-blog .single-blog figure { margin-bottom: 0; }
.our-blog .single-blog .blog-detail { padding: 18px; }
.our-blog .single-blog small { color: var(--green-dd); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.our-blog .single-blog h4 { font-size: 1.2rem; margin: 8px 0 10px; }
.our-blog .single-blog p { text-align: left; text-indent: 0; color: var(--text); }
.our-blog .single-blog .link a { font-size: .85rem; color: var(--green-dd); font-weight: 600; }

/* blog article body */
.blog-post-content { font-size: 1.05rem; line-height: 1.85; color: var(--text); }
.blog-post-content h1, .blog-post-content h2, .blog-post-content h3 { margin: 1.6rem 0 .8rem; }
.blog-post-content p { margin-bottom: 1.1rem; }
.blog-post-content img { border-radius: var(--radius-sm); margin: 1rem 0; box-shadow: var(--shadow-sm); }
.blog-post-content a { color: var(--green-dd); text-decoration: underline; }
.blog-post-content ul, .blog-post-content ol { padding-left: 1.4rem; margin-bottom: 1.1rem; }
.blog-post-content ul li, .blog-post-content ol li { list-style: inherit; margin-bottom: .4rem; }
.blog-post-content blockquote { border-left: 3px solid var(--green); padding-left: 1rem; color: var(--muted); margin: 1.2rem 0; font-style: italic; }

.kf-2 { background: #fff; padding: 60px 0; }
.kf-2 .single-key { box-shadow: var(--shadow-sm); border-radius: var(--radius); }

/* =======================================================================
   TEAM
   ======================================================================= */
.our-team { padding: 80px 0; background: transparent; position: relative; overflow: hidden; }
.our-team.team-11 { background: transparent; }
.our-team .team-row { margin-top: 0; }
.our-team .team-row .single-usr {
  border-radius: var(--radius); margin-bottom: 26px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.our-team .team-row .single-usr:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.our-team .team-row .single-usr img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.our-team .team-row .single-usr .det-o { padding: 18px; background: #fff; border-top: 3px solid var(--green); }
.our-team .team-row .single-usr .det-o h4 { color: var(--heading); margin-bottom: 2px; font-size: 1.08rem; font-weight: 700; }
.our-team .team-row .single-usr .det-o i { color: var(--green-dd); font-size: .9rem; font-style: normal; font-weight: 600; }

/* =======================================================================
   GALLERY  (filter contract preserved: .filter-button[data-filter], .filter)
   ======================================================================= */
.gallery { padding: 80px 0; background: transparent; position: relative; overflow: hidden; }
.gallery-filter { width: 100%; text-align: center; margin-bottom: 34px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.gallery-filter .btn, .filter-button {
  background: #fff; font-size: .9rem; font-weight: 600;
  border: 1.5px solid var(--line); border-radius: var(--radius-pill);
  text-align: center; color: var(--heading); margin-bottom: 0; padding: 9px 20px;
  box-shadow: none; transition: all .2s var(--ease);
}
.filter-button:hover { border-color: var(--green); color: var(--green-dd); }
.filter-button.active { background: var(--green-grad); border-color: transparent; color: #fff; box-shadow: 0 8px 18px rgba(60,200,143,.26); }
.gallery_product { margin-bottom: 24px; }
.port-image, .img-responsive {
  width: 100%; border-radius: var(--radius-sm); display: block;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
/* Uniform 4:3 gallery cards at EVERY breakpoint (phone 2-up → tablet 3-up →
   desktop 4-up, all via Bootstrap cols on .gallery_product).
   The source photos mix LANDSCAPE screenshots with PORTRAIT (events) shots.
   `aspect-ratio` on the <img> can't crop them: the global `img{height:auto}`
   resolves a replaced element's height from its OWN intrinsic ratio, so portrait
   photos render tall and object-fit has nothing to crop. Fix: the card HEIGHT is
   owned by a Bootstrap ratio-box on the <a> wrapper (.embed-responsive-4by3 =
   padding-top:75%); the <img> absolutely fills it and object-fit:cover crops —
   so events/portrait crop identically to landscape. The rules below are a local
   mirror of Bootstrap's embed-responsive utility so the grid holds even if the
   CDN stylesheet ever fails to load. */
.embed-responsive { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; }
.embed-responsive::before { display: block; content: ""; }
.embed-responsive-4by3::before { padding-top: 75%; }
.embed-responsive > .embed-responsive-item { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; height: 100%; border: 0; }
.gallery_product a.gallery-thumb {
  display: block; overflow: hidden; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); transition: box-shadow .3s var(--ease);
}
.gallery_product .embed-responsive-item { object-fit: cover; transition: transform .35s var(--ease); }
.gallery_product a.gallery-thumb:hover { box-shadow: var(--shadow); }
.gallery_product a.gallery-thumb:hover .embed-responsive-item { transform: scale(1.05); }
/* Each card carries its filter CATEGORY as a class (e.g. `events`). `events`
   collides with the global SECTION rule `.events { padding:80px 0; overflow:hidden }`
   + its decorative `::before` blob — which bled onto the events cards only,
   pushing the image down (empty top gap) and staggering the grid. Re-assert the
   plain Bootstrap-column box on every gallery card so a category name can never
   restyle the card. */
.gallery .gallery_product { padding: 0 15px; overflow: visible; }
.gallery .gallery_product::before { content: none; display: none; }
.gallery-title { font-size: 2rem; color: var(--heading); text-align: center; font-weight: 800; margin-bottom: 40px; position: relative; padding-bottom: 16px; }
.gallery-title::after { content: ""; position: absolute; width: 56px; height: 3px; left: 50%; transform: translateX(-50%); bottom: 0; border-radius: 3px; background: var(--green-grad); }

/* =======================================================================
   PAGINATION + badges
   ======================================================================= */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 30px; padding: 0; }
.pagination .page-item { list-style: none; }
.pagination .page-link {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px;
  padding: 0 12px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  color: var(--heading); font-weight: 600; background: #fff; transition: all .2s var(--ease);
}
.pagination .page-link:hover { border-color: var(--green); color: var(--green-dd); }
.pagination .page-item.active .page-link { background: var(--green-grad); border-color: transparent; color: #fff; box-shadow: 0 8px 18px rgba(60,200,143,.26); }
.pagination .page-item.disabled .page-link { color: var(--muted); background: var(--bg-alt); border-color: var(--line-2); cursor: not-allowed; }

.badge { display: inline-block; padding: 4px 12px; border-radius: var(--radius-pill); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--bg-tint); color: var(--green-dd); }

/* =======================================================================
   FOOTER
   ======================================================================= */
.footer { padding: 72px 0 40px; background: var(--ink); color: rgba(255,255,255,.72); position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--green-grad); }
.footer h2 { font-size: 1.15rem; margin-top: 6px; color: #fff; margin-bottom: 18px; font-weight: 700; position: relative; padding-bottom: 12px; }
.footer h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 2px; background: var(--green); border-radius: 2px; }
.footer p { text-align: left; text-indent: 0; font-size: .94rem; line-height: 1.8; color: rgba(255,255,255,.66); }
.footer .link-list li { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .94rem; display: flex; align-items: center; justify-content: space-between; transition: padding .2s var(--ease); }
.footer .link-list li:hover { padding-left: 6px; }
.footer .link-list li a { color: rgba(255,255,255,.72); }
.footer .link-list li a:hover { color: var(--green); }
.footer .link-list li i { float: none; color: rgba(255,255,255,.3); font-size: .8rem; }
.footer .map-img { font-weight: 400; font-size: .94rem; padding-left: 0; }
.footer address { font-weight: 400; line-height: 2; color: rgba(255,255,255,.66); font-style: normal; }
.footer address a { color: rgba(255,255,255,.82); font-size: .94rem; font-family: inherit; }
.footer address a:hover { color: var(--green); }

.nav-box { margin-top: 48px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 8px 14px; }
.nav-box .inner { padding: 0; }
.nav-box ul { display: flex; flex-wrap: wrap; }
.nav-box ul li { float: none; padding: 10px 16px; }
.nav-box ul li a { color: rgba(255,255,255,.78); font-weight: 600; font-size: .92rem; }
.nav-box ul li a:hover { color: var(--green); }
.nav-box .btn { margin-top: 0; float: none; }
.donate-link { margin: 6px; }

.copy { padding: 20px 0; background: var(--ink-2); color: rgba(255,255,255,.6); }
.copy .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.copy a { color: rgba(255,255,255,.6); font-size: .9rem; }
.copy a:hover { color: var(--green); }
.copy .credits { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 10px; }
.copy .credits .dev-credit { opacity: .85; }
.copy span { float: none; display: inline-flex; gap: 18px; }
.copy span i { margin-right: 0; }
.copy span a { color: rgba(255,255,255,.6); font-size: 1.05rem; }
.copy span a:hover { color: var(--green); }
@media screen and (max-width: 767px) { .copy .container { justify-content: center; text-align: center; } .copy .credits { width: 100%; } }

/* =======================================================================
   FLOATING WHATSAPP + TOAST
   ======================================================================= */
.wa-float { box-shadow: 0 10px 26px rgba(37, 211, 102, .45) !important; transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.08); }

.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(120px);
  background: var(--ink); color: #fff; padding: 14px 26px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg); z-index: 10000; font-weight: 600; font-size: .95rem;
  opacity: 0; pointer-events: none; transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.error { background: #e0455e; }

/* =======================================================================
   RESPONSIVE GRID HELPERS / contact
   ======================================================================= */
.contact-form .form-group { margin-bottom: 14px; }
address.md-margin-bottom-40 p { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; color: var(--text); }
address.md-margin-bottom-40 p i { color: var(--green); margin-top: 4px; width: 18px; text-align: center; }

@media screen and (max-width: 575px) {
  body { font-size: 15px; }
  .session-title h2, .about-us .text-part h2, .mission-vision .mv-det h1, .gallery-title { font-size: 1.6rem; }
  .events, .about-us, .our-blog, .our-team, .gallery, .mission-vision { padding: 52px 0; }
}

/* scroll-reveal (main.js .fade-up) */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.fade-up.visible { opacity: 1; transform: none; }

/* =======================================================================
   ENGRAVED CARTOGRAPHER'S FIELD — luxury topographic engraving backdrop.
   Pure decoration: .bg-decor is position:fixed; z-index:-1; pointer-events:none.
   ONE line language (fill:none hairlines, non-scaling-stroke) unifies two layers:
   Cartographer contour strata (depth/atmosphere that fills the void) + Engraved
   botanical hairlines — a dandelion seed-head shedding seeds ("we grow children").
   Narrative reads left → right: a seed on the slope, climbing to the summit.
   Palette LOCKED: green / deep-green / green-teal / teal / mint + one whisper of
   sky (the drifting seeds + the summit accent). No purple, no amber.
   Grafts: matte film grain, top sheen + two diagonal spotlights, draw-on reveals.
   ======================================================================= */
.bg-decor {
  position: fixed; inset: 0; z-index: -1; overflow: hidden;
  pointer-events: none; contain: layout paint;
}

/* matte printed-on-stock micro-texture — static grayscale fractalNoise grain */
.bg-decor .grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='160'%20height='160'%3E%3Cfilter%20id='g'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='0.86'%20numOctaves='2'%20stitchTiles='stitch'/%3E%3CfeColorMatrix%20type='saturate'%20values='0'/%3E%3C/filter%3E%3Crect%20width='160'%20height='160'%20filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 160px 160px; opacity: .07;
}

/* directional top light (horizon) + one upper-left soft spotlight */
.bg-decor .sheen {
  position: absolute; left: 0; right: 0; top: 0; height: 380px;
  background: linear-gradient(180deg, rgba(255,255,255,.5) 0%, rgba(234,250,244,.18) 38%, transparent 100%);
}
.bg-decor .spot {
  position: absolute; border-radius: 50%; filter: blur(8px);
  will-change: transform; transform: translateZ(0);
}
.bg-decor .spot-tl {
  left: -150px; top: -150px; width: 540px; height: 540px;
  background: radial-gradient(circle at 50% 50%, rgba(31,141,99,.10), rgba(52,185,160,.05) 50%, transparent 72%);
  -webkit-mask-image: radial-gradient(closest-side, #000 40%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 40%, transparent 100%);
  animation: spotDrift 38s ease-in-out infinite;
}

/* every plate is an absolutely-positioned, GPU-promoted layer */
.bg-decor .topo { position: absolute; display: block; will-change: transform, opacity;
  transform: translateZ(0); backface-visibility: hidden; }
.bg-decor .eng  { position: absolute; overflow: visible; display: block;
  will-change: transform; transform: translateZ(0); }

/* shared engraving line language — single hairline weight, round joins, crisp */
.bg-decor .ln { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.bg-decor .hair { stroke-width: 1.1; }
.bg-decor .fine { stroke-width: .8; }
.bg-decor .dot  { stroke: none; }
.bg-decor .ink-green  { stroke: #1f8d63; }
.bg-decor .ink-greend { stroke: #2ba879; }
.bg-decor .ink-mint   { stroke: #34b9a0; }
.bg-decor .fill-green { fill: #2ba879; }
.bg-decor .fill-mint  { fill: #34b9a0; }
.bg-decor .topo-lines path, .bg-decor .ridge-line, .bg-decor .ridge-light,
.bg-decor .summit-rings path, .bg-decor .summit-accent {
  fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke;
}

/* ── CARTOGRAPHER plane 1 — far field: faint, wide, slow ─────────────────── */
.bg-decor .topo-far { inset: 0; width: 100%; height: 100%; opacity: .42;
  animation: topoFar 60s ease-in-out infinite; }
.bg-decor .topo-far .topo-lines path { stroke: #34b9a0; stroke-width: 1.4; opacity: .36; }
.bg-decor .topo-far .topo-lines path:nth-child(odd) { stroke: #3cc88f; }
.bg-decor .topo-far .topo-lines path:nth-child(5)   { stroke: #7fe9d8; opacity: .42; }

/* ── CARTOGRAPHER plane 2 — mid stratum: nested lines + tonal fill (lower-r) ─ */
.bg-decor .topo-mid { right: -4%; bottom: -6%; width: 78vw; height: 86vh;
  max-width: 1180px; opacity: .82; animation: topoMid 48s ease-in-out infinite; }
.bg-decor .topo-mid .topo-fill { fill: rgba(60,200,143,.05); stroke: none; }
.bg-decor .topo-mid .topo-lines path { stroke: #2ba879; stroke-width: 1.6; opacity: .36; }
.bg-decor .topo-mid .topo-lines path:nth-child(2) { stroke: #34b9a0; opacity: .42; }
.bg-decor .topo-mid .topo-lines path:nth-child(3) { stroke: #3cc88f; opacity: .46; }
.bg-decor .topo-mid .topo-lines path:nth-child(4) { stroke: #7fe9d8; opacity: .5; }

/* ── CARTOGRAPHER plane 3 — near ridge: one crisp light-catching line (left) ─ */
.bg-decor .topo-near { left: -3vw; top: 32vh; width: 46vw; height: 42vh;
  max-width: 620px; opacity: .8; animation: topoNear 40s ease-in-out infinite; }
.bg-decor .ridge-line  { stroke: #1f8d63; stroke-width: 2;   opacity: .36; }
.bg-decor .ridge-light { stroke: #c9f6ea; stroke-width: 1.1; opacity: .66; }

/* ── ENGRAVED botanicals — placement + gentle breathing motion ───────────── */
.eng-stem  { top: -16px; left: 1.5%; width: 290px; height: 540px; opacity: .46;
  transform-origin: 50% 0;   animation: engSway 34s ease-in-out infinite; }
.eng-fern  { top: 12%; right: -8px; width: 210px; height: 380px; opacity: .32;
  transform-origin: 90% 30%; animation: engSwayR 38s ease-in-out infinite; }
.eng-clock { bottom: 4%; left: 6%; width: 300px; height: 322px; opacity: .6;
  transform-origin: 42% 92%; animation: engBreathe 42s ease-in-out infinite; }
.eng-seeds { bottom: 30%; left: 21%; width: 260px; height: 238px; opacity: .72;
  animation: engFloat 30s ease-in-out infinite; }

/* SIGNATURE A details — the dandelion's drifting seeds (the ONE sky accent) */
.bg-decor .seed-umb, .bg-decor .seed-fil { fill: none; stroke: #7cc6f0;
  stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.bg-decor .seed-umb { stroke-width: .8; opacity: .85; }
.bg-decor .seed-fil { stroke-width: .9; }
.bg-decor .seed-ach { fill: #7cc6f0; opacity: .7; }
.bg-decor .seed { animation: seedIn 2.6s ease var(--d, 0s) 1 both; }       /* staggered fade-in */
.bg-decor .seed-fil.draw { stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: seedDraw 2.6s ease var(--d, 0s) 1 both; }                      /* one-time draw-on */

/* ── SIGNATURE B — the summit: concentric rings → peak (lower-right) ──────── */
.bg-decor .topo-summit { right: 5vw; bottom: 7vh; width: 340px; height: 340px;
  opacity: .9; overflow: visible; animation: topoSummit 32s ease-in-out infinite; }
.bg-decor .summit-rings path { stroke: #1f8d63; stroke-width: 1.5; opacity: .3; }
.bg-decor .summit-rings path:nth-child(2) { stroke: #2ba879; opacity: .38; }
.bg-decor .summit-rings path:nth-child(3) { stroke: #3cc88f; opacity: .48; }
.bg-decor .summit-rings path:nth-child(4) { stroke: #34b9a0; opacity: .58; }
.bg-decor .summit-rings .summit-peak { stroke: #3cc88f; stroke-width: 1.7; opacity: .76; }
.bg-decor .summit-accent { stroke: #7cc6f0; stroke-width: 1.5; opacity: .7;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: summitDraw 16s ease-in-out infinite; }
.bg-decor .summit-mark { fill: #21d7d9; opacity: .75; transform-origin: 194px 218px;
  animation: summitMark 9s ease-in-out infinite; }

/* ── soft landform glow anchoring the summit (lower-right diagonal light) ─── */
.bg-decor .topo-glow { position: absolute; right: -8vw; bottom: -10vh;
  width: 560px; height: 560px; opacity: .5; filter: blur(10px);
  background: radial-gradient(circle at 42% 40%, rgba(60,200,143,.30), rgba(33,215,217,.14) 50%, transparent 72%);
  -webkit-mask-image: radial-gradient(closest-side, #000 38%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 38%, transparent 100%);
  will-change: transform; transform: translateZ(0); animation: topoGlow 34s ease-in-out infinite; }

/* ── motion — transform/opacity only (GPU); long, near-imperceptible drift ── */
@keyframes topoFar    { 0%,100% { transform: translate3d(0,0,0); }            50% { transform: translate3d(-22px,12px,0); } }
@keyframes topoMid    { 0%,100% { transform: translate3d(0,0,0); }            50% { transform: translate3d(16px,-14px,0); } }
@keyframes topoNear   { 0%,100% { transform: translate3d(0,0,0); }            50% { transform: translate3d(20px,-8px,0); } }
@keyframes topoSummit { 0%,100% { transform: translate3d(0,0,0) scale(1); }   50% { transform: translate3d(-10px,-6px,0) scale(1.015); } }
@keyframes topoGlow   { 0%,100% { transform: translate3d(0,0,0) scale(1); opacity:.5; } 50% { transform: translate3d(-18px,-12px,0) scale(1.06); opacity:.64; } }
@keyframes spotDrift  { 0%,100% { transform: translate3d(0,0,0) scale(1); }   50% { transform: translate3d(18px,14px,0) scale(1.05); } }
@keyframes engSway    { 0%,100% { transform: rotate(0deg) translateZ(0); }    50% { transform: rotate(1.4deg) translate(6px,-6px); } }
@keyframes engSwayR   { 0%,100% { transform: rotate(0deg) translateZ(0); }    50% { transform: rotate(-1.6deg) translate(-6px,-5px); } }
@keyframes engBreathe { 0%,100% { transform: scale(1) rotate(0deg); }         50% { transform: scale(1.02) rotate(.7deg); } }
@keyframes engFloat   { 0%,100% { transform: translate(0,0) rotate(-1deg); }  50% { transform: translate(14px,-18px) rotate(2deg); } }
@keyframes seedIn     { 0% { opacity: 0; transform: translateY(6px); } 45% { opacity: 1; } 100% { opacity: 1; transform: translateY(0); } }
@keyframes seedDraw   { 0% { stroke-dashoffset: 1; opacity: 0; } 30% { opacity: .9; } 100% { stroke-dashoffset: 0; opacity: .9; } }
@keyframes summitDraw { 0% { stroke-dashoffset: 1; opacity: 0; } 18% { opacity: .7; } 70% { stroke-dashoffset: 0; opacity: .7; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes summitMark { 0%,100% { transform: scale(1); opacity: .55; }        50% { transform: scale(1.5); opacity: .9; } }

/* per-section accent glows — green/teal/mint/sky family only (no purple/amber) */
.about-us::before, .mission-vision::before, .events::before, .our-team::before, .our-blog::before {
  content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
  filter: blur(6px);
}
.about-us::before     { width: 300px; height: 300px; top: -70px; right: -60px; background: radial-gradient(circle at 35% 30%, rgba(60,200,143,.15), transparent 68%); }
.mission-vision::before { width: 340px; height: 340px; bottom: -90px; left: -90px; background: radial-gradient(circle at 35% 30%, rgba(52,185,160,.14), transparent 68%); }
.events::before       { width: 280px; height: 280px; top: -60px; left: -70px; background: radial-gradient(circle at 35% 30%, rgba(33,215,217,.14), transparent 68%); }
.our-team::before     { width: 300px; height: 300px; bottom: -80px; right: -70px; background: radial-gradient(circle at 35% 30%, rgba(127,230,214,.15), transparent 68%); }
.our-blog::before     { width: 280px; height: 280px; top: -70px; right: -60px; background: radial-gradient(circle at 35% 30%, rgba(124,198,240,.14), transparent 68%); }

/* keep section content above its accent artifact */
.about-us .container, .mission-vision .mission-container, .mission-vision .container,
.events .container, .events .mission-container, .our-team .container, .our-blog .container,
.gallery .container { position: relative; z-index: 1; }

/* lift cards a touch more so they read as premium over the engraved field */
.event-box, .mission-point-inner, .about-us .about-qcard, .our-team .single-usr, .our-blog .single-blog {
  box-shadow: 0 18px 44px rgba(22,30,55,.10), 0 3px 10px rgba(22,30,55,.05);
}

/* responsive: scale down, then shed the heaviest / smallest pieces */
@media screen and (max-width: 991px) {
  .eng-stem  { width: 220px; height: 420px; opacity: .4; }
  .eng-fern  { display: none; }
  .eng-clock { width: 240px; height: 258px; }
  .eng-seeds { left: 16%; opacity: .6; }
  .bg-decor .topo-mid  { width: 96vw; opacity: .72; }
  .bg-decor .topo-near { display: none; }
  .bg-decor .topo-glow { width: 440px; height: 440px; }
  .bg-decor .spot-tl   { width: 420px; height: 420px; }
  .bg-decor .grain     { opacity: .05; }
}
@media screen and (max-width: 575px) {
  .eng-fern, .eng-seeds { display: none; }
  .eng-stem  { opacity: .3; }
  .eng-clock { width: 200px; height: 215px; left: 2%; opacity: .5; }
  .bg-decor .topo-far    { opacity: .32; }
  .bg-decor .topo-summit { right: 2vw; bottom: 5vh; width: 250px; height: 250px; }
  .bg-decor .summit-accent { display: none; }
  .bg-decor .topo-glow   { width: 340px; height: 340px; opacity: .4; }
  .bg-decor .sheen       { height: 280px; }
  .bg-decor .grain       { display: none; }
}

/* motion-safe: freeze every plate, keep the full still composition */
@media (prefers-reduced-motion: reduce) {
  .bg-decor .topo, .bg-decor .eng, .bg-decor .spot, .bg-decor .topo-glow,
  .bg-decor .seed, .bg-decor .seed-fil.draw, .bg-decor .summit-accent, .bg-decor .summit-mark {
    animation: none !important;
  }
  .bg-decor .summit-accent, .bg-decor .seed-fil.draw { stroke-dashoffset: 0; opacity: .7; }
}

/* =======================================================================
   TEXT READABILITY OVER BACKDROP  (soft frosted scrim + soft halo)
   Where body text sits over the decorative .bg-decor void, a feathered
   backdrop-blur "scrim" softens the hairlines directly behind the text, and
   a faint white halo keeps glyph edges crisp. Both are effectively INVISIBLE
   over solid white / opaque cards (a blur of near-white is still near-white),
   so this is safe to apply site-wide — it only acts where the backdrop shows.
   ======================================================================= */
.about-us .text-part,
.mission-vision .mv-det,
.blog-post-content,
.session-title,
.inner-title { position: relative; }

.about-us .text-part::before,
.mission-vision .mv-det::before,
.blog-post-content::before,
.session-title::before,
.inner-title::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -12px -22px; border-radius: 22px;
  -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px);
  background: rgba(247, 250, 253, .24);
  -webkit-mask-image: radial-gradient(135% 130% at 32% 50%, #000 50%, transparent 100%);
          mask-image: radial-gradient(135% 130% at 32% 50%, #000 50%, transparent 100%);
}
/* centred blocks get a centred feather */
.session-title::before {
  -webkit-mask-image: radial-gradient(130% 135% at 50% 50%, #000 52%, transparent 100%);
          mask-image: radial-gradient(130% 135% at 50% 50%, #000 52%, transparent 100%);
}

/* soft white halo — gentle, just enough to lift glyphs off a stray hairline */
.about-us .text-part p, .about-us .text-part h2,
.mission-vision .mv-det h1, .mission-vision .vision-content,
.blog-post-content, .blog-post-content h1, .blog-post-content h2, .blog-post-content h3, .blog-post-content p,
.session-title h2, .session-title p, .session-title span,
.inner-title h2, .inner-title p {
  text-shadow: 0 0 4px rgba(248, 251, 253, .7);
}

/* no backdrop-filter support → use a slightly more opaque feathered scrim */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .about-us .text-part::before, .mission-vision .mv-det::before,
  .blog-post-content::before, .session-title::before, .inner-title::before {
    background: rgba(247, 250, 253, .55);
  }
}

/* =======================================================================
   MOBILE PERFORMANCE — kill scroll-jank on phones/tablets; desktop untouched.
   (1) drop background-attachment:fixed (it forces a full-viewport re-raster
       every scroll frame — the top scroll-jank source on the home + stats bands).
   (2) on TOUCH devices, freeze the decorative backdrop's 12 infinite animations
       and release its promoted GPU layers, and swap the readability scrim's
       per-frame backdrop-blur for the cheap static opaque fallback.
   The still composition + text legibility stay visually identical at rest;
   desktop (fine pointer) keeps all parallax, motion and frosted blur.
   ======================================================================= */
@media screen and (max-width: 991px) {
  body, .doctor-message { background-attachment: scroll; }
}

@media (hover: none) and (pointer: coarse) {
  /* freeze every animated backdrop plate + drop its persistent compositor layer */
  .bg-decor .topo, .bg-decor .eng, .bg-decor .spot, .bg-decor .topo-glow,
  .bg-decor .grain, .bg-decor .summit-accent, .bg-decor .summit-mark,
  .bg-decor .seed, .bg-decor .seed-fil.draw {
    animation: none !important;
    will-change: auto;
  }
  .bg-decor .summit-accent, .bg-decor .seed-fil.draw { stroke-dashoffset: 0; opacity: .7; }
  /* readability scrim: static opaque fallback instead of a per-frame backdrop-blur */
  .about-us .text-part::before, .mission-vision .mv-det::before,
  .blog-post-content::before, .session-title::before, .inner-title::before {
    -webkit-backdrop-filter: none; backdrop-filter: none;
    background: rgba(247, 250, 253, .55);
  }
}

/* contact page — comfortable breathing room on phones (no edge-to-edge content) */
@media screen and (max-width: 767px) {
  .contact-section .container { padding-left: 24px; padding-right: 24px; }
  .contact-section .col-md-5 { margin-bottom: 20px; }
  .contact-section address.md-margin-bottom-40 p { display: block; text-align: left; }
  .contact-section address.md-margin-bottom-40 p i { margin-right: 8px; }

  /* footer: give every column real side padding so text isn't flush to the
     screen edge (Bootstrap row -15px margins pulled it to the edge on phones) */
  .footer { padding: 54px 0 34px; }
  .footer .container, .copy .container { padding-left: 22px; padding-right: 22px; }
  .footer .row { margin-left: 0; margin-right: 0; }
  .footer [class*="col-"] { padding-left: 0; padding-right: 0; }
  .footer .col-md-4 { margin-bottom: 26px; }
  /* footer nav-box: drop the giant pill, add inner padding, centre + space the
     links so the last ones fit cleanly, full-width centred Donate button */
  .nav-box {
    border-radius: 18px; padding: 18px 14px 20px; margin-top: 32px;
    row-gap: 6px; justify-content: center;
  }
  .nav-box .inner { width: 100%; }
  .nav-box .footer-nav { justify-content: center; gap: 2px 6px; }
  .nav-box .footer-nav li { padding: 8px 14px; }
  .nav-box > .donate-link { width: 100%; margin: 12px 0 0; text-align: center; }
  .nav-box > .donate-link .btn { display: inline-flex; }
}
