/* Footer Component Styles */

.footer {
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #06b6d4 100%);
  color: #fff;
  box-shadow: 0 -2px 16px 0 rgba(102, 126, 234, 0.10);
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section {
  display: flex;
  flex-direction: column;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.footer-section:nth-child(2) { animation-delay: 0.2s; }
.footer-section:nth-child(3) { animation-delay: 0.4s; }
.footer-section:nth-child(4) { animation-delay: 0.6s; }
.footer-section:nth-child(5) { animation-delay: 0.8s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
  font-family: 'Poppins', sans-serif;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.3s ease;
}

.footer-section:hover .footer-title::after {
  width: 50px;
}

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

.footer-links li {
  margin-bottom: 12px;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
  position: relative;
  display: inline-block;
}

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

.footer-links a::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: #adbbda;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-links a:hover::before {
  opacity: 1;
  left: -10px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: translateY(-3px) rotate(8deg);
}

.social-link:hover::before {
  transform: scale(1.5);
}

.footer-bottom {
  padding: 30px 40px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.footer-bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.copyright {
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding-left: 24px;
  transition: color 0.3s ease;
}

.copyright::before {
  content: '©';
  position: absolute;
  left: 0;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.copyright:hover {
  color: white;
}

.copyright:hover::before {
  opacity: 1;
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
  }
  
  .footer-section:first-child {
    grid-column: 1 / -1;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .footer,
  .footer-container,
  .footer-top,
  .footer-section,
  .footer-bottom-content {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .footer-top {
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
  }
  .footer-section {
    width: 100%;
    margin-bottom: 12px;
  }
  .footer-bottom-content {
    flex-direction: column !important;
    gap: 12px !important;
  }
}

@media (max-width: 480px) {
  .footer-top {
    padding: 40px 0 30px;
    gap: 20px;
  }
  .footer-section {
    margin-bottom: 20px;
  }
  .footer-title {
    font-size: 16px;
    margin-bottom: 15px;
  }
  .social-link {
    width: 36px;
    height: 36px;
  }
  .newsletter-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
  .newsletter-input {
    padding: 10px 14px;
    font-size: 13px;
  }
} 