/* Modern Footer Styles */

.modern-footer .logo img {
  max-height: 50px;
  width: auto;
}

.modern-footer a {
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.modern-footer a:hover {
  transform: translateX(2px);
}

.modern-footer .social-icon {
  transition: all 0.2s ease;
}

.modern-footer .social-icon:hover {
  transform: translateY(-3px);
}

/* Footer Widget Styling */
.modern-footer .widget {
  margin-bottom: 1.5rem;
}

.modern-footer .widget h3,
.modern-footer .widget .widget-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #1e293b;
}

.modern-footer .widget li {
  margin-bottom: 0.5rem;
}

/* Bottom Legal Bar */
.modern-footer .legal-bar {
  border-top: 1px solid rgba(229, 231, 235, 0.8);
}

.modern-footer .legal-nav a {
  position: relative;
}

.modern-footer .legal-nav a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #0891b2; /* cyan-600 */
  transition: width 0.3s ease;
}

.modern-footer .legal-nav a:hover:after {
  width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .modern-footer .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .modern-footer .footer-grid {
    grid-template-columns: 1fr;
  }

  .modern-footer .legal-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}
