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

:root {
  --green: #1fc43b;
  --green-hover: #299e39;
  --dark: #111010;
  --text: #222;
  --muted: #666;
  --card-bg: #fff;
  --section-bg: #faf9f7;
  --footer-bg: #141414;
  --footer-text: #ccc;
  --border: #e8e3dc;
}

body {
  font-family: "Nunito", sans-serif;
  background-color: #f4f4f4;
  color: #333;
}

h2,
h3 {
  font-family: "Instrument Serif", serif;
}

nav {
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

nav > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

nav > div img {
  height: 48px;
  width: auto;
  display: block;
}

nav > div h2 {
  font-size: 1.8rem;
  color: var(--dark);
  font-weight: 700;
}

.nav-items {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-item {
  text-decoration: none;
  color: #333;
  font-weight: 300;
  position: relative;
  transition: color 0.3s ease;
}

.nav-item::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s ease;
}

.nav-item:hover {
  color: var(--green);
}

.nav-item:hover::after {
  width: 100%;
}

.nav-item:active {
  font-weight: bold;
}

/* ── Hamburger ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  width: 28px;
  height: 22px;
  position: relative;
  z-index: 1100;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: var(--dark);
  border-radius: 4px;
  transition: all 0.35s cubic-bezier(0.77, 0, 0.175, 1);
  transform-origin: center;
}

/* Hamburger → X animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* ── Mobile Nav Overlay ── */
.nav-overlay {
  display: none;
}

/* ── Mobile Nav Panel (used at ≤ 768px) ── */

.header-content {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.header-content img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(35%);
  z-index: -1;
  transition: transform 10s ease;
}

.header-content:hover img {
  transform: scale(1.05);
}

.image-text {
  position: relative;
  z-index: 1;
  text-align: left;
  color: #ffffff;
  padding: 0 2rem;
  margin-left: 5vw;
  margin-top: 10vh;
  max-width: 800px;
  animation: fadeIn 1.5s ease-out;
}

.image-text h1 {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  letter-spacing: -1px;
}

.image-text p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.image-text a {
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  background: var(--green);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  box-shadow: 0 5px 10px #44fe0180;
  transition: all 0.3s ease;
}

.image-text a:hover {
  transform: translateY(-3px);
  background: var(--green-hover);
}

#donations {
  padding: 2rem;
  margin-top: 5vh;
}

#donations .cards {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 2rem;
  margin: auto;
}

#donations .card:first-child {
  background-color: var(--green);
  color: #ffffff;
}

#donations .card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

#donations .card {
  width: 30%;
  padding: 2rem;
  background-color: #eee;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

#donations .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#about-us {
  font-size: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6rem 5vw;
  background-color: #ffffff;
  gap: 5rem;
  margin: 0 auto;
}

#about-us .about {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#about-us h2 {
  font-size: 2.5rem;
  color: #000;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

#about-us p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #444;
  font-weight: 400;
}

#about-us p:nth-of-type(1) {
  margin-bottom: 1rem;
}

#about-us p:nth-of-type(2) {
  margin-bottom: 2rem;
}

#about-us .read-more {
  display: inline-block;
  background-color: var(--green);
  color: #ffffff;
  font-weight: bold;
  font-size: 1.2rem;
  padding: 1.2rem 3rem;
  text-decoration: none;
  align-self: flex-start;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

#about-us .read-more:hover {
  background-color: var(--green-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(254, 81, 1, 0.4);
}

#about-us aside {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  grid-template-rows: 1fr 1.2fr;
  gap: 15px;
  height: 600px; /* Gives the grid some structure so images fill nicely */
}

aside img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

/* Top-left image */
aside img:nth-child(1) {
  grid-column: 1;
  grid-row: 1;
  max-height: 260px;
}

/* Top-right image */
aside img:nth-child(2) {
  grid-column: 2;
  grid-row: 1;
  max-height: 260px;
}

/* Bottom wide image spans both columns */
aside img:nth-child(3) {
  grid-column: 1 / -1;
  grid-row: 2;
  max-height: 300px;
}

#stories {
  padding: 80px 60px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

.stories-header {
  margin-bottom: 60px;
}

.stories-header .label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.stories-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  max-width: 520px;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  background: var(--card-bg);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card:hover .card-img-wrap img {
  transform: scale(1.04);
}

/* Subtle green accent bar on hover */
.card-img-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover .card-img-wrap::after {
  transform: scaleX(1);
}

.card-body {
  padding: 28px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-name {
  font-family: "Quicksand", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.card-age {
  font-family: "Quicksand", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green);
}

.card-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  margin-top: 4px;
}

.card-link {
  margin-top: auto;
  padding-top: 18px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.card-link:hover {
  gap: 10px;
}

.card-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#founders {
  width: 100%;
  max-width: 1100px;
  padding: 80px 40px 100px;
  text-align: center;
}

.member-icon i {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

.donation-icon i {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
}

/* ════════════════════════════
       FOOTER
    ════════════════════════════ */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 70px 60px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr;
  gap: 60px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Column 1 */
.footer-brand .brand-name {
  font-family: "DM Sans", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #999;
  max-width: 230px;
}

.footer-brand .social-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  transition:
    border-color 0.2s,
    color 0.2s,
    background 0.2s;
  text-decoration: none;
}

.social-icon:hover {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}

.social-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Column 2 – links */
.footer-links h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 24px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links ul li a {
  text-decoration: none;
  color: #999;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links ul li a:hover {
  color: #fff;
}

.footer-links .phones {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links .phones a {
  color: #888;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links .phones a:hover {
  color: var(--green);
}

/* Column 3 – newsletter */
.footer-newsletter h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.footer-newsletter p {
  font-size: 0.9rem;
  color: #999;
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 280px;
}

.newsletter-form {
  display: flex;
  gap: 0;
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.newsletter-form input {
  flex: 1;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  outline: none;
}

.newsletter-form input::placeholder {
  color: #666;
}

.newsletter-form button {
  padding: 13px 22px;
  background: var(--green);
  border: none;
  color: #fff;
  font-family: "DM Sans", sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--green-hover);
}

/* Footer bottom */
.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: #555;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-bottom a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ── Responsive ── */
