:root{
  --blue:#087cf0;
  --cyan:#22d8d3;
  --navy:#071a33;
  --ink:#0b1830;
  --muted:#62718a;
  --line:#dce8f5;
  --bg:#f6fbff;
  --white:#fff;
  --shadow:0 20px 55px rgba(14,75,135,.12);
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:"Segoe UI",Tahoma,Arial,sans-serif;
  background:linear-gradient(180deg,#fff 0,#f5fbff 48%,#fff 100%);
  color:var(--ink);
}

a{
  text-decoration:none;
  color:inherit;
}

/* =========================================================
   HEADER
   ========================================================= */

.topbar{
  height:84px;
  display:flex;
  align-items:center;
  gap:34px;
  padding:0 5vw;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(18px);
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid #eaf1f8;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
}

.brand-mark{
  width:46px;
  height:46px;
  border-radius:15px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--blue),var(--cyan));
  color:#fff;
  font-weight:900;
  font-size:24px;
  box-shadow:0 10px 25px rgba(8,124,240,.25);
}

.brand strong{
  display:block;
  font-size:24px;
}

.brand small{
  display:block;
  font-size:8px;
  letter-spacing:3px;
  color:#708198;
}

.topbar nav{
  display:flex;
  gap:27px;
  font-size:14px;
  font-weight:650;
}

.topbar nav a{
  transition:color .2s ease;
}

.topbar nav a:hover{
  color:var(--blue);
}

.header-actions{
  display:flex;
  gap:10px;
}

.primary,
.ghost,
.outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  padding:13px 20px;
  font-weight:800;
  transition:.25s;
}

.primary{
  background:linear-gradient(135deg,var(--blue),#3b9cff);
  color:#fff;
  box-shadow:0 10px 24px rgba(8,124,240,.23);
}

.primary:hover{
  transform:translateY(-2px);
}

.ghost,
.outline{
  border:1px solid #d9e7f4;
  background:#fff;
}

.big{
  padding:16px 26px;
}

.menu{
  display:none;
  border:0;
  background:#eef6ff;
  border-radius:12px;
  padding:10px 13px;
  font-size:20px;
}

/* =========================================================
   HERO / BANNERS
   ========================================================= */

/* =========================================================
   HERO / PREMIUM BANNER CARD
   ========================================================= */

.hero{
  padding:26px 4vw 18px;
}

/*
  البطاقة الرئيسية:
  - لا تملأ الشاشة بالكامل
  - عرض احترافي
  - ارتفاع ثابت ومتوازن
*/
.slider{
  width:min(1420px,100%);
  height:500px;
  min-height:0;

  margin:0 auto;

  position:relative;

  border-radius:32px;
  overflow:hidden;

  background:#eaf6ff;

  border:1px solid rgba(210,228,244,.95);

  box-shadow:
    0 22px 60px rgba(12,65,115,.12),
    0 4px 14px rgba(12,65,115,.05);

  isolation:isolate;
}

/*
  كل شريحة
*/
.slide{
  position:absolute;
  inset:0;

  opacity:0;
  visibility:hidden;
  pointer-events:none;

  transform:scale(1.008);

  transition:
    opacity .65s ease,
    transform 1s ease,
    visibility .65s ease;

  background-image:var(--bg);

  background-repeat:no-repeat;

  /*
    cover مناسب لأن الصور مصممة كبنرات.
    لكن ارتفاع البطاقة أصبح 500px فقط،
    لذلك لن يحدث التضخم السابق.
  */
  background-size:100% 100%;

  background-position:center center;

  background-color:#eaf6ff;

  z-index:0;

  backface-visibility:hidden;
  will-change:opacity,transform;
}

.slide.active{
  opacity:1;
  visibility:visible;
  pointer-events:auto;

  transform:scale(1);

  z-index:1;
}


/*
  التدرج:
  نحافظ على الصورة واضحة في اليسار
  وننشئ مساحة نظيفة للنص في اليمين.
*/
.shade{
  position:absolute;
  inset:0;

  z-index:1;

  pointer-events:none;

  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.02) 25%,
      rgba(255,255,255,.10) 40%,
      rgba(255,255,255,.55) 57%,
      rgba(255,255,255,.90) 72%,
      rgba(255,255,255,.98) 88%,
      rgba(255,255,255,.99) 100%
    );
}


/*
  النص داخل البطاقة
*/
.hero-copy{
  position:absolute;

  right:6.5%;
  top:50%;

  transform:translateY(-50%);

  width:min(530px,43%);

  z-index:2;
}


.eyebrow,
.section-head span,
.tech-copy>span,
.business span,
.support span{
  color:var(--blue);

  font-weight:900;

  font-size:14px;
}


/*
  تصغير العنوان مقارنة بالنسخة السابقة.
*/
.hero h1,
.hero h2{
  font-size:clamp(42px,4.1vw,66px);

  line-height:1.04;

  margin:13px 0 16px;

  letter-spacing:-1.5px;
}


.hero em,
.section-head em,
.tech em,
.business em{
  font-style:normal;

  background:
    linear-gradient(
      90deg,
      var(--blue),
      var(--cyan)
    );

  -webkit-background-clip:text;
  background-clip:text;

  color:transparent;
}


.hero p{
  font-size:17px;

  line-height:1.8;

  color:#42536c;

  max-width:500px;

  margin:0 0 22px;
}


/*
  زر البنر أصغر قليلاً
*/
.hero .primary.big{
  padding:14px 23px;

  border-radius:13px;

  font-size:16px;
}


/* =========================================================
   HERO ARROWS
   ========================================================= */

.arrow{
  position:absolute;

  top:50%;

  transform:translateY(-50%);

  z-index:10;

  width:46px;
  height:46px;

  border:1px solid rgba(220,232,243,.9);

  border-radius:50%;

  background:rgba(255,255,255,.94);

  box-shadow:
    0 8px 24px rgba(0,0,0,.10);

  font-size:29px;

  cursor:pointer;

  display:grid;
  place-items:center;

  transition:
    transform .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}


.arrow:hover{
  background:#fff;

  transform:
    translateY(-50%)
    scale(1.07);

  box-shadow:
    0 10px 28px rgba(0,0,0,.14);
}


.prev{
  left:22px;
}


.next{
  right:22px;
}


/* =========================================================
   HERO DOTS
   ========================================================= */

.dots{
  position:absolute;

  bottom:19px;

  right:50%;

  transform:translateX(50%);

  z-index:10;

  display:flex;

  align-items:center;

  gap:7px;

  padding:7px 10px;

  border-radius:999px;

  background:rgba(255,255,255,.72);

  backdrop-filter:blur(8px);

  box-shadow:
    0 5px 16px rgba(0,0,0,.05);
}


.dots button{
  width:8px;
  height:8px;

  border:0;

  border-radius:50%;

  background:#9fb6cb;

  padding:0;

  cursor:pointer;

  transition:.25s ease;
}


.dots button.active{
  width:25px;

  border-radius:8px;

  background:var(--blue);
}


/* =========================================================
   HERO - MEDIUM SCREENS
   ========================================================= */

@media(max-width:1200px){

  .slider{
    height:470px;
  }

  .hero-copy{
    right:6%;
    width:48%;
  }

  .hero h1,
  .hero h2{
    font-size:clamp(40px,5vw,58px);
  }

}


/* =========================================================
   HERO - TABLET
   ========================================================= */

@media(max-width:900px){

  .hero{
    padding:18px 18px 10px;
  }

  .slider{
    height:500px;

    border-radius:26px;
  }

  .slide{
    background-size:100% 100%;
    background-position:center center;
  }

  .shade{
    background:
      linear-gradient(
        90deg,
        rgba(255,255,255,.05) 0%,
        rgba(255,255,255,.18) 28%,
        rgba(255,255,255,.75) 58%,
        rgba(255,255,255,.97) 82%,
        #fff 100%
      );
  }

  .hero-copy{
    right:6%;

    width:55%;
  }

  .hero h1,
  .hero h2{
    font-size:46px;
  }

  .hero p{
    font-size:16px;
  }

}


/* =========================================================
   HERO - MOBILE
   ========================================================= */

@media(max-width:680px){

  .hero{
    padding:10px 10px 14px;
  }

  /*
    بطاقة الجوال أيضاً لا تملأ الشاشة بالكامل.
  */
  .slider{
    width:100%;

    height:620px;

    min-height:0;

    border-radius:24px;

    box-shadow:
      0 16px 38px rgba(12,65,115,.12);
  }


  /*
    في الجوال:
    الصورة أعلى البطاقة والنص أسفلها.
  */
  .slide{
    /* عرض صورة البنر كاملة على الجوال بدون قص من الأعلى أو الجانبين */
    background-size:100% auto;
    background-position:center top;
    background-repeat:no-repeat;
    background-color:#fff;
  }


  /*
    تدرج عمودي بدلاً من التدرج الأفقي.
  */
  .shade{
    background:
      linear-gradient(
        180deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.02) 26%,
        rgba(255,255,255,.16) 38%,
        rgba(255,255,255,.82) 53%,
        rgba(255,255,255,.97) 64%,
        #fff 76%,
        #fff 100%
      );
  }


  .hero-copy{
    right:22px;
    left:22px;

    top:auto;

    bottom:52px;

    width:auto;

    transform:none;
  }


  .hero h1,
  .hero h2{
    font-size:38px;

    line-height:1.08;

    margin:9px 0 11px;

    letter-spacing:-1px;
  }


  .eyebrow{
    font-size:13px;
  }


  .hero p{
    font-size:15px;

    line-height:1.65;

    margin-bottom:15px;

    max-width:none;
  }


  .hero .primary.big{
    padding:12px 19px;

    font-size:14px;
  }


  .arrow{
    display:none;
  }


  .dots{
    bottom:15px;

    padding:6px 9px;
  }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media(max-width:420px){

  .slider{
    height:600px;

    border-radius:21px;
  }


  .slide{
    background-size:100% auto;
    background-position:center top;
  }


  .hero-copy{
    right:18px;
    left:18px;

    bottom:44px;
  }


  .hero h1,
  .hero h2{
    font-size:34px;
  }


  .hero p{
    font-size:14px;
  }

}

/* =========================================================
   QUICK SERVICES
   ========================================================= */

.quick-services,
.guides{
  padding:95px 5vw;
}

.section-head{
  max-width:850px;
  margin:0 auto 42px;
  text-align:center;
}

.section-head h2{
  font-size:clamp(38px,4vw,62px);
  margin:10px 0 12px;
}

.section-head p{
  color:var(--muted);
  font-size:18px;
  line-height:1.8;
}

.cards{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:16px;
  max-width:1450px;
  margin:auto;
}

.cards article{
  position:relative;
  background:#fff;
  border:1px solid #e2edf7;
  border-radius:24px;
  padding:28px 24px;
  min-height:260px;
  box-shadow:0 12px 40px rgba(15,72,125,.07);
  transition:.3s;
}

.cards article:hover{
  transform:translateY(-8px);
  box-shadow:var(--shadow);
}

.cards b{
  position:absolute;
  left:20px;
  top:18px;
  color:#a9bfd3;
}

.ico{
  width:58px;
  height:58px;
  border-radius:18px;
  background:linear-gradient(135deg,#e9f7ff,#e9fffc);
  display:grid;
  place-items:center;
  font-size:29px;
}

.cards h3{
  font-size:23px;
  margin:28px 0 9px;
}

.cards p{
  color:var(--muted);
  line-height:1.8;
}

/* =========================================================
   GUIDES
   ========================================================= */

.guides{
  background:linear-gradient(135deg,#edf8ff,#f7fffe);
}

.guide-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:26px;
  max-width:1300px;
  margin:auto;
}

.guide{
  background:#fff;
  border-radius:30px;
  padding:38px;
  box-shadow:var(--shadow);
  border:1px solid #e0edf7;
}

.guide-tag{
  display:inline-block;
  padding:8px 13px;
  border-radius:999px;
  background:#e9f5ff;
  color:var(--blue);
  font-weight:900;
}

.guide h3{
  font-size:32px;
  margin:18px 0 28px;
}

.guide ol{
  list-style:none;
  padding:0;
  counter-reset:steps;
}

.guide li{
  counter-increment:steps;
  position:relative;
  padding:0 54px 22px 0;
  border-right:2px solid #dcecf9;
}

.guide li:before{
  content:counter(steps);
  position:absolute;
  right:-18px;
  top:0;
  width:34px;
  height:34px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--blue),var(--cyan));
  color:#fff;
  font-weight:900;
}

.guide li strong,
.guide li span{
  display:block;
}

.guide li span{
  color:var(--muted);
  margin-top:5px;
  line-height:1.6;
}

.guide .outline{
  margin-top:10px;
  color:var(--blue);
}

/* =========================================================
   TECHNOLOGY
   ========================================================= */

.tech{
  margin:90px 5vw;
  padding:70px;
  border-radius:34px;
  background:
    radial-gradient(
      circle at 20% 20%,
      #123f66 0,
      #07192d 43%,
      #04111f 100%
    );
  color:#fff;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  align-items:center;
  min-height:520px;
  overflow:hidden;
}

.tech-copy h2{
  font-size:clamp(44px,4.5vw,70px);
  margin:12px 0;
}

.tech-copy p{
  color:#b7cbe0;
  font-size:18px;
  line-height:1.9;
  max-width:650px;
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:25px;
}

.chips i{
  font-style:normal;
  border:1px solid #284965;
  border-radius:999px;
  padding:9px 13px;
  color:#a9c8e4;
}

.tech-orbit{
  height:360px;
  position:relative;
  display:grid;
  place-items:center;
}

.tech-orbit:before,
.tech-orbit:after{
  content:"";
  position:absolute;
  border:1px solid rgba(47,221,215,.25);
  border-radius:50%;
  width:290px;
  height:290px;
}

.tech-orbit:after{
  width:390px;
  height:390px;
  border-style:dashed;
}

.core{
  width:160px;
  height:160px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:rgba(20,217,210,.08);
  border:1px solid var(--cyan);
  font-size:64px;
  font-weight:900;
  color:var(--cyan);
  box-shadow:0 0 60px rgba(34,216,211,.12);
}

.core small{
  position:absolute;
  margin-top:95px;
  font-size:8px;
  letter-spacing:3px;
}

.tech-orbit span{
  position:absolute;
  padding:9px 13px;
  border:1px solid #284965;
  border-radius:12px;
  background:#0b2239;
  color:#9fc4e4;
  font-size:11px;
}

.n1{
  top:20px;
  right:18%;
}

.n2{
  top:90px;
  left:8%;
}

.n3{
  bottom:35px;
  right:10%;
}

.n4{
  bottom:20px;
  left:17%;
}

/* =========================================================
   BUSINESS / SUPPORT
   ========================================================= */

.business,
.support{
  margin:70px 5vw;
  padding:55px 65px;
  border-radius:30px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.business{
  background:linear-gradient(120deg,#e8f6ff,#e9fffb);
}

.business h2{
  font-size:48px;
  margin:8px 0;
}

.business p,
.support p{
  color:var(--muted);
  font-size:17px;
}

.support{
  border:1px solid #e0ebf5;
  background:#fff;
}

.support h2{
  font-size:36px;
  margin:8px 0;
}

.support-actions{
  display:flex;
  gap:10px;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer{
  padding:50px 5vw;
  background:#06182c;
  color:#fff;
  display:flex;
  align-items:center;
  gap:30px;
}

footer p{
  color:#a9bfd4;
  margin-left:auto;
}

footer>small{
  color:#7890a8;
}

/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:1050px){

  .topbar nav,
  .header-actions{
    display:none;
  }

  .menu{
    display:block;
  }

  .topbar nav.open{
    display:flex;
    position:absolute;
    top:84px;
    right:0;
    left:0;
    flex-direction:column;
    background:#fff;
    padding:25px 5vw;
    box-shadow:0 20px 35px rgba(0,0,0,.08);
  }

  .cards{
    grid-template-columns:repeat(2,1fr);
  }

  .guide-grid,
  .tech{
    grid-template-columns:1fr;
  }

  .hero-copy{
    width:58%;
  }

  .tech-orbit{
    margin-top:30px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:680px){

  .topbar{
    height:72px;
    padding:0 18px;
  }

  .brand-mark{
    width:40px;
    height:40px;
  }

  .brand strong{
    font-size:20px;
  }

  .quick-services,
  .guides{
    padding:65px 18px;
  }

  .section-head h2{
    font-size:38px;
  }

  .cards{
    grid-template-columns:1fr;
  }

  .cards article{
    min-height:200px;
  }

  .guide-grid{
    grid-template-columns:1fr;
  }

  .guide{
    padding:28px 25px;
  }

  .guide h3{
    font-size:27px;
  }

  .tech{
    margin:55px 12px;
    padding:42px 24px;
  }

  .tech-copy h2{
    font-size:42px;
  }

  .business,
  .support{
    margin:45px 12px;
    padding:36px 24px;
    display:block;
  }

  .business h2{
    font-size:38px;
  }

  .business .primary,
  .support-actions{
    margin-top:20px;
  }

  .support-actions{
    flex-direction:column;
  }

  footer{
    display:block;
    text-align:center;
  }

  footer .brand{
    justify-content:center;
  }

  footer p{
    margin:20px 0;
  }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media(prefers-reduced-motion:reduce){

  html{
    scroll-behavior:auto;
  }

  *{
    transition:none!important;
    animation:none!important;
  }
}

/* =========================================================
   WASSEL HERO - FINAL RESPONSIVE FIX - 2026-09-26
   - Desktop: preserve image proportions (NO stretching).
   - Mobile: show full image width above the copy.
   - Prevent background repeat / phantom strip at the top.
   - Keep the successful 02_motorbike mobile presentation.
   ========================================================= */

.hero,
.slider,
.slide{
  background-repeat:no-repeat;
}

.slider{
  isolation:isolate;
}

.slide{
  overflow:hidden;
  background-repeat:no-repeat !important;
}

/* Desktop / laptop -------------------------------------------------- */
@media (min-width:681px){
  .hero{
    padding:34px 4vw 0;
  }

  .slider{
    width:100%;
    height:clamp(420px,31.5vw,500px);
    min-height:420px;
    max-height:500px;
    aspect-ratio:auto;
    border-radius:30px;
    background:#eef8ff;
  }

  .slide{
    /* IMPORTANT: cover keeps the original aspect ratio.
       Never use 100% 100% here because it stretches people/cars. */
    background-size:cover !important;
    background-position:center center !important;
    background-repeat:no-repeat !important;
  }

  .shade{
    inset:0;
  }
}

/* Mobile ------------------------------------------------------------ */
@media (max-width:680px){
  .hero{
    padding:18px 10px 0;
  }

  .slider{
    width:100%;
    height:620px;
    min-height:620px;
    max-height:none;
    aspect-ratio:auto;
    border-radius:24px;
    background:#fff;
  }

  .slide{
    /* Full image width, with its natural aspect ratio. */
    background-size:100% auto !important;
    background-position:center top !important;
    background-repeat:no-repeat !important;
    background-color:#fff;
  }

  /* Hide the tiny unwanted top edge contained in the other banner
     compositions without stretching/cropping the whole image. */
  .slide:not(:nth-of-type(2)){
    background-size:calc(100% + 2px) auto !important;
    background-position:center -8px !important;
  }

  /* 02_motorbike.webp already looks correct on mobile: preserve it. */
  .slide:nth-of-type(2){
    background-size:100% auto !important;
    background-position:center top !important;
  }

  .shade{
    background:linear-gradient(
      180deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0) 39%,
      rgba(255,255,255,.18) 44%,
      rgba(255,255,255,.78) 51%,
      #fff 58%,
      #fff 100%
    );
  }

  .hero-copy{
    right:22px;
    left:22px;
    top:auto;
    bottom:48px;
    width:auto;
    transform:none;
  }
}

@media (max-width:420px){
  .hero{
    padding:14px 8px 0;
  }

  .slider{
    height:600px;
    min-height:600px;
  }

  .slide{
    background-size:100% auto !important;
  }

  .slide:not(:nth-of-type(2)){
    background-size:calc(100% + 2px) auto !important;
    background-position:center -7px !important;
  }

  .slide:nth-of-type(2){
    background-position:center top !important;
  }

  .hero-copy{
    right:18px;
    left:18px;
    bottom:44px;
  }
}
