/* AXONTech Footer — full-width premium footer + legacy axon-footer */

/* ----- Layout shell: prevent right-edge white gap ----- */
footer {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

body .container-fluid.no-padding,
body .content.row.no-gutters,
body main.main {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
}

/* ----- Premium footer (site-wide) ----- */
.premium-footer {
  width: 100%;
  max-width: 100vw;
  margin: 0;
  box-sizing: border-box;
  background: linear-gradient(135deg, #0f2438 0%, #1a3a52 50%, #0d4c8f 100%);
  color: #e8eef5;
  position: relative;
  overflow: hidden;
}

.premium-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  height: 100%;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 20% 50%, rgba(6, 147, 227, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(10, 110, 209, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.premium-footer > * {
  position: relative;
  z-index: 1;
}

.premium-footer .container {
  width: 100%;
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2rem);
  padding-right: clamp(1rem, 4vw, 2rem);
  box-sizing: border-box;
}

.premium-footer .footer-top-section {
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-footer .footer-top-section .row {
  --bs-gutter-x: 1.5rem;
  justify-content: space-between;
}

.premium-footer .footer-col {
  margin-bottom: 2rem;
}

.premium-footer .footer-logo {
  margin-bottom: 1.5rem;
  display: inline-block;
}

.premium-footer .footer-logo img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

.premium-footer .footer-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.premium-footer .footer-description {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1rem;
}

.premium-footer .social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.premium-footer .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff;
  text-decoration: none;
}

.premium-footer .social-icon:hover {
  background: var(--axon-primary);
  border-color: var(--axon-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(6, 147, 227, 0.3);
}

.premium-footer .social-icon img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.premium-footer .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.premium-footer .footer-links li {
  margin-bottom: 0.75rem;
}

.premium-footer .footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.3s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.premium-footer .footer-links a::before {
  content: "→";
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
}

.premium-footer .footer-links a:hover {
  color: #ffffff;
  padding-left: 15px;
}

.premium-footer .footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

.premium-footer .footer-bottom-section {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-footer .footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}

.premium-footer .footer-bottom-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.premium-footer .footer-bottom-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.premium-footer .footer-bottom-links a:hover {
  color: #ffffff;
}

.premium-footer .footer-copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

@media (max-width: 991px) {
  .premium-footer .footer-top-section {
    padding: 2.5rem 0;
  }

  .premium-footer .footer-col {
    margin-bottom: 1.5rem;
  }

  .premium-footer .footer-logo img {
    height: 40px;
  }
}

@media (max-width: 768px) {
  .premium-footer .footer-top-section {
    padding: 2rem 0;
  }

  .premium-footer .footer-col {
    text-align: center;
    margin-bottom: 1.25rem;
  }

  .premium-footer .footer-logo {
    justify-content: center;
    display: flex;
  }

  .premium-footer .social-icons {
    justify-content: center;
  }

  .premium-footer .footer-title {
    font-size: 0.95rem;
  }

  .premium-footer .footer-links {
    text-align: center;
  }

  .premium-footer .footer-links a {
    justify-content: center;
  }

  .premium-footer .footer-links a::before {
    display: none;
  }

  .premium-footer .footer-links a:hover {
    padding-left: 0;
  }

  .premium-footer .footer-bottom-section {
    padding: 1.5rem 0;
  }

  .premium-footer .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }

  .premium-footer .footer-bottom-links {
    justify-content: center;
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .premium-footer .footer-top-section {
    padding: 1.5rem 0;
  }

  .premium-footer .footer-title {
    font-size: 0.9rem;
  }

  .premium-footer .footer-description {
    font-size: 0.8125rem;
  }

  .premium-footer .social-icon {
    width: 36px;
    height: 36px;
  }

  .premium-footer .footer-bottom-links {
    gap: 1rem;
    flex-direction: column;
  }
}

/* ----- Legacy minimal footer (if used elsewhere) ----- */
.axon-footer {
  background: var(--axon-bg-alt, #f8fafc);
  color: var(--axon-text-muted, #5a5a5a);
  font-family: var(--axon-font-sans);
  padding: var(--axon-space-12, 3rem) 0 var(--axon-space-8, 2rem);
  width: 100%;
  max-width: 100vw;
}

.axon-footer__inner {
  max-width: var(--axon-container-max, 1200px);
  margin: 0 auto;
  padding: 0 var(--axon-space-4, 1rem);
}

.axon-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--axon-space-8, 2rem);
  padding-bottom: var(--axon-space-8, 2rem);
  border-bottom: 1px solid var(--axon-border, #e2e8f0);
}

.axon-footer__brand {
  flex-shrink: 0;
}

.axon-footer__logo {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}

.axon-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--axon-space-2, 0.5rem) var(--axon-space-6, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.axon-footer__links a {
  color: var(--axon-text-muted, #5a5a5a);
  text-decoration: none;
  font-size: var(--axon-text-sm, 0.875rem);
  font-weight: 500;
  padding: var(--axon-space-1, 0.25rem) 0;
  transition: color 0.2s ease;
}

.axon-footer__links a:hover,
.axon-footer__links a:focus {
  color: var(--axon-primary);
}

.axon-footer__social {
  display: flex;
  align-items: center;
  gap: var(--axon-space-4, 1rem);
}

.axon-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--axon-text-muted, #5a5a5a);
  border-radius: 50%;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.axon-footer__social a:hover,
.axon-footer__social a:focus {
  color: var(--axon-primary);
  background: rgba(15, 75, 134, 0.08);
}

.axon-footer__social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.axon-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--axon-space-4, 1rem);
  padding-top: var(--axon-space-6, 1.5rem);
}

.axon-footer__copyright {
  margin: 0;
  font-size: var(--axon-text-sm, 0.875rem);
  color: var(--axon-text-light, #6b7280);
}

.axon-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--axon-space-2, 0.5rem) var(--axon-space-4, 1rem);
}

.axon-footer__legal a {
  color: var(--axon-text-light, #6b7280);
  text-decoration: none;
  font-size: 0.8125rem;
  transition: color 0.2s ease;
}

.axon-footer__legal a:hover,
.axon-footer__legal a:focus {
  color: var(--axon-primary);
}

.axon-footer__legal span {
  color: var(--axon-border);
  font-weight: 300;
}

@media (max-width: 768px) {
  .axon-footer {
    padding: var(--axon-space-10, 2.5rem) 0 var(--axon-space-6, 1.5rem);
  }

  .axon-footer__top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--axon-space-6, 1.5rem);
    padding-bottom: var(--axon-space-6, 1.5rem);
  }

  .axon-footer__links {
    justify-content: center;
  }

  .axon-footer__bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: var(--axon-space-5, 1.25rem);
  }

  .axon-footer__copyright {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .axon-footer__links {
    flex-direction: column;
    gap: var(--axon-space-3, 0.75rem);
  }
}
