/* NGOHope — warm humanitarian NGO template */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-background);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.25s; }

.ng-container { max-width: 1240px; margin: 0 auto; padding: 0 28px; position: relative; }

/* ── Top bar ─────────────────────────────────────── */
.ng-topbar {
  background: var(--color-primary);
  color: #fff;
  padding: 10px 0;
  font-size: 0.85rem;
}
.ng-topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.ng-topbar-btn {
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.6);
  padding: 5px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.82rem;
  transition: all 0.25s;
}
.ng-topbar-btn:hover { background: #fff; color: var(--color-primary); }

/* ── Header ──────────────────────────────────────── */
.ng-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}
.ng-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ng-logo { display: inline-flex; align-items: center; gap: 12px; color: var(--color-text); }
.ng-logo img { height: 38px; width: auto; }
.ng-logo-mark { color: var(--color-primary); display: inline-flex; }
.ng-logo-text { font-family: var(--font-title); font-size: 1.35rem; font-weight: 700; color: var(--color-text); }
.ng-nav { display: flex; gap: 26px; }
.ng-nav a { color: var(--color-text); font-size: 0.92rem; font-weight: 500; }
.ng-nav a:hover { color: var(--color-primary); }

.ng-hamburger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.ng-hamburger span { display: block; width: 24px; height: 2px; background: var(--color-text); margin: 5px 0; }

/* ── Buttons ─────────────────────────────────────── */
.ng-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}
.ng-btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(224, 92, 42, 0.5);
}
.ng-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(224, 92, 42, 0.6); color: #fff; }
.ng-btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  padding: 10px 22px;
}
.ng-btn-outline:hover { background: var(--color-primary); color: #fff; }
.ng-btn-light { background: #fff; color: var(--color-primary); }
.ng-btn-light:hover { background: #fff5ed; color: var(--color-primary); }
.ng-btn-lg { padding: 16px 30px; font-size: 1rem; }
.ng-btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.ng-btn-block { width: 100%; }

/* ── Hero ────────────────────────────────────────── */
.ng-hero {
  position: relative;
  padding: 80px 0 90px;
  text-align: center;
  overflow: hidden;
}
.ng-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(224, 92, 42, 0.15), transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(45, 158, 107, 0.12), transparent 50%);
  pointer-events: none;
}
.ng-hero-inner { position: relative; z-index: 1; max-width: 840px; margin: 0 auto; }
.ng-hero-tag {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 4px;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 26px;
}
.ng-hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  margin: 0 0 22px;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--color-text);
  font-weight: 700;
}
.ng-hero-sub { color: var(--color-text-soft); font-size: 1.15rem; margin: 0 auto 36px; max-width: 680px; }
.ng-hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.ng-hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 60px auto 0;
  max-width: 920px;
  padding: 36px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px -30px rgba(26, 18, 8, 0.18);
  border: 1px solid var(--color-border);
}
.ng-hero-stat strong {
  display: block;
  font-family: var(--font-title);
  font-size: 2.4rem;
  color: var(--color-primary);
  font-weight: 800;
  line-height: 1;
}
.ng-hero-stat span { color: var(--color-text-soft); font-size: 0.85rem; margin-top: 8px; display: inline-block; }

/* ── Sections ────────────────────────────────────── */
.ng-section { padding: 90px 0; }
.ng-section-alt { background: #fff; }
.ng-section-head { text-align: center; margin-bottom: 56px; max-width: 720px; margin-left: auto; margin-right: auto; }
.ng-section-head-light { color: #fff; }
.ng-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 3.5px;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 14px;
}
.ng-eyebrow-light { color: rgba(255, 235, 220, 0.92); }
.ng-section-head h2 {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin: 0 0 12px;
  color: var(--color-text);
  font-weight: 700;
  letter-spacing: -0.6px;
}
.ng-section-head-light h2 { color: #fff; }
.ng-section-head p { color: var(--color-text-soft); margin: 0; font-size: 1.05rem; }
.ng-section-head-light p { color: rgba(255,255,255,0.92); }

/* ── Mission ─────────────────────────────────────── */
.ng-mission { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.ng-mission-text h2 { margin: 8px 0 24px; }
.ng-mission-text p { color: var(--color-text-soft); margin: 0 0 18px; font-size: 1.05rem; line-height: 1.75; }
.ng-quote {
  margin: 28px 0 0;
  padding: 22px 26px;
  border-left: 4px solid var(--color-primary);
  background: rgba(224, 92, 42, 0.06);
  border-radius: 0 12px 12px 0;
}
.ng-quote p {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--color-text);
  margin: 0 0 8px;
}
.ng-quote cite { color: var(--color-text-soft); font-size: 0.88rem; font-style: normal; font-weight: 600; }

.ng-mission-image {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  padding: 12px;
  background: rgba(224, 92, 42, 0.05);
}
.ng-mission-image img, .ng-mission-ph { width: 100%; height: 100%; min-height: 380px; object-fit: cover; border-radius: 8px; }

/* ── Projects ────────────────────────────────────── */
.ng-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.ng-project {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.ng-project:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -25px rgba(224, 92, 42, 0.3);
}
.ng-project-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.ng-project-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: #fff;
  color: var(--color-primary);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}
.ng-project-body { padding: 24px 22px; }
.ng-project-body h3 {
  font-family: var(--font-title);
  margin: 0 0 10px;
  font-size: 1.35rem;
  color: var(--color-text);
  font-weight: 700;
}
.ng-project-body p { color: var(--color-text-soft); font-size: 0.95rem; margin: 0 0 18px; }

.ng-project-progress {
  position: relative;
  height: 8px;
  background: rgba(224, 92, 42, 0.12);
  border-radius: 999px;
  margin: 0 0 8px;
  overflow: hidden;
}
.ng-progress-bar {
  height: 100%;
  background: var(--gradient);
  border-radius: 999px;
  transition: width 0.6s ease;
}
.ng-progress-label {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-soft);
  font-weight: 600;
  margin: 8px 0 16px;
}

/* ── Impact ──────────────────────────────────────── */
.ng-impact {
  padding: 90px 0;
  background: var(--gradient);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ng-impact::before, .ng-impact::after {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 50%;
}
.ng-impact::before { top: -120px; left: -100px; }
.ng-impact::after { bottom: -140px; right: -120px; }
.ng-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 1;
}
.ng-impact-cell {
  text-align: center;
  padding: 28px 18px;
  background: rgba(255,255,255,0.1);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.18);
}
.ng-impact-cell strong {
  display: block;
  font-family: var(--font-title);
  font-size: 2.6rem;
  color: #fff;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}
.ng-impact-cell span { color: rgba(255,255,255,0.88); font-size: 0.92rem; }

/* ── Donations ───────────────────────────────────── */
.ng-donations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 50px;
}
.ng-donation {
  position: relative;
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: 16px;
  padding: 32px 26px;
  text-align: center;
  transition: all 0.3s ease;
}
.ng-donation:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(224, 92, 42, 0.25); }
.ng-donation-feat {
  background: var(--gradient);
  color: #fff;
  transform: scale(1.05);
  border-color: var(--color-primary);
}
.ng-donation-feat:hover { transform: scale(1.07) translateY(-4px); }
.ng-donation-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.ng-donation h3 {
  font-family: var(--font-title);
  margin: 0 0 12px;
  font-size: 1.3rem;
  font-weight: 700;
}
.ng-donation-amount {
  font-family: var(--font-title);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.ng-donation-feat .ng-donation-amount { color: #fff; }
.ng-donation p { font-size: 0.95rem; opacity: 0.85; margin: 0 0 22px; }
.ng-donation-feat .ng-btn-light:hover { background: rgba(255,255,255,0.92); }

.ng-donate-form {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  border: 1.5px dashed var(--color-primary);
  text-align: center;
}
.ng-donate-form h3 { font-family: var(--font-title); margin: 0 0 22px; font-size: 1.4rem; }
.ng-donate-row { display: grid; grid-template-columns: 1fr 1fr 1.4fr auto; gap: 10px; }
.ng-donate-row input {
  padding: 14px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  background: var(--color-background);
}
.ng-donate-row input:focus { border-color: var(--color-primary); background: #fff; }
.ng-donate-foot { color: var(--color-text-soft); font-size: 0.85rem; margin: 14px 0 0; }

/* ── Team ────────────────────────────────────────── */
.ng-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ng-member { text-align: center; }
.ng-member-photo {
  width: 160px; height: 160px;
  margin: 0 auto 22px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 12px 30px -12px rgba(224, 92, 42, 0.3);
}
.ng-member-photo img, .ng-member-ph { width: 100%; height: 100%; object-fit: cover; }
.ng-member-ph {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-title);
  font-size: 4rem;
  font-weight: 700;
  background: var(--gradient);
  color: #fff;
}
.ng-member h3 {
  font-family: var(--font-title);
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 700;
}
.ng-member-role { color: var(--color-primary); font-size: 0.85rem; font-weight: 600; }
.ng-member p { color: var(--color-text-soft); margin: 14px 0 0; font-size: 0.92rem; }

/* ── Partners ────────────────────────────────────── */
.ng-partners {
  padding: 50px 0;
  background: var(--color-background);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.ng-partners-title {
  font-family: var(--font-title);
  text-align: center;
  margin: 0 0 30px;
  font-size: 1.1rem;
  color: var(--color-text-soft);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.ng-partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.ng-partner-logo {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 22px 14px;
  text-align: center;
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--color-text-soft);
  letter-spacing: 1.5px;
  font-size: 0.95rem;
  transition: all 0.25s;
}
.ng-partner-logo:hover { color: var(--color-primary); border-color: var(--color-primary); }

/* ── Testimonials ────────────────────────────────── */
.ng-testi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ng-testi-card {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 30px 26px;
  position: relative;
}
.ng-quote-mark {
  position: absolute;
  top: -16px; left: 18px;
  font-family: var(--font-title);
  font-size: 6rem;
  color: var(--color-primary);
  opacity: 0.25;
  line-height: 1;
}
.ng-testi-card p {
  font-family: var(--font-title);
  font-style: italic;
  color: var(--color-text);
  margin: 0 0 18px;
  line-height: 1.7;
  font-size: 1rem;
}
.ng-testi-author strong { display: block; font-family: var(--font-title); font-weight: 700; color: var(--color-text); font-size: 1.05rem; }
.ng-testi-author span { color: var(--color-primary); font-size: 0.85rem; font-weight: 600; margin-top: 2px; display: inline-block; }

/* ── Gallery ─────────────────────────────────────── */
.ng-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
.ng-gallery .ng-gal:nth-child(5n+1) { grid-row: span 2; }
.ng-gal {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  display: block;
}
.ng-gal img, .ng-gal-ph {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.ng-gal:hover img, .ng-gal:hover .ng-gal-ph { transform: scale(1.08); }
.ng-gal-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(26, 18, 8, 0.85));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ng-gal:hover .ng-gal-cap { opacity: 1; }

/* ── FAQ ─────────────────────────────────────────── */
.ng-faq-wrap { max-width: 820px; }
.ng-faq-list { display: flex; flex-direction: column; gap: 12px; }
.ng-faq {
  background: #fff;
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.ng-faq[open] { border-color: var(--color-primary); }
.ng-faq summary {
  cursor: pointer;
  padding: 20px 24px;
  font-family: var(--font-title);
  font-size: 1.08rem;
  color: var(--color-text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  font-weight: 700;
}
.ng-faq summary::-webkit-details-marker { display: none; }
.ng-faq summary::after { content: "+"; color: var(--color-primary); font-size: 1.6rem; font-weight: 400; }
.ng-faq[open] summary::after { content: "−"; }
.ng-faq p { margin: 0 24px 20px; color: var(--color-text-soft); line-height: 1.7; }

/* ── Contact ─────────────────────────────────────── */
.ng-contact { display: grid; grid-template-columns: 1fr 1.4fr; gap: 32px; }
.ng-ci {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ng-ci-row { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid var(--color-border); }
.ng-ci-row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.ng-ci-icon {
  width: 40px; height: 40px;
  background: rgba(224, 92, 42, 0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--color-primary);
}
.ng-ci-row strong { display: block; font-size: 0.8rem; color: var(--color-text-soft); font-weight: 600; margin-bottom: 4px; }
.ng-ci-row a, .ng-ci-row span { color: var(--color-text); font-weight: 500; }
.ng-ci-row a:hover { color: var(--color-primary); }
.ng-social { display: flex; gap: 8px; }
.ng-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: transform 0.2s;
}
.ng-social a:hover { transform: scale(1.1); }
.ng-maps {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  min-height: 380px;
  background: var(--color-background);
}
.ng-maps-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  height: 380px;
  color: var(--color-primary);
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
}
.ng-maps-pin { font-size: 3rem; }

/* ── Footer ──────────────────────────────────────── */
.ng-footer {
  padding: 60px 0 36px;
  background: var(--color-text);
  color: rgba(255,255,255,0.85);
  text-align: center;
}
.ng-footer-mission {
  max-width: 600px;
  margin: 0 auto 36px;
}
.ng-footer-mission h3 {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0 0 14px;
  color: #fff;
  font-weight: 700;
}
.ng-footer-mission p { color: rgba(255,255,255,0.8); margin: 0 0 24px; }
.ng-footer-nav { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.ng-footer-nav a { color: rgba(255,255,255,0.85); font-size: 0.92rem; font-weight: 500; }
.ng-footer-nav a:hover { color: var(--color-primary); }
.ng-footer-copy { font-size: 0.82rem; color: rgba(255,255,255,0.55); }

/* ── WhatsApp ────────────────────────────────────── */
.ng-whatsapp {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.5);
  z-index: 60;
  transition: transform 0.2s;
}
.ng-whatsapp:hover { transform: scale(1.1); }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  .ng-hero-stats { grid-template-columns: repeat(2, 1fr); }
  .ng-impact-grid { grid-template-columns: repeat(2, 1fr); }
  .ng-projects, .ng-donations, .ng-team, .ng-testi { grid-template-columns: repeat(2, 1fr); }
  .ng-partners-grid { grid-template-columns: repeat(3, 1fr); }
  .ng-gallery { grid-template-columns: repeat(3, 1fr); }
  .ng-mission, .ng-contact { grid-template-columns: 1fr; }
  .ng-donate-row { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .ng-hamburger { display: block; }
  .ng-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    gap: 14px;
    border-bottom: 1px solid var(--color-border);
    display: none;
  }
  .ng-nav.open { display: flex; }
  .ng-header .ng-btn { display: none; }
  .ng-topbar { font-size: 0.78rem; }
  .ng-topbar-inner { flex-direction: column; text-align: center; gap: 8px; }
  .ng-hero { padding: 60px 0 70px; }
  .ng-section, .ng-impact { padding: 60px 0; }
  .ng-section-head { margin-bottom: 40px; }
  .ng-projects, .ng-donations, .ng-team, .ng-testi { grid-template-columns: 1fr; }
  .ng-donation-feat { transform: none; }
  .ng-donation-feat:hover { transform: translateY(-4px); }
  .ng-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .ng-impact-grid, .ng-partners-grid { grid-template-columns: repeat(2, 1fr); }
  .ng-hero-stats { grid-template-columns: repeat(2, 1fr); padding: 24px; }
}
