/* ================= RESET ================= */
* {
  -webkit-tap-highlight-color: transparent;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: #fff;
  line-height: 1.6;
}

/* ================= VARIABLES ================= */
:root {
  --saffron: #ff9933;
  --green: #138808;
  --dark: #1a1a1a;
  --white: #ffffff;
  --gray-bg: #f7f7f7;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 10px 25px rgba(0,0,0,0.12);
}

/* ================= NAVBAR ================= */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 48px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--saffron);
  letter-spacing: 0.5px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Language toggle */
.lang-toggle button {
  border: none;
  background: #f1f1f1;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 6px;
  font-size: 14px;
  transition: background .2s ease;
}

.lang-toggle button:hover {
  background: #e6e6e6;
}

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
}

/* ================= NAV LINKS ================= */
.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-size: 15px;
  font-weight: 500;
  position: relative;
}

/* subtle underline */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--saffron);
  transition: width .25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-nav {
  background: var(--saffron);
  color: var(--white) !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
}

/* ================= HERO ================= */
.hero {
  min-height: 90vh;
  background: linear-gradient(
    to right,
    rgba(255,153,51,0.92),
    rgba(19,136,8,0.88)
  );
  display: flex;
  align-items: center;
  padding: 0 48px;
  color: white;
}

.hero-content {
  max-width: 620px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero p {
  font-size: 18px;
  opacity: 0.95;
}

.hero-buttons {
  margin-top: 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ================= BUTTONS ================= */
.btn-primary,
.btn-outline,
.btn-nav {
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn-primary {
  background: white;
  color: var(--saffron);
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.btn-outline {
  border: 2px solid white;
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
}

.btn-primary:hover,
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.15);
}

/* Audio button */
.audio-btn {
  margin-top: 24px;
  padding: 12px 14px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: rgba(255,255,255,0.9);
}

/* ================= SECTIONS ================= */
section {
  scroll-margin-top: 90px;
}

.campaigns,
.volunteer {
  padding: 80px 48px;
  text-align: center;
}

.campaigns {
  background: var(--gray-bg);
}

.campaigns h2,
.volunteer h2 {
  font-size: 36px;
  color: var(--saffron);
  margin-bottom: 32px;
}

/* ================= CAMPAIGN GRID ================= */
.campaign-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.campaign-card {
  background: white;
  padding: 28px 22px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  transition: transform .2s ease, box-shadow .2s ease;
}

@media (hover: hover) {
  .campaign-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
  }
}

/* ================= GALLERY ================= */
.gallery {
  padding: 80px 48px;
  background: #ffffff;
  text-align: center;
}

.gallery h2 {
  font-size: 36px;
  color: var(--saffron);
  margin-bottom: 32px;
}

/* Responsive Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

/* Images */
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  background: #eee;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}

/* Hover (desktop only) */
@media (hover: hover) {
  .gallery-grid img:hover {
    transform: scale(1.04);
    box-shadow: var(--shadow-md);
  }
}

/* Mobile optimization */
@media (max-width: 480px) {
  .gallery {
    padding: 60px 20px;
  }

  .gallery-grid img {
    height: 160px;
  }
}

/* ================= LIGHTBOX ================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}

/* ================= TRUST & IMPACT ================= */
.trust-impact {
  padding: 80px 48px;
  background: #f7f7f7;
  text-align: center;
}

.trust-impact h2 {
  font-size: 36px;
  color: var(--saffron);
  margin-bottom: 40px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}

.impact-card {
  background: white;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.impact-card span {
  font-size: 34px;
}

.impact-card h3 {
  font-size: 32px;
  margin: 12px 0 6px;
  color: var(--green);
}

.impact-card p {
  font-size: 15px;
  color: #555;
}

/* ================= TESTIMONIALS ================= */
.testimonials {
  padding: 80px 48px;
  background: white;
  text-align: center;
}

.testimonials h2 {
  font-size: 34px;
  color: var(--saffron);
  margin-bottom: 36px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

.testimonial-card {
  background: #fafafa;
  padding: 26px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  font-style: italic;
}

.testimonial-card span {
  display: block;
  margin-top: 14px;
  font-weight: 600;
  font-style: normal;
  color: #333;
}

/* Mobile tweak */
@media (max-width: 480px) {
  .trust-impact,
  .testimonials {
    padding: 60px 20px;
  }
}


/* ================= VOLUNTEER FORM ================= */
.volunteer-form {
  max-width: 420px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.volunteer-form input {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 15px;
}

.volunteer-form input:focus {
  border-color: var(--saffron);
}

.volunteer-form button {
  padding: 14px;
  border-radius: 8px;
  border: none;
  background: var(--green);
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.volunteer-form button:hover {
  opacity: 0.9;
}

/* ================= MOBILE ACTION BAR ================= */
.mobile-action-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    display: flex;
    z-index: 3000;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
  }

  .mobile-action-bar a {
    flex: 1;
    text-align: center;
    line-height: 60px;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    font-size: 15px;
  }

  .action-call {
    background: #138808;
  }

  .action-whatsapp {
    background: #25D366;
  }

  .action-volunteer {
    background: #ff9933;
  }

  /* prevent content hide */
  body {
    padding-bottom: 60px;
  }
}

/* ================= FOOTER ================= */
.footer {
  background: var(--dark);
  color: #ccc;
  text-align: center;
  padding: 22px;
  font-size: 14px;
}

/* ================= ACCESSIBILITY ================= */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(255,153,51,0.6);
  outline-offset: 2px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .navbar {
    padding: 14px 20px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 16px;
    background: white;
    flex-direction: column;
    width: 220px;
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .hero {
    padding: 0 20px;
    text-align: center;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .campaigns,
  .volunteer {
    padding: 60px 20px;
  }
}

/* ================= REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

/* ================= HOW WE HELP ================= */
.how-we-help {
  padding: 80px 48px;
  background: #ffffff;
  text-align: center;
}

.how-we-help h2 {
  font-size: 36px;
  color: var(--saffron);
  margin-bottom: 36px;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
}

.help-card {
  background: #fafafa;
  padding: 30px 22px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  font-size: 16px;
  font-weight: 500;
}

.help-card span {
  display: block;
  font-size: 36px;
  margin-bottom: 12px;
}

/* ================= AREA COVERAGE ================= */
.area-coverage {
  padding: 70px 48px;
  background: var(--gray-bg);
  text-align: center;
}

.area-coverage h2 {
  font-size: 34px;
  color: var(--saffron);
  margin-bottom: 12px;
}

.area-coverage p {
  font-size: 18px;
  font-weight: 500;
  color: #444;
}

/* ================= VOLUNTEER JOURNEY ================= */
.volunteer-journey {
  padding: 80px 48px;
  background: #ffffff;
  text-align: center;
}

.volunteer-journey h2 {
  font-size: 36px;
  color: var(--saffron);
  margin-bottom: 36px;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.journey-grid div {
  background: #fafafa;
  padding: 28px 20px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* ================= FAQ ================= */
.faq {
  padding: 80px 48px;
  background: var(--gray-bg);
}

.faq h2 {
  text-align: center;
  font-size: 36px;
  color: var(--saffron);
  margin-bottom: 32px;
}

.faq details {
  max-width: 800px;
  margin: 0 auto 14px;
  background: #ffffff;
  padding: 18px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
}

.faq p {
  margin-top: 10px;
  color: #555;
  font-size: 15px;
}

@media (max-width: 480px) {
  .how-we-help,
  .area-coverage,
  .volunteer-journey,
  .faq {
    padding: 60px 20px;
  }

  .help-card,
  .journey-grid div {
    font-size: 15px;
  }

  .area-coverage p {
    font-size: 16px;
  }
}

