
:root{
  --navy:#0f2f63;
  --sky:#eaf6ff;
  --sky2:#dff2ff;
  --card:#ffffff;
  --text:#12223a;
  --muted:rgba(18,34,58,.72);
  --yellow:#f4b400;
  --teal:#36a5c7;
  --shadow:0 18px 40px rgba(0,0,0,.10);
  --radius:22px;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--text);background:linear-gradient(180deg,var(--sky),#fff)}
a{color:inherit}
.container{max-width:1100px;margin:0 auto;padding:0 16px}
.nav{
  background:var(--navy);
  position:sticky;top:0;z-index:50;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}
.nav .inner{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 16px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff;font-weight:900}
.brand .logo{width:34px;height:34px;border-radius:12px;background:rgba(255,255,255,.15);display:grid;place-items:center}
.brand span{letter-spacing:.2px}
.menu{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.menu a{color:#eaf3ff;text-decoration:none;font-weight:700;padding:8px 10px;border-radius:999px}
.menu a:hover{background:rgba(255,255,255,.12)}
.lang{display:flex;gap:8px;align-items:center}
.lang button{
  border:1px solid rgba(255,255,255,.25);
  background:rgba(255,255,255,.10);
  color:#fff;
  padding:7px 10px;border-radius:999px;font-weight:800;cursor:pointer
}
.lang button.active{background:rgba(244,180,0,.22);border-color:rgba(244,180,0,.65)}
.hero{
  padding:26px 0 10px;
  background:radial-gradient(circle at top,#ffffff 0%,var(--sky) 55%,var(--sky2) 100%);
}
.heroGrid{display:grid;grid-template-columns:1.08fr .92fr;gap:22px;align-items:center}
@media (max-width:900px){.heroGrid{grid-template-columns:1fr}}
.card{
  background:rgba(255,255,255,.94);
  border:1px solid rgba(15,47,99,.08);
  border-radius:var(--radius);
  padding:22px 20px;
  box-shadow:var(--shadow);
}
.kicker{display:inline-flex;align-items:center;gap:8px;font-weight:900;color:#173568}
.h1{font-size:44px;line-height:1.05;margin:10px 0 10px;letter-spacing:-.6px}
@media (max-width:480px){.h1{font-size:36px}}
.sub{color:var(--muted);margin:0 0 12px;font-size:16px}
.badges{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 10px}
.badge{
  display:inline-flex;gap:8px;align-items:center;
  padding:10px 12px;border-radius:999px;
  background:#f7fbff;border:1px solid rgba(15,47,99,.10);
  font-weight:800;color:#173568;font-size:13px
}
.note{
  margin-top:10px;
  font-weight:900;color:#12335e;
  background:rgba(244,180,0,.18);
  border:1px solid rgba(244,180,0,.35);
  padding:10px 12px;border-radius:14px;
}
.cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  text-decoration:none;font-weight:900;border-radius:999px;
  padding:12px 16px;border:0;cursor:pointer
}
.btn.primary{background:var(--yellow);color:#12335e}
.btn.secondary{background:var(--teal);color:#fff}
.btn.ghost{background:#fff;color:#12335e;border:1px solid rgba(15,47,99,.10)}
.heroImg{
  width:100%;border-radius:var(--radius);box-shadow:var(--shadow);
  border:1px solid rgba(15,47,99,.08);background:#fff
}
.section{padding:26px 0}
.h2{font-size:28px;margin:0 0 8px}
.p{color:var(--muted);margin:0}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:14px}
@media (max-width:900px){.cards{grid-template-columns:1fr}}
.smallCard{
  background:var(--card);
  border:1px solid rgba(15,47,99,.08);
  border-radius:20px;
  padding:16px 14px;
  box-shadow:0 12px 26px rgba(0,0,0,.06);
}
.smallCard h3{margin:6px 0 6px}
.smallCard p{margin:0;color:var(--muted)}
.footer{background:var(--navy);color:#fff;padding:18px 0;margin-top:12px}
.footer .inner{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
.footer a{color:#fff}
/* Forms */
form{margin:0}
.formGrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (max-width:900px){.formGrid{grid-template-columns:1fr}}
.field{display:flex;flex-direction:column;gap:6px}
label{font-weight:800}
input,select,textarea{
  width:100%;padding:12px 12px;border-radius:14px;
  border:1px solid rgba(15,47,99,.14);
  background:#fff;font-size:14px
}
textarea{min-height:90px;resize:vertical}
.helper{font-size:12px;color:rgba(18,34,58,.70)}
.totalBox{
  background:#fff;border:1px solid rgba(15,47,99,.10);
  border-radius:18px;padding:14px 14px;box-shadow:0 10px 22px rgba(0,0,0,.06)
}
.totalRow{display:flex;justify-content:space-between;gap:12px;margin:6px 0;font-weight:900}
hr{border:0;border-top:1px solid rgba(15,47,99,.10);margin:12px 0}


/* RTL support (Arabic) */
html[dir="rtl"] body{direction:rtl;}
html[dir="rtl"] .nav .inner{flex-direction:row-reverse;}
html[dir="rtl"] .menu{flex-direction:row-reverse;}
html[dir="rtl"] .brand{flex-direction:row-reverse;}
html[dir="rtl"] .cards{direction:rtl;}
html[dir="rtl"] .card, html[dir="rtl"] .smallCard, html[dir="rtl"] .p, html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3{text-align:right;}

/* Polished UI */
.cards{align-items:stretch;}
.card, .smallCard{height:100%;}
.cta{display:flex; gap:10px; flex-wrap:wrap;}
.btn{border-radius:14px;}
.btn.secondary{box-shadow:0 1px 0 rgba(0,0,0,.04);}
.h2{letter-spacing:-.01em;}
.p{line-height:1.7;}
.iconRow{display:flex; align-items:center; gap:10px;}
.iconBadge{width:38px;height:38px;border-radius:14px;background:rgba(54,165,199,.12);display:flex;align-items:center;justify-content:center;flex:0 0 auto;}
.iconBadge svg{width:20px;height:20px;color:#173568;}
.brand .logo{display:flex;align-items:center;justify-content:center;width:28px;height:28px;}
.logoIcon{width:22px;height:22px;color:#173568;}

/* Make sections breathe a little more */
.section{padding-top:34px;padding-bottom:34px;}
@media (max-width: 700px){
  .cards{grid-template-columns:1fr !important;}
}

/* RTL polish */
html[dir="rtl"] .iconRow{flex-direction:row-reverse;}
