/* BRAND PALETTE – Mercy Mission South Africa */
/* === FRUTIGER (SELF-HOSTED) – HEADINGS ONLY === */
@font-face {
  font-family: "FrutigerLTStd";
  src: url("assets/fonts/FrutigerLTStd-Cn.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "FrutigerLTStd";
  src: url("/FrutigerLTStd-BoldCn.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --mm-blue: #37a1ba;       /* teal-blue from logo */
  --mm-charcoal: #464252;   /* primary dark text / headings */
  --mm-bg: #f7f8fb;
  --mm-ink: #111827;
  --mm-border-soft: #e5e7eb;
}

/* GLOBAL */

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mm-body { font-family: "Poppins", sans-serif !important; color: var(--mm-ink); background: var(--mm-bg); }

/* Simple RTL hook */

.mm-body.rtl {
  direction: rtl;
}

html[dir="rtl"] .swap-on-rtl {
  direction: rtl;
}

/* HEADER */

.mm-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(70, 66, 82, 0.08);
  backdrop-filter: blur(12px);
  top: 0;
  z-index: 40;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.mm-header.shadow-scroll {
  box-shadow: 0 10px 30px rgba(70, 66, 82, 0.12);
  border-color: transparent;
}

.logo-wrap {
  transition: transform 0.18s ease;
}

.logo-wrap:hover {
  transform: translateY(-1px);
}

.mm-link {
  color: #4b5563;
  transition: color 0.18s ease;
}

.mm-link:hover {
  color: var(--mm-blue);
}

/* Primary buttons / CTAs */

.mm-btn-primary {
  background: var(--mm-blue);
  color: #ffffff;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 12px 25px rgba(55, 161, 186, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.mm-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 35px rgba(55, 161, 186, 0.45);
  background: #2c889f;
}

.mm-btn-outline {
  border-radius: 999px;
  padding: 0.7rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(70, 66, 82, 0.25);
  background: #ffffff;
  color: var(--mm-charcoal);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.mm-btn-outline:hover {
  background: #f3f4f6;
  border-color: rgba(70, 66, 82, 0.6);
  transform: translateY(-1px);
}

/* Language toggle */

.mm-lang-toggle {
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(70, 66, 82, 0.2);
  background: #ffffff;
  color: var(--mm-charcoal);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.mm-lang-toggle:hover {
  background: #f3f4f6;
  border-color: rgba(70, 66, 82, 0.5);
  transform: translateY(-1px);
}


/* HERO */

.h-font { font-family: "DM Sans", sans-serif !important; letter-spacing:-0.01em; }

/* Full-page hero using branded background artwork */
.hero-full {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url("/assets/hero-mmsa.png"); /* place your hero artwork here */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.92), transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.9), transparent 55%);
  z-index: -1;
}

.hero-inner {
  max-width: 52rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 3.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .hero-inner {
  max-width: 52rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 3.5rem;
  text-align: center;
}
}

.hero-title {
  font-size: 2.4rem;
  color: var(--mm-charcoal);
  line-height: 1.1;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.1rem;
  }
}

.hero-title-accent {
  color: var(--mm-blue);
}

.hero-subcopy {
  color: #4b5563;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .hero-subcopy {
    font-size: 1.05rem;
  }
}

/* hero eyebrow pill reused */
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(55, 161, 186, 0.08);
  color: #4b5563;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--mm-blue);
}

/* Hero CTAs – outlined buttons */
.hero-cta-row {
  margin-top: 1.75rem;
  margin-bottom: 0.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.mm-btn-hero {
  border-radius: 999px;
  padding: 0.75rem 1.7rem;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid var(--mm-blue);
  background: transparent;
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.mm-btn-hero:hover {
  border-color: var(--mm-charcoal);
  color: var(--mm-charcoal);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(70, 66, 82, 0.18);
}

.mm-btn-hero-secondary {
  opacity: 0.9;
}

/* META row */
.meta-row {
  font-size: 0.8rem;
}
/* hero right card */

.hero-card {
  position: relative;
}

/* META row */

.meta-row {
  font-size: 0.8rem;
}

/* IMPACT STATS */

.stat-card {
  position: relative;
  border-radius: 22px;
  background: radial-gradient(circle at top left, rgba(55, 161, 186, 0.08), #ffffff);
  border: 1px solid rgba(70, 66, 82, 0.08);
  box-shadow: 0 14px 34px rgba(70, 66, 82, 0.08);
  padding: 1.6rem 1.4rem 1.8rem;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(55, 161, 186, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.stat-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e5f6fb;
  color: var(--mm-blue);
}

.stat-title {
  font-size: 1.1rem;
  color: var(--mm-charcoal);
}

.stat-value-row {
  margin-top: 0.25rem;
  margin-bottom: 0.35rem;
}

.stat-number {
  font-family: "DM Sans", serif;
  font-size: 2.1rem;
  letter-spacing: 0.02em;
  color: var(--mm-charcoal);
}

.stat-body {
  font-size: 0.9rem;
  color: #6b7280;
}

/* SECTION HEADERS */

.section-head {
  text-align: center;
  margin-bottom: 2.8rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.85rem;
  border-radius: 999px;
  background: rgba(55, 161, 186, 0.09);
  color: #256b5a;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--mm-blue);
}

.section-title {
  margin-top: 1rem;
  font-size: 1.9rem;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.1rem;
  }
}

.section-title .highlight {
  position: relative;
  display: inline-block;
  padding: 0 0.3rem;
}

.section-title .highlight::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2rem;
  height: 0.55rem;
  background: rgba(55, 161, 186, 0.18);
  border-radius: 999px;
  z-index: -1;
}

/* PROJECT CARDS */

.project-card {
  position: relative;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(70, 66, 82, 0.05);
  box-shadow: 0 14px 34px rgba(70, 66, 82, 0.06);
  padding: 1.6rem 1.5rem 1.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.project-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(55, 161, 186, 0.5), transparent 40%, rgba(70, 66, 82, 0.35));
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: -1;
}

.project-card:hover::before {
  opacity: 1;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(70, 66, 82, 0.34);
  box-shadow: 0 22px 44px rgba(70, 66, 82, 0.18);
}

.project-img-wrap {
  width: 100%;
  border-radius: 18px;
  background: #f5f7f7;
  padding: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
}

.project-cta {
  margin-top: 1.2rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(55, 161, 186, 0.08);
  color: var(--mm-blue);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* SOCIALS SLAB */

/* CONTACT SECTION */

.glass {
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(12px);
  border-radius: 24px;
  border: 1px solid rgba(70, 66, 82, 0.1);
  box-shadow: 0 18px 48px rgba(70, 66, 82, 0.16);
}

.contact-grid {
  align-items: flex-start;
}

.title-tag {
  display: inline-block;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: #020617;
  color: #e5e7eb;
}

.icon-pill {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: #e5f6fb;
  color: var(--mm-blue);
}

.mm-contact-link {
  display: block;
  color: #374151;
  text-decoration: none;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}

.mm-contact-link:hover {
  color: var(--mm-blue);
  text-decoration: underline;
}

/* Contact buttons */

.mm-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #374151;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.mm-btn-secondary:hover {
  border-color: #9ca3af;
  background: #f9fafb;
  box-shadow: 0 8px 18px rgba(31, 41, 55, 0.12);
}

/* FOOTER */

.mm-footer {
  border-top: 1px solid var(--mm-border-soft);
  background: #ffffff;
}

.mm-footer-link {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.18s ease;
}

.mm-footer-link:hover {
  color: var(--mm-charcoal);
}

/* Back-to-top button */

.to-top-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.22);
  background: #ffffff;
  border: 1px solid #e5e7eb;
  padding: 0.6rem;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  z-index: 50;
}

.to-top-btn svg {
  color: var(--mm-blue);
  fill: currentColor;
}

.to-top-btn:hover {
  background: #f9fafb;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.26);
}

/* REVEAL ANIMATIONS */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.1,.6,.3,.9),
              transform 0.7s cubic-bezier(.1,.6,.3,.9);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}


/* Header enlargement */
.mm-header { padding-top:1.2rem; padding-bottom:1.2rem; }
.mm-header img { height:60px; }

/* Hero logo */



.hero-logo {
  height: 220px;
  position: relative;
  top: 0;
  margin: 0 auto 30px auto; /* centered with ~30px gap above eyebrow */
}




/* Bigger hero title */
.hero-title { font-size:3.2rem !important; }
@media(min-width:768px){ .hero-title{ font-size:3.8rem !important;} }

/* Center hero content */
.hero-inner {
  max-width: 52rem;
  margin: 0 auto;
  padding: 3rem 1.5rem 3.5rem;
  text-align: center;
}

/* Hero top-right nav (Donate + Arabic) */
.hero-top-nav {
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 20;
}

.hero-nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1.5px solid rgba(55, 161, 186, 0.85);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.hero-nav-link-primary {
  background-color: rgba(55, 161, 186, 0.08);
  color: #0b1b20;
}

.hero-nav-link-secondary {
  background-color: rgba(255, 255, 255, 0.85);
  color: #0b1b20;
}

.hero-nav-link:hover {
  transform: translateY(-1px);
  border-color: var(--mm-charcoal);
  color: var(--mm-charcoal);
  background-color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 640px) {
  .hero-top-nav {
    top: 1rem;
    right: 1rem;
  }
}


/* Adjust hero logo & spacing on shorter viewports so it never gets cut off */
@media (max-height: 800px) {
  .hero-inner {
    padding-top: 2.25rem;
    padding-bottom: 2.75rem;
  }
  .hero-logo {
    height: 190px;
  }
}

@media (max-height: 700px) {
  .hero-inner {
    padding-top: 1.8rem;
    padding-bottom: 2.2rem;
  }
  .hero-logo {
    height: 160px;
  }
  .hero-title {
    font-size: 2.6rem !important;
  }
}

/* ABOUT + IMPACT SECTION */
.mm-about-section {
  position: relative;
  min-height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top left, #045089, #003c6b);
  color: #ffffff;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.mm-about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.10), rgba(0,0,0,0.22));
  pointer-events: none;
}

.about-inner {
  position: relative;
  z-index: 1;
}

.about-heading {
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 2.1rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .about-heading {
    font-size: 2.6rem;
  }
}

@media (min-width: 1024px) {
  .about-heading {
    font-size: 3rem;
  }
}

/* Tweak stat cards when on deep blue background */
.mm-about-section .stat-card {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.45);
}

.mm-about-section .stat-title {
  color: #111827;
}

.mm-about-section .stat-number {
  color: #111827;
}

.mm-about-section .stat-body {
  color: #4b5563;
}


/* PROJECTS SECTION – full viewport with MMSA sub background */
#projects {
  position: relative;
  min-height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.projects-inner {
  position: relative;
  z-index: 1;
}

.mm-projects-bg {
  position: absolute;
  inset: 0;
  background-image: url("/assets/sub-mmsa.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.mm-projects-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.94), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(255, 255, 255, 0.92), transparent 55%);
  z-index: -1;
}

/* VISION / MISSION / CORE VALUES SECTION */
.mm-vmv-section {
  position: relative;
  min-height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  color: #f9fafb;
  overflow: hidden;
  border-top: 1px solid rgba(15, 23, 42, 0.12);
  border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.mm-vmv-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, #045089, #003c6b 55%, #020617 100%);
  opacity: 0.96;
  z-index: -2;
}

.mm-vmv-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background:
    linear-gradient(transparent 39px, rgba(148, 163, 184, 0.5) 40px),
    linear-gradient(90deg, transparent 39px, rgba(148, 163, 184, 0.5) 40px);
  background-size: 40px 40px;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: -1;
}

.mm-vmv-inner {
  position: relative;
  z-index: 1;
}

.mm-vmv-head .section-title .highlight {
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.6);
}

.vmv-card {
  position: relative;
  border-radius: 22px;
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.7);
  padding: 1.8rem 1.6rem 1.9rem;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.vmv-icon-pill {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0%, #e0f2fe, #37a1ba);
  box-shadow: 0 15px 30px rgba(55, 161, 186, 0.55);
  color: #0f172a;
  margin-bottom: 1rem;
}

.vmv-title {
  font-size: 1.25rem;
  margin-bottom: 0.55rem;
  color: #e5e7eb;
}

.vmv-body {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #e5e7eb;
}

@media (min-width: 768px) {
  .vmv-body {
    font-size: 0.95rem;
  }
}

.vmv-list {
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.vmv-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.6;
  color: #e5e7eb;
  margin-bottom: 0.4rem;
}

.vmv-list li::before {
  content: "•";
  color: #37a1ba;
  margin-top: 0.1rem;
}

.vmv-list li span {
  font-weight: 600;
  color: #f9fafb;
}


/* SOCIALS (STAY CONNECTED) FULL-VIEW SECTION */
#socials.mm-socials-section {
  position: relative;
  min-height: 100vh;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fdfaf5; /* soft cream */
  overflow: hidden;
}

.mm-socials-inner {
  position: relative;
  z-index: 1;
}

/* Refined socials slab */
.section-slab {
  border-radius: 26px;
  padding: 2.8rem 1.8rem 3.2rem;
  background:
    radial-gradient(900px 320px at 0% 0%, rgba(0, 60, 107, 0.06), transparent 60%),
    radial-gradient(900px 320px at 100% 100%, rgba(15, 23, 42, 0.06), transparent 60%),
    #ffffff;
  color: var(--mm-charcoal, #111827);
  position: relative;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.slab-grid {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background:
    linear-gradient(transparent 39px, rgba(148, 163, 184, 0.25) 40px),
    linear-gradient(90deg, transparent 39px, rgba(148, 163, 184, 0.18) 40px);
  background-size: 40px 40px;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

/* Social bubbles */
.socials-row {
  row-gap: 1.5rem;
}

.social-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.1rem 1.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.social-chip svg {
  margin-bottom: 0.1rem;
}

.social-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
  border-color: rgba(15, 23, 42, 0.65);
  background: #ffffff;
}

.social-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--mm-charcoal, #111827);
}

.social-count {
  font-size: 0.78rem;
  color: #64748b;
}

/* Mobile alignment tweaks */
@media (max-width: 640px) {
  .section-slab {
    padding: 2.2rem 1.3rem 2.4rem;
  }
}

#impact { background-color: #423a54 !important; }

#vmv { background-color: #423a54 !important; }

h1, h2, h3, h4, h5, h6,
.h-font {
    font-family: "FrutigerLTStd", "Poppins", sans-serif !important;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}


.hero-subcopy,
.section-head p,
.stat-body,
.project-card p,
.social-label,
.social-chip span,
#contact p,
#contact a,
#impact p,
.mm-description {
    font-family: "Poppins", sans-serif !important;
}

/* =========================================================
   MOBILE RESPONSIVENESS PATCH — SAFE & NON-DESTRUCTIVE
   ========================================================= */

/* Phones (≤ 640px) */
@media (max-width: 640px) {

  /* HERO */
  .hero-full {
    height: 100dvh;
    min-height: 100dvh;
    padding-top: 4.5rem;
  }

  .hero-logo {
    height: 150px !important;
    margin-bottom: 1.2rem;
  }

  .hero-title {
    font-size: 1.9rem !important;
    line-height: 1.18;
  }

  .hero-subcopy {
    font-size: 0.95rem;
    padding: 0 1rem;
  }

  .hero-cta-row {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-top-nav {
    top: 0.6rem !important;
    right: 0.6rem !important;
    gap: 0.5rem;
  }

  /* Let tall sections grow naturally on mobile (no fake 100vh) */
  .mm-about-section,
  #projects,
  .mm-vmv-section,
  #socials.mm-socials-section {
    min-height: auto;
    height: auto;
    align-items: flex-start;
  }



  /* ABOUT */
  .mm-about-section {
    padding: 2.5rem 1.25rem;
    text-align: center;
  }

  .about-heading {
    font-size: 1.9rem !important;
  }

  .stat-card {
    padding: 1.2rem 1rem !important;
  }

  .stat-number {
    font-size: 1.8rem !important;
  }


  /* PROJECTS */
  #projects {
    padding: 2.5rem 1.25rem;
  }

  .project-card {
    width: 100%;
    padding: 1.3rem;
  }

  .project-img-wrap img {
    height: 95px !important;
  }


  /* VMV SECTION */
  .mm-vmv-section {
    padding: 2.5rem 1.25rem;
  }

  .vmv-card {
    padding: 1.4rem 1.2rem;
  }

  .vmv-title {
    font-size: 1.1rem !important;
  }

  .vmv-body,
  .vmv-list {
    font-size: 0.85rem !important;
  }


  /* SOCIALS */
  #socials.mm-socials-section {
    padding: 2.2rem 1.25rem;
  }

  .section-slab {
    padding: 2rem 1.1rem !important;
  }

  .socials-row {
    flex-direction: column;
    gap: 1rem;
  }


  /* CONTACT */
  #contact {
    padding: 2.5rem 1.25rem;
  }

  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

  .mm-contact-link {
    font-size: 0.95rem;
  }

  .icon-pill {
    width: 2.4rem;
    height: 2.4rem;
  }

  /* === CONTACT SECTION MOBILE FIXES === */

/* Tighter spacing between heading and card */
#contact .section-head {
  margin-bottom: 1.5rem; /* was visually too big on mobile */
}

/* Contact card + logo spacing / clipping fix */
#contact .glass {
  margin-top: 0;
  padding-top: 2.5rem;       /* give logo breathing room */
}

/* Mobile-specific tweaks */
@media (max-width: 640px) {
  #contact {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  #contact .section-head {
    margin-bottom: 1.25rem;
  }

  #contact .glass {
    padding-top: 2.25rem;
  }
}


  /* FOOTER */
  .mm-footer {
    padding: 1.8rem 1rem !important;
    text-align: center;
  }

  .mm-footer div {
    justify-content: center !important;
  }
}


/* TABLETS (641px – 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {

  .hero-logo {
    height: 180px;
  }

  .hero-title {
    font-size: 2.6rem !important;
  }

  .project-card {
    padding: 1.5rem;
  }

  .vmv-card {
    padding: 1.6rem;
  }
}

/* -------------------------------------------------
   ARABIC PAGE STYLE MIRROR FIX
   Ensures Arabic version uses EXACT SAME COLORS,
   BACKGROUNDS, SHADOWS & STRUCTURE as English.
---------------------------------------------------*/

html[lang="ar"] body {
  direction: rtl;
  font-family: 'Cairo', 'Tajawal', sans-serif;
}

/* --- Section background color matching (About + Ecosystem) --- */
html[lang="ar"] #about {
  background: #423a54 !important;
}

html[lang="ar"] #projects {
  background: #ffffff !important;
}

/* --- Stats cards (3+, 10+, 1000+) --- */
html[lang="ar"] .stats-card {
  background: rgba(255, 255, 255, 0.9) !important;
  backdrop-filter: blur(10px);
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* --- Headings consistency --- */
html[lang="ar"] h2, 
html[lang="ar"] h3,
html[lang="ar"] .section-title {
  color: #0b1a2b !important;
  text-transform: uppercase;
  font-family: Frutiger, sans-serif;
}

/* --- Underline for heading (blue line) --- */
html[lang="ar"] .section-title-underline {
  background-color: #2ba6c0 !important;
}

/* --- Project cards style fix --- */
html[lang="ar"] .project-card {
  background: #ffffff !important;
  border-radius: 30px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.08);
  padding: 2rem 1.5rem;
}

/* --- Spacing fix for Get in Touch section --- */
html[lang="ar"] #contact {
  padding-top: 120px !important;
}

/* --- Fix for logo cutting off --- */
html[lang="ar"] .contact-logo {
  margin-top: -40px;
}

/* --- Make left/right spacing match EN layout --- */
html[lang="ar"] .content-wrapper {
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

/* --- Mobile fixes --- */
@media (max-width: 768px) {

  html[lang="ar"] .project-card,
  html[lang="ar"] .stats-card {
    margin-bottom: 1.75rem;
  }

  html[lang="ar"] h1, 
  html[lang="ar"] h2 {
    font-size: 1.9rem !important;
  }

  html[lang="ar"] #projects {
    padding-top: 4rem;
  }
}


