/* Site Footer Styles */
a {
  text-decoration: none;
  color: inherit;
}

.site-footer {
  background-image: url("https://oss.allintrip.cn/shanwentou/templates/image/footer.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 3rem 3rem 1rem;
  position: relative;
  font-size: 1rem;
  /* height: 280px; */
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(40, 40, 40, 0.3);
  z-index: 1;
}

.footer-container {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  /* display: flex; */
}
.footer-left {
  flex-basis: 30%;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /* padding-bottom: 3rem; */
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.2); */
}

.footer-logo-section {
  flex-basis: 100%;
}

.footer-logo {
  width: 15rem;
  margin-bottom: 0.5rem;
}

.footer-social-icons {
  text-align: left;
}

.social-icon-wrapper {
  position: relative;
  display: inline-block;
}

.qr-popup {
  display: none;
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
}

.qr-popup.show {
  display: block;
}

.qr-popup img {
  width: 150px;
  height: 150px;
  display: block;
}

.qr-popup::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

.footer-social-icons a {
  margin-right: 2rem;
}

.footer-social-icons svg {
  width: 2rem;
  height: 2rem;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-social-icons svg:hover {
  opacity: 1;
}
.footer-icons-nav {
  display: flex;
}
.footer-social-icons .iconfont {
  font-size: 2.8rem;
  /* Match image width */
  color: #fff;
  opacity: 0.7;
  transition: opacity 0.3s;
  vertical-align: middle;
  /* Align with image */
}

.footer-social-icons a:hover .iconfont {
  opacity: 1;
}

.footer-nav-section {
  /* margin-left: auto; */
  gap: 5rem;
  /* position: absolute; */
  /* right: 5rem; */
  /* top: 1rem; */
}
.footer-nav-col {
  width: 100%;
  /* display: flex; */
  /* align-items: center;
  justify-content: center; */
}
.footer-nav-col h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer-nav-col ul {
  /* display: flex; */
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  /* align-items: center;
  justify-content: center; */
}

.footer-nav-col li {
  margin-bottom: 1rem;
  margin-right: 2rem;
}

.footer-nav-col a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-nav-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /* padding-top: 2rem; */
  /* color: rgba(255, 255, 255, 0.5); */
}
.footer-bottom-copy {
  display: flex;
  /* align-items: center;
  justify-content: center; */
  color: #fff;
}
.footer-bottom-copy p {
  margin: 0 !important;
}
.footer-copyright p {
  margin: 0.5rem 0;
  color: #fff;
}

.footer-copyright a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin-right: 1.5rem;
  transition: color 0.3s;
}

.footer-legal a:hover {
  color: #fff;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .site-footer {
    padding: 12vw 5vw;
  }

  .footer-top {
    width: 100%;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo-section {
    width: 100%;
    margin-bottom: 1rem;
  }

  .footer-nav-section {
    /* display: flex; */
    position: relative;
    /* display: flex; */
    flex-direction: column;
    gap: 3rem;
    width: 100%;
    justify-content: center;
    text-align: center;
    right: 0;
    top: auto;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    /* text-align: center; */
    gap: 1.5rem;
  }

  .footer-legal a {
    margin-right: 0.75rem;
  }
  .footer-nav-section {
    /* margin-left: 0; */
    width: 100%;
  }
  .footer-icons-nav {
    display: block;
  }
  .footer-nav-col li {
    margin-right: 1rem;
  }
}
.footer-box {
  display: flex;
}
.footer-mobile-nav-list {
  display: flex;
  margin-left: auto;
  margin-top: 0;
  margin-right: 70px;
}
.footer-mobile-nav-item {
  text-align: left;
  margin-right: 80px;
}
.footer-mobile-nav-item:last-child {
  margin-right: 0 !important;
}
.footer-mobile-nav-item > a {
  font-weight: 600;
  font-size: 16px;
}
.footer-mobile-nav-item a:hover {
  color: var(--primary-color);
}
.footer-mobile-nav-item a:active {
  color: var(--primary-color);
}
.footer-submenu {
  padding-left: 0 !important;
  margin-top: 10px;
}
.footer-submenu a {
  color: rgba(255, 255, 255, 0.9);
  line-height: 28px;
}
ul,
li {
  list-style: none;
}
.social-icon-link img {
  width: 130px;
  height: 130px;
}
.footer-wx {
  width: 32px !important;
  height: 32px !important;
}
.internet {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
.bottomFlex {
  display: flex;
  align-items: center;
}
.bottomFlex a {
  line-height: 24px;
  display: flex;
  align-items: center;
}
