:root {
  --navy: #1B2A4A;
  --navy-2: #24365c;
  --gold: #C9A66B;
  --gold-dark: #9a7a3f;
  --ink: #1d2433;
  --muted: #5b6475;
  --line: #e6e1d6;
  --bg: #ffffff;
  --bg-soft: #f7f4ee;
  --radius: 14px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Cairo", "Inter", system-ui, sans-serif;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
html[lang="en"] body { font-family: "Inter", "Cairo", system-ui, sans-serif; line-height: 1.6; }

/* language switching */
html[lang="ar"] [data-l="en"], html[lang="en"] [data-l="ar"] { display: none !important; }

a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--navy); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--gold-dark); }
.lang-btn {
  border: 1px solid var(--navy); background: transparent; color: var(--navy);
  border-radius: 999px; padding: 6px 16px; font: inherit; font-weight: 700; cursor: pointer;
}
.lang-btn:hover { background: var(--navy); color: #fff; }
.menu-btn { display: none; background: none; border: 0; font-size: 26px; color: var(--navy); cursor: pointer; }

/* hero */
.hero {
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(201,166,107,.25), transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #13203a 100%);
  color: #fff;
  padding: 96px 0 88px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-weight: 700; letter-spacing: .04em; font-size: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold); }
.hero h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.2; margin: 16px 0 18px; max-width: 760px; }
.hero p { font-size: 18px; color: #d7deea; max-width: 640px; margin: 0 0 32px; }
.btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 13px 26px; border-radius: 999px; border: 2px solid var(--gold);
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d8b77e; }
.btn-ghost { color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin-top: 64px; background: rgba(255,255,255,.12);
  border-radius: var(--radius); overflow: hidden;
}
.stat { background: rgba(19,32,58,.85); padding: 22px 24px; }
.stat b { display: block; font-size: 32px; color: var(--gold); line-height: 1.2; }
.stat > span { color: #c3cbd9; font-size: 15px; }

/* sections */
section { padding: 88px 0; }
.soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 { color: var(--navy); font-size: clamp(26px, 3.4vw, 36px); line-height: 1.3; margin: 10px 0 12px; }
.section-head p { color: var(--muted); margin: 0; font-size: 17px; }
.eyebrow.dark { color: var(--gold-dark); }
.eyebrow.dark::before { background: var(--gold-dark); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; position: relative;
}
.card h3 { color: var(--navy); margin: 14px 0 8px; font-size: 22px; }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold);
}
.icon svg { width: 26px; height: 26px; }
.badge {
  position: absolute; top: 24px; inset-inline-end: 24px;
  font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px;
  background: rgba(201,166,107,.18); color: var(--gold-dark);
}

/* about timeline */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.about p { color: var(--muted); font-size: 17px; }
.timeline { list-style: none; margin: 0; padding: 0; border-inline-start: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px; padding-inline-start: 26px; }
.timeline li::before {
  content: ""; position: absolute; inset-inline-start: -8px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%; background: var(--gold); border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--gold);
}
.timeline b { color: var(--navy); display: block; font-size: 18px; }
.timeline span { color: var(--muted); }

/* news */
.news-list { display: grid; gap: 18px; }
.news-item { display: grid; grid-template-columns: 140px 1fr; gap: 24px; }
.news-item time { color: var(--gold-dark); font-weight: 700; }
.news-item h3 { margin: 0 0 6px; }
.news-empty { text-align: center; padding: 44px 30px; }
.news-empty p { max-width: 520px; margin: 0 auto; }

/* contact */
.contact { background: var(--navy); color: #fff; }
.contact .section-head h2 { color: #fff; }
.contact .section-head p { color: #c3cbd9; }
.contact .card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.contact .card h3 { color: var(--gold); font-size: 18px; margin-top: 0; }
.contact .card p, .contact .card a { color: #e4e9f2; }
.contact .card a { text-decoration: none; display: block; direction: ltr; text-align: start; }
.contact .card a:hover { color: var(--gold); }
.muted-note { font-size: 14px; color: #9fabc0 !important; margin-top: 6px !important; }

/* footer */
footer { background: #111b30; color: #9fabc0; padding: 28px 0; font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* responsive */
@media (max-width: 900px) {
  .about, .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .about { gap: 36px; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav-links {
    display: none; position: absolute; top: 72px; inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .lang-btn { margin-top: 12px; align-self: flex-start; }
  .brand img { height: 36px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 64px 0 56px; }
  .stats { grid-template-columns: 1fr; margin-top: 44px; }
  section { padding: 64px 0; }
  .card { padding: 24px; }
  .news-item { grid-template-columns: 1fr; gap: 6px; }
}
