:root{
  --bg:#f7f8fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --border:#e2e8f0;
  --blue:#2563eb;
  --green:#16a34a;
  --purple:#7c3aed;
  --shadow:0 10px 25px rgba(2,6,23,.10);
}

html{scroll-behavior:smooth;}
*{box-sizing:border-box;}
body{
  margin:0;
  font-family:'Tajawal',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}
body.ltr{font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;}

.container{max-width:1100px;margin:0 auto;padding:0 16px;}
.hidden{display:none !important;}
.center{text-align:center;}
.muted{color:var(--muted);}
.tiny{font-size:12px;}

/* Dark mode */
body.dark{
  --bg:#0b1220;
  --card:#111a2e;
  --text:#e5e7eb;
  --muted:#cbd5e1;
  --border:#24324f;
  --shadow:0 10px 25px rgba(0,0,0,.35);
}

/* Header */
\.site-header{position:relative;z-index:50;background:var(--card);box-shadow:0 8px 18px rgba(2,6,23,.08);}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:12px;}
.brand{display:flex;align-items:center;gap:12px;min-width:0;}
.logo{width:56px;height:56px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,var(--blue),var(--green));color:white;flex:0 0 auto;}
.logo svg{width:34px;height:34px;}
.logo.small{width:44px;height:44px;border-radius:12px;}
.company-name{margin:0;font-size:18px;line-height:1.2;font-weight:800;}

.header-actions{display:flex;align-items:center;gap:10px;flex:0 0 auto;}
.icon-btn{
  border:1px solid var(--border);
  background:rgba(148,163,184,.12);
  color:var(--text);
  width:42px;height:42px;border-radius:12px;
  display:grid;place-items:center;
  cursor:pointer;
}
.icon-btn svg{width:22px;height:22px;}
.icon-btn:hover{filter:brightness(1.03);}

.primary-btn{
  border:0;cursor:pointer;
  padding:10px 14px;border-radius:12px;
  background:var(--blue);color:white;font-weight:700;
}
.primary-btn:hover{filter:brightness(1.05);}
.secondary-btn{
  border:0;cursor:pointer;
  padding:14px 18px;border-radius:14px;
  background:#fff;color:#0b1f4a;font-weight:800;
  box-shadow:0 12px 24px rgba(2,6,23,.25);
}
.gradient-btn{
  border:0;cursor:pointer;
  padding:14px 18px;border-radius:14px;
  background:linear-gradient(135deg,var(--blue),var(--green));
  color:white;font-weight:800;
  box-shadow:var(--shadow);
}

.nav{border-top:1px solid var(--border);}
.desktop-nav{display:none;}
.nav-inner{display:flex;gap:18px;  overflow-x: hidden; /* بدل auto */
  overflow-y: hidden;padding:10px 0;}
.nav-btn{
  background:transparent;border:0;cursor:pointer;
  color:var(--muted);font-weight:700;
  padding:8px 2px;white-space:nowrap;
  border-bottom:2px solid transparent;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
}
.nav-btn:hover{color:var(--blue);}
.nav-btn.active{color:var(--blue);border-bottom-color:var(--blue);}

.mobile-nav{background:var(--card);}
.nav-mobile{display:grid;gap:8px;padding:12px 0;}
.nav-mobile .nav-btn{border:1px solid var(--border);padding:12px 12px;border-radius:12px;text-align:start;}
.nav-mobile .nav-btn.active{background:var(--blue);color:#fff;border-color:transparent;}

.news-bar{background:linear-gradient(90deg,#0b1f4a,#0b2b66);color:#fff;overflow:hidden;padding:8px 0;}
.news-track{display:flex;gap:40px;white-space:nowrap;will-change:transform;animation:marquee 22s linear infinite;}
.news-item{padding:0 16px;}
@keyframes marquee{from{transform:translateX(0);}to{transform:translateX(50%);} }

/* Hero */
.hero{position:relative;height:600px;overflow:hidden;}
.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,23,63,.92),rgba(7,58,42,.78));}
.hero-content{position:relative;height:100%;display:flex;align-items:center;}
.hero-text{max-width:720px;color:#fff;}
.hero-text h2{margin:0 0 14px;font-size:48px;line-height:1.1;font-weight:900;}
.hero-text p{margin:0 0 22px;font-size:20px;opacity:.95;}

/* Sections */
.section{padding:72px 0;background:var(--card);}
.section.alt{background:linear-gradient(180deg,rgba(148,163,184,.12),rgba(255,255,255,0));}
body.dark .section.alt{background:linear-gradient(180deg,rgba(2,6,23,.35),rgba(2,6,23,0));}

.section-title{margin:0 0 18px;font-size:34px;font-weight:900;}
.lead{max-width:820px;margin:18px auto 0;text-align:center;font-size:18px;line-height:1.9;color:var(--muted);}

.grid{display:grid;gap:18px;}
.grid.two{grid-template-columns:1fr;}
.grid.three{grid-template-columns:1fr;}

.ceo-card{
  margin:20px auto 26px;
  max-width:1050px;
  background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(22,163,74,.12));
  border:1px solid var(--border);
  border-radius:26px;
  padding:18px;
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  box-shadow:var(--shadow);
}
body.dark .ceo-card{background:rgba(148,163,184,.08);}
.ceo-text h3{margin:0 0 10px;font-size:26px;font-weight:900;}
.ceo-meta h4{margin:0;font-size:22px;font-weight:900;color:var(--blue);}
.ceo-meta p{margin:2px 0 0;font-weight:700;color:var(--muted);}
.ceo-media img{width:100%;height:360px;object-fit:cover;border-radius:18px;box-shadow:var(--shadow);}

.feature{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  padding:18px;
  box-shadow:var(--shadow);
}
.feature-icon{width:52px;height:52px;border-radius:999px;display:grid;place-items:center;background:var(--blue);color:white;margin-bottom:10px;}
.feature-icon.green{background:var(--green);}
.feature h3{margin:0 0 8px;font-size:20px;font-weight:900;}
.feature p{margin:0;line-height:1.8;}

/* Cards */
.card{background:var(--card);border:1px solid var(--border);border-radius:18px;overflow:hidden;box-shadow:var(--shadow);}
.card .card-media{height:180px;background:linear-gradient(135deg,var(--blue),var(--green));}
.card img{width:100%;height:100%;object-fit:cover;opacity:.9;}
.card .card-body{padding:16px;}
.card .badge{display:inline-block;font-size:12px;font-weight:800;color:var(--blue);background:rgba(37,99,235,.10);padding:6px 10px;border-radius:999px;}
.card h3{margin:8px 0 10px;font-size:18px;font-weight:900;}
.card p{margin:0 0 12px;line-height:1.7;color:var(--muted);}
.card .link{display:inline-flex;align-items:center;gap:6px;color:var(--blue);font-weight:900;text-decoration:none;cursor:pointer;}

.list{margin:0;padding:0;list-style:none;display:grid;gap:10px;}
.list li{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:14px;box-shadow:var(--shadow);}
.list li strong{display:block;font-weight:900;margin-bottom:4px;}

.location-card{margin-top:14px;display:flex;align-items:center;gap:12px;padding:16px;border:1px solid var(--border);border-radius:18px;background:var(--card);box-shadow:var(--shadow);}
.location-dot{width:46px;height:46px;border-radius:999px;background:rgba(37,99,235,.15);color:var(--blue);display:grid;place-items:center;}
.location-dot svg{width:22px;height:22px;}

.map-card{border-radius:18px;overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow);height:360px;background:var(--card);}

.checklist{display:grid;gap:10px;margin-top:14px;}
.check{display:flex;align-items:center;gap:10px;}
.check i{width:30px;height:30px;border-radius:999px;background:var(--blue);display:grid;place-items:center;color:#fff;font-style:normal;font-weight:900;}

.media-card{border-radius:18px;overflow:hidden;border:1px solid var(--border);box-shadow:var(--shadow);}
.media-card img{width:100%;height:100%;object-fit:cover;display:block;}

.stack{display:grid;gap:12px;}
.info-card{display:flex;gap:12px;align-items:flex-start;padding:16px;border-radius:18px;border:1px solid var(--border);background:var(--card);box-shadow:var(--shadow);}
.dot{width:46px;height:46px;border-radius:999px;display:grid;place-items:center;color:#fff;flex:0 0 auto;}
.dot.blue{background:var(--blue);} .dot.green{background:var(--green);} .dot.purple{background:var(--purple);}
.dot svg{width:22px;height:22px;}

.form-card{padding:18px;border-radius:18px;border:1px solid var(--border);background:var(--card);box-shadow:var(--shadow);}
.field{display:grid;gap:8px;margin-bottom:14px;}
label{font-weight:800;color:var(--muted);}
input,textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:2px solid var(--border);
  outline:none;
  background:transparent;
  color:var(--text);
}
input:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(37,99,235,.18);}

.footer{padding:22px 0;background:var(--card);border-top:1px solid var(--border);}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;}
.footer-left{display:flex;align-items:center;gap:12px;}
.footer-title{font-weight:900;}
.to-top{width:40px;height:40px;border-radius:12px;border:1px solid var(--border);display:grid;place-items:center;text-decoration:none;color:var(--text);background:rgba(148,163,184,.12);}

/* Responsive */
.mobile-only{display:inline-grid;}
@media (min-width: 900px){
  .desktop-nav{display:block;}
  .mobile-only{display:none;}
  .grid.two{grid-template-columns:1fr 1fr;}
  .grid.three{grid-template-columns:repeat(3,1fr);}
  .ceo-card{grid-template-columns:1fr 1fr;align-items:center;padding:26px;gap:24px;}
  .ceo-media img{height:420px;}
  .hero-text h2{font-size:58px;}
}
