.footer {
  background: #3d0d52;
  color: white;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
  direction: rtl; /* دعم RTL */
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  text-align: right; /* يضبط محاذاة النصوص */
}

.footer-col {
  flex: 1 1 200px;
}

.footer-col h3 {
  margin-bottom: 15px;
  font-size: 18px;
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: white;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.logo-social {
  text-align: center;
}

.logo-social h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.social-icons a {
  color: white;
  margin: 0 5px;
  font-size: 18px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #aaa;
  margin-top: 30px;
  font-size: 14px;
}

/* ✅ Media Query للموبايل */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-col {
    width: 100%;
    margin-bottom: 20px;
  }

  .footer-col h3 {
    font-size: 16px;
  }

  .logo-social h1 {
    font-size: 36px;
  }
}
