:root {
  --font-family: "Cairo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Light theme */
  --primary: #6cb78f;
  --secondary: #008f7b;

  --bg: #ffffff;
  --surface: #f6fbf8;
  --surface-2: #eef7f2;
  --text: #0b1220;
  --muted: #52607a;
  --border: rgba(12, 31, 24, 0.12);

  --shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 22px rgba(15, 23, 42, 0.10);
  --radius: 18px;
  --radius-sm: 14px;

  --focus: rgba(0, 143, 123, 0.35);
  --overlay: rgba(11, 18, 32, 0.52);
  --overlay-strong: rgba(11, 18, 32, 0.70);

  --nav-height: 66px;
  --bottom-nav-height: 74px;
}

[data-theme="dark"] {
  --bg: #0f172a;
  --surface: #111c33;
  --surface-2: #0f2330;
  --text: #e7eefb;
  --muted: #aab7d2;
  --border: rgba(231, 238, 251, 0.12);

  --shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 12px 24px rgba(0, 0, 0, 0.35);

  --overlay: rgba(2, 6, 23, 0.60);
  --overlay-strong: rgba(2, 6, 23, 0.78);

  --focus: rgba(108, 183, 143, 0.35);
}

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

html {
  height: 100%;
}

body {
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 220ms ease, color 220ms ease;
}

/* ========= Preloader (Loading Screen) ========= */
body.is-loading {
  overflow: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: grid;
  place-items: center;
  padding: 24px;
  background: #6cb78f;
  color: #ffffff;
  opacity: 1;
  visibility: visible;
  transition: opacity 360ms ease, visibility 0s linear 360ms;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__inner {
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
}

.preloader__mark {
  position: relative;
  width: 96px;
  height: 96px;
}

.preloader__ring {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  border: 3px solid rgba(255, 255, 255, 0.28);
  border-top-color: rgba(255, 255, 255, 0.98);
  animation: preloader-spin 900ms linear infinite;
  filter: drop-shadow(0 18px 38px rgba(0, 0, 0, 0.18));
}

.preloader__logo {
  position: absolute;
  inset: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.16);
}

.preloader__logo img {
  width: 44px;
  height: 44px;
}

.preloader__text {
  font-weight: 700;
  letter-spacing: 0.2px;
}

.preloader__dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.preloader__dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  animation: preloader-bounce 900ms ease-in-out infinite;
}

.preloader__dots span:nth-child(2) {
  animation-delay: 120ms;
}

.preloader__dots span:nth-child(3) {
  animation-delay: 240ms;
}

@keyframes preloader-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes preloader-bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.85;
  }
  50% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

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

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

::selection {
  background: rgba(108, 183, 143, 0.35);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 10px;
}

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

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: 12px;
  padding: 10px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  transform: translateY(-140%);
  transition: transform 220ms ease;
  z-index: 1100;
}

.skip-link:focus {
  transform: translateY(0);
}

/* ========= Top Banner Component ========= */
.top-banner {
  background: #004f4d;
  border-bottom: 2px solid var(--primary);
}

.top-banner__row {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 10px;
}

.top-banner__right,
.top-banner__left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-banner__middle {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  padding-inline: 8px;
}

.header-logo {
  display: inline-flex;
  align-items: center;
  padding: 6px 8px;
  border-radius: 14px;
  transition: background-color 180ms ease, transform 180ms ease;
}

.header-logo:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.header-logo img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(0, 143, 123, 0.20);
  border-color: rgba(108, 183, 143, 0.55);
}

.icon-btn--social {
  border-color: rgba(108, 183, 143, 0.40);
  color: var(--primary);
}

.icon-btn--social:hover {
  background: rgba(0, 143, 123, 0.30);
  border-color: rgba(108, 183, 143, 0.65);
  color: #ffffff;
}

.icon-btn--utility {
  color: #ffffff;
}

/* Cart badge (item count — supports 2 digits, e.g. 0–99) */
.icon-btn--cart {
  position: relative;
}

.cart-badge {
  position: absolute;
  bottom: -5px;
  inset-inline-start: -5px;
  z-index: 1;
  min-width: 1.48rem;
  min-height: 1.35rem;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: #004f4d;
  background: #dff7ea;
  border: 1.5px solid #6cb78f;
  box-sizing: border-box;
}

.mobile-bottom-nav__icon-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
}

.mobile-bottom-nav__item--cart {
  position: relative;
}

.cart-badge--bottom-nav {
  top: -11px;
  bottom: auto;
  inset-inline-start: -11px;
  inset-inline-end: auto;
  min-width: 1.42rem;
  min-height: 1.28rem;
  font-size: 0.62rem;
  padding: 0 4px;
}

.theme-icon__sun {
  display: none;
}

[data-theme="dark"] .theme-icon__sun {
  display: inline-block;
}

[data-theme="dark"] .theme-icon__moon {
  display: none;
}

/* ========= Main Navigation Component ========= */
.nav-shell {
  position: sticky;
  top: 0;
  z-index: 1050;
}

.main-nav {
  min-height: var(--nav-height);
  background: #004f4d;
  border-bottom: 1px solid rgba(108, 183, 143, 0.55);
  transition: box-shadow 200ms ease, background-color 220ms ease, border-color 220ms ease;
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,0.92%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-shell.is-scrolled .main-nav {
  box-shadow: var(--shadow-soft);
}

.main-nav .navbar-toggler {
  border-radius: 14px;
  border-color: rgba(255, 255, 255, 0.28);
}

.main-nav .navbar-nav {
  margin-inline-start: 0 !important;
  margin-inline-end: auto !important;
  gap: 10px;
}

.main-nav .nav-link {
  border-radius: 0px;
  padding: 10px 14px;
  font-weight: 700;
  color: #ffffff;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.main-nav .nav-link:hover {
  border-radius: 0;
  background: #008f7b;
  transform: translateY(-1px);
  color: #ffffff;
}

.main-nav .nav-link:focus {
  border-radius: 0;
}

.main-nav .nav-link.active {
  border-radius: 0;
  background: rgba(0, 143, 123, 0.55);
  color: #ffffff;
}

.nav-cta {
  display: flex;
  justify-content: flex-end;
  padding-inline-start: 12px;
}

.main-nav .dropdown-menu {
  background: #004f4d;
  border: 1px solid rgba(108, 183, 143, 0.40);
  border-radius: 0px;
  box-shadow: var(--shadow);
  padding: 0px;
}

.main-nav .dropdown-item {
  border-radius: 0;
  padding: 10px 12px;
  color: #ffffff;
  font-weight: 700;
}

.main-nav .dropdown-item:hover,
.main-nav .dropdown-item:focus {
  border-radius: 0;
  background: #008f7b;
  color: #ffffff;
}

.btn-brand {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #ffffff;
  border: none;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(0, 143, 123, 0.25);
  font-weight: 800;
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 180ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.btn-brand:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 14px 28px rgba(0, 143, 123, 0.30);
  color: #ffffff;
}

.btn-ghost {
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font-weight: 800;
  padding: 12px 16px;
  transition: transform 180ms ease, background-color 200ms ease, border-color 200ms ease;
}

.btn-ghost:hover {
  transform: translateY(-1px);
  background: rgba(108, 183, 143, 0.12);
  border-color: rgba(108, 183, 143, 0.22);
  color: var(--text);
}

/* ========= Mobile Bottom Navigation ========= */
.mobile-bottom-nav {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom, 0px));
  border-radius: 0;
  background: #004f4d;
  border: none;
  border-top: 1px solid rgba(108, 183, 143, 0.55);
  box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.18);
  display: flex;
  direction: rtl;
  gap: 6px;
  padding: 10px 12px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 1100;
  transition: background-color 220ms ease, border-color 220ms ease;
}

.mobile-bottom-nav__item {
  border-radius: 16px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 8px 6px;
  color: #ffffff;
  border: 1px solid transparent;
  background: transparent;
  transition: transform 160ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  font-size: 0.86rem;
  flex: 1 1 0;
  min-width: 0;
}

.mobile-bottom-nav__item i {
  font-size: 1.15rem;
  line-height: 1;
  color: var(--primary);
}

.mobile-bottom-nav__item:hover {
  transform: translateY(-1px);
  background: #008f7b;
  color: #ffffff;
}

.mobile-bottom-nav__item.is-active {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  border-color: rgba(108, 183, 143, 0.85);
}

.mobile-bottom-nav__item--btn {
  appearance: none;
  cursor: pointer;
}

@media (min-width: 992px) {
  .mobile-bottom-nav {
    display: none;
  }
}

@media (max-width: 991.98px) {
  /* Hide desktop navbar on mobile */
  .nav-shell {
    display: none;
  }

  /* Keep header sticky on scroll (instead of siteNavShell) */
  .top-banner {
    position: sticky;
    top: 0;
    z-index: 1200;
  }

  /* Mobile cleanup: hide header utility icons (cart/profile/whatsapp) */
  .top-banner__left .icon-btn--utility {
    display: none;
  }
}

/* ========= Mobile Offcanvas Menu ========= */
.mobile-offcanvas {
  background: #004f4d;
  color: #ffffff;
  border-inline-start: 1px solid rgba(108, 183, 143, 0.55);
}

.mobile-offcanvas__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-offcanvas__title {
  margin: 0;
  font-weight: 900;
  font-size: 1.05rem;
  color: #ffffff;
}

.mobile-offcanvas__nav {
  display: grid;
  gap: 8px;
}

.mobile-offcanvas__link {
  width: 100%;
  text-align: start;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(108, 183, 143, 0.26);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-weight: 800;
  transition: transform 160ms ease, background-color 180ms ease, border-color 180ms ease;
}

.mobile-offcanvas__link:hover,
.mobile-offcanvas__link:focus {
  background: #008f7b;
  border-color: rgba(108, 183, 143, 0.65);
  transform: translateY(-1px);
  color: #ffffff;
}

.mobile-offcanvas__link--btn {
  appearance: none;
  cursor: pointer;
}

.mobile-offcanvas__sub {
  margin-top: 8px;
  padding: 10px;
  border-radius: 16px;
  border: 1px solid rgba(108, 183, 143, 0.20);
  background: rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 8px;
}

.mobile-offcanvas__sublink {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 700;
  transition: background-color 180ms ease, transform 160ms ease;
}

.mobile-offcanvas__sublink:hover,
.mobile-offcanvas__sublink:focus {
  background: rgba(0, 143, 123, 0.35);
  transform: translateY(-1px);
  color: #ffffff;
}

/* Ensure content doesn't get hidden behind bottom nav on mobile */
.page {
  padding-bottom: calc(var(--bottom-nav-height) + 28px);
}

@media (min-width: 992px) {
  .page {
    padding-bottom: 0;
  }
}

/* ========= Slider Component ========= */
.hero-slider {
  position: relative;
}

.slider {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.slider__viewport {
  overflow: hidden;
  /* Keep slider mechanics LTR so translateX percentages always map correctly,
     while allowing the page to remain RTL. */
  direction: ltr;
}

.slider__track {
  display: flex;
  width: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 520ms cubic-bezier(0.2, 0.85, 0.2, 1);
  will-change: transform;
}

.slider__slide {
  min-width: 100%;
  position: relative;
}

.slider__image {
  width: 100%;
  height: calc(100vh - var(--hero-offset, 0px));
  max-height: calc(100vh - var(--hero-offset, 0px));
  object-fit: cover;
  filter: saturate(1.05);
}

/* Prefer "small viewport height" on mobile browsers (prevents URL bar jumps) */
@supports (height: 100svh) {
  .slider__image {
    height: calc(100svh - var(--hero-offset, 0px));
    max-height: calc(100svh - var(--hero-offset, 0px));
  }
}

.slider__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  /* Keep Arabic content RTL inside the slide overlay */
  direction: rtl;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    var(--overlay-strong) 55%,
    var(--overlay) 100%
  );
}

/* RTL-friendly overlay focus on right side */
[dir="rtl"] .slider__overlay {
  background: linear-gradient(
    270deg,
    rgba(0, 0, 0, 0) 0%,
    var(--overlay-strong) 55%,
    var(--overlay) 100%
  );
}

.slider__content {
  max-width: 640px;
  padding-block: 18px;
}

.slider__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(108, 183, 143, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  margin-bottom: 12px;
}

.slider__title {
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.2px;
  line-height: 1.25;
  font-size: clamp(1.6rem, 3.3vw, 3rem);
  margin-bottom: 12px;
}

.slider__desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.slider__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.slider__controls {
  position: absolute;
  inset-inline: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}

.slider__btn {
  pointer-events: auto;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(17, 28, 51, 0.45);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.slider__btn:hover {
  transform: translateY(-1px);
  background: rgba(17, 28, 51, 0.62);
  border-color: rgba(255, 255, 255, 0.28);
}

.slider__dots {
  position: absolute;
  bottom: 14px;
  inset-inline: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-inline: 12px;
}

.slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.30);
  transition: width 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.slider__dot.is-active {
  width: 26px;
  background: rgba(108, 183, 143, 0.85);
  border-color: rgba(108, 183, 143, 0.95);
}

/* ========= Section Band (full-width title strip above sections) ========= */
.section-band {
  background-color: #6cb78f;
  color: #004f4d;
  text-align: center;
  padding: 15px 16px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.2px;
  width: 100%;
  margin-bottom: 15px;
}

.section-band-new {
background-color: #6cb78f;
  color: #004f4d;
  padding: 3px 0px;
  margin-top: 35px;
}

.section-band--media-library {
  margin-top: 28px;
}
/* ========= Sections ========= */
.section {
  background: #eaebe2;
}

.section--padded {
  padding-block: 25px;
}

.section--soft {
  padding-block: 35px;
  /*background: linear-gradient(180deg, var(--surface), rgba(0, 0, 0, 0) 75%);*/
}

.section__head {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.section__title {
  font-weight: 900;
  letter-spacing: 0.2px;
  margin: 0;
}

.section__desc {
  margin: 0;
  color: var(--muted);
}

/* ========= Project / Donation Cards ========= */
.proj-card {
  background: #ffffff;
  border: 2px solid #6cb78f;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 200ms ease, box-shadow 220ms ease;
}

.proj-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 79, 77, 0.18);
}

.proj-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.proj-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.proj-card__title {
  background: #004f4d;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  text-align: center;
  padding: 10px 12px;
  margin: 0;
}

.proj-card__progress {
  width: 95%;
  height: 15px;
  background: #6cb78f;
  border-radius: 15px;
  margin: 0 auto;
  direction: ltr;
  margin-top: 15px;
}

.proj-card__progress-bar {
  height: 100%;
  background: #004f4d;
  border-radius: 15px;
  transition: width 600ms ease;
}

.proj-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  padding: 10px 12px 6px;
  border-bottom: 0px solid rgba(108, 183, 143, 0.25);
}

.proj-card__meta-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.proj-card__meta-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: #004f4d;
  white-space: nowrap;
}

.proj-card__meta-value {
  font-size: 0.72rem;
  font-weight: 800;
  color: #6cb78f;
}

.proj-card__prompt {
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #004f4d;
  margin: 8px 0 4px;
  padding-inline: 12px;
}

.proj-card__amounts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 4px 12px 8px;
}

.proj-card__amt {
  appearance: none;
  border: 1.5px solid #6cb78f;
  background: #ffffff;
  color: #004f4d;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.proj-card__amt:hover,
.proj-card__amt.is-selected {
  background: #6cb78f;
  color: #ffffff;
}

.proj-card__input-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px 10px;
  justify-content: center;
}

.proj-card__input {
  width: 80px;
  text-align: center;
  border: 1.5px solid #6cb78f;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #004f4d;
  outline: none;
  transition: border-color 180ms ease;
}

.proj-card__input:focus {
  border-color: #004f4d;
}

/* Hide number input spinners */
.proj-card__input::-webkit-outer-spin-button,
.proj-card__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.proj-card__input[type="number"] {
  -moz-appearance: textfield;
}

.proj-card__input-add {
  appearance: none;
  width: 34px;
  height: 34px;
  border: 1.5px solid #6cb78f;
  border-radius: 8px;
  background: #6cb78f;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms ease;
}

.proj-card__input-add:hover {
  background: #004f4d;
  border-color: #004f4d;
}

.proj-card__cta {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 24px);
  margin: 0 12px 12px;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #004f4d, #008f7b);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: filter 180ms ease, transform 180ms ease;
}

.proj-card__cta:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* Dark-mode adjustments for project cards */
[data-theme="dark"] .proj-card {
  background: var(--surface);
  border-color: rgba(108, 183, 143, 0.45);
}

[data-theme="dark"] .proj-card__meta-label {
  color: var(--muted);
}

[data-theme="dark"] .proj-card__prompt {
  color: var(--text);
}

[data-theme="dark"] .proj-card__amt {
  background: var(--surface-2);
  color: var(--text);
  border-color: rgba(108, 183, 143, 0.45);
}

[data-theme="dark"] .proj-card__input {
  background: var(--surface-2);
  color: var(--text);
  border-color: rgba(108, 183, 143, 0.45);
}

/* ========= Feature Tiles (legacy, currently commented out in HTML) ========= */
.feature-tile {
  height: 112px;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 220ms ease, border-color 220ms ease;
  text-align: center;
}

.feature-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(108, 183, 143, 0.30);
  box-shadow: var(--shadow);
}

.feature-tile__icon {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(108, 183, 143, 0.16);
  color: var(--secondary);
  border: 1px solid rgba(108, 183, 143, 0.22);
}

[data-theme="dark"] .feature-tile__icon {
  color: var(--primary);
}

.feature-tile__icon i {
  font-size: 1.25rem;
}

.feature-tile__text {
  font-weight: 900;
  color: var(--text);
}

.media-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

/* About section: logo-style media card (narrower + centered logo) */
#about .media-card {
  max-width: 360px;
  margin-inline: auto;
  display: grid;
  place-items: center;
  padding: 18px;
}

#about .media-card img {
  width: min(100%, 260px);
  height: auto;
  min-height: 0;
  object-fit: contain;
}

/* About section: 3 images row (Value / Mission / Vision) */
.about-pillars__card {
  height: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  /*background: var(--surface);*/
  box-shadow: var(--shadow-soft);
  padding: 14px;
  display: grid;
  place-items: center;
  transition: transform 200ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.about-pillars__card img {
  width: 95%;
  max-width: 95%;
  transition: transform 240ms ease, filter 240ms ease;
  object-fit: contain;
}

@media (hover: hover) and (pointer: fine) {
  .about-pillars__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(108, 183, 143, 0.45);
  }

  .about-pillars__card:hover img {
    transform: scale(1.03);
    filter: saturate(1.08) contrast(1.02);
  }
}

.about-pillars__card:focus-within {
  box-shadow: var(--shadow);
  border-color: rgba(108, 183, 143, 0.45);
}

.content-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.payment-callback-card {
  max-width: 42rem;
}

.payment-error-card .payment-error-contacts li {
  font-size: 0.95rem;
}

.content-card .lead {
  font-weight: 700;
  margin-top: 10px;
}

.content-card .muted {
  color: var(--muted);
  margin-top: 8px;
}

.content-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.stat {
  background: rgba(108, 183, 143, 0.12);
  border: 1px solid rgba(108, 183, 143, 0.18);
  border-radius: 16px;
  padding: 12px 12px;
}

.stat__value {
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--secondary);
}

[data-theme="dark"] .stat__value {
  color: var(--primary);
}

.stat__label {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.9rem;
}

@media (max-width: 576px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

.donation-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: radial-gradient(
      1200px 520px at 90% 0%,
      rgba(108, 183, 143, 0.18) 0%,
      rgba(0, 0, 0, 0) 55%
    ),
    var(--surface);
  box-shadow: var(--shadow-soft);
}

.donation-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width: 992px) {
  .donation-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========= Footer ========= */
.site-footer {
  margin-top: 0;
}

.footer-main {
  background-color: #6cb78f;
  padding: 40px 0 30px;
}

.footer-content {
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 0px;
  width: 350px;
  margin: 0 auto;
  border-right: 1px solid #eaebe2;
  padding-right: 20px;
}

.footer-logo-img {
  max-width: 220px;
  width: 100%;
  height: auto;
  margin-bottom: 12px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0px;
}

.footer-socials a {
  color: #fff;
  font-size: 1.4rem;
  transition: transform 200ms ease, opacity 200ms ease;
}

.footer-socials a:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

.footer-info {
  margin: 0;
  font-size: 0.93rem;
  color: #fff;
  line-height: 1.7;
  font-weight: 600;
}

.footer-bottom {
  background-color: #004f4d;
  padding: 14px 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #6cb78f;
  font-size: 0.9rem;
  font-weight: 600;
}

.link-btn {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 900;
  transition: transform 180ms ease, background-color 180ms ease;
}

.link-btn:hover {
  transform: translateY(-1px);
  background: rgba(108, 183, 143, 0.12);
}

/* ── Board Members ── */
.board-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.board-row:last-child {
  margin-bottom: 0;
}

.board-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 200px;
}

.board-member img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  /*border: 3px solid var(--primary);*/
  margin-bottom: 14px;
  /*box-shadow: var(--shadow-soft);*/
  transition: transform 260ms ease, box-shadow 260ms ease;
}

.board-member:hover img {
  transform: scale(1.06);
  box-shadow: var(--shadow);
}

.board-member__prefix 
{
    font-weight:bold;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.board-member__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}

.board-member__role {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 600;
  line-height: 1.4;
}

/* Responsive: full width per member on mobile */
@media (max-width: 767px) {
  .board-row {
    gap: 20px;
  }
  .board-member {
    width: 100%;
  }
  .board-member img {
    width: 75%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/* ───────────────────────────────
   News Cards
   ─────────────────────────────── */
.news-card {
  border: 2px solid #6cb78f;
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  padding: 15px;
}

@media (hover: hover) and (pointer: fine) {
  .news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 79, 77, 0.15);
  }
}

.news-card__img-wrap {
  width: 100%;
  overflow: hidden;
}

.news-card__img-wrap img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.news-card__img-wrap iframe {
  width: 100%;
  height: 220px;
  border: 0;
  display: block;
}

.news-card--video .news-card__img-wrap iframe {
  height: 250px;
}

.news-card--video .news-card__img-wrap img {
  height: 250px;
}

.news-card--video .news-card__body {
  padding-bottom: 16px;
}

.news-card__video-link {
  position: relative;
  display: block;
}

.news-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(to top, rgba(0, 79, 77, 0.45), rgba(0, 0, 0, 0.15));
}

.news-card__play i {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  background: rgba(0, 79, 77, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.92);
}

.news-card__body {
  padding: 18px 20px 22px;
  text-align: right;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #004f4d;
  margin: 0 0 10px;
  line-height: 1.5;
}

.news-card__desc {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.8;
  margin: 0;
  flex: 1;
  text-align: justify;
}

.news-card__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  direction: ltr;
}

.news-card__chevron {
  font-size: 2rem;
  font-weight: 900;
  color: #008f7b;
  flex-shrink: 0;
  line-height: 0;
  margin-bottom: 7px;
}

.news-card__bar {
  flex: 1;
  height: 14px;
  background: #008f7b;
  border-radius: 10px;
}

@media (max-width: 767px) {
  .news-card__img-wrap img {
    height: 180px;
  }

  .news-card__img-wrap iframe {
    height: 180px;
  }

  .news-card--video .news-card__img-wrap iframe {
    height: 210px;
  }

  .news-card--video .news-card__img-wrap img {
    height: 210px;
  }
}

/* ───────────────────────────────
   News detail page (NewsDetails.html)
   ─────────────────────────────── */
.news-detail {
  padding-bottom: 0;
}

.news-detail__breadcrumb {
  margin-bottom: 1.25rem;
}

.news-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--secondary);
  transition: color 0.2s ease;
}

.news-detail__back:hover {
  color: #006b5c;
}

[data-theme="dark"] .news-detail__back:hover {
  color: var(--primary);
}

.news-detail__header {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 1.75rem;
}

.news-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.news-detail__date {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 600;
}

.news-detail__tag {
  display: inline-block;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #004f4d;
  background: rgba(108, 183, 143, 0.22);
  border: 1px solid rgba(0, 143, 123, 0.25);
}

[data-theme="dark"] .news-detail__tag {
  color: #c8f0de;
  background: rgba(108, 183, 143, 0.18);
  border-color: rgba(108, 183, 143, 0.35);
}

.news-detail__title {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 800;
  color: #004f4d;
  line-height: 1.45;
  margin: 0 0 1rem;
}

[data-theme="dark"] .news-detail__title {
  color: var(--text);
}

.news-detail__lead {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--muted);
  margin: 0;
}

.news-detail__hero {
  margin: 0 auto 2rem;
  max-width: 960px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(108, 183, 143, 0.45);
  box-shadow: var(--shadow-soft);
}

.news-detail__hero img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 520px);
  object-fit: cover;
  display: block;
}

.news-detail__body {
  /*max-width: 720px;
  margin-inline: auto;*/
  padding: 1.75rem 1.5rem 2rem;
}

.news-detail__body p {
  margin-bottom: 1.1rem;
  text-align: justify;
}

.news-detail__subtitle {
  font-size: 1.2rem;
  font-weight: 800;
  color: #004f4d;
  margin: 1.5rem 0 0.75rem;
}

[data-theme="dark"] .news-detail__subtitle {
  color: var(--text);
}

.news-detail__list {
  padding-inline-start: 1.25rem;
  margin: 0 0 1.25rem;
}

.news-detail__list li {
  margin-bottom: 0.5rem;
}

.news-detail__share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

.news-detail__share-label {
  font-weight: 700;
  color: var(--muted);
  font-size: 0.95rem;
}

.news-detail__share-actions {
  display: inline-flex;
  gap: 0.65rem;
}

.news-detail__share-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--secondary);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.news-detail__share-btn:hover {
  color: #fff;
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.news-detail__share-btn:nth-child(1) {
  background: #1877f2;
}

.news-detail__share-btn:nth-child(2) {
  background: #0f1419;
}

.news-detail__share-btn:nth-child(3) {
  background: #25d366;
}

/* ========= Projects Categories Grid (projects.html) ========= */
.projects-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 20px;
  max-width: 920px;
  margin: 0 auto;
}

.category-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  color: #00707a;
}

.category-tile__icon {
  width: 116px;
  height: 116px;
  border-radius: 50%;
  /*border: 5px solid #6cb78f;
  outline: 4px solid rgba(108, 183, 143, 0.28);*/
  outline-offset: -13px;
  display: grid;
  place-items: center;
  /*background: #eaf4ef;*/
  transition: transform 180ms ease;
}

.category-tile__icon img {
  width: 115px;
  height: 115px;
  object-fit: contain;
}

.category-tile__label {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.35;
  color: #00707a;
}

@media (max-width: 992px) {
  .projects-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .projects-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .category-tile__icon {
    width: 100px;
    height: 100px;
  }
  .category-tile__icon img {
    width: 115px;
    height: 115px;
  }
  .category-tile__label {
    font-size: 1.3rem;
  }
}

/* ========= Recurring Follow-up Form ========= */
.recurring-followup {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  color: #00707a;
}

.recurring-followup__icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 5px solid #6cb78f;
  outline: 4px solid rgba(108, 183, 143, 0.28);
  outline-offset: -12px;
  display: grid;
  place-items: center;
  background: #eaf4ef;
}

.recurring-followup__icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.recurring-followup__title {
  margin: 0 0 18px;
  font-size: clamp(1.15rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
  color: #00707a;
}

.recurring-followup__form {
  max-width: 1000px;
  margin: 0 auto;
}

.recurring-followup__input {
  width: 100%;
  height: 58px;
  border: 2px solid #92d7c5;
  border-radius: 999px;
  background: transparent;
  color: #00707a;
  text-align: center;
  font-size: 1.95rem;
  font-weight: 700;
  padding: 0 18px;
  outline: none;
}

.recurring-followup__input::placeholder {
  color: #9ad8c8;
}

.recurring-followup__contact {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #00707a;
  font-size: 1.8rem;
  font-weight: 700;
}

.recurring-followup__contact-label {
  font-weight: 800;
}

.recurring-followup__check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.recurring-followup__check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #6cb78f;
}

.recurring-followup--gallery {
  margin-top: 26px;
}

@media (max-width: 767px) {
  .recurring-followup__input {
    height: 52px;
    font-size: 1.2rem;
  }

  .recurring-followup__contact {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 1rem;
    gap: 10px;
  }
}

/* ========= Volunteering Form ========= */
.volunteer-form-wrap {
  max-width: 980px;
  margin: 0 auto;
  background: #f0f0ed;
  border: 1px solid #d9d9d4;
  border-radius: 14px;
  padding: 18px 14px 20px;
}

.volunteer-form__icon {
  width: 126px;
  height: 126px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
}

.volunteer-form__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.volunteer-form__title {
  margin: 0 0 14px;
  text-align: center;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  color: #006f77;
  font-weight: 800;
}

.volunteer-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #d8d8d2;
}

.volunteer-form__cell {
  background: #ecece8;
  border: 1px solid #d8d8d2;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
}

.volunteer-form__label {
  color: #006f77;
  font-size: 1.05rem;
  font-weight: 700;
}

.volunteer-form__input {
  width: 48%;
  border: 1px solid #cfd2cb;
  background: #f8f8f6;
  min-height: 34px;
  padding: 4px 8px;
  color: #004f4d;
  font-weight: 600;
}

.volunteer-form__choices {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: #006f77;
  font-weight: 700;
}

.volunteer-form__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid #d8d8d2;
  border-top: 0;
}

.volunteer-form__panel {
  background: #ecece8;
  border: 1px solid #d8d8d2;
  padding: 0;
}

.volunteer-form__panel-title {
  margin: 0;
  padding: 8px 12px;
  text-align: center;
  background: #76c3a8;
  color: #ffffff;
  font-size: 1.85rem;
  font-weight: 800;
}

.volunteer-form__stack {
  display: grid;
  gap: 8px;
  padding: 10px 14px;
  color: #006f77;
  font-weight: 700;
}

.volunteer-form__block {
  display: grid;
  gap: 8px;
  border-top: 1px solid #d8d8d2;
  border-bottom: 1px solid #d8d8d2;
  padding: 10px 14px;
}

.volunteer-form__block .volunteer-form__input {
  width: 100%;
}

.volunteer-form__actions {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.volunteer-form__submit {
  min-width: 220px;
  font-size: 1.05rem;
  padding-inline: 28px;
}

@media (max-width: 991.98px) {
  .volunteer-form__panel-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 767px) {
  .volunteer-form-wrap {
    padding: 12px 10px 14px;
  }

  .volunteer-form__grid,
  .volunteer-form__split {
    grid-template-columns: 1fr;
  }

  .volunteer-form__cell {
    flex-direction: column;
    align-items: stretch;
  }

  .volunteer-form__input {
    width: 100%;
  }
}

/* ========= Contact Us Page ========= */
.contact-us-wrap {
  /*max-width: 980px;*/
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.contact-us__icon {
  width: 130px;
  height: 130px;
  margin-inline: auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.contact-us__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-us__card {
  background: #7ec8ad;
  border-radius: 26px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.contact-us__map {
  min-height: 290px;
  border-radius: 6px;
  overflow: hidden;
}

.contact-us__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-us__form {
  display: grid;
  align-content: start;
  gap: 10px;
}

.contact-us__input,
.contact-us__textarea {
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.78);
  background: transparent;
  color: #ffffff;
  border-radius: 18px;
  padding: 9px 16px;
  outline: none;
}

.contact-us__input::placeholder,
.contact-us__textarea::placeholder {
  color: rgba(255, 255, 255, 0.9);
}

.contact-us__textarea {
  min-height: 118px;
  resize: vertical;
}

.contact-us__agree {
  margin-top: 2px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #006f77;
  font-weight: 700;
}

.contact-us__note {
  margin: 0;
  color: #006f77;
  font-size: 0.96rem;
  line-height: 1.6;
  font-weight: 700;
}

.contact-us__note a {
  color: #004a8c;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-us__note a:hover {
  color: #003066;
}

.contact-us__terms-error {
  margin: 0;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  color: #b42318;
  background: rgba(180, 35, 24, 0.12);
  border: 1px solid rgba(180, 35, 24, 0.35);
}

[data-theme="dark"] .contact-us__terms-error {
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
}

.contact-us__submit {
  justify-self: start;
  margin-top: 6px;
  min-width: 140px;
}

.contact-us-followup {
  margin-inline: auto;
  width: min(100%, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: #5b5f5f;
}

.contact-us-followup__socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-us-followup__socials a {
  color: #7ec8ad;
  font-size: 2.1rem;
  line-height: 1;
  transition: transform 180ms ease, opacity 180ms ease;
}

.contact-us-followup__socials a:hover {
  transform: translateY(-1px) scale(1.03);
  opacity: 0.9;
}

.contact-us-followup__divider {
  width: 1px;
  align-self: stretch;
  min-height: 100px;
  background: rgba(0, 79, 77, 0.25);
}

.contact-us-followup__info {
  text-align: right;
  line-height: 1.3;
}

.contact-us-followup__info p {
  margin: 0;
  font-size: 1.2rem;
}

@media (max-width: 991.98px) {
  .contact-us__card {
    grid-template-columns: 1fr;
  }

  .contact-us__map {
    min-height: 250px;
  }
}

@media (max-width: 767px) {
  .contact-us__card {
    padding: 14px;
    border-radius: 20px;
  }

  .contact-us-followup {
    flex-direction: column;
    gap: 10px;
  }

  .contact-us-followup__divider {
    width: 90%;
    min-height: 1px;
    height: 1px;
  }

  .contact-us-followup__socials a {
    font-size: 1.9rem;
  }
}

/* ========= Zakat Calculator Page ========= */
.zakat-wrap {
  width: min(100%, 920px);
  margin-inline: auto;
  display: grid;
  gap: 18px;
}

.zakat-icon {
  width: 132px;
  height: 132px;
  margin-inline: auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.zakat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.zakat-card {
  background: #f8fdfb;
  border: 2px solid #c9e8de;
  border-radius: 32px;
  padding: 24px 24px 20px;
  display: grid;
  gap: 14px;
}

.zakat-card__title {
  margin: 0;
  text-align: center;
  color: #006f77;
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  font-weight: 700;
}

.zakat-card__divider {
  height: 2px;
  background: #d4ece4;
}

.zakat-card__note {
  margin: 0;
  text-align: center;
  color: #6a8686;
  font-size: 1rem;
  line-height: 1.75;
}

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

.zakat-input {
  border: 2px solid #70c5a8;
  border-radius: 18px;
  padding: 12px 14px 10px;
  background: #7ec8ad;
  display: grid;
  gap: 4px;
  color: #0b5d66;
  font-weight: 700;
}

.zakat-input span {
  text-align: center;
  font-size: 1.05rem;
}

.zakat-input input {
  border: 0;
  background: transparent;
  text-align: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.3rem;
  outline: none;
}

.zakat-input input::placeholder {
  color: rgba(255, 255, 255, 0.9);
}

.zakat-btn {
  border: 0;
  border-radius: 999px;
  background: #006f77;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
  padding: 10px 24px 12px;
  width: min(100%, 440px);
  justify-self: center;
}

.zakat-btn--light {
  background: #eaf6f0;
  color: #77c9ad;
  border: 2px solid #c8e8de;
}

.zakat-result,
.zakat-total {
  margin: 0;
  text-align: center;
  color: #006f77;
  font-size: 2rem;
  font-weight: 700;
}

.zakat-result--text {
  font-size: 1.15rem;
  line-height: 1.7;
  font-weight: 600;
}

.zakat-total {
  color: #7ec8ad;
  font-size: 2.6rem;
}

.zakat-notes {
  background: #ffffff;
  border-radius: 14px;
  padding: 20px 18px;
  text-align: center;
  color: #6e8b8a;
}

.zakat-notes h3 {
  margin: 0 0 8px;
  color: #7ec8ad;
  font-size: 2rem;
  font-weight: 700;
}

.zakat-notes p {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.6;
}

@media (max-width: 991.98px) {
  .zakat-grid {
    grid-template-columns: 1fr;
  }

  .zakat-btn {
    font-size: 1.45rem;
  }

  .zakat-notes h3 {
    font-size: 1.6rem;
  }

  .zakat-notes p {
    font-size: 1.3rem;
  }
}

@media (max-width: 767px) {
  .zakat-card {
    border-radius: 22px;
    padding: 16px 14px;
  }

  .zakat-icon {
    width: 104px;
    height: 104px;
  }

  .zakat-input span {
    font-size: 0.98rem;
  }

  .zakat-btn {
    width: 100%;
    font-size: 1.2rem;
  }

  .zakat-result {
    font-size: 1.6rem;
  }

  .zakat-total {
    font-size: 2rem;
  }
}

/* ───────────────────────────────
   Shopping cart (ShoppingCart.html)
   ─────────────────────────────── */
.shopping-cart-page.section--soft {
  background: #eef1f4;
}

[data-theme="dark"] .shopping-cart-page.section--soft {
  background: var(--surface-2);
}

.shopping-cart-stack {
  max-width: 720px;
  margin-inline: auto;
  padding-bottom: 1rem;
}

.shopping-cart-card {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 1.25rem 1.35rem 1.35rem;
  margin-bottom: 1.25rem;
}

[data-theme="dark"] .shopping-cart-card {
  background: var(--surface);
  border-color: var(--border);
}

.shopping-cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.shopping-cart-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  padding: 16px 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.shopping-cart-list li:last-child .shopping-cart-row {
  border-bottom: none;
  padding-bottom: 4px;
}

.shopping-cart-row__thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface-2);
}

.shopping-cart-row__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: right;
}

.shopping-cart-row__title {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text);
}

.shopping-cart-row__tag {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0b6fa6;
}

.shopping-cart-row__tag--sadaqah {
  color: #1565c0;
}

[data-theme="dark"] .shopping-cart-row__tag,
[data-theme="dark"] .shopping-cart-row__tag--sadaqah {
  color: #7eb8e8;
}

.shopping-cart-row__price {
  flex-shrink: 0;
  font-weight: 800;
  font-size: 1rem;
  color: #0b6fa6;
}

[data-theme="dark"] .shopping-cart-row__price {
  color: #90caf9;
}

.shopping-cart-row__remove {
  flex-shrink: 0;
  margin-inline-start: 4px;
  padding: 4px 2px;
  border: none;
  background: none;
  font: inherit;
  font-weight: 700;
  color: #c62828;
  cursor: pointer;
  text-decoration: none;
}

.shopping-cart-row__remove:hover {
  text-decoration: underline;
  color: #b71c1c;
}

.shopping-cart-card--summary {
  padding-bottom: 1.5rem;
}

.shopping-cart-total {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.shopping-cart-total__label {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text);
}

.shopping-cart-total__value {
  font-weight: 800;
  font-size: 1.1rem;
  color: #0b6fa6;
}

[data-theme="dark"] .shopping-cart-total__value {
  color: #90caf9;
}

.shopping-cart-phone {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #fafbfb;
  color: var(--text);
  font-size: 0.96rem;
  margin-bottom: 1.1rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.shopping-cart-phone::placeholder {
  color: var(--muted);
}

.shopping-cart-phone:focus {
  border-color: rgba(0, 143, 123, 0.55);
  box-shadow: 0 0 0 3px var(--focus);
}

[data-theme="dark"] .shopping-cart-phone {
  background: var(--surface-2);
  border-color: var(--border);
}

.shopping-cart-pay-wrap {
  margin-bottom: 1.25rem;
}

.shopping-cart-pay__hint {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
}

.shopping-cart-pay-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 576px) {
  .shopping-cart-pay-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .shopping-cart-pay-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
}

.shopping-cart-pay-option {
  position: relative;
  display: block;
  margin: 0;
  cursor: pointer;
}

.shopping-cart-pay-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
}

.shopping-cart-pay-option__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 82px;
  padding: 10px 8px;
  border-radius: 12px;
  border: 2px solid rgba(15, 23, 42, 0.1);
  background: #f8fafb;
  text-align: center;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

[data-theme="dark"] .shopping-cart-pay-option__box {
  background: var(--surface-2);
  border-color: var(--border);
}

.shopping-cart-pay-option input:focus-visible + .shopping-cart-pay-option__box {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.shopping-cart-pay-option input:checked + .shopping-cart-pay-option__box {
  border-color: var(--secondary);
  background: rgba(108, 183, 143, 0.14);
  box-shadow: 0 0 0 1px rgba(0, 143, 123, 0.25);
}

.shopping-cart-pay-option__box img {
  width: 100%;
  max-width: 61.6px;
  height: 28px;
  object-fit: contain;
  display: block;
}

.shopping-cart-pay-option__cap {
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--muted);
  max-width: 100%;
}

.shopping-cart-checkout {
  width: 100%;
  justify-content: center;
  margin-bottom: 1.15rem;
  padding-top: 14px;
  padding-bottom: 14px;
  font-size: 1.05rem;
  border-radius: 14px;
}

.shopping-cart-support {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text);
  text-align: right;
}

.shopping-cart-support p {
  margin: 0 0 0.5rem;
}

.shopping-cart-support__phones {
  margin: 0 !important;
  font-weight: 700;
}

.shopping-cart-support a {
  color: #0b6fa6;
}

.shopping-cart-support a:hover {
  color: var(--secondary);
}

@media (max-width: 575.98px) {
  .shopping-cart-row {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .shopping-cart-row__price {
    order: 3;
    margin-inline-end: auto;
  }

  .shopping-cart-row__remove {
    order: 4;
  }
}

/* ───────────────────────────────
   Terms & conditions (TermsAndConditions.html)
   ─────────────────────────────── */
.terms-article {
  max-width: 800px;
  margin-inline: auto;
  padding: 1.5rem 1.35rem 1.75rem;
}

.terms-article__meta {
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.terms-article__lead {
  margin-bottom: 1.25rem;
  line-height: 1.85;
  text-align: justify;
  font-weight: 600;
}

.terms-article h2 {
  font-size: 1.12rem;
  font-weight: 800;
  margin: 1.5rem 0 0.65rem;
  color: #004f4d;
  line-height: 1.45;
}

[data-theme="dark"] .terms-article h2 {
  color: var(--text);
}

.terms-article p {
  margin: 0 0 0.85rem;
  line-height: 1.85;
  text-align: justify;
}

.terms-article__list {
  margin: 0 0 0.85rem;
  padding-inline-start: 1.25rem;
}

.terms-article__list li {
  margin-bottom: 0.5rem;
  line-height: 1.8;
  text-align: justify;
}

.terms-article a {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.terms-article a:hover {
  color: #006b5c;
}

[data-theme="dark"] .terms-article a:hover {
  color: var(--primary);
}
