/* Footer styles */
footer {
  background-color: var(--gray-900);
  color: var(--gray-300);
  padding: 64px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-column h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
}

.footer-logo {
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  transition: var(--transition);
  position: relative;
}

.social-links a:hover {
  background-color: var(--secondary-color);
  color: var(--gray-900);
  transform: translateY(-4px);
}

/* WhatsApp specific styling */
.social-links a[href*="wa.me"]:hover {
  /* background-color: #25D366; */
  /* color: var(--white); */
  background-color: var(--secondary-color);
  color: var(--gray-900);
  transform: translateY(-4px);
}

/* Add tooltip for social links */
.social-links a::after {
  content: attr(title);
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--gray-800);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
}

.social-links a:hover::after {
  opacity: 1;
  visibility: visible;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--gray-300);
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--secondary-color);
  transform: translateX(4px);
}

.contact-info li {
  margin-bottom: 16px;
  display: flex;
}

.contact-info i {
  margin-right: 12px;
  color: var(--secondary-color);
  margin-top: 4px;
  min-width: 16px;
}

.contact-info a {
  transition: var(--transition);
}

.contact-info a:hover {
  color: var(--secondary-color);
}

/* WhatsApp link in contact info */
.contact-info a[href*="wa.me"]:hover {
  color: #25D366;
}

.office-hours li {
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.office-hours span {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-links {
  /* display: flex; */
  gap: 24px;
  flex-wrap: wrap;
}

.legal-links a {
  color: var(--gray-400);
  font-size: 0.875rem;
}

.legal-links a:hover {
  color: var(--secondary-color);
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .legal-links {
    justify-content: center;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .contact-info li {
    align-items: flex-start;
  }
}