* {
	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;
    }
    
  }

  .custom-card {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #fff;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    max-width: 300px; /* الحد الأقصى للعرض */
    margin: 0 auto; /* ضمان أن الكروت في المنتصف */
  }

  .custom-card:hover {
    transform: translateY(-5px);
  }

  .custom-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 5px;
  }

  .custom-card img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
  }
  .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* لتمكين ترتيب الكروت عند تغير حجم الشاشة */
  }
  
  .row {
    display: flex;
    justify-content: center;
    gap: 20px; /* المسافة بين الكروت */
    flex-wrap: wrap;
  }
  
  .col {
    display: flex;
    justify-content: center;
  }
.col-12 {
  flex: 0 0 100%;
}

.col-md-4 {
  flex: 0 0 33.33%;
}

.d-flex {
  display: flex;
}

.justify-content-center {
  justify-content: center;
}


@media (max-width: 767px) {
  .col-6 {
    flex: 0 0 50%; /* عرض العنصر 50% من المساحة المتاحة */
    max-width: 40%; /* تأكيد أن العنصر لن يأخذ أكثر من 50% */
  }

  /* إذا كنت تريد التحكم في حجم الصور */
  .custom-card img {
    width: 100%; /* تأكد من أن الصورة تأخذ العرض الكامل داخل الكارت */
    object-fit: cover; /* التأكد من أن الصورة لا تشوه داخل الكارت */
  }
}




















@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;
}
