*,
::after,
::before,
::backdrop,
::file-selector-button {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0 solid;
}

html,
:host {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-family: 'Source Han Sans SC', 'Source Han Sans SC VF',
    'Source Han Sans CN', 'Source Han Sans CN VF', 'Noto Sans CJK SC',
    'HanHei SC', 'HarmonyOS Sans SC', '方正兰亭黑Pro Global', ui-sans-serif,
    sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji', emoji;
  line-height: 1.5;
  color: rgb(0 0 0 / 0.88);

  @media (prefers-reduced-motion: no-preference) {
    /* scroll-behavior: smooth; */
  }
}

a {
  color: inherit;
  text-decoration: inherit;
}
/* 文字样式 */
@font-face {
  font-family: 'Bebas';
  src: url(../fonts/BEBAS-REGULAR.TTF) format('truetype');
  font-weight: normal;
  font-style: normal;
}
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
}

img,
video {
  max-width: 100%;
  height: auto;
}
img {
  display: inline-block !important;
}


/* 公共样式 */
.container-x {
  padding-left: 13.54vw;
  padding-right: 13.54vw;
}
.container-left {
  padding-left: 13.54vw;
}
.container-right {
  padding-right: 13.54vw;
}

@media (max-width: 1536px) {
  .container-x {
    padding-left: 8vw;
    padding-right: 8vw;
  }
  .container-left {
    padding-left: 8vw;
  }
  .container-right {
    padding-right: 8vw;
  }
}
@media (max-width: 1280px) {
  .container-x {
    padding-left: 5vw;
    padding-right: 5vw;
  }
  .container-left {
    padding-left: 5vw;
  }
  .container-right {
    padding-right: 5vw;
  }
}

@media (max-width: 768px) {
  .container-x {
    padding-left: 20px;
    padding-right: 20px;
  }
  .container-left {
    padding-left: 20px;
  }
  .container-right {
    padding-right: 20px;
  }
}
.button-box {
  border-radius: 2rem;
  border: none;
  background-color: #3653f8;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-box .span-mother {
  display: flex;
  overflow: hidden;
}

.button-box:hover .span-mother {
  /* position: absolute; */
}

.button-box:hover .span-mother span {
  transform: translateY(100%);
}

.button-box .span-mother span:nth-child(1) {
  transition: 0.2s;
}

.button-box .span-mother span:nth-child(2) {
  transition: 0.3s;
}

.button-box .span-mother span:nth-child(3) {
  transition: 0.4s;
}

.button-box .span-mother span:nth-child(4) {
  transition: 0.5s;
}

.button-box .span-mother span:nth-child(5) {
  transition: 0.6s;
}

.button-box .span-mother span:nth-child(6) {
  transition: 0.7s;
}

.button-box .span-mother2 {
  display: flex;
  position: absolute;
  overflow: hidden;
}

.button-box .span-mother2 span {
  transform: translateY(-100%);
}

.button-box:hover .span-mother2 span {
  transform: translateY(0);
}

.button-box .span-mother2 span {
  transition: 0.2s;
}

.button-box .span-mother2 span:nth-child(2) {
  transition: 0.3s;
}

.button-box .span-mother2 span:nth-child(3) {
  transition: 0.4s;
}

.button-box .span-mother2 span:nth-child(4) {
  transition: 0.5s;
}

.button-box .span-mother2 span:nth-child(5) {
  transition: 0.6s;
}

.button-box .span-mother2 span:nth-child(6) {
  transition: 0.7s;
}
/* header 开始 */
header .active{
  opacity: 1 !important;
}
/* header 结束 */


/* 手机菜单按钮 -开始 */
.menu-icon {
  display: none;
  position: relative;
  width: 32px;
  height: 32px;
  /* background: rgb(0, 0, 0); */
  padding: 5px;
  cursor: pointer;
}
.menu-icon input {
  display: none;
}
.menu-icon span {
  display: block;
  position: relative;
  height: 2px;
  width: 100%;
  background: rgb(255, 255, 255);
  border-radius: 10px;
  opacity: 1;
  left: 0;
  margin-bottom: 24%;
  transition: 0.3s ease-in-out;
}
.menu-icon span {
  transform-origin: left center;
}
.menu-icon input:checked ~ span {
  background: #fff;
  left: 4px;
  margin-bottom: 25%;
}
.menu-icon input:checked ~ span:nth-of-type(1) {
  transform: rotate(45deg);
}
.menu-icon input:checked ~ span:nth-of-type(2) {
  opacity: 0;
}
.menu-icon input:checked ~ span:nth-of-type(3) {
  transform: rotate(-45deg);
}
@media (max-width: 1024px) {
  .menu-icon {
    display: block;
    padding-top: 7px;
  }
}
/* 手机菜单结束 */

header .header-nav .nav-wap-content {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000000db;
  color: #fff;
  text-align: center;
  font-size: 16px;
  display: none;
  padding-top: 60px;
}
header .header-nav .nav-wap-content .nav-wap-box {
  overflow-y: auto;
  height: 100%;
}
header .header-nav .nav-wap-content .box-ul {
  padding-top: 40px;
}
header .header-nav .nav-wap-content .box-ul .box-li {
  opacity: 0;
  transform: translateY(-50%);
  padding: 15px 0;
}
header .header-nav .nav-wap-content .box-ul .box-li .box-li-title {
  cursor: pointer;
}

/* banner 开始 */
.banner-swiper {
  /* --swiper-pagination-top:20px; */
  --swiper-pagination-color: #fff;
  --swiper-pagination-bullet-inactive-color:#fff;
  --swiper-pagination-bullet-inactive-opacity:1;
  --swiper-pagination-bullet-width:6px;
  --swiper-pagination-bullet-height:6px;
  --swiper-pagination-bullet-horizontal-gap: 0px;
  --swiper-pagination-bullet-circle-width:30px;
  --swiper-pagination-bullet-circle-height:30px;
  /* left: 60px; */
}
/* .banner-swiper .swiper-pagination {
  width: fit-content !important;
  top: 40% !important;
  display: flex;
  flex-direction: column;
  gap: 55px;
  right: 60px !important;
  left: auto !important;
}
.banner-swiper .swiper-pagination-bullet {
  position: relative;
}
.banner-swiper .swiper-pagination-bullet::after {
  content: '';
  width: var(--swiper-pagination-bullet-circle-width);
  height: var(--swiper-pagination-bullet-circle-height);
  border-radius: 50%;
  opacity: 0.2;
  display: block;
  position: absolute;
  top: calc((var(--swiper-pagination-bullet-circle-height) - var(--swiper-pagination-bullet-height)) / -2);
  left: calc((var(--swiper-pagination-bullet-circle-width) - var(--swiper-pagination-bullet-width)) / -2);
  transition: all 0.3s ease-in-out;
}
.banner-swiper .swiper-pagination-bullet::before {
  content: '';
  width: var(--swiper-pagination-bullet-circle-width);
  height: var(--swiper-pagination-bullet-circle-height);
  border-radius: 50%;
  background: transparent;
  opacity: 1;
  display: block;
  position: absolute;
  top: calc((var(--swiper-pagination-bullet-circle-height) - var(--swiper-pagination-bullet-height)) / -2);
  left: calc((var(--swiper-pagination-bullet-circle-width) - var(--swiper-pagination-bullet-width)) / -2);
  transition: all 0.5s;
  }
  /* border: 1px solid #fff; */
.banner-swiper .swiper-pagination-bullet-active::after {
  border: 1px solid #fff;
}
.banner-swiper .swiper-slide-active .watch-btn{
  transform: translateY(0);
  opacity: 1;
}
.banner-swiper .swiper-slide-active .banner-title{
  transform: translateY(0);
  opacity: 1;
}
.banner-swiper .swiper-slide-active .banner-title2{
  transform: translateY(0);
  opacity: 1;
}
.banner-swiper .swiper-slide-active .banner-content{
  transform: translateY(0);
  opacity: 1;
}
.banner-swiper .swiper-slide img{
  width:100%;
  height:auto;
  min-height:100%;
  transition:1s linear 2s;
  transform:scale(1.1,1.1);
  }
.banner-swiper .swiper-slide-active img,.swiper-slide-duplicate-active img{
  transition:6s linear;
  transform:scale(1,1);
  }
  @media (max-width: 1280px) {
    .banner-swiper {
      --swiper-pagination-bullet-width:4px;
      --swiper-pagination-bullet-height:4px;
    }
    .banner-swiper .swiper-pagination {
      gap: 40px;
      right: 30px !important;
      left: auto !important;
    }
  }
  @media (max-width: 768px) {
    .banner-swiper .swiper-slide img{
      height: 350px;
    }
    .banner-swiper {
      --swiper-pagination-bullet-width:3px;
      --swiper-pagination-bullet-height:3px;
    }
    .banner-swiper .swiper-pagination {
      gap: 30px;
      right: 20px !important;
      left: auto !important;
    }
  }
  .circle-md145 #circle-md145-stroke {
    transition: all 1s 0.5s;
  }
  .circle-md145 #circle-md145-stroke-one {
    transition: all 0.5s;
  }
  .circle-md145 #circle-md145-stroke-one {
    stroke-dashoffset: 360;
    stroke-dasharray: 360, 360;
  }

  .circle-md145 #circle-md145-stroke {
    stroke-dashoffset: 360;
    stroke-dasharray: 360, 360;
  }

  .circle-md145:is(.active) #circle-md145-stroke {
    stroke-dashoffset: 0;
    transition-duration: 5s;
    transition-timing-function: linear;
    transition-delay: 1s;
  }

  .circle-md145:is(.active) #circle-md145-stroke-one {
    stroke-dashoffset: 0;
    transition-timing-function: linear;
    transition-duration: 1s;
  }
/* banner 结束 */

/* 资质 开始 */
.qualifications-box .swiper-wrapper{
  transition: 1.2s cubic-bezier(0.68, -0.2, 0.27, 1) 0.1s;
}
.product-box .swiper-wrapper {
  transition: 0.5s ease;
}

.product-page .product-title-list li.active .type-title {
  color: #0A1A30;
}
.product-page .product-title-list li.active .current {
  font-weight: bold;
}

.text-vertical-up {
  transform: rotate(180deg);
  writing-mode: vertical-lr;
}
.year-swiper .swiper-wrapper{
  transition: 1.2s cubic-bezier(0.68, -0.2, 0.27, 1) 0.1s;
}
.history-swiper .swiper-wrapper{
  transition: 2s linear;
}
.honer-left-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
  user-select: none;
}
.honer-right-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
  user-select: none;
}

/* loading 开始 */
.moving-image-container {
  width: 100%;
  overflow: hidden; /* 防止图片溢出容器 */
  white-space: nowrap; /* 防止换行（如果有多张图片） */
}

.moving-image {
  animation: moveLeftRight 15s linear infinite; /* 5秒一次，无限循环 */
}

@keyframes moveLeftRight {
  0%, 100% {
    transform: translateX(0); /* 起始位置 */
  }
  50% {
    transform: translateX(10%); /* 向右移动 100% */
  }
}
/* loading 结束 */


.history-box {
  scroll-snap-align: start;
}
