.btn-bock {
  width: 100%;
  display: flex;
  justify-content: center;
  position: absolute;
  bottom: 62px;
}

.banner-btn {
  width: 176px;
  height: 64px;
  border: 1px solid #ffffff;
  background: rgba(255, 255, 255, 0);
  border-radius: 12px;
  /* opacity: 0.31; */
  text-align: center;
  line-height: 64px;
  color: #fff;
  cursor: pointer;
  margin: 0 20px;
}

.banner-btn:hover {
  background: #fff;
  color: #000;
}

.banner-title1 {
  font-family: PingFangSC, PingFang SC;
  font-weight: 600;
  font-size: 80px;
  color: #ffffff;
  line-height: 88px;
  text-align: center;
  font-style: normal;
  position: absolute;
  top: 228px;
  width: 100%;
  text-align: center;
}

.banner-title2 {
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 28px;
  color: #ffffff;
  text-align: center;
  font-style: normal;
  top: 416px;
  width: 100%;
  text-align: center;
  position: absolute;
}

/* .message-block {
  width: 100%;
  height: 600px;
} */

.message-img {
  width: 100%;
  margin: 0 auto;
  display: block;
  margin-top: 72px;
}

.work-type-block {
  padding: 80px 0;
  background: #fff;
}
.block-info {
  width: 62.5%;
  margin: 0 auto;
}
.title {
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
  font-size: 40px;
  color: #000000;
  line-height: 44px;
  text-align: center;
  font-style: normal;
}
.title-des {
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.5);
  line-height: 24px;
  text-align: center;
  font-style: normal;
  margin-top: 24px;
}

.oper-container {
  width: 62.5%;
  margin: 0 auto;
  padding-top: 80px;
}
.oper-title1 {
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
  font-size: 40px;
  color: #000000;
  line-height: 44px;
  text-align: center;
  font-style: normal;
}
.oper-title2{
  
margin-top: 16px;
font-weight: 400;
font-size: 16px;
color: rgba(0, 0, 0, 0.5);
line-height: 24px;
text-align: center;
font-style: normal;
}
.oper-icon {
  width: 120px;
  height: 120px;
}

.oper-icon-title {
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
  font-size: 20px;
  color: #000000;
  line-height: 28px;
  text-align: center;
  font-style: normal;
  margin-top: 32px;
}

.oper-icon-pretitle {
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.5);
  line-height: 22px;
  text-align: center;
  font-style: normal;
  margin-top: 12px;
}

.oper-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  /* padding: 76px 111px 119px; */
  width: 32.5%;
}

.oper-icon-item1 {
  padding: 0;
}

.icon-block {
  display: flex;
  justify-content: center;
  margin-top: 72px;
  align-items: center;
}

.oper-arrow-img {
  width: 152px;
  height: 24px;
  margin-top: -88px;
}

.oper-container {
  .carousel-container {
    width: 100%;
    margin: 0 auto;
    margin-top: 72px;
    overflow: hidden;
    /* position: relative; */
    padding: 0 15px;
  }
  .carousel-track {
    display: flex;
    justify-content: flex-start;
    transition: transform 0.5s ease;
    gap: 29px; 
    /* padding-left: 15px; */
    flex-wrap: wrap;
 
  }
  .carousel-item {
    min-width: 0; /* 防止内容溢出 */
    height: 344px;
    box-sizing: border-box;
    flex: 0 0 calc(33.3% - 29px); /* 计算方式：(100% - 2*gap)/3 */
  }
  .talk-block {
    width: 100%;
    height: 260px;
    background: url("../images/talk.png") no-repeat;
    background-size: 100% 100%;
    display: flex;
  }
  .dou {
    width: 40px;
    height: 40px;
    margin-top: 14px;
    margin-left: 12px;
  }

  .talk-name {
    font-family: PingFangSC, PingFang SC;
    font-weight: 500;
    font-size: 16px;
    color: #000000;
    line-height: 24px;
    font-style: normal;
  }

  .talk-info {
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5);
    line-height: 22px;
    text-align: justify;
    font-style: normal;
    padding: 16px 0;
    width: 70%;
    /* margin: 0 auto; */
  }

  .talk-city {
    font-family: PingFangSC, PingFang SC;
    font-weight: 400;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5);
    line-height: 22px;
    font-style: normal;
  }
  /* .carousel-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    object-fit: cover;
    padding: 0 1%; 
    box-sizing: border-box;
  } */
  .carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 72px;
    gap: 8px;
  }
  .carousel-dot {
    width: 40px;
    height: 3px;
    background: #d8d8d8;
    cursor: pointer;
    transition: all 0.3s;
  }
  .carousel-dot.active {
    background: #000;
  }
}



.block1 {
  display: flex;
  align-items: center;
  height: 620px;
}

.nav3 ul {
  list-style: none;
  background-color: #343434;
  height: 100%;
}
.nav3 ul li {
  height: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.nav3 ul li a {
  text-decoration: none;
  display: block;
  padding: 20px 67px;
  position: relative;
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  transition: all 0.3s;
  position: relative;

  font-size: 24px;
  color: #ffffff;
  line-height: 32px;
  text-align: center;
  font-style: normal;
}

.nav3 li a.active {
  color: #fff;
}
.nav3 ul li:has(.active) {
  background-color: red;
}
.nav3 ul li:has(.active)::after {
  content: "";
  position: absolute;
  height: calc(154px / sqrt(2));

  width: calc(154px / sqrt(2));
  right: -55px;
  top: 22px;
  background: red;
  transform: rotate(45deg);
  transform-origin: center; /* 从中心缩放 */
  z-index: 999;
}
.title-pre {
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-style: normal;
  margin-top: 12px;
  font-size: 14px;
  color: #ffffff;
  line-height: 22px;
  text-align: center;
  font-style: normal;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; /* 限制在一个块元素显示的文本的行数 */
  overflow: hidden;
  text-overflow: ellipsis;
}

.block2 {
  width: 79.2%;
  /* height: 558px; */
  /* background: #000000; */
  /* flex-grow: 1; */
}

.content {
  display: none;
  animation: fadeIn 0.5s ease;
  height: 620px;
  background: #000;
}

.content.active {
  display: block;
}

.content img {
  display: block;
  width: 100%;
  height: 100%;
}
/* 淡入动画 */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.swiperbox1 {
  width: 100%;
  padding: 80px 0;
  background: #f9f9f9;
}
.swiperbox1 .container {
  width: 64.5%;
  overflow: hidden;
  position: relative;
}
.swiperbox1 .swiper-container {
  height: 400px;
}
.swiperbox1 .swiper-ul {
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}
.swiperbox1 .swiper-ul .swiper-li {
  width: 30.8%;
  height: 282px;
  background: #ffffff;
  box-shadow: 0px 8px 30px 0px rgba(133, 133, 133, 0.2);
  margin: 0 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 40px;
}
.swiperbox2 {
  width: 100%;
  padding: 80px 0;
  background-image: url("../images/machinery1.png");
  background-size: 100% 100%;
  color: #fff;
}
.swiperbox2 .container {
  width: 62.5%;
  overflow: hidden;
  position: relative;
}
.swiperbox2 .swiper-ul {
  display: flex;
  width: 90%;
  height: 100%;
  justify-content: center;
  align-items: center;
}
.swiperbox2 .swiper-ul .swiper-li {
  width: 30%;
  height: 462px;
  background: #ffffff;
  box-shadow: 0px 8px 30px 0px rgba(133, 133, 133, 0.2);
  margin: 0 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 40px;
}
.swiperbox2 .container .title {
  color: #fff;
}
.swiperbox2 .swiper-container {
  /* height: 400px; */
}
.swiper-wrapper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}
.block3 {
  padding: 80px 0;
  background: #f9f9f9;
}

.title1 {
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
  font-size: 40px;
  color: #000000;
  line-height: 44px;
  text-align: center;
  font-style: normal;
}

.title1-des {
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 16px;
  color: rgba(0, 0, 0, 0.5);
  line-height: 24px;
  text-align: center;
  font-style: normal;
  margin-top: 24px;
}

.carousel-container {
  width: 62.5%;
  margin: 0 auto;
  margin-top: 72px;
  overflow: hidden;
  position: relative;
  /* padding: 0 15px; */
}

.video-btn {
  position: absolute;
  width: 104px;
  height: 104px;
  z-index: 100;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 258px;
  cursor: pointer;
}

.carousel-track {
  display: flex;
  justify-content: space-between;
  transition: transform 0.5s ease;
  gap: 0px; /* 新增间隙 */
  padding-left: 15px; /* 初始偏移补偿 */
}

.carousel-item {
  min-width: 0;
  height: 620px;
  /* background: #000; */
  box-sizing: border-box;
  flex: 0 0 calc(100%);
  /* 计算方式：(100% - 2*gap)/3 */
}

.carousel-item video {
  width: 100%;
  display: block;
  object-fit: cover; /* 保持图片比例 */
  box-sizing: border-box;
}

.hidden {
  display: none;
}

.show {
  display: block;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 72px;
  gap: 8px;
}

.carousel-dot {
  width: 80px;
  height: 3px;
  background: #d8d8d8;
  cursor: pointer;
  transition: all 0.3s;
}

.carousel-dot.active {
  background: #000;
}

.block5 {
  width: 62.5%;
  margin: 0 auto;
  padding: 80px 0;
  background: #fff;
}

.block6 {
  /* width: 62.5%; */
  margin: 0 auto;
  display: flex;
  justify-content: center;
  margin-top: 80px;
}

.block6-item {
  width: 32.5%;
  height: 396px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.title2 {
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
  font-size: 40px;
  color: #000000;
  line-height: 44px;
  text-align: center;
  font-style: normal;
}

.home-icon {
  width: 120px;
  height: 120px;
}

.icon-title {
  font-family: PingFangSC, PingFang SC;
  font-weight: 500;
  font-size: 20px;
  color: #000000;
  line-height: 28px;
  text-align: center;
  font-style: normal;
  margin-top: 32px;
}

.icon-title-des {
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.5);
  line-height: 22px;
  text-align: center;
  font-style: normal;
  margin-top: 12px;
}

.range-block {
  width: 62.5%;
  margin: 0 auto;
  padding: 80px 0;
}

.range-info {
  width: 100%;
  /* height: 620px; */
  /* background: #000000; */
  margin: 80px auto 0;
}

.contact-block {
  width: 62.5%;
  margin: 0 auto;
  padding: 80px 0;
  background: #fff;
}

.custom-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="black" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 10px center; /* 改为左侧 */
  padding-left: 30px; /* 为左侧箭头留出空间 */
  padding-right: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 16px;
  width: 200px;
}

.machinery-banner {
  height: 520px;
  background: url(../images/areaService-banner.png) no-repeat center;
  background-size: cover;
  margin-top: 100px;
}
.banner-big-title {
  font-family: PingFangSC, PingFang SC;
  font-weight: 600;
  font-size: 48px;
  color: #ffffff;
  line-height: 56px;
  text-align: left;
  font-style: normal;
  position: absolute;
  top: 146px;
}

.banner-pre-title {
  font-family: PingFangSC, PingFang SC;
  font-weight: 400;
  font-size: 18px;
  color: #ffffff;
  line-height: 26px;
  text-align: left;
  font-style: normal;
  position: absolute;
  width: 37.3%;
  top: 242px;
}

@media (max-width: 1920px) {
  .banner-pre-title {
    width: 70%;
  }
}

.banner-center {
  width: 62.5%;
  height: 520px;
  margin: 0 auto;
  position: relative;
}
.down-btn {
  position: absolute;
  top: 357px;
  width: 232px;
  height: 75px;
  background: rgba(255, 255, 255, 0);
  border-radius: 3px;
  color: #fff;
  font-size: 24px;
  border-color: #fff;
  cursor: pointer;
}

/* .down-btn:hover {
      background-color: red;
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    } */

.down-code-block {
  width: 154px;
  height: 154px;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px;
  position: absolute;
  left: 268px;
  top: 330px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  z-index: 10;
}

.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-5%) translateY(0);
}

/* 悬停效果 */
.down-btn:hover .down-code-block {
  opacity: 1;
  visibility: visible;
  /* transform: translateX(-50%) translateY(0); */
}

#danmu-container {
  position: relative;
  width: 100%;
  height: 368px;
  /* background-color: #000; */
  overflow: hidden;
  margin-bottom: 36px;
  border-radius: 5px;
  margin-top: 72px;
}

.danmu {
  position: absolute;
  white-space: nowrap;
  font-size: 16px;
  /* text-shadow: 1px 1px 2px #000; */
  user-select: none;
  padding: 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
}

.avatar {
  width: 40px;
  height: 40px;
  display: inline-block;
  margin-right: 8px;
}
