/* Modern Professional Footer Styles */
.modern-footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #ffffff;
  padding: 60px 0 20px;
  position: relative;
  overflow: hidden;
}

.modern-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  pointer-events: none;
}

.footer-content {
  position: relative;
  z-index: 1;
}

/* Brand Section */
.footer-brand {
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #00d4ff, #0099cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-dot {
  color: #00d4ff;
}

.footer-description {
  color: #b8c5d1;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 350px;
}

/* Stats Section */
.footer-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #00d4ff;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: #8a94a6;
  margin-top: 0.25rem;
}

/* Footer Titles */
.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff, #0099cc);
  border-radius: 1px;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #b8c5d1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

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

.footer-links a::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: #00d4ff;
  transition: width 0.3s ease;
}

.footer-links a:hover::before {
  width: 10px;
}

/* CTA Section */
.footer-cta-text {
  color: #b8c5d1;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.btn-footer-cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

.btn-footer-cta:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
  background: linear-gradient(135deg, #0099cc 0%, #00d4ff 100%);
}

.btn-footer-cta i {
  transition: transform 0.3s ease;
}

.btn-footer-cta:hover i {
  transform: translateX(3px);
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 3rem;
}

.footer-copyright {
  color: #8a94a6;
  font-size: 0.9rem;
  margin: 0;
}

.footer-credits {
  color: #8a94a6;
  font-size: 0.9rem;
  margin: 0;
}

.footer-link-accent {
  color: #00d4ff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-link-accent:hover {
  color: #ffffff;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .modern-footer {
    padding: 40px 0 20px;
  }
  
  .footer-logo {
    font-size: 1.8rem;
  }
  
  .footer-stats {
    justify-content: center;
    gap: 3rem;
    margin-top: 1rem;
  }
  
  .footer-brand {
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .footer-description {
    max-width: none;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .modern-footer {
    padding: 30px 0 15px;
  }
  
  .footer-stats {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
  }
  
  .stat-item {
    align-items: center;
  }
  
  .footer-title {
    text-align: center;
    margin-bottom: 1rem;
  }
  
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-links {
    text-align: center;
  }
  
  .footer-links a::before {
    display: none;
  }
  
  .footer-links a:hover {
    transform: none;
  }
  
  .footer-cta-text {
    text-align: center;
  }
  
  .btn-footer-cta {
    display: block;
    text-align: center;
    width: fit-content;
    margin: 0 auto;
  }
  
  .footer-bottom {
    padding-top: 1.5rem;
    margin-top: 2rem;
  }
  
  .footer-copyright,
  .footer-credits {
    text-align: center !important;
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  .footer-stats {
    gap: 1.5rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .btn-footer-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
  
  .footer-logo {
    font-size: 1.6rem;
  }
}

/* Animation for scroll reveal */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-brand,
.footer-links,
.btn-footer-cta {
  animation: fadeInUp 0.6s ease-out;
}

/* Hover effects for better interactivity */
.footer-brand:hover .footer-logo {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Accessibility improvements */
.footer-links a:focus,
.btn-footer-cta:focus,
.footer-link-accent:focus {
  outline: 2px solid #00d4ff;
  outline-offset: 2px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .modern-footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
  }
}
