
:root {
  --navy:#1A2B4C;
  --navy-deep:#0F1A30;
  --navy-light:#243B68;
  --gold:#D4A857;
  --gold-deep:#B88A3D;
  --accent:#C8102E;
  --white:#fff;
  --ivory:#FFF9EF;
  --ivory-light:#FFFCF6;
  --line:rgba(26,43,76,.14);
  --gray:#64748b;
  --shadow:0 22px 70px rgba(15,26,48,.14);
  --font-en:"Inter","Segoe UI",Arial,sans-serif;
  --font-ar:"Tajawal","Cairo",Tahoma,Arial,sans-serif;
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  margin:0;
  background:var(--ivory-light);
  color:var(--navy);
  font-family:var(--font-en);
  font-size:16px;
  line-height:1.75;
}
body[dir="rtl"] { font-family:var(--font-ar); }
a { color:inherit; text-decoration:none; }
a:hover { color:var(--gold); }
.container { width:min(1180px, calc(100% - 40px)); margin:auto; }
.site-header {
  position:sticky;
  top:0;
  z-index:20;
  background:rgba(15,26,48,.96);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.nav {
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.logo { display:flex; align-items:center; gap:12px; color:var(--white); font-weight:900; }
.logo img { width:auto; height:54px; max-width:220px; object-fit:contain; }
.logo span { color:var(--white); letter-spacing:0; }
.nav-links { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.nav-links a {
  color:rgba(255,255,255,.82);
  font-size:.92rem;
  font-weight:750;
  padding:9px 12px;
  border-radius:8px;
}
.nav-links a:hover,
.nav-links a.active { color:var(--navy); background:var(--gold); }
.lang-switch {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  min-height:38px;
  border:1px solid rgba(212,168,87,.75);
  color:var(--gold) !important;
  border-radius:8px;
  font-weight:900;
}
.lang-switch:hover { background:var(--gold); color:var(--navy) !important; }
.hero {
  position:relative;
  overflow:hidden;
  min-height:74vh;
  display:flex;
  align-items:center;
  background:
    radial-gradient(circle at 86% 12%, rgba(212,168,87,.20), transparent 32%),
    radial-gradient(circle at 10% 18%, rgba(36,59,104,.45), transparent 35%),
    linear-gradient(135deg,var(--navy-deep) 0%,var(--navy) 100%);
  color:var(--white);
  padding:130px 0 78px;
}
.hero:after {
  content:"";
  position:absolute;
  inset:auto -80px -160px auto;
  width:420px;
  height:420px;
  border:1px solid rgba(212,168,87,.25);
  border-radius:50%;
}
.hero-grid { position:relative; z-index:1; display:grid; grid-template-columns:minmax(0,1.12fr) minmax(300px,.88fr); gap:46px; align-items:center; }
.kicker {
  display:inline-flex;
  color:var(--gold);
  border:1px solid rgba(212,168,87,.35);
  background:rgba(212,168,87,.10);
  border-radius:999px;
  padding:7px 13px;
  font-size:.78rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
h1 {
  margin:18px 0 18px;
  color:var(--white);
  font-size:clamp(38px, 6vw, 76px);
  line-height:1.02;
  letter-spacing:0;
  max-width:900px;
}
h2 { color:var(--navy); font-size:clamp(26px, 3vw, 42px); line-height:1.15; margin:0 0 18px; letter-spacing:0; }
h3 { color:var(--navy); font-size:1.16rem; margin:0 0 10px; }
p { color:var(--gray); margin-top:0; }
.hero p,
.lead { color:rgba(255,255,255,.82); font-size:1.08rem; max-width:780px; }
.hero-card,
.panel,
.card {
  border:1px solid var(--line);
  border-radius:8px;
  background:var(--white);
  box-shadow:var(--shadow);
}
.hero-card {
  padding:30px;
  background:rgba(255,255,255,.95);
}
.hero-card ul,
.check-list { list-style:none; padding:0; margin:0; display:grid; gap:13px; }
.hero-card li,
.check-list li { color:var(--navy); font-weight:750; }
.hero-card li:before,
.check-list li:before { content:"✓"; color:var(--accent); font-weight:900; margin-inline-end:10px; }
.section { padding:74px 0; }
.section:nth-of-type(even),
.band { background:var(--white); }
.grid-2 { display:grid; grid-template-columns:minmax(0,1.08fr) minmax(300px,.92fr); gap:32px; align-items:start; }
.grid-3 { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:22px; }
.panel,
.card { padding:26px; }
.card { box-shadow:0 14px 42px rgba(15,26,48,.08); }
.card:hover { transform:translateY(-3px); transition:.22s ease; border-color:rgba(212,168,87,.55); }
.faq details { border-top:1px solid var(--line); padding:18px 0; }
.faq summary { cursor:pointer; color:var(--navy); font-weight:900; }
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 20px;
  border-radius:8px;
  background:var(--gold);
  color:var(--navy) !important;
  font-weight:900;
  border:1px solid var(--gold);
}
.btn:hover { background:var(--gold-deep); border-color:var(--gold-deep); color:var(--navy) !important; }
.cta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  background:
    radial-gradient(circle at 88% 12%, rgba(212,168,87,.22), transparent 30%),
    linear-gradient(135deg,var(--navy-deep),var(--navy));
  color:var(--white);
  padding:42px;
  border-radius:8px;
  box-shadow:var(--shadow);
}
.cta h2,
.cta p { color:var(--white); margin:0; }
.footer {
  background:var(--navy-deep);
  color:rgba(255,255,255,.72);
  padding:42px 0;
}
.footer .container {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.08);
  padding-top:22px;
}
.footer-brandline { color:var(--white); font-weight:900; }
.footer a { color:var(--gold); }
body[dir="rtl"] .nav,
body[dir="rtl"] .hero-grid,
body[dir="rtl"] .grid-2,
body[dir="rtl"] .cta { direction:rtl; }
body[dir="rtl"] .nav-links { direction:rtl; }
@media (max-width:900px) {
  .nav { align-items:flex-start; flex-direction:column; padding:14px 0; }
  .hero { min-height:auto; padding:116px 0 56px; }
  .hero-grid,
  .grid-2,
  .grid-3 { grid-template-columns:1fr; }
  .cta { display:block; }
  .cta .btn { margin-top:18px; }
}


/* FINAL FIX: keep language switch in the correct header position */
.site-header .nav {
  display:grid;
  grid-template-columns:auto minmax(0, 1fr) auto;
  align-items:center;
  gap:18px;
}
.site-header .nav .logo { min-width:0; }
.site-header .nav .logo img { height:48px; max-width:170px; }
.site-header .nav .nav-links {
  justify-content:center;
  flex-wrap:nowrap;
  gap:4px;
  min-width:0;
}
.site-header .nav .nav-links a {
  white-space:nowrap;
  padding:8px 9px;
  font-size:.88rem;
}
.site-header .nav > .lang-switch {
  justify-self:end;
  flex-shrink:0;
}
body[dir="rtl"] .site-header .nav > .lang-switch { justify-self:start; }
@media (max-width:1100px) {
  .site-header .nav .logo span { display:none; }
  .site-header .nav .logo img { max-width:150px; }
  .site-header .nav .nav-links a { padding:7px 7px; font-size:.84rem; }
}
@media (max-width:900px) {
  .site-header .nav {
    grid-template-columns:1fr auto;
    gap:12px;
    align-items:center;
    padding:14px 0;
  }
  .site-header .nav .logo { grid-column:1; grid-row:1; justify-self:start; }
  body[dir="rtl"] .site-header .nav .logo { justify-self:end; }
  .site-header .nav > .lang-switch { grid-column:2; grid-row:1; align-self:center; justify-self:end; }
  body[dir="rtl"] .site-header .nav > .lang-switch { justify-self:start; }
  .site-header .nav .nav-links {
    grid-column:1 / -1;
    grid-row:2;
    flex-wrap:wrap;
    justify-content:center;
    width:100%;
    margin-top:8px;
  }
}
