/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-y: scroll;
  overflow-x: hidden;
}
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #1f2937;
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.header-inner {
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  flex-shrink: 0;
  display: block;
  line-height: 0;
  width: 297px;
  height: 70px;
  max-width: 100%;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text strong {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}
.logo-tagline {
  font-size: 0.75rem;
  font-weight: 400;
  color: #6b7280;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-menu a {
  padding: 0.5rem 0.75rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: #2A2A2A;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.nav-menu a:hover { color: #111827; background: #f3f4f6; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}
.btn-donate {
  background: #f97316;
  color: white !important;
  margin-left: 0.5rem;
}
.btn-donate:hover { background: #ea580c !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 8px;
  color: #374151;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-close-item { display: none; }
.nav-close { font-family: inherit; }

/* ===== Hero & carousel ===== */
.hero {
  position: relative;
  min-height: 100vh;
  margin-top: 0;
}
.carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.carousel-track {
  position: absolute;
  inset: 0;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 50%, #1e3a5f 100%);
  background-size: cover;
  background-position: center;
  background-image: var(--bg, none);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.carousel-slide-active { opacity: 1; z-index: 1; }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem 4rem;
  pointer-events: none;
}
.hero-overlay > * { pointer-events: auto; }
.hero-content {
  max-width: 950px;
  padding: 2rem 2.25rem;
  background: rgba(30, 41, 59, 0.85);
  border-radius: 20px;
  backdrop-filter: blur(-10px);
  text-align: center;
}
.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 4vw, 4rem);
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}
.hero-desc {
  margin: 0 0 1.5rem;
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  color: rgba(255,255,255,0.92);
  line-height: 1.6;
}
.btn-support {
  background: transparent;
  color: #fff;
  border-color: #fff;
  border-width: 1px;
  border-style: solid;
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
  border-radius: 8px;
  font-weight: 500;
  transition: background 0.2s;
}
.btn-support:hover { background: white; color: #F47929; }

/* Slide 1: default overlay (unchanged) */
.hero-overlay--default .hero-content {
  max-width: 850px;
  text-align: center;
}

/* Slide 2: centered overlay – full height, not full width (strip in center) */
.hero-overlay--centered {
  background: rgba(0, 0, 0, 0.45);
  left: 30%;
  right: 30%;
  width: auto;
}
.hero-overlay--centered .hero-content {
  max-width: min(900px, 92%);
  width: 100%;
  text-align: center;
  background: transparent;
  backdrop-filter: none;
  border-radius: 0;
}

/* Slide 3: left-aligned – no dull overlay box, text directly on background (Figma) */
.hero-overlay--left {
  justify-content: flex-start;
  align-items: center;
  padding-left: 4rem;
  padding-right: 4rem;
  background: transparent;
}
.hero-overlay--left .hero-content {
  max-width: 640px;
  min-width: 320px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
  background: transparent;
  backdrop-filter: none;
  border-radius: 0;
}
.hero-overlay--left .hero-title,
.hero-overlay--left .hero-desc {
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  background: rgba(0,0,0,0.25);
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}
.carousel-arrow:hover { background: rgba(0,0,0,0.45); color: #fff; }
.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  padding: 0.25rem;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: 2px solid rgba(255,255,255,0.6);
  padding: 0;
  transition: background 0.2s, border-color 0.2s;
}
.carousel-dot:hover { background: rgba(255,255,255,0.6); }
.carousel-dot-active {
  background: #2563eb;
  border-color: #2563eb;
}

/* ===== Achievements ===== */
.achievements {
  background: #eff6ff;
  padding: 3rem 1.5rem;
}
.achievements-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: start;
}
.achievement-card {
  text-align: center;
  padding: 0 0.5rem;
}
.achievement-icon {
  display: inline-flex;
  margin-bottom: 1rem;
  line-height: 0;
}
.achievement-icon svg { width: 56px; height: 56px; }
.achievement-value {
  margin: 0 0 0.25rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #1f2937;
}
.achievement-label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  color: #4b5563;
  line-height: 1.4;
}

/* ===== Who We Are (2x2 grid) ===== */
.who-we-are {
  padding: 0;
  background: #fff;
}
.who-we-are-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
}
.who-we-are-cell {
  min-height: 0;
  overflow: hidden;
}
.who-we-are-cell img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  display: block;
}
.who-we-are-text {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.who-we-are-heading {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #1f2937;
}
.who-we-are-line {
  display: block;
  width: 48px;
  height: 3px;
  background: #0C5780;
  margin-bottom: 1.25rem;
  border-radius: 2px;
}
.who-we-are-body {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
}
.who-we-are-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25em;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #0C5780;
  text-decoration: none;
  transition: color 0.2s, text-decoration 0.2s;
}
.who-we-are-link:hover {
  color: #084160;
  text-decoration: underline;
}
.who-we-are-link-arrow {
  order: 1;
  transition: order 0.2s ease;
}
.who-we-are-link:hover .who-we-are-link-arrow {
  order: -1;
}

/* ===== Vision / Mission / Values (blurred bg + 3 cards) ===== */
.vision-mission-values {
  position: relative;
  padding: 4rem 1.5rem;
  overflow: hidden;
}
.vmv-bg {
  position: absolute;
  inset: 0;
  background: #1e3a5f url('public/who-we-are.png') center / cover no-repeat;
  filter: blur(2px);
  transform: scale(1.08);
}
.vmv-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.5);
}
.vmv-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}
.vmv-card {
  background: #0C5780;
  border-radius: 12px;
  padding: 2rem 1.75rem;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.vmv-number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.vmv-line {
  display: block;
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
  border-radius: 1px;
}
.vmv-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}
.vmv-body {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  flex: 1;
}

/* ===== What We Do (banner + 4 image cards) ===== */
.what-we-do {
  background: #fff;
}
.what-we-do-banner {
  background: #E6F2FF;
  padding: 2rem 1.5rem;
  text-align: center;
}
.what-we-do-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #1f2937;
}
.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.what-we-do-card {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}
.what-we-do-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.what-we-do-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease, transform 0.3s ease;
}
.what-we-do-card:hover img {
  filter: brightness(0.75);
  transform: scale(1.03);
}
.what-we-do-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, transparent 50%);
  pointer-events: none;
}
.what-we-do-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}
.what-we-do-card:hover::after {
  background: rgba(0, 0, 0, 0.5);
}
.what-we-do-card-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.what-we-do-card:hover .what-we-do-card-caption {
  left: 50%;
  right: auto;
  bottom: auto;
  top: 50%;
  transform: translate(-50%, -50%);
  align-items: center;
}
.what-we-do-label {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  text-align: left;
  margin: 0;
}
.what-we-do-card:hover .what-we-do-label {
  text-align: center;
}
.what-we-do-desc {
  font-size: clamp(0.75rem, 1.2vw, 0.875rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  line-height: 1.4;
  margin: 0;
  max-width: 85%;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  text-align: left;
  transition: opacity 0.3s ease, max-height 0.4s ease;
}
.what-we-do-card:hover .what-we-do-desc {
  opacity: 1;
  max-height: 20em;
  text-align: center;
}

/* ===== Our Team (6 cards with hover overlay) ===== */
.our-team {
  padding: 3rem 1.5rem 4rem;
  background: #fff;
}
.our-team-title {
  text-align: center;
  margin: 0 0 2.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #1f2937;
}
.our-team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.team-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}
.team-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.team-card-image-wrap {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.team-card-image-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}
.team-card:hover .team-card-image-wrap::after {
  background: rgba(0, 0, 0, 0.5);
}
.team-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease, transform 0.3s ease;
}
.team-card:hover .team-card-image-wrap img {
  filter: brightness(0.75);
  transform: scale(1.03);
}
.team-card-caption-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  transition: opacity 0.3s ease;
}
.team-card:hover .team-card-caption-bottom {
  opacity: 0;
}
.team-card-caption-bottom .team-card-name {
  color: #fff;
  font-size: 1.0625rem;
  font-weight: 700;
  text-align: center;
  margin: 0;
}
.team-card-caption-bottom {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  margin: 0;
}
.team-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.team-card:hover .team-card-overlay {
  opacity: 1;
}
.team-card-overlay .team-card-name {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}
.team-card-overlay {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
.team-card-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #1f2937;
}

/* ===== Donate / QR section (blurred bg + light blue box) ===== */
.donate-qr {
  position: relative;
  padding: 4rem;
  overflow: hidden;
}
.donate-qr-bg {
  position: absolute;
  inset: 0;
  background: #1e3a5f url('public/QR-bg.png') center / cover no-repeat;
  filter: blur(4px);
  transform: scale(1.1);
}
.donate-qr-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
}
.donate-qr-box {
  position: relative;
  z-index: 1;
  background: #E6F2FF;
  border-radius: 24px;
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
.donate-qr-text {
  padding-right: 0.5rem;
}
.donate-qr-heading {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 600;
  color: #0C5780;
  line-height: 1.3;
}
.donate-qr-body {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.6;
  color: #2A2A2A;
}
.donate-qr-tagline {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2A2A2A;
  line-height: 1.5;
}
.donate-qr-code-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-shrink: 0;
  min-width: 280px;
  max-width: min-content;
}
.donate-qr-org-name {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #4b5563;
  letter-spacing: 0.05em;
  line-height: 1.25;
}
.donate-qr-white-box {
  background: #fff;
  padding: 12px 12px 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.donate-qr-image {
  width: 200px;
  height: 200px;
  object-fit: contain;
  display: block;
  margin-bottom: 0.75rem;
}
.donate-qr-upi {
  margin: 0;
  font-size: 0.8125rem;
  color: #4b5563;
  font-weight: 500;
}

/* ===== Donation modal (Donate / Donate Now buttons) ===== */
.donate-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.2s, opacity 0.2s;
}
.donate-modal.is-open {
  visibility: visible;
  opacity: 1;
}
.donate-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.donate-modal-box {
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
  padding: 2rem 2.5rem 2.25rem;
  max-width: 505px;
  width: 100%;
  text-align: center;
}
.donate-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  color: #374151;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
}
.donate-modal-close:hover {
  background: #f3f4f6;
  color: #111;
}
.donate-modal-title {
  margin: 0 0 0.35rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: #0C5780;
}
.donate-modal-org {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: #2A2A2A;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.donate-modal-qr-wrap {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 12px 0.75rem;
  margin-bottom: 1rem;
  display: inline-block;
}
.donate-modal-qr {
  display: block;
  width: 200px;
  height: 200px;
  margin: 0 auto 0.5rem;
  object-fit: contain;
}
.donate-modal-upi {
  margin: 0;
  font-size: 0.8125rem;
  color: #4b5563;
  font-weight: 500;
}
.donate-modal-instruction {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  color: #374151;
}
.donate-modal-apps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.75rem;
}
.donate-modal-app-icon {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: contain;
}

/* ===== Footer ===== */
.footer {
  background: #0C5780;
  color: rgba(255, 255, 255, 0.9);
  padding: 3rem 4rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.25rem;
}
.footer-logo-icon {
  width: 297px;
  height: 70px;
  object-fit: contain;
  display: block;
}

.footer-desc {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  max-width: 320px;
}
.footer-heading {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding-bottom: 0.25rem;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9375rem;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.9);
}
.footer-contact-list a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-contact-list a:hover {
  color: #fff;
}
.footer-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.9);
}
.footer-icon svg {
  width: 18px;
  height: 18px;
}

/* ===== Responsive: tablet ===== */
@media (max-width: 1024px) {
  .header-inner { padding: 0.75rem 1.25rem; }
  .hero-overlay { justify-content: center; padding: 6rem 1.5rem 4rem; }
  .hero-content { max-width: 100%; }
  .hero-overlay--left { padding-left: 2rem; padding-right: 2rem; }
  .hero-overlay--left .hero-content { max-width: 100%; }
  .achievements-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
  .who-we-are-text { padding: 2rem 1.5rem; }
  .vmv-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .what-we-do-grid { grid-template-columns: repeat(2, 1fr); }
  .our-team-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .donate-qr-box { grid-template-columns: 1fr; padding: 2rem 2rem; gap: 2rem; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

/* ===== Responsive: mobile ===== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(280px, 85vw);
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0.5rem 1.25rem 1.5rem;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    gap: 0;
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-close-item {
    display: flex;
    justify-content: flex-end;
    padding: 0.5rem 1rem 0.75rem;
    border-bottom: 1px solid #f3f4f6;
    margin: -0.5rem -1.25rem 0 -1.25rem;
    padding: 1rem 1.25rem;
    background: #fff;
  }
  .nav-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    line-height: 1;
    color: #374151;
    background: #f3f4f6;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
  }
  .nav-close:hover {
    background: #e5e7eb;
    color: #111827;
  }
  .nav-menu li { border-bottom: 1px solid #f3f4f6; }
  .nav-menu .nav-close-item { margin: 0 -1.25rem; }
  .nav-menu a {
    display: block;
    padding: 0.875rem 0.5rem;
    font-size: 1rem;
  }
  .nav-menu .btn-donate { margin: 0.5rem 0 0; text-align: center; }
  .carousel-arrow { width: 40px; height: 40px; }
  .carousel-prev { left: 0.5rem; }
  .carousel-next { right: 0.5rem; }
  /* Mobile: use dedicated mobile images (different dimensions) – add Hero-Carousel-*-mobile.png to public/ */
  .carousel-slide {
    background-size: cover;
    background-position: center center;
    background-color: #1e3a5f;
  }
  .carousel-slide.slide-1 { background-image: url('public/Hero-Carousel-1-mobile.png'); }
  .carousel-slide.slide-2 { background-image: url('public/Hero-Carousel-2-mobile.png'); }
  .carousel-slide.slide-3 { background-image: url('public/Hero-Carousel-3-mobile.png'); }
  .hero-overlay { padding: 5rem 1rem 3rem; justify-content: center; }
  .hero-content { padding: 1.5rem 1.25rem; }
  /* Mobile: bottom-band overlay only for 2nd slide (centered / Medical Support), full width */
  .hero-overlay--centered {
    align-items: flex-end;
    justify-content: center;
    left: 0;
    right: 0;
    width: 100%;
    padding: 2rem 0 4rem;
    background: transparent;
  }
  .hero-overlay--centered .hero-content {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem 1.25rem;
    text-align: center;
    margin: 0;
    background: rgba(30, 41, 59, 0.85);
    backdrop-filter: blur(-10px);
    border-radius: 16px 16px 0 0;
  }
  /* Mobile: 3rd slide – content from top-left */
  .hero-overlay--left {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 5rem 1rem 3rem;
  }
  .hero-overlay--left .hero-content {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
  }
  .achievements { padding: 2.5rem 1rem; }
  .achievements-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .achievement-card { padding: 0; }
  .who-we-are-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .who-we-are-cell img { min-height: 240px; }
  .who-we-are-text { padding: 1.75rem 1.25rem; }
  .vision-mission-values { padding: 3rem 1rem; }
  .vmv-card { padding: 1.75rem 1.25rem; }
  .what-we-do-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }
  .what-we-do-card { aspect-ratio: 16 / 10; }
  .our-team { padding: 2.5rem 1rem 3rem; }
  .our-team-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .donate-qr { padding: 3rem 1rem; }
  .donate-qr-box {
    padding: 1.75rem 1.5rem;
    gap: 1.75rem;
    border-radius: 20px;
  }
  .donate-qr-image { width: 160px; height: 160px; }
  .footer { padding: 2.5rem 1rem; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-about { align-items: center; }
  .footer-desc { max-width: 100%; text-align: center; }
  .footer-links { align-items: center; }
  .footer-contact-list { align-items: center; }
  .footer-contact-list li { justify-content: center; }
}

@media (max-width: 1024px) {
  .logo-icon { width: 240px; height: 56px; }
}

@media (max-width: 768px) {
  .logo-icon { width: 200px; height: 47px; }
}

@media (max-width: 480px) {
  .logo-icon { width: 160px; height: 38px; }
  .logo-text strong { font-size: 1.1rem; }
  .logo-tagline { font-size: 0.7rem; }
  .hero-title { font-size: 1.35rem; }
  .carousel-dots { bottom: 1rem; }
}
