/* ========================================
   Modern Footer Styles
   ======================================== */

.modern-footer {
  background: #1f2937;
  color: #e5e7eb;
  margin-top: auto;
}

/* ===== Footer Main ===== */
.footer-main {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

/* ===== Footer About Column ===== */
.footer-about {
  max-width: 400px;
}

.footer-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-description {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #d1d5db;
  margin-bottom: 1.5rem;
}

/* ===== Social Links ===== */
.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: linear-gradient(135deg, #6253e8, #8b5cf6);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(98, 83, 232, 0.3);
  color: white;
  text-decoration: none;
}

.social-link i {
  font-size: 1.125rem;
}

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

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

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: white;
  transform: translateX(4px);
  text-decoration: none;
}

/* ===== Footer Bottom ===== */
.footer-bottom {
  padding: 1.75rem 0;
  background: #111827;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  color: #9ca3af;
  font-size: 0.875rem;
}

.footer-copyright p {
  margin: 0;
}

.footer-copyright a {
  color: #6253e8;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-copyright a:hover {
  color: #8b5cf6;
  text-decoration: none;
}

/* ===== Footer Badges ===== */
.footer-badges {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.badge-link {
  text-decoration: none;
  transition: transform 0.2s ease;
}

.badge-link:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.open-data-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #6253e8, #8b5cf6);
  border-radius: 6px;
  color: white;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-text {
  color: white;
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
  }

  .footer-grid .footer-column:last-child {
    grid-column: 1 / -1;
    max-width: 300px;
  }
}

@media (max-width: 992px) {
  .footer-main {
    padding: 3rem 0 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-about {
    grid-column: 1 / -1;
    max-width: 100%;
  }

  .footer-grid .footer-column:last-child {
    grid-column: auto;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .footer-main {
    padding: 2.5rem 0 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-heading {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }

  .footer-description {
    font-size: 0.875rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-main {
    padding: 2rem 0 1.5rem;
  }

  .footer-grid {
    gap: 1.5rem;
  }

  .footer-heading {
    font-size: 1rem;
  }

  .footer-description {
    font-size: 0.8125rem;
    margin-bottom: 1rem;
  }

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

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

  .social-link {
    width: 36px;
    height: 36px;
  }

  .social-link i {
    font-size: 1rem;
  }

  .footer-bottom {
    padding: 1.5rem 0;
  }

  .footer-copyright {
    font-size: 0.8125rem;
  }

  .open-data-badge {
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
  }
}

