﻿:root {
  --brand-green: #075b35;
  --brand-green-dark: #034126;
  --brand-orange: #d96b2b;
  --brand-gold: #f4b940;
  --brand-blue: #155da6;
  --ink: #1f2b24;
  --muted: #5d6b61;
  --paper: #fffaf0;
  --surface: #ffffff;
  --soft-green: #edf6ef;
  --line: rgba(7, 91, 53, 0.14);
  --shadow: 0 14px 38px rgba(4, 65, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 5vw;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.97);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(4, 65, 38, 0.08);
  backdrop-filter: blur(10px);
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  color: inherit;
  text-decoration: none;
}

.site-brand img {
  width: 58px;
  height: 58px;
  margin: 0;
  border-radius: 50%;
  object-fit: contain;
  background: #fff7e7;
  box-shadow: 0 4px 14px rgba(4, 65, 38, 0.18);
}

.site-brand strong {
  display: block;
  color: var(--brand-green);
  font-size: 1.28rem;
  line-height: 1.1;
  font-weight: 800;
}

.site-brand small {
  display: block;
  margin-top: 3px;
  color: var(--brand-orange);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  background: transparent;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 11px;
  color: var(--brand-green-dark);
  font-size: 0.92rem;
  font-weight: 750;
  line-height: 1.1;
  text-decoration: none;
  border-radius: 6px;
}

.site-header .site-nav {
  background: transparent;
}

.site-header .site-nav a {
  color: var(--brand-green-dark);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #fff;
  background: var(--brand-green);
}

.site-nav .donate-link {
  color: #fff;
  background: var(--brand-orange);
}

.site-header .site-nav .donate-link {
  color: #fff;
}

.site-nav .donate-link:hover,
.site-nav .donate-link:focus-visible {
  background: #b9511a;
}

.hero {
  min-height: 280px;
  height: auto;
  padding: 72px 20px;
  background:
    linear-gradient(115deg, rgba(3, 65, 38, 0.86), rgba(7, 91, 53, 0.56)),
    url("../images/home/slider/slider1.jpeg") center/cover;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 850;
  line-height: 1.08;
  background: transparent;
  padding: 0;
  border-radius: 0;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0;
}

section h2,
.section-title {
  color: var(--brand-green);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 850;
  line-height: 1.15;
  letter-spacing: 0;
}

section h3 {
  color: var(--brand-green-dark);
  font-weight: 800;
}

section p {
  color: var(--muted);
  font-size: 1rem;
}

section img {
  border-radius: 8px;
}

.lead-text {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.btn,
.cta a,
button.submit-btn,
.contact-form button,
.buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 22px;
  color: #fff;
  background: var(--brand-orange);
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(217, 107, 43, 0.22);
}

.btn:hover,
.cta a:hover,
button.submit-btn:hover,
.contact-form button:hover,
.buttons a:hover {
  background: #b9511a;
}

.work-card,
.card,
.team-card,
.program-block,
.value,
.contact-info,
.contact-form,
form,
.bank-details,
.humble-request,
.detail-card,
.involvement-details,
.why-choose,
.home-details div,
.numbers div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.work-card img,
.card img,
.team-card img,
.program-block img,
.gallery img {
  width: 100%;
  object-fit: cover;
}

.work-card img,
.card img {
  height: 230px;
}

.team-card img {
  height: 240px;
}

.program-block img {
  height: 260px;
}

.gallery {
  width: min(1180px, calc(100% - 40px));
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.gallery img {
  height: 230px;
  margin: 0;
}

.site-footer {
  margin-top: 34px;
  padding: 46px 5vw 22px;
  color: #fff;
  text-align: left;
  background:
    linear-gradient(135deg, rgba(3, 65, 38, 0.98), rgba(7, 91, 53, 0.95)),
    var(--brand-green-dark);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(190px, 0.8fr) minmax(260px, 1fr);
  gap: 34px;
  max-width: 1180px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.footer-brand img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: contain;
  background: #fffaf0;
}

.footer-brand strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
}

.footer-brand small {
  display: block;
  margin-top: 4px;
  color: var(--brand-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease, background 0.2s ease;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  background: var(--brand-gold);
  transform: translateY(-2px);
}

.footer-social img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(90px, 1fr));
  gap: 8px 16px;
  background: transparent;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  width: fit-content;
  padding: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
  text-decoration: none;
  background: transparent;
  border-radius: 0;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--brand-gold);
  background: transparent;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
  color: var(--brand-gold);
  background: transparent;
}

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

.footer-contact-block strong {
  color: #fff;
}

.footer-bottom {
  max-width: 1180px;
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .site-nav a {
    flex: 0 0 auto;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 10px 16px;
  }

  .site-brand {
    min-width: 0;
  }

  .site-brand img {
    width: 48px;
    height: 48px;
  }

  .site-brand strong {
    font-size: 1.08rem;
  }

  .site-brand small {
    font-size: 0.68rem;
  }

  .site-nav a {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 0.84rem;
  }

  section {
    width: min(100% - 28px, 1120px);
    padding: 38px 0;
  }

  .hero {
    min-height: 220px;
    padding: 54px 16px;
  }

  .work-card img,
  .card img,
  .team-card img,
  .program-block img,
  .gallery img {
    height: 210px;
  }

  .site-footer {
    padding: 38px 18px 20px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}

