/* Shared footer styles for reusable footer partial */
:root {
  --section-pad-x: clamp(1rem, 4vw, 4rem);
  --nav-pad-x: clamp(1rem, 4vw, 4rem);
  --hero-margin-x: 2rem;
  --section-pad-y: 4.5rem;
  --border-focus: rgba(84, 58, 227, 0.12);
  --shadow-sm: 0 2px 8px rgba(15, 23, 36, 0.04);
  --transition-slow: 0.4s ease;
}

#footer {
  /* background: linear-gradient(90deg, #051937 0%, #08142f 40%, #10275d 100%); */
  background: #231862;
  padding: 2rem 2rem 1rem 1rem;
  position: relative;
  overflow: hidden;
}

#footer::before {
  content: "";
  display: none;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(84, 58, 227, 0.15), transparent);
  position: absolute;
  left: -200px;
  top: -200px;
}

.footer-top {
  /* width: 85%; */
  margin: auto;
  position: relative;
  z-index: 2;
}

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

.footer-brand img {
  width: 220px;
  margin-bottom: 10px;
}

.footer-card {
  background: rgba(255, 255, 255, 0.04);
    /* backdrop-filter: blur(30px); */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
  }

.footer-links h4,
.footer-download h4 {
  color: #fff;
  margin-bottom: 30px;
}

.footer-links ul {
  display: flex;
  gap: 40px;
  padding: 0;
  margin: 0;
}

.footer-links li {
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(3px);
}

.footer-download {
  text-align: right;
}

.footer-download img {
  width: 180px;
  transition: transform 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}

.footer-download img:hover {
  transform: scale(1.05) translateY(-3px);
  filter: brightness(1.1);
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

footer .footer-social-icons {
  gap: 12px;
  display: flex;
  justify-content: center;
}

footer .footer-social-icons i {
  font-size: 19px;
}

footer .footer-social-icons a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  justify-content: center;
  border: 1px solid rgba(225, 232, 244, 0.14);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 18px;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}

footer .footer-social-icons a:hover {
  transform: translateY(-4px) scale(1.08);
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

@media (max-width: 992px) {
  .footer-card {
    flex-direction: column;
    gap: 40px;
    text-align: center;
    display: none;
  }

  .footer-links ul {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-download {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-top {
    width: 92%;
  }

  .footer-brand img {
    width: 180px;
  }

  .footer-links ul {
    flex-direction: column;
    gap: 15px;
  }

  .footer-download img {
    width: 150px;
  }
}
