/* ============================================
   Carl Wolff Association - Design System
   Warm & Compassionate Theme
   ============================================ */

/* --- CSS Variables --- */
:root {
  /* Primary - calm compassionate blue: trust, care, serenity */
  --primary: #2e6da4;
  --primary-light: #3d88c8;
  --primary-dark: #1e4f7a;
  --primary-bg: #e8f2fb;

  /* Accent - warm sky/periwinkle: hope, gentleness */
  --accent: #c07a2e;
  --accent-light: #d9985a;
  --accent-dark: #9e6020;

  /* Neutrals - warm natural base */
  --text: #1e2d3d;
  --text-light: #4a5a68;
  --text-muted: #9a9088;
  --bg: #faf8f5;
  --bg-warm: #f3ede5;
  --bg-card: #ffffff;
  --border: #ddd5c8;
  --border-light: #e8e0d5;

  /* Footer */
  --footer-bg: #102840;

  /* Semantic */
  --success: #2a8f5e;
  --danger: #d94f3f;

  /* Typography */
  --font-body: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Playfair Display', 'Georgia', serif;

  /* Spacing */
  --section-padding: 4.5rem 0;
  --container-width: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;

  /* Shadows - blue-tinted */
  --shadow-sm: 0 2px 8px rgba(30,45,61,0.06);
  --shadow-md: 0 6px 24px rgba(30,45,61,0.10);
  --shadow-lg: 0 12px 48px rgba(30,45,61,0.15);
  --shadow-card: 0 2px 16px rgba(30,45,61,0.07);

  /* Transitions */
  --transition: 0.3s ease;
}

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

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

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-light);
}

ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.3;
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.2rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p { margin-bottom: 1rem; }

.section-subtitle {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 0.6rem;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.text-center .section-subtitle {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}
.section-subtitle::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  flex-shrink: 0;
}

.section-title {
  margin-bottom: 1rem;
}
.text-center .section-title {
  display: inline-block;
  position: relative;
}
.text-center .section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 0.6rem auto 0;
}

.section-desc {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
}

/* --- Layout --- */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section {
  padding: var(--section-padding);
}

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

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
  text-decoration: none;
  white-space: nowrap;
}

.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--primary-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
}
.btn--accent:hover {
  background: var(--accent-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn--outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn--white {
  background: #fff;
  color: var(--primary);
}
.btn--white:hover {
  background: var(--primary-bg);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--sm {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
}

/* --- Header / Navbar --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(247, 250, 253, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header__logo img {
  height: 48px;
  width: auto;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.header__logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.5px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  padding: 0.5rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link.active {
  color: var(--primary);
  background: var(--primary-bg);
}

.nav__donate {
  margin-left: 0.5rem;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 1rem;
  padding: 0.25rem;
  background: var(--bg-warm);
  border-radius: 50px;
  border: 1px solid var(--border-light);
}

.lang-btn {
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--primary);
  color: #fff;
}

/* --- Dropdown Navigation --- */
.nav__item--dropdown {
  position: relative;
}

.nav__link--has-dropdown::after {
  content: ' ▾';
  font-size: 0.65rem;
  opacity: 0.6;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  min-width: 240px;
  padding: 0.5rem;
  padding-top: calc(0.5rem + 10px);
  margin-top: 0;
  z-index: 999;
  white-space: nowrap;
}

.dropdown::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid var(--border-light);
  border-top: 1px solid var(--border-light);
  transform: translateX(-50%) rotate(45deg);
}

.nav__item--dropdown:hover .dropdown,
.nav__item--dropdown:focus-within .dropdown {
  display: block;
  animation: dropdownFade 0.15s ease;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.dropdown__link {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.dropdown__link:hover,
.dropdown__link.active {
  background: var(--primary-bg);
  color: var(--primary);
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero Section --- */
.hero {
  padding: 8rem 0 5rem;
  background: linear-gradient(150deg, #faf8f5 0%, #edf3f9 45%, #f3ede5 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(46,109,164,0.10) 0%, transparent 70%);
  border-radius: 50%;
}

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

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--primary-bg);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(46,109,164,0.18);
}

.hero__title {
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero__title span {
  color: var(--primary);
}

.hero__desc {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 520px;
}

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

.hero__image {
  position: relative;
  z-index: 1;
}

.hero__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.hero__image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: var(--accent);
  opacity: 0.1;
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* --- Stats Bar --- */
.stats-bar {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #fff;
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='1.5' fill='rgba(255,255,255,0.06)'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* --- Service Cards --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--border-light);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--accent);
}

.service-card__image {
  height: 220px;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

.service-card__body {
  padding: 1.75rem;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--primary-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}

.service-card__title {
  margin-bottom: 0.75rem;
}

.service-card__text {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-card__link {
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-card__link::after {
  content: '→';
  transition: transform var(--transition);
}

.service-card__link:hover::after {
  transform: translateX(4px);
}

/* --- About / Mission Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-content .section-subtitle {
  text-align: left;
}

.about-content .section-title {
  text-align: left;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.value-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.value-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.value-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* --- CTA / Donation Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 55%, var(--accent) 100%);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-banner p {
  opacity: 0.9;
  max-width: 550px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.cta-banner .btn {
  position: relative;
  z-index: 1;
}

/* --- Partners --- */
.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  opacity: 0.6;
}

.partners-grid img {
  height: 50px;
  width: auto;
  filter: grayscale(100%);
  transition: all var(--transition);
}

.partners-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- Footer --- */
.footer {
  background: var(--footer-bg);
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer__brand {
  max-width: 300px;
}

.footer__brand img {
  height: 50px;
  margin-bottom: 1rem;
  background: #fff;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  display: block;
}

.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

.footer__links li {
  margin-bottom: 0.6rem;
}

.footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: #fff;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 4px;
  fill: var(--accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
}

.footer__social a:hover {
  background: var(--primary);
  color: #fff;
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding: 8rem 0 3.5rem;
  background: linear-gradient(150deg, var(--bg) 0%, var(--primary-bg) 60%, var(--bg-warm) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(46,109,164,0.09) 0%, transparent 70%);
  border-radius: 50%;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(192,122,46,0.07) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.page-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--primary);
}

/* --- Content Sections (inner pages) --- */
.content-section {
  padding: 4rem 0;
}

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

.content-grid.reverse {
  direction: rtl;
}

.content-grid.reverse > * {
  direction: ltr;
}

.content-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.content-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.content-text h2 {
  margin-bottom: 1rem;
}

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

/* Feature list */
.feature-list {
  margin: 1.5rem 0;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-light);
}

.feature-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  min-width: 20px;
}

/* --- Info Cards (Hospice, Camin) --- */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.info-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--primary);
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition), transform var(--transition);
}
.info-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.info-card__icon {
  width: 52px;
  height: 52px;
  background: var(--primary-bg);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

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

/* --- Donation Page --- */
.donation-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.donation-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--accent);
  box-shadow: var(--shadow-card);
  text-align: center;
  transition: all var(--transition);
}

.donation-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--primary);
}

.donation-card__icon {
  width: 64px;
  height: 64px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
}

.donation-card h3 {
  margin-bottom: 0.75rem;
}

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

/* Bank details */
.bank-details {
  margin-top: 3rem;
}

.bank-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.bank-table th {
  background: var(--primary);
  color: #fff;
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bank-table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.bank-table tr:last-child td {
  border-bottom: none;
}

.bank-table tr:hover td {
  background: var(--bg-warm);
}

.iban {
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  color: var(--primary-dark);
  font-weight: 600;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-warm);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.contact-info-card__icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
}

.contact-info-card h4 {
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.contact-info-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* Contact form */
.contact-form {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

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

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

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46,109,164,0.15);
}

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

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

/* Map */
.map-container {
  margin-top: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Timeline (About page) --- */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  position: relative;
  margin-bottom: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 1.5rem;
  width: 14px;
  height: 14px;
  background: var(--primary);
  border-radius: 50%;
  transform: translateX(-50%);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--primary-bg);
  z-index: 1;
}

.timeline-year {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary);
  text-align: right;
  padding-right: 2rem;
}

.timeline-content {
  padding-left: 2rem;
}

.timeline-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

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

/* --- Responsive --- */
@media (max-width: 992px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .hero__title { font-size: 2.6rem; }
  .hero__desc { margin: 0 auto 2rem; }
  .hero__actions { justify-content: center; }

  .stats-bar__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .about-grid,
  .content-grid,
  .content-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

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

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

  .timeline::before { left: 0; }
  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 2rem;
  }
  .timeline-item::before { left: 0; }
  .timeline-year { text-align: left; padding-right: 0; }
  .timeline-content { padding-left: 0; }
}

/* --- Nav: shrink at mid-range before hamburger kicks in --- */
@media (max-width: 1200px) {
  .nav__link {
    padding: 0.5rem 0.65rem;
    font-size: 0.82rem;
  }
  .nav__donate .btn {
    padding: 0.6rem 1.1rem;
    font-size: 0.82rem;
  }
  .lang-btn {
    padding: 0.25rem 0.45rem;
    font-size: 0.7rem;
  }
  .header__logo-text {
    font-size: 1rem;
  }
}

/* --- Hamburger nav: trigger at 1060px --- */
@media (max-width: 1060px) {
  .nav__list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    padding: 5rem 2rem 2rem;
    gap: 0.25rem;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition);
    z-index: 999;
  }

  .nav__list.open {
    right: 0;
  }

  .nav__link {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    white-space: normal;
  }

  .nav__donate {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .nav__donate .btn {
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
  }

  /* Mobile dropdowns — always expanded inside open menu */
  .nav__item--dropdown .dropdown {
    display: block;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-left: 2px solid var(--border-light);
    border-radius: 0;
    padding: 0 0 0 1rem;
    margin: 0.25rem 0 0.5rem 1rem;
    animation: none;
    white-space: normal;
  }

  .nav__item--dropdown .dropdown::before {
    display: none;
  }

  .nav__link--has-dropdown::after {
    display: none;
  }

  .lang-switcher {
    margin-left: 0;
    margin-top: 1rem;
    align-self: flex-start;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translateY(5px) translateX(5px);
  }
  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-5px) translateX(5px);
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 3.5rem 0;
  }

  .hero { padding: 7rem 0 3rem; }
  .hero__title { font-size: 2rem; }
  .hero__image img { height: 280px; }

  .stat__number { font-size: 2.2rem; }

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

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .donation-methods {
    grid-template-columns: 1fr;
  }

  .bank-table {
    font-size: 0.8rem;
  }
}

@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.8rem; }
  .hero__actions { flex-direction: column; align-items: center; }
  .stats-bar__inner { grid-template-columns: 1fr 1fr; }
  .page-header h1 { font-size: 2rem; }
}

/* Gallery figure */
.gallery-fig {
  position: relative;
  margin: 0;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
}
.gallery-fig img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.25s;
}
.gallery-fig figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.68));
  color: #fff;
  font-size: 0.72rem;
  padding: 1.25rem 0.5rem 0.4rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.gallery-fig:hover img { transform: scale(1.04); }
.gallery-fig:hover figcaption { opacity: 1; }

/* Home gallery responsive */
@media (max-width: 900px) {
  #home-gallery { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 600px) {
  #home-gallery { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ============================================
   Back to top button
   ============================================ */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  z-index: 900;
}
#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#back-to-top:hover { background: var(--primary-dark); }
