@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;
}

@media (max-width: 768px) {
  .footer-logo img {
    display: block;
    height: 20px;
  }
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px 60px;
  padding-bottom: 200px;
}

.footer-left {
  flex: 0 1 450px;
  min-width: 0;
  max-width: 450px;
}

.footer-right {
  flex: 1 1 auto;
  min-width: 0;
  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;
  overflow-wrap: break-word;
  word-break: break-word;
}

.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;
  color: #fff;
  border: none;
  background-color: transparent;
}

.footer-form button {
  width: 90px;
  height: 40px;
  border-radius: 60px;
  color: #fff;
  border: none;
  cursor: pointer;
  background: linear-gradient(to right, #4947de, #66c5cc);
  transition:
    opacity 0.2s,
    filter 0.2s;
}

.footer-form button:hover {
  filter: brightness(1.08);
}

.footer-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  filter: none;
}

.footer-form input.invalid {
  box-shadow: inset 0 0 0 1px #ff5b5b;
}

.footer-form-tip {
  margin-top: 8px;
  min-height: 18px;
  font-size: 13px;
  line-height: 1.4;
  color: #9aa0b5;
  transition: color 0.2s;
}

.footer-form-tip.tip-error {
  color: #ff7b7b;
}

.footer-form-tip.tip-success {
  color: #5fe0a8;
}

.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 {
  display: block;
  position: absolute;
  bottom: 56px;
  left: 0;
  width: 130px;
  padding: 8px;
  border-radius: 8px;
  transform: translateY(10px);
  background-color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s,
    transform 0.3s,
    visibility 0.3s;
  z-index: 20;
}

.footer-qrcode-wx::before {
  position: absolute;
  bottom: -10px;
  left: 14px;
  content: "";
  border-top: 10px solid #fff;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
}

.footer-qrcode-wx img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.footer-qrcode-toggle:hover .footer-qrcode-wx,
.footer-qrcode-toggle:focus .footer-qrcode-wx {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.footer-nav > ul > li {
  margin-left: 60px;
}

.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: 1366px) {
  .footer-bottom {
    display: block;
    padding-bottom: 100px;
  }
  .footer-left,
  .footer-nav {
    width: 100%;
    max-width: 100%;
  }
  .footer-right {
    margin-top: 40px;
    width: 100%;
    justify-content: flex-start;
  }
  .footer-nav > ul {
    display: flex;
    flex-wrap: wrap;
  }
  .footer-nav > ul > li {
    margin-left: 0;
    flex: 1;
    padding-bottom: 10px;
  }
}

@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 {
    display: flex;
    flex-wrap: wrap;
  }
  .footer-nav > ul > li {
    margin-left: 0;
    flex: 1;
    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-qrcode-wx {
    bottom: 50px;
    left: 0;
    margin-left: 0;
  }

  .footer-nav > ul {
    display: block;
  }
  .footer-nav > ul > li {
    width: 100%;
    flex: none;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
  .footer-copyright {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-copyright .cp-right,
  .footer-copyright .cp-link,
  .footer-copyright .cp-link ul {
    justify-content: 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;
  }

  .footer-media ul li:last-child .footer-qrcode-wx {
    left: inherit;
    right: 0;
  }

  .footer-media ul li:last-child .footer-qrcode-wx::before {
    left: inherit;
    right: 12px;
  }
}

@media (max-width: 480px) {
  .footer-media ul {
    margin-left: -12px;
  }
  .footer-media ul li {
    padding-left: 12px;
  }
}
