:root {
  --brand-orange: #f36b21;
  --brand-orange-dark: #c74d0f;
  --brand-green: #1d8f4d;
  --brand-dark: #151515;
  --sand: #f4eee6;
  --paper: #fffdf8;
  --text: #222;
  --muted: #555;
  --radius: 14px;
  --shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff 0%, var(--paper) 45%, #fff 100%);
  line-height: 1.6;
}

body.lang-hi {
  font-family: "Noto Sans Devanagari", "Outfit", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

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

.container {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.section {
  padding: 72px 0;
}

.eyebrow {
  color: var(--brand-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.section-title,
h2 {
  font-family: "Teko", sans-serif;
  font-size: clamp(2rem, 6vw, 3rem);
  letter-spacing: 0.02em;
  line-height: 1;
}

.btn {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-orange-dark));
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(243, 107, 33, 0.35);
}

.btn-sm {
  padding: 10px 16px;
}

.btn-outline {
  background: transparent;
  color: var(--brand-dark);
  border: 2px solid var(--brand-green);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #ececec;
  backdrop-filter: blur(10px);
}

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
  border: 2px solid #eee;
  background: #fff;
}

.brand span {
  max-width: 320px;
  line-height: 1.15;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--brand-orange);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #fff;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: #222;
}

.hero {
  position: relative;
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 9% 12%, rgba(243, 107, 33, 0.24), transparent 30%),
    radial-gradient(circle at 87% 75%, rgba(29, 143, 77, 0.22), transparent 30%),
    linear-gradient(120deg, #fff 0%, #fff7f1 52%, #f3fff8 100%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: center;
}

.hero-copy h1 {
  font-family: "Teko", sans-serif;
  font-size: clamp(2.8rem, 9vw, 5.3rem);
  line-height: 0.9;
  margin-bottom: 12px;
}

.hero-copy h1 span {
  color: var(--brand-orange);
}

.hero-copy p {
  max-width: 62ch;
  color: var(--muted);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid #eee;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  font-size: 2rem;
}

.hero-card .name {
  color: var(--brand-green);
  font-weight: 700;
  margin-top: 6px;
}

.divider {
  height: 1px;
  background: #ededed;
  margin: 14px 0;
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  color: #444;
}

.about p {
  max-width: 80ch;
  color: #3d3d3d;
}

.impact {
  background: var(--sand);
}

.impact-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stat {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid #ece8df;
}

.stat h3 {
  color: var(--brand-orange);
  font-family: "Teko", sans-serif;
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 6px;
}

.program-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.program {
  background: #fff;
  border: 1px solid #ebebeb;
  border-radius: var(--radius);
  padding: 24px;
}

.program h3 {
  margin-bottom: 8px;
  color: var(--brand-green);
}

.gallery-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery-grid figure {
  border-radius: 14px;
  overflow: hidden;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

.support-box {
  background: linear-gradient(130deg, #fff6ef 0%, #effdf5 100%);
  border: 1px solid #efe4db;
  border-radius: var(--radius);
  padding: 30px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-info p {
  margin-top: 8px;
}

.contact-form {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: var(--radius);
  padding: 22px;
}

.contact-form label {
  display: block;
  margin: 8px 0 4px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
}

.contact-form .btn {
  margin-top: 14px;
}

.form-msg {
  margin-top: 10px;
  color: var(--brand-green);
  font-weight: 600;
}

.site-footer {
  background: #111;
  color: #e8e8e8;
  padding: 22px 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .impact-grid,
  .program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .brand span {
    font-size: 0.92rem;
    max-width: 230px;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    right: 4vw;
    top: 84px;
    width: min(320px, 92vw);
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 14px;
    display: grid;
    gap: 10px;
    transform: scale(0.97);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }

  .impact-grid,
  .program-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-card,
  .stat,
  .program,
  .support-box,
  .contact-form {
    padding: 18px;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 6px;
}

.lang-btn {
  border: 1px solid #d8d8d8;
  background: #fff;
  color: #333;
  border-radius: 999px;
  padding: 7px 11px;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.lang-btn.active {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
}

@media (max-width: 980px) {
  .lang-switch {
    margin-top: 6px;
  }
}
