:root {
  --primary: #1a5f3a;
  --primary-dark: #0f3f27;
  --primary-900: #0b2f20;
  --primary-800: #123f2b;
  --accent: #d4a574;
  --accent-soft: #f3e2c9;
  --ink: #18231f;
  --muted: #66736c;
  --soft: #f6f3ed;
  --soft-green: #eef7f1;
  --line: #e9e4db;
  --shadow: 0 24px 70px rgba(15, 63, 39, .12);
  --shadow-soft: 0 14px 36px rgba(22, 50, 36, .08);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 4%, rgba(212,165,116,.12), transparent 26rem),
    linear-gradient(180deg, #fff 0%, #fff 56%, #fbfaf7 100%);
  overflow-x: hidden;
}

.rtl-site {
  direction: rtl;
  text-align: right;
  font-family: "Cairo", "Inter", Arial, sans-serif;
}

h1, h2, h3, h4, h5, .navbar-brand {
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  letter-spacing: 0;
}

.rtl-site h1,
.rtl-site h2,
.rtl-site h3,
.rtl-site h4,
.rtl-site h5,
.rtl-site .navbar-brand,
.rtl-site .section-title,
.rtl-site .hero-copy h1 {
  font-family: "Cairo", "Plus Jakarta Sans", Arial, sans-serif;
  line-height: 1.12;
}

.site-header {
  background: transparent;
  transition: transform .28s ease, box-shadow .28s ease;
}
.top-contact-bar {
  background:
    radial-gradient(circle at 18% 0%, rgba(212,165,116,.18), transparent 18rem),
    linear-gradient(135deg, var(--primary-900), var(--primary));
  color: rgba(255,255,255,.88);
  font-size: .82rem;
  font-weight: 700;
  padding: .48rem 0;
}
.top-contact-bar a,
.top-contact-bar span {
  color: rgba(255,255,255,.88);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.top-contact-bar a:hover { color: var(--accent); }
.top-socials {
  display: inline-flex;
  gap: .45rem;
}
.top-socials a {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.08);
  transition: background .2s ease, transform .2s ease, color .2s ease;
}
.top-socials a:hover {
  background: var(--accent);
  color: var(--primary-900);
  transform: translateY(-2px);
}
.main-navbar {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(26,95,58,.1);
  box-shadow: 0 18px 40px rgba(15,63,39,.08);
  padding: .72rem 0;
  transition: padding .24s ease, background .24s ease, box-shadow .24s ease;
}
.site-header.is-scrolled .main-navbar {
  padding: .42rem 0;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 50px rgba(15,63,39,.12);
}
.site-header.is-scrolled .brand-logo { height: 58px; }
.brand-mark {
  width: 74px;
  height: 74px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(26,95,58,.1), rgba(212,165,116,.18));
  border: 1px solid rgba(26,95,58,.12);
  box-shadow: 0 12px 28px rgba(26,95,58,.08);
  transition: width .24s ease, height .24s ease;
}
.site-header.is-scrolled .brand-mark {
  width: 64px;
  height: 64px;
}
.brand-text {
  display: grid;
  line-height: 1.05;
}
.brand-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--primary);
}
.brand-subtitle {
  font-family: "Inter", Arial, sans-serif;
  font-size: .78rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.brand-logo { height: 66px; width: auto; transition: height .24s ease; }
.navbar .nav-link {
  color: rgba(24,35,31,.78);
  font-size: .93rem;
  border-radius: 999px;
  padding: .62rem .82rem !important;
  position: relative;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.navbar .nav-link::after {
  content: "";
  position: absolute;
  left: .5rem;
  right: .5rem;
  bottom: .25rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}
.rtl-site .navbar .nav-link::after {
  transform-origin: right;
}
.navbar .nav-link:hover {
  color: var(--primary);
  background: rgba(26,95,58,.07);
  transform: translateY(-1px);
}
.navbar .nav-link:hover::after { transform: scaleX(1); }
.nav-donate {
  padding: .8rem 1.15rem !important;
  white-space: nowrap;
}
.text-primary-brand { color: var(--primary) !important; }
.bg-primary-brand { background: var(--primary) !important; }
.btn-brand {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: .84rem 1.3rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(26,95,58,.22);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-brand:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px rgba(26,95,58,.3); }
.btn-accent {
  background: linear-gradient(135deg, #e6bd8c, var(--accent));
  color: #18231f;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(212,165,116,.28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(212,165,116,.35); }
.btn-outline-brand { border: 1px solid var(--primary); color: var(--primary); border-radius: 999px; font-weight: 700; }
.btn-outline-brand:hover { background: var(--primary); color: #fff; transform: translateY(-1px); }

.hero, .hero-slider {
  min-height: 88vh;
}
.hero {
  background-position: center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6,34,22,.92), rgba(10,57,35,.72), rgba(10,57,35,.18)),
    radial-gradient(circle at 72% 22%, rgba(212,165,116,.32), transparent 18rem);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000, transparent 74%);
  z-index: -1;
}
.rtl-site .hero::before {
  background:
    linear-gradient(270deg, rgba(6,34,22,.92), rgba(10,57,35,.72), rgba(10,57,35,.18)),
    radial-gradient(circle at 28% 22%, rgba(212,165,116,.32), transparent 18rem);
}
.rtl-site .hero::after {
  mask-image: linear-gradient(270deg, #000, transparent 74%);
}
.hero > .container { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.8rem, 6.5vw, 6.4rem); font-weight: 800; line-height: .92; max-width: 980px; }
.hero .lead { max-width: 760px; color: rgba(255,255,255,.9); }
.hero-panel {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .55rem .85rem;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-weight: 800;
  backdrop-filter: blur(12px);
}
.hero-trust {
  margin-top: 2.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: rgba(255,255,255,.9);
  font-weight: 700;
  font-size: .92rem;
}
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--primary-900);
}
.hero-slider .carousel-item {
  min-height: 100vh;
}
.hero-slide {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,30,20,.94) 0%, rgba(12,58,36,.78) 46%, rgba(12,58,36,.22) 100%),
    radial-gradient(circle at 74% 20%, rgba(212,165,116,.35), transparent 19rem);
  z-index: -2;
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.052) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: linear-gradient(90deg, #000, transparent 78%);
  z-index: -1;
}
.rtl-site .hero-slide::before {
  background:
    linear-gradient(270deg, rgba(5,30,20,.94) 0%, rgba(12,58,36,.78) 46%, rgba(12,58,36,.22) 100%),
    radial-gradient(circle at 26% 20%, rgba(212,165,116,.35), transparent 19rem);
}
.rtl-site .hero-slide::after {
  mask-image: linear-gradient(270deg, #000, transparent 78%);
}
.hero-slider .carousel-item.active .hero-slide {
  animation: heroZoom 6.8s ease-out both;
}
.hero-copy {
  color: #fff;
  padding-top: 10rem;
  padding-bottom: 8rem;
}
.hero-copy h1 {
  font-size: clamp(2.9rem, 6.4vw, 6.6rem);
  font-weight: 800;
  line-height: .92;
  max-width: 1000px;
}
.hero-copy .lead {
  max-width: 770px;
  color: rgba(255,255,255,.9);
}
.rtl-site .hero-copy .lead,
.rtl-site .hero .lead {
  margin-left: auto;
  margin-right: 0;
}
.hero-slider .carousel-item.active .hero-panel,
.hero-slider .carousel-item.active .hero-copy h1,
.hero-slider .carousel-item.active .hero-copy .lead,
.hero-slider .carousel-item.active .hero-copy .btn,
.hero-slider .carousel-item.active .hero-trust {
  animation: heroTextUp .78s cubic-bezier(.2,.8,.2,1) both;
}
.hero-slider .carousel-item.active .hero-copy h1 { animation-delay: .12s; }
.hero-slider .carousel-item.active .hero-copy .lead { animation-delay: .22s; }
.hero-slider .carousel-item.active .hero-copy .btn { animation-delay: .32s; }
.hero-slider .carousel-item.active .hero-trust { animation-delay: .42s; }
.hero-impact-card {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.1);
  color: #fff;
  border-radius: 8px;
  padding: 1.5rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  transform: translateY(44px);
}
.hero-impact-value {
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  margin: .6rem 0 .2rem;
}
.hero-impact-line {
  height: 4px;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), rgba(255,255,255,.18));
  margin-bottom: 1rem;
  overflow: hidden;
}
.rtl-site .hero-impact-line {
  background: linear-gradient(270deg, var(--accent), rgba(255,255,255,.18));
}
.hero-slider .carousel-item.active .hero-impact-line::after {
  content: "";
  display: block;
  height: 100%;
  width: 40%;
  background: rgba(255,255,255,.75);
  animation: heroProgress 6.3s linear both;
}
.hero-slider-ui {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2rem;
  z-index: 5;
}
.hero-indicators {
  position: static;
  margin: 0;
  gap: .5rem;
}
.hero-indicators [data-bs-target] {
  width: 52px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  opacity: .45;
  background-color: #fff;
}
.hero-indicators .active {
  opacity: 1;
  background: var(--accent);
}
.hero-arrows {
  display: flex;
  gap: .75rem;
}
.hero-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.28);
  background: rgba(255,255,255,.1);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  transition: background .2s ease, transform .2s ease;
}
.hero-arrow:hover {
  background: var(--accent);
  color: var(--primary-900);
  transform: translateY(-2px);
}

@keyframes heroZoom {
  from { background-size: 104% auto; }
  to { background-size: 110% auto; }
}

@keyframes heroTextUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroProgress {
  from { transform: translateX(-110%); }
  to { transform: translateX(260%); }
}

.section-padding { padding: 92px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--primary);
  background: rgba(26,95,58,.08);
  border-radius: 999px;
  padding: .45rem .85rem;
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .02em;
}
.section-title { font-weight: 800; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.05; }
.section-lede { color: var(--muted); font-size: 1.08rem; max-width: 760px; }
.page-intro {
  position: relative;
  margin-top: -38px;
  z-index: 4;
}
.page-intro-panel {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(26,95,58,.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}
.page-intro-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}
.filter-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
}
.field-note {
  border-left: 4px solid var(--accent);
  background: linear-gradient(135deg, #fff, var(--soft));
  padding: 1.25rem;
  border-radius: 8px;
}
.rtl-site .field-note {
  border-left: 0;
  border-right: 4px solid var(--accent);
}
.detail-band {
  background: #fff;
  border: 1px solid rgba(26,95,58,.1);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.detail-band-image {
  min-height: 100%;
  height: 100%;
  object-fit: cover;
}
.content-check {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
}
.rtl-site .content-check,
.rtl-site .rich-list-item {
  flex-direction: row-reverse;
}
.content-check:last-child { border-bottom: 0; }
.content-check i {
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: .1rem;
}
.focus-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.35rem;
  height: 100%;
  box-shadow: var(--shadow-soft);
}
.focus-card .number {
  font-family: "Space Grotesk", Arial, sans-serif;
  color: var(--accent);
  font-weight: 800;
  font-size: 2.2rem;
  line-height: 1;
}
.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .75fr);
  gap: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(26,95,58,.1);
  box-shadow: var(--shadow);
}
.project-feature img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}
.project-feature-content {
  padding: clamp(1.5rem, 4vw, 3rem);
}
.outcome-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.outcome-row:last-child { border-bottom: 0; }
.outcome-row .icon-box {
  background: rgba(255,255,255,.12);
  color: var(--accent);
}
.program-card {
  position: relative;
}
.program-card .card-img-fixed,
.project-card .card-img-fixed,
.story-card .card-img-fixed {
  transition: transform .45s ease;
}
.program-card:hover .card-img-fixed,
.project-card:hover .card-img-fixed,
.story-card:hover .card-img-fixed {
  transform: scale(1.04);
}
.card-media {
  overflow: hidden;
  position: relative;
}
.card-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(transparent, rgba(0,0,0,.42));
  pointer-events: none;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .4rem .68rem;
  border-radius: 999px;
  background: rgba(26,95,58,.08);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 800;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.impact-tile {
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: 1.25rem;
  height: 100%;
  backdrop-filter: blur(12px);
}
.impact-tile i {
  color: var(--accent);
  font-size: 1.65rem;
}
.quote-band {
  background:
    linear-gradient(90deg, rgba(11,47,32,.95), rgba(26,95,58,.82)),
    url('/assets/images/DSC02487-2048x1536.jpg') center/cover;
  color: #fff;
  border-radius: 8px;
  padding: clamp(1.5rem, 4vw, 3rem);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.quote-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: .35;
  pointer-events: none;
}
.rich-list {
  display: grid;
  gap: .85rem;
}
.rich-list-item {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
}
.rich-list-item i {
  color: var(--primary);
  margin-top: .15rem;
}
.team-card img {
  border: 4px solid rgba(212,165,116,.32);
}
.contact-form-card {
  background: #fff;
  border: 1px solid rgba(26,95,58,.1);
  box-shadow: var(--shadow);
  border-radius: 8px;
}
.custom-page-section .custom-section-body {
  font-size: 1.05rem;
  line-height: 1.8;
}
.custom-page-section img {
  transition: transform .35s ease, box-shadow .35s ease;
}
.custom-page-section img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow) !important;
}
.custom-page-section .custom-section-body p:last-child {
  margin-bottom: 0;
}
.trust-strip {
  background: linear-gradient(135deg, var(--primary-900), var(--primary));
  color: #fff;
  box-shadow: 0 18px 45px rgba(15,63,39,.18);
}
.soft-section {
  background:
    radial-gradient(circle at 90% 8%, rgba(26,95,58,.08), transparent 24rem),
    linear-gradient(180deg, #fff, var(--soft));
}
.deep-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(212,165,116,.2), transparent 24rem),
    linear-gradient(135deg, var(--primary-900), var(--primary));
  color: #fff;
}

.feature-card, .content-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.94)),
    radial-gradient(circle at 0% 0%, rgba(212,165,116,.14), transparent 16rem);
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
  overflow: hidden;
  position: relative;
}
.feature-card::before, .content-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(212,165,116,.14), transparent 34%);
  opacity: 0;
  transition: opacity .25s ease;
}
.feature-card:hover::before, .content-card:hover::before { opacity: 1; }
.feature-card:hover, .content-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(26,95,58,.22);
}
.feature-card h3,
.feature-card h4,
.feature-card h5,
.content-card h3,
.content-card h4 {
  color: var(--primary-900);
}
.content-card .p-4 {
  position: relative;
  z-index: 1;
}
.content-card .badge { border-radius: 999px; padding: .45rem .7rem; }
.card-img-fixed { height: 248px; object-fit: cover; width: 100%; }
.icon-box {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(212,165,116,.26), rgba(26,95,58,.08));
  color: var(--primary);
  font-size: 1.55rem;
}
.stat-card {
  background: #fff;
  border: 1px solid rgba(26,95,58,.08);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.stat-card::after {
  content: "";
  position: absolute;
  inset: auto -20px -34px auto;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(26,95,58,.06);
}
.stat-value { color: var(--accent); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); }
.image-mosaic img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.image-mosaic .tall img { min-height: 310px; }
.process-step {
  position: relative;
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  height: 100%;
  backdrop-filter: blur(12px);
}
.process-step .step-number {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary-900);
  font-weight: 900;
  margin-bottom: 1rem;
}
.donation-band {
  background:
    linear-gradient(90deg, rgba(15,63,39,.94), rgba(26,95,58,.86)),
    url('/assets/images/234525.png') center/cover;
  color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.partner-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.72);
}
.partner-logo {
  height: 74px;
  width: 100%;
  object-fit: contain;
  filter: saturate(.8);
  border-radius: 8px;
  opacity: .78;
  background: #fff;
  padding: .55rem;
  border: 1px solid var(--line);
  transition: opacity .2s ease, transform .2s ease, filter .2s ease;
}
.partner-logo:hover {
  opacity: 1;
  filter: saturate(1);
  transform: translateY(-2px);
}
.info-tile {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.info-tile i {
  color: var(--primary);
  font-size: 1.35rem;
}
.donation-method {
  border-left: 4px solid var(--accent);
}
.timeline-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.timeline-year {
  font-weight: 900;
  color: var(--primary);
  font-family: "Space Grotesk", Arial, sans-serif;
}

.page-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(212,165,116,.22), transparent 24rem),
    linear-gradient(135deg, #0f3f27, #1a5f3a);
  color: #fff;
  padding: 190px 0 92px;
  position: relative;
  overflow: hidden;
}
.page-hero.has-image {
  background-position: center;
  background-size: cover;
}
.page-hero.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,47,32,.9), rgba(26,95,58,.72), rgba(26,95,58,.24));
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -45% auto;
  width: 520px;
  height: 520px;
  background: rgba(212,165,116,.18);
  border-radius: 50%;
}
.page-hero .container { position: relative; z-index: 2; }
.progress { height: 10px; border-radius: 999px; }
.progress-bar { background-color: var(--primary); }
.footer { background: #0f2922; color: #dfe8e2; }
.footer {
  background:
    radial-gradient(circle at 16% 0%, rgba(212,165,116,.13), transparent 22rem),
    linear-gradient(135deg, #0b211c, #0f2922);
}
.footer a { color: #dfe8e2; text-decoration: none; }
.footer a:hover { color: var(--accent); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

.admin-body {
  background:
    radial-gradient(circle at 85% 0%, rgba(212,165,116,.16), transparent 28rem),
    #f7f8f5;
}
.admin-body .form-control,
.admin-body .form-select {
  border-color: #dfe5dc;
  border-radius: 8px;
  padding: .72rem .9rem;
}
.admin-body .form-control:focus,
.admin-body .form-select:focus {
  border-color: rgba(26,95,58,.55);
  box-shadow: 0 0 0 .2rem rgba(26,95,58,.12);
}
.admin-sidebar {
  background:
    radial-gradient(circle at 40% 0%, rgba(212,165,116,.12), transparent 14rem),
    #0f2922;
  color: #dfe8e2;
  min-height: 100vh;
  position: fixed;
  width: 260px;
  left: 0;
  top: 0;
  z-index: 1040;
}
.admin-sidebar a { color: rgba(223,232,226,.76); text-decoration: none; display: flex; gap: .65rem; padding: .72rem .9rem; border-radius: 8px; font-weight: 650; transition: background .18s ease, color .18s ease, transform .18s ease; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: #1a5f3a; color: #fff; transform: translateX(2px); }
.admin-main { margin-left: 260px; min-height: 100vh; }
.admin-topbar { background: rgba(255,255,255,.86); backdrop-filter: blur(14px); border-bottom: 1px solid #e5e8df; position: sticky; top: 0; z-index: 100; }
.admin-metric {
  background: #fff;
  border: 1px solid rgba(26,95,58,.08);
  border-radius: 8px;
  padding: 1.35rem;
  height: 100%;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.admin-metric i {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--primary);
  background: rgba(26,95,58,.08);
  margin-bottom: 1rem;
}
.admin-metric::after {
  content: "";
  position: absolute;
  width: 82px;
  height: 82px;
  right: -28px;
  top: -28px;
  border-radius: 50%;
  background: rgba(212,165,116,.18);
}
.admin-panel {
  background: #fff;
  border: 1px solid rgba(26,95,58,.08);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.admin-hero-panel {
  background:
    radial-gradient(circle at 92% 0%, rgba(212,165,116,.18), transparent 18rem),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(246,243,237,.92));
  border: 1px solid rgba(26,95,58,.1);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}
.admin-kicker {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--primary);
  font-weight: 900;
  font-size: .78rem;
  text-transform: uppercase;
  margin-bottom: .7rem;
}
.admin-mini-metric {
  background: #fff;
  border: 1px solid rgba(26,95,58,.08);
  border-radius: 8px;
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.admin-mini-metric span {
  color: var(--muted);
  font-weight: 800;
}
.admin-mini-metric strong {
  color: var(--primary);
  font-size: 1.55rem;
}
.cms-page-card {
  background: #fff;
  border: 1px solid rgba(26,95,58,.1);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.cms-page-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(26,95,58,.2);
}
.cms-page-media {
  height: 150px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.cms-page-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,47,32,.08), rgba(11,47,32,.5));
}
.cms-lang-badge {
  position: absolute;
  top: .85rem;
  left: .85rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  padding: .35rem .65rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  font-size: .75rem;
}
.cms-lang-badge.en { background: rgba(26,95,58,.92); }
.cms-lang-badge.ar { background: rgba(212,165,116,.94); color: var(--primary-900); }
.media-card {
  background: #fff;
  border: 1px solid rgba(26,95,58,.1);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.media-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(26,95,58,.2);
}
.media-thumb {
  display: block;
  height: 210px;
  background-size: cover;
  background-position: center;
  background-color: #eef2ea;
  position: relative;
}
.media-thumb::after {
  content: "\F1C5";
  font-family: "bootstrap-icons";
  position: absolute;
  right: .8rem;
  bottom: .8rem;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: rgba(11,47,32,.78);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease;
}
.media-card:hover .media-thumb::after {
  opacity: 1;
  transform: translateY(0);
}
.media-card-body {
  padding: 1rem;
}
.media-upload-preview {
  width: min(260px, 100%);
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(26,95,58,.12);
}
.media-path-field {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .78rem;
}
.activity-media-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #0b2f20;
  box-shadow: var(--shadow-soft);
}
.activity-media-frame iframe,
.activity-media-frame video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
}
.media-type-badge {
  position: absolute;
  left: .85rem;
  bottom: .85rem;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .4rem .7rem;
  border-radius: 999px;
  background: rgba(11,47,32,.88);
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0,0,0,.16);
}
.min-w-0 {
  min-width: 0;
}
.table {
  --bs-table-hover-bg: rgba(26,95,58,.045);
}
.datatable thead th,
.table thead th {
  color: var(--primary-900);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.login-shell {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(11,47,32,.95), rgba(26,95,58,.72)),
    url('/assets/images/DSC00098-Copy-2048x1536.jpg') center/cover;
  display: flex;
  align-items: center;
}
.login-card {
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.login-copy {
  color: #fff;
}
.table img { width: 66px; height: 46px; object-fit: cover; border-radius: 6px; }

@media (max-width: 991px) {
  .section-padding { padding: 64px 0; }
  .admin-sidebar { position: static; width: 100%; min-height: auto; }
  .admin-main { margin-left: 0; }
  .hero, .hero-slider, .hero-slide, .hero-slider .carousel-item { min-height: 78vh; }
  .hero h1, .hero-copy h1 { font-size: clamp(2.45rem, 12vw, 4rem); }
  .top-contact-bar { display: none; }
  .main-navbar { padding: .55rem 0; }
  .brand-mark { width: 62px; height: 62px; }
  .brand-logo, .site-header.is-scrolled .brand-logo { height: 54px; }
  .brand-title { font-size: 1.15rem; }
  .brand-subtitle { font-size: .68rem; }
  .hero-copy { padding-top: 7.2rem; padding-bottom: 6rem; }
  .page-hero { padding-top: 135px; }
  .navbar .nav-link::after { display: none; }
  .impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-feature { grid-template-columns: 1fr; }
  .project-feature img { min-height: 280px; }
  .admin-hero-panel { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 575px) {
  .card-img-fixed { height: 215px; }
  .hero, .hero-slider, .hero-slide, .hero-slider .carousel-item { min-height: 84vh; }
  .page-hero { padding: 125px 0 70px; }
  .brand-text { display: none; }
  .brand-mark { width: 58px; height: 58px; }
  .brand-logo, .site-header.is-scrolled .brand-logo { height: 50px; }
  .hero-slider-ui { bottom: 1rem; }
  .hero-indicators [data-bs-target] { width: 34px; }
  .hero-arrow { width: 42px; height: 42px; }
  .hero-trust { gap: .55rem; }
  .impact-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider .carousel-item.active .hero-slide,
  .hero-slider .carousel-item.active .hero-panel,
  .hero-slider .carousel-item.active .hero-copy h1,
  .hero-slider .carousel-item.active .hero-copy .lead,
  .hero-slider .carousel-item.active .hero-copy .btn,
  .hero-slider .carousel-item.active .hero-trust,
  .hero-slider .carousel-item.active .hero-impact-line::after {
    animation: none;
  }
}
