/* ============================================
   KASARACHI FOUNDATION - Human Design Layer
   Warm tone, consistent rhythm, modern UI
   ============================================ */

:root {
  --human-warm: #fff9f5;
  --human-warm-alt: #f5f0eb;
  --text-body: #334155;
  --text-muted: #64748b;
  --radius-pill: 999px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
  color: var(--text-body);
}

/* ---- Navigation ---- */
.btn-nav {
  display: none;
  padding: 10px 22px;
  font-size: 0.9rem;
  font-weight: 600;
  flex-shrink: 0;
  margin-left: 8px;
}

@media (min-width: 992px) {
  .btn-nav {
    display: inline-flex;
  }
}

.nav-cta-mobile {
  display: none;
}

@media (max-width: 991px) {
  .nav-menu.active .nav-cta-mobile {
    display: block;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }

  .nav-cta-mobile .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ---- Typography & prose ---- */
.hero-sub,
.page-hero .hero-sub,
.page-hero-content > p:not(.hero-sub) {
  font-size: 1.125rem;
  line-height: 1.7;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.section-lede,
.section-header .subtitle {
  max-width: 640px;
  margin: 12px auto 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.prose p,
.story-text p,
.about-text p,
.program-lead,
.mvv-card p,
.legal-content p,
.legal-content li {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-body);
}

.human-quote {
  border-left: 4px solid var(--primary);
  padding-left: 1.25rem;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--dark-light);
}

/* ---- Badges & labels (less noisy) ---- */
.badge {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.page-hero .badge {
  margin-bottom: 1rem;
}

/* ---- Breadcrumb ---- */
.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  font-size: 0.85rem;
  margin-bottom: 14px;
  opacity: 0.85;
}

.page-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.page-breadcrumb a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

.page-breadcrumb [aria-hidden="true"] {
  opacity: 0.5;
}

/* ---- Cards & surfaces ---- */
.glass-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.glass-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.program-card,
.news-card,
.mvv-card,
.testimonial,
.info-card {
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

/* ---- Buttons & pills ---- */
.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.filter-btn,
.freq-btn,
.amount-btn,
.gallery-filters .filter-btn {
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

/* ---- FAQ ---- */
.faq-item {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--white);
}

.faq-question {
  font-weight: 600;
  font-size: 1.05rem;
}

/* ---- Features (why us) ---- */
.feature {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-weight: 500;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.feature:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-right: 10px;
  border-radius: var(--radius-sm);
  background: rgba(13, 110, 253, 0.08);
  font-size: 1rem;
}

/* ---- Mission / vision blocks on home ---- */
.mission-vision > div {
  padding: 14px 16px;
  border-radius: var(--radius);
  background: var(--human-warm);
  border: 1px solid var(--border);
  margin-bottom: 10px;
  line-height: 1.65;
}

/* ---- Trust strip (optional under hero) ---- */
.human-trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.human-trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px 36px;
}

.human-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.human-trust-item strong {
  color: var(--dark);
  font-weight: 700;
}

.human-trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  flex-shrink: 0;
}

/* ---- CTA band (unified donation) ---- */
.donation-cta .cta-box {
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.donation-cta .cta-band-inner {
  width: 100%;
}

.cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.cta-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---- Carousel controls ---- */
.carousel-btn {
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out);
}

.carousel-btn:hover {
  background: var(--light);
  transform: scale(1.05);
}

/* ---- Forms (warmer placeholders) ---- */
input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.12);
}

/* ---- Footer ---- */
.footer-tagline {
  line-height: 1.65;
  opacity: 0.92;
  max-width: 280px;
}

.footer ul li a {
  transition: color 0.2s var(--ease-out);
}

.footer ul li a:hover {
  color: var(--primary-light);
}

/* ---- Legal pages ---- */
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 36px 32px !important;
  background: var(--white) !important;
  color: var(--dark) !important;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-content a {
  color: var(--primary);
  font-weight: 500;
}

.legal-page-lede {
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
}

/* ---- Opportunity / volunteer badges ---- */
.opp-badge {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- Section rhythm ---- */
.section-padding {
  scroll-margin-top: 88px;
}

.our-story .section-header {
  text-align: left;
  margin-bottom: 2rem;
}

.our-story .section-header .subtitle {
  margin-left: 0;
  text-align: left;
}

/* ---- Stat & ribbon polish ---- */
.ribbon-item strong {
  font-family: var(--font-display);
}

.stat-item small {
  display: block;
  margin-top: 4px;
  font-weight: 500;
  color: var(--text-muted);
}

/* ---- Social links ---- */
.social-links a {
  transition: transform 0.2s var(--ease-out), opacity 0.2s;
}

.social-links a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 28px 20px !important;
  }

  .cta-band-inner {
    padding: 32px 24px;
  }
}

/* ---- Impact focus icons (qualitative stats) ---- */
.stat-icon {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-item small {
  display: block;
  font-weight: 600;
  color: var(--text-body);
}

/* ---- About: founder-only team grid ---- */
.team-grid--founder {
  max-width: 420px;
  margin-inline: auto;
}

.team-note {
  margin-top: 0.75rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.program-focus-row .program-stat strong {
  font-size: 0.95rem;
  line-height: 1.35;
}
