/* ============================================================
   KALAM SEWA SAMITI - NGO Website
   ============================================================ */

:root {
  --primary: #e8590c;
  --primary-dark: #c2410c;
  --primary-light: #ff922b;
  --accent: #2b8a3e;
  --accent-dark: #237032;
  --dark: #14353b;
  --dark-2: #1c464d;
  --ink: #2d2d2d;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-soft: #f7f3ee;
  --bg-cream: #fdf8f2;
  --line: #ece5dc;
  --shadow: 0 10px 30px rgba(20, 53, 59, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 53, 59, 0.14);
  --radius: 14px;
  --radius-lg: 22px;
  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Poppins", "Segoe UI", Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.7;
  background: var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.section {
  padding: 90px 0;
}

.section--soft {
  background: var(--bg-soft);
}

.section--cream {
  background: var(--bg-cream);
}

.section--dark {
  background: var(--dark);
  color: #fff;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.25;
  color: var(--dark);
}

.section--dark h1, .section--dark h2, .section--dark h3 {
  color: #fff;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.section--dark .eyebrow {
  color: var(--primary-light);
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--muted);
  max-width: 680px;
  font-size: 16.5px;
}

.section--dark .section-sub {
  color: #c6d8dc;
}

.center {
  text-align: center;
}

.center .section-sub {
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  line-height: 1.2;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(232, 89, 12, 0.35);
}

.btn--light {
  background: #fff;
  color: var(--primary);
}

.btn--light:hover {
  background: var(--bg-cream);
  transform: translateY(-2px);
}

.btn--outline {
  border-color: var(--primary);
  color: var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn--outline-light {
  border-color: #fff;
  color: #fff;
}

.btn--outline-light:hover {
  background: #fff;
  color: var(--dark);
}

.btn--white {
  background: #fff;
  color: var(--dark);
}

.btn--white:hover {
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(20, 53, 59, 0.06);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 6px 24px rgba(20, 53, 59, 0.14);
}

.topbar {
  background: var(--dark);
  color: #cfe3e7;
  font-size: 13px;
  padding: 8px 0;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar a {
  color: #fff;
}

.topbar .topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar .topbar-right {
  display: flex;
  gap: 18px;
  align-items: center;
}

.topbar .social-icons {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.topbar .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.topbar .social-icons a:hover {
  opacity: 0.7;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 12px;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 19px;
  color: var(--dark);
  line-height: 1.2;
}

.brand-name span {
  color: var(--primary);
}

.brand-tagline {
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  color: var(--ink);
  transition: all 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--bg-soft);
  color: var(--primary);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(12, 40, 46, 0.92) 20%, rgba(12, 40, 46, 0.55) 55%, rgba(12, 40, 46, 0.25));
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding: 90px 0;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(34px, 5.4vw, 62px);
  font-weight: 800;
  color: #fff;
  max-width: 780px;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: normal;
  color: var(--primary-light);
}

.hero p.lead {
  font-size: 17.5px;
  max-width: 620px;
  color: #dcecee;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.hero-dots button {
  width: 34px;
  height: 5px;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.hero-dots button.active {
  background: var(--primary-light);
  width: 48px;
}

/* ---------- Impact stats ---------- */
.stats {
  background: var(--dark);
  color: #fff;
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-num {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 800;
  color: var(--primary-light);
  font-family: var(--font-head);
}

.stat-label {
  color: #cfe3e7;
  font-size: 14.5px;
  margin-top: 6px;
  letter-spacing: 0.5px;
}

/* ---------- About intro ---------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-split .media {
  position: relative;
}

.about-split .media img.main {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.about-split .media img.accent {
  position: absolute;
  bottom: -28px;
  left: -28px;
  width: 46%;
  border-radius: var(--radius-lg);
  border: 8px solid #fff;
  box-shadow: var(--shadow-lg);
  height: 220px;
  object-fit: cover;
}

.about-split .badge {
  position: absolute;
  top: -24px;
  right: 24px;
  background: var(--primary);
  color: #fff;
  padding: 16px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
  font-family: var(--font-head);
}

.about-split .badge strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.about-split .badge span {
  font-size: 12.5px;
  opacity: 0.9;
}

.about-split .txt p {
  color: var(--muted);
  margin-bottom: 16px;
}

.check-list {
  list-style: none;
  margin: 8px 0 22px;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.55;
}

.check-list li::before {
  content: "\2713";
  color: var(--primary);
  font-weight: 700;
  flex-shrink: 0;
}

/* ---------- Cards ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 26px;
}

.card-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.card-body p {
  color: var(--muted);
  font-size: 14.8px;
  margin-bottom: 14px;
}

.card-link {
  font-weight: 600;
  color: var(--primary);
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link:hover {
  color: var(--primary-dark);
}

/* Icon cards */
.icon-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.icon-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.icon-circle {
  width: 74px;
  height: 74px;
  margin: 0 auto 20px;
  border-radius: 20px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--primary);
  transition: all 0.3s;
}

.icon-card:hover .icon-circle {
  background: var(--primary);
  color: #fff;
}

.icon-card h3 {
  font-size: 18.5px;
  margin-bottom: 10px;
}

.icon-card p {
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- Mission / Vision ---------- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.mv-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 42px 38px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--primary);
  box-shadow: var(--shadow);
  position: relative;
}

.mv-card:nth-child(2) {
  border-top-color: var(--accent);
}

.mv-icon {
  font-size: 40px;
  margin-bottom: 18px;
}

.mv-card h3 {
  font-size: 26px;
  margin-bottom: 14px;
}

.mv-card p {
  color: var(--muted);
}

/* ---------- Values ---------- */
.value-item {
  display: flex;
  gap: 18px;
  padding: 26px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.value-num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--dark);
  color: var(--primary-light);
  font-weight: 800;
  font-family: var(--font-head);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-item h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.value-item p {
  color: var(--muted);
  font-size: 14.5px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 60px 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  color: #fff;
  font-size: clamp(24px, 3.4vw, 36px);
  margin-bottom: 8px;
}

.cta-band p {
  color: #ffe6d6;
  max-width: 560px;
}

.cta-band .btn--white:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  color: #fff;
  padding: 110px 0 90px;
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(12, 40, 46, 0.94), rgba(12, 40, 46, 0.7));
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(32px, 5vw, 50px);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 640px;
  color: #dcecee;
  font-size: 16.5px;
}

.crumb {
  display: inline-flex;
  gap: 8px;
  font-size: 13px;
  color: var(--primary-light);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.crumb a {
  color: #fff;
}

.crumb a:hover {
  color: var(--primary-light);
}

/* ---------- Gallery ---------- */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s;
  font-family: var(--font-head);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(20, 53, 59, 0.85));
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-item .overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 24, 0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox .close {
  position: absolute;
  top: 24px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

.lightbox .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox .nav-btn:hover {
  background: var(--primary);
}

.lightbox .prev { left: 24px; }
.lightbox .next { right: 24px; }

/* ---------- Videos ---------- */
.video-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #000;
  display: block;
}

.video-card .video-body {
  padding: 22px;
}

.video-card h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.video-card p {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- Donate ---------- */
.donate-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.donate-info {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  position: sticky;
  top: 100px;
}

.donate-info h3 {
  color: #fff;
  font-size: 24px;
  margin-bottom: 12px;
}

.donate-info p {
  color: #cfe3e7;
  font-size: 15px;
  margin-bottom: 20px;
}

.donate-info .bank-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
  font-size: 14.5px;
}

.donate-info .bank-row span:last-child {
  color: #fff;
  font-weight: 600;
  text-align: right;
}

.donate-box {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 40px;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.amount-btn {
  padding: 16px 8px;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--dark);
  cursor: pointer;
  transition: all 0.2s;
}

.amount-btn small {
  display: block;
  font-weight: 500;
  font-size: 12px;
  color: var(--muted);
}

.amount-btn:hover,
.amount-btn.active {
  border-color: var(--primary);
  background: var(--bg-cream);
  color: var(--primary);
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--dark);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-card .icon-circle {
  margin: 0;
  flex-shrink: 0;
}

.contact-card h4 {
  font-size: 17px;
  margin-bottom: 4px;
}

.contact-card p,
.contact-card a {
  color: var(--muted);
  font-size: 14.5px;
}

.contact-card a:hover {
  color: var(--primary);
}

/* ---------- Timeline ---------- */
.timeline {
  position: relative;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: linear-gradient(var(--primary), var(--accent));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 6px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--primary);
  border: 4px solid var(--bg-soft);
}

.timeline-item h4 {
  font-size: 18px;
  margin-bottom: 4px;
}

.timeline-item span.date {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.timeline-item p {
  color: var(--muted);
  font-size: 14.8px;
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 34px;
}

.testimonial p.quote {
  font-size: 15.5px;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial .who {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial .avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  font-family: var(--font-head);
}

.testimonial .who strong {
  display: block;
  font-size: 15.5px;
}

.testimonial .who span {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Partner / footer strip ---------- */
.partners {
  background: var(--bg-cream);
  border-bottom: 1px solid var(--line);
}

.partners .row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.partner-chip {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--muted);
  opacity: 0.7;
  letter-spacing: 1px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: #cfe3e7;
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer h4 {
  color: #fff;
  font-size: 17px;
  margin-bottom: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
}

.footer-brand .brand-name {
  color: #fff;
}

.footer p {
  font-size: 14.5px;
  margin-bottom: 16px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 14.5px;
  color: #cfe3e7;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  transition: all 0.25s;
}

.social-row a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13.5px;
}

.footer-bottom a {
  color: var(--primary-light);
}

/* ---------- Floating action buttons ---------- */
.float-btns {
  position: fixed;
  right: 22px;
  bottom: 82px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.float-btn {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.float-btn--wa {
  background: #25d366;
}

.float-btn--wa::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: wa-pulse 2s ease-out infinite;
  z-index: -1;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0; }
}

.float-btn--phone {
  background: var(--primary);
}

.float-btn .tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  font-family: var(--font-body);
  padding: 7px 13px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}

.float-btn:hover .tooltip {
  opacity: 1;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  bottom: 22px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 900;
  box-shadow: 0 8px 20px rgba(232, 89, 12, 0.4);
}

.to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- Responsive System ---------- */
@media (max-width: 1200px) {
  .container { width: 94%; }
}

@media (max-width: 1100px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .about-split { grid-template-columns: 1fr; gap: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .donate-split { grid-template-columns: 1fr; }
  .donate-info { position: static; }
  .hero h1 { max-width: 640px; }
}

@media (max-width: 768px) {
  .section { padding: 55px 0; }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(340px, 84vw);
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 95px 28px 34px;
    gap: 8px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    transform: translateX(102%);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .nav-links a {
    width: 100%;
    font-size: 16px;
    padding: 12px 16px;
    border-radius: 10px;
  }

  .nav-links .nav-cta-mobile { margin-top: 14px; width: 100%; }
  .nav-links .nav-cta-mobile .btn { width: 100%; justify-content: center; }

  .nav-cta .btn { padding: 9px 16px; font-size: 13px; }

  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 16px; }
  .brand-tagline { font-size: 10px; }

  .hero { min-height: 75vh; }
  .hero .container { padding: 60px 0; }
  .hero h1 { font-size: 32px; }
  .hero p.lead { font-size: 15px; }
  .hero-actions .btn { flex: 1; justify-content: center; }

  .section-title { font-size: 28px; }
  .section-sub { font-size: 15px; }

  .stats { padding: 44px 0; }
  .stat-num { font-size: 32px; }

  .about-split { gap: 45px; }
  .about-split .media img.main { height: auto; max-height: 380px; width: 100%; object-fit: cover; }
  .about-split .media img.accent { width: 48%; height: 160px; left: 0; bottom: -20px; }
  .about-split .badge { padding: 12px 16px; top: -18px; right: 12px; }
  .about-split .badge strong { font-size: 24px; }
  .about-split .badge span { font-size: 11px; }

  .mv-card { padding: 30px 22px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cta-band { padding: 36px 22px; justify-content: center; text-align: center; }
  .cta-band h2 { font-size: 24px; }
  .footer { text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .footer-brand { justify-content: center; text-align: center; }
  .footer-brand .brand-name { text-align: left; }
  .footer h4 { text-align: center; }
  .footer p { text-align: center; margin-inline: auto; max-width: 520px; }
  .footer-links { display: flex; flex-direction: column; align-items: center; justify-content: center; }
  .footer-links li { width: 100%; text-align: center; }
  .footer-links a { justify-content: center; text-align: center; }
  .footer-links a:hover { padding-left: 0; }
  .social-row { justify-content: center; }
  .topbar .container { justify-content: center; flex-direction: column; text-align: center; }
  .topbar .topbar-right { display: none; }
  .form-row { grid-template-columns: 1fr; }

  input, select, textarea { font-size: 16px !important; }

  .page-hero { padding: 80px 0 65px; }
  .page-hero h1 { font-size: 32px; }

  .donate-box { padding: 24px 18px; }
  .donate-info { padding: 26px 20px; }

  .filter-btn { padding: 8px 16px; font-size: 13px; }

  .lightbox { padding: 15px; }
  .lightbox img { max-width: 94vw; max-height: 80vh; object-fit: contain; }
  .lightbox .nav-btn { width: 42px; height: 42px; font-size: 20px; }
  .lightbox .prev { left: 8px; }
  .lightbox .next { right: 8px; }
  .lightbox .close { top: 14px; right: 16px; font-size: 32px; }

  .float-btn { width: 50px; height: 50px; }
  .float-btn--wa svg { width: 26px; height: 26px; }
  .float-btn--phone svg { width: 24px; height: 24px; }
  .float-btn .tooltip { display: none; }
  .float-btns { bottom: 74px; }
  .to-top { width: 44px; height: 44px; font-size: 18px; }

  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
  .value-item { padding: 20px 16px; }
  .icon-card { padding: 24px 18px; }
}

@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-num { font-size: 28px; }
  .stat-label { font-size: 13px; }
  .amount-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .amount-btn { padding: 12px 6px; font-size: 15px; }
  .about-split .media img.accent { position: static; margin-top: 14px; width: 100%; height: auto; max-height: 220px; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .hero-tag { font-size: 11px; padding: 6px 13px; }
  .hero h1 { font-size: 27px; }
  .brand-name { font-size: 14.5px; }
  .brand-tagline { display: none; }
  .nav-cta .btn { font-size: 12px; padding: 8px 12px; }
  .filter-bar { gap: 6px; margin-bottom: 24px; }
  .filter-btn { padding: 7px 14px; font-size: 12px; }
  .gallery-item .overlay { padding: 10px; }
  .gallery-item .overlay span { font-size: 11.5px; }
  .contact-card { padding: 18px 14px; gap: 12px; }
  .testimonial { padding: 22px 16px; }
  .partners .row { gap: 20px; }
  .partner-chip { font-size: 14px; }
  .float-btns { right: 12px; bottom: 68px; gap: 8px; }
  .to-top { right: 14px; bottom: 14px; width: 40px; height: 40px; }
  .float-btn { width: 44px; height: 44px; }
  .float-btn--wa svg { width: 22px; height: 22px; }
  .float-btn--phone svg { width: 20px; height: 20px; }
}

@media (max-width: 360px) {
  .container { width: 94%; }
  .brand img { width: 36px; height: 36px; }
  .brand-name { font-size: 13px; }
  .nav-cta .btn { font-size: 11px; padding: 7px 9px; }
  .stats-grid { grid-template-columns: 1fr; gap: 12px; }
  .amount-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 24px; }
  .section-title { font-size: 22px; }
  .btn { padding: 11px 20px; font-size: 14px; }
}
