/* ==========================================================================
   Joyful Pets Rescue -- Main Stylesheet
   A 501(c)(3) nonprofit keeping pets out of shelters and in loving homes.
   ========================================================================== */

/* --------------------------------------------------------------------------
   COLOR TOKENS
   -------------------------------------------------------------------------- */
:root {
  --green: #4d7a30;
  --green-light: #8aba62;
  --green-bg: #f0f7ea;
  --gold: #c49a2b;
  --gold-hover: #b08a25;
  --text: #3d3d3d;
  --text-light: #666;
  --text-muted: #999;
  --white: #fff;
  --bg-alt: #fafaf8;
  --border: #e8e8e4;
  --footer-bg: #2d4a1a;
  --footer-text: #d4e8c4;
}


/* --------------------------------------------------------------------------
   1. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Source Sans 3", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.25;
}


/* --------------------------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1 {
  font-family: "Lora", serif;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

h2 {
  font-family: "Lora", serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.4px;
}

h3 {
  font-family: "Source Sans 3", sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}

p {
  margin-bottom: 16px;
}

p:last-child {
  margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   2. CONTAINER
   -------------------------------------------------------------------------- */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}


/* --------------------------------------------------------------------------
   3. HEADER / NAV
   -------------------------------------------------------------------------- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-paw {
  width: 40px;
  height: 40px;
  background: var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-paw svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.nav-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-wordmark .top {
  font-family: "Lora", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
}

.nav-wordmark .bot {
  font-size: 11px;
  font-weight: 600;
  color: var(--green-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-family: "Source Sans 3", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

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

.nav-links a.nav-active,
.nav-links .nav-active {
  color: var(--green);
  font-weight: 600;
}

/* Donate button in nav */
.nav-donate {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600 !important;
  font-size: 14px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-donate:hover {
  background: var(--gold-hover) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger active state */
.nav-toggle-active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle-active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


/* --------------------------------------------------------------------------
   4. HERO SECTIONS
   -------------------------------------------------------------------------- */
.hero {
  padding-top: 72px; /* account for fixed header */
}

.hero-content {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 48px;
  min-height: 500px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
}

.hero-left {
  padding-right: 16px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
  background: var(--white);
  border: 1.5px solid var(--green-light);
  padding: 7px 16px;
  border-radius: 4px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero-h1 {
  font-family: "Lora", serif;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  color: var(--green);
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 16px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-note svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  flex-shrink: 0;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-right {
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  min-height: 400px;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Hero badge (pill) */
.hero-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1.5px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  color: var(--text-light);
}

/* Hero used on page-level (about, adopt, donate) */
.hero-image {
  border-radius: 12px;
  overflow: hidden;
  object-fit: cover;
  width: 100%;
  height: 100%;
}


/* --------------------------------------------------------------------------
   5. SECTIONS
   -------------------------------------------------------------------------- */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 16px;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--green-light);
  flex-shrink: 0;
}

/* Label tag used across index.html, about, adopt, donate */
.label-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.label-tag::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   6. FEATURE CARDS
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.card {
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.card:hover {
  box-shadow: 0 8px 30px rgba(77, 122, 48, 0.1);
  border-color: var(--green-light);
  transform: translateY(-3px);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--green-bg);
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--green);
  stroke-width: 1.8;
  fill: none;
}

.card h3 {
  margin-top: 16px;
}

.card p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}


/* --------------------------------------------------------------------------
   MISSION SECTION (index.html)
   -------------------------------------------------------------------------- */
.mission-section {
  padding: 88px 0;
  background: var(--bg-alt);
}

.mission-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.mpull {
  background: var(--green-bg);
  border-left: 4px solid var(--green-light);
  border-radius: 0 12px 12px 0;
  padding: 32px 40px;
}

.mpull p {
  font-family: "Lora", serif;
  font-size: 20px;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 12px;
}

.mpull cite {
  font-family: "Source Sans 3", sans-serif;
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  display: block;
}

/* Mission cards */
.mission-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.mission-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: all 0.25s ease;
}

.mission-card:hover {
  border-color: var(--green-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(77, 122, 48, 0.1);
}

.mission-card-ico {
  width: 46px;
  height: 46px;
  background: var(--green-bg);
  border: 1.5px solid var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.mission-card-ico svg {
  width: 22px;
  height: 22px;
  stroke: var(--green);
  stroke-width: 1.8;
  fill: none;
}

.mission-card h3 {
  font-family: "Lora", serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}

.mission-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* Mission stats row */
.mission-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.mission-stat {
  border: 2px solid var(--green-bg);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.mission-stat-num {
  font-family: "Lora", serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.mission-stat-label {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 6px;
  line-height: 1.4;
}


/* --------------------------------------------------------------------------
   HOW WE HELP SECTION (index.html)
   -------------------------------------------------------------------------- */
.howwehelp-section {
  padding: 88px 0;
}

.stitle {
  font-family: "Lora", serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  color: var(--green);
  line-height: 1.22;
  letter-spacing: -0.6px;
  margin-bottom: 14px;
}

.stitle em {
  font-style: italic;
  color: var(--green-light);
}

.slead {
  font-size: 17px;
  color: var(--text-light);
  line-height: 1.75;
  max-width: 640px;
  margin-bottom: 44px;
}

/* Help cards */
.help-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.help-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: all 0.25s ease;
}

.help-card:hover {
  border-color: var(--green-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(77, 122, 48, 0.1);
}

.help-card-ico {
  width: 46px;
  height: 46px;
  background: var(--green-bg);
  border: 1.5px solid var(--green-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.help-card-ico svg {
  width: 22px;
  height: 22px;
  stroke: var(--green);
  stroke-width: 1.8;
  fill: none;
}

.help-card h3 {
  font-family: "Lora", serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}

.help-card p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* Help stats */
.help-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.help-stat {
  border: 2px solid var(--green-bg);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.help-stat-num {
  font-family: "Lora", serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.help-stat-label {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 6px;
}


/* --------------------------------------------------------------------------
   PARTNER SECTION (index.html)
   -------------------------------------------------------------------------- */
.partner-section {
  padding: 88px 0;
  background: var(--bg-alt);
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.partner-left {
  padding-right: 16px;
}

/* Funding priorities */
.funding-priorities {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.funding-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 22px;
  background: var(--green-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.funding-check {
  width: 26px;
  height: 26px;
  background: var(--green-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.funding-check svg {
  width: 12px;
  height: 12px;
}

.funding-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}

.funding-text p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.55;
  margin-bottom: 0;
}

/* Org card */
.org-card {
  background: var(--green-bg);
  border: 1.5px solid var(--green-light);
  border-radius: 12px;
  padding: 32px;
}

.org-card h3 {
  font-family: "Lora", serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 20px;
}

.org-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.org-row:last-child {
  border-bottom: none;
}

.org-label {
  color: var(--text-light);
}

.org-value {
  font-weight: 700;
  color: var(--text);
}

.org-value.highlight {
  color: var(--green);
}


/* --------------------------------------------------------------------------
   7. STATS
   -------------------------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.stat-number {
  font-family: "Lora", serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 4px;
}


/* --------------------------------------------------------------------------
   8. STAT CARDS
   -------------------------------------------------------------------------- */
.stat-card {
  border: 2px solid var(--green-bg);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}


/* --------------------------------------------------------------------------
   9. QUOTE / BLOCKQUOTE
   -------------------------------------------------------------------------- */
.quote-box {
  background: var(--green-bg);
  border-left: 4px solid var(--green-light);
  border-radius: 0 12px 12px 0;
  padding: 32px 40px;
}

.quote-text {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 20px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 12px;
}

.quote-author {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 12px;
}

blockquote {
  background: var(--green-bg);
  border-left: 4px solid var(--green-light);
  border-radius: 0 12px 12px 0;
  padding: 32px 40px;
  margin: 24px 0;
}

blockquote p {
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 20px;
  color: var(--text);
  line-height: 1.6;
}

blockquote cite {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  margin-top: 12px;
}


/* --------------------------------------------------------------------------
   10. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(196, 154, 43, 0.3);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--green-light);
  color: var(--green);
}

.btn-secondary:hover {
  background: var(--green-bg);
}

.btn-nav {
  padding: 10px 24px;
  font-size: 14px;
}

/* Gold / green button variants used in index.html */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: all 0.2s ease;
}

.btn-gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(196, 154, 43, 0.3);
}

.btn-green {
  display: inline-block;
  background: transparent;
  color: var(--green);
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid var(--green-light);
  transition: all 0.2s ease;
}

.btn-green:hover {
  background: var(--green-light);
  color: var(--white);
}


/* --------------------------------------------------------------------------
   11. PROCESS STEPS
   -------------------------------------------------------------------------- */
.process {
  counter-reset: step-counter;
}

.process-step {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 6px;
}

.step-content p {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.7;
}


/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.site-footer,
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 64px 0 32px;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

/* Footer brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-paw {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-paw svg {
  width: 22px;
  height: 22px;
  fill: var(--footer-text);
}

.footer-wordmark {
  font-family: "Lora", serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}

.footer-brand p {
  font-size: 14px;
  color: var(--footer-text);
  line-height: 1.7;
  max-width: 300px;
}

.footer-501 {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--footer-text);
  opacity: 0.8;
}

/* Footer columns */
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

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

.footer-col a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--white);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
}


/* --------------------------------------------------------------------------
   13. FORMS
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green-light);
  outline: none;
  box-shadow: 0 0 0 3px rgba(138, 186, 98, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}


/* --------------------------------------------------------------------------
   14. GIVING SELECTOR
   -------------------------------------------------------------------------- */
.giving-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.giving-card {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.giving-card:hover,
.giving-card.active {
  border-color: var(--gold);
  background: rgba(196, 154, 43, 0.05);
}

.giving-amount {
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--green);
  line-height: 1;
}

.giving-desc {
  font-size: 14px;
  color: var(--text-light);
  margin-top: 6px;
}


/* --------------------------------------------------------------------------
   15. FREQUENCY TABS
   -------------------------------------------------------------------------- */
.freq-tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.freq-tab {
  flex: 1;
  padding: 12px 20px;
  text-align: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: var(--text-light);
  background: var(--white);
  border: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.freq-tab:not(:last-child) {
  border-right: 1px solid var(--border);
}

.freq-tab.active {
  background: var(--green);
  color: var(--white);
}

.freq-tab:hover:not(.active) {
  background: var(--green-bg);
}


/* --------------------------------------------------------------------------
   16. TRUST BADGES
   -------------------------------------------------------------------------- */
.trust-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
}

.trust-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}


/* --------------------------------------------------------------------------
   17. ORG OVERVIEW TABLE
   -------------------------------------------------------------------------- */
.org-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.org-cell {
  background: var(--white);
  padding: 16px 24px;
}

.org-cell:nth-child(odd) {
  background: var(--green-bg);
}

.org-cell-label {
  font-weight: 600;
  font-size: 13px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.org-cell-value {
  font-size: 16px;
  color: var(--text);
  margin-top: 4px;
}


/* --------------------------------------------------------------------------
   18. FAQ
   -------------------------------------------------------------------------- */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 17px;
  color: var(--text);
  user-select: none;
}

.faq-question::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question::after {
  content: "-";
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding-top 0.35s ease;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 16px;
}


/* --------------------------------------------------------------------------
   19. BLOG
   -------------------------------------------------------------------------- */
.blog-post {
  margin-bottom: 48px;
}

.blog-meta {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.blog-content h2 {
  font-family: "Lora", serif;
  margin-bottom: 16px;
}

.blog-content h3 {
  font-family: "Lora", serif;
  margin-bottom: 12px;
}

.blog-content p {
  margin-bottom: 24px;
  line-height: 1.8;
}

.blog-content img {
  border-radius: 12px;
  margin: 24px 0;
}


/* --------------------------------------------------------------------------
   20. CTA SECTION
   -------------------------------------------------------------------------- */
.cta-section {
  text-align: center;
  padding: 80px 0;
  background: var(--green-bg);
}

.cta-section h2 {
  font-family: "Lora", serif;
  color: var(--green);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.75;
}

.cta-section .btn + .btn {
  margin-left: 16px;
}


/* --------------------------------------------------------------------------
   21. INFO BOX
   -------------------------------------------------------------------------- */
.info-box {
  background: var(--green-bg);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--green-light);
}

.info-box h3 {
  margin-bottom: 12px;
}

.info-box p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}


/* --------------------------------------------------------------------------
   22. TWO COLUMN LAYOUT
   -------------------------------------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}


/* --------------------------------------------------------------------------
   23. VALUES / FEATURE LIST
   -------------------------------------------------------------------------- */
.values-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.values-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--green-bg);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.values-list li svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green);
}

.values-list li strong {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.values-list li p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 0;
}


/* --------------------------------------------------------------------------
   24. LEGACY-SPECIFIC
   -------------------------------------------------------------------------- */
.legacy-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legacy-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.legacy-step:hover {
  border-color: var(--green-light);
  box-shadow: 0 6px 24px rgba(77, 122, 48, 0.08);
}

.legacy-step .step-number {
  width: 48px;
  height: 48px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Lora", serif;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}

.legacy-contact {
  background: var(--green-bg);
  border: 1px solid var(--green-light);
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}

.legacy-contact h3 {
  font-family: "Lora", serif;
  color: var(--green);
  margin-bottom: 12px;
}

.legacy-contact p {
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto 24px;
}


/* --------------------------------------------------------------------------
   25. UTILITY CLASSES
   -------------------------------------------------------------------------- */
.text-center {
  text-align: center;
}

.text-green {
  color: var(--green);
}

.text-gold {
  color: var(--gold);
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 40px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* --------------------------------------------------------------------------
   Below 900px -- tablet / hamburger breakpoint
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {

  /* Show hamburger, hide desktop nav */
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    gap: 0;
  }

  .nav-links.nav-open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  .nav-donate {
    margin-top: 8px;
    text-align: center;
    display: block !important;
    padding: 14px 24px !important;
  }

  /* Mission section */
  .mission-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .mission-cards {
    grid-template-columns: 1fr;
  }

  /* Help cards */
  .help-cards {
    grid-template-columns: 1fr;
  }

  /* Partner section */
  .partner-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .partner-left {
    padding-right: 0;
  }
}


/* --------------------------------------------------------------------------
   Below 768px -- mobile breakpoint
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
    min-height: auto;
    padding: 48px 24px;
  }

  .hero-right {
    order: -1;
    min-height: 260px;
    max-height: 320px;
  }

  .hero-left {
    padding-right: 0;
  }

  .hero-h1 {
    font-size: clamp(28px, 7vw, 40px);
  }

  /* Sections */
  .section {
    padding: 56px 0;
  }

  .mission-section,
  .howwehelp-section,
  .partner-section {
    padding: 56px 0;
  }

  /* Cards */
  .card-grid {
    grid-template-columns: 1fr;
  }

  .card-grid--two {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Two col */
  .two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Giving grid */
  .giving-grid {
    grid-template-columns: 1fr;
  }

  /* Org table */
  .org-table {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-section {
    padding: 56px 0;
  }

  .cta-section .btn + .btn {
    margin-left: 0;
    margin-top: 12px;
  }

  /* Quote */
  .quote-box,
  blockquote {
    padding: 24px 28px;
  }

  .quote-text,
  blockquote p {
    font-size: 18px;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* Process steps */
  .process-step {
    gap: 16px;
    margin-bottom: 28px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  /* Legacy steps */
  .legacy-step {
    flex-direction: column;
    gap: 16px;
    padding: 24px;
  }
}


/* --------------------------------------------------------------------------
   Below 480px -- small mobile
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {

  .site-nav {
    padding: 0 16px;
  }

  .section-inner,
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-content {
    padding: 40px 16px;
  }

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

  .mission-stats-row {
    grid-template-columns: 1fr;
  }

  .help-stats {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn-gold,
  .hero-actions .btn-green {
    width: 100%;
    text-align: center;
  }

  .giving-amount {
    font-size: 24px;
  }

  .footer-inner {
    padding: 0 16px;
  }
}


/* --------------------------------------------------------------------------
   Page-level hero (about, donate, adopt pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--green-bg);
  padding: 120px 80px 80px;
  border-bottom: 1px solid var(--border);
}

.page-h1 {
  font-family: "Lora", serif;
  font-size: clamp(36px, 4.5vw, 58px);
  font-weight: 700;
  color: var(--green);
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: 18px;
}

.page-h1 em {
  font-style: italic;
  color: var(--green-light);
}

@media (max-width: 768px) {
  .page-hero {
    padding: 100px 24px 56px;
  }
}


/* --------------------------------------------------------------------------
   Print styles
   -------------------------------------------------------------------------- */
@media print {
  header,
  .nav-toggle,
  .site-footer,
  .footer,
  .cta-section {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .hero-content {
    grid-template-columns: 1fr;
  }

  .hero-right {
    display: none;
  }
}
