.container-fluid {
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

.container {
  box-sizing: border-box;
}

/* 头部 */
.nav {
  width: 100%;
}

.nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav ul .nav-list {
  padding: 15px;
  position: relative;
}

.nav ul .nav-list a {
  font-size: 16px;
  color: #000;
  font-weight: 600;
}

.nav .child {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translate(-50%, 0);
  display: none;
  z-index: 3;
  background-color: #fff;
  border-radius: 6px;
}

.nav .child ul {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  border-radius: 6px;
}

.nav .child ul .child-list {
  padding: 14px 20px;
  box-sizing: border-box;
  transition: all 0.3s ease-in-out;
  width: 100%;
}

.nav .child ul .child-list a {
  font-size: 16px;
  white-space: nowrap;
  color: #000;
}

.nav .child ul .child-list:hover {
  background-color: #000000;
}

.nav .child ul .child-list:hover a {
  color: #fff;
}

/* 尾部 */
.foot-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px 0 0;
  box-sizing: border-box;
}

/* .foot-top .foot-img img {
  width: 230px;
  height: 58px;
} */

.foot-top .foot-top-right {
  display: flex;
  align-items: center;
}

.foot-top .foot-top-right p {
  font-size: 18px;
  color: #fff;
}

.foot-top .foot-top-right .foot-top-btn {
  padding: 15px 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  background-color: #2663DA;
  border-radius: 30px;
  margin-left: 15px;
  white-space: nowrap;
}

.foot-top .foot-top-right .foot-top-btn i {
  font-size: 14px;
  color: #fff;
}

.main-swiper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.main-swiper .swiper-button-next,
.main-swiper .swiper-button-prev {
  color: #fff;
}

.main-swiper .slide-one img {
  width: 100%;
  height: 750px;
}

@media (max-width:768px) {
  .foot-top {
    flex-wrap: wrap;
  }
}

.foot-icon {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.foot-icon a {
  margin: 0 5px;
  display: block;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  background-color: #1a1c29;
  border-radius: 50%;
}

.foot-icon a:first-child {
  background-color: #2663da;
}

.foot-icon a i {
  color: #fff;
  font-size: 14px;
}

.foot-list {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.foot-list .foot-list-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.foot-list .foot-list-item .foot-list-nav {
  font-size: 18px;
  color: #fff;
  border-bottom: 1px solid #fff;
}

.foot-list .foot-list-item ul {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  margin-top: 30px;
}

.foot-list .foot-list-item ul .foot-list-text+.foot-list-text {
  margin-top: 20px;
}

.foot-list .foot-list-item ul .foot-list-text a {
  font-size: 16px;
  color: #fff;
}

.foot-bottom-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 20px 0;
}

.foot-bottom-icon img {
  width: 28px;
  height: 28px;
}

.foot-line-one {
  margin: 40px 0;
  border: 1px solid #ffffff21;
  width: 100%;
}

.foot-line {
  margin: 50px 0;
  border: 1px solid #ffffff21;
  width: 100%;
}

.copyright {
  font-size: 16px;
  color: #fff;
  text-align: center;
}

.custom-input-group {
  position: relative;
  width: 80%;
}

.custom-input {
  background-color: #000211 !important;
  border-radius: 35px !important;
  color: white !important;
  padding: 15px 70px 15px 25px;
  font-size: 1rem;
  height: 45px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 1px solid #fff;
}

.custom-input:focus {
  box-shadow: 0 4px 20px rgba(38, 99, 218, 0.4) !important;
  background-color: #000211 !important;
  color: white !important;
}

.custom-input::placeholder {
  color: #7f8c8d;
}

/* 圆形按钮样式 */
.input-btn {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #2663da;
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(38, 99, 218, 0.4);
}

.input-btn:hover {
  background-color: #1e52b8;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 15px rgba(38, 99, 218, 0.6);
}

.input-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.input-btn i {
  font-size: 1.1rem;
}

#backToTop {
  position: fixed;
  right: 10px;
  bottom: 30px;
  z-index: 999;
}

.to-top-item {
  width: 45px;
  height: 45px;
  background: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  cursor: pointer;
}

.to-top-item img {
  width: 32px;
}

.head {
  position: sticky !important;
  top: 0;
  z-index: 999 !important;
}

/* 手机端 */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1000;
  padding: 20px;
}

.mobile-menu.active {
  right: 0;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.menu-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #666;
}

.nav-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu li {
  margin-bottom: 10px;
}

.nav-menu a {
  display: block;
  padding: 12px 15px;
  color: #2c3e50;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s;
  font-weight: 500;
}

.nav-menu a:hover {
  background: #3498db;
  color: white;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.menu-overlay.active {
  display: block;
}

.mobile-nav {
  display: none;
}

.menu-toggle {
  background: none;
  border: none;
  color: #2c3e50;
  font-size: 1.3rem;
  padding: 5px 10px;
  border-radius: 6px;
  transition: all 0.3s;
}

.menu-toggle:hover {
  background: #f8f9fa;
  color: #3498db;
}

.foot {
  background-image: url(/static/images/footer-bg.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


@media (max-width:768px) {

  #ft_line {
    display: none;
  }

  .nav-hide {
    display: none;
  }

  .main-swiper .slide-one img {
    height: auto;
  }

  .foot-top .foot-top-right .foot-top-btn {
    padding: 10px 15px;
  }

  #backToTop {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .top-text {
    display: none;
  }

  .foot-icon {
    justify-content: space-between;
  }

  .custom-input-group {
    width: 100% !important;
  }

  .foot-list {
    margin-top: 10px;
  }

  .foot-list .foot-list-item {
    flex: 1;
  }

  .foot-line-one {
    margin: 10px 0;
  }

  .foot-line {
    margin: 10px 0;
  }
}