
.footer-section {
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
      #0a0e27 0%,
      #141a32 40%,
      #1d2741 70%,
      #0a0e27 100%);
  z-index: -1;
}

.footer-background .animated-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(1, 110, 239, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 110, 239, 0.1) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 70%);
  animation: gridMove 30s linear infinite;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg,
      #ffffff 0%,
      rgba(255, 255, 255, 0.9) 10%,
      rgba(248, 251, 255, 0.7) 20%,
      rgba(220, 235, 250, 0.5) 30%,
      rgba(180, 210, 240, 0.3) 40%,
      rgba(120, 160, 210, 0.2) 50%,
      rgba(60, 100, 170, 0.1) 60%,
      rgba(20, 40, 100, 0.05) 75%,
      transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.footer-section .container {
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 4rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-heading {
  font-size: 1.125rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-list li a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.6;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-list li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-locations {
  margin-top: 1rem;
}

.locations-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.locations-text {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.locations-text a {
  color: #ffffff;
  text-decoration: underline;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.locations-text a:hover {
  opacity: 0.8;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.9;
}

.contact-item a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.contact-item a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.footer-service-area {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin-top: 0.5rem;
}

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 1rem;
}

.legal-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all 0.2s ease;
  display: inline-block;
}

.legal-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(1, 110, 239, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
}

.copyright {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  margin: 0;
}

@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .footer-column:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-section {
    padding: 4rem 0 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }

  .footer-column:first-child {
    grid-column: 1;
  }

  .footer-heading {
    font-size: 1rem;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .footer-section {
    padding: 3rem 0 1.5rem;
  }

  .footer-content {
    gap: 2rem;
  }

  .footer-list li a,
  .locations-text,
  .contact-item {
    font-size: 0.875rem;
  }

  .social-link {
    width: 38px;
    height: 38px;
  }

  .social-link svg {
    width: 18px;
    height: 18px;
  }
}
