:root {
  --primary: #0c7b4f;
  --primary-dark: #075336;
  --accent: #e8f5ef;
  --text: #0f172a;
  --muted: #475569;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #dbe4ea;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Hind Siliguri", sans-serif;
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: absolute;
  top: 1.2rem;
  left: 0;
  right: 0;
  z-index: 40;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(220, 228, 234, 0.85);
  border-radius: 14px;
  box-shadow: 0 18px 50px -35px #0f172a;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}

.brand-mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover {
  color: var(--primary-dark);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.menu-btn {
  display: none;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 8px;
  padding: 0.3rem 0.55rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.65rem;
  padding: 0.65rem 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--white) !important;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin-left: 0.15rem;
}

.lang-btn {
  border: 0;
  background: #f8fafc;
  color: #334155;
  padding: 0.36rem 0.55rem;
  font-family: inherit;
  font-size: 0.78rem;
  cursor: pointer;
}

.lang-btn.active {
  background: #dcfce7;
  color: #166534;
  font-weight: 700;
}

.hero {
  padding: 8.5rem 0 2rem;
  position: relative;
  background-image:
    linear-gradient(to right, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.45)),
    url("https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  color: #e2e8f0;
}

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

.eyebrow {
  color: #86efac;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.12;
}

.lead {
  color: #cbd5e1;
  font-size: 1.05rem;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-card,
.card,
.fb-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem;
  box-shadow: 0 10px 25px -25px #0f172a;
}

.hero-card h3 {
  margin-top: 0.3rem;
  color: #ecfeff;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #cbd5e1;
}

.hero-card {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.45);
}

.donation-strip {
  margin-top: 2rem;
  background: #f3c96d;
  border: 1px solid #e9ba51;
  border-radius: 14px;
  padding: 1.2rem;
  color: #0f172a;
  box-shadow: 0 26px 40px -35px #020617;
}

.donation-strip h3 {
  margin: 0 0 0.8rem;
  text-align: center;
}

.donation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 0.8rem;
  align-items: center;
}

.donation-item {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
}

.donation-item label {
  display: block;
  font-size: 0.85rem;
  color: #475569;
}

.donation-item div {
  font-weight: 600;
}

.section {
  padding: 4rem 0;
}

.donation-causes {
  padding: 0 0 4rem;
  background: #f8fafc;
}

.causes-banner {
  background-image:
    linear-gradient(to right, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.65)),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: #f8fafc;
  text-align: center;
  padding: 2.2rem 0;
  margin-bottom: 2.3rem;
}

.causes-banner h2 {
  margin: 0;
  color: #f8fafc;
}

.causes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.cause-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 20px 35px -32px #0f172a;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cause-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -28px #0f172a;
}

.cause-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.cause-content {
  padding: 1rem;
}

.cause-content h3 {
  margin: 0 0 0.5rem;
  text-align: center;
}

.cause-content p {
  margin: 0;
  text-align: center;
}

.section-alt {
  background: #f1f5f9;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.1rem;
}

h2 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

p {
  color: var(--muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.work-highlight {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
  align-items: center;
}

.fb-box {
  background: #0f172a;
  border: none;
  color: #e2e8f0;
}

.fb-box p,
.fb-box span {
  color: #94a3b8;
}

.fb-box h4 {
  color: #f8fafc;
  margin: 0.2rem 0;
}

.fb-iframe-wrap {
  margin-top: 0.9rem;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.fb-iframe-wrap iframe {
  width: 100%;
  max-width: 100%;
  display: block;
}

.contact-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.donate-hero {
  padding-bottom: 4rem;
}

.donate-hero-content {
  max-width: 780px;
}

.donate-section {
  padding: 3rem 0 4rem;
  background: #f8fafc;
}

.donate-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: start;
}

.donate-form-card,
.donate-info-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.1rem;
  box-shadow: 0 16px 32px -32px #0f172a;
}

.donate-form-card h2,
.donate-info-card h3 {
  margin-top: 0;
}

.donate-form-card form {
  display: grid;
  gap: 0.65rem;
}

.donate-form-card label {
  font-weight: 600;
  color: #1e293b;
}

.donate-form-card input,
.donate-form-card select,
.donate-form-card textarea {
  width: 100%;
  border: 1px solid #dbe4ea;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}

.donate-form-card input:focus,
.donate-form-card select:focus,
.donate-form-card textarea:focus {
  border-color: #86efac;
  box-shadow: 0 0 0 3px rgba(134, 239, 172, 0.25);
}

.donate-submit {
  margin-top: 0.45rem;
  border: 0;
  cursor: pointer;
}

.donate-info-card a {
  color: var(--primary-dark);
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #f8fafc;
}

.footer-inner {
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero-grid,
  .causes-grid,
  .two-col,
  .donate-grid,
  .cards-grid,
  .work-highlight {
    grid-template-columns: 1fr;
  }

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

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

  .main-nav {
    position: absolute;
    top: 70px;
    right: 4%;
    left: 4%;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(-10px);
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.28s ease,
      transform 0.28s ease,
      max-height 0.32s ease,
      visibility 0.28s ease;
  }

  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    max-height: 520px;
    visibility: visible;
    pointer-events: auto;
  }

  .donation-grid {
    grid-template-columns: 1fr;
  }
}
