/* ===== Base ===== */
:root{
  --brand-primary:#131A42;
  --brand-primary-2:#2D3866;
  --brand-accent:#25B499;

  --bg:#ffffff;
  --text:#121212;
  --muted:#6b7280;

  --radius:22px;
  --shadow: 0 10px 25px rgba(0,0,0,.08);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;

  /* مهم لأن الهيدر ثابت */
  padding-top: 95px;
}

a{ color: inherit; text-decoration:none; }
.container{
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* ===== Header/Nav (Fixed) ===== */
.site-header{
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2000;

  /* خلي المنطقة فوق نفسها بيضاء */
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.06);
  padding: 10px 0;
}

/* ===== Navbar Layout (Right Logo | Center Links | Left CTA) ===== */
.nav-wrap{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;

  /* مستطيل أبيض ثابت */
  background: #fff;
  border-radius: 18px;
  padding: 10px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.10);
  border: 1px solid rgba(0,0,0,0.06);
}

/* Brand (Right) */
.brand{
  justify-self: end;
  display:flex;
  align-items:center;
  gap:12px;
}

/* لوجو صورة */
.brand-logo{
  width: 86px;      /* كبّري/صغّري حسب ذوقك */
  height: auto;
  display:block;
}

.brand-name{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}
.brand-name-ar{
  font-weight:900;
  color: var(--brand-primary);
  font-size: 1.05rem;
}
.brand-name-sub{
  font-weight:800;
  color: var(--brand-accent);
  font-size: .9rem;
}

/* Links (Center) */
.nav{
  justify-self: center;
  display:flex;
  align-items:center;
  gap:18px;
}
.nav a{
  font-weight:700;
  color:#1b1b1b;
  padding: 8px 6px;
}
.nav a:hover{ color: var(--brand-primary); }

/* CTA (Left) */
.nav-cta{
  justify-self: start;
}

/* Toggle (mobile) */
.nav-toggle{
  display:none;
  width:44px;
  height:44px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:14px;
  background:#fff;
  padding: 10px;
  cursor:pointer;

  justify-self: start;
}
.nav-toggle span{
  display:block;
  height:2px;
  background:#111;
  border-radius:2px;
  margin:6px 0;
  transition: .2s ease;
}
.nav-toggle.open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius: 16px;
  padding: 12px 16px;
  font-weight: 900;
  border: 1px solid transparent;
  cursor:pointer;
  transition: .2s ease;
  white-space:nowrap;
}
.btn-primary{
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}
.btn-primary:hover{
  background: var(--brand-primary-2);
  border-color: var(--brand-primary-2);
}

.btn-secondary{
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #fff;
}
.btn-secondary:hover{
  background: #1fae95;
  border-color: #1fae95;
  color:#fff;
}

.btn-ghost{
  background: transparent;
  color:#fff;
  border-color: rgba(255,255,255,.55);
}
.btn-ghost:hover{
  border-color: #fff;
}
.w-100{ width: 100%; }

/* ===== Hero ===== */
.hero{
  background: radial-gradient(1200px 600px at 10% 10%, rgba(37,180,153,.22), transparent 60%),
              linear-gradient(135deg, rgba(19,26,66,.96), rgba(19,26,66,.82));
  color:#fff;
  padding: 42px 0 30px;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: start;
}
.badge{
  display:inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(37,180,153,.16);
  border: 1px solid rgba(37,180,153,.45);
  font-weight: 900;
  margin-bottom: 12px;
}
.hero h1{
  font-size: clamp(28px, 4vw, 48px);
  margin: 6px 0 8px;
  font-weight: 900;
}
.hero p{
  margin: 0 0 18px;
  line-height: 1.9;
  opacity: .95;
}
.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.stats{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}
.stat{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  padding: 12px 14px;
  min-width: 120px;
}
.stat strong{
  display:block;
  font-size: 1.25rem;
}
.stat span{ opacity: .9; }

/* Hero card */
.hero-card{
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  padding: 18px;
}
.hero-card h3{ margin: 0 0 6px; font-weight: 900; }
.muted{ color: var(--muted); }
.hero-card .muted{ color: rgba(255,255,255,.75); }
.mini{ font-size: .9rem; }

.quick-form .field{ margin-top: 12px; }
.field label{
  display:block;
  font-weight: 900;
  margin-bottom: 6px;
}
.field input, .field textarea{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  color:#fff;
  padding: 12px 12px;
  outline:none;
}
.field input::placeholder, .field textarea::placeholder{
  color: rgba(255,255,255,.65);
}
.two{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ===== Sections ===== */
.section{ padding: 56px 0; }
.section-alt{ background: #f5f7fb; }
.section-dark{
  background: #0e122f;
  color:#fff;
}
.section-dark .muted{ color: rgba(255,255,255,.75); }

.section-head{
  text-align:center;
  margin-bottom: 22px;
}
.section-head h2{
  margin:0 0 8px;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--brand-primary);
}
.section-head .muted{ max-width: 720px; margin: 0 auto; }

/* Cards */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card{
  background:#fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  border: 1px solid rgba(0,0,0,.06);
  height:100%;
}
.card h3{
  margin: 0 0 8px;
  font-weight: 900;
  color: var(--brand-primary);
}
.card p{ margin:0; line-height: 1.9; color:#333; }

/* Split layout */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}
.box{
  background:#fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  border: 1px solid rgba(0,0,0,.06);
}
.dark-box{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: none;
}
.box h3{ margin: 0 0 10px; font-weight: 900; color: var(--brand-primary); }
.section-dark .box h3{ color:#fff; }

/* Lists */
.list{
  margin: 10px 0 14px;
  padding-right: 18px;
  line-height: 2;
}
.list li{ margin: 4px 0; }

/* Features */
.feature{
  display:flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.section-dark .feature{ border-bottom: 1px solid rgba(255,255,255,.12); }
.feature:last-child{ border-bottom:none; }
.dot{
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-accent);
  margin-top: 7px;
  flex: 0 0 auto;
}
.feature h4{ margin: 0 0 4px; font-weight: 900; color: var(--brand-primary); }
.section-dark .feature h4{ color:#fff; }

/* Contact */
.contact-line{
  display:flex;
  align-items:center;
  gap:10px;
  margin: 10px 0;
}
.contact-line a{
  color:#fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.icon{ opacity: .95; }

/* ===== Fleet Grid ===== */
.fleet-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.fleet-grid img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.06);
}

/* Footer */
.footer{
  background: #0b0f27;
  color:#fff;
  padding: 18px 0;
}
.footer-inner{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
  align-items:center;
  justify-content:center;
  opacity: .95;
}
.sep{ opacity: .5; }
.footer a:hover{ color: var(--brand-accent); }

/* ===== Floating WhatsApp (Right) ===== */
.wa-float{
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-float:hover{
  transform: scale(1.06);
  box-shadow: 0 16px 38px rgba(0,0,0,.35);
}
.wa-float svg{
  width: 30px;
  height: 30px;
  fill: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 992px){
  /* في الموبايل نخلي التوجل يظهر والزر برضه */
  .nav-toggle{ display:block; }

  .nav-wrap{
    grid-template-columns: auto auto auto;
  }

  .nav{
    position: absolute;
    top: 92px;
    right: 4%;
    left: 4%;
    background:#fff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
    border: 1px solid rgba(0,0,0,.08);
    padding: 12px;
    display:none;
    flex-direction: column;
    gap: 8px;
    z-index: 3000;
  }
  .nav.open{ display:flex; }
  .nav a{ color:#111; padding: 10px 10px; border-radius: 14px; }
  .nav a:hover{ background: rgba(19,26,66,.06); }

  .hero-grid{ grid-template-columns: 1fr; }
  .cards{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; }
  .two{ grid-template-columns: 1fr; }

  .fleet-grid{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px){
  body{ padding-top: 105px; }

  .brand-logo{ width: 64px; }
  .brand-name-ar{ font-size: 1rem; }
  .brand-name-sub{ font-size: .85rem; }

  .btn{ width: 100%; }
  .hero-actions{ width: 100%; }

  .fleet-grid{ grid-template-columns: 1fr; }
  .fleet-grid img{ height: 210px; }

  .wa-float{
    width: 54px;
    height: 54px;
    bottom: 16px;
    right: 16px;
  }
}
/* ===== Small Contact Icons ===== */
.contact-line .icon{
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
}

.contact-line .icon svg{
  width: 16px;
  height: 16px;
  fill: #fff;
}

/* Email */
.icon-mail{
  background: linear-gradient(135deg, #4f7cff, #2d5be3);
  box-shadow: 0 4px 10px rgba(79,124,255,.45);
}

/* WhatsApp */
.icon-wa{
  background: linear-gradient(135deg, #25D366, #1ebe5d);
  box-shadow: 0 4px 10px rgba(37,211,102,.45);
}


/* ===== Fleet Images Hover Animation (Direct IMG) ===== */
.fleet-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.fleet-grid img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
  cursor: pointer;

  transition: 
    transform .5s ease,
    box-shadow .4s ease,
    filter .4s ease;
}

/* تكبير ناعم + ظل أقوى */
.fleet-grid img:hover{
  transform: scale(1.08);
  box-shadow: 0 18px 45px rgba(0,0,0,.25);
  filter: saturate(1.05) contrast(1.05);
}

/* لمعان خفيف (Overlay وهمي) */
.fleet-grid img::after{
  content: "";
}

/* Responsive */
@media (max-width: 992px){
  .fleet-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px){
  .fleet-grid{
    grid-template-columns: 1fr;
  }

  .fleet-grid img{
    height: 200px;
  }
}

/* ===== Select Styling ===== */
.select-wrap{ position: relative; }

.select-wrap select{
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.10);
  color:#fff;
  padding: 12px 40px 12px 12px;
  outline:none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: inherit;
  font-weight: 800;
}
.select-wrap select option{ color:#111; }

.select-arrow{
  position: absolute;
  top: 50%;
  left: 14px; /* RTL */
  transform: translateY(-50%);
  color: rgba(255,255,255,.85);
  pointer-events: none;
  font-size: 18px;
}
