/* Shared footer component styles across pages */
#footer-root .main-footer {
  margin-top: 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #0b1633 0%, #091227 55%, #0a1a3d 100%);
  color: rgba(226, 234, 252, 0.9);
}

#footer-root .main-footer:before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62, 111, 212, 0.2), rgba(62, 111, 212, 0));
  top: -210px;
  right: -180px;
  pointer-events: none;
}

#footer-root .main-footer:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 136, 230, 0.14), rgba(95, 136, 230, 0));
  bottom: -200px;
  left: -150px;
  pointer-events: none;
}

#footer-root .footer-inner {
  margin-left: 10%;
  margin-right: 10%;
  width: auto;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

#footer-root .main-footer .widgets-section {
  position: relative;
  z-index: 1;
  padding-top: 56px;
  padding-bottom: 36px;
}

#footer-root .main-footer .footer-widget {
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
}

#footer-root .footer-top-row {
  margin-bottom: 24px;
  align-items: flex-start;
}

#footer-root .main-footer .about-widget .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

#footer-root .main-footer .about-widget .logo img {
  max-height: 62px;
  width: auto;
  height: auto;
}

/* pattern-9.jpg not in repo — decorative bg only */
#footer-root .bg.bg-pattern-9,
.bg-pattern-9 {
  background-image: none !important;
}

#footer-root .footer-about-copy {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.72;
  color: rgba(207, 221, 251, 0.86);
  max-width: 360px;
}

#footer-root .footer-locations-widget {
  margin-top: 20px;
  max-width: 320px;
}

#footer-root .footer-locations-widget .widget-title {
  margin-bottom: 10px;
}

#footer-root .main-footer .gallery-widget img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid rgba(154, 184, 248, 0.18);
}

#footer-root .footer-sitemap .row {
  row-gap: 20px;
}

#footer-root .footer-sitemap-col {
  margin-bottom: 0;
}

#footer-root .footer-sitemap-col .links-widget {
  padding-right: 6px;
}

#footer-root .main-footer .footer-widget .widget-title {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

#footer-root .footer-widget .widget-title a {
  color: #ffffff;
  text-decoration: none;
}

#footer-root .footer-widget .widget-title a:hover {
  color: #ffffff;
  text-decoration: underline;
}

#footer-root .main-footer .footer-widget .user-links li {
  margin-bottom: 8px;
}

#footer-root .main-footer .footer-widget .user-links li a {
  font-size: 13px;
  line-height: 1.45;
}

#footer-root .main-footer .footer-widget .user-links li a,
#footer-root .main-footer .contact-info a,
#footer-root .main-footer .copyright-text a {
  color: rgba(219, 231, 255, 0.9);
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

#footer-root .main-footer .footer-widget .user-links li a:hover,
#footer-root .main-footer .contact-info a:hover,
#footer-root .main-footer .copyright-text a:hover {
  color: #ffffff;
  transform: translateX(2px);
}

#footer-root .footer-links-split {
  column-count: 1;
  column-gap: 0;
}

#footer-root .footer-links-split li {
  break-inside: avoid;
  margin-bottom: 9px;
}

#footer-root .footer-contact-row {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 24px;
  margin-top: 8px;
}

#footer-root .footer-contact-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}

#footer-root .footer-contact-bar .widget-title {
  margin-bottom: 0;
}

#footer-root .footer-contact-bar .contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer-root .footer-contact-bar .contact-info li {
  margin-bottom: 0;
}

#footer-root .footer-contact-btn {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  border: 1px solid rgba(166, 194, 255, 0.3);
  background: rgba(92, 129, 224, 0.22);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
}

#footer-root .footer-contact-btn:hover {
  color: #ffffff;
  background: rgba(104, 149, 255, 0.34);
  transform: translateY(-1px);
}

#footer-root .main-footer .footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: 16px;
  padding-bottom: 16px;
}

#footer-root .main-footer .copyright-text {
  text-align: center;
  color: rgba(214, 227, 255, 0.82);
  font-size: 13px;
}

@media (max-width: 1199px) {
  #footer-root .footer-inner {
    margin-left: 8%;
    margin-right: 8%;
  }
}

@media (max-width: 991px) {
  #footer-root .footer-inner {
    margin-left: 6%;
    margin-right: 6%;
  }

  #footer-root .main-footer .widgets-section {
    padding-top: 46px;
    padding-bottom: 30px;
  }

  #footer-root .footer-top-row {
    margin-bottom: 20px;
  }

  #footer-root .footer-links-split {
    column-count: 1;
  }

  #footer-root .footer-contact-bar {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }
}

@media (max-width: 576px) {
  #footer-root .footer-inner {
    margin-left: 5%;
    margin-right: 5%;
  }

  #footer-root .main-footer .widgets-section {
    padding-top: 40px;
    padding-bottom: 24px;
  }

  #footer-root .main-footer .footer-widget .widget-title {
    font-size: 15px;
  }
}

/* Regions nav: click to open (not hover-only) */
.main-header .main-menu .navigation > li.acesoft-regions-nav:not(.is-regions-open):hover > ul,
.sticky-header .main-menu .navigation > li.acesoft-regions-nav:not(.is-regions-open):hover > ul {
  visibility: hidden !important;
  opacity: 0 !important;
  margin-top: 30px !important;
}
.main-header .main-menu .navigation > li.acesoft-regions-nav.is-regions-open > ul,
.sticky-header .main-menu .navigation > li.acesoft-regions-nav.is-regions-open > ul {
  visibility: visible !important;
  opacity: 1 !important;
  margin-top: 0 !important;
}

/* WhatsApp floating widget */
.acesoft-wa-widget {
  position: fixed;
  right: 20px;
  bottom: 74px;
  z-index: 160;
  display: none;
  align-items: flex-end;
  gap: 10px;
}

.acesoft-wa-button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 14px 28px rgba(17, 31, 55, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.acesoft-wa-button i {
  line-height: 1;
}

.acesoft-wa-button:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(17, 31, 55, 0.35);
}

.acesoft-wa-prompt {
  background: #ffffff;
  color: #12305f;
  border-radius: 20px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 10px 24px rgba(9, 24, 52, 0.2);
  max-width: 235px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.acesoft-wa-prompt:hover {
  color: #0e2f63;
}

.acesoft-wa-prompt.acesoft-wa-text-fade {
  opacity: 0;
  transform: translateY(3px);
}

.acesoft-wa-prompt-close {
  position: absolute;
  top: -6px;
  right: 52px;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: #12305f;
  color: #ffffff;
  font-size: 10px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  padding: 0;
}

.acesoft-wa-widget.acesoft-wa-prompt-hidden .acesoft-wa-prompt,
.acesoft-wa-widget.acesoft-wa-prompt-hidden .acesoft-wa-prompt-close {
  display: none;
}

@media (max-width: 767px) {
  .acesoft-wa-widget {
    right: 14px;
    bottom: 68px;
  }

  .acesoft-wa-prompt {
    max-width: 190px;
    font-size: 12px;
    padding: 8px 12px;
  }
}
