/* ============================================================
   SharpTracking — Theme v5 (shared) | 2026-08-29
   Nasser's original design system (st-*), freed from the locked
   Elementor template and extended site-wide:
   red header + clipped logo plate, hero cards, pills, section
   system, solution cards, footer CTA, forms, light footer.
   Load AFTER /assets/style.css on pages that still use it.
   ============================================================ */
:root{
  --st-navy:#0B2950;
  --st-blue:#193B78;
  --st-red:#E11D48;
  --st-green:#25D366;
  --st-text:#0f172a;
  --st-muted:#64748b;
  --st-border:#E5E7EB;
  --st-soft:#f6f8fb;
  --shadow:0 18px 50px rgba(2,6,23,.10);
  --shadow2:0 12px 28px rgba(2,6,23,.08);
  --shadow-hover:0 25px 50px -12px rgba(2,6,23,.18);
  --max:1180px;
  --transition: all .28s cubic-bezier(.4,0,.2,1);
  /* HERO + FOOTER IMAGE (same URL) */
  --st-hero-img:url("https://www.sharptracking.com/wp-content/uploads/2025/11/b44f2343-f05c-4eaf-9ba2-6968bf53cd1b.webp");
}
body{font-family:"Cairo",sans-serif;color:var(--st-text);background:#fff;line-height:1.75;-webkit-font-smoothing:antialiased;margin:0}
.st-wrap, .st-wrap *{ box-sizing:border-box; font-family:"Cairo",sans-serif !important; }
.st-wrap{ color:var(--st-text); direction:rtl; text-align:right; }
[data-lang="en"] .st-wrap{ direction:ltr; text-align:left; }
.st-container{ max-width:var(--max); margin:0 auto; padding:0 18px; }

/* ---- Bilingual ---- */
[data-lang="ar"] .en{display:none!important}
[data-lang="en"] .ar{display:none!important}

/* ============================================================
   HEADER — red band + clipped white logo plate
   ============================================================ */
.st-header{position:sticky;top:0;z-index:1000;background:var(--st-red);box-shadow:0 4px 18px rgba(2,6,23,.18)}
.st-nav{max-width:1200px;margin:0 auto;padding:0 20px;height:74px;display:flex;align-items:center;justify-content:space-between;gap:18px;box-sizing:border-box}
.st-logoPlate{background:#fff;height:74px;display:flex;align-items:center;padding:0 44px 0 20px;margin-inline-start:-20px;clip-path:polygon(0 0,100% 0,79% 100%,0 100%)}
.st-logoPlate img{height:48px;width:auto;display:block}
.st-navLinks{display:flex;align-items:center;gap:6px}
.st-navLinks a{color:#fff;font-weight:800;font-size:15.5px;padding:9px 14px;border-radius:10px;transition:background .2s ease;text-decoration:none}
.st-navLinks a:hover,.st-navLinks a.active{background:rgba(255,255,255,.16)}
.st-header .nav-right{display:flex;align-items:center;gap:10px}
.st-header .btn-lang,
.mobile-menu .btn-lang{
  display:inline-flex;align-items:center;gap:8px;
  background:var(--st-blue);color:#fff;border:1px solid rgba(255,255,255,.35);
  padding:8px 16px;border-radius:999px;font-weight:800;font-size:13.5px;
  transition:transform .15s ease, box-shadow .15s ease;cursor:pointer;font-family:inherit
}
.st-header .btn-lang:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(2,6,23,.25)}
.st-header .nav-hamburger{display:none;flex-direction:column;gap:5px;background:none;border:none;padding:8px;cursor:pointer}
.st-header .nav-hamburger span{display:block;width:24px;height:2.5px;background:#fff;border-radius:2px;transition:all .2s ease}
.st-header .nav-hamburger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.st-header .nav-hamburger.open span:nth-child(2){opacity:0}
.st-header .nav-hamburger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.st-header ~ .mobile-menu{display:none;position:fixed;top:74px;left:0;right:0;background:#fff;padding:18px 22px;z-index:999;border-bottom:1px solid var(--st-border);box-shadow:0 14px 30px rgba(2,6,23,.14)}
.st-header ~ .mobile-menu.open{display:block}
.st-header ~ .mobile-menu a{display:block;color:var(--st-text);font-weight:700;padding:13px 0;border-bottom:1px solid var(--st-border);font-size:16px;text-decoration:none}
.st-header ~ .mobile-menu a:last-of-type{border-bottom:none}
.st-header ~ .mobile-menu .mobile-lang{margin-top:14px}
.st-header ~ .mobile-menu .mobile-lang .btn-lang{width:100%;justify-content:center}

/* ===== Pills ===== */
.st-pill{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px; border-radius:999px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.22);
  color:#fff; font-weight:800; font-size:13.5px;
  backdrop-filter: blur(10px);
}
.st-dot{ width:8px; height:8px; border-radius:999px; background:rgba(255,255,255,.92); opacity:.9; }

/* ===== HERO (homepage) ===== */
.st-hero{ margin:26px 0 34px; }
.st-heroCard{ border-radius:28px; box-shadow:var(--shadow); overflow:hidden; position:relative; background:#000; }
.st-heroVisual{ position:relative; min-height:600px; background:var(--st-hero-img); background-size:cover; background-position:center; transition:transform .5s ease; }
.st-heroVisual::before{ content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(11,41,80,0.85) 0%, rgba(11,41,80,0.40) 60%, rgba(11,41,80,0.92) 100%); pointer-events:none; }
.st-heroCopy{ position:absolute; inset:0; display:flex; align-items:flex-end; padding:58px 58px; pointer-events:none; }
.st-heroText{ max-width:800px; pointer-events:auto; }
.st-h1{ margin:16px 0 12px; font-size:52px; line-height:1.3; color:#fff; font-weight:900; }
.st-lead{ margin:0 0 24px; color:rgba(255,255,255,.92); font-size:19px; line-height:1.95; }

/* ===== PAGE HERO (inner pages) ===== */
.st-pageHero{ margin:26px 0 6px; }
.st-pageHeroCard{ position:relative; border-radius:28px; overflow:hidden; background:
  linear-gradient(180deg, rgba(11,41,80,.88) 0%, rgba(11,41,80,.78) 100%), var(--st-hero-img);
  background-size:cover; background-position:center; box-shadow:var(--shadow); text-align:center; padding:64px 28px; color:#fff; }
.st-pageHeroCard h1{ margin:14px 0 10px; font-size:40px; line-height:1.35; font-weight:900; color:#fff; }
.st-pageHeroCard p{ max-width:760px; margin:0 auto; color:rgba(255,255,255,.88); font-size:16px; line-height:1.95; }

/* ===== CTA buttons ===== */
.st-cta-row{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:28px; }
.st-btn-main{
  display:inline-flex; align-items:center; justify-content:center;
  padding:14px 24px; border-radius:999px; font-weight:800;
  text-decoration:none; transition:transform .15s ease, box-shadow .15s ease;
  box-shadow:0 10px 22px rgba(0,0,0,0.25); font-size:15px; border:none; cursor:pointer; font-family:inherit
}
.st-btn-main:hover{ transform:translateY(-1px); box-shadow:0 14px 28px rgba(0,0,0,0.32); }
.btn-wa{ background:var(--st-green); color:#0b1b11; }
.btn-red{ background:var(--st-red); color:#fff; }
.btn-white{ background:#fff; color:var(--st-navy); border:1px solid var(--st-navy); }

/* Stats */
.st-stats{ display:flex; gap:40px; padding-top:18px; border-top:1px solid rgba(255,255,255,.14); }
.st-stat-item b{ display:block; font-size:24px; color:#fff; font-weight:900; line-height:1.1; }
.st-stat-item span{ font-size:12.5px; color:rgba(255,255,255,.72); font-weight:700; text-transform:uppercase; letter-spacing:1px; }

/* ===== SECTIONS ===== */
.st-sec{ padding:58px 0; }
.st-secSoft{ background:var(--st-soft); }
.st-title{ font-size:40px; line-height:1.35; margin:0 0 10px; font-weight:900; }
.st-sub{ margin:0 0 26px; color:var(--st-muted); font-size:15.8px; line-height:1.9; max-width:78ch; }
.st-center{ text-align:center; }
.st-center .st-sub{ margin-left:auto; margin-right:auto; }

/* ===== Small cards (industries / features) ===== */
.st-indRow{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.st-indRow2{ display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.st-ind{ background:#fff; border:1px solid var(--st-border); border-radius:16px; padding:16px; box-shadow:var(--shadow2); transition:var(--transition); }
.st-ind:hover{ transform:translateY(-8px); box-shadow:var(--shadow-hover); border-color:rgba(25,59,120,.45); }
.st-ind b{ display:block; font-weight:900; margin-bottom:6px; font-size:16px; color:var(--st-navy); }
.st-ind span{ color:var(--st-muted); font-size:13.8px; line-height:1.8; }

/* ===== Video ===== */
.st-videoGrid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; align-items:center; }
.st-videoFrame{ border-radius:20px; overflow:hidden; border:1px solid rgba(255,255,255,.18); box-shadow:var(--shadow2); background:#000; aspect-ratio:16/9; }
.st-videoFrame iframe{ width:100%; height:100%; border:0; display:block; }

/* ===== Solution cards ===== */
.st-solGrid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.st-solCard{ background:#fff; border:1px solid var(--st-border); border-radius:18px; overflow:hidden; box-shadow:var(--shadow2); display:flex; flex-direction:column; min-height:420px; transition:var(--transition); }
.st-solCard:hover{ transform:translateY(-8px); box-shadow:var(--shadow-hover); border-color:rgba(25,59,120,.45); }
.st-solImg{ height:210px; background:var(--st-soft); overflow:hidden; }
.st-solImg img{ width:100%; height:100%; object-fit:cover; display:block; }
.st-solBody{ padding:16px 16px 18px; display:flex; flex-direction:column; gap:10px; flex:1; }
.st-solBody h3{ margin:0; font-size:18px; font-weight:900; color:var(--st-navy); }
.st-solBody p{ margin:0; color:var(--st-muted); font-size:14.2px; line-height:1.9; }
.st-solBody .st-hook{ margin:0; color:var(--st-navy); font-size:13.5px; line-height:1.8; font-style:italic; opacity:.85;
  border-inline-start:3px solid var(--st-red); padding-inline-start:10px; }
.st-tag{ display:inline-block; align-self:flex-start; background:rgba(225,29,72,.09); color:var(--st-red); font-size:11.5px; font-weight:800; letter-spacing:.05em; padding:3px 12px; border-radius:999px; }
.st-link{ margin-top:auto; display:inline-flex; align-items:center; gap:8px; font-weight:900; color:var(--st-blue); text-decoration:none; padding-top:6px; }
.st-link:hover{ color:var(--st-red); }

/* ===== FOOTER CTA ===== */
.st-footer-cta{ position:relative; border-radius:28px; overflow:hidden; margin:36px 0 0;
  background:linear-gradient(270deg, rgba(11,41,80,.90) 0%, rgba(11,41,80,.72) 45%, rgba(11,41,80,.24) 100%), var(--st-hero-img);
  background-size:cover; background-position:center; box-shadow:0 18px 50px rgba(2,6,23,.18); }
[data-lang="en"] .st-footer-cta{ background:linear-gradient(90deg, rgba(11,41,80,.90) 0%, rgba(11,41,80,.72) 45%, rgba(11,41,80,.24) 100%), var(--st-hero-img); background-size:cover; background-position:center; }
.st-footer-cta-inner{ padding:48px 42px; color:#fff; }
.st-footer-cta h3{ margin:0 0 12px; font-size:34px; font-weight:900; line-height:1.35; color:#fff; }
.st-footer-cta p{ max-width:620px; margin:0 0 26px; font-size:16px; line-height:1.95; color:rgba(255,255,255,.92); }
.st-footer-actions{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
.st-footer-actions a{ display:inline-flex; align-items:center; justify-content:center; padding:15px 22px; border-radius:999px; font-weight:900; text-decoration:none; white-space:nowrap; transition:transform .15s ease, box-shadow .15s ease; box-shadow:0 10px 22px rgba(2,6,23,.25); min-width:180px; }
.st-footer-actions a:hover{ transform:translateY(-1px); box-shadow:0 14px 28px rgba(2,6,23,.32); }

/* ===== FORMS (lead + contact) ===== */
.st-form-card{ background:#fff; border:1px solid var(--st-border); border-radius:22px; box-shadow:var(--shadow2); padding:30px 26px; max-width:860px; margin:0 auto; }
.st-form-card .form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.st-form-card .form-group{ margin-bottom:16px; }
.st-form-card label{ display:block; font-weight:800; font-size:14px; color:var(--st-navy); margin-bottom:6px; }
.st-form-card input, .st-form-card select, .st-form-card textarea{
  width:100%; font-size:14.5px; font-family:inherit; color:var(--st-text);
  background:var(--st-soft); border:1.5px solid var(--st-border);
  border-radius:12px; padding:12px 14px; outline:none; box-sizing:border-box;
  transition:border-color .2s ease, background .2s ease; -webkit-appearance:none;
}
.st-form-card input:focus, .st-form-card select:focus, .st-form-card textarea:focus{ border-color:var(--st-navy); background:#fff; }
[data-lang="ar"] .st-form-card input, [data-lang="ar"] .st-form-card select, [data-lang="ar"] .st-form-card textarea{ text-align:right; direction:rtl; }
[data-lang="en"] .st-form-card input, [data-lang="en"] .st-form-card select, [data-lang="en"] .st-form-card textarea{ text-align:left; direction:ltr; }
.st-form-card textarea{ resize:vertical; min-height:110px; }
.st-form-card [type="submit"]{ width:100%; justify-content:center; font-size:16px; padding:15px; }
#form-success{ display:none; text-align:center; padding:34px 20px; }
#form-success.visible{ display:block; }
#form-success h3{ color:var(--st-navy); margin:8px 0; font-weight:900; }

/* ===== FLOATING WHATSAPP ===== */
.st-float-cta{ position:fixed; right:22px; bottom:22px; z-index:900; display:flex; flex-direction:column; gap:10px; }
.st-float-cta a{ width:54px; height:54px; border-radius:999px; display:flex; align-items:center; justify-content:center; box-shadow:0 12px 30px rgba(2,6,23,.18); border:1px solid rgba(255,255,255,.25); text-decoration:none; }
.st-float-cta a svg{ width:26px; height:26px; fill:#fff; }
.st-float-wa{ background:#25D366; }

/* ===== SITE FOOTER (light) ===== */
.st-siteFooter{ background:var(--st-soft); border-top:1px solid var(--st-border); margin-top:56px; padding:36px 0 26px; }
.st-siteFooter .st-container{ display:flex; flex-wrap:wrap; gap:18px; align-items:center; justify-content:space-between; }
.st-footNav{ display:flex; flex-wrap:wrap; gap:4px 20px; }
.st-footNav a{ color:var(--st-muted); font-weight:700; font-size:14px; text-decoration:none; }
.st-footNav a:hover{ color:var(--st-navy); }
.st-copy{ color:var(--st-muted); font-size:13.5px; }

/* ===== RESPONSIVE ===== */
@media (max-width:1024px){
  .st-heroVisual{ min-height:480px; }
  .st-h1{ font-size:42px; }
  .st-indRow{ grid-template-columns:repeat(2,1fr); }
  .st-videoGrid{ grid-template-columns:1fr; }
  .st-solGrid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:860px){
  .st-navLinks{ display:none; }
  .st-header .nav-hamburger{ display:flex; }
  .st-solGrid{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .st-heroVisual{ min-height:320px; }
  .st-heroCopy{ position:static; display:block; padding:0; background:#fff; }
  .st-heroText{ padding:18px 16px 22px; }
  .st-pill{ background:rgba(11,41,80,.08); color:var(--st-navy); border-color:rgba(11,41,80,.14); }
  .st-pill .st-dot{ background:var(--st-navy); }
  .st-h1{ color:var(--st-text); font-size:34px; line-height:1.3; }
  .st-lead{ color:var(--st-muted); font-size:15.8px; }
  .st-cta-row{ flex-direction:column; }
  .st-btn-main{ width:100%; }
  .st-stats{ flex-direction:column; gap:14px; border-top:1px solid rgba(2,6,23,.10); }
  .st-stat-item b{ color:var(--st-navy); }
  .st-stat-item span{ color:var(--st-muted); }
  .st-footer-actions a{ width:100%; }
  .st-footer-cta h3{ font-size:26px; }
  .st-title{ font-size:30px; }
  .st-pageHeroCard h1{ font-size:30px; }
  .st-pageHeroCard{ padding:44px 18px; }
  .st-logoPlate{ padding:0 30px 0 16px; }
  .st-logoPlate img{ height:42px; }
  .st-indRow2{ grid-template-columns:1fr; }
  .st-form-card .form-row{ grid-template-columns:1fr; }
}
