/* Professional Corporate Footer Design */
.footer {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  color: #ffffff;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--gray-700);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--gray-600) 50%, transparent 100%);
}

.footer__container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 32px 0 32px;
  position: relative;
}

/* Main Footer Content */
.footer__main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 60px;
}

/* Brand Section */
.footer__brand {
  max-width: 400px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.footer__logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3);
}

.footer__logo-text {
  font-size: 28px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.footer__tagline {
  font-size: 14px;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 4px;
}

.footer__description {
  color: #cbd5e1;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
  font-weight: 400;
}

/* Contact Info in Brand Section */
.footer__contact-info {
  margin-bottom: 32px;
}

/* Newsletter Section */
.footer__newsletter {
  margin-bottom: 32px;
}

.footer__newsletter-title {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer__newsletter-form {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 4px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__newsletter-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 16px 20px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
}

.footer__newsletter-input::placeholder {
  color: #94a3b8;
}

.footer__newsletter-button {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border: none;
  border-radius: 8px;
  padding: 16px 24px;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__newsletter-button:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Social Media */
.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social-link {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.footer__social-link:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Footer Columns */
.footer__column {
  display: flex;
  flex-direction: column;
}

.footer__column-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer__column-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 1px;
}

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

.footer__links li {
  margin-bottom: 12px;
}

.footer__links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.footer__links a:hover {
  color: #3b82f6;
  transform: translateX(4px);
}

.footer__links a i {
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer__links a:hover i {
  opacity: 1;
}

/* Contact Information */
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: #cbd5e1;
  font-size: 15px;
  line-height: 1.6;
}

.footer__contact-icon {
  width: 20px;
  height: 20px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  font-size: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Certifications */
.footer__certifications {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.footer__cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__cert-icon {
  width: 24px;
  height: 24px;
  color: #10b981;
  font-size: 14px;
}

.footer__cert-text {
  font-size: 13px;
  color: #cbd5e1;
  font-weight: 500;
}

/* Footer Bottom */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.footer__copyright {
  color: #94a3b8;
  font-size: 14px;
  font-weight: 400;
}

.footer__powered {
  color: #64748b;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__powered-icon {
  width: 16px;
  height: 16px;
  color: #3b82f6;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .footer__main {
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
  }
  
  .footer__container {
    padding: 60px 24px 0 24px;
  }
}

@media (max-width: 968px) {
  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .footer__brand {
    grid-column: 1 / -1;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .footer__main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .footer__container {
    padding: 40px 16px 0 16px;
  }
  
  .footer__brand {
    grid-column: 1 / -1;
    text-align: center;
    max-width: 100%;
  }
  
  .footer__newsletter-form {
    flex-direction: column;
    gap: 8px;
  }
  
  .footer__newsletter-button {
    justify-content: center;
  }
  
  .footer__social {
    justify-content: center;
  }
  
  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  
  .footer__legal-links {
    flex-direction: column;
    gap: 16px;
  }
  
  .footer__logo {
    justify-content: center;
  }
  
  /* Center all footer columns on mobile */
  .footer__column {
    text-align: center;
  }
  
  .footer__column-title {
    text-align: center;
  }
  
  .footer__column-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer__links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer__links a {
    justify-content: center;
  }
  
  /* Center contact info on mobile */
  .footer__contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer__contact-item {
    justify-content: center;
    text-align: center;
  }
  
  .footer__certifications {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .footer__logo-text {
    font-size: 24px;
  }
  
  .footer__logo-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .footer__column-title {
    font-size: 16px;
  }
  
  .footer__description {
    font-size: 15px;
  }
}

/* Animation for smooth loading */
.footer {
  animation: fadeInUp 0.8s ease-out;
}

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

/* Hover effects for better interactivity */
.footer__column:hover .footer__column-title::after {
  width: 48px;
  transition: width 0.3s ease;
}

/* Focus states for accessibility */
.footer__newsletter-input:focus {
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}

.footer__newsletter-button:focus,
.footer__social-link:focus,
.footer__links a:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
