/* ============================================================
   Charity — modern design layer (2026)
   A clean, warm, contemporary non-profit look over the existing
   probootstrap markup. Loaded LAST so it wins. No markup changes.
   ============================================================ */

:root {
  --bg: #ffffff;
  --ink: #1b1e24;                 /* headings / strong text */
  --text: #5a6472;               /* body copy */
  --muted: #8b95a1;              /* meta / captions */
  --faint: #aab2bd;
  --line: #ececee;
  --line-strong: #dfe2e7;
  --accent: #f0a017;             /* warm amber (primary) */
  --accent-deep: #d6890b;        /* amber hover */
  --accent-soft: #fff6e6;        /* soft amber tint */
  --green: #17a44a;              /* donation progress / raised */
  --ink-2: #16181c;              /* footer / dark bands */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16,24,40,.04), 0 10px 26px rgba(16,24,40,.07);
  --shadow-hover: 0 20px 44px rgba(16,24,40,.14);
  --tr: .28s cubic-bezier(.2,.7,.3,1);
}

/* ---------- base ---------- */
body {
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 { color: var(--ink); letter-spacing: -.01em; }
a { transition: color var(--tr); }
img { max-width: 100%; height: auto; }
::selection { background: var(--accent); color: #fff; }

/* ---------- buttons: pill, warm ---------- */
.btn {
  border-radius: 999px;
  padding: 12px 30px;
  font-weight: 700;
  letter-spacing: .01em;
  transition: background var(--tr), color var(--tr), border-color var(--tr),
              transform var(--tr), box-shadow var(--tr);
}
.btn.btn-lg { padding: 15px 40px; font-size: 16px; }
.btn.btn-primary {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(240,160,23,.28);
}
.btn.btn-primary:hover, .btn.btn-primary:focus, .btn.btn-primary:active {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(240,160,23,.36);
}
/* the "Donate Now!" cause buttons carry both btn-primary + btn-black; keep them dark */
.btn.btn-black {
  background: var(--ink);
  border: 1px solid var(--ink);
  color: #fff;
  box-shadow: none;
}
.btn.btn-black:hover, .btn.btn-black:focus, .btn.btn-black:active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(240,160,23,.3);
}
.btn.btn-ghost { border: 1px solid var(--accent); color: var(--accent); background: transparent; }
.btn.btn-ghost:hover { background: var(--accent); color: #fff; }

/* ---------- navbar: dark, translucent, refined ---------- */
.probootstrap-navbar {
  background: rgba(18,20,25,.92) !important;
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.probootstrap-navbar .navbar-brand { letter-spacing: .12em; font-weight: 900; }
.probootstrap-navbar .navbar-nav > li > a {
  color: rgba(255,255,255,.82) !important;
  font-weight: 600;
  letter-spacing: .04em;
  position: relative;
  transition: color var(--tr);
}
.probootstrap-navbar .navbar-nav > li > a:hover,
.probootstrap-navbar .navbar-nav > li > a:focus,
.probootstrap-navbar .navbar-nav > li.active > a { color: #fff !important; }
/* animated accent underline on hover */
@media (min-width: 768px) {
  .probootstrap-navbar .navbar-nav > li:not(.probootstra-cta-button) > a::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px; bottom: 14px;
    height: 2px; border-radius: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--tr);
  }
  .probootstrap-navbar .navbar-nav > li:not(.probootstra-cta-button):hover > a::after,
  .probootstrap-navbar .navbar-nav > li.active:not(.probootstra-cta-button) > a::after {
    transform: scaleX(1);
  }
}
/* Donate CTA in the nav → amber pill */
.probootstrap-navbar .navbar-nav > li.probootstra-cta-button > a.btn,
.probootstrap-navbar .navbar-nav > li.probootstra-cta-button.last > a {
  background: var(--accent) !important;
  border: 1px solid var(--accent) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 9px 26px !important;
  font-weight: 700;
}
.probootstrap-navbar .navbar-nav > li.probootstra-cta-button > a.btn:hover {
  background: var(--accent-deep) !important;
  border-color: var(--accent-deep) !important;
}
/* dropdown panel: rounded + soft */
.probootstrap-navbar .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 8px;
}
.probootstrap-navbar .dropdown-menu > li a { border-radius: 7px; }

/* ---------- hero: gradient scrim for depth + legibility ---------- */
.probootstrap-hero { position: relative; }
.probootstrap-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(118deg,
              rgba(15,17,21,.86) 0%,
              rgba(15,17,21,.5) 44%,
              rgba(15,17,21,.14) 100%);
  z-index: 1;
}
.probootstrap-hero > .container { position: relative; z-index: 2; }
.probootstrap-hero .probootstrap-slider-text h1 { line-height: .98; letter-spacing: -.02em; }
.probootstrap-hero .probootstrap-slider-text h1 span {
  margin-top: 16px; opacity: .92; font-weight: 300; letter-spacing: 0;
}

/* service intro: floating rounded amber band with soft shadow */
.probootstrap-service-intro { z-index: 3; }
.probootstrap-service-intro .probootstrap-service-intro-flex {
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  box-shadow: 0 -8px 30px rgba(16,24,40,.18);
}
.probootstrap-service-intro .probootstrap-service-intro-flex .item {
  background: linear-gradient(160deg, var(--accent) 0%, var(--accent-deep) 100%);
  border-right: 1px solid rgba(255,255,255,.16);
  padding: 26px 24px;
  transition: filter var(--tr);
}
.probootstrap-service-intro .probootstrap-service-intro-flex .item:hover { filter: brightness(1.05); }
.probootstrap-service-intro .item .icon i { color: #fff; }
.probootstrap-service-intro .item .text h2 { color: #fff; font-weight: 800; letter-spacing: .02em; }
.probootstrap-service-intro .item .text p { color: rgba(255,255,255,.86); }
.probootstrap-service-intro .item .text a { color: #fff; text-decoration: none; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.55); }
.probootstrap-service-intro .item .text a:hover { border-color: #fff; }

/* ---------- section rhythm + headings ---------- */
.section-heading { margin-bottom: 46px; }
.section-heading h2 { letter-spacing: .02em; position: relative; display: inline-block; padding-bottom: 16px; }
.section-heading h2::after {
  content: ""; position: absolute; left: 50%; bottom: 0;
  width: 54px; height: 3px; border-radius: 3px;
  background: var(--accent); transform: translateX(-50%);
}
.section-heading .lead { color: var(--muted); }
/* keep headings readable on the dark/colored bands */
.probootstrap-section.probootstrap-section-dark .section-heading h2 { color: #fff; }

/* ---------- cause cards ---------- */
.probootstrap-image-text-block {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--tr), box-shadow var(--tr);
}
.probootstrap-image-text-block:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.probootstrap-image-text-block figure { overflow: hidden; line-height: 0; }
.probootstrap-image-text-block figure img {
  width: 100%; display: block;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.probootstrap-image-text-block:hover figure img { transform: scale(1.06); }
.probootstrap-image-text-block .probootstrap-cause-inner {
  padding: 24px 22px 26px;
  border: 0 !important;
}
.probootstrap-image-text-block h2 { font-size: 21px; line-height: 1.3; }
.probootstrap-image-text-block h2 a { color: var(--ink); transition: color var(--tr); }
.probootstrap-image-text-block h2 a:hover { color: var(--accent); }
.probootstrap-cause .probootstrap-raised span,
.probootstrap-cause .probootstrap-goal span { color: var(--green); font-weight: 800; }
.probootstrap-cause .probootstrap-date { color: var(--muted); }
.probootstrap-cause .probootstrap-date i { color: var(--accent); }

/* progress: green fill = donation progress */
.progress { background-color: #edeff2; height: 8px; border-radius: 999px; }
.progress-bar { background-color: var(--green); border-radius: 999px; }
.progress-bar > span { background: var(--green); }
.progress-bar > span:before { border-top-color: var(--green); }

/* ---------- donors (dark band) ---------- */
.probootstrap-section.probootstrap-bg::before { background: rgba(12,14,18,.62) !important; }
.probootstrap-donors {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 20px;
}
.probootstrap-donors .media img {
  width: 96px; height: 96px; object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--accent-soft);
  transition: box-shadow var(--tr);
}
.probootstrap-donors:hover .media img { box-shadow: 0 0 0 3px var(--accent); }
.probootstrap-donors .text h3 { font-size: 19px; }
.probootstrap-donors .text .donated .money { color: var(--green); font-weight: 800; }
.probootstrap-donors:focus, .probootstrap-donors:hover { box-shadow: var(--shadow-hover); }

/* ---------- testimonials: warm cream band, readable ---------- */
.probootstrap-section.probootstrap-section-colored {
  background: linear-gradient(180deg, #fff8ec 0%, #fdf0d9 100%) !important;
}
.probootstrap-section.probootstrap-section-colored .section-heading h2 { color: var(--ink); }
.probootstrap-section.probootstrap-section-colored .section-heading h2::after { background: var(--accent); }
.probootstrap-section.probootstrap-section-colored .section-heading p { color: #a07e3a; }
.probootstrap-testimony-wrap {
  border-radius: var(--radius);
  padding: 34px 28px 30px;
  box-shadow: var(--shadow);
  position: relative;
}
.probootstrap-testimony-wrap figure img {
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px var(--accent-soft);
  height: 84px; width: 84px !important;
}
.probootstrap-testimony-wrap blockquote { color: #2c313a; font-size: 16px; line-height: 1.7; font-style: italic; }
.probootstrap-testimony-wrap blockquote cite { color: var(--muted); font-style: normal; }
.probootstrap-testimony-wrap blockquote cite span { color: var(--accent-deep); }
.owl-carousel-testimony .probootstrap-testimony-wrap figure img { border: 6px solid #fff; }
/* the home "What People Says" rotator has no JS driver in the BS5 build
   (items are display:none awaiting a .rot-active that never lands) — show the
   quotes as a clean centered stack instead of leaving an empty band */
.owl-carousel-testimony .item { display: block !important; }
.owl-carousel-testimony .item + .item { margin-top: 6px; }

/* ---------- success stories (half) ---------- */
.probootstrap-half .text { padding: 4em 3em; }
.probootstrap-half .text h3 { font-size: 30px; margin-bottom: 18px; }
.probootstrap-half .text p { color: rgba(255,255,255,.74); }
.probootstrap-half .image .image-bg img { transition: transform 3s ease; }
@media (min-width: 1001px) { .probootstrap-half:hover .image .image-bg img { transform: scale(1.04) translate(-50%, -50%); } }
@media screen and (max-width: 768px) { .probootstrap-half .text { padding: 2.4em 1.4em; } }

/* ---------- news (home list + news page) ---------- */
.probootstrap-news li h3 a:hover { color: var(--accent); }
.probootstrap-news li .probootstrap-date { color: var(--muted); }
.probootstrap-news li .probootstrap-meta a:hover { color: var(--accent); }
.news-entry h2 a { color: var(--ink); }
.news-entry h2 a:hover { color: var(--accent); }
.probootstrap-news-date { color: var(--muted); letter-spacing: .04em; font-size: 13px; }
.probootstrap-meta-share a:hover { color: var(--accent); }
/* news page images: rounded + subtle zoom */
.news-entry ~ [class*="col-"] > p > img,
.probootstrap-section .row [class*="order-md"] > p > img,
.probootstrap-section .col-md-6 > p > img { border-radius: var(--radius); }
.probootstrap-section .col-md-6 > p > img { box-shadow: var(--shadow); }

/* ---------- team ---------- */
.probootstrap-team { border-radius: var(--radius); box-shadow: var(--shadow); }
.probootstrap-team img { border-radius: var(--radius); }
.probootstrap-team .probootstrap-team-info h3 .position { color: var(--accent); }

/* ---------- gallery ---------- */
.gal-item a, .image-popup { display: block; border-radius: var(--radius-sm); overflow: hidden; position: relative; box-shadow: var(--shadow); }
.gal-item img, .image-popup img { width: 100%; display: block; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.gal-item a:hover img, .image-popup:hover img { transform: scale(1.07); }
.gal-item a::after, .image-popup::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,17,21,.35), transparent 55%);
  opacity: 0; transition: opacity var(--tr);
}
.gal-item a:hover::after, .image-popup:hover::after { opacity: 1; }

/* ---------- forms (donate / contact) ---------- */
.probootstrap-form .form-control {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.probootstrap-form .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(240,160,23,.15);
  outline: none;
}
.probootstrap-form label { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.probootstrap-contact-info li i { color: var(--accent); }

/* ---------- footer ---------- */
.probootstrap-footer { background: var(--ink-2) !important; }
.probootstrap-footer.probootstrap-bg::before { display: none !important; }
.probootstrap-footer .probootstrap-footer-widget h3 {
  font-size: 17px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .06em; color: #fff; margin-bottom: 20px;
  padding-bottom: 14px; position: relative;
}
.probootstrap-footer .probootstrap-footer-widget h3::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 40px; height: 3px; border-radius: 3px; background: var(--accent);
}
.probootstrap-footer .probootstrap-footer-social li a { transition: color var(--tr), transform var(--tr); display: inline-block; }
.probootstrap-footer .probootstrap-footer-social li a:hover { color: var(--accent) !important; transform: translateY(-3px); }
.probootstrap-footer .probootstrap-contact-info li i { color: var(--accent); }
.probootstrap-footer .probootstrap-copyright { background: #0f1013; }
.probootstrap-footer .probootstrap-copyright p .icon { color: var(--accent); }
.probootstrap-back-to-top a:hover { color: var(--accent); }

/* ---------- responsive niceties ---------- */
@media (max-width: 767.98px) {
  .probootstrap-service-intro .probootstrap-service-intro-flex { border-radius: var(--radius); }
  .probootstrap-service-intro .probootstrap-service-intro-flex .item { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
  .section-heading { margin-bottom: 32px; }
}
