
/* ==========================================
   BANĀT AL-UMMAH
   Main Stylesheet

   Pages:
   - index.html
   - about.html
   - journey.html
========================================== */

/* ==========================================
   1. DESIGN VARIABLES
========================================== */

:root {
  --color-primary: #315846;
  --color-primary-dark: #233f32;
  --color-primary-light: #e5ebe3;

  --color-background: #f8f6f0;
  --color-surface: #fffdf9;
  --color-surface-alt: #eee9df;

  --color-sage: #a8b5a2;
  --color-beige: #e8e0d2;
  --color-gold: #b29b73;

  --color-text: #252b27;
  --color-text-muted: #62665f;
  --color-border: #e4ded3;

  --font-heading: "Libre Baskerville", Georgia, serif;
  --font-body: "DM Sans", Arial, sans-serif;
  --font-arabic: "Amiri", serif;

  --container-width: 1160px;
  --header-height: 84px;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow-soft: 0 8px 30px rgba(35, 45, 37, 0.06);

  --transition: 0.25s ease;
}

/* ==========================================
   2. RESET & GLOBAL
========================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea {
  font-family: var(--font-body);
}

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

img {
  height: auto;
}

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

button {
  cursor: pointer;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a,
button {
  transition:
    color var(--transition),
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 4px;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.3;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.45rem);
}

h3 {
  font-size: 1.15rem;
}

p {
  margin-bottom: 1rem;
}

::selection {
  background: var(--color-sage);
  color: var(--color-primary-dark);
}

/* ==========================================
   3. UTILITIES
========================================== */

.container {
  width: min(
    var(--container-width),
    calc(100% - 48px)
  );
  margin-inline: auto;
}

.section {
  padding-block: 42px;
}

.eyebrow {
  margin-bottom: 8px;
  color: #8c795b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.5;
  text-transform: uppercase;
}

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

.fine-print {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.centered {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

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

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 10px 16px;
  background: var(--color-primary);
  color: white;
}

.skip-link:focus {
  top: 12px;
}

/* ==========================================
   4. BUTTONS
========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 44px;
  padding: 11px 20px;

  border: 1px solid transparent;
  border-radius: var(--radius-sm);

  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;

  cursor: pointer;
}

.btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 253, 249, 0.8);
  border-color: #bcb8ac;
  color: var(--color-text);
}

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

.btn-muted {
  background: var(--color-surface-alt);
  color: var(--color-text);
}

.btn-muted:hover {
  background: var(--color-beige);
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding-bottom: 4px;
  border-bottom: 1px solid var(--color-gold);

  font-size: 0.86rem;
  font-weight: 600;
}

.text-link:hover {
  color: var(--color-primary);
  gap: 15px;
}

/* ==========================================
   5. HEADER & NAVIGATION
========================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  min-height: var(--header-height);

  background: rgba(248, 246, 240, 0.97);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(12px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  gap: 1px;

  color: var(--color-text);
  line-height: 1.25;
}

.brand-ar {
  font-family: var(--font-arabic);
  font-size: 1.4rem;
  line-height: 1.3;
}

.brand-en {
  font-family: var(--font-heading);
  font-size: 1rem;
}

.site-header .brand {
  display: block;
}

.brand-logo {
  display: block;
  width: 190px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 38px);
}

.site-nav > a:not(.btn) {
  position: relative;
  font-size: 0.82rem;
  font-weight: 500;
}

.site-nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;

  width: 0;
  height: 1px;

  background: var(--color-primary);
  transition: width var(--transition);
}

.site-nav > a:not(.btn):hover::after,
.site-nav > a.active:not(.btn)::after {
  width: 100%;
}

.site-nav > a.active {
  color: var(--color-primary);
}

.nav-donate {
  margin-left: 10px;
  padding-inline: 18px;
}

.menu-toggle {
  display: none;
}

/* ==========================================
   6. HERO - CINEMATIC VIDEO BACKGROUND
========================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;

  min-height: 500px;
  overflow: hidden;

  background: #222a27;
  isolation: isolate;
}

/* Background video wrapper */

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;

  background:
    url("../assets/images/hero-cairo.jpg")
    center / cover no-repeat;
}

/* Background video */

.hero-video {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  pointer-events: none;
}

/* Dark gray overlay */

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(
    90deg,
    rgba(20, 25, 24, 0.82) 0%,
    rgba(25, 29, 28, 0.70) 40%,
    rgba(30, 33, 32, 0.53) 70%,
    rgba(30, 33, 32, 0.40) 100%
  );

  pointer-events: none;
}

/* Hero content */

.hero-inner {
  position: relative;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 680px;
  padding-block: 90px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.hero-eyebrow {
  margin-bottom: 22px;
  color: #e3c391;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.hero-content h1 {
  margin-bottom: 24px;
  color: #fffdf7;
  font-size: clamp(2.8rem, 5.5vw, 5.2rem);
  line-height: 1.12;
}

.hero-content h1 span {
  display: block;
}

.hero-content .hero-description {
  max-width: 740px;
  color: #f1eee8;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.75;
}

.hero-fundraising {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 30px 0 25px;
}

.hero-fundraising strong {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 2.2rem;
}

.hero-fundraising span {
  color: #e4d7c2;
  font-size: 0.85rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
}

.btn-hero-donate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 66px;
  padding: 20px 30px;
  border-radius: 6px;
  background: #e1bd82;
  color: #203a30;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-hero-donate:hover {
  background: #f0d09c;
  transform: translateY(-3px);
}

.hero-secondary-link {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.hero-support-note {
  margin-top: 18px;
  color: #eee7dc;
  font-size: 0.9rem;
}

/* Donation allocation */

.donation-allocation {
  padding-block: 54px;
  background: var(--color-surface);
}

.donation-allocation-heading {
  margin-bottom: 25px;
  text-align: center;
}

.donation-allocation-heading h2 {
  margin-bottom: 0;
}

.allocation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.allocation-card {
  padding: 23px 20px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.allocation-card h3 {
  margin-bottom: 9px;
  color: var(--color-primary-dark);
}

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

/* Arabic Bismillah */

.bismillah {
  width: fit-content;
  margin-bottom: 18px;

  font-family: var(--font-arabic);
  font-size: 1.35rem;

  color: #f1e7d5;
}

/* Main heading */

.hero h1 {
  max-width: 900px;
  margin-bottom: 22px;

  color: #fffdf8;
  letter-spacing: -0.045em;

  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

/* Description */

.hero-description {
  max-width: 550px;
  margin-bottom: 28px;

  color: #f0eee9;
  font-size: 1rem;
  line-height: 1.85;
}

/* Primary hero button */

.hero .btn-primary {
  background: #426c55;
  border-color: #426c55;
  color: #ffffff;
}

.hero .btn-primary:hover {
  background: #537f65;
  border-color: #537f65;
}

/* Secondary hero button */

.hero .btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: #ffffff;
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

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

@media (max-width: 700px) {

  .hero {
    min-height: 0;
    align-items: stretch;
  }

  .hero-video {
    object-position: 60% center;
  }

  .hero::after {
    background: linear-gradient(
      0deg,
      rgba(17, 22, 20, 0.90) 0%,
      rgba(22, 27, 25, 0.75) 55%,
      rgba(28, 32, 30, 0.45) 100%
    );
  }

  .hero-inner {
    min-height: 650px;
    padding-block: 65px;
  }

  .hero-content h1 {
    font-size: clamp(2.2rem, 9vw, 3.3rem);
  }

  .hero-content h1 span {
    display: inline;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .btn-hero-donate {
    width: 100%;
    padding: 20px 16px;
  }

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

}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 420px) {

  .hero-content h1 {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

}

/* ==========================================
   REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

  .hero-video {
    display: none;
  }

}

/* ==========================================
   7. OUR MISSION
========================================== */

.mission {
  padding-block: 55px;
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 48px;
  align-items: start;
}

.mission-image {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.mission-image img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center;
}

.mission-copy {
  min-width: 0;
}

.mission-copy h2 {
  max-width: 850px;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
}

.mission-copy p:not(.eyebrow) {
  max-width: 800px;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

.mission-copy .mission-highlight {
  max-width: 850px;
  margin-block: 28px;
  padding: 22px 26px;
  border-left: 4px solid var(--color-gold);
  background: var(--color-surface);
  color: var(--color-primary-dark);
  font-size: 1.05rem;
}

.mission-subheading {
  margin-top: 34px;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.mission-hadith {
  max-width: 800px;
  margin: 26px 0;
  padding: 24px 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-sm);
}

.mission-hadith p {
  color: var(--color-text);
}

.mission-hadith p:nth-child(2) {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.8;
}

.mission-hadith cite {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-style: normal;
}

.mission-copy .mission-final-call {
  margin-top: 28px;
  color: var(--color-primary-dark);
}

.mission-copy .text-link {
  margin-top: 6px;
}

/* ==========================================
   8. DESTINATIONS
========================================== */

.destinations {
  padding-top: 30px;
  padding-bottom: 35px;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.destination-card {
  overflow: hidden;

  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

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

.destination-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.destination-body {
  padding: 20px 23px 24px;
}

.destination-body h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;

  margin-bottom: 8px;
  font-size: 1.18rem;
}

.destination-body .small {
  margin-bottom: 8px;
}

.destination-body p:last-child {
  max-width: 430px;
  margin-bottom: 0;

  color: var(--color-text-muted);
  font-size: 0.87rem;
  line-height: 1.7;
}

/* ==========================================
   9. MEET THE SISTERS
========================================== */

.sisters {
  padding-top: 32px;
  padding-bottom: 60px;
}

.sisters h2 {
  margin-bottom: 26px;
}

.sisters-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.sister-card {
  overflow: hidden;

  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);

  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

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

.sister-image {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;

  background: #e5e3df;
}

.sister-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sister-body {
  padding: 16px;
  text-align: center;
}

.sister-body h3 {
  margin-bottom: 5px;
  font-size: 0.98rem;
}

.sister-body p {
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 0.78rem;
  line-height: 1.6;
}

/* ==========================================
   10. SUPPORT / FUNDRAISING
========================================== */

.support {
  padding-block: 46px;

  background: #eeeae0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.support-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 55px;
  align-items: center;
}

.support-art {
  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 260px;
  padding: 28px;

  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(178, 155, 115, 0.13),
      transparent 65%
    ),
    linear-gradient(135deg, #e4dfd2, #f7f3e9);

  border: 1px solid #ded6c8;
  border-radius: var(--radius-sm);
}

.support-art span {
  font-family: var(--font-arabic);
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.8;
  text-align: center;
  color: var(--color-primary);
}

.support-copy h2 {
  max-width: 550px;
  margin-bottom: 16px;
}

.support-copy > p:not(.eyebrow) {
  max-width: 580px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.goal-note {
  margin-top: 20px;
  margin-bottom: 18px;
}

.goal-note strong {
  color: var(--color-primary-dark);
  font-size: 1.1rem;
}

.support-button {
  margin-bottom: 13px;
}

.support-copy .fine-print {
  margin-bottom: 0;
  font-size: 0.75rem;
}

/* ==========================================
   11. FOOTER
========================================== */

.site-footer {
  background: #f5f2e9;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 35px;

  padding-top: 45px;
  padding-bottom: 36px;
}

.footer-top .brand {
  margin-bottom: 15px;
}

.footer-top p {
  max-width: 310px;
  margin-bottom: 0;

  color: var(--color-text-muted);
  font-size: 0.78rem;
  line-height: 1.8;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 25px;

  max-width: 500px;
  padding-top: 18px;
}

.footer-nav a {
  font-size: 0.8rem;
}

.footer-nav a:hover {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;

  padding-top: 20px;
  padding-bottom: 22px;

  border-top: 1px solid var(--color-border);

  color: var(--color-text-muted);
  font-size: 0.73rem;
}

/* ==========================================
   12. TABLET
========================================== */

@media (max-width: 900px) {

  :root {
    --header-height: 76px;
  }

  .support-grid {
    gap: 30px;
  }

  .mission-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mission-image {
    position: relative;
    top: auto;
    min-height: 320px;
  }

  .mission-image img {
    min-height: 320px;
    max-height: 440px;
  }

  .sisters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-nav {
    gap: 16px;
  }

  .nav-wrap {
    gap: 20px;
  }

  .brand-logo {
    width: 170px;
  }

  .nav-donate {
    margin-left: 0;
    padding-inline: 14px;
  }

  .allocation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

/* ==========================================
   13. MOBILE NAVIGATION
========================================== */

@media (max-width: 700px) {

  :root {
    --header-height: 72px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .nav-wrap {
    gap: 15px;
  }

  .brand-ar {
    font-size: 1.2rem;
  }

  .brand-en {
    font-size: 0.87rem;
  }

  .brand-logo {
    width: 150px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;

    width: 44px;
    height: 44px;
    padding: 9px;

    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-primary-dark);
    border-radius: 2px;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding: 12px 18px 20px;

    background: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a:not(.btn) {
    padding: 13px 5px;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav > a:not(.btn)::after {
    display: none;
  }

  .nav-donate {
    margin: 18px 0 0;
    width: 100%;
  }

  /* Sections */

  .section {
    padding-block: 38px;
  }

  .support-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .destination-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .destination-card img {
    height: 220px;
  }

  .sisters-grid {
    gap: 14px;
  }

  .sister-body {
    padding: 13px 10px;
  }

  .support {
    padding-block: 40px;
  }

  .support-art {
    min-height: 180px;
  }

  /* Footer */

  .footer-top {
    flex-direction: column;
    gap: 20px;
    padding-top: 36px;
  }

  .footer-nav {
    padding-top: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

}

/* ==========================================
   14. SMALL MOBILE DEVICES
========================================== */

@media (max-width: 420px) {

  .container {
    width: calc(100% - 30px);
  }

  .button-group {
    flex-direction: column;
    align-items: stretch;
  }

  .button-group .btn {
    width: 100%;
  }

  .destination-card img {
    height: 185px;
  }

  .sisters-grid {
    gap: 10px;
  }

  .sister-body h3 {
    font-size: 0.85rem;
  }

  .sister-body p {
    font-size: 0.72rem;
  }

  .support-button {
    width: 100%;
  }

}

/* ==========================================
   15. REDUCED MOTION
========================================== */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

}

/* ==========================================
   16. ABOUT PAGE
========================================== */

/* About Hero */

.about-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #252c28;
}

.about-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 560px;
  padding-block: 85px;
}

.about-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #fffdf8;
}

.about-hero-copy {
  max-width: 580px;
}

.about-hero .eyebrow {
  color: #d7bd90;
}

.about-hero-copy > p:last-child {
  max-width: 510px;
  color: #f1eee8;
  font-size: 0.98rem;
  line-height: 1.85;
}

/* Our Story */

.about-story {
  padding-block: 65px;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 55px;
}

.about-story-image {
  overflow: hidden;
  border-radius: var(--radius-sm);
}

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

.about-story-content h2 {
  margin-bottom: 22px;
}

.about-story-content p:not(.eyebrow) {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.9;
}

/* Sisters Section */

.about-sisters {
  padding-block: 65px;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-bottom: 15px;
}

.section-heading > p:last-child {
  color: var(--color-text-muted);
  font-size: 0.93rem;
}

/* Individual Sister Profiles */

.sister-profile-list {
  display: flex;
  flex-direction: column;
}

.sister-profile {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;

  padding-block: 36px;
  border-top: 1px solid var(--color-border);
}

.sister-profile-image {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #e5e3df;
}

.sister-profile-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.sister-profile-content h3 {
  margin-bottom: 5px;
  font-size: 1.55rem;
}

.profile-subtitle {
  margin-bottom: 18px;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.sister-profile-content > p:not(.eyebrow) {
  max-width: 710px;
  color: var(--color-text-muted);
  font-size: 0.91rem;
}

.profile-detail {
  margin-top: 22px;
}

.profile-detail h4 {
  margin-bottom: 7px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.profile-detail p {
  max-width: 700px;
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 0.87rem;
}

/* Closing Reflection */

.about-reflection {
  padding-block: 55px;
  background: #eeeae0;
}

.reflection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}

.reflection-image {
  overflow: hidden;
  border-radius: var(--radius-sm);
}

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

.quote-mark {
  display: block;
  height: 65px;
  font-family: Georgia, serif;
  font-size: 5.5rem;
  line-height: 1;
  color: #947e55;
}

.reflection-content blockquote {
  margin: 0 0 20px;
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.7;
}

.quote-attribution {
  margin-bottom: 25px;
  color: var(--color-text-muted);
  font-size: 0.82rem;
}

/* Support CTA */

.about-cta {
  padding-block: 75px;
  text-align: center;
}

.about-cta-inner {
  max-width: 740px;
}

.about-cta h2 {
  margin-bottom: 18px;
}

.about-cta-inner > p:not(.eyebrow) {
  max-width: 590px;
  margin: 0 auto 28px;
  color: var(--color-text-muted);
  font-size: 0.93rem;
}

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

@media (max-width: 900px) {

  .about-story-grid,
  .reflection-grid {
    gap: 30px;
  }

  .sister-profile {
    grid-template-columns: 180px 1fr;
    gap: 28px;
  }

}

@media (max-width: 700px) {

  .about-hero-inner {
    min-height: 520px;
    padding-block: 70px;
  }

  .about-story {
    padding-block: 42px;
  }

  .about-story-grid,
  .reflection-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-story-image img {
    height: 250px;
  }

  .about-sisters {
    padding-block: 45px;
  }

  .section-heading {
    margin-bottom: 25px;
  }

  .sister-profile {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 30px;
  }

  .sister-profile-image {
    max-width: 220px;
  }

  .sister-profile-image img {
    aspect-ratio: 4 / 5;
  }

  .sister-profile-content h3 {
    font-size: 1.35rem;
  }

  .about-reflection {
    padding-block: 40px;
  }

  .reflection-image img {
    height: 230px;
  }

  .about-cta {
    padding-block: 55px;
  }

}

@media (max-width: 420px) {

  .about-hero h1 {
    font-size: 2.4rem;
  }

  .sister-profile-image {
    max-width: 180px;
  }

}

/* ==========================================
   17. OUR JOURNEY PAGE
========================================== */

/* Journey Hero */

.journey-hero {
  position: relative;
  overflow: hidden;
  background: #eeeae0;
  border-bottom: 1px solid var(--color-border);
}

.journey-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 45px;
  min-height: 330px;
  padding-block: 60px;
}

.journey-hero-copy h1 {
  max-width: 650px;
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
}

.journey-hero-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin-bottom: 25px;
  color: var(--color-text-muted);
  font-size: 0.96rem;
  line-height: 1.85;
}

.journey-map {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 230px;
}

.journey-map img {
  width: 100%;
  max-height: 290px;
  object-fit: contain;
  opacity: 0.75;
}

/* Destination Sections */

.journey-destination {
  padding-block: 65px;
}

.journey-destination-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 55px;
}

.journey-destination-image {
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.journey-destination-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.journey-destination-content h2 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 10px;
}

.journey-destination-content h2 span {
  font-family: var(--font-body);
  font-size: 1.4rem;
}

.journey-date {
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.journey-destination-content > p:not(.eyebrow) {
  color: var(--color-text-muted);
  font-size: 0.91rem;
}

.journey-detail-box {
  margin-top: 23px;
  padding: 20px 23px;
  background: var(--color-surface-alt);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-sm);
}

.journey-detail-box p {
  margin-bottom: 8px;
  font-size: 0.85rem;
  line-height: 1.6;
}

.journey-detail-box p:last-child {
  margin-bottom: 0;
}

.journey-detail-box strong {
  color: var(--color-primary-dark);
}

/* Areas of Study */

.journey-studies {
  margin-top: 55px;
  padding-top: 35px;
  border-top: 1px solid var(--color-border);
}

.journey-section-heading {
  max-width: 690px;
  margin-bottom: 30px;
}

.journey-section-heading h2,
.journey-section-heading h3 {
  margin-bottom: 13px;
}

.journey-section-heading h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.journey-section-heading > p:last-child {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.study-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.study-card {
  padding: 22px 24px;
  text-align: center;
  border-right: 1px solid var(--color-border);
}

.study-card:last-child {
  border-right: 0;
}

.study-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  margin-bottom: 13px;
}

.study-icon img {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.study-symbol {
  display: block;
  margin-bottom: 13px;
  font-size: 2rem;
  line-height: 1.3;
  color: var(--color-primary);
}

.study-icon .study-symbol {
  margin-bottom: 0;
}

.study-card h4 {
  margin-bottom: 9px;
  font-family: var(--font-body);
  font-size: 0.87rem;
  font-weight: 700;
}

.study-card p {
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

/* Bosnia Section */

.bosnia-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

/* ==========================================
   TIMELINE
========================================== */

.journey-timeline {
  padding-block: 70px;
}

.timeline-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 45px 0 0;
  padding: 0;
  list-style: none;
}

.timeline-item {
  position: relative;
  padding: 45px 18px 15px;
  text-align: center;
  border-top: 2px solid var(--color-sage);
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  width: 12px;
  height: 12px;
  transform: translateX(-50%);
  background: var(--color-primary);
  border: 3px solid var(--color-background);
  border-radius: 50%;
  box-sizing: content-box;
}

.timeline-icon {
  display: block;
  margin-bottom: 15px;
  font-size: 1.55rem;
  color: var(--color-primary);
}

.timeline-item h3 {
  margin-bottom: 8px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 700;
}

.timeline-date {
  margin-bottom: 10px;
  color: var(--color-primary);
  font-size: 0.76rem;
  font-weight: 600;
}

.timeline-item > p:last-child {
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 0.79rem;
  line-height: 1.65;
}

/* ==========================================
   FUNDRAISING
========================================== */

.journey-fundraising {
  padding-block: 65px;
  background: #eeeae0;
  border-block: 1px solid var(--color-border);
}

.fundraising-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 35px;
  align-items: stretch;
}

.expense-panel,
.fundraising-panel {
  padding: 30px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.expense-panel h2,
.fundraising-panel h2 {
  margin-bottom: 15px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.expense-intro,
.fundraising-panel > p:not(.eyebrow) {
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.expense-table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 25px;
}

.expense-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.expense-table th {
  padding: 12px 10px;
  background: var(--color-surface-alt);
  color: var(--color-primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.expense-table td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.81rem;
  vertical-align: top;
}

.expense-table td:last-child {
  color: var(--color-text-muted);
}

.expense-disclaimer {
  margin-top: 17px;
  margin-bottom: 0;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-style: italic;
}

.fundraising-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.fundraising-goal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin: 25px 0;
  padding: 23px;
  background: var(--color-primary-light);
  border-radius: var(--radius-sm);
}

.fundraising-goal span {
  color: var(--color-primary-dark);
  font-size: 0.85rem;
}

.fundraising-goal strong {
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 400;
  line-height: 1.3;
}

.fundraising-note {
  margin-bottom: 22px;
}

.fundraising-button {
  width: 100%;
  margin-bottom: 15px;
}

.fundraising-panel .fine-print {
  margin-bottom: 0;
  font-size: 0.75rem;
}

/* ==========================================
   CLOSING REFLECTION
========================================== */

.journey-closing {
  padding-block: 85px;
  text-align: center;
}

.journey-closing-inner {
  max-width: 760px;
}

.journey-dua {
  margin: 15px 0 6px;
  font-family: var(--font-arabic);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  line-height: 1.8;
  color: var(--color-primary);
}

.dua-translation {
  margin-bottom: 35px;
  color: var(--color-text-muted);
  font-size: 0.91rem;
  font-style: italic;
}

.dua-translation span {
  display: block;
  margin-top: 7px;
  font-size: 0.76rem;
  font-style: normal;
}

.journey-closing h2 {
  margin-bottom: 20px;
}

.journey-closing-inner > p:not(.eyebrow) {
  max-width: 640px;
  margin-inline: auto;
}

.journey-closing .btn {
  margin-top: 15px;
}

/* ==========================================
   JOURNEY PAGE RESPONSIVE
========================================== */

@media (max-width: 900px) {

  .journey-hero-inner,
  .journey-destination-grid {
    gap: 30px;
  }

  .study-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .study-card:nth-child(2) {
    border-right: 0;
  }

  .study-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--color-border);
  }

  .timeline-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 30px;
  }

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

}

@media (max-width: 700px) {

  .journey-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 45px;
  }

  .journey-hero-copy h1 {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }

  .journey-map {
    min-height: 150px;
  }

  .journey-map img {
    max-height: 200px;
  }

  .journey-destination {
    padding-block: 42px;
  }

  .journey-destination-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .journey-destination-image img {
    height: 245px;
  }

  .journey-studies {
    margin-top: 35px;
  }

  .study-card {
    padding: 20px 14px;
  }

  .journey-timeline {
    padding-block: 45px;
  }

  .timeline-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 30px;
    padding-left: 20px;
    border-left: 2px solid var(--color-sage);
  }

  .timeline-item {
    padding: 0 0 28px 25px;
    text-align: left;
    border-top: 0;
  }

  .timeline-item::before {
    top: 5px;
    left: -27px;
    transform: none;
  }

  .timeline-icon {
    margin-bottom: 8px;
  }

  .journey-fundraising {
    padding-block: 42px;
  }

  .expense-panel,
  .fundraising-panel {
    padding: 22px;
  }

  .journey-closing {
    padding-block: 55px;
  }

}

@media (max-width: 420px) {

  .study-card {
    padding: 18px 10px;
  }

  .study-card h4 {
    font-size: 0.8rem;
  }

  .study-card p {
    font-size: 0.75rem;
  }

  .journey-destination-image img {
    height: 210px;
  }

  .expense-panel,
  .fundraising-panel {
    padding: 18px;
  }

}

/* ==========================================
   STORY VIDEO SECTION
========================================== */

.story-video-section {
  padding-block: 75px;
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

.story-video-heading {
  max-width: 670px;
  margin: 0 auto 35px;
  text-align: center;
}

.story-video-heading h2 {
  margin-bottom: 15px;
}

.story-video-heading p:last-child {
  color: var(--color-text-muted);
  font-size: 0.93rem;
}

.story-video-container {
  max-width: 900px;
  margin-inline: auto;
  overflow: hidden;

  aspect-ratio: 16 / 9;
  background: #18251d;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.story-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.story-video-footer {
  margin-top: 28px;
  text-align: center;
}

.story-video-footer p {
  margin-bottom: 17px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

@media (max-width: 700px) {
  .story-video-section {
    padding-block: 45px;
  }

  .story-video-heading {
    margin-bottom: 25px;
  }
}

/* ==========================================
   CLICKABLE SISTER CARDS
========================================== */

.sister-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.sister-card-link .sister-card {
  height: 100%;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.sister-card-link:hover .sister-card {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(35, 63, 50, 0.12);
}

.sister-card-link:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 4px;
}

/* Smooth navigation to individual biographies */

html {
  scroll-behavior: smooth;
}

/* Leave space above the bio when scrolling,
   so the sticky header doesn't cover it. */

.sister-profile {
  scroll-margin-top: 110px;
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sister-card-link .sister-card {
    transition: none;
  }
}

/* ==========================================
   JOURNEY HERO BACKGROUND VIDEO
========================================== */

.journey-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  background: #252c28;
  border-bottom: 1px solid var(--color-border);
}

/* Background video container */

.journey-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;

  background:
    url("../assets/images/hero-cairo.jpg")
    center / cover no-repeat;
}

/* Background video */

.journey-video {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  pointer-events: none;
}

/* Dark gray overlay */

.journey-hero::before,
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(
    90deg,
    rgba(18, 24, 22, 0.85) 0%,
    rgba(25, 30, 28, 0.72) 45%,
    rgba(29, 33, 31, 0.45) 100%
  );

  pointer-events: none;
}

/* Hero content stays above the video */

.journey-hero-inner {
  position: relative;
  z-index: 2;

  min-height: 560px;
  padding-block: 85px;
}

/* Text colors */

.journey-hero .eyebrow {
  color: #d7bd90;
}

.journey-hero h1 {
  color: #fffdf8;
}

.journey-hero-copy > p:not(.eyebrow) {
  color: #f1eee8;
}

/* Map graphic */

.journey-map {
  position: relative;
  z-index: 2;
}

.journey-map img {
  opacity: 0.8;
}

/* Donation button */

.journey-hero .btn-primary {
  background: #426c55;
  border-color: #426c55;
  color: #ffffff;
}

.journey-hero .btn-primary:hover {
  background: #537f65;
  border-color: #537f65;
}

/* ==========================================
   MOBILE RESPONSIVENESS
========================================== */

@media (max-width: 700px) {

  .journey-hero-inner {
    min-height: 520px;
    padding-block: 70px;
  }

  .journey-hero::before,
  .about-hero::before {
    background: linear-gradient(
      0deg,
      rgba(18, 24, 22, 0.90) 0%,
      rgba(25, 30, 28, 0.72) 60%,
      rgba(29, 33, 31, 0.48) 100%
    );
  }

  .journey-video {
    object-position: center;
  }

}

/* Respect reduced-motion settings */

@media (prefers-reduced-motion: reduce) {

  .journey-video {
    display: none;
  }

}

@media (prefers-reduced-motion: reduce) {

  .btn-hero-donate {
    transition: none;
  }

}
