
:root{
  --green-900:#063B2A;
  --green-800:#075A3C;
  --green-700:#087443;
  --green-600:#12A05A;
  --green-500:#43C878;
  --green-100:#E4F6EC;
  --green-50:#F7FBF8;
  --ink:#102A24;
  --muted:#52635C;
  --white:#fff;
  --accent:#F2B84B;
  --navy:#102A43;
  --cream:#FFFDF7;
  --shadow:0 20px 60px rgba(6,59,42,.16);
  --radius:22px;
}
html{scroll-behavior:smooth}
body{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff;line-height:1.7}
a{text-decoration:none}
.topbar{background:var(--navy);color:#E9F4EF;font-size:.9rem}
.topbar a{color:#fff}
.navbar{background:rgba(255,255,255,.98);backdrop-filter:blur(12px);box-shadow:0 6px 30px rgba(0,0,0,.05);z-index:1030}
.navbar-brand img{width:58px;height:58px;object-fit:contain}
.nav-link{font-weight:700;color:#102A43!important;padding:.7rem .8rem!important}
.nav-link:hover,.nav-link.active{color:var(--green-700)!important}
.dropdown-menu{border:0;box-shadow:var(--shadow);border-radius:16px;padding:.6rem}
.dropdown-item{border-radius:10px;padding:.65rem .8rem}
.dropdown-item:hover{background:var(--green-100);color:var(--green-800)}
.btn-green{background:var(--green-700);color:#fff;border:0;border-radius:999px;padding:.75rem 1.25rem;font-weight:700;box-shadow:0 10px 25px rgba(20,122,77,.18)}
.btn-green:hover{background:var(--green-900);color:#fff;transform:translateY(-2px)}
.btn-outline-green{border:1.5px solid var(--green-600);color:var(--green-700);border-radius:999px;padding:.7rem 1.2rem;font-weight:700}
.btn-outline-green:hover{background:var(--green-700);color:#fff}
.hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#F7FBF8 0%,#E3F5EA 52%,#FFFDF7 100%);padding:95px 0 85px}
/* .hero:before,.hero:after{content:"";position:absolute;border-radius:50%;filter:blur(2px);opacity:.55}
.hero:before{width:320px;height:320px;background:#b9edca;right:-110px;top:-90px}
.hero:after{width:210px;height:210px;background:#d9f5e2;left:-90px;bottom:-90px} */
.hero-content{position:relative;z-index:1}
.eyebrow{display:inline-flex;align-items:center;gap:.5rem;color:var(--green-700);font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:.78rem}
.eyebrow:before{content:"";width:28px;height:3px;background:var(--green-500);border-radius:9px}
.hero h1{font-size:clamp(2.3rem,5vw,4.7rem);line-height:1.05;font-weight:850;letter-spacing:-.04em;margin:1rem 0}
.hero h1 span{color:var(--green-700)}
.hero .btn-green{box-shadow:0 12px 28px rgba(8,116,67,.28)}
.hero p.lead{font-size:1.1rem;color:var(--muted);max-width:720px}
.hero-card{background:#fff;border-radius:28px;padding:24px;box-shadow:var(--shadow);border:1px solid rgba(20,122,77,.08)}
.logo-hero{width:min(360px,75%);display:block;margin:auto;filter:drop-shadow(0 18px 28px rgba(20,122,77,.18))}
.section{padding:90px 0}
.section-sm{padding:60px 0}
.section-title{max-width:760px;margin-bottom:45px}
.section-title h2{font-size:clamp(2rem,4vw,3.2rem);font-weight:850;letter-spacing:-.035em}
.section-title p{color:var(--muted)}
.soft{background:linear-gradient(180deg,#F7FBF8 0%,#EEF8F2 100%)}
.card-modern{height:100%;border:1px solid #e7f0eb;border-radius:var(--radius);padding:28px;background:#fff;box-shadow:0 8px 35px rgba(10,60,40,.05);transition:.35s ease}
.card-modern:hover{transform:translateY(-8px);box-shadow:var(--shadow)}
.icon-box{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:var(--green-100);color:var(--green-700);font-size:1.35rem;margin-bottom:18px}
.stat{padding:26px;border-radius:20px;background:#fff;border:1px solid #e3efe8;text-align:center;height:100%}
.stat strong{font-size:2.2rem;color:var(--green-700);display:block;font-weight:850}
.stat span{color:var(--muted);font-size:.92rem}
.program-card{overflow:hidden;padding:0}
.program-card .program-body{padding:24px}
.program-tag{display:inline-block;background:#E4F6EC;color:#063B2A;border:1px solid #BFE8CF;padding:.35rem .7rem;border-radius:999px;font-size:.75rem;font-weight:800}
.progress{height:8px;background:#e8f1ec;border-radius:20px}
.progress-bar{background:var(--green-600)}
.page-hero{padding:75px 0;background:linear-gradient(120deg,#063B2A 0%,#087443 62%,#0B8A50 100%);color:#fff;position:relative;overflow:hidden}
.page-hero:after{content:"";position:absolute;width:350px;height:350px;border:50px solid rgba(255,255,255,.06);border-radius:50%;right:-100px;top:-150px}
.page-hero p{color:#d8f0e2;max-width:760px}
.breadcrumb a{color:#d8f0e2}
.breadcrumb-item.active{color:#fff}
.board-card{text-align:center}
.board-avatar{width:92px;height:92px;border-radius:50%;margin:0 auto 18px;background:linear-gradient(135deg,#dff7e7,#b7e9c9);display:grid;place-items:center;color:var(--green-800);font-size:1.8rem;font-weight:800}
.timeline{position:relative;margin-left:10px;padding-left:35px;border-left:2px solid #d9ece0}
.timeline-item{position:relative;padding-bottom:35px}
.timeline-item:before{content:"";position:absolute;left:-44px;top:5px;width:16px;height:16px;border-radius:50%;background:var(--green-600);border:4px solid #e8f8ee}
.table-modern{overflow:hidden;border-radius:18px;border:1px solid #e2eee8}
.table-modern th{background:var(--green-900);color:#fff}
.table-modern td,.table-modern th{padding:15px;vertical-align:top}
.donate-box{background:linear-gradient(135deg,#0b3d2e,#147a4d);color:#fff;border-radius:28px;padding:40px;box-shadow:var(--shadow)}
.donate-box .bank{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);border-radius:18px;padding:22px}
.form-control,.form-select{border-radius:14px;padding:.8rem 1rem;border:1px solid #dbe9e2}
.form-control:focus,.form-select:focus{border-color:var(--green-500);box-shadow:0 0 0 .2rem rgba(56,185,111,.12)}
.footer{background:#071F2E;color:#D7E9E2}
.footer h5{color:#fff;font-weight:800}
.footer a{color:#cce6d8}
.footer a:hover{color:#fff}
.social-link{width:40px;height:40px;display:inline-grid;place-items:center;border:1px solid rgba(221,236,231,.28);border-radius:50%;color:#DDECE7!important;transition:transform .25s ease,background .25s ease,color .25s ease,border-color .25s ease}
.social-link:hover{background:var(--accent);border-color:var(--accent);color:var(--navy)!important;transform:translateY(-3px)}
.social-link:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.16)}
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
.reveal.show{opacity:1;transform:none}
.delay-1{transition-delay:.08s}.delay-2{transition-delay:.16s}.delay-3{transition-delay:.24s}
.float{animation:float 5s ease-in-out infinite}
.dropdown-item.active{color:#fff;background:var(--green-700)}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-10px)}}
.pulse-dot{width:10px;height:10px;background:#53d37e;border-radius:50%;display:inline-block;box-shadow:0 0 0 7px rgba(83,211,126,.15)}
.mobile-actions{display:none}
@media(max-width:991.98px){
  .desktop-donate{display:none}
  .mobile-actions{display:flex;align-items:center;gap:.35rem}
  .mobile-actions .btn{font-size:.78rem;padding:.5rem .8rem}
  .navbar-brand img{width:50px;height:50px}
  .navbar-collapse{padding:12px 0}
  .hero{padding:65px 0}
}
@media(max-width:575.98px){
  .topbar .container{justify-content:center!important}
  .topbar .right-info{display:none}
  .hero h1{font-size:2.45rem}
  .section{padding:65px 0}
  .page-hero{padding:55px 0}
  .donate-box{padding:25px}
}


/* High-contrast visual accents */
.section-title h2,
.card-modern h2,
.card-modern h3,
.card-modern h4,
.card-modern h5 { color:#102A43; }
.hero h1 { color:#102A43; }
.eyebrow { color:#087443; }
.icon-box { border:1px solid #BDE6CE; }
.btn-green { background:#087443; }
.btn-green:hover { background:#063B2A; }
.btn-outline-green { border-width:2px; }
.donate-box { background:linear-gradient(135deg,#063B2A 0%,#075A3C 55%,#102A43 100%); }
a.link,.stat strong { color:#087443; }
.footer a { color:#D7E9E2; }
.footer a:hover,a.link:hover,.topbar a:hover { color:#F2B84B; }
.footer h5 { color:#FFFFFF; }
.breadcrumb a:hover { color:#F2B84B; }


/* =========================================================
   ACCESSIBLE HIGH-CONTRAST TYPOGRAPHY + MOTION SYSTEM
   ========================================================= */

body {
  color: #132A24;
  background: #FFFFFF;
  text-rendering: optimizeLegibility;
}

p, li, td, label, small {
  color: #3F514A;
}

.text-secondary {
  color: #4D5F58 !important;
}

.section-title h2,
.hero h1,
.page-hero h1 {
  color: #ffffff;
}
/* .soft h2{color:var(--green-900)} */
/* .card-modern h2,
.card-modern h3,
.card-modern h4,
.card-modern h5, */
.section-title.reveal.show h2,.soft h2{color:var(--green-900)}

.section-title p,
.hero p.lead,
.card-modern p,
.card-modern li {
  color: #465A52;
}

.eyebrow {
  color: #075A3C;
  font-weight: 850;
}

.eyebrow:before {
  background: #F2B84B;
}

.nav-link {
  color: #102A43 !important;
}

.nav-link:hover,
.nav-link.active {
  color: #087443 !important;
}

.dropdown-item {
  color: #173A31;
}

.dropdown-item:hover {
  color: #063B2A;
  background: #E4F6EC;
}

.footer {
  background: #071F2E;
  color: #DDECE7;
}

.footer p,
.footer li,
.footer small {
  color: #C7DCD5;
}

.footer a {
  color: #DDECE7;
}

.footer a:hover {
  color: #F2B84B;
}

.card-modern {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
}

.card-modern:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, #087443, #43C878, #F2B84B);
  transition: width .55s cubic-bezier(.2,.8,.2,1);
}

.card-modern:hover:before {
  width: 100%;
}

.card-modern:hover .icon-box {
  transform: rotate(-6deg) scale(1.08);
  background: #D8F2E3;
}

.icon-box {
  transition: transform .45s cubic-bezier(.2,.8,.2,1),
              background .35s ease,
              box-shadow .35s ease;
}

.btn-green,
.btn-outline-green {
  transition: transform .3s ease, box-shadow .3s ease,
              background .3s ease, color .3s ease;
}

.btn-green:hover,
.btn-outline-green:hover {
  transform: translateY(-3px);
}

.btn-green:hover {
  box-shadow: 0 14px 30px rgba(8,116,67,.28);
}

.hero-card {
  animation: heroCardIn .9s cubic-bezier(.2,.8,.2,1) both;
}

.hero-card:hover {
  transform: translateY(-8px) rotate(.4deg);
}

.logo-hero {
  animation: logoBreath 4s ease-in-out infinite;
}

/* .hero:before {
  animation: orbMove 10s ease-in-out infinite alternate;
}

.hero:after {
  animation: orbMoveReverse 12s ease-in-out infinite alternate;
} */

.page-hero h1 {
  animation: titleReveal .8s cubic-bezier(.2,.8,.2,1) both;
}

.page-hero p {
  animation: titleReveal .95s .1s cubic-bezier(.2,.8,.2,1) both;
}

.stat {
  transition: transform .35s ease, box-shadow .35s ease,
              border-color .35s ease;
}

.stat:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 18px 45px rgba(6,59,42,.12);
  border-color: #A9DEC0;
}

.stat strong {
  transition: transform .35s ease;
}

.stat:hover strong {
  transform: scale(1.08);
}

.program-tag {
  transition: transform .3s ease, box-shadow .3s ease;
}

.card-modern:hover .program-tag {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(8,116,67,.12);
}

.timeline-item {
  transition: transform .4s ease;
}

.timeline-item:hover {
  transform: translateX(8px);
}

.timeline-item:before {
  transition: transform .35s ease, box-shadow .35s ease;
}

.timeline-item:hover:before {
  transform: scale(1.35);
  box-shadow: 0 0 0 7px rgba(67,200,120,.12);
}

.donate-box {
  position: relative;
  overflow: hidden;
}

.donate-box:before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  right: -90px;
  bottom: -130px;
  border: 35px solid rgba(255,255,255,.08);
  animation: slowSpin 16s linear infinite;
}

.donate-box:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  left: 40%;
  top: -40px;
  background: rgba(242,184,75,.14);
  animation: float 5s ease-in-out infinite;
}

.reveal.show {
  animation: revealUp .75s cubic-bezier(.2,.8,.2,1) both;
}

.delay-1.show { animation-delay: .08s; }
.delay-2.show { animation-delay: .16s; }
.delay-3.show { animation-delay: .24s; }

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroCardIn {
  from {
    opacity: 0;
    transform: translateY(35px) scale(.94) rotate(1deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
}

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

@keyframes logoBreath {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.035); }
}

@keyframes orbMove {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(-45px,35px) scale(1.15); }
}

@keyframes orbMoveReverse {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(35px,-25px) scale(1.12); }
}

@keyframes slowSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
