/* ================= QUICK LINKS BAR — MOBILE ONLY ================= */
/* Desktop already shows the full nav-links in the navbar, so this bar
   would just duplicate them there — it only renders on small screens
   where the navbar links are hidden. */
.quick-links-bar{
  display:none;
  background:#fff;
  border-bottom:1px solid var(--border);
  position:sticky;
  top:82px;
  z-index:90;
}

.ql-scroll{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding:12px 0;
  scrollbar-width:none;
}
.ql-scroll::-webkit-scrollbar{ display:none; }

.ql-btn{
  flex-shrink:0;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:9px 16px;
  border-radius:999px;
  background:var(--bg-soft);
  color:var(--ink-2);
  text-decoration:none;
  font-size:13.5px;
  font-weight:500;
  white-space:nowrap;
  transition:all .2s ease;
}
.ql-btn:hover{ background:#e2f0e6; }
.ql-btn.active{
  background:linear-gradient(135deg,var(--green-600),var(--green-500));
  color:#fff;
}
.ql-btn-donate{
  background:linear-gradient(135deg,var(--amber-600),var(--amber-500));
  color:#fff;
}
.ql-btn-donate:hover{ opacity:0.9; }

@media (max-width:900px){
  .quick-links-bar{ display:block; }
}

/* ================= HERO SHOWCASE ================= */
.hero-showcase{
  padding:32px 0 90px;
  background:var(--bg);
}

/* ---- Framed photo slider ----
   No blur/zoom trick — a clean brand-colour "mat" (like a picture frame
   border) sits behind the photo. Any photo, whatever its size or shape,
   always looks intentionally framed instead of lost in empty space. */
.frame-wrap{ margin-bottom:40px; }

.hero-frame{
  position:relative;
  width:100%;
  height:440px;
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-lg);
  background:linear-gradient(135deg,var(--green-800) 0%,var(--green-600) 55%,var(--green-500) 100%);
}

.frame-slide{
  position:absolute;
  top:22px; left:22px; right:22px; bottom:22px;
  border-radius:16px;
  overflow:hidden;
  background:rgba(255,255,255,0.08);
  opacity:0;
  transition:opacity .9s ease;
}
.frame-slide.active{ opacity:1; }

.frame-img{
  width:100%;
  height:100%;
  object-fit:contain;   /* full photo always visible, never cropped */
  display:block;
}

.frame-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px; height:42px;
  border-radius:50%;
  border:none;
  background:rgba(15,36,24,0.55);
  color:#fff;
  font-size:24px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:2;
  backdrop-filter:blur(4px);
  transition:background .2s ease, transform .2s ease;
}
.frame-nav:hover{ background:rgba(15,36,24,0.82); transform:translateY(-50%) scale(1.06); }
.frame-prev{ left:14px; }
.frame-next{ right:14px; }

.frame-dots{
  position:absolute;
  bottom:12px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:8px;
  z-index:2;
}
.frame-dot{
  width:8px; height:8px;
  border-radius:50%;
  background:rgba(255,255,255,0.55);
  border:none;
  padding:0;
  cursor:pointer;
  transition:all .25s ease;
}
.frame-dot.active{
  background:#fff;
  width:22px;
  border-radius:999px;
}

/* ---- Text + cards side-by-side below the photo (desktop) ---- */
.hero-below{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:56px;
  align-items:start;
}

.hero-text-col{ text-align:left; padding-top:6px; }

.hero-eyebrow{
  display:inline-block;
  padding:7px 16px;
  border-radius:999px;
  background:var(--bg-soft);
  color:var(--green-700);
  border:1px solid var(--border);
  font-size:13px;
  font-weight:600;
  margin-bottom:16px;
}

.hero-text-col h1{
  color:var(--green-800);
  font-size:clamp(28px,3.4vw,42px);
  margin-bottom:14px;
}

.hero-sub{
  color:var(--ink-3);
  font-size:15.5px;
  max-width:460px;
  margin-bottom:26px;
}

.hero-actions{
  display:flex;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:14px;
  margin-bottom:34px;
}

.btn-outline{
  background:#fff;
  color:var(--green-700);
  border:1.5px solid var(--green-600);
}
.btn-outline:hover{ background:var(--green-600); color:#fff; transform:translateY(-3px); }

.hero-stats{
  display:flex;
  justify-content:flex-start;
  gap:40px;
  flex-wrap:wrap;
}
.stat-num{ font-size:25px; font-weight:800; color:var(--green-700); }
.stat-label{ font-size:12.5px; color:var(--ink-3); }

/* ---- Cards column ---- */
.hero-cards-col .section-header{ margin-bottom:20px; }
.hero-cards-col .section-header h2{ font-size:22px; }

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

.qa-card{
  background:#fff;
  border-radius:var(--radius-md);
  padding:20px 16px;
  text-align:center;
  text-decoration:none;
  color:var(--ink-1);
  box-shadow:var(--shadow-sm);
  border:1px solid var(--border);
  transition:transform .3s ease, box-shadow .3s ease;
}
.qa-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow-md);
  border-color:transparent;
}

.qa-icon{ font-size:26px; margin-bottom:8px; }
.qa-card h3{ font-size:14px; margin-bottom:4px; }
.qa-card p{ font-size:11.5px; color:var(--ink-3); margin:0; }

/* ================= MISSION ================= */
.mission-section{ padding:90px 0; background:var(--bg-soft); }

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

.mission-card{
  background:#fff;
  border-radius:var(--radius-md);
  padding:34px 28px;
  box-shadow:var(--shadow-sm);
  transition:transform .3s ease;
}
.mission-card:hover{ transform:translateY(-6px); }

.m-icon{ font-size:34px; margin-bottom:14px; }
.mission-card h3{ font-size:19px; }
.mission-card p{ font-size:14.5px; }

@media (max-width:900px){ .mission-grid{ grid-template-columns:1fr; } }

/* ================= CTA STRIP ================= */
.cta-strip{
  padding:80px 0;
  text-align:center;
  background:linear-gradient(135deg,var(--green-700),var(--green-500));
  color:#fff;
}
.cta-strip h2{ color:#fff; font-size:clamp(26px,3.6vw,38px); }
.cta-strip p{ color:rgba(255,255,255,0.88); max-width:520px; margin:0 auto 26px; }
.cta-actions{ display:flex; justify-content:center; gap:14px; flex-wrap:wrap; }

/* ==========================================================================
   MOBILE OPTIMIZATIONS
   ========================================================================== */

@media (max-width:900px){

  .hero-showcase{ padding:18px 0 56px; }

  .hero-frame{ height:260px; border-radius:18px; }
  .frame-slide{ top:14px; left:14px; right:14px; bottom:14px; border-radius:12px; }
  .frame-nav{ width:36px; height:36px; font-size:20px; }
  .frame-prev{ left:10px; }
  .frame-next{ right:10px; }
  .frame-dots{ bottom:8px; }

  /* stack: text on top, cards below — full width, no side-by-side */
  .hero-below{ grid-template-columns:1fr; gap:0; }

  .hero-text-col{ text-align:center; padding-top:0; margin-bottom:34px; }
  .hero-eyebrow{ font-size:11.5px; padding:6px 13px; margin-bottom:12px; }
  .hero-text-col h1{ font-size:clamp(23px,6.4vw,30px); margin-bottom:10px; line-height:1.28; }
  .hero-sub{ font-size:13.5px; margin:0 auto 22px; }

  .hero-actions{ flex-direction:column; gap:10px; margin-bottom:26px; justify-content:center; }
  .hero-actions .btn{ width:100%; }

  .hero-stats{
    justify-content:space-between;
    background:var(--bg-soft);
    border:1px solid var(--border);
    border-radius:14px;
    padding:12px 8px;
  }
  .stat-item{ flex:1; text-align:center; }
  .stat-num{ font-size:19px; }
  .stat-label{ font-size:10.5px; }

  .hero-cards-col .section-header{
    text-align:center;
    margin-left:auto;
    margin-right:auto;
  }

  /* ---- Quick action cards: 3 across, then next row of 3 ---- */
  .qa-grid{ grid-template-columns:repeat(3,1fr); gap:10px; }
  .qa-card{ padding:14px 6px; border-radius:14px; }
  .qa-icon{ font-size:20px; margin-bottom:6px; }
  .qa-card h3{ font-size:11px; margin-bottom:2px; line-height:1.25; }
  .qa-card p{ font-size:9.5px; }

  .mission-section{ padding:50px 0; }
  .mission-grid{ gap:14px; }
  .mission-card{ padding:22px 20px; }
  .m-icon{ font-size:26px; margin-bottom:10px; }
  .mission-card h3{ font-size:16.5px; }
  .mission-card p{ font-size:13.5px; }

  .cta-strip{ padding:50px 0; }
  .cta-actions{ flex-direction:column; }
  .cta-actions .btn{ width:100%; }
}

@media (max-width:420px){
  .qa-card p{ display:none; }
  .qa-card h3{ font-size:10.5px; }
  .section-header h2{ font-size:22px; }
}