  /* ==== إعدادات أساسية (موجودة مع بعض التصحيحات) ==== */
    @font-face {
      font-family: 'MyCustomFont';
      src: url('fonts/MyCustomFont.woff2') format('woff2'),
           url('fonts/MyCustomFont.woff') format('woff');
      font-weight: normal;
      font-style: normal;
    }

    html { scroll-behavior: smooth; }

    body {
      margin: 0;
      font-family: 'IBM Plex Arabic', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
      direction: rtl;
      line-height: 1.6;
      color: #333;
    }

    /* العربي (الافتراضي) */
body[lang="ar"] {
  font-family: 'IBM Plex Arabic', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  font-size: 1rem;
}

/* الإنجليزي */
body[lang="en"] {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  font-size: 0.9rem; /* تقليل الحجم لمنع التخريب */
  letter-spacing: 0.2px;
}

/* تصغير العناوين الإنجليزية قليلاً */
body[lang="en"] h1 { font-size: clamp(28px, 5vw, 50px); }
body[lang="en"] h2 { font-size: clamp(28px, 3vw, 70px); }
body[lang="en"] h3 { font-size: 0.95em; }
body[lang="en"] a { font-size: 0.7em; }
body[lang="en"] p { font-size: 0.7em; }

    /* ===== اله يدر والسلايدر ===== */
    .hero-header {
      position: relative;
      height: 100vh;
      /* نترك الخلفية هنا خالية لأننا سنستخدم السلايدر كخلفية */
      border-bottom-left-radius: 100px;
      border-bottom-right-radius: 100px;
      overflow: hidden;
    }

    /* حاوية السلايدر (تحت الـ overlay مباشرة) */
    .hero-slider1 {
      position: absolute;
      inset: 0; /* top:0; right:0; bottom:0; left:0; */
      z-index: 0;
      display: block;
    }

    .slides1 {
      height: 100%;
      width: 100%;
      position: relative;
    }

   .slide1 {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.9s ease, transform 0.9s ease;
  z-index: 0;
}

/* الحالة المفعّلة — اسم الفئة التي يضيفها JS هو is-active */
.slide1.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}


    /* Overlay ملون فوق الصور (خفيف كالموجود) */
    .overlay {
      position: relative;
      z-index: 2; /* فوق السلايدر */
      background-color: rgba(9,106,148,0.45);
      height: 100%;
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding-top: 1rem;
      text-align: center;
      color: #fff;
      backdrop-filter: none; /* يمكن تعديل */
    }

    /* أزرار التبديل (Prev/Next) */
    .slider-controls1 {
      position: absolute;
      z-index: 3;
      top: 50%;
      width: 100%;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
      pointer-events: none; /* لتفادي اعتراض النقرات على العناصر الخلفية */
    }

    .ctrl-btn1 {
      pointer-events: all; /* رجّع النقر للأزرار */
   
      border: 1px solid rgba(255,255,255);
      
    
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;

      cursor: pointer;
      backdrop-filter: blur(4px);
      transition: transform .18s ease, background .18s ease;
  font-size: 21px;
  color: white;

  padding: 2px 12px;

  margin:3px;
    }

    .ctrl-btn1:hover { transform: scale(1.06); background: rgba(255,255,255,0.22); }

    /* المؤشرات الصغيرة أسفل السلايدر */
    .slider-indicators1 {
      position: absolute;
      left: 50%;
      bottom: 28px;
      transform: translateX(-50%);
      z-index: 3;
      display: flex;
      gap: 8px;
    }

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.indicator.is-active { background: #ffd36b; transform: scale(1.2); }


    /* ===== بقية ستايل الهيدر (نسختك مع تعديلات طفيفة) ===== */
    .headCon {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: relative;
      padding: 8px 12px;
    }

    .logo { width: clamp(30px, 30vh, 240px); margin-top: 1px; z-index: 4; }

    .headDivider { width: 100%; background-color: rgba(255,255,255,0.0); height: 1px; margin-top: 30px; }

    .hero-text h1 {
    
      font-size: clamp(28px, 5vw, 90px);
      margin-top: 30%;
      margin-bottom: 2rem;
      padding: 5px;
      z-index: 4;
    }

    .nav-links { display: flex; gap: 1.5rem; flex-wrap: wrap; font-size: 1.1rem; margin-bottom: 2rem; z-index: 4; }
    .nav-links a { color: #fff; text-decoration: none; padding: 0.6rem 1.2rem; border-radius: 999px; display:inline-flex; align-items:center; justify-content:center; }
    .nav-links a:hover { border: 1px solid #f3ad00; box-shadow: 0 0 0 2px rgba(243,173,0,.15), 0 6px 12px rgba(0,0,0,0.25); transform: scale(1.05); }

    .menu-toggle{ position:absolute; top:10px; left:16px; z-index:1001; font-size:28px; background:transparent; border:none; color:#fff; cursor:pointer; display:none; }

    .mobile-menu{ position: absolute; top:52px; left:12px; width: min(78vw,260px); background: rgba(9,106,148,0.6); border:1px solid rgba(255,255,255,0.15); border-radius:10px; padding:10px 8px; display:none; z-index:1000; backdrop-filter: blur(6px); }
    .mobile-menu a{ display:block; padding:10px 12px; color:#fff; text-decoration:none; border-radius:20px; font-size:20px }
    .mobile-menu a:hover{ background: rgba(255,255,255,0.15); }
    @keyframes slideDown{ from{opacity:0; transform: translateY(-8px);} to{opacity:1; transform: translateY(0);} }
    .mobile-menu.open{ display:block; animation: slideDown .25s ease; }

    .e-icons{ position:absolute; top:55px; left:20px; z-index:1001; display:flex; align-items:center; padding:6px; border:1px solid #FFFFFF; border-radius:90px; box-shadow: 0 6px 16px rgba(0,0,0,0.25); }
    .e-icons .flag img{ width:20px; height:auto; transition: transform .2s ease; }
    .e-icons .flag img:hover{ transform: scale(1.08); }
    #languageSelect{ appearance:none; background: transparent; color:#fff; font-size:16px; border:none; outline:none; padding:.40rem 1.4rem .40rem .6rem; border-radius:6px; cursor:pointer; }

    @media (max-width: 768px){ .nav-links{ display:none !important; } .menu-toggle{ display:block; } .e-icons{ display:none !important; } }
    @media (max-width:480px){ .logo{ width:40%; } .hero-text h1{ font-size:35px; } }

    /* Accessibility focus states */
    .ctrl-btn:focus, .indicator:focus, .nav-links a:focus, .menu-toggle:focus { outline: 3px solid rgba(255,211,107,0.25); outline-offset: 2px; }


    


/* ======  ABOUT US سكشن معزول ====== */
.about-section-vision {
  position: relative;
  padding: 2rem 2rem 2rem 1rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.8)),
    url('img/bg.png') no-repeat center center;
  background-size: cover;
  	background-attachment:fixed;
     min-height: auto; /* يضمن حد أدنى لكن يسمح بالتمدد */
     height: auto; /* يترك الحاوية تكبر حسب المحتوى */  


   

}

/* الحاوية الرئيسية */
.about-container-vision {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.2rem ;
  align-items: center;
  direction: rtl;

  
}

/* النص */
.text {
  font-size: clamp(1.2rem, 0.5vw, 1.3rem);

    display: flex;
  flex-direction: column;
  align-items: center;

   height: 100%;

 
}

  
.title {
  font-size: clamp(1.8rem, 2.5vw, 2.8rem);
  font-weight: bold;
  margin:5px;
  color:#074e6c;
   display: flex;
  flex-direction: column;
  align-items: center;

}

/* العمود الأوسط */
.about-mid-vision {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
   height: 100%;
}

.about-mid-vision img {
  width: clamp(25px, 3vw, 45px);
  height: auto;
}

.about-divider-vision {
  width: 3px;
  background-color: #ccc;
  flex-grow: 1;
  height: clamp(40px, 30vh, 10px);
}

/* الصورة */
.about-image-vision img {
  width: 80%;
  Min-height:200px;
  max-height:70%
  
  object-fit:cover;
  border-radius:15px;
  box-shadow:0 0 6px rgba(0, 0, 0, 0.1)}

/* ====== Responsive ====== */
@media (max-width: 900px) {
  .about-container-vision {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-mid-vision {
    flex-direction: row;
    justify-content: center;
  }

  .about-divider-vision {
    width: 50px;
    height: 3px;
    min-height: auto;
	order: 2;
  }

  .about-text-vision {
    order: 3;
  }

  .about-image-vision {
    order: 1;
  }


}




/*PROJECT */
.project {
  height:90%;
  
  background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.8));
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transition: background-image 0.5s ease-in-out; /* عشان التغيير يكون سلس */
}

.overlay2 {
  background: rgba(7,78,108,0.5);
  height: 100%;
  width: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  padding: 2rem; 

  text-align: center;
    color:#FFFFFF;
}
.project > .container {
  position: relative;
  z-index: 1;
  padding: 1rem;
}
.p-container-vision {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.2rem ;
  align-items: center;
  direction: rtl;
}

.project-slider {
  flex: 1;
  position: relative;
  overflow: hidden;

}

/* النص */
.about-text-vision {
  font-size: clamp(1.2rem, 1.5vw, 2.3rem);

    display: flex;
  flex-direction: column;
  align-items: start;


   height: 100%;
   
 
}

.about-title-vision {
  font-size: clamp(1.8rem, 3.5vw, 3.5rem);
  font-weight: bold;
  font-family: 'MyCustomFont';

}



.slide {
  display: none;
  position: relative;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  border-radius: 10px;

  background-size: cover;
}



.slide-title {
  position: relative;
  bottom: 10px;
  top:1px;
  background: rgba(7,78,108,0.9);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  justify-content:center;
  text-align:center;
    font-size: clamp(1.2rem, 1.5vw, 2.3rem);
}

.slider-controls {
  position: absolute;
  top: 40%;
  width: 100%;
  height:auto;
  display: flex;
  justify-content: space-between;
}

.slider-controls span {

  cursor: pointer;
  font-size: 21px;
  color: white;
  background:rgba(7,78,108,0.9);
  padding: 2px 12px;
  border-radius: 50%;
  margin:3px;
}

/* ====== Responsive ====== */
@media (max-width: 900px) {
  .p-container-vision  {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-mid-vision {
    flex-direction: row;
    justify-content: center;
  }

  .about-divider-vision {
    width: 50px;
    height: 3px;
    min-height: auto;
	order: 2;
  }

  .about-text-vision {
    order: 3;
  }

  .about-image-vision {
    order: 1;
  }


}

/* MAP */
.map-section {
  background: #074e6c;
  padding: 1rem 1rem;
  text-align: center;
  color: #f4f9fc;

}
.map-section h2 { font-size: 2.5rem; margin-bottom: 1rem; padding: 5px;   
  border: 1px solid #ffffff;   
  border-radius: 999px;            /* شكل كبسولة */
  box-shadow: 0 0 0 2px rgba(243,173,0,.15), 
              0 8px 12px rgba(0,0,0,0.30); /* وهج بسيط */}
.map-container {
  position: relative;
  max-width: 100%;

}
.map-image {
  width: 100%;
  height: auto;
      border: 1px solid #f3ad00;   
  border-radius:8px;            /* شكل كبسولة */
  box-shadow: 0 0 0 2px rgba(243,173,0,.15), 
              0 8px 12px rgba(0,0,0,0.30); /* وهج بسيط */
}
.map-pin {
  position: absolute;
  width: 10px;
  height: 10px;
  background: #F3AD00;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 5px #666;
  cursor: pointer;
  transform: translate(-50%, -50%);
}
.tooltip {
  position: absolute;
  display: none;
  background: rgba(50, 50, 50, 0.85); /* رمادي داكن وشفاف */
  color: #fff; /* النص أبيض */
  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.5); /* حواف شبه شفافة */
  padding: 1rem 1.25rem;
  font-size: 1.05rem; /* أكبر من السابق */
  line-height: 1.5;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4); /* ظل عميق وجذاب */
  pointer-events: none;
  max-width: 270px;
  z-index: 1000;

  /* تأثير ظهور سلس */
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.2s ease;
  transform: translateY(-5px); /* تأثير رفع بسيط عند الظهور */
}

.tooltip.show {
  display: block;
  opacity: 1;
  transform: translateY(0); /* يعود للوضع الطبيعي عند الظهور */
}

/* موبايلات صغيرة جدًا */
@media (max-width:480px){

.map-pin{ width: 3px; height: 3px;}  

 .map-section h2 { font-size: 1.5rem; } 
}



/* FOOTER */
.footer-section {
  position: relative;
  height: clamp(600px, 50vh, 1000px);
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* يجعل الجزء العلوي في الأعلى، والـ footer-bottom في الأسفل */
  background: url('img/3.JPG') center/cover no-repeat;
  color: #fff;
  overflow: hidden;

}
.footer-overlay {
  position: relative;
  background-color: rgba(7,78,108,0.6);
  height:100%;
  width:100%;
  padding: 2rem 0rem 0rem 0rem;
  text-align: center;
  z-index: 1; 
}

.footer-logo {

   position: absolute;
   top: 50%;
   left: 0;
   transform: translateY(-50%);
   z-index: 2;
}
.footer-logo img {
  max-width: 25vw;
}

.footer-divider {
  height: 3px;
  background: #fff;
  width: 74%;
   position: absolute;
   top: 50%;
   right: 0;
   transform: translateY(-50%);
   z-index: 2;
}






.footer-top h2 {
  font-size: 50px;
  margin-top: 50px;
  margin-bottom: 0.01rem;
    font-family: 'MyCustomFont';
  text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
  padding-left: 10px;
  
}

.footer-call {
  font-size:  23px;
  color: #E7C56F;
   position: absolute;
   top: 51%;
   right: 2%;
   transform: translateY(-50%);
   z-index: 2;
 
}

.footer-bottom {
  background-color: #074e6c;
  height:50%;
  width:100%;
  position: absolute;
   top: 50%;
   
   padding:10px;
   display: flex;
  align-items: flex-end;
  justify-content: center;
  
}

/* الحاوية */
.social-icons{
  position:absolute;
  top:46%;
  right:2%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  justify-content:flex-end; /* بديل أوضح من right */
  gap:4px;                  
  z-index:2;
}


.social-icons a{
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}


.social-icons img{
  width:70%;
  height:70%;
  display:block;            /* يمنع فراغ سطر inline */
  object-fit:contain;       /* يحافظ على التناسب */
  transition:transform .3s;
}




.social-icons img:hover {
  transform: scale(1.1);
}


.p{
  font-size: 0.9rem;
  opacity: 0.7;
}

.info{

   position: absolute;
   width:auto;
    height:auto;
   top: 75%;
   right: 2%;
   bottom: 5%;
   transform: translateY(-50%);
   z-index: 2;

text-align:right;


}

.p1{
  font-size: clamp(10px, 15vh, 15px);
  opacity: 0.7;
  color: #fff;
padding:1px;
   transform: translateY(-50%);
   z-index: 2;
 
}


/* تابلت */
@media (max-width:768px){
  .social-icons{ gap:2px; }
  .social-icons a{ width:34px; height:34px; }
}

/* موبايلات صغيرة جدًا */
@media (max-width:480px){
  .footer-top h2{font-size: 25px;}
  .footer-call{font-size:12px; right:5%;}
  .social-icons{ gap: 1px; right:3%; }
  .social-icons a{gap: 1px; width:25px; height:25px; }
    .p{font-size:10px;}
  .p1{font-size:11px;}
}


/*ONSUR IN NUMBERS */

.NoTitle{

 font-size: 2.5rem;
 text-align:center;
 align-items: center;
 color:#074e6c;
 margin-bottom: 5px; 

}

.section-divider {
    width: 90%;
    height: 2px;
    margin: 5px auto 50px auto;
    background: linear-gradient(to right, #80b3ca, #a5dba4, #f9d680);
    border-radius: 2px;
}

.container{
width:90%;
display:flex;
align-items:center;
justify-content: space-between;
flex-wrap: wrap;
padding:12px;
margin:auto;
margin-bottom:20px;

}

.num{
  display: grid;
  place-items: center;
width:190px;
height:150px;
margin:auto;
margin-bottom: 20px;
padding:10px;
border:#074e6c solid;
border-width:2px;
border-radius:5px;
box-shadow: 7px 5px 10px rgba(0, 0, 0, 0.2);
}

.img{
height:70px;
width:70px;
margin: 0 auto;
}
.counter{
color:#074e6c;
text-align:center;
margin: 0 auto;
}
.num h3{
color:#6395aa;
text-align:center;
margin: 0 auto;
}


