/* ===== Footer Base ===== */
.main-footer {
  background: #141414 !important;
  color: #fff !important;
  padding: 40px 20px 20px !important;
  font-family: 'Cairo', sans-serif !important;
  clear: both !important; /* منع التداخل مع الكروت أو الإعلانات */
}

.footer-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 30px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

.footer-col h4 {
  margin-bottom: 15px !important;
  color: var(--gold, #FFD700) !important;
}

.footer-links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-links li {
  margin-bottom: 10px !important;
}

.footer-links li a {
  color: #fff !important;
  text-decoration: none !important;
  transition: color 0.3s !important;
}

.footer-links li a:hover {
  color: var(--gold, #FFD700) !important;
}

.footer-info {
  line-height: 1.7 !important;
  color: #ccc !important;
}

.social-icons a {
  display: inline-block !important;
  margin-left: 10px !important;
  font-size: 20px !important;
  color: #fff !important;
}

.footer-bottom {
  border-top: 1px solid #333 !important;
  margin-top: 30px !important;
  padding-top: 15px !important;
  text-align: center !important;
  font-size: 14px !important;
  color: #ccc !important;
}

/* ===== FOOTER MOBILE ===== */
@media screen and (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr !important; /* كل عمود في صف منفصل */
    gap: 20px !important;
  }

  .footer-col h4 {
    text-align: center !important;
  }

  .footer-links li a {
    display: block !important;
    text-align: center !important;
  }

  .social-icons {
    text-align: center !important;
    margin-top: 15px !important;
  }
}
