/* 全局 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Microsoft YaHei", sans-serif !important;
  background: #f5f5f5;
  font-size: 18px;
}
a {
  text-decoration: none;
  color: inherit;
}
.p100 {
  padding: 100px 0;
}
/* 导航栏 */
.custom-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 18px 0;
  transition: all 0.35s ease;
  background: transparent;
}



/* 滚动后 */
.custom-navbar.scrolled{
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}
/* LOGO */
.logo-img {
  height: 40px;
  transition: 0.3s;
}
/* 导航 */
.navbar-nav .nav-item {
  position: relative;
}
/* 导航链接 */
.navbar-nav .nav-link {
  position: relative;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  margin: 0 14px;
  transition: 0.3s;
}
/* 滚动后字体颜色 */
.custom-navbar.scrolled .nav-link {
  color: #222;
}
/* hover */
.navbar-nav .nav-link:hover {
  color: #0d6efd;
}
/* 下划线动画 */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #0d6efd;
  border: none;
  transition: 0.3s;
}
.navbar-nav .nav-link:hover::after {
  width: 100%;
}
/* 下拉菜单 */
.dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: 0.3s;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-top: 22px;
  min-width: 100%;
  width: 100%;
  background: #ffffff;
  backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
/* 悬停显示 */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* 下拉项 */
.dropdown-item {
  text-align: center;
  padding: 12px 10px;
  color: #222;
  transition: 0.3s;
}
/* hover */
.dropdown-item:hover {
  background: rgba(13, 110, 253, 0.12);
  color: #0d6efd;
}
.foot {
  background: #000;
  color: #fff;
}
.foot .line {
  background: #f2f2f2;
  height: 2px;
}
.foot .f1 {
  padding: 100px 0;
  color: #fff;
}
.foot .f1 a {
  text-decoration: none;
  align-self: #fff;
}
.foot .f1 .f-link {
  display: flex;
}
.foot .f1 .f-link .item {
  width: 30%;
}
.foot .f1 .f-link h4 {
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
  margin-bottom: 20px;
  display: inline-block;
}
.foot .f1 .f-link a {
  display: block;
  font-size: 14px;
  color: #eee;
  margin-top: 20px;
}
.foot .f1 .f-link a:hover {
  text-decoration: underline;
}
.foot .f1 .r {
  text-align: right;
}
.foot .f1 .r .r-logo img {
  height: 60px;
}
.foot .f1 .r .r-link {
  margin-bottom: 20px;
}
.foot .f1 .r a > img {
  height: 20px;
  margin-left: 10px;
}
.foot .f1 .r .r-code {
  display: flex;
  justify-content: flex-end;
}
.foot .f1 .r .r-code div {
  text-align: center;
  margin-left: 10px;
}
.foot .f1 .r .r-code div img {
  height: 80px;
}
.foot .f1 .r .r-code div p {
  font-size: 14px;
  color: #eee;
}
.foot .f2 {
  padding: 30px 0;
  font-size: 12px;
  color: #eee;
}
.foot .f2 .f2-l {
  display: flex;
  align-items: center;
}
.foot .f2 .f2-l img {
  height: 20px;
  margin-right: 10px;
}
.foot .f2 .f2-l p {
  margin: 0;
  font-size: 22px;
  margin-right: 20px;
}
.foot .f2 .f2-r {
  text-align: right;
  font-size: 12px;
}
.custom-navbar .active-nav .nav-link {
  font-weight: 600;
}
.banner {
  width: 100%;
}
.banner img {
  width: 100%;
}
/* 手机端 */
@media (max-width: 991px) {
  .p100 {
    padding-top: 50px;
  }
  .navbar-nav {
    padding-top: 15px;
  }
  .navbar-nav .nav-link {
    color: #222;
    margin: 10px 0;
  }
  .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin-top: 0;
    background: #f0f0f0;
    width: 100%;
  }
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  .foot .f1 {
    padding: 50px 0;
  }
  .foot .f1 .f-link {
    flex-wrap: wrap;
  }
  .foot .f1 .f-link .item {
    margin-bottom: 50px;
    width: 50%;
    text-align: center;
  }
  .foot .f1 .r {
    text-align: center;
    margin-top: 50px;
  }
  .foot .f1 .r .r-logo img {
    height: 50px;
  }
  .foot .f1 .r .r-code {
    justify-content: center;
  }
  .foot .f2 {
    text-align: center;
  }
  .foot .f2 .f2-l p {
    font-size: 12px;
  }
  .foot .f2 .f2-r {
    text-align: center;
    margin-top: 10px;
  }
}
