/* =============================================================
   Red Dot Foundation Global — Main Stylesheet
   ============================================================= */

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  /* ── Brand Palette (Safecity Brand Guidelines) ── */
  --primary:        #e82128;   /* Brand Red    */
  --primary-dark:   #b01820;   /* Red darkened */
  --primary-light:  #ffe6e7;   /* Brand Light Pink */
  --secondary:      #532d84;   /* Brand Purple */
  --secondary-light:#6d42a8;   /* Purple lightened */
  --purple-light:   #f1e7ff;   /* Brand Light Purple */
  --accent:         #532d84;   /* Accent = Purple */
  --text:           #111827;
  --text-muted:     #6B7280;
  --white:          #FFFFFF;
  --off-white:      #FAFAFA;
  --surface:        #F3F4F6;
  --border:         #E5E7EB;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Poppins', var(--font);

  --radius:    8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 10px 40px rgba(0,0,0,0.14);
  --shadow-red: 0 4px 20px rgba(232,33,40,0.25);

  --transition: all 0.3s ease;
  --max-width:  1200px;
  --nav-height: 76px;
}

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--secondary);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-muted); line-height: 1.8; }

.text-white h1, .text-white h2, .text-white h3,
.text-white h4, .text-white p { color: var(--white); }
.text-white p, .text-white .section-lead { color: rgba(255,255,255,0.85); }

/* ── Layout Helpers ─────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-bg  { background: var(--surface); }
.section-dark { background: var(--secondary); }
.section-red  { background: var(--primary); }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-dark .section-label,
.section-red  .section-label { color: rgba(255,255,255,0.7); }

.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-top: 16px;
}
.section-header.centered .section-lead { margin: 16px auto 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 48px; align-items: start; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(232,33,40,0.35);
}
.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-outline-white {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: 10px; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }

/* ── Navigation ─────────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo img {
  height: 44px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--secondary);
  line-height: 1.2;
}
.nav-logo-text span { color: var(--primary); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active { color: var(--primary); background: var(--primary-light); }

.nav-link svg { width: 14px; height: 14px; transition: transform 0.2s; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 8px;
  min-width: 220px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
}
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 16px;
  font-size: 0.88rem;
  color: var(--text);
  border-radius: var(--radius);
  transition: var(--transition);
}
.dropdown-menu a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  width: 40px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--secondary);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}
.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 52%;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: left center;
  opacity: 0.85;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 35%);
  mask-image: linear-gradient(to right, transparent 0%, black 35%);
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(83,45,132,0.97) 0%, rgba(83,45,132,0.92) 42%, rgba(83,45,132,0.45) 65%, rgba(83,45,132,0.15) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero h1 { color: var(--white); margin-bottom: 24px; }
.hero h1 span { color: #FF6B6B; }
.hero-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.8;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-page {
  min-height: 380px;
  padding: 80px 0 60px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}
.hero-page h1 { color: var(--white); margin-bottom: 16px; }
.hero-page p  { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 600px; }

/* ── Stat Bar ───────────────────────────────────────────────── */
.stat-bar {
  background: var(--primary);
  padding: 28px 0;
}
.stat-bar .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── Cards ──────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--surface);
}
.card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--surface), var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-body { padding: 28px; }
.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.card-body h3 { color: var(--secondary); margin-bottom: 10px; font-size: 1.1rem; }
.card-body p  { font-size: 0.9rem; margin-bottom: 16px; }

/* ── Action Cards ────────────────────────────────────────────── */
.action-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
}
.action-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 28px rgba(83,45,132,0.12);
  transform: translateY(-3px);
}
.action-card .icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: rgba(83,45,132,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
  transition: background 0.2s ease;
  color: var(--primary);
}
.action-card:hover .icon-wrap { background: rgba(83,45,132,0.13); }
.action-card h3 {
  font-size: 1rem;
  color: var(--secondary);
  font-weight: 700;
  margin-bottom: 10px;
}
.action-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.action-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.03em;
  margin-top: 20px;
  transition: gap 0.2s ease;
  text-transform: uppercase;
}
.action-card:hover .action-cta { gap: 9px; }

/* Segment Cards */
.segment-card {
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}
.segment-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  border-radius: 0 0 0 120px;
  opacity: 0.1;
}
.segment-blue   { background: #EFF6FF; }
.segment-blue::before   { background: #2563EB; }
.segment-purple { background: #F5F3FF; }
.segment-purple::before { background: #7C3AED; }
.segment-orange { background: #FFF7ED; }
.segment-orange::before { background: #EA580C; }

.segment-card .seg-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.segment-blue   .seg-label { color: #2563EB; }
.segment-purple .seg-label { color: #7C3AED; }
.segment-orange .seg-label { color: #EA580C; }

.segment-card h3 { color: var(--secondary); margin-bottom: 16px; font-size: 1.15rem; }
.segment-card p  { font-size: 0.9rem; margin-bottom: 20px; }
.segment-card ul { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.segment-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.segment-card ul li::before {
  content: '→';
  font-weight: 700;
  flex-shrink: 0;
}
.segment-blue ul li::before   { color: #2563EB; }
.segment-purple ul li::before { color: #7C3AED; }
.segment-orange ul li::before { color: #EA580C; }

/* ── Feature / How It Works ─────────────────────────────────── */
.steps { display: flex; flex-direction: column; gap: 32px; }
.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
}
.step-content h4 { color: var(--secondary); margin-bottom: 6px; }
.step-content p  { font-size: 0.9rem; }

/* ── Image + Text Blocks ────────────────────────────────────── */
.img-block {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface);
}
.img-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-block-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8eef5, #d0dce8);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ── SDG Badges ─────────────────────────────────────────────── */
.sdg-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.sdg-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary);
  border: 1px solid var(--border);
}
.sdg-badge .sdg-num {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--white);
  flex-shrink: 0;
}

/* ── Team / Person Cards ────────────────────────────────────── */
.person-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
}
.person-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.person-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 15%;
  background: var(--surface);
  display: block;
}
.person-img-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--primary-light), var(--surface));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.person-img-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}
.person-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.person-body h4 { color: var(--secondary); font-size: 0.95rem; margin-bottom: 4px; }
.person-body .role { font-size: 0.8rem; color: var(--primary); font-weight: 600; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; }
.person-body p { font-size: 0.82rem; margin-bottom: 10px; text-align: left; line-height: 1.65; color: var(--text-light); }
.card-action { margin-top: auto; padding-top: 6px; }
.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #0A66C2;
}
.linkedin-link:hover { text-decoration: underline; }

/* ── Read More / Read Less ───────────────────────────────────── */
.bio-extra { display: none; }
.bio-extra.open { display: block; }
.read-more-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  letter-spacing: 0.03em;
  text-align: left;
}
.read-more-btn:hover { text-decoration: underline; }

/* ── Award Items (index.html — keep intact) ─────────────────── */
.award-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  align-items: flex-start;
  transition: var(--transition);
}
.award-item:hover { box-shadow: var(--shadow-md); }
.award-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.award-item h4 { color: var(--secondary); margin-bottom: 4px; font-size: 0.95rem; }
.award-item p  { font-size: 0.85rem; }

/* ── Award Cards (about.html — premium redesign) ─────────────── */
.award-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  padding: 24px 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.award-card:nth-child(3n+2) { border-left-color: #e82128; }
.award-card:nth-child(3n+3) { border-left-color: var(--secondary); }
.award-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.award-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.award-org {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 5px;
}
.award-card h4 {
  font-size: 0.95rem;
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}
.award-year {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-light);
  background: var(--surface);
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.02em;
  align-self: flex-start;
}
.award-card p {
  font-size: 0.81rem;
  color: var(--text-light);
  line-height: 1.65;
  margin: 0;
}

/* ── Award Image Cards ───────────────────────────────────────── */
.award-img-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.award-img-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.award-img-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background: #f5f4f7;
}
.award-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  transition: transform 0.4s ease;
  display: block;
}
.award-img-card:hover .award-img-wrap img { transform: scale(1.04); }
.award-img-info {
  padding: 14px 18px 16px;
  border-top: 3px solid var(--primary);
}
.award-img-card:nth-child(3n+2) .award-img-info { border-top-color: #e82128; }
.award-img-card:nth-child(3n+3) .award-img-info { border-top-color: var(--secondary); }
.award-img-org {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 4px;
}
.award-img-card:nth-child(3n+2) .award-img-org { color: #e82128; }
.award-img-card:nth-child(3n+3) .award-img-org { color: var(--secondary); }
.award-img-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.3;
}

/* ── Section Inner Divider ───────────────────────────────────── */
.section-inner-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 72px 0;
}

/* ── Media Cards ─────────────────────────────────────────────── */
.media-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.media-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.media-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0d0d0d;
  flex-shrink: 0;
}
.media-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.media-card-body {
  padding: 16px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.media-label {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.media-card h4 {
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 5px;
}
.media-card p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* ── Publication Cards ──────────────────────────────────────── */
.pub-grid { display: grid; gap: 28px; }
.pub-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.pub-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pub-card-cover {
  width: 200px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  background: var(--surface);
}
.pub-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}
.pub-card:hover .pub-card-cover img { transform: scale(1.03); }
.pub-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 4px;
  pointer-events: none;
}
.pub-card-body {
  flex: 1;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
}
.pub-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.pub-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(83,45,132,0.08);
  padding: 4px 10px;
  border-radius: 4px;
}
.pub-year {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
}
.pub-divider {
  color: var(--border);
  font-size: 0.9rem;
}
.pub-countries {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
}
.pub-card-body h3 {
  font-size: 1.25rem;
  color: var(--secondary);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 12px;
}
.pub-card-body > p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 8px;
}
.pub-author {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 24px;
}
.pub-author strong { color: var(--text); font-weight: 600; }
.pub-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

/* ── Video Grid ─────────────────────────────────────────────── */
.video-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.video-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--secondary);
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; }
.video-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-light));
  display: flex;
  align-items: center;
  justify-content: center;
}
.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.play-btn::after {
  content: '';
  border-left: 18px solid var(--primary);
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  margin-left: 4px;
}
.video-card:hover .play-btn {
  background: var(--primary);
}
.video-card:hover .play-btn::after {
  border-left-color: var(--white);
}
.video-body { padding: 20px; }
.video-body h4 { font-size: 0.92rem; color: var(--secondary); margin-bottom: 6px; }
.video-body p  { font-size: 0.82rem; }

/* ── World Work Grid (Case Studies with embedded video) ─────── */
.world-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.world-work-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.world-work-card h3 {
  text-align: center;
  font-size: 1.1rem;
  color: var(--secondary);
  margin: 0;
}
.world-work-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
}
.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ── Safecity Champions ─────────────────────────────────────── */
.champion-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--secondary);
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  transition: var(--transition);
}
.champion-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.champion-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.champion-card-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #2d1b4e 0%, #3d2a6e 100%);
}
.champion-info {
  position: relative;
  z-index: 2;
  padding: 32px 24px;
  background: linear-gradient(to top, rgba(83,45,132,0.95), transparent);
  width: 100%;
}
.champion-info h3 { color: var(--white); margin-bottom: 4px; font-size: 1.1rem; }
.champion-info .location { color: rgba(255,255,255,0.7); font-size: 0.82rem; margin-bottom: 10px; }

/* ── Featured Champion Card ─────────────────────────────────── */
.champion-card-featured {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--secondary);
  margin-bottom: 20px;
  transition: var(--transition);
}
.champion-card-featured:hover { box-shadow: var(--shadow-lg); }
.champion-video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000;
}
.champion-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.champion-info-featured {
  padding: 18px 24px 20px;
  background: linear-gradient(135deg, var(--secondary) 0%, #3d1a6e 100%);
}
.champion-info-featured h3 { color: var(--white); margin-bottom: 2px; font-size: 1.1rem; }
.champion-info-featured .location { color: rgba(255,255,255,0.65); font-size: 0.82rem; margin-bottom: 6px; }
.champion-info-featured p { color: rgba(255,255,255,0.75); font-size: 0.82rem; margin: 0; line-height: 1.55; }

/* ── Annual Reports ─────────────────────────────────────────── */
.report-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  gap: 16px;
}
.report-item:hover { box-shadow: var(--shadow-md); border-color: var(--primary); }
.report-item-left { display: flex; align-items: center; gap: 16px; }
.report-year {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  min-width: 60px;
}
.report-item h4 { font-size: 0.92rem; color: var(--secondary); margin-bottom: 2px; }
.report-item p  { font-size: 0.8rem; }

/* ── Contact Form ───────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--secondary);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-full { grid-column: 1 / -1; }

/* ── Newsletter Strip ───────────────────────────────────────── */
.newsletter-strip {
  background: var(--secondary);
  padding: 64px 0;
  text-align: center;
}
.newsletter-strip h2 { color: var(--white); margin-bottom: 12px; }
.newsletter-strip p  { color: rgba(255,255,255,0.75); margin-bottom: 32px; }
.newsletter-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.newsletter-form input {
  padding: 14px 20px;
  border-radius: var(--radius);
  border: none;
  font-size: 0.92rem;
  font-family: var(--font);
  width: 320px;
  max-width: 100%;
}
.newsletter-form input:focus { outline: 2px solid var(--primary); }

/* ── Logo / Partner Carousel ────────────────────────────────── */
.partner-strip { padding: 48px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.partner-strip-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.logo-track-wrap { overflow: hidden; }
.logo-track {
  display: flex;
  align-items: center;
  gap: 56px;
  animation: slide 30s linear infinite;
  width: max-content;
}
.logo-track:hover { animation-play-state: paused; }
.logo-track img {
  height: 36px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(1);
  transition: var(--transition);
  flex-shrink: 0;
}
.logo-track img:hover { opacity: 0.85; filter: none; }
.logo-placeholder {
  height: 36px;
  width: 100px;
  background: var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  opacity: 0.4;
}
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { height: 44px; width: auto; }
.footer-tagline { font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.65); }
.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  font-size: 0.85rem;
  transition: var(--transition);
}
.social-link:hover { background: var(--primary); color: var(--white); }

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--white); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--white); }

/* ── Page-specific: Data ─────────────────────────────────────── */
.platform-demo {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--secondary);
}
.platform-demo img { width: 100%; height: 100%; object-fit: cover; }
.platform-demo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #532d84 0%, #6d42a8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  color: rgba(255,255,255,0.5);
}

/* ── Dashboard placeholder ──────────────────────────────────── */
.dashboard-placeholder {
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
}
.dashboard-placeholder h3 { color: var(--secondary); margin-bottom: 12px; }
.dashboard-placeholder p  { margin-bottom: 24px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.4); }

/* ── Tabs ───────────────────────────────────────────────────── */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--border); margin-bottom: 40px; }
.tab-btn {
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  cursor: pointer;
}
.tab-btn:hover  { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ── Inline Quote ───────────────────────────────────────────── */
.quote-block {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin: 32px 0;
}
.quote-block p {
  font-style: italic;
  font-size: 1.05rem;
  color: var(--secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}
.quote-block cite {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
}

/* ── Utilities ──────────────────────────────────────────────── */
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.text-center { text-align: center; }
.text-red    { color: var(--primary); }
.text-navy   { color: var(--secondary); }
.fw-700      { font-weight: 700; }
.divider     { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

/* ── Animations ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    max-height: calc(100vh - var(--nav-height));
    overflow-y: auto;
  }
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--primary-light);
    border-radius: 0;
    display: none;
    padding-left: 16px;
    background: var(--off-white);
    margin-left: 8px;
    margin-bottom: 4px;
  }
  .nav-item.open .dropdown-menu { display: block; }
  .hamburger { display: flex; }
  .nav-actions .btn { display: inline-flex; }

  .hero { min-height: 70vh; }
  .grid-2, .grid-3, .grid-2-1 { grid-template-columns: 1fr; }
  .grid-4  { grid-template-columns: 1fr 1fr; }
  .world-work-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .pub-card { flex-direction: column; }
  .pub-card-cover { width: 100%; height: 220px; }
  .pub-card-body { padding: 24px; }
  .section-inner-divider { margin: 48px 0; }
  .form-grid { grid-template-columns: 1fr; }

  .stat-bar .container { gap: 16px; }
  .stat-number { font-size: 1.8rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }

  .section { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
}

@media (max-width: 480px) {
  .grid-4  { grid-template-columns: 1fr; }
  .world-work-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .newsletter-form { flex-direction: column; align-items: center; }
  .newsletter-form input { width: 100%; }
}

/* =============================================================
   Donate Page — Premium Components
   ============================================================= */

/* ── Hero ───────────────────────────────────────────────────── */
.donate-hero {
  position: relative;
  background: linear-gradient(135deg, #2a1350 0%, #3d1a6e 40%, #5c1a2e 100%);
  padding: 96px 0 88px;
  overflow: hidden;
}
.donate-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(232,33,40,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 10% 50%, rgba(83,45,132,0.25) 0%, transparent 70%);
  pointer-events: none;
}
.donate-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
}
.donate-hero-content h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  margin: 16px 0 20px;
}
.donate-hero-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 32px;
}
.donate-hero-eyebrow { margin-bottom: 4px; }
.donate-verified-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}
.donate-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.donate-trust-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.donate-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
}
.donate-trust-pill svg { opacity: 0.6; }

/* Hero stats card */
.donate-hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-xl);
  padding: 36px 32px;
  backdrop-filter: blur(8px);
}
.donate-hero-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.donate-hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}
.donate-hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.donate-hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.donate-hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.donate-hero-award {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(232,33,40,0.15);
  border: 1px solid rgba(232,33,40,0.25);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
.donate-hero-award svg { color: rgba(255,200,50,0.9); flex-shrink: 0; }

/* ── Trust bar ──────────────────────────────────────────────── */
.donate-trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}
.donate-trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.donate-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.donate-trust-divider {
  width: 1px;
  height: 18px;
  background: var(--border);
}

/* ── About section ──────────────────────────────────────────── */
.donate-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.donate-quote-block {
  background: linear-gradient(135deg, var(--purple-light) 0%, #fce8e9 100%);
  border-radius: var(--radius-xl);
  padding: 40px 36px;
  position: relative;
}
.donate-quote-mark { color: var(--secondary); margin-bottom: 16px; }
.donate-quote-block blockquote {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.65;
  margin-bottom: 12px;
  font-style: italic;
}
.donate-quote-block cite {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.03em;
}
.donate-quote-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(83,45,132,0.15);
}
.donate-quote-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}
.donate-quote-stat span {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

/* ── Why This Matters ───────────────────────────────────────── */
.matters-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.matters-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.matters-icon-svg {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.matters-item h4 { color: var(--secondary); margin-bottom: 6px; }

/* ── Ways to Give ───────────────────────────────────────────── */
.give-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}
.give-card {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}
.give-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: var(--primary);
}
.give-card-featured {
  border-color: var(--primary);
  box-shadow: 0 4px 32px rgba(232,33,40,0.15);
}
.give-card-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
}
.give-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.give-card-logo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.give-logo-paypal { background: #e8f0fe; color: #1a56db; }
.give-logo-gg     { background: var(--primary-light); color: var(--primary); }
.give-logo-actblue{ background: var(--purple-light); color: var(--secondary); }
.give-secure-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #16a34a;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 20px;
  padding: 3px 10px;
}
.give-card h3 { color: var(--secondary); font-size: 1.15rem; margin: 0; }
.give-card > p { font-size: 0.9rem; color: var(--text-muted); flex: 1; margin: 0; line-height: 1.65; }
.give-card-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.give-card-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.give-cta-btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
.give-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 16px;
  background: var(--surface);
  border-radius: var(--radius-lg);
}

/* ── DAF / Workplace giving ─────────────────────────────────── */
.daf-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  transition: var(--transition);
}
.daf-item:hover { box-shadow: var(--shadow-sm); }
.daf-icon-svg {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--purple-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── EIN box ────────────────────────────────────────────────── */
.ein-box {
  background: linear-gradient(135deg, var(--secondary) 0%, #3d1a6e 100%);
  border-radius: var(--radius-xl);
  padding: 36px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(83,45,132,0.3);
}
.ein-shield {
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ein-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 10px;
}
.ein-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.06em;
}
.ein-copy-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: var(--radius);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Institutional section ──────────────────────────────────── */
.institutional-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
  max-width: 980px;
  margin: 0 auto;
}
.institutional-contact-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.institutional-contact-icon {
  width: 64px;
  height: 64px;
  background: var(--purple-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.institutional-contact-card h4 { color: var(--secondary); font-size: 1.05rem; }
.institutional-contact-card p { font-size: 0.9rem; max-width: 260px; }
.institutional-cta { width: 100%; justify-content: center; }
.institutional-note {
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
  margin: 0 !important;
}

/* ── What Your Support Builds ───────────────────────────────── */
.donate-impact-section {
  background: linear-gradient(160deg, #1e0d42 0%, #2a1350 50%, #3d1226 100%);
  padding: 96px 0;
}
.builds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.builds-item-premium {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: background 0.25s ease;
}
.builds-item-premium:hover { background: rgba(255,255,255,0.09); }
.builds-icon-wrap {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(232,33,40,0.15);
  border: 1px solid rgba(232,33,40,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}
.builds-item-premium h4 { color: #fff; margin-bottom: 8px; }
.builds-item-premium p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin: 0; }

/* ── Final CTA ──────────────────────────────────────────────── */
.donate-final-cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #c0392b 100%);
  padding: 96px 0;
}
.donate-final-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.donate-final-inner h2 { color: #fff; text-shadow: 0 1px 4px rgba(0,0,0,0.2); }
.donate-final-inner > p {
  color: rgba(255,255,255,0.95);
  font-size: 1.05rem;
  line-height: 1.85;
  margin: 20px 0 36px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.18);
}
.donate-final-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.donate-final-actions .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.donate-final-actions .btn-primary:hover {
  background: #fff;
  color: var(--primary-dark);
  transform: translateY(-2px);
}
.donate-final-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
}
.donate-final-trust span { display: flex; align-items: center; gap: 5px; }

/* ── Donate page responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
  .donate-hero-inner { grid-template-columns: 1fr; }
  .donate-hero-card { display: none; }
  .institutional-grid { grid-template-columns: 1fr; }
  .give-grid { grid-template-columns: 1fr; gap: 20px; max-width: 480px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 768px) {
  .donate-about-grid { grid-template-columns: 1fr; gap: 36px; }
  .donate-hero { padding: 64px 0; }
  .ein-number { font-size: 2rem; }
  .builds-grid { grid-template-columns: 1fr; }
}

/* ── Accessibility + Performance: reduced motion ────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
