/* =========================================================
   TEMPLATE - LAYOUT GLOBAL
   ========================================================= */

/* #sp-main-body {
  padding-top: 30px !important;
  padding-bottom: 40px !important;
} */

@media (max-width: 767.98px) {
  #sp-main-body {
    padding-top: 16px !important;
    padding-bottom: 30px !important;
  }
}


/* =========================================================
   TEMPLATE - MENU PRINCIPAL
   ========================================================= */

.sp-megamenu-parent > li > a {
  position: relative;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.sp-megamenu-parent > li > a.av-menu-cta::after {
  display: none;
}

.sp-megamenu-parent > li > a::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: 6px;
  width: calc(100% - 32px);
  height: 4px;
  background: linear-gradient(90deg, #2ecc71, #27ae60);
  border-radius: 4px;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.25s ease;
}

.sp-megamenu-parent > li > a:hover::after,
.sp-megamenu-parent > li.active > a::after,
.sp-megamenu-parent > li.current-item > a::after {
  opacity: 1;
  transform: translateY(0);
}

.sp-megamenu-parent > li.menu-btn-publier {
  display: flex;
  align-items: center;
}

.sp-megamenu-parent > li > a.av-menu-cta {
  background: #ff7a18 !important;
  color: #ffffff !important;
  padding: 12px 22px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-block !important;
  line-height: 1.2 !important;
  margin-left: 10px;
  transition: all 0.25s ease;
}

.sp-megamenu-parent > li > a.av-menu-cta:hover {
  background: #269f5d !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.sp-megamenu-parent > li:last-child > a.av-menu-cta {
  padding: 12px 22px !important;
}


/* =========================================================
   TEMPLATE - FOOTER
   ========================================================= */

#sp-bottom {
  background: linear-gradient(180deg, #02103a 0%, #010a27 100%);
  padding: 70px 0 55px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

#sp-bottom .container,
#sp-footer .container {
  max-width: 1280px;
}

#sp-bottom .row {
  align-items: flex-start;
}

#sp-bottom .sp-module {
  margin-bottom: 0;
}

#sp-bottom .sp-module .sp-module-title,
#sp-bottom h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 22px;
  letter-spacing: -0.2px;
}

#sp-bottom p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.86);
  max-width: 300px;
}

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

.av-footer-links li {
  margin: 0 0 18px;
  padding: 0;
}

.av-footer-links li:last-child {
  margin-bottom: 0;
}

.av-footer-links a {
  display: inline-block;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
  transition: all 0.25s ease;
}

.av-footer-links a:hover,
.av-footer-links a:focus {
  color: #ffffff;
  transform: translateX(4px);
  text-decoration: none;
}

.av-btn-pro {
  display: inline-block;
  margin-top: 26px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #4d96ff 0%, #2f74f5 100%);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(47,116,245,0.28);
  transition: all 0.25s ease;
}

.av-btn-pro:hover,
.av-btn-pro:focus {
  color: #ffffff;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(47,116,245,0.34);
}

#sp-footer {
  background: #010a27;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

#sp-footer .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#sp-footer .sp-module {
  margin: 0;
}

#sp-footer p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.68);
}

.av-footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.av-footer-legal a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 15px;
  line-height: 1.5;
  transition: color 0.25s ease;
}

.av-footer-legal a:hover,
.av-footer-legal a:focus {
  color: #ffffff;
  text-decoration: none;
}

#sp-bottom .sp-module ul {
  margin: 0;
}

#sp-bottom .sp-module-content > *:last-child,
#sp-footer .sp-module-content > *:last-child {
  margin-bottom: 0;
}

#sp-bottom [class*="col-"],
#sp-footer [class*="col-"] {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  #sp-bottom {
    padding: 55px 0 40px;
  }

  #sp-bottom [class*="col-"] {
    margin-bottom: 35px;
  }

  #sp-bottom [class*="col-"]:last-child {
    margin-bottom: 0;
  }

  #sp-bottom .sp-module .sp-module-title,
  #sp-bottom h3 {
    font-size: 19px;
    margin-bottom: 18px;
  }

  #sp-bottom p,
  .av-footer-links a {
    font-size: 15px;
  }

  #sp-footer {
    padding: 20px 0;
  }

  #sp-footer .row {
    gap: 14px;
  }

  .av-footer-legal {
    justify-content: flex-start;
    gap: 14px;
  }
}

@media (max-width: 767px) {
  #sp-bottom {
    padding: 45px 0 30px;
  }

  #sp-bottom .container,
  #sp-footer .container {
    padding-left: 22px;
    padding-right: 22px;
  }

  #sp-bottom [class*="col-"] {
    margin-bottom: 30px;
  }

  #sp-bottom .sp-module .sp-module-title,
  #sp-bottom h3 {
    font-size: 18px;
    margin-bottom: 16px;
  }

  #sp-bottom p {
    max-width: 100%;
    font-size: 15px;
    line-height: 1.7;
  }

  .av-footer-links li {
    margin-bottom: 14px;
  }

  .av-footer-links a {
    font-size: 15px;
  }

  .av-btn-pro {
    margin-top: 22px;
    padding: 13px 18px;
    font-size: 15px;
  }

  #sp-footer .row {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
  }

  .av-footer-legal {
    justify-content: flex-start;
    gap: 12px 16px;
  }

  #sp-footer p,
  .av-footer-legal a {
    font-size: 14px;
  }
}