/* GCPTR — navy, white & gold. Logical properties throughout so RTL (Arabic) works automatically. */
:root {
  --navy-950: #08101d;
  --navy-900: #0b1424;
  --navy-800: #121d33;
  --navy-700: #1a2a48;
  --gold-300: #f1d58a;
  --gold-400: #e2bf6b;
  --gold-500: #c9a24a;
  --gold-600: #a67c2e;
  --gold-grad: linear-gradient(135deg, #f1d58a 0%, #c9a24a 45%, #a67c2e 100%);
  --ivory: #f7f4ec;
  --white: #ffffff;
  --ink: #14213a;
  --text: #2b3547;
  --muted: #5d6779;
  --line: #e6e0d1;
  --on-navy: #e9e4d6;
  --on-navy-muted: #a9b1c2;

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-brand: "Cinzel", Georgia, serif;

  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(11, 20, 36, 0.18);
  --container: 1180px;
  --header-h: 76px;
}

:lang(ar) {
  --font-body: "IBM Plex Sans Arabic", system-ui, "Segoe UI", Tahoma, sans-serif;
  --font-head: "Noto Kufi Arabic", "IBM Plex Sans Arabic", Tahoma, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-600); text-decoration: none; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 0.6em; font-weight: 700; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { line-height: 1.5; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--gold-500); color: var(--navy-900); padding: 8px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; }
.muted { color: var(--on-navy-muted); }

.icon { width: 24px; height: 24px; flex: none; }
[dir="rtl"] .icon-arrow { transform: scaleX(-1); }

/* ---------- Buttons & small elements ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px;
  font-weight: 600; font-size: 1rem; letter-spacing: 0.01em;
  border: 1.5px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold-grad); color: var(--navy-900); box-shadow: 0 8px 22px -10px rgba(201, 162, 74, .8); }
.btn-gold:hover { color: var(--navy-900); box-shadow: 0 12px 28px -10px rgba(201, 162, 74, .9); }
.btn-outline { border-color: rgba(226, 191, 107, .7); color: var(--gold-300); }
.btn-outline:hover { background: rgba(226, 191, 107, .12); color: var(--gold-300); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 14px;
}
:lang(ar) .eyebrow { letter-spacing: 0; font-size: .9375rem; }
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--gold-grad); }

.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; background: rgba(201, 162, 74, .14); color: var(--gold-600); font-size: .8125rem; font-weight: 600; margin-bottom: 12px; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }
[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(4px); }
.link-back .icon { transform: scaleX(-1); }
[dir="rtl"] .link-back .icon { transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 20, 36, .96);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(226, 191, 107, .18);
}
.header-inner { max-width: 1340px; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; color: var(--white); flex: none; }
.brand:hover { color: var(--white); }
.brand-mark { width: 72px; height: auto; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font-family: var(--font-brand); font-weight: 700; font-size: 1.5rem; letter-spacing: .06em; line-height: 1.1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.brand-sub { font-size: .75rem; color: var(--on-navy-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 300px; }

.site-nav { display: flex; align-items: center; gap: 16px; }
.site-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  display: block; padding: 8px 9px; border-radius: 8px;
  color: var(--on-navy); font-size: .9375rem; font-weight: 500; white-space: nowrap;
}
.site-nav ul a:hover { color: var(--gold-300); background: rgba(255, 255, 255, .05); }
.site-nav ul a[aria-current="page"] { color: var(--gold-300); box-shadow: inset 0 -2px 0 var(--gold-500); border-radius: 8px 8px 0 0; }

.lang-switch {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid rgba(226, 191, 107, .6); color: var(--gold-300); font-weight: 600; font-size: .9375rem; white-space: nowrap;
}
.lang-switch .icon { width: 18px; height: 18px; }
.lang-switch:hover { background: rgba(226, 191, 107, .12); color: var(--gold-300); }
.lang-switch[lang="ar"] { font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif; }
.lang-switch[lang="en"] { font-family: "Inter", system-ui, sans-serif; }

.nav-toggle { display: none; background: none; border: 1.5px solid rgba(226, 191, 107, .5); color: var(--gold-300); border-radius: 10px; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .nav-toggle-open { display: inline-flex; }
.nav-toggle .nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline-flex; }

@media (max-width: 1420px) {
  .brand-sub { display: none; }
}
@media (max-width: 1180px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; inset-inline: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px 24px 24px; background: var(--navy-900);
    border-bottom: 1px solid rgba(226, 191, 107, .18);
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .6);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav ul a { padding: 12px 8px; font-size: 1.0625rem; border-radius: 8px; }
  .site-nav ul a[aria-current="page"] { box-shadow: none; background: rgba(226, 191, 107, .1); }
  .lang-switch { align-self: flex-start; }
}
@media (max-width: 520px) {
  .brand-mark { width: 56px; }
  .brand-sub { display: none; }
  .brand-name { font-size: 1.375rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: #141d2f;
  color: var(--on-navy);
  padding: 72px 0 140px;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(226, 191, 107, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(226, 191, 107, .05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero .eyebrow { color: var(--gold-400); }
.hero h1 { color: var(--white); font-size: clamp(2.25rem, 4.6vw, 3.75rem); margin-bottom: 20px; }
:lang(ar) .hero h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.hero-intro { font-size: 1.1875rem; color: var(--on-navy); max-width: 560px; opacity: .92; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-emblem img { width: 100%; max-width: 520px; margin-inline: auto; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .35)); }

@media (max-width: 900px) {
  .hero { padding: 48px 0 120px; text-align: center; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-emblem { order: -1; }
  .hero-emblem img { max-width: 340px; }
  .hero-intro { margin-inline: auto; }
  .actions { justify-content: center; }
  .hero .eyebrow::before { display: none; }
}

/* ---------- Pillars band ---------- */
.pillars-band { position: relative; z-index: 2; margin-top: -88px; }
.pillars {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: 0 24px 50px -24px rgba(11, 20, 36, .35);
  border: 1px solid var(--line); overflow: hidden;
}
.pillar { padding: 28px 22px; text-align: center; border-inline-end: 1px solid var(--line); }
.pillar:last-child { border-inline-end: 0; }
.pillar-icon, .card-icon, .vm-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(145deg, var(--navy-800), var(--navy-700)); color: var(--gold-400);
  box-shadow: inset 0 0 0 1.5px rgba(226, 191, 107, .45);
  margin-bottom: 14px;
}
.pillar h3 { font-size: 1.1875rem; margin-bottom: 6px; }
:lang(ar) .pillar h3 { font-size: 1.0625rem; }
.pillar p { font-size: .9375rem; color: var(--muted); margin: 0; }

@media (max-width: 1000px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar { border-bottom: 1px solid var(--line); }
  .pillar:nth-child(2n) { border-inline-end: 0; }
  .pillar:last-child { grid-column: 1 / -1; border-bottom: 0; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-inline-end: 0; }
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--ivory); }
.section-navy { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: var(--on-navy); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.section-navy .eyebrow { color: var(--gold-400); }
.section-head { margin-bottom: 40px; max-width: 720px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; }
.section-title { font-size: clamp(1.875rem, 3.2vw, 2.625rem); }
:lang(ar) .section-title { font-size: clamp(1.625rem, 2.8vw, 2.25rem); }
.lead { font-size: 1.25rem; color: var(--ink); font-weight: 500; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .section { padding: 72px 0; } }

/* Vision / mission cards */
.vm-cards { display: grid; gap: 20px; }
.vm-cards-wide { grid-template-columns: 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .vm-cards-wide { grid-template-columns: 1fr; } }
.vm-card {
  position: relative; padding: 32px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.vm-card::before { content: ""; position: absolute; inset-inline-start: 0; top: 24px; bottom: 24px; width: 3px; border-radius: 3px; background: var(--gold-grad); }
.vm-card h2, .vm-card h3 { font-size: 1.5rem; }
.vm-card p { margin: 0; font-size: 1.0625rem; }
.vm-cards-wide .vm-card { padding: 40px; }
.vm-cards-wide .vm-card p { font-size: 1.1875rem; color: var(--ink); }

/* Founder */
.founder-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.founder-full { align-items: start; }
.founder-photo { margin: 0; position: relative; }
.founder-photo img { border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); border: 1px solid rgba(226, 191, 107, .35); }
.founder-photo figcaption { display: flex; flex-direction: column; margin-top: 14px; color: var(--on-navy-muted); font-size: .9375rem; }
.founder-photo figcaption strong { color: var(--white); font-size: 1.0625rem; }
.founder-quote { margin: 0 0 24px; padding-inline-start: 24px; border-inline-start: 3px solid var(--gold-500); }
.founder-quote p { font-family: var(--font-head); font-size: clamp(1.5rem, 2.6vw, 2.125rem); line-height: 1.4; color: var(--white); font-weight: 600; }
:lang(ar) .founder-quote p { font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.8; }
.founder-sign { display: flex; flex-direction: column; margin: 0 0 28px; }
.founder-sign strong { color: var(--gold-300); font-size: 1.125rem; }
.founder-sign span { color: var(--on-navy-muted); font-size: .9375rem; }
.founder-letter p { color: var(--on-navy); }
.founder-letter .founder-sign { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(226, 191, 107, .25); }
@media (max-width: 900px) {
  .founder-grid { grid-template-columns: 1fr; gap: 36px; }
  .founder-photo { max-width: 420px; margin-inline: auto; }
}

/* Objectives */
.objectives { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.objectives li {
  display: flex; align-items: center; gap: 18px; padding: 20px 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 500; color: var(--ink); transition: border-color .2s ease, transform .2s ease;
}
.objectives li:hover { border-color: var(--gold-500); transform: translateY(-2px); }
.obj-num { font-family: var(--font-brand); font-weight: 700; font-size: 1.125rem; color: var(--gold-600); min-width: 2ch; }

/* Platform teaser */
.platform { display: flex; gap: 32px; align-items: flex-start; max-width: 880px; }
.platform-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 22px; background: var(--gold-grad); color: var(--navy-900); }
.platform-icon .icon { width: 40px; height: 40px; }
.platform p { font-size: 1.125rem; margin: 0; }
@media (max-width: 640px) { .platform { flex-direction: column; gap: 20px; } }

/* Generic cards */
.card-grid, .contact-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card {
  padding: 32px; border-radius: var(--radius); background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: rgba(201, 162, 74, .6); }
.card h2, .card h3 { font-size: 1.375rem; margin-bottom: 8px; }
:lang(ar) .card h2, :lang(ar) .card h3 { font-size: 1.1875rem; }
.card p { margin: 0; color: var(--muted); }
.card p + p { margin-top: 6px; }
.contact-grid .card p a { font-size: 1.125rem; font-weight: 600; }

.notice { display: flex; align-items: center; gap: 18px; padding: 28px 32px; border-radius: var(--radius); background: var(--ivory); border: 1px dashed var(--gold-500); color: var(--ink); max-width: 720px; }
.notice p { margin: 0; }
.notice .card-icon { margin: 0; flex: none; }

/* About facts & values */
.facts { padding: 32px; border-radius: var(--radius); background: var(--navy-900); color: var(--on-navy); }
.facts-title { color: var(--gold-300); font-size: 1.375rem; }
.facts dl { margin: 0; }
.facts dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid rgba(226, 191, 107, .2); }
.facts dt { color: var(--on-navy-muted); }
.facts dd { margin: 0; color: var(--white); font-weight: 600; text-align: end; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.values li { padding: 28px; background: var(--white); border-radius: var(--radius); border-top: 3px solid var(--gold-500); box-shadow: var(--shadow); }
.values h3 { font-size: 1.375rem; margin-bottom: 6px; }
.values p { margin: 0; color: var(--muted); }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.news-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.news-card-img img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.news-card-body { padding: 26px; }
.news-card time, .post-date { font-size: .875rem; font-weight: 600; color: var(--gold-600); }
.news-card h3 { font-size: 1.375rem; margin: 8px 0 10px; }
:lang(ar) .news-card h3 { font-size: 1.1875rem; }
.news-card h3 a { color: var(--ink); }
.news-card h3 a:hover { color: var(--gold-600); }
.news-card p { margin: 0; color: var(--muted); font-size: .9375rem; }

.prose { max-width: 760px; }
.prose p, .prose li { font-size: 1.125rem; }
.prose h2 { font-size: 1.75rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.375rem; margin-top: 1.4em; }
.prose img, .post-image { border-radius: var(--radius); margin: 24px 0; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose a.link-arrow { text-decoration: none; margin-top: 24px; }

/* Page header */
.page-header {
  background: radial-gradient(70% 120% at 85% 0%, rgba(40, 58, 96, .6), transparent 70%), linear-gradient(180deg, #0b1424, #131c2e);
  color: var(--on-navy); padding: 64px 0 72px; border-bottom: 3px solid transparent;
  border-image: var(--gold-grad) 1;
}
.page-header h1 { color: var(--white); font-size: clamp(2.25rem, 4.4vw, 3.375rem); margin-bottom: 12px; }
:lang(ar) .page-header h1 { font-size: clamp(2rem, 3.8vw, 2.875rem); }
.page-lead { font-size: 1.1875rem; max-width: 760px; margin: 0; opacity: .92; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .875rem; color: var(--on-navy-muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--gold-400); }
.breadcrumb a:hover { color: var(--gold-300); }

/* CTA band */
.cta-band { background: var(--gold-grad); padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-inner h2 { color: var(--navy-900); font-size: clamp(1.625rem, 3vw, 2.25rem); margin-bottom: 6px; }
.cta-inner p { margin: 0; color: var(--navy-800); font-size: 1.0625rem; }
.cta-band .btn-gold { background: var(--navy-900); color: var(--gold-300); box-shadow: none; flex: none; }
.cta-band .btn-gold:hover { background: var(--navy-700); color: var(--gold-300); }
@media (max-width: 760px) { .cta-inner { flex-direction: column; align-items: flex-start; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: var(--on-navy-muted); padding-top: 64px; font-size: .9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-brand img { width: 84px; margin-bottom: 8px; }
.footer-name { font-family: var(--font-brand); font-size: 1.5rem; font-weight: 700; letter-spacing: .06em; margin: 0; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; width: fit-content; }
.footer-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-tags span { padding: 3px 12px; border-radius: 999px; border: 1px solid rgba(226, 191, 107, .35); color: var(--gold-400); font-size: .8125rem; }
.footer-heading { font-family: var(--font-body); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 16px; }
:lang(ar) .footer-heading { letter-spacing: 0; font-size: .9375rem; }
.footer-links, .footer-contact, .footer-social { list-style: none; margin: 0 0 24px; padding: 0; }
.footer-links li, .footer-contact li { margin-bottom: 8px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--gold-400); margin-top: 4px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 12px; }
.site-footer a { color: var(--on-navy); }
.site-footer a:hover { color: var(--gold-300); }
.footer-bottom { border-top: 1px solid rgba(226, 191, 107, .15); padding-top: 20px; padding-bottom: 28px; font-size: .875rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
