/* ============================================
   DUALITY PROJECT — STYLES
   Palette: white, warm beige, soft gray, earth
   Fonts: Cormorant Garamond (headings) + Inter (body)
   ============================================ */

:root {
  --white: #ffffff;
  --off-white: #f9f7f4;
  --beige: #f2ede6;
  --beige-mid: #e8e0d6;
  --warm-gray: #c8c0b4;
  --text-dark: #1c1917;
  --text-mid: #44403c;
  --text-light: #78716c;
  --accent: #5c4f3d;
  --accent-hover: #3d3328;
  --border: #e2dbd2;
  --nav-height: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }

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

ul { list-style: none; }

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; }

p { font-size: 1rem; color: var(--text-mid); }

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.section-label.light { color: rgba(255,255,255,0.65); }

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.section-body {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 640px;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-body { margin: 0 auto; }

/* ============================================
   LAYOUT
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container.narrow {
  max-width: 800px;
}

.section {
  padding: 6rem 2rem;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
}

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

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.65);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--text-dark);
}
.btn-outline-dark:hover {
  background: var(--text-dark);
  color: var(--white);
}

/* ============================================
   NAVIGATION
   ============================================ */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 0;
}

.nav-logo img {
  height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  flex-shrink: 0;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text-dark);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 17, 14, 0.52);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 2rem;
  width: 100%;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 700px;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.82);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================
   MISSION SECTION
   ============================================ */

.mission-section {
  background: var(--white);
  text-align: center;
}

.mission-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

.pillar {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  background: var(--off-white);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 1.25rem;
  color: var(--accent);
}

.pillar-icon svg { width: 100%; height: 100%; }

.pillar h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}

.pillar p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* ============================================
   LOCATIONS SPLIT
   ============================================ */

.locations-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 480px;
}

.location-panel {
  position: relative;
  overflow: hidden;
}

.location-panel img {
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}

.location-panel:hover img {
  transform: scale(1.04);
}

.location-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,17,14,0.72) 0%, rgba(20,17,14,0.15) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  z-index: 2;
}

.location-label {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.5rem;
  display: block;
}

.location-overlay p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
  max-width: 300px;
  line-height: 1.6;
}

/* ============================================
   ACCORDION
   ============================================ */

.accordion-section {
  background: var(--off-white);
}

.accordion-section .section-body {
  margin-bottom: 3rem;
}

.accordion {
  border-top: 1px solid var(--border);
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.4rem 0;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  text-align: left;
  gap: 1rem;
  transition: color 0.2s;
}

.accordion-trigger:hover { color: var(--accent); }

.accordion-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  position: relative;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.accordion-icon::before {
  width: 14px; height: 1.5px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.accordion-icon::after {
  width: 1.5px; height: 14px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.accordion-trigger[aria-expanded="true"] .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.accordion-panel {
  display: none;
  padding-bottom: 1.4rem;
}

.accordion-panel p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
}

.accordion-item.open .accordion-panel { display: block; }

/* ============================================
   CTA BANNER
   ============================================ */

.cta-banner {
  background: var(--beige);
  padding: 5rem 2rem;
  border-top: 1px solid var(--beige-mid);
  border-bottom: 1px solid var(--beige-mid);
}

.cta-inner {
  text-align: center;
}

.cta-inner h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

.cta-inner p {
  font-size: 1rem;
  color: var(--text-mid);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */

.page-hero {
  position: relative;
  height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: var(--nav-height);
}

.page-hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,17,14,0.55);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  width: 100%;
}

.page-hero-content h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
}

/* ============================================
   PAGE HEADER (simple, no image)
   ============================================ */

.page-header {
  background: var(--off-white);
  padding: 8rem 2rem 5rem;
  margin-top: var(--nav-height);
  border-bottom: 1px solid var(--border);
}

.page-header-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.page-header-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-intro {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 400;
  color: var(--text-mid);
  line-height: 1.7;
  font-style: italic;
}

.values-section {
  background: var(--off-white);
}

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

.value-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.value-card:nth-child(3n) { border-right: none; }
.value-card:nth-last-child(-n+3) { border-bottom: none; }

.value-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--beige-mid);
  line-height: 1;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.75;
}

.story-section { background: var(--white); }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.story-image {
  height: 500px;
  overflow: hidden;
}

.story-text .section-label { display: block; margin-bottom: 0.75rem; }

.story-text h2 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.story-text p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ============================================
   DONATE PAGE
   ============================================ */

.donate-section { background: var(--white); }

.donate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.donate-card {
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  position: relative;
  background: var(--off-white);
  transition: box-shadow 0.2s;
}

.donate-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.07);
}

.donate-card-featured {
  background: var(--white);
  border-color: var(--accent);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.donate-card-badge {
  position: absolute;
  top: -1px;
  right: 2rem;
  background: var(--accent);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
}

.donate-card-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.donate-card-amount {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.donate-card-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.donate-card-list {
  margin-bottom: 2rem;
}

.donate-card-list li {
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.donate-card-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.donate-btn { width: 100%; text-align: center; }

.donate-btn-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.donate-btn-zeffy {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.donate-btn-zeffy:hover { opacity: 1; }

.payment-note-section {
  padding-top: 0;
}

.payment-note-text {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

.payment-icons-inline {
  display: inline;
  white-space: nowrap;
  color: var(--text-dark);
  font-weight: 500;
}

.thankyou-section { background: var(--beige); }

.impact-section { background: var(--off-white); }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border);
}

.impact-stat {
  padding: 3rem 2.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
}

.impact-stat:last-child { border-right: none; }

.impact-number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.impact-label {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   NAV DROPDOWN
   ============================================ */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  font-family: 'Inter', Arial, sans-serif;
  transition: color 0.2s;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle.active {
  color: var(--text-dark);
}

.nav-dropdown-toggle svg {
  width: 10px;
  height: 10px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nav-dropdown.open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.09);
  min-width: 220px;
  z-index: 200;
  padding: 0.5rem 0;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.7rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.nav-dropdown-menu a:hover {
  background: var(--off-white);
  color: var(--text-dark);
}

/* Mobile dropdown */
@media (max-width: 768px) {
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border);
    padding: 0;
    background: var(--off-white);
  }
  .nav-dropdown-menu a {
    padding: 0.85rem 2rem;
  }
}

/* ============================================
   JOIN US PAGES — SHARED STYLES
   ============================================ */

.join-hero {
  position: relative;
  height: 380px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: var(--nav-height);
}

.join-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.join-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,17,14,0.58);
  z-index: 1;
}

.join-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
  width: 100%;
}

.join-hero-content .section-label {
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.75rem;
}

.join-hero-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 1rem;
  text-shadow: 1px 2px 8px rgba(0,0,0,0.4);
}

.join-hero-content p {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 600px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.3);
}

.join-form-section {
  background: var(--white);
  padding: 5rem 2rem;
}

.join-form-section .container.narrow {
  max-width: 680px;
}

.join-form {
  margin-top: 2.5rem;
}

.join-form .form-group {
  margin-bottom: 1.25rem;
}

.join-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.join-thankyou {
  display: none;
  background: var(--beige);
  border: 1px solid var(--beige-mid);
  padding: 2.5rem 2rem;
  margin-top: 2rem;
  text-align: center;
}

.join-thankyou h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.join-thankyou p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.join-thankyou .instagram-handle {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
  margin-top: 0.75rem;
  display: block;
}

.roles-list {
  margin: 2.5rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.role-item {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  background: var(--off-white);
}

.role-item h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 0;
}

.chapter-type-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.chapter-type-option {
  flex: 1;
  min-width: 140px;
}

.chapter-type-option input[type="radio"] {
  display: none;
}

.chapter-type-option label {
  display: block;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  background: var(--off-white);
  cursor: pointer;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.chapter-type-option input[type="radio"]:checked + label {
  border-color: var(--accent);
  background: var(--white);
  color: var(--accent);
}

.conditional-field {
  display: none;
}

.conditional-field.visible {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* ============================================
   VOLUNTEER PAGE
   ============================================ */

.roles-section { background: var(--off-white); }

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.role-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  transition: box-shadow 0.2s;
}

.role-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
}

.role-icon {
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.role-card h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.role-list li {
  font-size: 0.9rem;
  color: var(--text-mid);
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.5;
}

.role-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.55rem;
}

.form-section { background: var(--white); }

.volunteer-form {
  margin-top: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--off-white);
  border: 1px solid var(--border);
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2378716c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: var(--white);
}

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
}

/* ============================================
   FOLLOW US PAGE
   ============================================ */

/* Full-page layout */
.fu-page {
  min-height: 100vh;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 4rem) 2rem 5rem;
  position: relative;
  overflow: hidden;
}

/* Abstract background shapes */
.fu-bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.fu-bg-shape--1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #dbeafe 0%, transparent 70%);
  top: -120px;
  right: -140px;
  opacity: 0.55;
}
.fu-bg-shape--2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #bfdbfe 0%, transparent 70%);
  bottom: -80px;
  left: -100px;
  opacity: 0.4;
}

/* Content container */
.fu-container {
  position: relative;
  z-index: 1;
  max-width: 440px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

/* Eyebrow label */
.fu-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #3b82f6;
  margin: 0 0 1rem;
}

/* Main title */
.fu-title {
  font-size: clamp(2.8rem, 7vw, 4.2rem);
  font-weight: 700;
  color: #0f1f3d;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 1.25rem;
}

/* Accent divider */
.fu-divider {
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #3b82f6, #1e40af);
  border-radius: 999px;
  margin: 0 auto 2.5rem;
}

/* Image frame */
.fu-image-frame {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(15, 31, 61, 0.12);
  position: relative;
  margin-bottom: 2.25rem;
}

.fu-image {
  width: 100%;
  display: block;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.fu-image-frame:hover .fu-image {
  transform: scale(1.03);
}

/* Subtle shine overlay on image */
.fu-image-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* CTA text */
.fu-cta-text {
  font-size: 0.95rem;
  color: #4a6080;
  line-height: 1.7;
  margin: 0 0 1.75rem;
  max-width: 320px;
}

/* Platform buttons */
.fu-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}

.fu-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 14px;
  text-decoration: none;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1.5px solid transparent;
}

.fu-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(15, 31, 61, 0.12);
}

.fu-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 0.1rem;
}

.fu-btn-text strong {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
}

.fu-btn-text em {
  font-style: normal;
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Instagram button */
.fu-btn--ig {
  background: #fff5f8;
  border-color: #fbc8d8;
  color: #9b0039;
}
.fu-btn--ig svg {
  color: #e1306c;
  flex-shrink: 0;
}

/* TikTok button */
.fu-btn--tt {
  background: #f0f7ff;
  border-color: #bfdbfe;
  color: #1e3a6e;
}
.fu-btn--tt svg {
  color: #1d4ed8;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .fu-page {
    padding: calc(var(--nav-height) + 3rem) 1.5rem 4rem;
  }
  .fu-image {
    aspect-ratio: 1/1;
  }
}

/* ============================================
   FOOTER NONPROFIT NOTICE
   ============================================ */

.footer-nonprofit {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 2rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-nonprofit p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.7);
  padding: 5rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  margin-bottom: 0.75rem;
}

.footer-logo img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

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

.footer-col p a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

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

.social-links {
  display: flex;
  gap: 1.25rem;
  margin-top: 0.75rem;
}

.social-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.social-links a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

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

@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value-card:nth-child(3n) { border-right: 1px solid var(--border); }
  .value-card:nth-child(2n) { border-right: none; }
  .value-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
  .value-card:nth-last-child(-n+2) { border-bottom: none; }

  .story-grid { grid-template-columns: 1fr; gap: 3rem; }
  .story-image { height: 320px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

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

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

  .nav-links a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
  }

  .nav-dropdown { width: 100%; }

  .nav-dropdown-toggle {
    width: 100%;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.85rem;
    justify-content: space-between;
  }

  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-top: none;
    padding: 0;
    background: var(--off-white);
    display: none;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .nav-dropdown-menu a {
    padding: 0.85rem 2.5rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.82rem;
  }

  .roles-list { grid-template-columns: 1fr; }

  .join-hero { height: 300px; }

  .join-hero-content h1 { font-size: clamp(1.7rem, 6vw, 2.4rem); }

  .join-hero-content p { font-size: 0.9rem; }

  .hero-headline { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-sub { font-size: 0.95rem; }

  .mission-pillars { grid-template-columns: 1fr; gap: 1.25rem; }

  .locations-section { grid-template-columns: 1fr; height: auto; }
  .location-panel { height: 280px; }

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

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

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

  .values-grid { grid-template-columns: 1fr; }
  .value-card { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
  .value-card:last-child { border-bottom: none !important; }

  .impact-grid { grid-template-columns: 1fr; }
  .impact-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .impact-stat:last-child { border-bottom: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .section { padding: 4rem 1.5rem; }

  .cta-banner { padding: 4rem 1.5rem; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .page-header { padding: 6rem 1.5rem 4rem; }
}
