/* Footer — futuristic dark band matching header */

#footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: rgba(230, 248, 255, 0.88);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  background:
    radial-gradient(ellipse 80% 80% at 12% 0%, rgba(0, 200, 255, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 60% 70% at 90% 100%, rgba(80, 120, 255, 0.14) 0%, transparent 48%),
    linear-gradient(160deg, #020b16 0%, #061428 42%, #03101c 100%);
  border-top: 1px solid rgba(0, 229, 255, 0.2);
}

#footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  opacity: 0.85;
  background-color: transparent !important;
}

#footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  z-index: 2;
  background: linear-gradient(90deg, transparent, #00e5ff, transparent);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.45);
}

#footer .footer-top {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 56px 0 36px;
}

#footer .footer-brand {
  margin-bottom: 28px;
  text-align: center;
}

#footer .footer-brand__mark {
  display: inline-block;
  margin-bottom: 12px;
  width: 42px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, #00e5ff, transparent);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.55);
}

#footer .footer-top h3,
#footer .footer-brand h3 {
  margin: 0;
  padding: 0;
  font-family: "Raleway", "Poppins", sans-serif;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: #fff;
  text-shadow: 0 0 24px rgba(0, 200, 255, 0.2);
}

#footer .footer-brand__sub {
  margin: 10px auto 0;
  max-width: 520px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(180, 220, 235, 0.72);
}

#footer .footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px 32px;
  margin-top: 8px;
}

#footer .footer-col__title {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7adcf0;
}

#footer .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer .footer-links li + li {
  margin-top: 8px;
}

#footer .footer-links a {
  color: rgba(220, 240, 250, 0.82);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

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

#footer .footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer .footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(210, 235, 245, 0.8);
}

#footer .footer-contact i {
  margin-top: 2px;
  color: #00d4ef;
  font-size: 15px;
  text-shadow: 0 0 8px rgba(0, 212, 239, 0.45);
}

#footer .footer-contact a {
  color: #9fe9ff;
  text-decoration: none;
  word-break: break-word;
}

#footer .footer-contact a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#footer .social-links {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

#footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border-radius: 12px;
  font-size: 18px;
  line-height: 1;
  color: #e8f9ff;
  background: rgba(0, 180, 220, 0.12);
  border: 1px solid rgba(0, 220, 255, 0.28);
  box-shadow: 0 0 0 rgba(0, 200, 255, 0);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#footer .social-links a:hover {
  transform: translateY(-3px);
  background: rgba(0, 200, 255, 0.28);
  border-color: rgba(0, 229, 255, 0.55);
  box-shadow: 0 8px 20px rgba(0, 180, 255, 0.25);
  color: #fff;
  text-decoration: none;
}

#footer .footer-bottom {
  position: relative;
  z-index: 2;
  padding: 18px 0 28px;
  text-align: center;
  border-top: 1px solid rgba(0, 200, 255, 0.12);
}

#footer .credits {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: rgba(170, 205, 220, 0.65);
}

#footer .credits a {
  color: #7adcf0;
  text-decoration: none;
}

#footer .credits a:hover {
  color: #fff;
}

#footer .footer-copy {
  display: block;
  margin-top: 6px;
  color: rgba(160, 195, 210, 0.55);
}

@media (max-width: 991px) {
  #footer .footer-top {
    padding: 44px 0 28px;
    text-align: center;
  }

  #footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  #footer .footer-contact li {
    justify-content: center;
  }

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