/* ═══════════════════════════════════════════════════════════
   Footer — single source of truth
   Fixes alignment on pages that load apple-design / .section rules
   ═══════════════════════════════════════════════════════════ */

footer-component {
  display: block !important;
  width: 100% !important;
  clear: both;
}

footer-component .footer,
.footer {
  display: block !important;
  width: 100% !important;
  background: #0b1220 !important;
  color: #fff !important;
  padding: 4rem 0 0 !important;
  margin: 0 !important;
  border: none !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: none !important;
}

/* Neutralize global .section rules if class is ever re-added */
footer-component .footer.section,
.footer.section {
  padding: 4rem 0 0 !important;
  padding-top: 4rem !important;
  padding-bottom: 0 !important;
}

footer-component .footer::before,
footer-component .footer::after,
.footer::before,
.footer::after {
  display: none !important;
  content: none !important;
}

/* Full width — overrides apple-design .container { max-width: 980px } */
footer-component .footer .container,
.footer .container {
  width: 100% !important;
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
  position: relative;
  z-index: 1;
}

.footer .footer-main-row,
.footer .footer-btm .row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  margin-left: -15px !important;
  margin-right: -15px !important;
}

.footer .footer-btm .row {
  align-items: center !important;
}

.footer .footer-col,
.footer .footer-btm [class*="col-"] {
  position: relative;
  width: 100%;
  padding-left: 15px !important;
  padding-right: 15px !important;
  float: none !important;
  text-align: left !important;
}

/* Desktop: 3 + 2 + 3 + 4 = 12 */
@media (min-width: 992px) {
  .footer .footer-col.col-lg-3 {
    flex: 0 0 25% !important;
    max-width: 25% !important;
  }

  .footer .footer-col.col-lg-2 {
    flex: 0 0 16.666667% !important;
    max-width: 16.666667% !important;
  }

  .footer .footer-col.col-lg-4 {
    flex: 0 0 33.333333% !important;
    max-width: 33.333333% !important;
  }

  .footer .footer-btm .col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .footer .footer-col.col-md-6,
  .footer .footer-btm .col-md-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
}

.footer .widget {
  margin: 0 0 2rem !important;
  text-align: left !important;
}

.footer .widget h4 {
  margin: 0 0 1.15rem !important;
  padding: 0 !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: #fff !important;
  text-transform: none !important;
  text-align: left !important;
}

.footer .widget h4::after,
.footer .widget h4:after {
  content: '' !important;
  display: block !important;
  width: 36px !important;
  height: 2px !important;
  background: #0071e3 !important;
  margin-top: 0.65rem !important;
  border-radius: 2px;
  position: static !important;
}

.footer .logo {
  margin-bottom: 1rem !important;
}

.footer .logo img {
  display: block !important;
  height: 42px !important;
  width: auto !important;
  max-width: 160px !important;
  filter: brightness(0) invert(1) !important;
  object-fit: contain !important;
}

.footer p,
.footer .text-white-50 {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
  text-align: left !important;
  margin: 0 !important;
}

.footer-socials {
  margin-top: 1.1rem !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}

.footer .list-inline-item:not(:last-child) {
  margin-right: 0.45rem !important;
}

.footer .social-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: none !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}

.footer .social-link:hover {
  background: #0071e3 !important;
  color: #fff !important;
  transform: translateY(-2px) !important;
}

.footer-menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-menu li {
  margin: 0 0 0.25rem !important;
  padding: 0 !important;
}

.footer-menu li::before {
  display: none !important;
  content: none !important;
}

.footer .footer-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  color: rgba(255, 255, 255, 0.72) !important;
  text-decoration: none !important;
  padding: 0.28rem 0 !important;
  margin: 0 !important;
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
  background: transparent !important;
  border: none !important;
  transform: none !important;
  width: auto !important;
  text-align: left !important;
}

.footer .footer-link i {
  font-size: 0.65rem !important;
  color: #0071e3 !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  background: none !important;
  flex-shrink: 0;
}

.footer .footer-link:hover {
  color: #fff !important;
  transform: none !important;
}

/* Contact block — avoid .icon-box page conflicts */
.footer .footer-contact-info,
.footer .widget-contact .contact-info {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  height: auto !important;
  transform: none !important;
  text-align: left !important;
}

.footer .footer-contact-row {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.65rem !important;
  margin: 0 0 0.55rem !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  width: 100% !important;
  min-height: 0 !important;
}

.footer .footer-contact-row i {
  color: #0071e3 !important;
  background: transparent !important;
  width: 1rem !important;
  min-width: 1rem !important;
  max-width: 1rem !important;
  height: auto !important;
  font-size: 0.9rem !important;
  margin: 0.2rem 0 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}

.footer .footer-contact-row a,
.footer .footer-contact-row .footer-address {
  color: rgba(255, 255, 255, 0.72) !important;
  text-decoration: none !important;
  font-size: 0.9rem !important;
  line-height: 1.45 !important;
  text-align: left !important;
  padding: 0 !important;
  margin: 0 !important;
  flex: 1 1 auto !important;
  transform: none !important;
}

.footer .footer-contact-row a:hover {
  color: #fff !important;
}

.footer .footer-office {
  margin-top: 0.75rem !important;
  padding-top: 0.75rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer .footer-office:first-of-type {
  margin-top: 0.45rem !important;
}

.footer .footer-region {
  display: block !important;
  color: #0071e3 !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  margin: 0 0 0.4rem !important;
  text-align: left !important;
}

.footer .footer-address {
  display: block !important;
}

.footer .qr-business-card {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 1rem !important;
  padding-top: 0.85rem !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left !important;
}

.footer .qr-business-card p {
  display: block !important;
  visibility: visible !important;
  margin: 0 0 0.55rem !important;
  font-size: 0.8rem !important;
  line-height: 1.35 !important;
  color: rgba(255, 255, 255, 0.65) !important;
  text-align: left !important;
}

.footer .qr-business-card img {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 88px !important;
  max-width: 88px !important;
  height: auto !important;
  border-radius: 8px;
  background: #fff !important;
  padding: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Bottom bar */
.footer .footer-btm {
  margin-top: 1rem !important;
  padding: 1.15rem 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.footer .copyright {
  color: rgba(255, 255, 255, 0.55) !important;
  font-size: 0.875rem !important;
  margin: 0 !important;
  text-align: left !important;
}

.footer .footer-legal {
  text-align: right !important;
  font-size: 0.875rem !important;
}

.footer .footer-legal a {
  color: rgba(255, 255, 255, 0.55) !important;
  text-decoration: none !important;
}

.footer .footer-legal a:hover {
  color: #fff !important;
}

.footer .footer-legal-sep {
  display: inline-block;
  margin: 0 0.55rem;
  color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 991.98px) {
  footer-component .footer,
  .footer {
    padding: 3rem 0 0 !important;
  }

  .footer .widget {
    margin-bottom: 1.75rem !important;
  }

  .footer .footer-legal {
    text-align: left !important;
    margin-top: 0.5rem;
  }

  .footer .footer-btm {
    margin-top: 0.25rem !important;
  }
}

@media (max-width: 767.98px) {
  .footer .footer-col,
  .footer .footer-btm [class*="col-"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}
