/* ==========================================================================
   NK Help Hands — Main Stylesheet
   ========================================================================== */

:root {
  --saffron: #F97316;
  --saffron-dark: #EA580C;
  --saffron-light: #FFEDD5;
  --green: #128807;
  --green-dark: #0D6B05;
  --green-light: #E3F5E1;
  --navy: #1F2A37;
  --gray-700: #3F4B5B;
  --gray-500: #6B7686;
  --gray-300: #D8DEE6;
  --gray-100: #F3F5F8;
  --cream: #FFF9F0;
  --white: #FFFFFF;
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Nunito Sans', sans-serif;
  --radius: 14px;
  --shadow-sm: 0 2px 10px rgba(31, 42, 55, 0.06);
  --shadow-md: 0 10px 30px rgba(31, 42, 55, 0.10);
  --shadow-lg: 0 20px 50px rgba(31, 42, 55, 0.16);
  --transition: all 0.3s ease;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
section { position: relative; }

/* ---------- Utilities ---------- */
.section-pad { padding: 90px 0; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); }
.text-center { text-align: center; }
.overflow-hidden { overflow: hidden; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--saffron-light);
  color: var(--saffron-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-tag svg { width: 14px; height: 14px; }
.section-head { max-width: 640px; margin-bottom: 50px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: 14px; }
.section-head p { color: var(--gray-500); font-size: 1.05rem; }
.highlight { color: var(--saffron); position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--saffron);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35);
}
.btn-primary:hover { background: var(--saffron-dark); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(249,115,22,.42); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-3px); }
.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-green { background: var(--green); color: var(--white); box-shadow: 0 8px 20px rgba(18,136,7,0.3); }
.btn-green:hover { background: var(--green-dark); transform: translateY(-3px); }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  padding: 9px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-info a, .topbar-info span { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,0.85); }
.topbar-info svg { width: 14px; height: 14px; color: var(--saffron); }
.topbar-social { display: flex; gap: 12px; }
.topbar-social a {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.topbar-social a:hover { background: var(--saffron); }
.topbar-social svg { width: 13px; height: 13px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 260;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 76px; height: 76px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  padding: 4px;
  box-shadow: var(--shadow-sm);
}
.logo-mark svg { width: 26px; height: 26px; color: var(--white); }
.logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .name { font-family: var(--font-head); font-weight: 800; font-size: 1.28rem; color: var(--navy); }
.logo-text .name span { color: var(--saffron); }
.logo-text .tag { font-size: 0.7rem; color: var(--gray-500); letter-spacing: 0.05em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--saffron);
  transition: var(--transition);
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--saffron); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
}
.nav-toggle span { height: 3px; width: 100%; background: var(--navy); border-radius: 2px; transition: var(--transition); }
.nav-toggle { padding: 8px; margin: -8px; }
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav-backdrop {
  display: none;
  position: fixed; inset: 0; z-index: 240;
  background: rgba(15, 20, 27, 0.55);
}
.nav-backdrop.show { display: block; }
body.no-scroll { overflow: hidden; }

/* ---------- Hero ---------- */
.hero {
  background: var(--cream);
  padding: 70px 0 0;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 90% 20%, rgba(249,115,22,0.09) 0, transparent 45%),
    radial-gradient(circle at 5% 85%, rgba(18,136,7,0.10) 0, transparent 45%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.hero-content .section-tag { background: var(--white); }
.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 20px;
}
.hero-content h1 em { font-style: normal; color: var(--saffron); }
.hero-content h1 .underline-swirl { position: relative; display: inline-block; color: var(--green); }
.hero-content p { font-size: 1.08rem; color: var(--gray-500); max-width: 480px; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-mini-stats { display: flex; gap: 30px; flex-wrap: wrap; }
.hero-mini-stats div strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--navy); }
.hero-mini-stats div span { font-size: 0.85rem; color: var(--gray-500); }

.hero-visual { position: relative; padding: 20px 0 60px; }
.hero-visual .img-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/4.6;
}
.hero-visual .img-frame img { width: 100%; height: 100%; object-fit: cover; }
.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: floaty 4s ease-in-out infinite;
}
.floating-card.card-1 { top: 8%; left: -30px; }
.floating-card.card-2 { bottom: 12%; right: -20px; animation-delay: 1.2s; }
.floating-card .icon-circle { background: var(--saffron-light); color: var(--saffron-dark); }
.floating-card strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--navy); }
.floating-card span { font-size: 0.78rem; color: var(--gray-500); }
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-14px);} }

.icon-circle {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.icon-circle svg { width: 22px; height: 22px; }

.wave-divider { display: block; width: 100%; line-height: 0; }
.wave-divider svg { width: 100%; height: 60px; display: block; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--white); padding: 26px 0; border-bottom: 1px solid var(--gray-100); }
.trust-strip .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--gray-500); font-weight: 700; font-size: 0.9rem; }
.trust-item svg { width: 20px; height: 20px; color: var(--green); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: center; }
.about-visual { position: relative; }
.about-visual .main-img { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 3/3.6; }
.about-visual .main-img img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .badge-exp {
  position: absolute; bottom: -26px; left: -26px;
  background: var(--green);
  color: var(--white);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-visual .badge-exp strong { display: block; font-family: var(--font-head); font-size: 2.1rem; }
.about-visual .badge-exp span { font-size: 0.8rem; opacity: 0.9; }

.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0 32px; }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); font-size: 0.95rem; }
.check-list li svg { width: 20px; height: 20px; color: var(--green); flex-shrink: 0; }

.founder-note { display: flex; align-items: center; gap: 16px; margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--gray-100); }
.founder-note img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.founder-note strong { display: block; font-family: var(--font-head); color: var(--navy); }
.founder-note span { font-size: 0.85rem; color: var(--gray-500); }

/* ---------- Causes ---------- */
.causes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.causes-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cause-focus { font-size: 0.82rem; color: var(--saffron-dark); font-weight: 700; margin-bottom: 16px; }
.cause-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.cause-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.cause-card .icon-circle { width: 60px; height: 60px; margin-bottom: 20px; background: var(--saffron-light); color: var(--saffron-dark); }
.cause-card:nth-child(2n) .icon-circle { background: var(--green-light); color: var(--green-dark); }
.cause-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.cause-card p { font-size: 0.92rem; color: var(--gray-500); margin-bottom: 20px; min-height: 66px; }

.progress-wrap { margin-bottom: 16px; }
.progress-labels { display: flex; justify-content: space-between; font-size: 0.8rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.progress-labels .raised { color: var(--saffron-dark); }
.progress-bar { height: 8px; background: var(--gray-100); border-radius: 6px; overflow: hidden; }
.progress-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--saffron), var(--saffron-dark)); border-radius: 6px; width: 0%; transition: width 1.4s ease; }
.cause-card:nth-child(2n) .progress-bar span { background: linear-gradient(90deg, var(--green), var(--green-dark)); }

.cause-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.cause-link svg { width: 16px; height: 16px; transition: var(--transition); }
.cause-card:hover .cause-link svg { transform: translateX(4px); }

/* ---------- Stats band ---------- */
.stats-band {
  background: linear-gradient(120deg, var(--navy) 0%, #24344a 100%);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 15% 30%, rgba(249,115,22,0.18) 0, transparent 40%), radial-gradient(circle at 85% 70%, rgba(18,136,7,0.2) 0, transparent 40%);
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; z-index: 2; }
.stat-item { text-align: center; color: var(--white); }
.stat-item .icon-circle { margin: 0 auto 16px; background: rgba(255,255,255,0.1); color: var(--saffron); }
.stat-item strong { display: block; font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; }
.stat-item span { color: rgba(255,255,255,0.65); font-size: 0.9rem; }

/* ---------- How it works ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; position: relative; }
.step-item { text-align: center; position: relative; padding: 0 10px; }
.step-item .step-num {
  width: 74px; height: 74px; border-radius: 50%;
  background: var(--white);
  border: 2px dashed var(--saffron);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
  font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--saffron-dark);
  box-shadow: var(--shadow-sm);
}
.step-item h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step-item p { font-size: 0.92rem; color: var(--gray-500); }

/* ---------- Campaign banner ---------- */
.campaign-banner {
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
}
.campaign-img { position: relative; min-height: 340px; }
.campaign-img img { width: 100%; height: 100%; object-fit: cover; }
.campaign-img .tag-urgent {
  position: absolute; top: 20px; left: 20px;
  background: var(--saffron); color: var(--white);
  padding: 7px 16px; border-radius: 50px; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
}
.campaign-body { padding: 44px 46px; }
.campaign-body h3 { font-size: clamp(1.35rem, 3.4vw, 1.7rem); margin-bottom: 14px; }
.campaign-body p { color: var(--gray-500); margin-bottom: 26px; }
.campaign-progress-labels { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.campaign-progress-labels strong { font-family: var(--font-head); color: var(--navy); font-size: 1.3rem; }
.campaign-progress-labels span { color: var(--gray-500); font-size: 0.85rem; }
.campaign-body .progress-bar { height: 12px; margin-bottom: 30px; }
.campaign-meta { display: flex; gap: 40px; margin-bottom: 30px; }
.campaign-meta div strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--navy); }
.campaign-meta div span { font-size: 0.8rem; color: var(--gray-500); }

/* ---------- Events ---------- */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.event-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); transition: var(--transition); }
.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.event-img { position: relative; height: 190px; }
.event-img img { width: 100%; height: 100%; object-fit: cover; }
.event-date-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--white); border-radius: 10px; padding: 8px 14px; text-align: center;
  box-shadow: var(--shadow-sm);
}
.event-date-badge strong { display: block; font-family: var(--font-head); color: var(--saffron-dark); font-size: 1.2rem; line-height: 1; }
.event-date-badge span { font-size: 0.7rem; color: var(--gray-500); text-transform: uppercase; }
.activity-tag {
  position: absolute; top: 16px; left: 16px;
  background: var(--saffron); color: var(--white);
  padding: 7px 15px; border-radius: 50px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.event-body { padding: 24px; }
.event-meta { display: flex; gap: 16px; font-size: 0.8rem; color: var(--gray-500); margin-bottom: 12px; flex-wrap: wrap; }
.event-meta span { display: flex; align-items: center; gap: 6px; }
.event-meta svg { width: 14px; height: 14px; color: var(--green); }
.event-body h3 { font-size: 1.1rem; margin-bottom: 14px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.team-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.team-card { text-align: center; }
.team-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1.05; margin-bottom: 18px; position: relative; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.team-card:hover .team-photo img { transform: scale(1.07); }
.team-social {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; justify-content: center; gap: 10px;
  padding: 14px 0;
  background: linear-gradient(to top, rgba(31,42,55,0.75), transparent);
  opacity: 0; transition: var(--transition);
}
.team-card:hover .team-social { opacity: 1; }
.team-social a { width: 32px; height: 32px; border-radius: 50%; background: var(--white); display: flex; align-items: center; justify-content: center; }
.team-social svg { width: 14px; height: 14px; color: var(--navy); }
.team-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-card span { font-size: 0.85rem; color: var(--saffron-dark); font-weight: 600; }

/* ---------- Testimonials ---------- */
.testimonial-wrap { max-width: 780px; margin: 0 auto; position: relative; }
.testimonial-slide {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  padding: 46px 50px;
  text-align: center;
  display: none;
}
.testimonial-slide.active { display: block; animation: fadeIn 0.6s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: translateY(0);} }
.testimonial-slide svg.quote-icon { width: 34px; height: 34px; color: var(--saffron-light); margin: 0 auto 18px; }
.testimonial-slide p { font-size: 1.1rem; color: var(--navy); font-style: italic; margin-bottom: 26px; }
.testimonial-author { display: flex; align-items: center; justify-content: center; gap: 14px; }
.testimonial-author img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; font-family: var(--font-head); color: var(--navy); }
.testimonial-author span { font-size: 0.82rem; color: var(--gray-500); }
.testimonial-dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.testimonial-dots button { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-300); transition: var(--transition); }
.testimonial-dots button.active { background: var(--saffron); width: 26px; border-radius: 6px; }

/* ---------- Gallery ---------- */
.gallery-filter { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 40px; }
.gallery-filter button {
  padding: 10px 22px; border-radius: 50px; font-weight: 700; font-size: 0.88rem;
  background: var(--gray-100); color: var(--gray-700); transition: var(--transition);
}
.gallery-filter button.active, .gallery-filter button:hover { background: var(--saffron); color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .overlay {
  position: absolute; inset: 0; background: rgba(249,115,22,0.75);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.gallery-item:hover .overlay { opacity: 1; }
.gallery-item .overlay svg { width: 30px; height: 30px; color: var(--white); }
.gallery-item[hidden] { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(6,11,16,0.92); z-index: 1000;
  display: flex; align-items: center; justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: 88vw; max-height: 85vh; object-fit: contain; border-radius: 8px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.12); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--saffron); }
.lightbox-close { top: 20px; right: 20px; width: 44px; height: 44px; }
.lightbox-close svg { width: 22px; height: 22px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev svg, .lightbox-next svg { width: 26px; height: 26px; }
@media (max-width: 640px) {
  .lightbox-prev, .lightbox-next { width: 42px; height: 42px; }
  .lightbox-close { width: 38px; height: 38px; top: 12px; right: 12px; }
}

/* ---------- CTA / Newsletter band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--green-dark), var(--green));
  border-radius: 24px;
  padding: 60px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; right: -60px; top: -60px; width: 220px; height: 220px;
  border-radius: 50%; background: rgba(255,255,255,0.08);
}
.cta-band h2 { color: var(--white); font-size: clamp(1.4rem, 3.6vw, 1.8rem); max-width: 480px; position: relative; z-index: 2; }
.cta-band p { color: rgba(255,255,255,0.8); margin-top: 8px; position: relative; z-index: 2; }
.cta-band .btn-primary { position: relative; z-index: 2; }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }
.blog-img { height: 190px; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 24px; }
.blog-meta { display: flex; gap: 16px; font-size: 0.78rem; color: var(--gray-500); margin-bottom: 12px; }
.blog-meta span { display: flex; align-items: center; gap: 5px; }
.blog-meta svg { width: 13px; height: 13px; color: var(--saffron-dark); }
.blog-body h3 { font-size: 1.05rem; margin-bottom: 12px; }
.blog-link { font-weight: 700; font-size: 0.88rem; color: var(--saffron-dark); }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: var(--navy);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-header::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(249,115,22,0.22) 0, transparent 40%), radial-gradient(circle at 80% 70%, rgba(18,136,7,0.24) 0, transparent 40%);
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 12px; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.breadcrumb a { color: rgba(255,255,255,0.7); font-weight: 600; }
.breadcrumb a:hover { color: var(--saffron); }
.breadcrumb span.sep { color: var(--saffron); }
.breadcrumb span.current { color: var(--saffron); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 50px; }
.contact-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-card { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--gray-100); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.contact-card .icon-circle { background: var(--saffron-light); color: var(--saffron-dark); }
.contact-card h4 { font-size: 1rem; margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 0.9rem; color: var(--gray-500); }

.contact-form { background: var(--white); border: 1px solid var(--gray-100); border-radius: 20px; padding: 40px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--gray-300); border-radius: 10px;
  font-family: inherit; font-size: 0.95rem; color: var(--navy); transition: var(--transition);
  background: var(--gray-100);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--saffron); background: var(--white); }
.form-note { font-size: 0.8rem; color: var(--gray-500); margin-top: 14px; }

.map-wrap { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); margin-top: 40px; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--gray-100); border-radius: 14px; margin-bottom: 14px; overflow: hidden; }
.faq-question { display: flex; align-items: center; justify-content: space-between; padding: 20px 26px; font-weight: 700; color: var(--navy); }
.faq-question svg { width: 18px; height: 18px; color: var(--saffron); transition: var(--transition); flex-shrink: 0; }
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer p { padding: 0 26px 22px; color: var(--gray-500); font-size: 0.92rem; }
.faq-item.open .faq-answer { max-height: 220px; }

/* ---------- Donation levels (causes page) ---------- */
.donate-levels { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin: 30px 0; }
.donate-level { border: 2px solid var(--gray-100); border-radius: 14px; padding: 22px; text-align: center; transition: var(--transition); }
.donate-level:hover, .donate-level.selected { border-color: var(--saffron); background: var(--saffron-light); }
.donate-level strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--navy); margin-bottom: 4px; }
.donate-level span { font-size: 0.8rem; color: var(--gray-500); }

/* ---------- Timeline (about page) ---------- */
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--gray-300); transform: translateX(-50%); }
.timeline-item { display: grid; grid-template-columns: 1fr 40px 1fr; gap: 20px; margin-bottom: 40px; align-items: center; }
.timeline-item .dot { width: 18px; height: 18px; border-radius: 50%; background: var(--saffron); border: 4px solid var(--saffron-light); margin: 0 auto; z-index: 2; }
.timeline-item .content { background: var(--white); border: 1px solid var(--gray-100); border-radius: 14px; padding: 20px 24px; box-shadow: var(--shadow-sm); }
.timeline-item:nth-child(odd) .content { text-align: right; }
.timeline-item .content strong { display: block; color: var(--saffron-dark); font-family: var(--font-head); margin-bottom: 4px; }
.timeline-item:nth-child(even) .content-spacer,
.timeline-item:nth-child(odd) .content-spacer { display: block; }

/* ---------- Values grid (about) ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; }
.value-card { text-align: center; padding: 34px 22px; border-radius: var(--radius); background: var(--cream); }
.value-card .icon-circle { margin: 0 auto 18px; width: 58px; height: 58px; background: var(--white); color: var(--saffron-dark); box-shadow: var(--shadow-sm); }
.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; color: var(--gray-500); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 0.9fr 0.9fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-about p { font-size: 0.9rem; margin: 18px 0 22px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.footer-social a:hover { background: var(--saffron); }
.footer-social svg { width: 15px; height: 15px; color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 24px; }
.footer-col ul li { margin-bottom: 13px; }
.footer-col ul li a { font-size: 0.9rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--saffron); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; font-size: 0.9rem; margin-bottom: 16px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--saffron); flex-shrink: 0; margin-top: 2px; }
.footer-newsletter { display: flex; margin-top: 16px; border-radius: 50px; overflow: hidden; background: rgba(255,255,255,0.08); padding: 4px; }
.footer-newsletter input { flex: 1; background: transparent; border: none; padding: 10px 16px; color: var(--white); font-size: 0.88rem; }
.footer-newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.footer-newsletter input:focus { outline: none; }
.footer-newsletter button { background: var(--saffron); color: var(--white); border-radius: 50px; padding: 10px 20px; font-weight: 700; font-size: 0.85rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 0.85rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom a:hover { color: var(--saffron); }
.footer-payments { display: flex; gap: 10px; align-items: center; }
.footer-payments span { background: rgba(255,255,255,0.08); padding: 5px 12px; border-radius: 6px; font-size: 0.75rem; font-weight: 700; }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 300;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--saffron); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg { width: 20px; height: 20px; }

/* ---------- Floating Donate Button (mobile) ---------- */
.mobile-donate-fab {
  display: none;
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 300;
}

/* ---------- WhatsApp floating button ---------- */
.whatsapp-fab {
  position: fixed; bottom: 28px; left: 28px; z-index: 300;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.whatsapp-fab:hover { transform: translateY(-4px) scale(1.05); }
.whatsapp-fab svg { width: 26px; height: 26px; }

/* ---------- Marquee (impact ticker) ---------- */
.marquee-strip { background: var(--saffron); overflow: hidden; padding: 12px 0; }
.marquee-track { display: flex; gap: 50px; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { color: var(--white); font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.marquee-track svg { width: 16px; height: 16px; }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   Breakpoints target real device buckets:
   1100px = small laptop/tablet landscape, 900px = nav collapses to drawer,
   700px = phones & small tablets (most real phones are 360-430px wide, so
   card grids go straight to 1 column here rather than a cramped 2-column
   mid-step), 480px = compact phones, 380px = smallest phones.
   ========================================================================== */
@media (max-width: 1100px) {
  .causes-grid,
  .causes-grid.cols-3,
  .team-grid,
  .team-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .gallery-grid,
  .gallery-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .events-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .donate-levels { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

@media (max-width: 900px) {
  .main-nav { position: fixed; top: 0; right: -100%; height: 100dvh; width: min(300px, 82vw); background: var(--white); flex-direction: column; justify-content: flex-start; padding: 100px 30px 30px; box-shadow: var(--shadow-lg); transition: right 0.35s ease; z-index: 250; align-items: flex-start; gap: 26px; overflow-y: auto; }
  .main-nav.open { right: 0; }
  .nav-toggle { display: flex; }
  .header-actions .btn-primary.btn-sm { display: none; }
  .hero .container, .about-grid, .contact-grid, .campaign-banner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; padding-bottom: 20px;}
  .hero-visual .img-frame { aspect-ratio: 16/10; max-width: 520px; margin: 0 auto; }
  .about-visual { margin-bottom: 50px; }
  .about-visual .main-img { aspect-ratio: 16/10; max-width: 520px; margin: 0 auto; }
  .about-visual .badge-exp { left: 50%; transform: translateX(-50%); bottom: -22px; white-space: nowrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 20px; }
  .timeline-item { grid-template-columns: 40px 1fr; }
  .timeline-item .dot { grid-row: 1; margin: 0; }
  .timeline-item .content { grid-column: 2; text-align: left !important; }
  .timeline-item .content-spacer { display: none !important; }
}

@media (max-width: 700px) {
  /* Denser mobile rhythm: smaller type, tighter spacing, smaller grids so
     more content fits in the viewport with less scrolling. */
  .section-pad { padding: 36px 0; }
  .section-head { margin-bottom: 20px; }
  .section-head h2 { font-size: clamp(1.3rem, 5.5vw, 1.7rem); margin-bottom: 8px; }
  .section-head p { font-size: 0.92rem; }
  .section-tag { font-size: 0.68rem; padding: 5px 12px; margin-bottom: 10px; }

  .container { padding: 0 16px; }
  .topbar { padding: 6px 0; }
  .topbar-info, .topbar-social { gap: 14px; }
  .topbar-info a, .topbar-info span { font-size: 0.78rem; }
  .topbar-social a { width: 22px; height: 22px; }

  .logo-mark { width: 58px; height: 58px; }
  .logo-text .name { font-size: 1.05rem; }
  .logo-text .tag { display: none; }

  .btn { padding: 11px 20px; font-size: 0.86rem; gap: 7px; }
  .btn svg { width: 15px; height: 15px; }

  .icon-circle { width: 38px; height: 38px; }
  .icon-circle svg { width: 18px; height: 18px; }

  .hero { padding: 40px 0 0; }
  .hero-content h1 { font-size: clamp(1.6rem, 7vw, 2.1rem); margin-bottom: 12px; }
  .hero-content p { font-size: 0.94rem; margin-bottom: 18px; }
  .hero-btns { flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 22px; }
  .hero-btns .btn { justify-content: center; }
  .hero-mini-stats { gap: 16px; }
  .hero-mini-stats div strong { font-size: 1.25rem; }
  .hero-mini-stats div span { font-size: 0.74rem; }
  .hero-visual { padding-bottom: 10px; }
  .wave-divider svg { height: 28px; }

  .trust-strip { padding: 14px 0; }
  .trust-item { font-size: 0.76rem; gap: 6px; }
  .trust-item svg { width: 15px; height: 15px; }

  .about-visual .badge-exp { padding: 12px 16px; bottom: -16px; }
  .about-visual .badge-exp strong { font-size: 1.4rem; }
  .about-visual .badge-exp span { font-size: 0.7rem; }
  .about-visual { margin-bottom: 34px; }
  .check-list { grid-template-columns: 1fr; gap: 8px; margin: 14px 0 18px; }
  .check-list li { font-size: 0.88rem; }
  .founder-note { margin-top: 16px; padding-top: 14px; gap: 12px; flex-wrap: wrap; }
  .founder-note img { width: 46px; height: 46px; }

  .causes-grid,
  .causes-grid.cols-3,
  .events-grid,
  .blog-grid,
  .values-grid,
  .steps-grid { grid-template-columns: 1fr; gap: 14px; }
  .team-grid,
  .team-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .gallery-grid,
  .gallery-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .donate-levels { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .cause-card { padding: 18px 16px; }
  .cause-card p { min-height: 0; font-size: 0.86rem; margin-bottom: 12px; }
  .cause-card .icon-circle { width: 44px; height: 44px; margin-bottom: 12px; }
  .cause-card h3 { font-size: 1rem; margin-bottom: 6px; }
  .progress-wrap { margin-bottom: 10px; }

  .stats-band { padding: 34px 0; }
  .stat-item .icon-circle { margin-bottom: 8px; }
  .stat-item strong { font-size: 1.6rem; }
  .stat-item span { font-size: 0.76rem; }

  .steps-grid { gap: 18px; }
  .step-item .step-num { width: 54px; height: 54px; margin-bottom: 10px; font-size: 1.1rem; }
  .step-item h3 { font-size: 1rem; margin-bottom: 4px; }
  .step-item p { font-size: 0.86rem; }

  .campaign-img { min-height: 180px; }
  .campaign-body { padding: 20px 18px; }
  .campaign-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
  .campaign-body p { font-size: 0.88rem; margin-bottom: 14px; }
  .campaign-progress-labels { margin-bottom: 4px; }
  .campaign-meta { gap: 18px; flex-wrap: wrap; margin-bottom: 16px; }

  .marquee-strip { padding: 8px 0; }
  .marquee-track { gap: 28px; }
  .marquee-track span { font-size: 0.78rem; gap: 6px; }

  .event-img { height: 140px; }
  .event-body { padding: 16px; }
  .event-body h3 { font-size: 1rem; margin-bottom: 8px; }
  .event-meta { gap: 10px; margin-bottom: 8px; }

  .team-photo { margin-bottom: 8px; border-radius: 10px; }
  .team-card h3 { font-size: 0.82rem; margin-bottom: 2px; }
  .team-card span { font-size: 0.7rem; }
  .team-card .cause-focus { font-size: 0.68rem; margin-top: 4px !important; }

  .values-grid .value-card, .value-card { padding: 18px 14px; }
  .value-card .icon-circle { width: 44px; height: 44px; margin-bottom: 10px; }
  .value-card h3 { font-size: 0.96rem; margin-bottom: 5px; }
  .value-card p { font-size: 0.82rem; }

  .cta-band { padding: 26px 20px; gap: 16px; }
  .cta-band h2 { font-size: 1.2rem; }
  .cta-band p { font-size: 0.86rem; }

  .page-header { padding: 34px 0; }
  .page-header h1 { font-size: clamp(1.3rem, 6vw, 1.8rem); margin-bottom: 6px; }
  .breadcrumb { font-size: 0.78rem; }

  .contact-cards { gap: 12px; }
  .contact-card { padding: 16px; gap: 12px; }
  .contact-form { padding: 20px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 10px; margin-bottom: 10px; }
  .form-group { margin-bottom: 10px; }
  .form-group input, .form-group textarea, .form-group select { padding: 10px 12px; font-size: 0.88rem; }
  .map-wrap { margin-top: 20px; }
  .map-wrap iframe { height: 240px; }

  .donate-level { padding: 14px; }
  .donate-level strong { font-size: 1.05rem; }
  .donate-level span { font-size: 0.72rem; }

  .faq-list { margin: 0; }
  .faq-question { padding: 14px 16px; font-size: 0.9rem; }
  .faq-answer p { padding: 0 16px 14px; font-size: 0.84rem; }

  .gallery-filter { gap: 8px; margin-bottom: 20px; }
  .gallery-filter button { padding: 7px 14px; font-size: 0.8rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 26px; padding-bottom: 20px; }
  .site-footer { padding-top: 40px; }
  .footer-about p { font-size: 0.84rem; margin: 12px 0 16px; }
  .footer-col h4 { font-size: 0.95rem; margin-bottom: 12px; }
  .footer-col ul li { margin-bottom: 8px; }
  .footer-contact li { margin-bottom: 10px; font-size: 0.84rem; }
  .footer-newsletter { margin-top: 10px; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 16px 0; gap: 8px; }
  .topbar-info span:nth-child(3) { display: none; }

  .whatsapp-fab, .back-to-top { width: 44px; height: 44px; bottom: 16px; }
  .whatsapp-fab { left: 16px; }
  .back-to-top { right: 16px; }
  .whatsapp-fab svg { width: 21px; height: 21px; }
}

@media (max-width: 480px) {
  .topbar-info a:nth-child(2) { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat-item strong { font-size: 1.4rem; }
  .hero-mini-stats { gap: 14px; }
  .floating-card { display: none; }
  .about-visual .badge-exp strong { font-size: 1.3rem; }
  .contact-card { flex-direction: column; text-align: center; align-items: center; }
}

@media (max-width: 380px) {
  .gallery-grid,
  .gallery-grid.cols-3,
  .donate-levels { grid-template-columns: 1fr; }
  .logo-text .name { font-size: 0.95rem; }
  .logo-mark { width: 50px; height: 50px; }
  .btn { padding: 10px 18px; font-size: 0.82rem; }
  .hero-content p { font-size: 0.9rem; }
}
