/* ========================================================================
   FOOTER STYLES - Enhanced Design & Accurate Information Display
   ======================================================================== */

.main-footer {
  background: linear-gradient(135deg, #0f172a 0%, #1a2540 100%);
  color: rgba(255, 255, 255, 0.8);
  position: relative;
}

.main-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.05) 1px, transparent 1px);
  background-size: 50px 50px, 80px 80px;
  pointer-events: none;
  opacity: 0.5;
}

/* Footer Top Section */
.footer-top {
  position: relative;
  z-index: 1;
  padding: 60px 0 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer Brand & About */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.footer-brand-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 18px;
  flex-shrink: 0;
}

.footer-brand-text h5 {
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.2;
}

.footer-brand-text p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 2px 0 0 0;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
  margin: 12px 0 20px 0;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.social-btn:hover {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-color: transparent;
  transform: translateY(-3px);
}

/* Footer Subheading */
.footer-subheading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

/* Footer Headings */
.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  line-height: 1.5;
}

.footer-links a:hover {
  color: white;
  padding-left: 4px;
}

.footer-links a i {
  font-size: 0.85rem;
  color: #2563eb;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.newsletter-form .form-control {
  border: none;
  padding: 12px 16px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  flex: 1;
}

.newsletter-form .form-control:focus {
  outline: none;
  background: white;
  box-shadow: none;
}

.newsletter-form .form-control::placeholder {
  color: #64748b;
}

.newsletter-form .btn {
  padding: 12px 20px;
  font-weight: 600;
  border-radius: 0;
  white-space: nowrap;
}

/* Footer Statistics */
.footer-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-stat-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-stat-row:last-child {
  border-bottom: none;
}

.footer-stat-row i {
  font-size: 1.2rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  flex-shrink: 0;
}

.stat-value {
  font-weight: 800;
  font-size: 1rem;
  color: white;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.2;
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 24px 0;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

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

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.footer-bottom-links a i {
  font-size: 0.85rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-top {
    padding: 40px 0 30px;
  }

  .footer-heading {
    margin-bottom: 12px;
    font-size: 0.9rem;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  .footer-bottom {
    padding: 16px 0;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .footer-bottom-links {
    margin-top: 12px;
  }

  .footer-bottom-links a {
    display: block;
    padding: 4px 0;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form .form-control,
  .newsletter-form .btn {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 8px;
  }

  .newsletter-form .btn {
    margin-bottom: 0;
  }
}

/* Dark Mode Enhancement */
@media (prefers-color-scheme: dark) {
  .main-footer {
    background: linear-gradient(135deg, #0a0f1f 0%, #141829 100%);
  }

  .footer-bottom {
    background: rgba(0, 0, 0, 0.5);
  }
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-top {
  animation: fadeUp 0.6s ease-out;
}

/* Accessibility */
.social-btn:focus,
.footer-links a:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
