/* 头部 */
* {
  margin: 0;
  padding: 0;
}

body {
  height: 100%;
  /* 确保至少占满整个视口的高度 */
  margin: 0;
  /* 移除默认的边距 */
  padding: 0;
  /* 移除默认的内边距 */
  font-family: arial, helvetica;
  color: #fff;
  text-align: center;
  overflow: hidden;
  /* background: url("../imgs/bg.png") no-repeat center center / cover; */
}

.logo {
  position: fixed;
  left: 30px;
  top: 40px;
  width: 260px;
  z-index: 999;
  height: auto;
  object-fit: contain;
}

#fp-nav ul li a span,
.fp-slidesNav ul li a span {
  background: white;
}

.fp-overflow {
  height: 100vh;
}

#menu {
  position: fixed;
  top: 32px;
  left: 0;
  z-index: 999;
  width: 100%;
}

#menu li {
  display: inline-block;
  list-style: none;
  /* 移除默认的列表样式 */
  margin-right: 50px;
}

/* 鼠标悬停状态 */
/* 鼠标悬停时显示下划线 */
/* #menu li:hover {
  border-bottom: 2px solid black; 
} */

#menu li a {
  color: #ffffff;
  font-size: 18px;
}

/* 选中状态，假设有 JavaScript 脚本用来添加 'active' 类到当前选中的菜单项 */
/* 选中状态的样式 */
#menu li.active {
  position: relative;
  /* 用于定位伪元素 */
  padding-bottom: 10px;
  /* 在a标签和底线之间添加空间 */
}

#menu li.active a {
  display: block;
  /* 让a标签填满li，以便padding-bottom有效 */
}

#menu li.active::after {
  /* 用伪元素创建底部边线 */
  content: "";
  /* 伪元素的内容为空 */
  position: absolute;
  /* 绝对定位 */
  left: 0;
  right: 0;
  bottom: 0;
  /* 放置在li的底部 */
  border-bottom: 2px solid rgba(56, 158, 208, 1);
  /* 边框作为横线 */
  border-radius: 2px;
  /* 圆角 */
}

.fp-section:nth-child(1) {
  background: url("../imgs/bg.png") no-repeat center center / cover;
}

.fp-section:nth-child(2) {
  background: rgba(3, 3, 3, 0.6) no-repeat center center / cover;
}

/* .fp-section:nth-child(3) {
  background: url("../imgs/bg_dark.png") no-repeat center center / cover;
} */

.fp-section:nth-child(3) {
  background: rgba(3, 3, 3, 0.6) no-repeat center center / cover;
}

.fp-section:nth-child(4) {
  background: url("../imgs/bg_dark.png") no-repeat center center / cover;
}

.fp-section:nth-child(5) {
  background: url("../imgs/bg_dark.png") no-repeat center center / cover;
}

/******************************* 首页 ************************************/
.home-content {
  margin-top: -10%;
  margin-left: 10%;
}

.home-logo {
  width: 450px;
  height: auto;
  object-fit: contain;
}

.mouse {
  width: 25px;
  height: auto;
  margin-top: 5px;
  margin-bottom: 5px;
  object-fit: contain;
}

.mouse_arrow {
  width: 8px;
  height: auto;
  object-fit: contain;
}

.mouse_arrow:hover {
  transform: scale(1.5);
  /* 放大到原始大小的110% */
  transition: transform 0.3s ease;
  /* 设置变形的过渡效果 */
}

/******************************* 产品 ************************************/
.product-content {
  height: 100%;
  padding-top: 120px;
  padding-left: 10%;
  box-sizing: border-box;
}

.product-title {
  padding-bottom: 2px;
  /* 在a标签和底线之间添加空间 */
}

.product-sub-title {
  padding-bottom: 10px;
  /* 在a标签和底线之间添加空间 */
}

.product-title::after {
  /* 用伪元素创建底部边线 */
  content: "";
  /* 伪元素的内容为空 */
  display: inline-block;
  /* 使用inline-block以适应文本宽度 */
  width: 100%;
  /* 设置宽度为100%以覆盖文本宽度 */
  position: absolute;
  /* 绝对定位 */
  left: 0;
  right: -20px;
  bottom: 0;
  /* 放置在li的底部 */
  border-bottom: 2px solid rgba(56, 158, 208, 1);
  /* 边框作为横线 */
  border-radius: 2px;
  /* 圆角 */
}

.product-sub-title::after {
  /* 用伪元素创建底部边线 */
  content: "";
  /* 伪元素的内容为空 */
  display: inline-block;
  /* 使用inline-block以适应文本宽度 */
  width: 100%;
  /* 设置宽度为100%以覆盖文本宽度 */
  position: absolute;
  /* 绝对定位 */
  left: 0;
  right: 0;
  bottom: 0;
  /* 放置在li的底部 */
  border-bottom: 2px solid rgba(56, 158, 208, 1);
  /* 边框作为横线 */
  border-radius: 2px;
  /* 圆角 */
}

.product-carousel {
  margin-top: 35px;
  overflow-x: hidden;
  overflow-y: hidden;
  white-space: nowrap;
  /* 防止卡片折行 */
  display: grid;
  grid-auto-flow: column;
  /* 水平方向上的自动网格流 */
  column-gap: 28px;
  /* 卡片之间的间隙 */
  scroll-behavior: smooth;
  /* 在滚动时有平滑过渡 */
  justify-items: start;
  /* 网格项沿着行轴（即水平方向）的对齐方式居左对齐 */
}

.product-carousel>*:last-child {
  margin-right: 20px;
  /* 设定需要的间距值 */
}

.product-card {
  width: 330px;
  height: 520px;
  background: #eee;
  flex-shrink: 0;
  overflow: visible;
  /* 确保放大后伪元素不会被隐藏 */
  position: relative;
  /* 如果还没设置，需要有相对定位来支持绝对定位的子元素 */
  display: inline-block;
  /* 确保元素是可缩放的 */
  border-radius: 0 0 4px 4px;
  /* 圆角 */
  /* background: url("../imgs/bg_shuzilieren.png") no-repeat center center / cover; */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.product-card:hover>* {
  transform-origin: top left;
}

.product-card:hover::after {
  transform: scale(1.02);
  bottom: calc(8px * (1 - 0.9524)*10);
}

.product-desc {
  padding: 18px 15px 24px;
}

.product-card::after {
  /* 用伪元素创建底部边线 */
  content: "";
  /* 伪元素的内容为空 */
  position: absolute;
  /* 绝对定位 */
  left: 0;
  right: 0;
  bottom: 0;
  /* 放置在li的底部 */
  height: 6px;
  /* 设置伪元素的高度为2px，模拟边框的厚度 */
  background: linear-gradient(90deg,
      #a8cee0 0%,
      #99cbe2 13%,
      #89c7e5 28%,
      #72c2e9 48%,
      #5cbdec 67%,
      #47b8ef 86%,
      #38b4f2 100%);
  border-radius: 0 0 3px 3px;
  /* 圆角 */
}

.div_arrow_product {
  position: relative;
  width: 28px;
  height: 28px;
  background: rgba(56, 158, 208, 1);
  border-radius: 32px;
}

.img_arrow_product {
  width: 6px;
  height: auto;
  object-fit: contain;
}

.overlay {
  display: none;
  position: absolute; /* 或者 absolute，取决于你需要相对于什么定位 */
  top: -1px;
  left: -1px;
  width: 30px;
  height: 30px;
  border-radius: 32px;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色 */
  z-index: 10; /* 确保它显示在其他元素之上 */
}

.product-modal {
  display: none;
  /* 初始状态隐藏 */
  position: absolute;
  /* 绝对定位 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* 半透明背景 */
  z-index: 9999;
  /* 确保盖住其他内容 */
}

.modal-content {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 80vh;
  background-color: #383838;
  box-shadow: 0px 5px 10px #000000;
  box-sizing: border-box;
  z-index: 9999;
  color: #ffffff;
  border-radius: 5px;
  /* 可选：圆角效果 */
}

.modal-content-info {
  flex: 1;
  /* 占据剩余空间 */
  overflow-y: auto;
  /* 内容溢出时滚动 */
  padding-right: 19px;
}

.modal-content-info::-webkit-scrollbar {
  width: 5px;
  /* 滚动条的宽度 */
}

.modal-content-info::-webkit-scrollbar-thumb {
  background-color: rgba(105, 105, 105, 1);
  /* 滚动条滑块的颜色 */
  border-radius: 10px;
  /* 可选：圆角效果 */
  border: 3px solid transparent;
  /* 透明边框以显示间隙 */
}

.modal-content-info::-webkit-scrollbar-thumb:hover {
  background-color: rgba(105, 105, 105, 1);
  /* 当鼠标悬停时滑块的颜色 */
}

.modal-content-info::-webkit-scrollbar-button {
  display: none !important;
  /* 强制隐藏滚动条上的上下箭头 */
}

.model-close {
  width: 40px;
  height: auto;
  object-fit: contain;
  position: absolute;
  top: 15px;
  right: 10px;
  cursor: pointer;
  color: #fff;
}

.product-table {
  width: 100%;
  border-collapse: separate;
  /* 使用 separate 便于控制间距 */
  border-spacing: 1px 0;
  /* 表头之间添加1px间距 */
}

/* 表头样式 */
.product-table th {
  position: sticky;
  top: 0;
  background-color: #696969;
  color: white;
  text-align: left;
  padding-left: 15px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 14px;
  vertical-align: middle;
  /* 垂直居中 */
}

/* 表格内容样式 */
.product-table td {
  padding: 10px 18px;
  /* 左右边距 */
  text-align: left;
  font-size: 12px;
  vertical-align: middle;
  /* 垂直居中 */
}

/* 内容之间的分隔线 */
.product-table .divider-row td {
  border-top: 1px solid rgba(105, 105, 105, 1);
}

/* 模块之间的分隔线 */
.product-table .module-divider td {
  height: 1px;
  background-color: rgba(105, 105, 105, 1);
  /* 核心模块之间的分隔线颜色 */
  padding: 0;
}

.modal-content::after {
  /* 用伪元素创建底部边线 */
  content: "";
  /* 伪元素的内容为空 */
  position: absolute;
  /* 绝对定位 */
  left: 0;
  right: 0;
  bottom: 0;
  /* 放置在li的底部 */
  height: 6px;
  /* 设置伪元素的高度为2px，模拟边框的厚度 */
  background: linear-gradient(90deg,
      #a8cee0 0%,
      #99cbe2 13%,
      #89c7e5 28%,
      #72c2e9 48%,
      #5cbdec 67%,
      #47b8ef 86%,
      #38b4f2 100%);
  border-radius: 0 0 3px 3px;
  /* 圆角 */
}

/****************************************** 行业案例 *************************************/
.sample-modal {
  position: absolute;
  /* 绝对定位 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(0, 0, 0, 0.5); */
  /* z-index: 9999;  */
}

.sample-modal-info {
  display: flex;
  flex-direction: row;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 88%;
  height: 70vh;
  box-sizing: border-box;
  z-index: 9999;
  color: #ffffff;
}

.sample-tab {
  margin-top: 20px;
}

.sample-tab li {
  padding: 12px 20px;
  margin-bottom: 14px;
  opacity: 1;
  border-radius: 5px 0px 0px 25px;
  background: linear-gradient(90deg, #a1c9dc 0%, #9bc3d6 100%);
}

.sample-tab li a {
  color: white;
  font-size: 12px;
  display: block; /* 确保<a>元素是块级元素 */
  text-align: center; /* 文本居中对齐 */
  white-space: nowrap; /* 避免自动换行 */
}

.sample-tab li.active {
  color: #80808b;
  background: #9cc4d6;
}

.sample-modal-content {
  display: flex;
  position: relative;
  flex-direction: column;
  flex: 1;
  background-color: #383838;
}

.sample-modal-item {
  background-color: #383838;
  box-shadow: 0px 5px 10px #000000;
  color: #ffffff;
  border-radius: 5px;
  /* 可选：圆角效果 */
}

.img-overview {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.swiper-slide::after {
  /* 用伪元素创建底部边线 */
  content: "";
  /* 伪元素的内容为空 */
  position: absolute;
  /* 绝对定位 */
  left: 0;
  right: 0;
  bottom: 0;
  /* 放置在li的底部 */
  height: 6px;
  /* 设置伪元素的高度为2px，模拟边框的厚度 */
  background: linear-gradient(90deg,
      #a8cee0 0%,
      #99cbe2 13%,
      #89c7e5 28%,
      #72c2e9 48%,
      #5cbdec 67%,
      #47b8ef 86%,
      #38b4f2 100%);
  border-radius: 0 0 3px 3px;
  /* 圆角 */
}

.sample-modal-content-info {
  flex: 1;
  /* 占据剩余空间 */
  overflow-y: auto;
  /* 内容溢出时滚动 */
}

.modal-content-info::-webkit-scrollbar {
  width: 5px;
  /* 滚动条的宽度 */
}

.modal-content-info::-webkit-scrollbar-thumb {
  background-color: rgba(105, 105, 105, 1);
  /* 滚动条滑块的颜色 */
  border-radius: 10px;
  /* 可选：圆角效果 */
  border: 3px solid transparent;
  /* 透明边框以显示间隙 */
}

.modal-content-info::-webkit-scrollbar-thumb:hover {
  background-color: rgba(105, 105, 105, 1);
  /* 当鼠标悬停时滑块的颜色 */
}

.modal-content-info::-webkit-scrollbar-button {
  display: none !important;
  /* 强制隐藏滚动条上的上下箭头 */
}

.sample-table {
  width: 100%;
  border-collapse: separate;
  /* 使用 separate 便于控制间距 */
  border-spacing: 1px 0;
  /* 表头之间添加1px间距 */
}

/* 表头样式 */
.sample-table th {
  position: sticky;
  top: 0;
  background-color: #696969;
  color: white;
  text-align: left;
  padding-left: 15px;
  padding-top: 8px;
  padding-bottom: 8px;
  font-size: 14px;
  vertical-align: middle;
  /* 垂直居中 */
}

/* 表格内容样式 */
.sample-table td {
  padding: 10px 18px;
  /* 左右边距 */
  text-align: left;
  font-size: 12px;
  vertical-align: middle;
  /* 垂直居中 */
}

/* 内容之间的分隔线 */
.sample-table .divider-row td {
  border-top: 1px solid rgba(105, 105, 105, 1);
}

/* 模块之间的分隔线 */
.sample-table .module-divider td {
  height: 1px;
  background-color: rgba(105, 105, 105, 1);
  /* 核心模块之间的分隔线颜色 */
  padding: 0;
}

.sample-robot {
  width: 80px;
  height: auto;
  object-fit: contain;
}

.sample-wave {
  height: 25px;
  width: 100px;
  border-radius: 50px;
  object-fit: cover;
}

.sample-overview-charts {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
  opacity: 1;
  overflow: hidden;
  border-radius: 5px;
  background: rgba(64, 64, 64, 1);
  border: 1px solid rgba(105, 105, 105, 1);
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
}

.energy-chart {
  width: 100%;
  height: 0;
  flex: 1;
  /* height: 270px; */
  /* box-sizing: border-box; */
}

.bg-sample-img-its {
  margin-top: 40px;
  margin-bottom: 40px;
  margin-left: -80px;
  background-image: url("../imgs/bg_img_its.png");
  /* 设置背景图 */
  background-size: auto 80%;
  /* 高度固定，宽度自适应 */
  background-repeat: no-repeat;
  /* 禁止重复 */
  background-position: left center;
  /* 从左边开始显示 */
  overflow: hidden;
  /* 超出部分隐藏 */
}

.bg-sample-img-shuzilunsheng {
  margin-top: 40px;
  margin-bottom: 40px;
  margin-left: -80px;
  background-image: url("../imgs/bg_img_shuzilunsheng.png");
  /* 设置背景图 */
  background-size: auto 80%;
  /* 高度固定，宽度自适应 */
  background-repeat: no-repeat;
  /* 禁止重复 */
  background-position: left center;
  /* 从左边开始显示 */
  overflow: hidden;
  /* 超出部分隐藏 */
}

.sample-center-img {
  position: absolute;
  /* 使用绝对定位 */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* 通过平移将图像居中到指定位置 */
  width: auto;
  /* 根据需要自适应宽度 */
  height: auto;
  /* 根据需要自适应高度 */
  max-width: 100%;
  /* 确保图像不会超出容器宽度 */
  max-height: 100%;
  /* 确保图像不会超出容器高度 */
}

/*#energy-chart {*/
/*  height: 100%;*/
/*  width: 100%;*/
/*  box-sizing: border-box; !* 使用 border-box 算法 *!*/
/*}*/
/*关于我们*/
.about-content {
  margin-right: 10%;
  /*margin-left: 10%;*/
  /*margin-top: 120px;*/
}

.about-content .content {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  grid-gap: 24px;
}

.about-content .content .content-item {
  background: #383838;
  border-radius: 5px;
  position: relative;
}

.about-content .content .about-title {
  height: 92px;
  text-align: left;
  padding-left: 22px;
  line-height: 92px;
}

.about-content .content .content-item .line {
  height: 9px;
  background: #2b2b2b;
}

.about-content .content .content-item .content-text {
  padding: 30px;
}

.about-content .content .content-item .content-text .mb24 {
  margin-bottom: 24px;
}

.about-content .content .content-item .content-text img {
  vertical-align: text-top;
}

.gradient-border {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  /* 确保内容不会溢出边框 */
}

.gradient-border::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  /*border-radius: none;*/
  background-image: linear-gradient(90deg,
      #a8cee0 0%,
      #99cbe2 13%,
      #89c7e5 28%,
      #72c2e9 48%,
      #5cbdec 67%,
      #47b8ef 86%,
      #38b4f2 100%);
}

/*技术团队*/
.team-content {
  margin-right: 10%;
  margin-left: 10%;
  margin-top: 120px;
  height: calc(100% - 240px);
}

.team-content .teamSwiper {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
  margin-top: 20px;
}

.team-content .swiper-slide {
  text-align: center;
  font-size: 18px;

  /* Center slide text vertically */
  display: flex;
  /*justify-content: center;*/
  align-items: flex-end;
  box-sizing: border-box;
  background: #383838;
}

.team-content .swiper-slide .slide-left {
  width: 34%;
}

.team-content .swiper-slide .slide-right {
  width: 66%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.team-content .swiper-slide .slide-right img {
  width: 100%;
}

.team-content .swiper-slide .slide-left .name {
  font-size: 36px;
  margin-bottom: 10px;
  padding-left: 15px;
}

.team-content .swiper-slide .slide-left .position {
  font-size: 20px;
  height: 70px;
  padding-left: 15px;
}

.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: #fff;
  width: 32px;
  height: 32px;
  background: #389ed0;
  border-radius: 50%;
}

.swiper-button-next {
  right: 7%;
}

.swiper-button-next:after {
  font-size: 20px;
  margin-left: 4px;
}

.swiper-button-prev {
  left: 7%;
}

.swiper-button-prev:after {
  font-size: 20px;
  margin-right: 4px;
}

.overlay-video {
  position: absolute;
  right: 0;
  bottom: 0;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-size: 100% 100%;
  background-color: black;
  /* in case the video doesn't fit the whole page*/
  background-image:
    /* our video */
  ;
  background-position: center center;
  background-size: cover;
  object-fit: cover;
  /*cover video background */
  z-index: -100;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.layer {
  /*
  * Preventing flicker on some browsers
  * See http://stackoverflow.com/a/36671466/1081396  or issue #183
  */
  -webkit-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

/*ITS*/
.its-content {
  padding-right: 10%;
  height: 100%;
  padding-bottom: 120px;
}

.its-content .its-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-gap: 12px;
}

.its-box .its-box-item .its-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

.its-box .its-box-item .its-item:hover {
  transform: scale(1.05);
}

.its-box-item .its-item .top {
  height: 54px;
  line-height: 54px;
  text-align: left;
  padding-left: 24px;
  font-size: 20px;
  font-weight: 700;
}

.its-box-item .its-item .bottom {
  height: 46px;
  line-height: 46px;
  display: flex;
  padding: 0 24px;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.8);
  align-items: center;
}

.its-box-item .its-item .bottom .btn {
  border-radius: 5px;
  border: 1px solid #ffffff;
  height: 25px;
  line-height: 25px;
  padding: 0 10px;
  cursor: pointer;
}

.its-box-item .its-item .bottom .btn:hover {
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.its-box-item .its-item.bg1 {
  background: url("../imgs/its1_bg.png");
}

.its-box-item .its-item.bg2 {
  background: url("../imgs/its2_bg.png");
}

.its-box-item .its-item.bg3 {
  background: url("../imgs/its3_bg.png");
}

.its-box-item .its-item.bg4 {
  background: url("../imgs/its4_bg.png");
}

.its-box-item .its-item.bg5 {
  background: url("../imgs/its5_bg.png");
}

.its-box-item .its-item.bg6 {
  background: url("../imgs/its6_bg.png");
}

.its-box-item .its-item.bg7 {
  background: url("../imgs/its7_bg.png");
}

.its-box-item .its-item.bg8 {
  background: url("../imgs/its8_bg.png");
}

.its-box-item .its-item.bg9 {
  background: url("../imgs/its9_bg.png");
}

.swiper-container .swiper-scrollbar {
  position: absolute;
  right: 10px; /* 控制滚动条与容器右侧的距离 */
  top: 0;
  height: 100%;
  background-color: rgba(105, 105, 105, 1);
  /* 滚动条滑块的颜色 */
  border-radius: 10px;
  /* 可选：圆角效果 */
  border: 3px solid transparent;
  border-radius: 4px; /* 圆角 */
  z-index: 9999;
  background: transparent; /* 没有背景 */
}
