/* Footer Styles */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 3rem 0 1rem;
  margin-top: auto;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h3 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer ul li a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  display: inline-block;
  padding: 0.25rem 0;
}

.footer ul li a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1.5rem;
  margin-top: 2rem;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: #888;
  font-size: 0.85rem;
  margin: 0;
  flex: 1;
  min-width: 300px;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social span {
  color: #888;
  font-size: 0.85rem;
  font-weight: 500;
}

.footer-social a {
  color: #b0b0b0;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.footer-social a:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.footer-social i {
  width: 16px;
  height: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-container {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    padding: 0 1rem;
  }
  
  .footer-bottom p {
    min-width: auto;
    margin-bottom: 1rem;
  }
  
  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .footer h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .footer ul li a {
    font-size: 0.85rem;
  }
  
  .footer-bottom p {
    font-size: 0.8rem;
  }
  
  .footer-social span {
    font-size: 0.8rem;
  }
}

/* Animation for footer links */
.footer ul li a {
  position: relative;
  overflow: hidden;
}

.footer ul li a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #0055a4;
  transition: width 0.3s ease;
}

.footer ul li a:hover::before {
  width: 100%;
}

/* Footer loading animation */
@keyframes footerFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer {
  animation: footerFadeIn 0.5s ease-out;
}

/* Footer link hover effects */
.footer ul li a:hover {
  color: #ffffff;
  transform: translateX(4px);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* Social media icons hover effects */
.footer-social a:hover i {
  transform: scale(1.1);
}

.footer-social a i {
  transition: transform 0.3s ease;
}

/* Footer bottom responsive improvements */
@media (max-width: 600px) {
  .footer-bottom-content {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .footer-bottom p {
    text-align: center;
    line-height: 1.5;
  }
  
  .footer-social {
    gap: 1.5rem;
  }
  
  .footer-social a {
    width: 36px;
    height: 36px;
  }
  
  .footer-social i {
    width: 18px;
    height: 18px;
  }
}