/* ============================================
   St. Mary's Global Foundation — Styles
   Navy & Gold Color Scheme
   ============================================ */

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

:root {
  --navy-900: #0c1524;
  --navy-800: #121f36;
  --navy-700: #1a2d4d;
  --navy-600: #1e3a5f;
  --navy-500: #264a73;
  --gold-500: #c9a84c;
  --gold-400: #d4b85c;
  --gold-300: #e2cc7e;
  --gold-200: #f0e0a8;
  --gold-100: #faf3dc;
  --white: #ffffff;
  --off-white: #f9f7f2;
  --gray-50: #f7f8fa;
  --gray-100: #eef0f4;
  --gray-200: #d8dce4;
  --gray-300: #b0b8c8;
  --gray-500: #6b7a90;
  --gray-700: #3d4a5c;
  --gray-900: #1a2332;
  --text-dark: #1a2332;
  --text-body: #3d4a5c;
  --text-muted: #6b7a90;
  --shadow-sm: 0 1px 3px rgba(12,21,36,0.08);
  --shadow-md: 0 4px 12px rgba(12,21,36,0.1);
  --shadow-lg: 0 8px 30px rgba(12,21,36,0.12);
  --shadow-xl: 0 16px 50px rgba(12,21,36,0.15);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-align: left;
  word-spacing: normal;
  letter-spacing: normal;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
  text-align: left;
  word-spacing: normal;
  letter-spacing: normal;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
  max-width: 680px;
  text-align: left;
  word-spacing: normal;
  letter-spacing: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 12px;
}

.section-title { margin-bottom: 16px; }
.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
}
.btn-primary:hover {
  background: var(--gold-400);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-outline {
  background: transparent;
  color: var(--navy-700);
  border: 2px solid var(--gray-200);
}
.btn-outline:hover {
  border-color: var(--navy-700);
  background: var(--navy-700);
  color: var(--white);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(12, 21, 36, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: var(--transition);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.logo-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.logo-img {
  height: 54px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.3px;
}

.logo-tagline {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gold-500);
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.main-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.nav-donate {
  margin-left: 12px;
  background: var(--gold-500) !important;
  color: var(--navy-900) !important;
  font-weight: 600 !important;
  padding: 10px 24px !important;
}

.nav-donate:hover {
  background: var(--gold-400) !important;
}

/* Mobile menu toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 40%, var(--navy-700) 100%);
  overflow: hidden;
  padding-top: 76px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--white), transparent);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 80px;
}

.hero-content {
  max-width: 680px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero h1 .gold {
  color: var(--gold-500);
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}

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

/* ============================================
   PAGE HERO (Interior pages)
   ============================================ */
.page-hero {
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 30%, rgba(201,168,76,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.page-hero .section-label {
  position: relative;
}

/* ============================================
   IMPACT NUMBERS STRIP
   ============================================ */
.impact-strip {
  background: var(--white);
  padding: 60px 0;
  position: relative;
  z-index: 3;
  margin-top: -60px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.impact-card {
  padding: 36px 24px;
  text-align: center;
  border-right: 1px solid var(--gray-100);
  position: relative;
}

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

.impact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--gold-500);
  border-radius: 0 0 3px 3px;
}

.impact-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--navy-700);
  line-height: 1;
  margin-bottom: 8px;
}

.impact-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
   SECTION PATTERNS
   ============================================ */
.section {
  padding: 100px 0;
}

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

.section-navy {
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
}

.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-navy p {
  color: rgba(255,255,255,0.75);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ============================================
   ABOUT PREVIEW (Home)
   ============================================ */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-preview-text .section-label { margin-bottom: 12px; }

.about-preview-text h2 {
  margin-bottom: 20px;
}

.about-preview-text p {
  margin-bottom: 16px;
  color: var(--text-body);
}

.about-preview-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-preview-image .placeholder-icon {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: rgba(201,168,76,0.3);
  font-size: 0.85rem;
}

.about-preview-image .placeholder-icon svg {
  opacity: 0.3;
}

/* ============================================
   PROGRAM CARDS
   ============================================ */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.program-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.program-card-header {
  padding: 40px 36px 32px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  position: relative;
  overflow: hidden;
}

.program-card-header::after {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(201,168,76,0.08);
}

.program-icon {
  width: 52px;
  height: 52px;
  background: rgba(201,168,76,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.program-card-header h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.program-card-header p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}

.program-card-body {
  padding: 32px 36px;
}

.program-card-body ul {
  list-style: none;
}

.program-card-body li {
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
  color: var(--text-body);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.program-card-body li:last-child { border-bottom: none; }

.program-card-body li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--gold-500);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

.program-card-footer {
  padding: 0 36px 32px;
}

/* ============================================
   MISSION / VALUES
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.value-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.value-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--gold-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 auto;
}

/* ============================================
   IMPACT STORIES
   ============================================ */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.story-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.story-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.story-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(201,168,76,0.2);
  font-size: 2.5rem;
}

.story-content {
  padding: 24px;
}

.story-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 10px;
}

.story-content h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  line-height: 1.35;
}

.story-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(201,168,76,0.06), transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 32px;
  position: relative;
}

.cta-banner .btn { position: relative; }

/* ============================================
   CONTACT INFO
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
}

.contact-info-card:last-child { border-bottom: none; }

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--navy-700);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-info-card a:hover {
  color: var(--gold-500);
}

/* Contact Form */
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.08);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================
   DONATE PAGE
   ============================================ */
.donate-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.donate-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 2px solid var(--gray-100);
  transition: var(--transition);
}

.donate-card:hover {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-md);
}

.donate-card.featured {
  border-color: var(--gold-500);
  position: relative;
}

.donate-card.featured::before {
  content: 'Most Impact';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
}

.donate-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy-700);
  margin-bottom: 8px;
}

.donate-card h3 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.donate-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 auto 24px;
  line-height: 1.6;
}

/* How funds are used */
.funds-usage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.fund-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
}

.fund-percent {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
  flex-shrink: 0;
}

.fund-item h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.fund-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   TEAM GRID
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
}

.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.82rem;
  color: var(--gold-500);
  font-weight: 600;
  margin-bottom: 8px;
}

.team-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 auto;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20px;
  width: 2px;
  height: 100%;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding-left: 56px;
  padding-bottom: 40px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: 12px;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--gold-500);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.timeline-year {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-500);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.timeline-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ============================================
   PARTNERS
   ============================================ */
.partners-row {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 0;
}

.partner-logo {
  padding: 16px 28px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
}

.partner-logo:hover {
  border-color: var(--gold-500);
  color: var(--navy-700);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.65);
  padding: 80px 0 0;
}

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

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social-link:hover {
  background: var(--gold-500);
}

.footer-social-link svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

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

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
}

.footer-contact-item svg {
  flex-shrink: 0;
  margin-top: 3px;
  opacity: 0.5;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--navy-900);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(201,168,76,0.1);
    gap: 2px;
  }

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

  .main-nav a {
    width: 100%;
    padding: 12px 16px;
  }

  .nav-donate { margin-left: 0 !important; margin-top: 8px; text-align: center; }

  .mobile-toggle { display: flex; }

  .hero { min-height: auto; padding: 120px 0 100px; }

  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-card:nth-child(2) { border-right: none; }
  .impact-card:nth-child(1),
  .impact-card:nth-child(2) { border-bottom: 1px solid var(--gray-100); }

  .about-preview { grid-template-columns: 1fr; gap: 40px; }
  .about-preview-image { order: -1; }

  .programs-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: 1fr; }
  .donate-options { grid-template-columns: 1fr; }
  .funds-usage { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }

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

  .section { padding: 60px 0; }
  .cta-banner { padding: 60px 0; }
}

@media (max-width: 480px) {
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; justify-content: center; }
}

/* ============================================
   NATURAL TEXT SPACING FIX
   Ensures all body text reads naturally without excessive word gaps
   ============================================ */
p, li, blockquote, .hero-description, .section-subtitle {
  word-spacing: normal;
  letter-spacing: normal;
  text-align: left;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Gold underline accent for headings */
.accent-underline {
  position: relative;
  display: inline-block;
}
.accent-underline::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gold-500);
  border-radius: 2px;
}

/* Decorative cross */
.cross-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--gold-500);
  margin: 40px 0;
}
.cross-divider::before,
.cross-divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: var(--gray-200);
}

/* Success message (for forms) */
.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}
.form-success.show { display: block; }

/* ============================================
   HERO PHOTO (right side)
   ============================================ */
.hero-image {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  z-index: 1;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, var(--navy-900) 0%, rgba(12,21,36,0.65) 35%, rgba(12,21,36,0.1) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to top, var(--white), transparent);
  z-index: 2;
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ============================================
   PHOTO ELEMENTS
   ============================================ */
.about-preview-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-image {
  position: relative;
  overflow: hidden;
}

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

.story-card:hover .story-image img {
  transform: scale(1.05);
}

/* ============================================
   PHOTO BANNER (inspiring full-width section)
   ============================================ */
.photo-banner {
  position: relative;
  height: 420px;
  overflow: hidden;
  margin: 0;
}

.photo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.photo-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(12,21,36,0.92) 0%,
    rgba(12,21,36,0.5) 50%,
    rgba(12,21,36,0.2) 100%
  );
  display: flex;
  align-items: flex-end;
  padding: 48px;
}

.photo-banner-text {
  max-width: 700px;
}

.photo-banner-text blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.45;
  margin-bottom: 16px;
}

.photo-banner-text cite {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-400);
  font-style: normal;
}

/* ============================================
   IMPACT PHOTO GRID
   ============================================ */
.impact-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 60px;
}

.impact-photo-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.impact-photo-item.tall {
  aspect-ratio: unset;
  grid-row: span 2;
}

.impact-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.impact-photo-item:hover img {
  transform: scale(1.04);
}

.impact-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(12,21,36,0.85), transparent);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
}

/* Page hero with photo background */
.page-hero.has-photo {
  position: relative;
}

.page-hero.has-photo .page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero.has-photo .page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
}

.page-hero.has-photo .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero-image { display: none; }
  .photo-banner { height: 300px; }
  .photo-banner-overlay { padding: 28px; }
  .impact-photo-grid { grid-template-columns: 1fr 1fr; }
  .impact-photo-item.tall { grid-row: span 1; aspect-ratio: 4/3; }
}

@media (max-width: 480px) {
  .impact-photo-grid { grid-template-columns: 1fr; }
}
.form-success svg {
  margin: 0 auto 16px;
}
.form-success h3 {
  margin-bottom: 8px;
}
.form-success p {
  color: var(--text-muted);
  margin: 0 auto;
}

/* ============================================
   BLOG STYLES
   ============================================ */

/* Blog list: card grid */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--gray-200);
}

.blog-card-body {
  padding: 36px 40px;
}

.blog-meta-date {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 12px;
}

.blog-card-title {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  margin-bottom: 14px;
  line-height: 1.25;
}

.blog-card-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}

.blog-card-title a:hover {
  color: var(--navy-600);
}

.blog-card-excerpt {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 100%;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-600);
  text-decoration: none;
  transition: var(--transition);
  gap: 4px;
}

.blog-read-more:hover {
  color: var(--gold-500);
  gap: 8px;
}

.blog-empty {
  text-align: center;
  padding: 60px 0;
  color: var(--text-muted);
}

.blog-cta-box {
  text-align: center;
  margin-top: 60px;
  padding: 48px 40px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  border-radius: var(--radius-lg);
}

.blog-cta-box p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin: 0 auto 24px;
  max-width: 400px;
}

/* Blog post page hero */
.blog-post-hero {
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}

.blog-post-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at 80% 30%, rgba(201,168,76,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.blog-post-hero .container {
  position: relative;
  z-index: 1;
}

.blog-back-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  margin-bottom: 24px;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.blog-back-link:hover {
  color: var(--gold-500);
}

.blog-post-meta {
  margin-bottom: 16px;
}

.blog-post-meta time {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-500);
}

.blog-post-title {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3rem);
  max-width: 780px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.blog-post-excerpt {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  max-width: 660px;
  margin: 0;
}

/* Blog post body content */
.blog-post-content {
  max-width: 740px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-body);
}

.blog-post-content p {
  max-width: 100%;
  margin-bottom: 20px;
}

.blog-post-content h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-100);
  position: relative;
}

.blog-post-content h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--gold-500);
}

.blog-post-content h3 {
  font-size: 1.25rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.blog-post-content ul,
.blog-post-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.blog-post-content li {
  margin-bottom: 10px;
  line-height: 1.7;
}

.blog-post-content strong {
  color: var(--text-dark);
  font-weight: 600;
}

.blog-post-content a {
  color: var(--gold-500);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(201,168,76,0.3);
  transition: var(--transition);
}

.blog-post-content a:hover {
  color: var(--navy-600);
  text-decoration-color: var(--navy-600);
}

.blog-post-content blockquote {
  border-left: 4px solid var(--gold-500);
  padding: 16px 24px;
  margin: 28px 0;
  background: var(--off-white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-dark);
}

/* Blog post footer */
.blog-post-footer {
  max-width: 740px;
  margin: 60px auto 0;
  padding-top: 40px;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.blog-back-link-bottom {
  display: inline-flex;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.blog-back-link-bottom:hover {
  color: var(--navy-600);
}

@media (max-width: 768px) {
  .blog-card-body {
    padding: 28px 24px;
  }

  .blog-post-hero {
    padding: 120px 0 60px;
  }

  .blog-post-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .blog-card-body {
    padding: 24px 20px;
  }

  .blog-cta-box {
    padding: 36px 24px;
  }
}
