/* === General Styles === */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;

  }
  
  /* إعداد عام للـ body */
  body {
	line-height: 1.6;
  overflow-x: hidden;

  }
  
  /* تعديلات بسيطة */
  section {
	padding: 60px 0;
  }
  
  
  .logo-img {
    max-height: 55px;
    width: auto;
  }
  
  .partner-img {
    max-height: 40px;
    width: auto;
  }
  .nav-item{
    font-size: 20px;
  }
    /* إخفاء القائمة المنسدلة في البداية */
.nav-item.dropdown .dropdown-menu {
  display: none;
}

/* إظهار القائمة المنسدلة عند التفاعل مع العنصر */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
  position: absolute;
  background-color: #fff; /* أو أي لون تفضله */
  border: 1px solid #ddd; /* لإضافة حدود للقائمة */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* إضافة ظل للقائمة */
  z-index: 1000; /* لجعل القائمة تظهر فوق المحتوى الآخر */
}

/* تحسين المظهر عند الوقوف على العناصر داخل القائمة */
.nav-item.dropdown .dropdown-menu .dropdown-item:hover {
  background-color: #f8f9fa;
}
  /* نتأكد إن النصوص في منتصف الشاشة بالظبط */
  header .container {
    z-index: 2;
    position: relative;
    
    a{
      background-color: #F77016;
    }
  }
.content-section {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 50px;
  /* background-color: #FCF8D8; */

  li{
    list-style: none;
  }
  img{
    width: 100%;
    height: 100%;
    scale: .7;
  }
}

.text {
  flex: 1;
  padding-right: 100px;
  padding-top: 50px;
  h2{
    font-size: 40px;
    color: #5F857C;
    text-align: left;
    /* padding-top: 30px; */
  }
  li{
    font-size: 18px;
    color: #5F857C;
    padding-top: 10px;
  }
  
  b{
    font-size: 18px;
    color: #5F857C;
    padding-top: 10px;
  }
 

}

.text h5 {
  font-size: 30px;
  color: #5F857C;
  padding-top: 50px;


}

.text p {
  font-size:  15px;
  color: #324c8b;
  padding-top: 30px;
  width: 80%;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #324c8b;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.btn:hover {
  background-color: #283a6b;
}

.image {
  flex: .7;
  text-align: right;
}

.image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* 📌 **Responsive Design for Mobile** */
@media (max-width: 768px) {
  .content-section {
      flex-direction: column;
      text-align: center;
      padding: 20px;
  }
  
  .text {
      padding-right: 0;
      padding-bottom: 20px;
  }

  .image {
      text-align: center;
  }
}
.custom-list {
  padding: 0; /* إزالة البادينج الافتراضي */
  
  .no-bullet{
    font-weight: 500;

  }
}

.card-text.custom-list .no-bullet li{
  list-style-type: none;
  justify-content: center;

  
}

.custom-list li {
  margin-bottom: 10px; /* إضافة مسافة بين العناصر */
}

.card-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  /* background-color: #FCF8D8; */
  padding-top: 80px;
}

/* تنسيق الكارت */

/* النص المغطى تحت الصورة */
.card .card-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #5F857C;
  font-size: 18px;
  /* font-weight: bold; */
  text-align: left;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;

  .custom-list .no-bullet {
    list-style-type: none; /* إزالة البولت من العناوين فقط */
    font-size: 30px;
    text-align: left
    
  }

  li{
    font-size: 15px;
    color: #000;
    padding-top: 10px;
    text-align: left;
    margin-bottom: 5px;
    line-height: 1.3;
    text-indent: -10px; /* تحريك السطر الثاني للخلف */
    padding-left: 20px; /* تحريك السطر الأول للأمام */


  }
}

/* تأثير عند تمرير الماوس */
.card:hover img {
  opacity: 0; /* تجعل الصورة معتمة */
}

.card:hover .card-text {
  opacity: 1; /* يظهر النص */
}

.card {
  width: calc(33.33% - 10px); /* تقسيم الكروت على 3 أعمدة */
  max-width: 400px;
  height: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
  filter: grayscale(30%) brightness(70%);

}

.card .card-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(0, 0, 0);
  font-size: 18px;
  /* font-weight: bold; */
  text-align: left;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.card:hover img {
  opacity: 0.2;
  
}

.card:hover .card-text {
  opacity: 1;
  
}

/* النص يظهر دائمًا على الصورة */
.card .overlay-text {
  position: absolute;
  top: 200px; /* المسافة من الأعلى */
  left: 50%;
  transform: translateX(-50%);
  /* background: rgba(0, 0, 0, 0.6); */
  color: #fff;
  padding: 5px 10px;
  font-size: 35px;
  /* font-weight: bold; */
  width: 100%;
  text-align: center;
  
  
  
  }
.card:hover img {
  opacity: 0.2;
}

.overlay-text:hover  {
  opacity: 0;
}

.card:hover .overlay-text {
  opacity: 0;
  visibility: hidden;
}
#section2 {
  /* background-color: #FCF8D8; */
  width: 100%;
  height: 40vh;
  display: flex;
  flex-direction: column; /* يضع العناصر عمودياً */
  justify-content: center; /* يوسّط العناصر عمودياً */
  align-items: center; /* يوسّط العناصر أفقياً */
  padding: 15px;
  text-align: center;
  padding-top: 0px;
  
}
.wrapper {
  padding-top: 40px; 
  display: flex;
  width: 100%;
  max-width: 1536px;
  margin-inline: auto;
  height: 200px;  
  justify-content: center;
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1) 20%,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, 0)
  );
  
}

@keyframes scrollLeft {
  to {
    left: -200px;
  }
}


.itemLeft,
.itemRight {
  width: 150px;
  height: 150px;
  position: absolute;
  animation-timing-function: linear;
  animation-duration: 20s;
  animation-iteration-count: infinite;

  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%; /* يجعل العنصر دائري */
  overflow: hidden; /* يمنع خروج الصورة عن الدائرة */
}
.itemLeft img,
.itemRight img {
  width: 75%;
  height: auto;
  object-fit: contain;

  
}

.itemLeft {
  left: max(calc(200px * 10), 100%);
  animation-name: scrollLeft;
}

.itemRight {
  right: max(calc(200px * 10), calc(100% + 200px));
  animation-name: scrollRight;
}

.item1 {
  animation-delay: calc(20s / 10 * (10 - 1) * -1);
}

.item2 {
  animation-delay: calc(20s / 10 * (10 - 2) * -1);
}

.item3 {
  animation-delay: calc(20s / 10 * (10 - 3) * -1);
}

.item4 {
  animation-delay: calc(20s / 10 * (10 - 4) * -1);
}

.item5 {
  animation-delay: calc(20s / 10 * (10 - 5) * -1);
}

.item6 {
  animation-delay: calc(20s / 10* (10 - 6) * -1);
}

.item7 {
  animation-delay: calc(20s / 10 * (10 - 7) * -1);
}

.item8 {
  animation-delay: calc(20s / 10 * (10 - 8) * -1);
}

.item9 {
  animation-delay: calc(20s / 10 * (10 - 9) * -1);
}
.item10 {
  animation-delay: calc(20s / 10 * (10 - 10) * -1);
}



@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
}



.footer-container {
  display: flex; /* تنسيق العناصر بشكل أفقي */
  justify-content: space-between; /* توزيع الأعمدة بشكل متساوي */
  gap: 30px; /* إضافة مسافة ثابتة بين الأعمدة */
  flex-wrap: wrap; /* يسمح بتوزيع الأعمدة في صفوف متعددة في حالة كانت الشاشة صغيرة */
}

.footer-column {
  flex-grow: 1; /* يجعل الأعمدة تتوزع بالتساوي */
  min-width: 220px; /* تحديد الحد الأدنى للعرض */
}

.footer-column h3 {
  margin-bottom: 15px; /* إضافة مسافة أسفل العنوان */
}

.footer-column ul {
  padding-left: 0;
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: white; /* تغيير اللون إلى الأبيض */
  text-decoration: none; /* إزالة الخط السفلي */
}

.footer-column ul li a:hover {
color: #F77016;
}

.nav-link.active {
  font-weight: bold;
  color: #FCF8D8; /* يمكنك تغيير اللون حسب الحاجة */
}
hr {
  border: none;
  height: 1px;
  background-color: #5F857C; /* لون الخط */
  margin: 20px 0; /* مسافة فوق وتحت الخط */
position: relative;
}
.header{
  position: relative; /* لازم يكون الأب Position Relative */
  width: 100%;
  height: 60vh;


  
  h6{
    font-size: 60px;
    color: #FCF8D8;
    text-align: center;
    justify-content: center;
    align-items: center;
    
    text-transform: uppercase;
    padding-top: 13%;
    position: relative;

    
    
  }

  p{
    font-size: 25px;
    color: #ffffff;
    text-align: center;
    justify-content: center;
    align-items: center;
    /* padding: 200px; */
    padding-top: 0px;
    width: 100%;
  }
  .custom-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    right: 0%;
    /* top: 60%; */
    /* transform: translateY(-50%); */
    filter: grayscale(30%) brightness(40%);


  }
}
.back-arrow {
  text-decoration: none;
  font-size: 40px; /* حجم السهم */
  color: #FCF8D8; /* لون السهم */
  font-weight: bold;
  position: absolute;
  top: 90px; /* المسافة من الأعلى */
  left: 20px; /* بدل right: 95% */
  z-index: 2; /* يتأكد إنه فوق الصورة */
}
.back-arrow:hover {
  color:#000; /* لون عند التمرير */
}
.nav-link.active {
  font-weight: bold;
  color: #ffffff !important; /* يمكنك تغيير اللون حسب الحاجة */
}
.card {
  width: 400px;
  height: 400px;
  perspective: 1000px; /* يعطي تأثير ثلاثي الأبعاد */
}

.card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease-in-out;
}

.card:hover .card-inner {
  transform: rotateY(180deg);
}

/* الواجهة الأمامية */
.card-front, .card-back {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  backface-visibility: hidden;
}

.card-front {
  background: #fff;
}

/* الواجهة الخلفية */
.card-back {
  background: #fff;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  transform: rotateY(180deg);
}
