@charset "UTF-8";
/* footer */
.footer {
  position: relative;
  z-index: 1;
  background-image: url(../images/footer-bg.png);
  overflow: hidden;
}

.footer-top {
  padding: 65px 0;
  justify-content: space-between;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  justify-content: space-between;
  padding-bottom: 200px;
}

.footer-left {
  width: 450px;
}

.footer-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.footer-contact h3 {
  font-size: 18px;
  color: #fff;
}

.footer-contact p {
  margin-top: 10px;
  font-size: 14px;
  color: #c7c7c7;
}

.footer-form {
  margin-top: 20px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
}

.footer-form input {
  flex: 1;
  height: 40px;
  padding: 0 10px;
  border-radius: 6px;
  border: none;
  background-color: transparent;
}

.footer-form button {
  width: 90px;
  height: 40px;
  border-radius: 60px;
  color: #fff;
  border: none;
  background: linear-gradient(to right, #4947de, #66c5cc);
}

.footer-media ul {
  margin-top: 20px;
  margin-left: -20px;
  align-items: center;
}

.footer-media ul li {
  padding-left: 20px;
}

.footer-media ul li a {
  position: relative;
}

.footer-media ul li a i {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid #ccc;
  font-size: 16px;
  color: #c7c7c7;
}

.footer-media ul li a:hover {
  color: var(--theme-red);
}

.footer-qrcode-wx {
  position: absolute;
  bottom: 60px;
  left: 50%;
  margin-left: -60px;
  width: 120px;
  padding: 5px;
  border-radius: 6px;
  transform: translateY(10px);
  background-color: #fff;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.1));
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.footer-qrcode-wx::before {
  position: absolute;
  bottom: -10px;
  left: 50%;
  content: "";
  margin-left: -5px;
  border-top: 10px solid #fff;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}

.footer-qrcode-wx img {
  width: 100%;
}

#footer-qrcode:hover .footer-qrcode-wx {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.footer-nav > ul > li {
  margin-left: 100px;
}

.footer-nav > ul > li > a {
  font-size: 18px;
  color: #fff;
}
.footer-nav ul.sub-menu li {
  margin-top: 10px;
}
.footer-nav ul.sub-menu a {
  font-size: 14px;
  color: #c7c7c7;
}

.footer-nav a:hover {
  background: linear-gradient(to left, #1260f9, #2fdaff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: underline;
}

.footer-copyright {
  padding: 30px 0;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-copyright .cp-left a {
  margin-left: 5px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-copyright .cp-link a {
  margin-left: 15px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-copyright a:hover {
  color: #fff;
}

.footer-copyright a:hover i {
  color: red;
  background-color: #fff;
}

.comma-sign i {
  background-color: rgba(255, 255, 255, 1);
  border-radius: 50%;
  color: #051734;
}

@media (max-width: 1200px) {
  .footer-nav > ul > li {
    margin-left: 60px;
  }
}

@media (max-width: 992px) {
  .footer-bottom {
    display: block;
    padding-bottom: 100px;
  }
  .footer-left,
  .footer-nav {
    width: 100%;
  }
  .footer-right {
    margin-top: 40px;
    width: 100%;
    justify-content: flex-start;
  }
  .footer-nav > ul > li {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
}

@media (max-width: 768px) {
  .footer-top {
    padding: 15px 0;
  }
  .footer-bottom {
    padding-bottom: 60px;
  }

  .footer-nav > ul > li {
    width: 100%;
    margin: 0 0 20px 0;
  }
  .footer-copyright {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-nav .sub-menu {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition:
      max-height 0.35s ease,
      opacity 0.3s ease,
      visibility 0.35s ease;
  }
  .footer-nav li.sub-open .sub-menu {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 480px) {
  .footer-media ul {
    margin-left: -12px;
  }
  .footer-media ul li {
    padding-left: 12px;
  }
}
