/* =========================
   North Africa Shipping (AR)
   Multi-page HTML + CSS
   ========================= */

/* =========================
   1) Variables
========================= */
:root{
  --blue:  #162E79;
  --blue2: #0B56C1;
  --red:   #C60C13;

  --bg:   #0b1224;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.09);
  --line: rgba(255,255,255,.12);

  --text:  #eaf0ff;
  --muted: rgba(234,240,255,.72);

  --shadow: 0 18px 55px rgba(0,0,0,.35);
  --r:  18px;
  --r2: 26px;

  --container: 1120px;
  --header-h: 78px;

  /* ✅ Hero image default (تقدر تغيره لكل صفحة) */
  --hero-img: url("3.jpeg");
}

/* =========================
   2) Base
========================= */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: "Cairo", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 700px at 20% 0%, rgba(11,86,193,.22), transparent 60%),
    radial-gradient(900px 650px at 85% 10%, rgba(198,12,19,.14), transparent 60%),
    linear-gradient(180deg, #070b16, var(--bg));
}

/* ✅ يمنع الشريط الأبيض (خلفية الصفحة نفسها) */
html, body{ background-color: var(--bg); }

img{ max-width:100%; display:block; }
a{ color: inherit; }

.container{
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

/* =========================
   3) Utilities
========================= */
.muted{ color: var(--muted); }

.section{
  padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,.06);
}

.section--alt{
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(20,200,255,.22), transparent 60%),
    radial-gradient(900px 520px at 90% 45%, rgba(198,12,19,.12), transparent 55%),
    rgba(255,255,255,.03);
}

.section-head{
  max-width: 820px;
  margin-bottom: 26px;
}

.section-head h1,
.section-head h2{
  margin:0 0 10px;
  font-size: 30px;
  letter-spacing: .2px;
}

.section-head p{
  margin:0;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.9;
}

.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r2);
  box-shadow: var(--shadow);
}

/* =========================
   4) Header (Fixed)
========================= */
.site-header{
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 999;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(8,12,25,.78), rgba(8,12,25,.35));
  border-bottom: 1px solid var(--line);

  /* ✅ Safe Area (iPhone) */
  padding-top: env(safe-area-inset-top, 0px);
  height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}

.header-inner{
  height: var(--header-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  min-width: 240px;
}

.brand img{
  width:auto;
  height:52px;
  object-fit:contain;
}

.brand .brand-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.brand .brand-name{ font-weight: 900; font-size: 15px; }
.brand .brand-sub{ font-weight: 800; font-size: 12px; opacity:.85; }

/* =========================
   5) Nav
========================= */
.nav{ display:flex; align-items:center; gap: 10px; }

.nav a{
  text-decoration:none;
  font-weight: 900;
  font-size: 14px;
  opacity: .85;
  padding: 10px 12px;
  border-radius: 999px;
  transition: .25s ease;
  background-color: #bcd2ff;
}

.nav a:hover{ background: rgba(255,255,255,.08); opacity:1; }

.nav a.active{
  background: linear-gradient(135deg, rgba(11,86,193,.75), rgba(22,46,121,.75));
  border: 1px solid rgba(255,255,255,.16);
  opacity: 1;
}

/* Mobile Toggle */
.nav-toggle{ display:none; }

.hamburger{
  display:none;
  width:35px;
  height:35px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  align-items:center;
  justify-content:center;
  gap: 3px;
  cursor:pointer;
}

.hamburger span{
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: .25s ease;
  display:block;
}

/* =========================
   6) Buttons
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(135deg, rgba(11,86,193,.95), rgba(22,46,121,.95));
  color: var(--text);
  text-decoration:none;
  font-weight: 950;
  transition: .25s ease;
  box-shadow: 0 16px 45px rgba(11,86,193,.18);
}

.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 60px rgba(11,86,193,.22);
}

.btn--ghost{ background: transparent; border-color: rgba(255,255,255,.22); box-shadow:none; }
.btn--small{ padding: 10px 14px; font-size: 13px; }
.btn--full{ width:100%; }

/* =========================
   7) Page spacing
========================= */
main{
  padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
}

/* =========================
   8) HERO (موحد لكل الصفحات)
========================= */
.hero,
.section--bg{
  position:relative;
  min-height: 78vh;
  display:flex;
  align-items:center;
  padding: 46px 0 70px;
  overflow:hidden;
}

/* الصورة فقط */
.hero::before,
.section--bg::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;

  background-image: var(--hero-img);
  background-size: cover;
  background-position: center;
  background-repeat:no-repeat;

  transform: scale(1.03);
  filter: saturate(1.05) contrast(1.05);
}

/* ✅ نفس التدرجات فوق الصورة في كل الصفحات */
.hero::after,
.section--bg::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;

  background:
    radial-gradient(900px 520px at 15% 0%, rgba(11,86,193,.30), transparent 60%),
    radial-gradient(900px 520px at 90% 45%, rgba(198,12,19,.16), transparent 55%),
    linear-gradient(180deg, rgba(100,170,255,.55), rgba(7,11,22,.92));
}

/* محتوى الهيرو فوق كل شيء */
.hero-inner{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items:center;
}

.section--bg > .container{
  position:relative;
  z-index:1;
}

/* =========================
   Hero content elements
========================= */
.badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  font-weight: 950;
  width: fit-content;
}

.badge .dot{
  width:10px;
  height:10px;
  border-radius:50%;
  background: linear-gradient(135deg, var(--red), var(--blue2));
  box-shadow: 0 0 0 6px rgba(198,12,19,.12);
}

.hero h1{ margin: 14px 0 10px; font-size: 44px; line-height:1.15; }
.hero p{ margin:0 0 18px; line-height: 1.9; font-weight: 650; max-width: 760px; }

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-side{
  padding: 16px;
  border-radius: var(--r2);
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero-side h3{
  margin:0 0 10px;
  font-size: 18px;
}

/* Checklist */
.checklist{
  list-style:none;
  padding:0;
  margin: 0;
  display:grid;
  gap: 10px;
}

.checklist li{
  position:relative;
  padding-inline-start: 28px;
  font-weight: 750;
}

.checklist li::before{
  content:"✓";
  position:absolute;
  inset: 0 auto auto 0;
  width: 22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius: 9px;
  background: rgba(198,12,19,.18);
  border: 1px solid rgba(198,12,19,.35);
  color: #ffd7da;
  font-weight: 950;
}

/* =========================
   9) Grids + Cards
========================= */
.grid-3{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-2{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.feature{
  padding: 18px;
  border-radius: var(--r2);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  transition: .25s ease;
}

.feature:hover{
  transform: translateY(-3px);
  background: rgba(255,255,255,.07);
}

.feature h3{ margin: 0 0 8px; font-size: 18px; }

.feature p{
  margin:0;
  color: var(--muted);
  line-height: 1.9;
  font-weight: 650;
}

/* Media */
.media{
  border-radius: var(--r2);
  overflow:hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
}

.media img{ width:100%; height: 320px; object-fit: cover; }

.media figcaption{
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(234,240,255,.82);
  font-weight: 800;
}

/* =========================
   10) Carousel
========================= */
.carousel{
  border-radius: var(--r2);
  border: 1px solid var(--line);
  overflow:hidden;
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}

.carousel input{ display:none; }

.slides{
  display:flex;
  width:400%;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}

.slide{ width:100%; margin:0; position:relative; }
.slide img{ width:100%; height: 420px; object-fit: cover; }

.slide figcaption{
  position:absolute;
  inset:auto 14px 14px 14px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 12px 14px;
}

.slide figcaption strong{ display:block; font-weight: 1000; }
.slide figcaption span{ display:block; margin-top: 4px; color: rgba(234,240,255,.75); font-weight: 700; }

.dots{
  display:flex;
  justify-content:center;
  gap: 10px;
  padding: 12px;
  background: rgba(0,0,0,.10);
  border-top: 1px solid rgba(255,255,255,.08);
}

.dots label{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  border: 1px solid rgba(255,255,255,.22);
  cursor:pointer;
  transition:.25s ease;
}

.dots label:hover{ transform: scale(1.12); }

#s1:checked ~ .slides{ transform: translateX(0%); }
#s2:checked ~ .slides{ transform: translateX(25%); }
#s3:checked ~ .slides{ transform: translateX(50%); }
#s4:checked ~ .slides{ transform: translateX(75%); }

#s1:checked ~ .dots label[for="s1"],
#s2:checked ~ .dots label[for="s2"],
#s3:checked ~ .dots label[for="s3"],
#s4:checked ~ .dots label[for="s4"]{
  background: linear-gradient(135deg, var(--red), var(--blue2));
  transform: scale(1.15);
}

/* =========================
   11) Tabs
========================= */
.tabs{
  border-radius: var(--r2);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  overflow:hidden;
}

.tabs input{ display:none; }

.tab-labels{
  display:flex;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  flex-wrap: wrap;
}

.tab-labels label{
  flex: 1 1 180px;
  text-align:center;
  padding: 10px 12px;
  border-radius: 14px;
  cursor:pointer;
  font-weight: 1000;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  transition:.25s ease;
}

.tab-labels label:hover{ background: rgba(255,255,255,.07); transform: translateY(-1px); }

.tab-panels{ padding: 16px; }
.panel{ display:none; animation: fadeUp .45s ease both; }

@keyframes fadeUp{
  from{ opacity:0; transform: translateY(10px); }
  to{ opacity:1; transform: translateY(0); }
}

#r1:checked ~ .tab-panels .panel:nth-child(1){ display:block; }
#r2:checked ~ .tab-panels .panel:nth-child(2){ display:block; }
#r3:checked ~ .tab-panels .panel:nth-child(3){ display:block; }
#r4:checked ~ .tab-panels .panel:nth-child(4){ display:block; }

#r1:checked ~ .tab-labels label[for="r1"],
#r2:checked ~ .tab-labels label[for="r2"],
#r3:checked ~ .tab-labels label[for="r3"],
#r4:checked ~ .tab-labels label[for="r4"]{
  background: linear-gradient(135deg, rgba(11,86,193,.85), rgba(22,46,121,.85));
  border-color: rgba(255,255,255,.18);
}

/* =========================
   12) Branch cards
========================= */
.branch-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

details.branch{
  border-radius: var(--r2);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  overflow:hidden;
  transition:.25s ease;
}

details.branch[open]{ background: rgba(255,255,255,.06); }

details.branch summary{
  list-style:none;
  cursor:pointer;
  padding: 14px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  font-weight: 1000;
}

details.branch summary::-webkit-details-marker{ display:none; }

.branch .tag{
  font-size: 12px;
  font-weight: 950;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(234,240,255,.88);
}

.branch .content{
  padding: 0 14px 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(234,240,255,.86);
  font-weight: 700;
  line-height: 1.9;
}

.branch .content a{ color: #bcd2ff; text-decoration:none; font-weight: 1000; }
.branch .content a:hover{ text-decoration:underline; }

.kv{
  display:grid;
  gap: 8px;
  margin-top: 10px;
}

.kv div{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
}

/* =========================
   13) Services Cards (Home)
   ✅ أزرق بارز + نص أبيض
========================= */
.services-cards{ align-items: stretch; }

.service-card{
  display:flex;
  flex-direction: column;
  text-decoration:none;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(180deg, rgba(11,86,193,.92), rgba(22,46,121,.92));
  box-shadow: 0 18px 55px rgba(11,86,193,.28);
  overflow:hidden;
  transition: .25s ease;
  position:relative;
}

.service-card::before{
  content:"";
  position:absolute;
  inset:-2px;
  opacity:1;
  background:
    radial-gradient(700px 240px at 20% 10%, rgba(255,255,255,.14), transparent 55%),
    radial-gradient(700px 240px at 80% 0%, rgba(198,12,19,.16), transparent 60%);
  transition:.25s ease;
}

.service-card:hover{
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(11,86,193,.98), rgba(22,46,121,.96));
}

.service-card__img{
  position:relative;
  height: 190px;
  overflow:hidden;
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.service-card__img img{
  width:100%;
  height:100%;
  object-fit: cover;
  transform: scale(1.03);
  transition: .35s ease;
  filter: saturate(1.05);
}

.service-card:hover .service-card__img img{ transform: scale(1.10); }

.service-card__body{ padding: 16px 16px 18px; }

.service-card__body h3{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 1000;
  color:#fff;
}

.service-card__body p{
  margin: 0 0 12px;
  color: rgba(255,255,255,.86);
  line-height: 1.9;
  font-weight: 650;
}

.service-card__cta{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 1000;
  color: rgba(255,255,255,.92);
}

.service-card__cta:hover{
  color:#fff;
  text-decoration: underline;
}

.service-card:focus{ outline: none; }
.service-card:focus-visible{
  box-shadow: 0 0 0 4px rgba(11,86,193,.22), 0 18px 60px rgba(11,86,193,.22);
}

/* =========================
   14) Watermark
========================= */
.section--watermark{
  position: relative;
  overflow: hidden;
}

.section--watermark .section-watermark{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background: url("5.jpg") no-repeat;
  background-position: left 6% center;
  background-size: min(560px, 55vw);

  opacity: .12;
  filter: grayscale(1) contrast(1.05);
  mix-blend-mode: screen;
}

.section--watermark .container{
  position: relative;
  z-index: 1;
}

/* =========================
   16) Footer
========================= */
.footer{
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.20);
}

.footer-inner{
  padding: 26px 0;
  display:grid;
  grid-template-columns: 1.2fr .8fr .8fr;
  gap: 14px;
}

.footer h4{ margin:0 0 10px; font-weight: 1000; }

.footer ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap: 8px;
}

.footer a{ text-decoration:none; color: rgba(234,240,255,.82); font-weight: 800; }
.footer a:hover{ text-decoration:underline; color:#bcd2ff; }

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 12px 0;
  color: rgba(234,240,255,.70);
  font-weight: 750;
}

/* =========================
   17) Responsive
========================= */
@media (max-width: 1020px){
  .hero-inner{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .branch-grid{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; }
}

/* =========================
   ✅ Mobile (Fix menu overlay issue)
   - مخفية فعلياً لما تكون مقفولة
========================= */
@media (max-width: 760px){
  :root{ --header-h: 72px; }

  .hamburger{ 
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap: 5px;
  }

  /* 3 نقاط عمودية */
  .hamburger span{
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--text);
    transition: .25s ease;
    display:block;
  }

  /* ✅ القائمة: مخفية فعلياً */
  .nav{
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    inset-inline: 0;

    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap: 6px;

    padding: 12px 16px 16px;
    background:#bcd2ff;
    border-bottom: 1px solid rgba(15,23,42,.10);

    /* الإخفاء الحقيقي */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
    z-index: 998;
  }

   .nav a{
    color: rgba(15,23,42,.90);
    background: rgba(15,23,42,.04);
    border: 1px solid rgba(15,23,42,.08);
  }

  .nav a:hover{
    background: rgba(22,46,121,.08);
  }
  /* ✅ لما تفتح: تبان وتشتغل */
  .nav-toggle:checked ~ .nav{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* ===== لما تفتح القائمة: يتحولوا لـ X صغيرة ===== */
  .nav-toggle:checked + .hamburger{ gap: 0px; }

  .nav-toggle:checked + .hamburger span:nth-child(1){
    width: 16px;
    height: 2px;
    border-radius: 999px;
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle:checked + .hamburger span:nth-child(2){
    opacity: 0;
    transform: scale(0);
  }

  .nav-toggle:checked + .hamburger span:nth-child(3){
    width: 16px;
    height: 2px;
    border-radius: 999px;
    transform: translateY(-4px) rotate(-45deg);
  }

  .hero h1{ font-size: 34px; }
  .slide img{ height: 340px; }
}

/* =========================
   18) COLOR OVERRIDE (LIGHT)
   (الثيم العام فاتح)
========================= */
:root{
  --bg: #fbfaf6;
  --card: rgba(255,255,255,.86);
  --card2: rgba(255,255,255,.94);
  --line: rgba(15,23,42,.10);

  --text: #0f172a;
  --muted: rgba(15,23,42,.66);

  --shadow: 0 14px 40px rgba(15,23,42,.10);
}

body{
  background:
    radial-gradient(1100px 700px at 20% 0%, rgba(11,86,193,.10), transparent 60%),
    radial-gradient(900px 650px at 85% 10%, rgba(198,12,19,.08), transparent 60%),
    linear-gradient(180deg, #ffffff, var(--bg));
}

.section{ border-top: 1px solid rgba(15,23,42,.06); }

.section--alt{
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(22,46,121,.10), transparent 60%),
    radial-gradient(900px 520px at 90% 45%, rgba(198,12,19,.07), transparent 55%),
    rgba(255,255,255,.55);
}

.site-header{
  background: linear-gradient(180deg, rgba(255,255,255,.90), rgba(255,255,255,.68));
  border-bottom: 1px solid rgba(15,23,42,.10);
}

.brand .brand-name{ color: var(--text); }
.brand .brand-sub{ color: rgba(15,23,42,.62); opacity: 1; }

.nav a{ color: rgba(15,23,42,.86); }
.nav a:hover{ background: rgba(22,46,121,.08); opacity: 1; }

.nav a.active{
  background: rgba(11,86,193,.10);
  border: 1px solid rgba(11,86,193,.18);
  color: var(--blue);
}

.hamburger{
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.70);
}

.hamburger span{ background: rgba(15,23,42,.86); }

.btn{
  border: 1px solid rgba(11,86,193,.18);
  color: #ffffff;
  background: linear-gradient(135deg, rgba(11,86,193,.95), rgba(22,46,121,.95));
  box-shadow: 0 16px 45px rgba(11,86,193,.18);
}

.btn--ghost{
  border-color: rgba(15,23,42,.18);
  color: var(--blue);
}

/* =========================
   19) Light fixes
========================= */
.section-head p{ color: var(--muted); }
.muted{ color: var(--muted); }

.card{ background: var(--card); border-color: var(--line); box-shadow: var(--shadow); }

.feature,
.media,
.carousel,
.tabs,
details.branch{ border-color: var(--line); }

.media figcaption{
  color: rgba(15,23,42,.86);
  border-top-color: rgba(15,23,42,.10);
}

.branch .tag{
  color: rgba(15,23,42,.80);
  border-color: rgba(15,23,42,.12);
  background: rgba(15,23,42,.04);
}

.branch .content{
  color: rgba(15,23,42,.86);
  border-top-color: rgba(15,23,42,.10);
}

.kv div{
  border-color: rgba(15,23,42,.10);
  background: rgba(15,23,42,.04);
  color: rgba(15,23,42,.86);
}

/* =========================
   20) ✅ Hero Text FORCE WHITE (في كل الصفحات)
========================= */
.hero,
.section--bg{
  color:#fff !important;
}

.hero h1, .hero h2, .hero h3, .hero p,
.section--bg h1, .section--bg h2, .section--bg h3, .section--bg p{
  color:#fff !important;
}

.hero p,
.section--bg p{
  color: rgba(255,255,255,.86) !important;
}

.hero .badge,
.section--bg .badge{
  color:#fff !important;
}

.hero .checklist li,
.section--bg .checklist li{
  color: rgba(255,255,255,.88) !important;
}

.hero .hero-side,
.section--bg .hero-side{
  color:#fff !important;
}

.hero a,
.section--bg a{
  color: rgba(255,255,255,.92) !important;
}
.hero a:hover,
.section--bg a:hover{
  color:#fff !important;
  text-decoration: underline;
}

/* =========================
   21) ✅ Per-page HERO images
========================= */
.page-home     { --hero-img: url("3.jpeg"); }
.page-about    { --hero-img: url("https://upexlojistik.com/sites/default/files/styles/slider_1900x850_/public/images/services/500pxdownload.com-1016065510.jpg?itok=plCAcaNr"); }
.page-services { --hero-img: url("7.jpg"); }
.page-branches { --hero-img: url("branches.jpg"); }
.page-contact  { --hero-img: url("contact.jpg"); }

/* =========================
   SERVICES PAGE: Make .feature same as Home .service-card
   (بدون تغيير HTML)
========================= */
.page-services .grid-3 .feature{
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.18);
  background: linear-gradient(180deg, rgba(11,86,193,.92), rgba(22,46,121,.92));
  box-shadow: 0 18px 55px rgba(11,86,193,.28);
  transition: .25s ease;
}

.page-services .grid-3 .feature::before{
  content:"";
  position:absolute;
  inset:-2px;
  opacity: 1;
  pointer-events:none;
  background:
    radial-gradient(700px 240px at 20% 10%, rgba(255,255,255,.14), transparent 55%),
    radial-gradient(700px 240px at 80% 0%, rgba(198,12,19,.16), transparent 60%);
  transition: .25s ease;
}

.page-services .grid-3 .feature:hover{
  transform: translateY(-4px);
  background: linear-gradient(180deg, rgba(11,86,193,.98), rgba(22,46,121,.96));
}

.page-services .grid-3 .feature h3{ color: #fff; }
.page-services .grid-3 .feature p{ color: rgba(255,255,255,.86); }

/* =========================
   Footer text: Navy Blue (واضح)
========================= */
.footer,
.footer .footer-bottom,
.footer h4,
.footer a{
  color: #162E79;
}

.footer a:hover{
  color: #0B56C1;
  text-decoration: underline;
}
