/*
Theme Name: Smile for Hope Nepal
Theme URI: https://smileforhopenepal.org
Author: Smile for Hope Nepal
Author URI: https://smileforhopenepal.org
Description: Smile for Hope Nepal theme – design from the project templates package, filled with real organisation images, impact stats, logo and content. Homepage, about, projects (completed/ongoing/upcoming), stories, contact, donate. Fully Customizer-editable.
Version: 1.5.5
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: smile-for-hope-nepal
Tags: nonprofit, ngo, charity, custom-menu, featured-images, translation-ready
*/

:root {
  --purple: #6d3cc2;
  --purple-dark: #4d2692;
  --purple-light: #efe7ff;
  --sky: #45bce8;
  --sky-light: #eaf9ff;
  --white: #ffffff;
  --text: #24213a;
  --muted: #6d6a7d;
  --light: #f7f8fc;
  --border: #e7e5ef;
  --shadow: 0 20px 60px rgba(70, 45, 120, 0.12);
  --radius: 22px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

/* =========================
   TOP BAR
========================= */
.topbar {
  background: var(--purple-dark);
  color: white;
  font-size: 13px;
  padding: 9px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.topbar a {
  color: white;
  opacity: 0.95;
}

/* =========================
   NAVIGATION
========================= */
.site-header {
  position: absolute;
  top: 38px;
  left: 0;
  width: 100%;
  z-index: 100;
}

.site-header.no-topbar {
  top: 12px;
}

.navbar {
  width: min(1180px, 92%);
  margin: auto;
  padding: 18px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 19px;
  color: var(--purple);
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--sky));
  display: grid;
  place-items: center;
  color: white;
  font-size: 20px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a {
  color: var(--purple);
}

.nav-item,
.menu-item-has-children {
  position: relative;
}

.menu-item-has-children > a::after {
  content: "▾";
  font-size: 11px;
  opacity: 0.7;
  margin-left: 6px;
}

.nav-links .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(70, 45, 120, 0.15);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
  z-index: 200;
  border: 1px solid var(--border);
  list-style: none;
  margin: 0;
}

.menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(4px);
}

.nav-links .sub-menu a {
  display: block;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.nav-links .sub-menu a:hover {
  background: var(--purple-light);
  color: var(--purple);
}

.nav-donate,
.menu-item-donate a {
  background: var(--purple) !important;
  color: white !important;
  padding: 12px 20px !important;
  border-radius: 9px;
  transition: 0.3s;
}

.nav-donate:hover,
.menu-item-donate a:hover {
  background: var(--purple-dark) !important;
  transform: translateY(-2px);
}

.menu-btn {
  display: none;
  border: 0;
  background: none;
  font-size: 26px;
  color: var(--purple);
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  z-index: 150;
  list-style: none;
  margin: 0;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}

.mobile-menu a:hover {
  color: var(--purple);
  background: var(--purple-light);
}

.mobile-menu .sub-menu {
  list-style: none;
  padding-left: 20px;
  background: var(--light);
  margin: 0;
}

.mobile-menu .sub-menu a {
  font-size: 14px;
  padding: 10px 24px;
}

/* =========================
   HERO
========================= */
.hero {
  min-height: 720px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(50, 23, 105, 0.95) 0%, rgba(81, 41, 147, 0.83) 45%, rgba(54, 168, 211, 0.35) 100%),
    url("https://images.unsplash.com/photo-1544735716-392fe2489ffa?auto=format&fit=crop&w=2000&q=85") center/cover;
}

.hero::after {
  content: none;
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  background: var(--sky);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -2.5px;
  margin-bottom: 22px;
}

.hero h1 em {
  color: var(--sky);
  font-style: normal;
}

.hero-description {
  max-width: 610px;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 23px;
  border-radius: 9px;
  font-weight: 700;
  font-size: 14px;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--sky);
  color: white;
}

.btn-primary:hover {
  background: #2ba7d4;
  transform: translateY(-2px);
  color: white;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.btn-outline:hover {
  background: white;
  color: var(--purple);
}

.btn-outline-dark {
  border: 1.5px solid var(--purple);
  color: var(--purple);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--purple);
  color: white;
}

/* =========================
   PAGE HERO
========================= */
.page-hero {
  min-height: 420px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, rgba(50, 23, 105, 0.95) 0%, rgba(81, 41, 147, 0.85) 50%, rgba(54, 168, 211, 0.4) 100%),
    url("https://images.unsplash.com/photo-1544735716-392fe2489ffa?auto=format&fit=crop&w=2000&q=85") center/cover;
  padding-top: 80px;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.page-hero .eyebrow {
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -2px;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
}

/* =========================
   IMPACT
========================= */
.impact {
  margin-top: -55px;
  position: relative;
  z-index: 4;
}

.impact-box {
  background: white;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px 35px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.impact-item {
  text-align: center;
  padding: 5px 20px;
  border-right: 1px solid var(--border);
}

.impact-item:last-child {
  border-right: 0;
}

.impact-number {
  color: var(--purple);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 30px;
  font-weight: 800;
}

.impact-label {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

/* =========================
   SECTIONS
========================= */
section,
.content-section {
  padding: 64px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-tag {
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-heading h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.section-heading p {
  color: var(--muted);
  font-size: 16px;
}

.bg-light {
  background: var(--light);
}

/* =========================
   ABOUT
========================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  height: 510px;
  width: 100%;
  border-radius: 26px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  right: -25px;
  bottom: 30px;
  background: white;
  padding: 22px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  max-width: 210px;
}

.about-badge strong {
  display: block;
  color: var(--purple);
  font-size: 25px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.about-badge span {
  font-size: 13px;
  color: var(--muted);
}

.about-text h2 {
  font-size: 43px;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 18px;
}

.check-list {
  list-style: none;
  margin: 28px 0;
  padding: 0;
}

.check-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 13px;
  font-weight: 600;
  font-size: 14px;
}

.check {
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  border-radius: 50%;
  background: var(--purple-light);
  color: var(--purple);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: bold;
}

/* =========================
   PROGRAMS / PROJECTS
========================= */
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.program-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: 0.3s;
}

.program-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.program-card img {
  height: 225px;
  width: 100%;
  object-fit: cover;
}

.program-content {
  padding: 25px;
}

.program-icon {
  width: 48px;
  height: 48px;
  margin-top: -49px;
  margin-bottom: 18px;
  position: relative;
  border-radius: 12px;
  background: var(--purple);
  color: white;
  display: grid;
  place-items: center;
  font-size: 20px;
  border: 4px solid white;
}

.program-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.program-content p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 17px;
}

.learn-more {
  color: var(--purple);
  font-size: 13px;
  font-weight: 800;
}

.program-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.badge-completed {
  background: #e8f8ef;
  color: #27ae60;
}

.badge-ongoing {
  background: var(--sky-light);
  color: #2ba7d4;
}

.badge-upcoming {
  background: var(--purple-light);
  color: var(--purple);
}

/* Project category cards */
.project-categories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: -70px;
  position: relative;
  z-index: 5;
}

.category-card {
  background: white;
  border-radius: 20px;
  padding: 36px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: 0.3s;
  border: 1px solid var(--border);
}

.category-card:hover {
  transform: translateY(-8px);
}

.category-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 28px;
  color: white;
}

.category-card.completed .category-icon {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.category-card.ongoing .category-icon {
  background: linear-gradient(135deg, var(--sky), #2ba7d4);
}

.category-card.upcoming .category-icon {
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
}

.category-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.category-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 22px;
}

/* Project detail items */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.project-item {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  background: white;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 30px rgba(70, 45, 120, 0.06);
}

.project-item:nth-child(even) {
  direction: rtl;
}

.project-item:nth-child(even) > * {
  direction: ltr;
}

.project-item img {
  height: 340px;
  width: 100%;
  object-fit: cover;
}

.project-body {
  padding: 32px 36px;
}

.status-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  padding: 5px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.status-completed {
  background: #e8f8ef;
  color: #27ae60;
}

.status-ongoing {
  background: var(--sky-light);
  color: #2ba7d4;
}

.status-upcoming {
  background: var(--purple-light);
  color: var(--purple);
}

.project-body h2 {
  font-size: 26px;
  margin-bottom: 12px;
}

.project-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--muted);
}

.project-body p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 18px;
}

.impact-list {
  list-style: none;
  margin-bottom: 20px;
  padding: 0;
}

.impact-list li {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.impact-list li::before {
  content: "✓";
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  background: var(--purple-light);
  color: var(--purple);
  display: grid;
  place-items: center;
  font-size: 11px;
}

.progress-wrap {
  margin-bottom: 18px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 50px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--sky), #2ba7d4);
  border-radius: 50px;
}

.subnav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.subnav a {
  padding: 10px 18px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  border: 1.5px solid var(--border);
  transition: 0.25s;
  color: var(--text);
}

.subnav a:hover,
.subnav a.active {
  background: var(--purple);
  color: white;
  border-color: var(--purple);
}

/* =========================
   CTA
========================= */
.cta {
  padding: 0 0 64px;
}

.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 70px;
  color: white;
  background: linear-gradient(110deg, var(--purple-dark), var(--purple) 55%, #399fca);
}

.cta-box::after {
  content: "";
  position: absolute;
  right: -100px;
  top: -170px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 70px solid rgba(255, 255, 255, 0.08);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.cta h2 {
  font-size: 42px;
  margin-bottom: 15px;
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 25px;
}

/* =========================
   STORIES
========================= */
.stories-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 22px;
}

.story {
  position: relative;
  height: 390px;
  overflow: hidden;
  border-radius: 20px;
  color: white;
}

.story img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.story:hover img {
  transform: scale(1.05);
}

.story::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 25%, rgba(30, 15, 60, 0.88));
}

.story-content {
  position: absolute;
  bottom: 0;
  z-index: 2;
  padding: 25px;
}

.story-content span {
  display: inline-block;
  background: var(--sky);
  padding: 5px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 10px;
}

.story-content h3 {
  font-size: 22px;
}

/* =========================
   TESTIMONIAL
========================= */
.testimonial-section {
  background: var(--purple-light);
}

.testimonial {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.quote {
  font-size: 55px;
  color: var(--purple);
  line-height: 0.8;
  margin-bottom: 25px;
}

.testimonial p {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 24px;
}

.testimonial small {
  color: var(--muted);
}

/* =========================
   NEWSLETTER
========================= */
.newsletter {
  padding: 48px 0;
}

.newsletter-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 40px;
  border-radius: 22px;
  background: var(--sky-light);
}

.newsletter h2 {
  font-size: 27px;
  margin-bottom: 7px;
}

.newsletter p {
  color: var(--muted);
  font-size: 14px;
}

.newsletter-form {
  display: flex;
  width: min(430px, 100%);
}

.newsletter-form input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 9px 0 0 9px;
  padding: 14px;
  outline: none;
  font-family: inherit;
}

.newsletter-form button {
  border: 0;
  background: var(--purple);
  color: white;
  padding: 0 22px;
  border-radius: 0 9px 9px 0;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

/* =========================
   CONTACT FORM
========================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact-info h2 {
  font-size: 32px;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--muted);
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.info-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 12px;
  background: var(--purple-light);
  color: var(--purple);
  display: grid;
  place-items: center;
  font-size: 18px;
}

.info-item h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

.info-item p,
.info-item a {
  color: var(--muted);
  font-size: 14px;
}

.info-item a:hover {
  color: var(--purple);
}

.contact-form-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-form-box h3 {
  font-size: 22px;
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px var(--purple-light);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

/* =========================
   VALUES / TEAM
========================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  text-align: center;
  transition: 0.3s;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 14px;
  background: var(--purple-light);
  color: var(--purple);
  display: grid;
  place-items: center;
  font-size: 24px;
}

.value-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.value-card p {
  color: var(--muted);
  font-size: 14px;
}

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

.team-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  text-align: center;
}

.team-card img {
  height: 280px;
  width: 100%;
  object-fit: cover;
}

.team-info {
  padding: 22px;
}

.team-info h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.team-info span {
  color: var(--purple);
  font-size: 13px;
  font-weight: 700;
}

.team-info p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}

/* =========================
   DONATE
========================= */
.donate-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

.donate-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.amount-btn {
  border: 1.5px solid var(--border);
  background: white;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  cursor: pointer;
  transition: 0.25s;
  font-weight: 700;
}

.amount-btn:hover,
.amount-btn.active {
  border-color: var(--purple);
  background: var(--purple-light);
  color: var(--purple);
}

.amount-btn span {
  display: block;
  font-size: 22px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.amount-btn small {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.custom-amount {
  margin-bottom: 24px;
}

.custom-amount label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.custom-amount input {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 9px;
  font-family: inherit;
  font-size: 16px;
  outline: none;
}

.impact-box-donate {
  background: var(--light);
  border-radius: 20px;
  padding: 32px;
}

.impact-box-donate h3 {
  font-size: 20px;
  margin-bottom: 18px;
}

.impact-item-donate {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.impact-item-donate .icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 10px;
  background: white;
  color: var(--purple);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid var(--border);
}

.impact-item-donate p {
  font-size: 14px;
  color: var(--muted);
}

.impact-item-donate strong {
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}

/* =========================
   FOOTER
========================= */
.site-footer {
  background: #24163f;
  color: white;
  padding: 70px 0 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 45px;
  padding-bottom: 45px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  margin-top: 18px;
  max-width: 320px;
}

.site-footer h4 {
  font-size: 15px;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--sky);
}

.footer-bottom {
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

/* =========================
   WORDPRESS CONTENT
========================= */
.entry-content {
  max-width: 800px;
  margin: 0 auto;
}

.entry-content p {
  margin-bottom: 1.2em;
  color: var(--muted);
}

.entry-content h2,
.entry-content h3 {
  margin: 1.5em 0 0.6em;
  color: var(--text);
}

.wp-block-button__link {
  background: var(--sky) !important;
  border-radius: 9px !important;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .nav-links {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .impact-box {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .impact-item:nth-child(2) {
    border-right: 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    max-width: 650px;
  }

  .program-grid,
  .project-categories {
    grid-template-columns: 1fr 1fr;
  }

  .project-categories {
    margin-top: -40px;
  }

  .stories-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stories-grid .story:first-child {
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-grid,
  .donate-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  .project-item,
  .project-item:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .project-item img {
    height: 260px;
  }
}

@media (max-width: 600px) {
  .topbar {
    display: none;
  }

  .site-header {
    top: 12px;
  }

  .navbar {
    padding: 12px 16px;
  }

  .logo {
    font-size: 15px;
  }

  .logo-mark {
    width: 37px;
    height: 37px;
  }

  .hero {
    min-height: 690px;
  }

  .hero-content {
    padding-top: 70px;
  }

  .hero h1 {
    font-size: 43px;
    letter-spacing: -1.5px;
  }

  .hero-description {
    font-size: 16px;
  }

  section,
  .content-section {
    padding: 75px 0;
  }

  .impact {
    margin-top: -35px;
  }

  .impact-box {
    padding: 20px 10px;
  }

  .impact-item {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 15px 5px;
  }

  .impact-item:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .about-image img {
    height: 400px;
  }

  .about-badge {
    right: 15px;
  }

  .program-grid,
  .stories-grid,
  .project-categories,
  .values-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .stories-grid .story:first-child {
    grid-column: auto;
  }

  .story {
    height: 350px;
  }

  .cta-box {
    padding: 45px 25px;
  }

  .cta h2 {
    font-size: 31px;
  }

  .testimonial p {
    font-size: 20px;
  }

  .newsletter-box {
    padding: 28px 22px;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 10px;
  }

  .newsletter-form input,
  .newsletter-form button {
    border-radius: 9px;
    min-height: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 360px;
    padding-top: 60px;
  }

  .project-body {
    padding: 24px 20px;
  }
}

/* SVG Icons */
.info-icon svg,
.value-icon svg,
.program-icon svg,
.check svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 22px;
  max-height: 22px;
  margin: auto;
}
.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.value-icon svg {
  max-width: 24px;
  max-height: 24px;
}
.program-icon svg {
  max-width: 20px;
  max-height: 20px;
}
.check svg {
  max-width: 12px;
  max-height: 12px;
}

/* ========== FIXED BANNER OVERLAY ========== */
.page-hero {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

/* ========== IMPACT AREAS (5-card grid) ========== */
.impact-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.impact-area-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: 0.3s;
}
.impact-area-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.impact-area-card:nth-child(4),
.impact-area-card:nth-child(5) {
  grid-column: span 1;
}
.impact-area-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.impact-area-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.impact-area-card:hover .impact-area-img img {
  transform: scale(1.06);
}
.impact-area-num {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--purple);
  color: white;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 8px;
}
.impact-area-body {
  padding: 22px;
}
.impact-area-body h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.impact-area-body p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}

/* ========== CASE STUDY FEATURED ========== */
.case-study-featured {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.case-study-img {
  min-height: 420px;
}
.case-study-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-study-body {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.case-study-body h2 {
  font-size: 28px;
  margin: 12px 0 10px;
}
.case-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 14px;
}
.case-location svg {
  width: 16px;
  height: 16px;
  color: var(--purple);
  flex-shrink: 0;
}
.case-study-body > p {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 18px;
}
.impact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.impact-tags span {
  background: var(--purple-light);
  color: var(--purple);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 50px;
}

/* ========== LOCATIONS GRID ========== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.location-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  transition: 0.3s;
}
.location-card:hover {
  border-color: var(--purple);
  box-shadow: 0 10px 30px rgba(109, 60, 194, 0.12);
  transform: translateY(-4px);
}
.location-pin {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--purple-light);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.location-pin svg {
  width: 18px;
  height: 18px;
}
.location-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
}
.location-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ========== TIMELINE ========== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 30px;
  border-left: 3px solid var(--purple-light);
}
.timeline-item {
  position: relative;
  padding: 0 0 36px 28px;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--purple);
  border: 3px solid white;
  box-shadow: 0 0 0 3px var(--purple-light);
}
.timeline-year {
  font-size: 13px;
  font-weight: 800;
  color: var(--purple);
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.timeline-content h3 {
  font-size: 18px;
  margin-bottom: 6px;
}
.timeline-content p {
  color: var(--muted);
  font-size: 14px;
}

/* Project meta SVG */
.project-meta svg {
  width: 14px;
  height: 14px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  color: var(--purple);
}

@media (max-width: 900px) {
  .impact-areas-grid {
    grid-template-columns: 1fr 1fr;
  }
  .case-study-featured {
    grid-template-columns: 1fr;
  }
  .case-study-img {
    min-height: 260px;
  }
  .locations-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .impact-areas-grid,
  .locations-grid {
    grid-template-columns: 1fr;
  }
}


/* Logo image */
.logo-img {
  max-height: 48px;
  width: auto;
  display: block;
}
.logo .custom-logo-link img,
.logo .custom-logo {
  max-height: 48px;
  width: auto;
}


/* ========== Enhanced spacing & professional polish ========== */
.section-heading {
  margin-bottom: 36px;
}
.about-grid {
  gap: 48px;
}
.program-grid,
.stories-grid,
.values-grid,
.team-grid {
  gap: 24px;
}
.impact {
  margin-top: -40px;
  margin-bottom: 8px;
}
.page-hero {
  padding-top: 64px;
  padding-bottom: 48px;
  min-height: auto;
}
.page-hero h1 {
  margin-bottom: 12px;
}
.page-hero p {
  margin-bottom: 0;
}

/* Logo */
.logo-img {
  max-height: 48px;
  max-width: 220px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}
.logo .custom-logo-link img,
.logo .custom-logo {
  max-height: 52px;
  width: auto;
}
.logo-img--footer {
  max-height: 52px;
  max-width: 240px;
  filter: none;
  background: transparent;
}
.logo--footer {
  display: inline-block;
  margin-bottom: 14px;
}

/* CTA split with image */
.cta-box--split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  padding: 0;
}
.cta-box--split .cta-content {
  padding: 48px 40px;
}
.cta-box--split .cta-image {
  min-height: 280px;
}
.cta-box--split .cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 900px) {
  .cta-box--split {
    grid-template-columns: 1fr;
  }
  .cta-box--split .cta-image {
    min-height: 220px;
    max-height: 280px;
  }
}

/* Enhanced testimonial / quote */
.testimonial--enhanced {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 36px 28px;
}
.testimonial--enhanced .quote {
  font-size: 64px;
  line-height: 1;
  color: var(--purple);
  opacity: 0.35;
  margin-bottom: 8px;
}
.testimonial--enhanced p {
  font-size: 22px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--text-dark, #1a1a2e);
  margin-bottom: 16px;
}
.testimonial--enhanced small {
  font-size: 14px;
  color: var(--text-muted, #5a5a7a);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Stories list redesign */
.stories-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.story-row {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 28px;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(74, 28, 122, 0.08);
  border: 1px solid rgba(109, 60, 194, 0.08);
}
.story-row--reverse {
  grid-template-columns: 1fr 340px;
}
.story-row--reverse .story-row-img {
  order: 2;
}
.story-row--reverse .story-row-body {
  order: 1;
}
.story-row-img {
  height: 220px;
}
.story-row-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-row-body {
  padding: 28px 28px 28px 8px;
}
.story-row--reverse .story-row-body {
  padding: 28px 8px 28px 28px;
}
.story-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--purple);
  background: var(--purple-light, #efe7ff);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.story-row-body h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--text-dark, #1a1a2e);
}
.story-row-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted, #5a5a7a);
  margin: 0;
}
@media (max-width: 768px) {
  .story-row,
  .story-row--reverse {
    grid-template-columns: 1fr;
  }
  .story-row--reverse .story-row-img,
  .story-row--reverse .story-row-body {
    order: unset;
  }
  .story-row-body,
  .story-row--reverse .story-row-body {
    padding: 20px 22px 24px;
  }
  .story-row-img {
    height: 200px;
  }
}

/* Nepal map section */
.map-serve-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 36px;
  align-items: center;
}
.nepal-map-wrap {
  background: linear-gradient(160deg, #f8f7fc 0%, #efe7ff 100%);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(109, 60, 194, 0.12);
}
.nepal-map {
  width: 100%;
  height: auto;
  display: block;
}
.map-pin {
  cursor: default;
}
.map-locations {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.map-loc-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(109, 60, 194, 0.1);
  box-shadow: 0 4px 16px rgba(74, 28, 122, 0.05);
}
.map-loc-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--purple, #6d3cc2);
  margin-top: 5px;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(109, 60, 194, 0.2);
}
.map-loc-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
  color: var(--text-dark, #1a1a2e);
}
.map-loc-item span {
  font-size: 13px;
  color: var(--text-muted, #5a5a7a);
  line-height: 1.4;
}
@media (max-width: 900px) {
  .map-serve-grid {
    grid-template-columns: 1fr;
  }
}

/* Team grid 6 */
.team-grid--6 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
  .team-grid--6 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .team-grid--6 {
    grid-template-columns: 1fr;
  }
}
.team-role {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--purple);
  margin-bottom: 8px;
}

/* Values 3-col */
.values-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 768px) {
  .values-grid--3 {
    grid-template-columns: 1fr;
  }
}

/* Donate methods */
.donate-heading {
  font-size: 28px;
  margin-bottom: 20px;
}
.donate-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}
.donate-method {
  background: #f8f7fc;
  border-radius: 14px;
  padding: 20px;
  border: 1px solid rgba(109, 60, 194, 0.1);
}
.donate-method h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.donate-bank-label {
  font-size: 13px;
  color: var(--text-muted, #5a5a7a);
  margin-bottom: 8px;
}
.donate-bank-details {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}
.donate-bank-details li {
  margin-bottom: 4px;
  word-break: break-all;
}
.donate-secure-note {
  font-size: 12px;
  color: var(--muted, #5a5a7a);
  margin-top: 14px;
  text-align: center;
}
@media (max-width: 700px) {
  .donate-methods {
    grid-template-columns: 1fr;
  }
}

/* Footer legal links */
.footer-legal a {
  color: inherit;
  text-decoration: none;
  opacity: 0.9;
}
.footer-legal a:hover {
  opacity: 1;
  text-decoration: underline;
}
.footer-sep {
  margin: 0 6px;
  opacity: 0.5;
}

/* Tighter footer */
.site-footer {
  padding-top: 48px;
}
.footer-grid {
  gap: 28px;
  margin-bottom: 28px;
}
.footer-bottom {
  padding-top: 20px;
}


/* Exact Nepal map (Leaflet) */
.sfhn-nepal-map {
  width: 100%;
  height: 420px;
  border-radius: 16px;
  z-index: 1;
  background: #e8e4f5;
}
.nepal-map-wrap {
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(109, 60, 194, 0.12);
  box-shadow: 0 8px 28px rgba(74, 28, 122, 0.08);
}
.sfhn-map-marker {
  background: transparent !important;
  border: none !important;
}
.sfhn-map-marker-dot {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #6d3cc2;
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(109, 60, 194, 0.35), 0 2px 8px rgba(0,0,0,0.25);
}
.leaflet-popup-content {
  font-family: inherit;
  font-size: 13px;
  line-height: 1.45;
  margin: 10px 12px;
}
.leaflet-popup-content strong {
  color: #4d2692;
  display: block;
  margin-bottom: 2px;
}
@media (max-width: 768px) {
  .sfhn-nepal-map {
    height: 320px;
  }
}


/* News / articles grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(109, 60, 194, 0.1);
  box-shadow: 0 8px 28px rgba(74, 28, 122, 0.07);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(74, 28, 122, 0.12);
}
.news-card-img {
  display: block;
  height: 200px;
  overflow: hidden;
}
.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-card-body {
  padding: 22px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-meta {
  font-size: 12px;
  color: var(--text-muted, #5a5a7a);
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.news-cat {
  background: var(--purple-light, #efe7ff);
  color: var(--purple, #6d3cc2);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 11px;
}
.news-title {
  font-size: 18px;
  margin: 0 0 10px;
  line-height: 1.35;
}
.news-title a {
  color: inherit;
  text-decoration: none;
}
.news-title a:hover {
  color: var(--purple, #6d3cc2);
}
.news-excerpt {
  font-size: 14px;
  color: var(--text-muted, #5a5a7a);
  line-height: 1.6;
  margin: 0 0 14px;
  flex: 1;
}
.news-pagination {
  margin-top: 40px;
  text-align: center;
}
.news-pagination .nav-links {
  display: inline-flex;
  gap: 8px;
  justify-content: center;
}
.news-pagination a,
.news-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: #f8f7fc;
  color: var(--purple);
  text-decoration: none;
  font-weight: 600;
}
.news-pagination .current {
  background: var(--purple);
  color: #fff;
}
.news-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted, #5a5a7a);
}
.news-empty .btn {
  margin-top: 16px;
}
@media (max-width: 900px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .news-grid { grid-template-columns: 1fr; }
}

/* Single article */
.container--narrow {
  max-width: 780px;
}
.article-featured {
  margin-bottom: 28px;
  border-radius: 16px;
  overflow: hidden;
}
.article-featured img {
  width: 100%;
  height: auto;
  display: block;
}
.article-content {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-dark, #1a1a2e);
}
.article-content p {
  margin-bottom: 1.15em;
}
.article-content h2,
.article-content h3 {
  margin: 1.4em 0 0.6em;
}
.article-meta-hero {
  opacity: 0.9;
  font-size: 15px !important;
}
.article-footer-nav {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(109, 60, 194, 0.12);
}
.article-footer-nav .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.article-footer-nav a {
  color: var(--purple);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

/* Get Involved parent — cursor default */
.menu-item-get-involved > a {
  cursor: default;
}


/* Header Donate button (desktop) */
.header-donate-btn {
  margin-left: 8px;
  padding: 10px 18px !important;
  font-size: 14px !important;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .header-donate-btn {
    display: none;
  }
}

/* Mobile menu fixes */
body.sfhn-menu-open {
  overflow: hidden;
}
.site-header {
  position: relative;
  z-index: 200;
}
.navbar {
  position: relative;
  flex-wrap: wrap;
}
.mobile-menu {
  max-height: calc(100vh - 70px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-menu .menu-item-has-children > a::after {
  content: " ▾";
  font-size: 12px;
  opacity: 0.7;
}
.mobile-menu .menu-item-has-children.submenu-open > a::after {
  content: " ▴";
}
.mobile-menu .sub-menu {
  display: none;
  padding-left: 12px;
  margin: 0;
  background: var(--purple-light, #efe7ff);
}
.mobile-menu .submenu-open > .sub-menu {
  display: block;
}
.mobile-menu .menu-item-donate a,
.mobile-menu .menu-item-cta a {
  color: var(--purple) !important;
  font-weight: 700;
}
@media (max-width: 900px) {
  .nav-links {
    display: none !important;
  }
  .menu-btn {
    display: block !important;
  }
  .mobile-menu.open {
    display: block !important;
  }
}

/* Project cards (dashboard-driven) */
.project-cards {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.project-card-dash {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(109, 60, 194, 0.1);
  box-shadow: 0 10px 32px rgba(74, 28, 122, 0.08);
}
.project-card-dash-img {
  position: relative;
  min-height: 240px;
}
.project-card-dash-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}
.project-card-dash-body {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
}
.project-card-dash-body h2 {
  font-size: 22px;
  margin: 0 0 8px;
}
.project-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-muted, #5a5a7a);
  margin-bottom: 12px;
}
.project-meta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.project-excerpt {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted, #5a5a7a);
  margin-bottom: 16px;
  flex: 1;
}
.project-actions {
  margin-top: auto;
}
.btn-disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: default;
}
.status-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--purple);
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}
.status-ongoing { color: #1a7a4c; }
.status-upcoming { color: #b45309; }
.status-completed { color: var(--purple); }

.project-progress {
  margin-bottom: 18px;
}
.project-progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 8px;
  color: var(--text-muted, #5a5a7a);
}
.project-progress-bar {
  height: 10px;
  background: #efe7ff;
  border-radius: 999px;
  overflow: hidden;
}
.project-progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #6d3cc2, #2b7de9);
  border-radius: 999px;
  transition: width 0.4s ease;
}
.project-need {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  background: #f8f7fc;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(109, 60, 194, 0.1);
}
.project-need-label {
  font-size: 13px;
  color: var(--text-muted, #5a5a7a);
}
.project-need-amount {
  font-size: 20px;
  color: var(--purple);
  font-weight: 700;
}
@media (max-width: 768px) {
  .project-card-dash {
    grid-template-columns: 1fr;
  }
  .project-card-dash-img {
    min-height: 200px;
    position: relative;
    height: 200px;
  }
  .project-card-dash-body {
    padding: 20px 20px 24px;
  }
}


/* MOBILE NAV FIX v1.5.1 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.mobile-menu {
  display: none !important;
  position: absolute;
  left: 12px;
  right: 12px;
  top: calc(100% - 4px);
  background: #fff;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 18px 40px rgba(40, 20, 80, 0.18);
  padding: 8px 0 16px;
  z-index: 1001;
  max-height: min(75vh, 520px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(109, 60, 194, 0.1);
  border-top: none;
}

.mobile-menu.open,
.mobile-menu.open[hidden] {
  display: block !important;
}

.mobile-menu[hidden]:not(.open) {
  display: none !important;
}

.mobile-nav-links,
.mobile-menu ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.mobile-menu li {
  display: block !important;
  margin: 0;
  border-bottom: 1px solid rgba(109, 60, 194, 0.06);
}

.mobile-menu li:last-child {
  border-bottom: none;
}

.mobile-menu a {
  display: block !important;
  padding: 14px 22px !important;
  font-weight: 600;
  font-size: 15px;
  color: #1a1a2e !important;
  text-decoration: none;
  background: transparent !important;
  border-radius: 0 !important;
  transform: none !important;
}

.mobile-menu a:hover,
.mobile-menu a:focus {
  color: var(--purple, #6d3cc2) !important;
  background: #f6f2ff !important;
}

.mobile-menu .menu-item-has-children > a {
  position: relative;
  padding-right: 44px !important;
}

.mobile-menu .menu-item-has-children > a::after {
  content: "+" !important;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 400;
  opacity: 0.55;
  margin: 0 !important;
}

.mobile-menu .menu-item-has-children.submenu-open > a::after {
  content: "−" !important;
}

.mobile-menu .sub-menu {
  display: none !important;
  background: #f8f6fc !important;
  padding: 4px 0 8px !important;
  margin: 0 !important;
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  box-shadow: none !important;
  border: none !important;
  min-width: 0 !important;
}

.mobile-menu .submenu-open > .sub-menu {
  display: block !important;
}

.mobile-menu .sub-menu a {
  padding: 11px 22px 11px 36px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.mobile-menu .menu-item-donate a {
  margin: 10px 16px 4px !important;
  text-align: center;
  background: var(--purple, #6d3cc2) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 12px 20px !important;
}

.mobile-menu .menu-item-donate a:hover {
  background: var(--purple-dark, #4d2692) !important;
  color: #fff !important;
}

body.sfhn-menu-open {
  overflow: hidden;
}

@media (max-width: 900px) {
  .topbar {
    display: none;
  }
  .nav-links {
    display: none !important;
  }
  .menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 24px;
    color: var(--purple, #6d3cc2);
    z-index: 3;
  }
  .logo-img {
    max-height: 40px;
    max-width: 160px;
  }
  .navbar {
    padding-left: 4px;
    padding-right: 4px;
  }
  /* Hero mobile */
  .hero {
    min-height: auto !important;
    padding: 100px 0 70px !important;
  }
  .hero h1 {
    font-size: clamp(28px, 8vw, 40px) !important;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
  .page-hero {
    padding: 90px 0 48px !important;
  }
  .page-hero h1 {
    font-size: clamp(26px, 7vw, 36px) !important;
  }
  .content-section {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }
  .support-cta,
  .cta-split {
    grid-template-columns: 1fr !important;
  }
  .map-serve-grid {
    grid-template-columns: 1fr !important;
  }
  .program-grid,
  .project-categories,
  .stories-grid,
  .news-grid,
  .values-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 901px) {
  .menu-btn {
    display: none !important;
  }
  .mobile-menu {
    display: none !important;
  }
}


/* Hero readability — lighter overlay, stronger text shadow */
.hero-content {
  text-shadow: none;
}
.hero h1 {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55), 0 6px 28px rgba(0, 0, 0, 0.4) !important;
}
.hero h1 em {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55), 0 6px 28px rgba(0, 0, 0, 0.4) !important;
}
.hero-description {
  color: #fff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55), 0 3px 16px rgba(0, 0, 0, 0.35) !important;
  opacity: 1 !important;
}
.hero .eyebrow {
  background: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.hero .eyebrow span {
  background: #5eead4 !important;
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.35);
}

.donate-method--full { width: 100%; }
.donate-empty-hint { color: var(--text-muted, #5a5a7a); font-size: 14px; margin-top: 8px; }

.team-grid--4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
  .team-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .team-grid--4 { grid-template-columns: 1fr; }
}
.donate-project-notice {
  background: linear-gradient(135deg, #efe7ff, #e8f4fc);
  border: 1px solid rgba(109, 60, 194, 0.2);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 24px;
}
.donate-project-notice strong {
  display: block;
  color: var(--purple, #6d3cc2);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.donate-project-notice span {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
}
.donate-project-notice p {
  margin: 10px 0 0;
  font-size: 14px;
  color: #5a5a7a;
  line-height: 1.5;
}


/* page-hero text readability */
.page-hero-content h1,
.page-hero h1 {
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55), 0 4px 22px rgba(0, 0, 0, 0.4) !important;
}
.page-hero-content p,
.page-hero p {
  color: #fff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5), 0 3px 14px rgba(0, 0, 0, 0.35) !important;
  opacity: 1 !important;
}
.page-hero .eyebrow {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(6px);
}
