:root{
  --header-bg:#0b1220;  /* لون الهيدر */
  --muted:#b9c2d3;
  --accent:#8fd3ff;
}

/* ✅ خلفية الموقع (خارج الهيدر) بيضاء */
body{
  background:#fff;
  color:#0b1220;
  font-family: "Tajawal", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

}

html,body{ margin:0 !important; padding:0 !important; }
body{ padding-top:0 !important; }
.hero{
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  border: 0;
  color: #fff;
  margin:0 !important;
  padding:0 !important;
}

.hero-bg{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.60));
  z-index:0;
}

.hero-media{
  position:absolute;
  inset:0;
  z-index:0;
}

.hero-media picture,
.hero-media img{
  width:100%;
  height:100%;
  display:block;
}

.hero-image{
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: center;
  display:block;
  transform-origin:center;
  animation: kenburnsCover 12s ease-in-out infinite alternate;
  filter: contrast(1.02) saturate(1.06);
}

/* ✅ نخلي المحتوى في وسط الهيدر عموديًا */
.hero-content{
  position: relative;
  z-index: 5;
  padding-top: 120px; /* مساحة أعلى لوجود اللوجو */
  min-height: 86vh;
  display:flex;
  align-items:center;      /* ✅ توسيط عمودي */
}

.hero-content::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(900px 520px at 20% 30%, rgba(0,0,0,.25), transparent 60%),
    linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,.08) 60%, rgba(0,0,0,0));
  pointer-events:none;
}

.hero-p{
  color: rgba(255,255,255,.86);
  line-height: 1.9;
  max-width: 46rem;
}

.hero-media::after{
  content:"";
  position:absolute;
  inset:-40% -10%;
  background: linear-gradient(90deg, transparent, rgba(143,211,255,.12), transparent);
  transform: skewX(-12deg);
  animation: scan 3.8s ease-in-out infinite;
  pointer-events:none;
  mix-blend-mode: screen;
  opacity: .85;
}

/* ✅ اللوجو + السلوجن */
.hero-brand{
  position:absolute;
  top: calc(16px + env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 8px;
  padding: 6px 10px;
  pointer-events:none;
}

.hero-logo{
  display:block;
  width: min(340px, 70vw);
  height: auto;
  max-height: 120px;
  object-fit: contain;
  background: transparent !important;
  filter: none !important;
}

.hero-slogan{
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(255,255,255,.92);
  text-shadow: 0 8px 18px rgba(0,0,0,.45);
}

@media (max-width: 991.98px){
  .hero{ min-height: 78vh; }
  .hero-content{
    min-height: 78vh;
    padding-top: 120px;
  }

  .hero-logo{
    width: min(280px, 78vw);
    max-height: 92px;
  }
  .hero-slogan{
    font-size: 11px;
    letter-spacing: .12em;
  }
}

@keyframes scan{
  0%   { transform: translateX(-40%) skewX(-12deg); opacity: 0; }
  15%  { opacity: 1; }
  55%  { opacity: 1; }
  100% { transform: translateX(40%) skewX(-12deg); opacity: 0; }
}
@keyframes kenburnsCover{
  0%   { transform: scale(1.00); }
  100% { transform: scale(1.05); }
}






/* ====== من نحن  ====== */
.about-section{
  background:#fff;
  color:#0b1220;
}

.about-card{
  background: #ffffff;
  border: 1px solid rgba(11,18,32,.08);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 28px rgba(11,18,32,.06);
}

.about-title{
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: .2px;
}

.about-subtitle{
  font-weight: 800;
  font-size: 1.2rem;
}

.about-lead{
  line-height: 1.95;
  color: rgba(11,18,32,.86);
  margin: 0;
}

.about-text{
  line-height: 1.95;
  color: rgba(11,18,32,.72);
}

.feature{
  display:flex;
  gap: 12px;
  align-items:flex-start;
  padding: 14px 14px;
  border: 1px solid rgba(11,18,32,.08);
  border-radius: 16px;
  background: rgba(143,211,255,.06); /* لمسة بسيطة */
}

.feature-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 7px;
  background: rgba(143,211,255,1);
  box-shadow: 0 0 18px rgba(143,211,255,.25);
  flex: 0 0 auto;
}

.feature-title{
  font-weight: 800;
  margin-bottom: 4px;
}

.feature-desc{
  color: rgba(11,18,32,.70);
  line-height: 1.8;
  font-size: .95rem;
}

.about-hr{
  margin: 18px 0;
  border: 0;
  height: 1px;
  background: rgba(11,18,32,.10);
}

.about-cta .btn{
  border-radius: 14px;
  padding-top: .65rem;
  padding-bottom: .65rem;
}






  /* صندوق الصورة */
  .manager-photo{
    width: 100%;
    height: 360px;                 /* كل الصور نفس الارتفاع */
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
    overflow: hidden;
    position: relative;
    isolation: isolate;            /* عشان طبقات البلور تشتغل صح */
    background: #fff;
    display: grid;
    place-items: center;
  }

  /* خلفية بلور من نفس الصورة للفراغات */
  .manager-photo::before{
    content: "";
    position: absolute;
    inset: -20px;                  /* نكبر الخلفية عشان ما تظهر حواف بعد البلور */
    background-image: var(--photo);
    background-size: cover;        /* تغطي المربع */
    background-position: center;
    filter: blur(22px);
    transform: scale(1.1);
    opacity: .9;
    z-index: 0;
  }

  /* طبقة تلطيف خفيفة فوق البلور */
  .manager-photo::after{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.22); /* لو دايرها أغمق قلل/زاد القيمة */
    z-index: 1;
  }

  /* الصورة الأمامية (كاملة بدون قص) */
  .manager-img{
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: contain;           /* يعرض الصورة كاملة */
    padding: 14px;                 /* مسافة لطيفة */
    border: 0;
    outline: 0;
    background: transparent;
  }

  /* تحسين للموبايل */
  @media (max-width: 576px){
    .manager-photo{
      height: 320px;
      border-radius: 12px;
    }
    .manager-img{
      padding: 12px;
    }
  }







/* ====== Partners Slider ====== */
.partners-viewport{
  overflow:hidden;
  border-radius: 18px;
}
.partners-track{
  display:flex;
  align-items:stretch;
  gap: 14px;
  will-change: transform;
  transition: transform .55s ease;
}
.partner-item{
  flex: 0 0 calc(25% - 10.5px); /* 4 على الشاشات */
}
@media (max-width: 767.98px){
  .partner-item{ flex: 0 0 calc(50% - 7px); } /* 2 على الهواتف */
}

/* ✅ كرت دائري */
.partner-card{
  width: 110px;
  height: 110px;
  margin: 0 auto;              /* توسيط الدائرة داخل العمود */
  border: 1px solid rgba(11,18,32,.10);
  border-radius: 50%;
  background:#fff;
  box-shadow: 0 10px 28px rgba(11,18,32,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 16px;
  overflow: hidden;
}

/* ✅ اللوجو داخل الدائرة */
.partner-card img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;          /* لو الصورة نفسها مربعة */
  filter: grayscale(100%);
  opacity:.9;
  transition: .25s ease;
}

.partner-card:hover img{
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}
