/* ===== FOOTER CORE ===== */
.footer {
  background: var(--navy-dark);
  border-top: 4px solid var(--orange);
  margin-top: auto;
  font-family: 'Inter', 'Roboto', sans-serif;
}

.footer-main {
  padding: 56px 0 40px;
  background: var(--navy-dark);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 56px;
  align-items: start;
}

/* ===== BRAND/ABOUT SECTION ===== */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.footer-emblem {
  width: 42px;
  height: auto;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer-dept-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.35;
}

.footer-dept-name span {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.8px;
  color: #94a3b8;
  font-weight: 500;
}

.footer-dept-name strong {
  font-weight: 700;
  font-size: 0.92rem;
  color: #ffffff;
}

.footer-description {
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.75;
  text-align: justify;
}

/* ===== LINKS SECTION ===== */
.footer-links-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-links-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--orange);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 400;
  text-decoration: none;
  transition: var(--transition);
}

.footer-link::before {
  content: '→';
  color: var(--orange);
  font-weight: 700;
  font-size: 0.82rem;
  transition: var(--transition);
}

.footer-link:hover {
  color: #ffffff;
  padding-left: 6px;
}

.footer-link:hover::before {
  transform: translateX(2px);
}

/* ===== STATS & SOCIALS ===== */
.footer-stats-col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.visitor-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #ffffff;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.visitor-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}

.visitor-icon {
  font-size: 1.15rem;
}

.visitor-label {
  letter-spacing: 0.5px;
  color: #cbd5e1;
}

.visitor-label strong {
  color: #ffffff;
  font-weight: 600;
  margin-left: 4px;
}

.last-updated {
  color: #94a3b8;
  font-size: 0.8rem;
  border-left: 3px solid var(--orange);
  padding-left: 12px;
  line-height: 1.4;
}

.last-updated strong {
  color: #ffffff;
  font-weight: 500;
}

.social-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-title {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  transition: var(--transition);
  text-decoration: none;
}

.social-btn svg {
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--orange);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 108, 26, 0.3);
}

.social-btn.feedback {
  width: auto;
  border-radius: 20px;
  padding: 0 16px;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== GOVT LOGOS ROW ===== */
.footer-logos-row {
  background: #090924; /* match copyright bar dark navy */
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
}

.footer-logos-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.gov-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gov-logo-img {
  width: auto;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: all 0.25s ease-in-out;
}

.gov-logo-img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ===== FOOTER BOTTOM ===== */
.footer-bottom {
  background: #090924;
  padding: 18px 0;
}

.footer-bottom-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.copyright-text {
  color: #94a3b8;
  font-size: 0.8rem;
  letter-spacing: 0.3px;
  line-height: 1.6;
}

.copyright-text strong {
  color: #ffffff;
  font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-logos-inner {
    gap: 28px;
  }
  .gov-logo-img {
    max-height: 28px;
  }
}
