.footer {
  background: var(--bg-secondary);
  padding: 8rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--accent-primary), 
    transparent);
}

.footer-content {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
  gap: 4rem;
}

.footer-logo h2 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.footer-logo span {
  color: var(--accent-primary);
}

.footer-logo p {
  color: var(--text-secondary);
  font-size: 1.6rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.footer h3 {
  font-size: 2.2rem;
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
  color: var(--text-primary);
}

.footer h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1rem;
  width: 4rem;
  height: 0.3rem;
  background: var(--accent-primary);
  border-radius: 0.2rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 1.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 1.6rem;
  display: block;
  transition: all var(--transition-medium) ease;
}

.footer-links a:hover {
  color: var(--accent-primary);
  transform: translateX(5px);
}

.footer-contact p {
  color: var(--text-secondary);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  color: var(--accent-primary);
  margin-right: 1.5rem;
  font-size: 1.8rem;
  width: 2rem;
  text-align: center;
}

.social-icons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 6rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 1.4rem;
}


.footer-links li {
  transform: translateX(-20px);
  opacity: 0;
  animation: fadeInRight 0.5s ease forwards;
  animation-delay: calc(0.1s * var(--i, 1));
}

@keyframes fadeInRight {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}


@media (max-width: 768px) {
  .footer {
    padding: 6rem 0 2rem;
  }
  
  .footer-content {
    gap: 3rem;
  }
  
  .footer h3 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-contact p {
    justify-content: center;
  }
  
  .social-icons {
    justify-content: center;
  }
  
  .footer-links a:hover {
    transform: translateX(0) scale(1.05);
  }
}
