.footer {
  display: flex;
  justify-content: space-between;
  background-color: #030343;
  color: #fff;
  padding: 20px;
  font-family: Arial, sans-serif;
  flex-wrap: wrap; /* يسمح للأعمدة بالانتقال إلى الأسطر التالية في الشاشات الصغيرة */
}

.footer-column {
  flex: 1;
  margin: 0 10px;
  min-width: 200px; /* يضمن أن كل عمود له عرض أدنى جيد */
}

.footer-column h3 {
  margin-bottom: 10px;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 5px;
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
  padding-left: 0;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.footer-logo img {
  display: block;
  margin-bottom: 40px;
}

.footer-copyright {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  background-color: #50ccf2;
  padding: 10px 0;
  width: 100%;
  /* للتأكد من أن الـ copyright يعرض بشكل كامل */
}

/* Social Links Section */
.social-links {
  display: flex;
  flex-direction: row;
  /* ترتيب العناصر أفقيًا على الديسكتوب والموبايل */
  gap: 10px;
  /* إضافة المسافة بين الأيقونات */
  align-items: center;
  /* محاذاة الأيقونات في المنتصف */
}

.social-links a img {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-links a img:hover {
  transform: scale(1.1);
  /* تأثير تكبير طفيف عند المرور */
  opacity: 0.8;
  /* شفافية خفيفة عند المرور */
}

/* Media Queries for Mobile */
@media (max-width: 768px) {
  .footer {
    flex-direction: column;
    /* تغيير الاتجاه إلى عمودي في الشاشات الصغيرة */
    align-items: center;
    /* محاذاة العناصر في المنتصف */
  }

  .footer-column {
    margin: 10px 0;
    /* إضافة مسافة بين الأعمدة */
    text-align: center;
    /* محاذاة النص في الأعمدة */
  }

  .footer-copyright {
    font-size: 12px;
    /* تصغير الخط في الأسفل في الشاشات الصغيرة */
  }
}