/* =====================================================================
   Alaietidal Organization — public site
   Palette: deep ink · teal (dialogue) · clay (Sudan's earth) · gold (hope) · sand
   Motif:   the arch (doorways of mosques and churches alike) and two
            overlapping circles — common ground
   ===================================================================== */
:root {
  --ink: #0F2A30;
  --ink-2: #163A42;
  --teal: #1D6B6F;
  --teal-2: #2A8A8A;
  --teal-soft: #E3EFEE;
  --clay: #B8613A;
  --clay-2: #9E4F2C;
  --gold: #D4A24C;
  --gold-2: #E6BC6C;
  --sand: #F5EFE6;
  --sand-2: #EADFCF;
  --paper: #FFFDF9;
  --text: #22343A;
  --muted: #5D6D71;
  --line: #E6DDD0;
  --radius: 18px;
  --shadow: 0 14px 40px -18px rgba(15, 42, 48, .35);
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Fraunces', Georgia, serif;
  --pattern: url('../images/pattern.svg');
}
.is-rtl {
  --font-body: 'IBM Plex Sans Arabic', 'Segoe UI', Tahoma, sans-serif;
  --font-head: 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', Tahoma, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  font-size: 1.02rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.is-rtl body, body.is-rtl { line-height: 1.9; }
main, footer { overflow-x: clip; }
h1, h2, h3, h4, .display-title { font-family: var(--font-head); color: var(--ink); font-weight: 600; letter-spacing: -.01em; }
.is-rtl h1, .is-rtl h2, .is-rtl h3, .is-rtl h4 { letter-spacing: 0; font-weight: 700; line-height: 1.5; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay); }
img { max-width: 100%; }
.is-rtl .flip-rtl { display: inline-block; transform: scaleX(-1); }
::selection { background: var(--gold-2); color: var(--ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.skip-link { position: absolute; inset-inline-start: 1rem; top: -60px; z-index: 2000; background: var(--gold); color: var(--ink); padding: .5rem 1rem; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn { font-weight: 700; border-radius: 999px; padding: .65rem 1.35rem; display: inline-flex; align-items: center; gap: .5rem; justify-content: center; }
.btn-lg { padding: .85rem 1.7rem; font-size: 1.02rem; }
.btn-sm { padding: .4rem .9rem; }
.btn-brand { background: var(--teal); color: #fff; border: 2px solid var(--teal); }
.btn-brand:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-outline-brand { border: 2px solid var(--teal); color: var(--teal); background: transparent; }
.btn-outline-brand:hover { background: var(--teal); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); border: 2px solid var(--gold); }
.btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--ink); }
.btn-clay { background: var(--clay); color: #fff; border: 2px solid var(--clay); }
.btn-clay:hover { background: var(--clay-2); border-color: var(--clay-2); color: #fff; }
.btn-ghost { color: #fff; border: 2px solid rgba(255,255,255,.28); background: rgba(255,255,255,.04); }
.btn-ghost:hover { color: var(--ink); background: #fff; border-color: #fff; }
.ghost-play { width: 28px; height: 28px; border-radius: 50%; background: var(--clay); color: #fff; display: inline-grid; place-items: center; font-size: 1rem; }
.btn-outline-light:hover { color: var(--ink); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.78); font-size: .83rem; padding: .45rem 0; }
.topbar a, .topbar span { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--gold-2); }
.topbar .motto { color: var(--gold-2); font-weight: 600; }
.topbar .social { gap: .8rem; }

.site-header { position: sticky; top: 0; z-index: 1030; background: var(--paper); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px -14px rgba(15,42,48,.4); border-color: var(--line); }
.site-header .navbar { padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); min-width: 0; }
.brand-logo { width: 52px; height: 52px; object-fit: contain; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font-family: var(--font-head); font-size: 1.32rem; font-weight: 700; color: var(--ink); }
.brand-text small { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.is-rtl .brand-text small { letter-spacing: 0; font-size: .76rem; }
.brand:hover { color: var(--ink); }

.navbar-nav .nav-link { font-weight: 700; color: var(--ink); padding: .5rem .85rem !important; border-radius: 999px; font-size: .96rem; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.show { color: var(--teal); background: var(--teal-soft); }
.navbar-nav .nav-link.active { color: var(--teal); position: relative; }
.navbar-nav .nav-link.active::after { content: ""; position: absolute; inset-inline: 30%; bottom: 2px; height: 3px; border-radius: 3px; background: var(--gold); }
.dropdown-menu { border: 1px solid var(--line); border-radius: 14px; padding: .5rem; box-shadow: var(--shadow); min-width: 15rem; }
.dropdown-item { border-radius: 9px; padding: .55rem .8rem; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: .6rem; }
.dropdown-item i { color: var(--teal); }
.dropdown-item:hover, .dropdown-item:focus { background: var(--teal-soft); color: var(--teal); }
.dropdown-item.active, .dropdown-item:active { background: var(--teal); color: #fff; }
.dropdown-item.active i { color: #fff; }

.lang-switch { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--ink); text-decoration: none; padding: .45rem .8rem; border-radius: 999px; border: 1.5px solid var(--line); font-size: .92rem; }
.lang-switch:hover { border-color: var(--teal); color: var(--teal); }
.lang-switch span[lang="ar"], .lang-switch:lang(ar) span { font-family: 'IBM Plex Sans Arabic', 'Noto Kufi Arabic', Tahoma, sans-serif; }
.btn-donate { padding: .5rem 1.1rem; }
.navbar-toggler { border: 0; padding: .5rem; box-shadow: none !important; }
.burger { display: inline-flex; flex-direction: column; gap: 5px; width: 26px; }
.burger span { height: 2.5px; background: var(--ink); border-radius: 2px; }
.burger span:nth-child(2) { width: 70%; margin-inline-start: auto; }

@media (max-width: 1199.98px) {
  .offcanvas-xl { background: var(--paper); }
  .offcanvas-xl .offcanvas-title { font-family: var(--font-head); font-weight: 700; color: var(--ink); }
  .offcanvas-xl .navbar-nav .nav-link { padding: .8rem 1rem !important; border-radius: 12px; font-size: 1.05rem; }
  .offcanvas-xl .navbar-nav .nav-link.active::after { display: none; }
  .offcanvas-xl .dropdown-menu { box-shadow: none; border: 0; background: var(--sand); margin: 0 0 .4rem; }
  .offcanvas-extra { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1.25rem; }
  .offcanvas-extra a { color: var(--ink); text-decoration: none; }
}
@media (max-width: 575.98px) {
  .brand-logo { width: 42px; height: 42px; }
  .brand-text strong { font-size: 1.12rem; }
  .brand-text small { display: none; }
  .lang-switch { padding: .4rem .6rem; }
}

.admin-pill { position: fixed; bottom: 1rem; inset-inline-start: 1rem; z-index: 1040; background: var(--ink); color: #fff; border-radius: 999px; padding: .5rem .9rem; font-weight: 700; font-size: .85rem; text-decoration: none; display: inline-flex; gap: .4rem; box-shadow: var(--shadow); }
.admin-pill:hover { color: var(--gold-2); }

/* ---------- Common ---------- */
.section { padding: 5.5rem 0; }
@media (max-width: 767.98px) { .section { padding: 3.75rem 0; } }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: rgba(255,255,255,.82); }
.bg-ink h2, .bg-ink h3 { color: #fff; }
.pattern-soft { position: relative; }
.pattern-soft::before { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: .5; filter: invert(1) sepia(.4) brightness(.92); mix-blend-mode: multiply; pointer-events: none; mask-image: linear-gradient(180deg, #000, transparent 55%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 55%); }
.pattern-soft > .container { position: relative; }

.kicker { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--clay); margin-bottom: .9rem; }
.is-rtl .kicker { letter-spacing: 0; font-size: .92rem; font-weight: 700; }
.kicker-mark { width: 30px; height: 16px; flex: none; background:
  radial-gradient(circle at 8px 8px, transparent 5px, var(--teal) 5.5px, var(--teal) 7.5px, transparent 8px),
  radial-gradient(circle at 22px 8px, transparent 5px, var(--clay) 5.5px, var(--clay) 7.5px, transparent 8px); }
.kicker.on-dark { color: var(--gold-2); }
.kicker.on-dark .kicker-mark, .on-dark .kicker-mark { background:
  radial-gradient(circle at 8px 8px, transparent 5px, #fff 5.5px, #fff 7.5px, transparent 8px),
  radial-gradient(circle at 22px 8px, transparent 5px, var(--gold) 5.5px, var(--gold) 7.5px, transparent 8px); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.6rem; flex-wrap: wrap; }
.section-head > div:first-child { max-width: 720px; }
.section-head h2 { font-size: clamp(1.85rem, 3.3vw, 2.7rem); margin: 0; line-height: 1.15; }
.is-rtl .section-head h2 { line-height: 1.5; }
.section-intro { color: var(--muted); margin: .9rem 0 0; font-size: 1.06rem; }
.section-head.on-dark h2 { color: #fff; }
.section-head.on-dark .kicker { color: var(--gold-2); }
.section-head.on-dark .section-intro { color: rgba(255,255,255,.7); }
.section-head.on-dark .link-more { color: var(--gold-2); }
.section-head.on-dark .kicker-mark { background:
  radial-gradient(circle at 8px 8px, transparent 5px, #fff 5.5px, #fff 7.5px, transparent 8px),
  radial-gradient(circle at 22px 8px, transparent 5px, var(--gold) 5.5px, var(--gold) 7.5px, transparent 8px); }
.link-more { font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap; }
.link-more i { transition: transform .2s; }
.link-more:hover i { transform: translateX(4px); }
.is-rtl .link-more:hover i { transform: scaleX(-1) translateX(4px); }
.display-title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.15; margin-bottom: 1.2rem; }
.is-rtl .display-title { line-height: 1.5; }
.lead-text { font-size: 1.14rem; color: var(--text); }

.check-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; }
.check-list i { color: var(--teal); font-size: 1.2rem; line-height: 1.4; flex: none; }

/* The arch frame */
.arch { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--sand-2); position: relative; aspect-ratio: 4 / 5; }
.arch img { width: 100%; height: 100%; object-fit: cover; display: block; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease var(--d, 0ms), transform .7s ease var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: rgba(255,255,255,.85); padding: 5.5rem 0 9.5rem; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: .07; }
.hero::after { content: ""; position: absolute; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(42,138,138,.45), transparent 65%); inset-inline-end: -220px; top: -220px; }
.hero .container { position: relative; z-index: 1; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 6.4vw, 5rem); line-height: 1.02; font-weight: 600; margin: .2rem 0 1.4rem; letter-spacing: -.02em; }
.is-rtl .hero h1 { line-height: 1.35; font-size: clamp(2.4rem, 5.6vw, 4.3rem); letter-spacing: 0; }
.hero h1::after { content: ""; display: block; width: 92px; height: 6px; border-radius: 6px; margin-top: 1.4rem; background: linear-gradient(90deg, var(--gold) 0 60%, var(--clay) 60%); }
.hero-lead { font-size: 1.18rem; max-width: 600px; color: rgba(255,255,255,.8); }
.hero-art { position: relative; max-width: 440px; margin-inline: auto; padding: 1rem 2.4rem 2.4rem 0; }
.is-rtl .hero-art { padding: 1rem 0 2.4rem 2.4rem; }
.hero-art .arch-lg { border: 6px solid rgba(255,255,255,.08); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.arch-ring { position: absolute; top: 2.6rem; inset-inline-start: 1.6rem; inset-inline-end: .8rem; bottom: .8rem; border: 2px solid var(--gold); border-radius: 999px 999px var(--radius) var(--radius); opacity: .5; z-index: -1; }
.hero-circle { position: absolute; width: 42%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 6px solid var(--ink); inset-inline-end: 0; bottom: 0; background: var(--sand-2); box-shadow: 0 20px 40px -20px rgba(0,0,0,.7); }
.hero-circle img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; inset-inline-start: -1.5rem; bottom: 3.2rem; background: var(--paper); color: var(--ink); border-radius: 14px; padding: .75rem 1rem; display: flex; gap: .6rem; align-items: center; max-width: 230px; font-weight: 700; font-size: .92rem; line-height: 1.35; box-shadow: var(--shadow); }
.hero-badge i { font-size: 1.7rem; color: var(--clay); line-height: 1; }
@media (max-width: 991.98px) {
  .hero { padding: 3.5rem 0 8rem; }
  .hero-art { max-width: 360px; }
  .hero-badge { inset-inline-start: 0; }
}

/* ---------- Pillars ---------- */
.pillars { margin-top: -6rem; position: relative; z-index: 2; }
.pillar { background: var(--paper); border-radius: var(--radius); padding: 2rem 1.8rem; height: 100%; box-shadow: var(--shadow); position: relative; border-bottom: 4px solid var(--teal); }
.col-md-4:nth-child(2) .pillar { border-color: var(--clay); }
.col-md-4:nth-child(3) .pillar { border-color: var(--gold); }
.pillar-num { position: absolute; top: 1.2rem; inset-inline-end: 1.5rem; font-family: var(--font-head); font-size: 2.6rem; color: var(--sand-2); font-weight: 700; line-height: 1; }
.pillar > i { font-size: 2rem; color: var(--teal); display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--teal-soft); margin-bottom: 1rem; }
.pillar h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.pillar p { color: var(--muted); margin: 0; }

/* ---------- About block ---------- */
.about-art { position: relative; max-width: 420px; margin-inline: auto; }
.about-stamp { position: absolute; bottom: 1.5rem; inset-inline-start: -1.5rem; width: 128px; height: 128px; border-radius: 50%; background: var(--clay); color: #fff; display: grid; place-content: center; text-align: center; line-height: 1.2; box-shadow: var(--shadow); border: 5px solid var(--paper); }
.about-stamp strong { font-family: var(--font-head); font-size: 1.15rem; }
.about-stamp span { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; opacity: .9; }
.is-rtl .about-stamp span { letter-spacing: 0; font-size: .82rem; }
@media (max-width: 575.98px) { .about-stamp { inset-inline-start: 0; width: 104px; height: 104px; } }

/* ---------- Programme tiles ---------- */
.prog-tile { display: flex; flex-direction: column; height: 100%; background: var(--paper); border-radius: var(--radius); padding: 1.8rem; text-decoration: none; color: var(--text); border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, border-color .25s; }
.prog-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.prog-icon { width: 60px; height: 60px; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: var(--teal); border-radius: 999px 999px 12px 12px; margin-bottom: 1.2rem; }
.col-sm-6:nth-child(3n+2) .prog-icon { background: var(--clay); }
.col-sm-6:nth-child(3n) .prog-icon { background: var(--gold); color: var(--ink); }
.prog-tile h3 { font-size: 1.28rem; margin-bottom: .5rem; }
.prog-tile p { color: var(--muted); font-size: .97rem; flex: 1; }
.prog-go { font-weight: 800; color: var(--teal); display: inline-flex; gap: .4rem; align-items: center; font-size: .92rem; }
.prog-tile:hover .prog-go { color: var(--clay); }

/* ---------- Chairman band ---------- */
.chair-band { background: linear-gradient(135deg, var(--teal), var(--ink) 75%); color: rgba(255,255,255,.85); position: relative; overflow: hidden; }
.chair-band::before { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: .06; }
.chair-band .container { position: relative; }
.chair-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.25; }
.chair-portrait { width: 230px; aspect-ratio: 4/5; margin: 0 auto 1.2rem; border-radius: 999px 999px 18px 18px; overflow: hidden; border: 6px solid rgba(255,255,255,.12); background: var(--ink-2); display: grid; place-items: center; }
.chair-portrait img { width: 100%; height: 100%; object-fit: cover; }
.chair-portrait .initials, .leader-photo .initials { font-family: var(--font-head); font-size: 4rem; color: var(--gold-2); font-weight: 700; }
.chair-name { font-family: var(--font-head); color: #fff; font-size: 1.35rem; font-weight: 700; margin: 0; }
.chair-role { color: var(--gold-2); font-weight: 600; margin: 0; }
.chair-quote { font-size: 1.15rem; border-inline-start: 4px solid var(--gold); padding-inline-start: 1.3rem; margin: 1.4rem 0 2rem; color: rgba(255,255,255,.85); }

/* ---------- Cards ---------- */
.card-post { background: var(--paper); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.card-post:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-post-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; position: relative; background: var(--sand-2); }
.card-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card-post:hover .card-post-img img { transform: scale(1.05); }
.card-post-type { position: absolute; top: 1rem; inset-inline-start: 1rem; background: var(--ink); color: #fff; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: .3rem .7rem; border-radius: 999px; }
.is-rtl .card-post-type { letter-spacing: 0; font-size: .82rem; }
.card-post-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-post .meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .84rem; color: var(--muted); margin-bottom: .6rem; font-weight: 600; }
.card-post .meta i { color: var(--clay); margin-inline-end: .3rem; }
.card-post h3 { font-size: 1.2rem; line-height: 1.35; margin-bottom: .6rem; }
.card-post h3 a { color: var(--ink); text-decoration: none; }
.card-post h3 a:hover { color: var(--teal); }
.card-post .excerpt { color: var(--muted); font-size: .95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-post-foot { margin-top: auto; padding-top: .8rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px dashed var(--line); }
.card-post-foot .people { font-size: .85rem; font-weight: 700; color: var(--teal); display: inline-flex; gap: .35rem; }
.card-post-foot .read { font-weight: 800; text-decoration: none; font-size: .9rem; display: inline-flex; gap: .35rem; align-items: center; margin-inline-start: auto; }
.card-post.is-large .card-post-img { aspect-ratio: 16 / 9; }
.card-post.is-large h3 { font-size: 1.5rem; }

.chip-prog { display: inline-flex; align-items: center; gap: .4rem; background: var(--teal-soft); color: var(--teal); font-weight: 700; font-size: .84rem; padding: .3rem .8rem; border-radius: 999px; text-decoration: none; }
.chip-prog:hover { background: var(--teal); color: #fff; }

/* Videos */
.card-video { all: unset; box-sizing: border-box; cursor: pointer; display: block; width: 100%; }
.card-video-frame { display: block; position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--ink-2), var(--teal)); }
.card-video-frame::before { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: .12; }
.card-video-frame img, .card-video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-video-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15,42,48,.65)); }
.card-video .play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-size: 2rem; z-index: 2; box-shadow: 0 0 0 10px rgba(212,162,76,.25); transition: transform .25s, box-shadow .25s; }
.card-video:hover .play, .card-video:focus-visible .play { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(212,162,76,.22); }
.card-video:focus-visible .card-video-frame { outline: 3px solid var(--gold); outline-offset: 3px; }
.card-video-title { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; margin-top: .9rem; color: var(--ink); }
.bg-ink .card-video-title { color: #fff; }
.card-video-desc { display: block; color: var(--muted); font-size: .9rem; }
.bg-ink .card-video-desc { color: rgba(255,255,255,.6); }
.video-modal .modal-content { background: #000; border: 0; border-radius: 14px; overflow: hidden; }
.video-modal .modal-title { color: #fff; font-family: var(--font-body); }
.video-modal video, .video-modal iframe { width: 100%; height: 100%; background: #000; }

/* ---------- Quote band ---------- */
.quote-band { background: var(--clay); color: #fff; padding: 5rem 0; position: relative; overflow: hidden; text-align: center; }
.quote-band::before { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: .1; }
.quote-band figure { position: relative; max-width: 860px; margin: 0 auto; }
.quote-band i { font-size: 3.4rem; color: var(--gold-2); line-height: 1; }
.quote-band blockquote { font-family: var(--font-head); font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1.25; margin: .5rem 0 1.2rem; font-weight: 600; }
.is-rtl .quote-band blockquote { line-height: 1.6; }
.quote-band figcaption { font-size: 1.08rem; color: rgba(255,255,255,.85); max-width: 640px; margin: 0 auto; }

/* Audience */
.aud-tile { border-radius: var(--radius); padding: 1.8rem 1.5rem; height: 100%; background: var(--sand); position: relative; overflow: hidden; }
.aud-tile::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 18px solid rgba(29,107,111,.07); inset-inline-end: -40px; bottom: -40px; }
.aud-tile i { font-size: 2rem; color: var(--clay); }
.aud-tile p { font-weight: 700; color: var(--ink); margin: .8rem 0 0; font-size: 1.05rem; line-height: 1.45; }

/* Home gallery */
.home-gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 12px; }
.hg-item { display: block; border-radius: 14px; overflow: hidden; background: var(--sand-2); position: relative; }
.hg-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hg-item:hover img { transform: scale(1.06); }
.hg-0 { grid-column: span 2; grid-row: span 2; border-radius: 999px 999px 14px 14px; }
.hg-5 { grid-column: span 2; }
@media (max-width: 767.98px) {
  .home-gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .hg-5 { grid-column: span 1; }
  .hg-6, .hg-7 { display: none; }
}

/* ---------- Inner pages ---------- */
.page-head { background: var(--ink); color: rgba(255,255,255,.8); padding: 3.8rem 0 4.2rem; position: relative; overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: .07; }
.page-head::after { content: ""; position: absolute; width: 380px; height: 380px; inset-inline-end: -90px; bottom: -190px; border-radius: 50%; border: 50px solid rgba(212,162,76,.12); box-shadow: -150px -40px 0 -40px rgba(29,107,111,.4); }
.is-rtl .page-head::after { box-shadow: 150px -40px 0 -40px rgba(29,107,111,.4); }
.page-head h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.4rem); margin: 0; line-height: 1.12; max-width: 900px; }
.is-rtl .page-head h1 { line-height: 1.5; }
.page-intro { font-size: 1.12rem; max-width: 720px; margin: 1rem 0 0; color: rgba(255,255,255,.75); }
.breadcrumb { font-size: .86rem; margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--gold-2); text-decoration: none; }
.breadcrumb-item.active { color: rgba(255,255,255,.65); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }
.is-rtl .breadcrumb-item + .breadcrumb-item::before { float: right; padding-left: var(--bs-breadcrumb-item-padding-x); padding-right: 0; }

.prose { font-size: 1.07rem; }
.prose h2 { font-size: 1.65rem; margin: 2.2rem 0 .9rem; }
.prose h3 { font-size: 1.35rem; margin: 2rem 0 .8rem; }
.prose img { border-radius: 14px; height: auto; margin: 1rem 0; }
.prose blockquote { border-inline-start: 4px solid var(--gold); background: var(--sand); padding: 1.1rem 1.4rem; border-radius: 0 12px 12px 0; font-family: var(--font-head); font-size: 1.2rem; color: var(--ink); margin: 1.6rem 0; }
.is-rtl .prose blockquote { border-radius: 12px 0 0 12px; }
.prose ul li, .prose ol li { margin-bottom: .4rem; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border-radius: 14px; }

.side-card { background: var(--sand); border-radius: var(--radius); padding: 1.6rem; }
.side-card h2, .side-card h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; }
.facts li { display: flex; gap: .8rem; align-items: flex-start; }
.facts i { width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--paper); color: var(--clay); display: grid; place-items: center; }
.facts small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.is-rtl .facts small { letter-spacing: 0; font-size: .85rem; }
.facts strong { font-weight: 700; color: var(--ink); }

.post-hero-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 2rem; aspect-ratio: 16/9; background: var(--sand-2); }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.post-lead { font-size: 1.2rem; color: var(--ink); font-weight: 500; border-inline-start: 4px solid var(--clay); padding-inline-start: 1.1rem; margin-bottom: 1.8rem; }
.share { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--paper); color: var(--ink); border: 1px solid var(--line); text-decoration: none; }
.share a:hover, .share button:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.photo-grid a { display: block; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: var(--sand-2); position: relative; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.photo-grid a:hover img { transform: scale(1.06); }
.photo-grid .ph-cap { position: absolute; inset-inline: 0; bottom: 0; padding: 1.6rem .8rem .6rem; background: linear-gradient(transparent, rgba(15,42,48,.85)); color: #fff; font-size: .85rem; font-weight: 600; opacity: 0; transition: opacity .25s; }
.photo-grid a:hover .ph-cap, .photo-grid a:focus .ph-cap { opacity: 1; }
@media (max-width: 575.98px) { .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chips a { padding: .45rem 1rem; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; font-size: .92rem; display: inline-flex; gap: .45rem; align-items: center; background: var(--paper); }
.chips a small { background: var(--sand); border-radius: 999px; padding: 0 .5rem; font-size: .75rem; }
.chips a:hover { border-color: var(--teal); color: var(--teal); }
.chips a.on { background: var(--teal); color: #fff; border-color: var(--teal); }
.chips a.on small { background: rgba(255,255,255,.2); }

.empty-state { text-align: center; padding: 4rem 1rem; background: var(--sand); border-radius: var(--radius); }
.empty-state i { font-size: 2.6rem; color: var(--clay); }
.empty-state h3 { font-size: 1.35rem; margin: .8rem 0 .4rem; }
.empty-state p { color: var(--muted); max-width: 480px; margin: 0 auto 1.2rem; }

.alt-pagination { margin-top: 3rem; gap: .35rem; }
.alt-pagination .page-link { border-radius: 50% !important; width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink); border: 1.5px solid var(--line); font-weight: 700; }
.alt-pagination .active .page-link { background: var(--teal); border-color: var(--teal); color: #fff; }

/* Values / tabs (vision page) */
.vm-tabs { border: 0; gap: .5rem; margin-bottom: 1.8rem; }
.vm-tabs .nav-link { border: 1.5px solid var(--line); border-radius: 999px; font-weight: 800; color: var(--ink); padding: .6rem 1.4rem; background: var(--paper); }
.vm-tabs .nav-link.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.vm-panel { background: var(--sand); border-radius: var(--radius); padding: 2.4rem; position: relative; overflow: hidden; }
.vm-panel p { font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.45; color: var(--ink); margin: 0; position: relative; }
.vm-panel i { font-size: 2.4rem; color: var(--clay); }
.vm-panel::after { content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%; border: 26px solid rgba(184,97,58,.08); inset-inline-end: -60px; bottom: -80px; }

.value-card { border-radius: var(--radius); padding: 1.8rem; background: var(--paper); border: 1px solid var(--line); height: 100%; }
.value-card .num { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: #fff; background: var(--teal); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 1rem; }
.value-card h3 { font-size: 1.25rem; }
.value-card p { color: var(--muted); margin: 0; }

.objectives { counter-reset: obj; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.objectives li { counter-increment: obj; display: flex; gap: 1rem; align-items: flex-start; background: var(--paper); border-radius: 14px; padding: 1.1rem 1.3rem; border: 1px solid var(--line); }
.objectives li::before { content: counter(obj, decimal-leading-zero); font-family: var(--font-head); font-weight: 700; color: var(--clay); font-size: 1.25rem; line-height: 1.5; min-width: 2rem; }

/* Concepts */
.concept { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: center; padding: 3rem 0; border-bottom: 1px solid var(--line); }
.concept:last-child { border-bottom: 0; }
.concept:nth-child(even) .concept-img { order: 2; }
.concept-img { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 5/4; background: var(--sand-2); }
.concept:nth-child(even) .concept-img { border-radius: var(--radius); }
.concept-img img { width: 100%; height: 100%; object-fit: cover; }
.concept-num { font-family: var(--font-head); color: var(--gold); font-weight: 700; font-size: 1rem; letter-spacing: .1em; }
.concept h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: .3rem 0 1rem; }
.concept p { font-size: 1.08rem; }
@media (max-width: 767.98px) {
  .concept { grid-template-columns: 1fr; gap: 1.5rem; padding: 2rem 0; }
  .concept:nth-child(even) .concept-img { order: 0; }
}

/* Focus */
.focus-col { background: var(--paper); border-radius: var(--radius); padding: 1.8rem; height: 100%; border-top: 4px solid var(--teal); box-shadow: 0 8px 30px -22px rgba(15,42,48,.4); }
.focus-col.c2 { border-color: var(--clay); }
.focus-col.c3 { border-color: var(--gold); }
.focus-col h3 { font-size: 1.2rem; display: flex; gap: .6rem; align-items: center; }
.focus-col h3 i { color: var(--clay); }
.pill-list { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list li { background: var(--sand); padding: .45rem .95rem; border-radius: 999px; font-weight: 700; font-size: .93rem; color: var(--ink); }
.target-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.target-grid div { display: flex; gap: .8rem; align-items: center; padding: 1rem 1.2rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; color: #fff; font-weight: 600; }
.target-grid i { color: var(--gold-2); font-size: 1.3rem; }
.approach { border-radius: var(--radius); overflow: hidden; background: var(--paper); border: 1px solid var(--line); height: 100%; }
.approach-img { aspect-ratio: 16/10; background: var(--sand-2); overflow: hidden; }
.approach-img img { width: 100%; height: 100%; object-fit: cover; }
.approach-body { padding: 1.4rem 1.5rem; }
.approach h3 { font-size: 1.2rem; }
.approach p { color: var(--muted); margin: 0; }

/* Programmes page */
.prog-hero-icon { width: 84px; height: 84px; font-size: 2.3rem; border-radius: 999px 999px 16px 16px; display: grid; place-items: center; background: var(--gold); color: var(--ink); margin-bottom: 1.2rem; }
.prog-row { display: flex; gap: 1.5rem; align-items: flex-start; padding: 2rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); height: 100%; text-decoration: none; color: var(--text); transition: box-shadow .25s, transform .25s; }
.prog-row:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--text); }
.prog-row .prog-icon { margin: 0; flex: none; }
.prog-row h2 { font-size: 1.4rem; margin-bottom: .4rem; }
.prog-row p { color: var(--muted); margin-bottom: .6rem; }
.prog-nav { list-style: none; padding: 0; margin: 0; }
.prog-nav a { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 700; }
.prog-nav a:hover { background: var(--paper); }
.prog-nav a.on { background: var(--teal); color: #fff; }
.prog-nav i { color: var(--clay); }
.prog-nav a.on i { color: var(--gold-2); }

/* Leadership card */
.leader { display: flex; gap: 1.2rem; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 1.2rem; border: 1px solid var(--line); height: 100%; }
.leader-photo { width: 84px; height: 84px; flex: none; border-radius: 50%; overflow: hidden; background: var(--teal); display: grid; place-items: center; }
.leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-photo .initials { font-size: 1.7rem !important; color: #fff !important; }
.leader h3 { font-size: 1.08rem; margin: 0; }
.leader p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Chairman page */
.letter { background: var(--paper); border-radius: var(--radius); padding: clamp(1.6rem, 4vw, 3.4rem); box-shadow: var(--shadow); position: relative; }
.letter::before { content: "\201C"; position: absolute; top: -.2rem; inset-inline-end: 1.6rem; font-family: Georgia, serif; font-size: 9rem; line-height: 1; color: var(--sand-2); }
.letter .prose p:first-child::first-letter { font-family: var(--font-head); font-size: 3.2rem; float: inline-start; line-height: .9; margin-inline-end: .5rem; color: var(--clay); font-weight: 700; }
.is-rtl .letter .prose p:first-child::first-letter { font-size: inherit; float: none; margin: 0; color: inherit; }
.signature { display: flex; gap: 1rem; align-items: center; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px dashed var(--line); }
.signature .leader-photo { width: 64px; height: 64px; }
.signature strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--ink); display: block; }

/* ---------- Forms ---------- */
.form-card { background: var(--paper); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow); }
.form-label { font-weight: 700; color: var(--ink); font-size: .93rem; }
.form-control, .form-select { border-radius: 12px; border: 1.5px solid var(--line); padding: .7rem .95rem; background-color: #fff; }
.form-control:focus, .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 .22rem rgba(29,107,111,.15); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; background: var(--sand); border-radius: var(--radius); height: 100%; }
.contact-card i { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font-size: 1.2rem; }
.contact-card h3 { font-size: 1rem; margin-bottom: .2rem; font-family: var(--font-body); font-weight: 800; }
.contact-card p, .contact-card a { margin: 0; color: var(--text); text-decoration: none; }
.map-frame { border-radius: var(--radius); overflow: hidden; min-height: 360px; background: var(--sand-2); }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

.bank-box { background: var(--ink); color: rgba(255,255,255,.85); border-radius: var(--radius); padding: 1.8rem; position: relative; overflow: hidden; }
.bank-box::before { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: .06; }
.bank-box > * { position: relative; }
.bank-box h3 { color: #fff; font-size: 1.2rem; }
.bank-box dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.2rem; margin: 1rem 0 0; }
.bank-box dt { color: rgba(255,255,255,.6); font-weight: 600; font-size: .88rem; }
.bank-box dd { margin: 0; color: #fff; font-weight: 700; display: flex; align-items: center; gap: .5rem; word-break: break-all; }
.copy-btn { background: rgba(255,255,255,.1); border: 0; color: var(--gold-2); border-radius: 8px; padding: .1rem .45rem; font-size: .8rem; }
.copy-btn:hover { background: var(--gold); color: var(--ink); }

.give-ways { display: grid; gap: 1rem; }
.give-way { display: flex; gap: 1rem; padding: 1.2rem; border-radius: 14px; background: var(--sand); }
.give-way i { font-size: 1.5rem; color: var(--clay); }
.give-way h3 { font-size: 1.05rem; margin: 0 0 .2rem; font-family: var(--font-body); font-weight: 800; }
.give-way p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Publications */
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.doc-item a { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.3rem; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.doc-item a:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.doc-ext { width: 52px; height: 60px; flex: none; border-radius: 8px 18px 8px 8px; background: var(--clay); color: #fff; font-weight: 800; font-size: .78rem; display: grid; place-items: center; }
.doc-text { flex: 1; min-width: 0; }
.doc-title { display: block; font-weight: 800; color: var(--ink); }
.doc-desc { display: block; color: var(--muted); font-size: .92rem; }
.doc-meta { display: block; color: var(--muted); font-size: .82rem; }
.doc-item .bi-download { font-size: 1.3rem; color: var(--teal); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); position: relative; }
.footer-cta { background: var(--teal); position: relative; overflow: hidden; }
.footer-cta::before { content: ""; position: absolute; inset: 0; background: var(--pattern); opacity: .08; }
.footer-cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 2.4rem 0; color: rgba(255,255,255,.85); }
.footer-motto { font-family: var(--font-head); font-size: clamp(1.5rem, 3vw, 2.1rem); color: #fff; margin: 0 0 .2rem; font-weight: 600; }
.footer-main { padding-top: 4rem; padding-bottom: 3rem; }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-weight: 800; font-size: .86rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1rem; }
.is-rtl .site-footer h3 { letter-spacing: 0; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.brand-footer .brand-text strong { color: #fff; font-size: 1.2rem; }
.brand-footer .brand-text small { color: rgba(255,255,255,.55); white-space: normal; font-size: .78rem; }
.footer-about { font-size: .95rem; }
.footer-social { display: flex; gap: .5rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.07); }
.footer-social a:hover { background: var(--gold); color: var(--ink); }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact i { color: var(--gold-2); margin-top: .15rem; }
.footer-news { margin-top: 1.4rem; }
.footer-news label { color: #fff; font-weight: 700; font-size: .9rem; margin-bottom: .5rem; display: block; }
.footer-news .form-control { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; border-radius: 999px 0 0 999px; }
.is-rtl .footer-news .form-control { border-radius: 0 999px 999px 0; }
.footer-news .form-control::placeholder { color: rgba(255,255,255,.45); }
.footer-news .btn { border-radius: 0 999px 999px 0; padding-inline: 1.1rem; }
.is-rtl .footer-news .btn { border-radius: 999px 0 0 999px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.2rem 0; font-size: .86rem; }

/* Toasts & lightbox */
.toast-success { background: var(--teal); color: #fff; }
.toast-info, .toast-warning { background: var(--ink); color: #fff; }
.lightbox .modal-content { background: transparent; border: 0; position: relative; }
.lightbox figure { text-align: center; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: 10px; }
.lightbox figcaption { color: #fff; margin-top: .8rem; }
.lightbox .btn-close { position: absolute; top: -2.4rem; inset-inline-end: 0; z-index: 3; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 1.3rem; }
.lb-nav:hover { background: var(--gold); color: var(--ink); }
.lb-prev { inset-inline-start: .5rem; }
.lb-next { inset-inline-end: .5rem; }
.modal-backdrop.show { opacity: .88; }

.err-page { text-align: center; padding: 6rem 1rem; }
.err-page .big { font-family: var(--font-head); font-size: clamp(5rem, 16vw, 9rem); color: var(--sand-2); line-height: 1; font-weight: 700; }

/* Keep the menu on one line on laptop screens */
.navbar-nav .nav-link { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .navbar-nav .nav-link { padding: .5rem .6rem !important; font-size: .92rem; }
  .brand-text small { display: none; }
  .btn-donate { padding: .5rem .9rem; }
}
