/* Enhanced footer with background image and modern design */
.footer {
  background: var(--color-stone-dark);
  color: var(--color-stone-light);
  padding: var(--spacing-xl) 0 var(--spacing-md);
  position: relative;
  overflow: hidden;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.footer-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  z-index: 1;
}

.footer .container {
  position: relative;
  z-index: 2;
}

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

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
  color: var(--color-white);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-section p {
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}

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

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-fast);
  display: inline-block;
}

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

/* Enhanced social links with better hover effects */
.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.social-link {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: rgba(37, 99, 235, 0.9);
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
  border-color: rgba(37, 99, 235, 1);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer {
    padding: var(--spacing-lg) 0 var(--spacing-md);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .footer-section {
    text-align: center;
  }

  .footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-sm);
  }

  .footer-section p {
    font-size: 0.95rem;
  }

  .footer-links {
    padding: 0;
  }

  .footer-links li {
    margin-bottom: var(--spacing-xs);
  }

  .footer-links a:hover {
    transform: none;
    color: rgba(37, 99, 235, 1);
  }

  .social-links {
    justify-content: center;
    gap: var(--spacing-md);
  }

  .social-link {
    width: 50px;
    height: 50px;
  }

  .footer-bottom {
    font-size: 0.85rem;
    padding: var(--spacing-sm) var(--spacing-sm) 0;
  }
}
