
:root{
  --brand:#1e5aa8;
  --brand-2:#0f3f7a;
  --bg:#0b1220;
  --text:#111827;
  --muted:#6b7280;
  --card:#ffffff;
  --border:#e5e7eb;
  --shadow:0 10px 30px rgba(0,0,0,.10);
  --radius:16px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  color:var(--text);
  background:#f6f7fb;
  line-height:1.6;
  direction:rtl;
}
a{color:var(--brand); text-decoration:none}
a:hover{text-decoration:underline}

.container{width:min(1100px, 92vw); margin:0 auto}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px; border-radius:12px; border:1px solid transparent;
  background:var(--brand); color:white; font-weight:600; cursor:pointer;
  box-shadow: 0 8px 18px rgba(30,90,168,.18);
}
.btn:hover{background:var(--brand-2)}
.btn.secondary{background:white; color:var(--brand); border-color:rgba(30,90,168,.25); box-shadow:none}
.badge{display:inline-flex; gap:8px; align-items:center; padding:6px 10px; border-radius:999px; background:rgba(30,90,168,.08); color:var(--brand); font-weight:700; font-size:13px}

header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.85);
  border-bottom:1px solid rgba(0,0,0,.06);
}
.navbar{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 0;
  gap:14px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  min-width: 220px;
}
.brand img{width:150px; height:auto}
.nav{
  display:flex; gap:18px; flex-wrap:wrap;
  align-items:center; justify-content:center;
}
.nav a{padding:8px 10px; border-radius:10px; font-weight:700; color:var(--text)}
.nav a:hover{background:rgba(30,90,168,.08); text-decoration:none}
.nav-toggle{
  display:none; background:transparent; border:1px solid rgba(0,0,0,.10);
  border-radius:12px; padding:8px 10px; cursor:pointer;
}
.nav-toggle span{display:block; width:22px; height:2px; background:#111827; margin:5px 0; border-radius:2px}
@media (max-width: 860px){
  .nav{display:none; width:100%; padding:10px 0}
  .nav.open{display:flex; flex-direction:column; align-items:stretch}
  .nav a{width:100%}
  .nav-toggle{display:block}
  .brand{min-width:auto}
  .brand img{width:120px}
}

.hero{
  background:
    radial-gradient(1200px 500px at 80% -20%, rgba(30,90,168,.35), transparent 60%),
    radial-gradient(900px 420px at 0% 0%, rgba(15,63,122,.25), transparent 50%),
    linear-gradient(180deg, #0b1220 0%, #0b1220 55%, #f6f7fb 55%);
  padding:44px 0 0;
}
.hero-grid{
  display:grid; gap:18px; align-items:stretch;
  grid-template-columns: 1.2fr .8fr;
  padding-bottom:28px;
}
@media (max-width: 920px){
  .hero-grid{grid-template-columns: 1fr}
}
.hero-card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  border-radius:24px;
  padding:22px;
  color:white;
  box-shadow: 0 18px 60px rgba(0,0,0,.28);
}
.hero h1{margin:0 0 10px; font-size:34px; line-height:1.25}
.hero p{margin:0 0 18px; color:rgba(255,255,255,.82)}
.hero-actions{display:flex; gap:10px; flex-wrap:wrap}
.hero-actions .btn.secondary{background:transparent; color:white; border-color:rgba(255,255,255,.28)}
.hero-actions .btn.secondary:hover{background:rgba(255,255,255,.08)}
.kpi{
  display:grid; grid-template-columns: repeat(3, 1fr);
  gap:10px; margin-top:16px
}
.kpi .box{
  background:#1b2a44;
  border:1px solid rgba(0,0,0,.12);
  border-radius:18px;
  padding:12px 12px;
}
.kpi .n{font-size:18px; font-weight:900; color:#ffffff;}
.kpi .t{font-size:12px; color:rgba(255,255,255,.80); font-weight:700}
@media (max-width: 520px){
  .kpi{grid-template-columns:1fr}
}

.slider{
  background:white;
  border-radius:24px;
  overflow:hidden;
  box-shadow: var(--shadow);
  border:1px solid rgba(0,0,0,.06);
}
.slide{
  position:relative;
  height: 360px;
  display:none;
}
.slide.active{display:block}
.slide img{
  width:100%; height:100%; object-fit:cover; display:block;
}
.slide .caption{
  position:absolute; inset:auto 16px 16px 16px;
  background:rgba(0,0,0,.45);
  color:white; padding:10px 12px;
  border-radius:14px; font-weight:800
}
.slider-controls{
  display:flex; gap:8px; justify-content:flex-end; align-items:center;
  padding:10px 12px; background:#fff;
}
.dot{
  width:10px; height:10px; border-radius:999px;
  background:rgba(30,90,168,.22); border:0; cursor:pointer;
}
.dot.active{background:var(--brand)}
.section{padding:52px 0}
.section h2{margin:0 0 12px; font-size:26px}
.section p.lead{margin:0; color:var(--muted)}

.grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
@media (max-width: 980px){.grid{grid-template-columns: repeat(3, 1fr)}}
@media (max-width: 720px){.grid{grid-template-columns: repeat(2, 1fr)}}
@media (max-width: 420px){.grid{grid-template-columns: 1fr}}

.card{
  background:var(--card);
  border:1px solid rgba(0,0,0,.06);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 24px rgba(17,24,39,.06);
  display:flex;
  flex-direction:column;
  min-height: 100%;
}
.card img{width:100%; height:150px; object-fit:cover; background:#eef2ff}
.card .body{padding:12px 12px 14px}
.card .title{margin:0 0 6px; font-size:14.5px; font-weight:900}
.meta{display:flex; gap:10px; flex-wrap:wrap; color:var(--muted); font-size:12px; font-weight:700}
.card .actions{padding:0 12px 14px; margin-top:auto}
.card .actions .btn{width:100%}

.gallery{
  display:grid; grid-template-columns: repeat(4, 1fr);
  gap:10px;
}
@media (max-width: 900px){.gallery{grid-template-columns: repeat(3, 1fr)}}
@media (max-width: 640px){.gallery{grid-template-columns: repeat(2, 1fr)}}
.gallery a{
  display:block; border-radius:16px; overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 24px rgba(17,24,39,.06);
}
.gallery img{width:100%; height:160px; object-fit:cover; display:block; background:#eef2ff}

.footer{
  background:#0b1220; color:rgba(255,255,255,.8);
  padding:28px 0;
  margin-top:40px;
}
.footer .row{
  display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap;
}
.footer a{color:white; font-weight:800}
.footer small{color:rgba(255,255,255,.7)}

.breadcrumb{color:var(--muted); font-weight:700}
.breadcrumb a{color:var(--brand)}

.page-hero{
  background: linear-gradient(120deg, rgba(30,90,168,.22), rgba(15,63,122,.18)), #0b1220;
  color:white; padding:34px 0;
}
.page-hero h1{margin:0; font-size:28px}
.searchbar{
  display:flex; gap:10px; flex-wrap:wrap; margin-top:14px;
}
.searchbar input{
  flex:1;
  min-width: 220px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color:white;
  padding:10px 12px;
  border-radius:14px;
  outline:none;
}
.searchbar input::placeholder{color:rgba(255,255,255,.75)}
.searchbar .btn{box-shadow:none}

.table{
  width:100%; border-collapse:collapse;
}
.table th, .table td{
  padding:10px 10px; border-bottom:1px solid var(--border); text-align:right;
}
.table th{color:var(--muted); font-size:13px}

/* LTR support for English pages */
body[dir="ltr"]{direction:ltr}
body[dir="ltr"] .breadcrumb, body[dir="ltr"] .table th, body[dir="ltr"] .table td {text-align:left}
body[dir="ltr"] header .navbar{direction:ltr}

/* KPI FIX */
.kpi-box, .stats-box, .counter-box {
  background: #0b1a2b !important;
  color: #ffffff !important;
}
.kpi-box *, .stats-box *, .counter-box * {
  color: #ffffff !important;
}


/* ===== Premium Contact Form (NP) ===== */

.np-contact-wrap{display:flex;justify-content:center;padding:10px 0}
.np-contact-card{
  width:100%;
  max-width:760px;
  border-radius:22px;
  padding:22px;
  background:linear-gradient(180deg,#ffffff, #f7f9ff);
  box-shadow:0 28px 70px rgba(0,0,0,.16);
  border:1px solid rgba(27,42,68,.10);
}
.np-contact-logo{max-width:320px;display:block;margin:0 auto 12px}
.np-contact-head{background:#1b2a44;border-radius:18px;color:#fff;padding:18px 18px 16px;margin-bottom:14px}
.np-contact-title{margin:0;font-size:24px;font-weight:800}
.np-contact-subtitle{margin:6px 0 0;font-size:14px;opacity:.92}
.np-alert{border-radius:16px;padding:12px 14px;font-weight:700;margin:10px 0 14px}
.np-alert-success{background:#e9f8ef;border:1px solid #a7e1be;color:#156a35}
.np-contact-form{margin:0}
.np-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.np-field{margin-bottom:12px}
.np-label{display:block;font-weight:800;margin-bottom:6px;color:#1b2a44}
.np-input,.np-textarea{
  width:100%;
  border-radius:16px;
  border:1px solid rgba(27,42,68,.18);
  padding:14px 14px;
  font-size:15px;
  background:#fff;
  transition:box-shadow .15s,border-color .15s,transform .15s;
}
.np-input:focus,.np-textarea:focus{
  outline:none;
  border-color:#1b2a44;
  box-shadow:0 0 0 3px rgba(27,42,68,.14);
}
.np-textarea{resize:vertical;min-height:140px}
.np-turnstile{display:flex;flex-direction:column;align-items:center;gap:8px;margin:14px 0 8px}
.np-turnstile-label{font-size:13px;color:#31425f;font-weight:700}
.np-btn{
  width:100%;
  border:none;
  border-radius:16px;
  padding:14px 18px;
  font-size:16px;
  font-weight:900;
  background:#1b2a44;
  color:#fff;
  cursor:pointer;
  box-shadow:0 16px 30px rgba(27,42,68,.22);
}
.np-btn:hover{opacity:.94}
.np-contact-info{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr;
  gap:12px;
  margin-top:16px;
  padding-top:16px;
  border-top:1px solid rgba(27,42,68,.12);
}
.np-info-block{background:#fff;border:1px solid rgba(27,42,68,.10);border-radius:18px;padding:12px}
.np-info-title{font-weight:900;color:#1b2a44;margin-bottom:6px}
.np-info-text{color:#425777;font-weight:600;font-size:14px;line-height:1.5}
.np-link{color:#1b2a44;text-decoration:underline}
@media(max-width:800px){
  .np-grid{grid-template-columns:1fr}
  .np-contact-info{grid-template-columns:1fr}
}


/* Theme toggle + Dark mode */

.theme-toggle{
  display:inline-flex; align-items:center; justify-content:center;
  width:42px; height:42px;
  border-radius:14px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.55);
  cursor:pointer;
  box-shadow:0 8px 20px rgba(0,0,0,.10);
}
.theme-toggle .icon{font-size:18px; line-height:1}
html[data-theme="dark"]{
  --text:#e5e7eb;
  --muted:#a1a1aa;
  --card:#0f172a;
  --border:#1f2937;
}
html[data-theme="dark"] body{background:#0b1220}
html[data-theme="dark"] header{
  background: rgba(15,23,42,.78);
  border-bottom:1px solid rgba(255,255,255,.10);
}
html[data-theme="dark"] .theme-toggle{
  background:rgba(15,23,42,.65);
  border-color:rgba(255,255,255,.14);
}
html[data-theme="dark"] .section.bg-light{background:#0b1220}
html[data-theme="dark"] .card, 
html[data-theme="dark"] .object-card,
html[data-theme="dark"] .contact-card{
  background:var(--card);
  border-color:var(--border);
}


/* ===== About (EN) formatting ===== */
.section-title{font-weight:900; margin:0 0 10px;}
.section-subtitle{font-weight:900; margin:22px 0 10px;}
.mgmt-block{padding:14px 16px; border-radius:14px; margin:12px 0; background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.10);}
body.theme-light .mgmt-block, body[data-theme="light"] .mgmt-block{background:rgba(27,42,68,0.04); border:1px solid rgba(27,42,68,0.10);}
.mgmt-block h4{margin:0 0 6px; font-weight:900;}
