/* Footer Styles */

footer {
  background-color: var(--foreground);
  color: var(--background);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

footer a {
  color: rgba(248, 250, 252, 0.7);
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--background);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(248, 250, 252, 0.1);
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-section .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.footer-section .logo-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
}

.footer-section .logo span {
  font-weight: 700;
  color: var(--background);
}

.footer-section p {
  font-size: 0.875rem;
  color: rgba(248, 250, 252, 0.7);
  margin: 0;
  line-height: 1.6;
}

.footer-section h4 {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--background);
  margin: 0;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-section ul li {
  font-size: 0.875rem;
}

.footer-section ul li a {
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(248, 250, 252, 0.5);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.75rem;
  text-decoration: none;
}

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
