* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  all: unset;
  color: rgb(73, 69, 69);
  cursor: pointer;
}

ul,
li {
  list-style: none;
}

/* 滚动条整体部分 */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  border-radius: 10px;
  border: 2px solid white;
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}


/* 轮播容器高度，自己改 */
.swiper {
  width: 100%;
  height: 850px;
  margin-top: 100px;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  background: #333;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
}

/* 👇 这里就是把小圆点改成横线的样式 */
.swiper-pagination-bullet {
  width: 40px !important;
  /* 长条宽度 */
  height: 5px !important;
  /* 高度（细一点） */
  border-radius: 0 !important;
  /* 去掉圆角，变直线 */
  background: #fff !important;
  /* 未选中：白色 */
  opacity: 1 !important;
  margin: 0 6px !important;
}

/* 选中时：红色 */
.swiper-pagination-bullet-active {
  background: red !important;
  opacity: 1 !important;
  border: none !important;
  outline: none !important;
}

.topcontent {
  width: 80%;
  margin: 0 auto;
}



/* 首页数字央视*/
.numcontainer {
  margin: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: pink;
}

.numitemcontainer {
  width: 200px;
  height: 100px;
  background: #fff;
  position: relative;
  box-shadow: 0 0 15px rgb(222 233 255 / 88%);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  color: rgba(55, 115, 227, 1);
  font-weight: bold;
}

.numlogo>img {
  display: inline-block;
  width: 50px;
  height: 50px;
}

.numcontent {
  flex-shrink: 0;
  width: 130px;
}

.num_num {
  font-size: 30px;

}

.num_text {
  color: #787676;
  font-weight: normal;
}




.bannercontainer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100px;
  width: 100%;
  line-height: 50px;
  background: #fff;
  opacity: 1;
  z-index: 9999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #cdc7c7;
}

.logo {
  width: 420px;
  height: 60px;
  background: url(/img/logo.png);

}

.conneck {
  display: flex;
  gap: 10px;
  margin-right: 30px;
  font-size: 20px;
  color: red;
  align-items: center;
}

.conneck>img {
  width: 30px;
  height: 30px;
}


.menu ul {
  display: flex;
  gap: 20px;
}

.menu li {
  display: inline-block;
  padding: 10px;
  position: relative;
}

.menu li>a {
  color: #070707;
  font-weight: bold;
}

.menu li:hover {
  background: #f7f7f8;
}

.menu li:hover>ul {
  display: block;
  background-color: #fff;
  opacity: 1;
}

.menu li>ul {
  display: none;
  position: absolute;
  z-index: 999;
  top: 60px;
  left: -10px;
  width: 300px;
  background: #fff;
  box-shadow: 0 0 15px rgb(222 233 255 / 88%);
}

.sub-item li {
  display: block;
  padding-left: 20px;
  height: 50px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.menu li:hover>.sub-item>li:hover {
  background-color: rgb(231, 229, 229);
}

.contentone {
  margin-top: 30px;
}

.bigtitle {
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  margin: 20px auto;
}

.smalltitle {
  text-align: center;
  font-size: 20px;
}

.itemnav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 50px;
}

.itemnav>ul {
  display: flex;
}

.itemli {
  width: 200px;
  height: 50px;
  border-bottom: 1px solid gray;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.li_active {
  border-bottom: 4px solid rgb(82, 82, 241);
}

.itemcontent {
  display: none;
}

.itemcontentshow {
  display: flex;
  flex-shrink: 0;
  width: 100%;
  padding: 50px 60px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.itemimg {
  flex-shrink: 0;
  width: 300px;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  align-items: center;
}

.itemimg>img {
  width: 260px;
  height: 260px;
  margin-bottom: 10px;
}

.itemimg:hover>img {
  width: 280px;
  height: 280px;
}

.itemimg:hover>.hidcontent {
  display: block;
}

.itemimg>span {
  display: inline-block;
  font-weight: bold;
  width: 10em;
  /* 假设每个汉字大约占用1em宽度，根据实际情况调整 */
  white-space: nowrap;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hidcontent {
  display: none;
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: 100%;
  padding: 20px;
  max-height: 200px;
  overflow: hidden;
  border-radius: 10px;
  color: #fff;
  background: rgb(61, 61, 237);
  opacity: 1;
}

.hidcontent>.title {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 10px;
}

.hidcontent>.content {
  font-size: 12px;
  line-height: 20px;
}

.itemmore {
  display: flex;
  margin: 20px;
  justify-content: center;
  border: 1px solid blue;
  padding: 10px 30px;
  border-radius: 30px;
  color: blue;
}

.itemmore:hover {
  background: blue;
  color: #fff;
  font-weight: bold;
}

.pageitemmore {
  display: flex;
  gap: 20px;
  margin: 30px;
}

.case {
  display: flex;
}

.flickcontainer {
  overflow: hidden;
  width: 1600px;
  display: flex;
  justify-content: center;
  margin: 40px auto;
}

.flickcontent {
  display: flex;
  justify-content: center;
  gap: 10px;

  animation: scroll 280s linear infinite;
}

.flickitem {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  background: pink;
  position: relative;
}

.flickitem img {
  width: 100%;
  height: 100%;
}

.flickitem>.title {
  width: 150px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  position: absolute;
  border-radius: 10px;
  font-weight: bold;
  color: #5957ec;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10em;
  /* 假设每个汉字大约占用1em宽度，根据实际情况调整 */
  white-space: nowrap;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  background: #c6cbfd;
  opacity: 0;

}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.flickcontent:hover {
  animation-play-state: paused;
}

/* 为什么选择我们 */
.selectustitle {
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  margin: 80px 80px 50px 80px;
}

.selectuscontainer {
  width: 1700px;
  margin: 50px auto;
  height: 500px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.selectuscontainer>.selectitem {
  background: rgb(240, 238, 238);
  height: 100%;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
  width: 20%;
  text-align: center;
  padding: 20px;
}

.selectuscontainer>.selectitem:hover {
  background: rgb(59, 88, 248);
  color: #fff;
}

.selectuscontainer>.selectitem:hover p {
  color: #fff;
}

.selectuscontainer>.selectitem:hover img {
  animation: selectitemratate 1s linear infinite;
}

@keyframes selectitemratate {
  0% {
    transform: rotateY(0);
  }

  100% {
    transform: rotateY(360deg);
  }
}


.selectuscontainer>.selectitem img {
  width: 150px;
  height: 150px;
  border-radius: 75px;
  margin: 30px;
}

.selectuscontainer>.selectitem h2 {
  margin: 20px;
}

.selectuscontainer>.selectitem p {
  line-height: 30px;
  font-size: 16px;
  font-weight: bold;
  color: #787676;
}






/* 底部 */
.bottomcontainer {
  height: 340px;
  background: linear-gradient(#8a84f2, #5957ec);
  padding: 20px 200px 30px;
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 50px;
  color: #fff;
}

.bottomitem1 {
  width: 400px;
  height: 178px;
  border-right: 1px solid transparent;
  border-image: linear-gradient(to right, rgba(180, 178, 178, 0.5), rgba(172, 172, 171, 0.4)) 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bottomitem2 {
  width: 400px;
  height: 178px;
  border-right: 1px solid transparent;
  border-image: linear-gradient(to right, rgba(180, 178, 178, 0.5), rgba(172, 172, 171, 0.4)) 1;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: start;
}

.bottomitem2 .title {
  font-size: 22px;
  font-weight: bold;
  margin: 30px 10px;
}

.bottomitem2 ul {
  display: flex;
  flex-wrap: wrap;
}

.bottomitem2 ul li {
  min-width: 180px;
  margin: 5px auto;

}

.bottomitem2 ul li>a {
  color: #e0dddd;
}

.bottomitem3 .title {
  font-size: 22px;
  font-weight: bold;
  margin: 30px auto;
}

.bottomitem3 h5 {
  height: 40px;
  font-size: 16px;
  color: #e0dddd;
}

/* 备案 */
.beianinfo {
  padding: 10px;
  background: #5957ec;
  color: #ffffff;
  text-align: center;
}

.beianinfo a {
  color: #fff;
  margin: 20px;
}

.beianinfo a:hover {
  color: #fa0606
}

/******方案板块******/
.fangantitle {
  width: 800px;
  margin: 100px auto;
  text-align: center;
}

.fangantitle h2 {
  font-size: 1.88rem;
  font-family: Lora, serif;
  margin-bottom: 20px;
}

.fangantitle p {
  color: #969595;
  font-size: 1.15rem;
  font-family: SimSun;
  position: relative;
}

.fangantitle p::before {
  border-left: 8rem solid #b4b3b6;
  border-right: 8rem solid #b4b3b6;
  content: "";
  height: 2px;
  left: 50%;
  top: 50%;
  transform: translateX(-50%);
  position: absolute;
  width: 9rem;
}


.fanancontainer {
  width: 1600px;
  padding: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
}

.fanancontainer img {
  width: 900px;
  height: 400px;
  box-shadow: #333 0 0 10px;
  flex:0 0 900px;
  opacity: 0;
  transform: translateX(-120vw);
  transition: all 1s cubic-bezier(0.2, 0, 0.2, 1);
}

.fanancontainer .demo p {
  line-height: 30px;
  font-size: 16px;
  font-weight: bold;
  color: #787676;
  text-indent: 2em;
  margin: 20px 0;
}

.fanancontainer .demo a {
  display: inline-block;
  padding: 10px 30px;
  border-radius: 30px;
  color: #fff;
  background: blue;
  margin-top: 20px;
}

@keyframes bounceShake {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-6px);
  }

  50% {
    transform: translateX(6px);
  }

  75% {
    transform: translateX(-3px);
  }

  100% {
    transform: translateX(0);
  }
}

/* 文字统一更慢 1.4s，错开微小延迟，不会脱节重叠 */
.fanancontainer h2,
.fanancontainer p {
  opacity: 0;
  transform: translateX(-120vw);
  transition: all 1.4s cubic-bezier(0.2, 0, 0.2, 1);
}

.fanancontainer h2:first-child {
  transition-delay: 0.08s;
}

.fanancontainer p {
  margin: 18px 0;
  color: #555;
  line-height: 1.8;
  transition-delay: 0.16s;
}

.fanancontainer h2:last-child {
  color: #2577e3;
  transition-delay: 0.24s;
}

/* 入场归位 */
.fanancontainer.show img,
.fanancontainer.show h2,
.fanancontainer.show p {
  opacity: 1;
  transform: translateX(0);
}

/* 滑块1s飞完，立刻晃动 */
.fanancontainer.show img {
  animation: bounceShake 0.35s ease-out 1s forwards;
}

/******经典产品板块******/

.featuredproducts {
  width: 800px;
  margin: 10px auto;
  text-align: center;
}

.featuredproducts h2 {
  font-size: 1.88rem;
  font-family: Lora, serif;
  margin-bottom: 20px;
}

.featuredproducts p {
  color: #969595;
  font-size: 1.15rem;
  font-family: SimSun;
  position: relative;
}

.featuredproducts p::before {
  border-left: 8rem solid #b4b3b6;
  border-right: 8rem solid #b4b3b6;
  content: "";
  height: 2px;
  left: 50%;
  top: 50%;
  transform: translateX(-50%);
  position: absolute;
  width: 9rem;
}

.productcontainer {
  width: 1600px;
  margin: 100px auto;
  gap: 80px;
}
.productcontainer .productionitem{
  border: 1px solid #e0dddd;
  padding: 20px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  margin: 50px;
}
.productcontainer .productionitem h3{
  font-size: 22px;
  font-weight: bold;
  margin: 30px 10px;
}
.productcontainer .productionitem p{
  text-indent: 2em;
  line-height: 30px;
}
.productcontainer .productionitem:hover h3{
  color: #4d8dee;
}
.productcontainer .productionitem:hover p{
  text-decoration: underline #080808;
}
/* 外层卡片容器 */
.img-card {
  width: 320px;
  border-radius: 12px;
  /* 整体圆角矩形 */
  overflow: hidden;
  /* 裁切超出圆角的遮罩 */
  position: relative;
  cursor: pointer;
}

/* 图片区域 占2/3高度 */
.card-img {
  width: 100%;
  height: 250px;
  object-fit: fill;
  display: block;
}

/* 底部文字说明区域 占1/3高度 */
.card-desc {
  padding: 16px;
  background: #fff;
}

.card-desc h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #333;
}

.card-desc p {
  margin: 0;
  font-size: 13px;
  color: #666;
}

/* 遮罩层 核心动画 */
.mask-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 102, 204, 0.6);
  /* 蓝色半透明 */
  /* 初始状态：完全藏在卡片底部外面 */
  transform: translateY(100%);
  transition: transform 0.4s ease;
  /* 弹出动画时长 */
  /* 遮罩文字居中 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* 鼠标移入卡片，遮罩向上滑出 */
.img-card:hover .mask-layer {
  transform: translateY(0);
}
/******荣誉资质板块******/
.honorqualification {
  width: 800px;
  margin: 10px auto;
  text-align: center;
}

.honorqualification h2 {
  font-size: 1.88rem;
  font-family: Lora, serif;
  margin-bottom: 20px;
}

.honorqualification p {
  color: #969595;
  font-size: 1.15rem;
  font-family: SimSun;
  position: relative;
}

.honorqualification p::before {
  border-left: 8rem solid #b4b3b6;
  border-right: 8rem solid #b4b3b6;
  content: "";
  height: 2px;
  left: 50%;
  top: 50%;
  transform: translateX(-50%);
  position: absolute;
  width: 19rem;
}
/******荣誉资质板块******/
.honorqualificationcontainer{
  width: 1600px;
  margin: 100px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
  height: 400px;
}
/* 外层卡片 固定尺寸 */
.case-card {
  width: 340px;
  height: 420px;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  cursor: pointer;
}

/* 图片区域 */
.card-img-box {
  width: 100%;
  height: 340px;
  overflow: hidden;
  position: relative;
}
.card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  transform: scale(1);
}
.case-card:hover .card-img-box img {
  transform: scale(1.1);
}

/* 十字半透明白色块容器 */
.cross-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}
/* 横向色块：上下拉伸 */
.cross-h {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 0;
  background: rgba(255, 255, 255, 0.25);
  transition: height 0.5s ease-out;
}
/* 纵向色块：左右拉伸 */
.cross-v {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  transition: width 0.5s ease-out;
}
/* hover十字铺满 */
.case-card:hover .cross-h {
  height: 100%;
}
.case-card:hover .cross-v {
  width: 100%;
}

/* 灰色遮罩，延迟出现，在十字上层 */
.mask {
  position: absolute;
  inset: 0;
  background: rgba(60,60,60,0.55);
  opacity: 0;
  z-index: 3;
  transition: opacity 0.3s ease 0.5s;
}
.case-card:hover .mask {
  opacity: 1;
  transition-delay: 0s;
}

/* 居中透明圆环容器，无背景 */
.center-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  opacity: 0;
  transition: all 0.3s ease 0.5s;
}
.case-card:hover .center-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition-delay: 0s;
}
/* SVG金字尺寸 */
.gold-svg {
  width: 86px;
  height: 86px;
}

/* 底部标题栏 */
.card-title {
  width: 100%;
  height: 80px;
  background: #222;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  transition: background-color 0.4s ease;
}
.case-card:hover .card-title {
  background: #28a745;
}