/* HopeSpring Foundation International */
/* Colors from Brand Kit */
:root {
  --primary-dark: #195429;
  --primary-green: #179917;
  --light-green: #b5c577;
  --accent-orange: #f78226;
  --light-bg: #f2f2f2;
  --dark-gray: #545454;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-muted: #666666;
  --shadow: 0 10px 40px rgba(0,0,0,0.08);
  --shadow-hover: 0 15px 50px rgba(0,0,0,0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'ITC Avant Garde Gothic', 'Montserrat', 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

.section-label {
  display: inline-block;
  background: rgba(25, 84, 41, 0.1);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent-orange);
  color: var(--white);
}

.btn-primary:hover {
  background: #e06e15;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(247, 130, 38, 0.35);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary-dark);
  color: var(--primary-dark);
}

.btn-outline:hover {
  background: var(--primary-dark);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary-dark);
}

.btn-white:hover {
  background: var(--light-bg);
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.header .container {
  max-width: 100%;          /* Allows container to expand end-to-end */
  width: 100%;              /* Ensures full width execution */
  padding: 0 24px;          /* Prevents content from touching raw screen edges */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 10px 0;
  min-height: 72px;
} */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Spreads items out evenly */
  flex: 1;                         /* Takes up all remaining width in the header */
  padding: 10px 0;
  min-height: 72px;
}

/* Logo — left side, never shrinks */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  height: 60px;
  width: 190px;
  object-fit: contain;
  border-radius: 8px;
}

.logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.15;
  white-space: nowrap;
}

.logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--dark-gray);
  letter-spacing: 0.4px;
}

/* Nav links — centered on desktop, evenly spaced */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-green);
  background: rgba(23, 153, 23, 0.08);
}

/* Donate button — right side */
.nav-cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-cta .btn {
  padding: 11px 22px;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Hamburger button (hidden on desktop) */
.mobile-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.mobile-toggle:hover {
  background: rgba(25, 84, 41, 0.08);
}

.hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  position: relative;
  transition: background 0.25s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  top: 7px;
}

/* Open state — turns into X */
.mobile-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.mobile-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ========== RESPONSIVE — HEADER ========== */

/* Large tablets / small desktops — tighten nav spacing */
@media (max-width: 1100px) {
  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  /* .logo-text {
    font-size: 0.95rem;
  } */

  .logo-text span {
    font-size: 0.6rem;
  }
}

/* Tablets (portrait & landscape) */
@media (max-width: 992px) {
  .nav {
    gap: 16px;
  }
  .nav-links {
    gap: 0;
  }
  .nav-links a {
    padding: 8px 9px;
    font-size: 0.85rem;
  }
  .nav-cta .btn {
    padding: 10px 16px;
    font-size: 0.85rem;
  }
  .logo img {
    height: 40px;
    width: 40px;
  }
}

/* Mobile & small tablets — hamburger menu */
@media (max-width: 768px) {
  .nav {
    min-height: 64px;
    padding: 10px 0;
    gap: 12px;
  }
  .logo img {
    height: 80px;
    width: 120px;
  }
  .logo-text {
    font-size: 0.95rem;
  }
  .logo-text span {
    font-size: 0.58rem;
  }

  /* Hide desktop nav links, show as slide-down panel */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    padding: 12px 20px 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    gap: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    z-index: 999;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  .nav-links li:last-child {
    border-bottom: none;
  }
  .nav-links a {
    padding: 14px 12px;
    font-size: 1rem;
    border-radius: 8px;
  }
  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(23, 153, 23, 0.1);
  }

  /* Keep Donate button visible on mobile (compact) */
  .nav-cta {
    display: flex;
    margin-left: auto;
  }
  .nav-cta .btn {
    display: inline-flex;
    padding: 9px 14px;
    font-size: 0.82rem;
  }
  .mobile-toggle {
    display: flex;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .nav {
    gap: 8px;
  }
  .logo-text span {
    display: none; /* hide long subtitle on very small screens */
  }
  .nav-cta .btn {
    padding: 8px 12px;
    font-size: 0.78rem;
  }
}

/* Extra-small phones */
@media (max-width: 360px) {
  .logo-text {
    font-size: 0.85rem;
  }
  .nav-cta .btn {
    padding: 7px 10px;
    font-size: 0.75rem;
  }
}

/* Tablets landscape — keep desktop-style nav when wide enough */
@media (min-width: 769px) and (max-width: 992px) {
  .nav-links {
    display: flex;
  }
  .mobile-toggle {
    display: none;
  }
}

/* ========== ABOUT PAGE ========== */
.about-page-hero {
  position: relative;
  padding: 120px 0 56px;
  color: #fff;
  overflow: hidden;
  background: #195429;
}

.about-page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(25, 84, 41, 0.94) 0%, rgba(23, 153, 23, 0.85) 100%),
    url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?w=1600&q=80') center/cover no-repeat;
}

.about-page-hero-inner {
  position: relative;
  z-index: 1;
}

.about-page-hero-content {
  max-width: 640px;
}

.about-page-hero .program-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  line-height: 1.4;
}

.about-page-hero .program-breadcrumb a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 500;
}

.about-page-hero .program-breadcrumb a:hover {
  color: var(--accent-orange);
}

.about-page-hero .breadcrumb-sep {
  opacity: 0.5;
  user-select: none;
}

.about-page-hero [aria-current="page"] {
  color: #fff;
  font-weight: 600;
}

.about-page-hero .section-label {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  margin-bottom: 12px;
}

.about-page-hero h1 {
  font-size: clamp(1.75rem, 4.5vw, 2.75rem);
  color: #fff !important;
  margin: 0 0 14px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.about-page-lead {
  font-size: clamp(0.98rem, 2.2vw, 1.1rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92) !important;
  margin: 0 0 24px;
  max-width: 560px;
}

.about-page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.about-page-hero-actions .btn {
  min-height: 46px;
  justify-content: center;
}

.about-page-hero-actions .btn-outline-light {
  background: transparent;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.about-page-hero-actions .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff !important;
}

.about-page-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.about-page-hero-trust li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
}

.about-page-hero-trust strong {
  color: var(--accent-orange);
  font-weight: 700;
}

@media (max-width: 600px) {
  .about-page-hero {
    padding: 108px 0 44px;
  }
  .about-page-hero-actions {
    flex-direction: column;
  }
  .about-page-hero-actions .btn {
    width: 100%;
  }
  .about-page-hero-trust {
    flex-direction: column;
    gap: 8px;
  }
}

@media (min-width: 768px) {
  .about-page-hero {
    padding: 132px 0 68px;
  }
}

/* Founder Section */
.founder-section {
  padding: 72px 0 80px;
  background: #fff;
}

.founder-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.founder-aside {
  position: sticky;
  top: 100px;
}

.founder-portrait {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(25, 84, 41, 0.15);
  margin-bottom: 20px;
}

.founder-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5/6;
  object-fit: cover;
}

.founder-aside-meta {
  text-align: center;
}

.founder-name {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin: 0 0 4px;
}

.founder-role {
  font-size: 0.9rem;
  color: var(--primary-green);
  font-weight: 600;
  margin: 0 0 2px;
}

.founder-org {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.founder-letter .section-label {
  margin-bottom: 10px;
}

.founder-letter h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 20px;
  color: var(--text-dark);
}

.founder-greeting {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.founder-letter p {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.founder-letter a {
  color: var(--primary-green);
  font-weight: 600;
  text-decoration: none;
}

.founder-letter a:hover {
  color: var(--accent-orange);
}

.founder-quote {
  margin: 24px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--accent-orange);
  background: #fff8f0;
  border-radius: 0 12px 12px 0;
  font-size: 1.15rem;
  font-weight: 600;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.45;
}

.founder-invite {
  list-style: none;
  margin: 16px 0 20px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.founder-invite li {
  position: relative;
  padding-left: 20px;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 1rem;
}

.founder-invite li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-orange);
}

.founder-signoff {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.founder-sign-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  margin: 0 0 2px !important;
}

.founder-sign-title,
.founder-sign-org {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 !important;
}

/* About Mission Strip */
.about-mission-strip {
  padding: 56px 0;
  background: #f7faf8;
}

.about-mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-mission-item {
  padding: 28px 24px;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(25, 84, 41, 0.06);
  box-shadow: 0 4px 16px rgba(25, 84, 41, 0.04);
}

.about-mission-num {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-orange);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.about-mission-item h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--text-dark);
}

.about-mission-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Team Section */
.team-section {
  padding: 72px 0 80px;
  background: #fff;
}

.team-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 40px;
}

.team-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  margin: 8px 0 12px;
  color: var(--text-dark);
}

.team-header p {
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* .team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
} */

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Only 3 cards → stay in a balanced 3-column row */
.team-grid:has(.team-card:nth-child(3):last-child) {
  grid-template-columns: repeat(3, 1fr);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.team-card {
  background: #f7faf8;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(25, 84, 41, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(25, 84, 41, 0.1);
}

.team-card-photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: #e8f0ea;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card-photo--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #195429, #0f3a1c);
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.team-card-photo--green {
  background: linear-gradient(145deg, #179917, #0d6b0d);
}

.team-card-body {
  padding: 22px 20px 24px;
}

.team-card-body h3 {
  font-size: 1.15rem;
  margin: 0 0 4px;
  color: var(--text-dark);
}

.team-card-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-green);
  margin: 0 0 12px;
}

.team-card-bio {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}

.team-card--lead {
  background: #fff;
  box-shadow: 0 8px 28px rgba(25, 84, 41, 0.08);
}

@media (max-width: 992px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .founder-aside {
    position: static;
    max-width: 280px;
    margin: 0 auto;
  }
  .founder-letter {
    order: 1;
  }
  .founder-aside {
    order: 2;
    position: static;
    max-width: 260px;
    margin: 0 auto;
  }
  .about-mission-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }
}

/* @media (max-width: 992px) {
  .founder-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  /* Text first, portrait below *
  .founder-letter {
    order: 1;
  }
  .founder-aside {
    order: 2;
    position: static;
    max-width: 260px;
    margin: 0 auto;
  }
} */

@media (max-width: 600px) {
  .about-page-hero {
    padding: 110px 0 48px;
  }
  .founder-section,
  .team-section {
    padding: 48px 0 56px;
  }
  .founder-quote {
    padding: 16px 18px;
    font-size: 1.05rem;
  }
}

/* ========== FINAL CTA (shared base) ========== */
.final-cta {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
  text-align: center;
  color: #ffffff;
  background: #195429;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(135deg, rgba(25, 84, 41, 0.94) 0%, rgba(23, 153, 23, 0.88) 100%),
    url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?w=1600&q=80') center/cover no-repeat;
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta-content {
  max-width: 640px;
  margin: 0 auto;
}

.final-cta .section-label {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  margin-bottom: 12px;
}

.final-cta h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: #ffffff !important;
  margin-bottom: 16px;
  line-height: 1.25;
}

.final-cta-content > p {
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92) !important;
  margin-bottom: 24px;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 24px;
}

.final-cta-actions .btn {
  min-width: 180px;
  justify-content: center;
}

.final-cta-actions .btn-outline-light {
  background: transparent;
  color: #ffffff !important;
  border: 2px solid rgba(255, 255, 255, 0.75);
}

.final-cta-actions .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff !important;
}

.final-cta-note {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  letter-spacing: 0.2px;
}

/* --- About page Final CTA extras --- */
.about-cta .about-cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.about-cta .about-cta-trust li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
}

.about-cta .about-cta-trust strong {
  color: var(--accent-orange);
  font-weight: 700;
}

.about-cta .final-cta-note {
  margin-top: 8px;
}

.about-cta .final-cta-note a {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-cta .final-cta-note a:hover {
  color: var(--accent-orange);
}

@media (max-width: 768px) {
  .final-cta {
    padding: 72px 0;
  }
  .final-cta-content > p {
    font-size: 1rem;
  }
  .final-cta-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .final-cta-actions .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .about-cta .about-cta-trust {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
  }
  .about-cta .final-cta-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }
  .about-cta .final-cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .final-cta {
    padding: 56px 0;
  }
  .final-cta h2 {
    font-size: 1.7rem;
  }
}

/* ========== FOOTER ========== */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 40px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-brand .logo-text {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.footer-brand .logo-image {
  width: 320px;
  height: 120px;
  margin-bottom: 16px;
}

.footer-brand .logo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.footer-brand p {
  opacity: 0.8;
  font-size: 0.95rem;
}

.footer-brand .tax-info {
  font-size: 0.6rem;
  opacity: 0.8;
  font-style: italic;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent-orange);
}

.footer h4 {
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  opacity: 0.8;
  font-size: 0.95rem;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-orange);
}

.newsletter p {
  opacity: 0.8;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-family: inherit;
}

.newsletter-form button {
  background: var(--accent-orange);
  color: white;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}

.newsletter-form button:hover {
  background: #e06e15;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-box {
    grid-column: span 2;
  }
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .causes-grid,
  .programs-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .testimonial-card {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-top: 40px;
    max-width: 100%;
  }
  .testimonials {
    flex-direction: column;
    text-align: center;
  }
  .testimonial-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    gap: 16px;
  }
  .nav-links.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-cta .btn {
    display: none;
  }
  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }
  .hero-card,
  .watch-story {
    display: none;
  }
  .about-grid,
  .why-grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-images {
    height: 360px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .trust-box {
    grid-column: auto;
  }
  .causes-grid,
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .impact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    gap: 20px;
  }
}