/* Footer styling */


.footer_container {
  margin: 0 auto;
  padding: 48px max(20px, 5vw) 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  position: relative;
  background: linear-gradient(135deg, #1d1d1f 0%, #2d2d2f 100%);
  color: #f5f5f7;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;

}

/* Footer sections */
.footer-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 16px 0;
  letter-spacing: -0.01em;
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #06c 0%, #007bff 100%);
  border-radius: 1px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-section li {
  margin: 0;
}

.footer-section a {
  color: #a1a1a6;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.footer-section a:hover {
  color: #06c;
  transform: translateX(4px);
}

.footer-section a i {
  width: 16px;
  height: 16px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.footer-section a:hover i {
  opacity: 1;
}

/* Footer bottom */
.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer-logo span {
  font-size: 13px;
  color: #ffffff;
  line-height: 1.4;
}

.footer-copyright {
  font-size: 13px;
  color: #a1a1a6;
  line-height: 1.4;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  color: #a1a1a6;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
  background: rgba(0, 108, 204, 0.2);
  color: #06c;
  transform: translateY(-2px);
  border-color: rgba(0, 108, 204, 0.3);
}

.footer-social a i {
  width: 20px;
  height: 20px;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #06c 0%, #007bff 100%);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 108, 204, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(0, 108, 204, 0.4);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .footer_container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    padding: 40px 16px 20px;
  }
}

@media (max-width: 768px) {
  .footer_container {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 16px 16px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .footer-bottom-left {
    flex-direction: column;
    gap: 12px;
  }
  
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer_container {
    padding: 24px 12px 12px;
  }
  
  .footer-section h3 {
    font-size: 16px;
  }
  
  .footer-social a {
    width: 36px;
    height: 36px;
  }
  
  .footer-social a i {
    width: 18px;
    height: 18px;
  }
  
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
  }
  
  .back-to-top svg {
    width: 20px;
    height: 20px;
  }
}

/* Animation for footer elements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-section {
  animation: fadeInUp 0.6s ease forwards;
}

.footer-section:nth-child(1) { animation-delay: 0.1s; }
.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.3s; }
.footer-section:nth-child(4) { animation-delay: 0.4s; }