/* Site-wide enterprise footer */

footer.nhs-footer {
  background: linear-gradient(180deg, #000623 0%, #05114b 55%, #0a1f4a 100%);
  padding: 64px 48px 48px;
  border-top: 1px solid rgba(125, 179, 255, 0.12);
  position: relative;
  overflow: hidden;
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) minmax(0, 0.9fr);
  gap: 48px 40px;
  width: 100%;
  max-width: none;
  margin: 0;
  align-items: start;
  box-sizing: border-box;
}

footer.nhs-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(48, 113, 211, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 40% 35% at 5% 90%, rgba(99, 102, 241, 0.08) 0%, transparent 50%);
}

footer.nhs-footer > .nhs-footer__col {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  flex: unset !important;
  position: relative;
  z-index: 1;
  padding: 0 !important;
}

footer.nhs-footer [class*="col-md-"] {
  flex: none !important;
  max-width: none !important;
  width: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

footer.nhs-footer > .nhs-footer__col--contact {
  grid-column: 1;
}

footer.nhs-footer > .nhs-footer__col--links {
  grid-column: 2;
}

footer.nhs-footer > .nhs-footer__col--certs {
  grid-column: 3;
  margin-top: 0 !important;
}

/* Brand + contact */
footer.nhs-footer .contact {
  padding: 0;
  background: none;
  color: #94a3b8;
}

footer.nhs-footer .contact::before {
  content: "";
  display: block;
  width: 168px;
  height: 36px;
  margin-bottom: 28px;
  background: url("../images/logo/Nalashaa-Healthcare-IT-solutions-Logo-white.svg") no-repeat left center / contain;
}

footer.nhs-footer .contact h2 {
  margin: 0 0 20px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

footer.nhs-footer .contact h2 a {
  color: #7db3ff !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

footer.nhs-footer .contact h2 a:hover {
  color: #fff !important;
}

footer.nhs-footer .contact p {
  margin: 0 0 12px;
  font-family: Inter, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #94a3b8;
}

footer.nhs-footer .nhs-footer__strong {
  color: #e2e8f0;
  font-weight: 600;
}

footer.nhs-footer .contact p a {
  color: #cbd5e1 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

footer.nhs-footer .contact p a:hover {
  color: #fff !important;
}

footer.nhs-footer .contact .fa {
  color: #3071d3 !important;
  margin-right: 8px;
  width: 16px;
  text-align: center;
}

/* Social */
footer.nhs-footer .social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px !important;
}

footer.nhs-footer .social-icons a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 !important;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

footer.nhs-footer .social-icons a:hover {
  color: #fff !important;
  background: rgba(48, 113, 211, 0.35);
  border-color: rgba(125, 179, 255, 0.45);
  transform: translateY(-2px);
}

/* Quick links */
footer.nhs-footer .quicklinks {
  padding: 0 !important;
}

footer.nhs-footer .quicklinks h2.zig_height {
  margin: 0 0 24px;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7db3ff !important;
  line-height: 1.4;
}

footer.nhs-footer .nhs-footer__links-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 32px;
}

footer.nhs-footer .quicklinks h4 {
  margin: 0 0 14px !important;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #f8fafc !important;
  letter-spacing: -0.01em;
}

footer.nhs-footer .quicklinks ul {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none;
}

footer.nhs-footer .quicklinks ul li {
  margin: 0;
}

footer.nhs-footer .quicklinks ul li a {
  display: block;
  padding: 7px 0 !important;
  border-bottom: none !important;
  font-family: Inter, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

footer.nhs-footer .quicklinks ul li a:hover {
  color: #fff !important;
  border-bottom: none !important;
  padding-left: 4px !important;
}

/* Certifications */
footer.nhs-footer .twitter_area {
  padding: 0 !important;
}

footer.nhs-footer .nhs-footer__cert-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 12px;
  padding: 24px 20px !important;
  text-align: center;
}

footer.nhs-footer .nhs-footer__cert-card h4 {
  margin: 0 0 16px !important;
  font-family: "Plus Jakarta Sans", Inter, sans-serif;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7db3ff !important;
  text-align: center;
}

footer.nhs-footer .nhs-footer__cert-card ul {
  padding: 0 !important;
  margin: 0 !important;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

footer.nhs-footer .nhs-footer__cert-card ul li {
  display: flex;
  justify-content: center;
  width: 100%;
}

footer.nhs-footer .nhs-footer__cert-card ul li img {
  width: auto !important;
  max-width: 120px !important;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: brightness(1.05);
}

/* Footer bottom bar */
.footer_bottom.nhs-footer-bottom {
  background: #00041a !important;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding: 18px 24px;
}

.footer_bottom.nhs-footer-bottom .copyright {
  font-family: Inter, sans-serif;
  font-size: 13px;
  color: #64748b !important;
  line-height: 1.6;
}

.footer_bottom.nhs-footer-bottom .copyright::before {
  display: none;
}

.footer_bottom.nhs-footer-bottom .copyright a {
  color: #94a3b8 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.footer_bottom.nhs-footer-bottom .copyright a:hover {
  color: #fff !important;
  text-decoration: none !important;
}

/* Responsive */
@media (max-width: 991px) {
  footer.nhs-footer {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
    padding: 48px 24px 40px;
  }

  footer.nhs-footer > .nhs-footer__col--contact {
    grid-column: 1 / -1;
  }

  footer.nhs-footer > .nhs-footer__col--links {
    grid-column: 1 / -1;
  }

  footer.nhs-footer > .nhs-footer__col--certs {
    grid-column: 1 / -1;
    max-width: none;
  }

  footer.nhs-footer .nhs-footer__links-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  footer.nhs-footer {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: left;
  }

  footer.nhs-footer .nhs-footer__links-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer_bottom.nhs-footer-bottom .copyright {
    font-size: 12px;
    flex-wrap: wrap;
    gap: 4px;
  }
}
