/* ===========================
   Footer
   =========================== */
.footer {
  background-color: #2a2a2a;
  color: #e5e5e5;
  padding: 3rem 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Column */
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-column:nth-child(2) {
  padding-left: 4rem;
}

.footer-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: white;
  margin: 0;
}

.footer-description {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #b5b5b5;
  margin: 0;
}

/* Footer Social */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li a {
  color: #b5b5b5;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer li a {
  color: #b5b5b5;
}

.footer-links li a:hover {
  color: var(--primary-color);
  padding-left: 0.5rem;
}

/* Footer Contact */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #b5b5b5;
  line-height: 1.6;
}

.footer-contact svg {
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

/* Footer Bottom */
.footer-bottom {
  padding: 1.5rem 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.85rem;
  color: #999;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: #999;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--primary-color);
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 2.5rem 0 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: 0.75rem;
  }
  .footer-column:nth-child(2) {
    padding: 0;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 2rem 0 0;
  }

  .footer-content {
    gap: 1.5rem;
  }

  .footer-title {
    font-size: 1.05rem;
  }

  .footer-description,
  .footer-links li a,
  .footer-contact li {
    font-size: 0.85rem;
  }

  .footer-social {
    gap: 0.5rem;
  }

  .social-link {
    width: 36px;
    height: 36px;
  }
}
