/* h1 产品介绍 */
.products-item {
  display: flex;
  flex-direction: column;
  row-gap: 1.25rem;
  padding: 3rem 2.25rem;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0px 2px 20px rgba(167, 167, 167, 0.15);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  min-height: 22.5rem;
}
.products-title {
  max-width: 100%;
  display: flex;
  align-items: center;
  font-weight: bolder;
  font-size: 1.25rem;
  column-gap: 1rem;
  white-space: nowrap;
}
.products-title img {
  width: 1.5rem;
}
.products-text {
  display: flex;
  flex-direction: column;
  row-gap: 0.3125rem;
  text-align: justify;
  font-size: 1rem;
  color: #5d6b81;
}
.products-item:hover {
  transform: translateY(-0.3125rem);
}

/* h1 产品介绍 */

/* h1 产品特点 */
.trait {
  width: 100%;
  background: url('/zhinengruanjian/images/产品特点背景.jpg') no-repeat;
  background-size: cover;
  position: relative;
  z-index: -1;
}
.trait::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 28, 41, 0.85);
  z-index: -1;
}
.card-rex {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.875rem;
  color: #5d6b81;
}
.card-rex h4 {
  color: #243855;
}
.card-rex p {
  text-align: justify;
}

/* h1 产品特点 */

/* h1 成功案例 */
.case-content {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  row-gap: 3.125rem;
  align-items: center;
}
/* tab导航 */
.tab-case-nav {
  display: flex;
  position: relative;
  flex-wrap: wrap;
  justify-content: center;
}
.tab-case-title {
  text-align: center;
  border-radius: 3.125rem;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  z-index: 1;
}
.tab-case-slider {
  position: absolute;
  left: 0;
  top: 0;
  background: #00bf80;
  border-radius: 1.875rem;
  width: 100%;
  height: 2.5rem;
  transition: all 0.3s ease-in-out;
  z-index: 0;
}
.tab-case-title:hover {
  color: #00bf80;
}
.tab-case-title.active {
  color: #fff;
}
/* tab导航 */

/* tab内容 */
.tab-case-content {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}
.tab-case-panel {
  display: none;
}
.tab-case-card img {
  border-radius: 0.625rem;
}
.tab-case-text {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 1.25rem;
  padding: 1.25rem 1.875rem;
  background: rgba(9, 11, 15, 0.7);
  color: #fff;
  border-radius: 0.625rem;
  opacity: 0;
  transition: all 0.5s ease-in-out;
  overflow: hidden;
}
.tab-case-text h5 {
  width: 100%;
  transform: translateY(-60px);
  transition: all 0.5s ease-in-out;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.tab-case-text p {
  text-align: justify;
  font-size: 0.875rem;
  transform: translateY(60px);
  opacity: 1;
  transition: all 0.5s ease-in-out;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tab-case-text:hover {
  opacity: 1;
}
.tab-case-text:hover h5 {
  transform: translateY(0);
}
.tab-case-text:hover p {
  transform: translateY(0);
}
.bottom-btn {
  position: relative;
  background: linear-gradient(220deg, #00bf80, #0194ff);
  padding: 0.625rem 2.25rem;
  border-radius: 1.875rem;
  color: #fff;
  transition: all 0.3s ease-in-out;
  z-index: 5;
}
.bottom-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: linear-gradient(220deg, #0194ff, #00bf80);
  border-radius: 1.875rem;
  opacity: 0;
  z-index: -1;
  transition: all 0.3s ease-in-out;
}
.bottom-btn:hover::after {
  opacity: 1;
}
/* tab内容 */
/* h1 成功案例 */

/* h1 关于我们 */
.about {
  min-height: 43.75rem;
  background: url('/zhinengruanjian/images/关于我们背景1.png') no-repeat;
  background-size: cover;
  margin: 0px auto;
  z-index: 0;
  position: relative;
}
.about::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-color: rgba(0, 28, 41, 0.6);
  z-index: -1;
}
.about-content {
  max-width: 58%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  row-gap: 3.125rem;
}
.about-content-text {
  display: flex;
  flex-direction: column;
  row-gap: 1.875rem;
  align-items: center;
  text-align: justify;
}
.about-btn {
  display: flex;
  justify-content: space-evenly;
}
.about-btn a {
  padding: 0.375rem 1.25rem;
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
  border-radius: 20px;
  background-color: #fff;
  color: #00bf80;
  transition: all 0.3s ease-in-out;
}
.about-btn a:hover {
  background-color: #00bf80;
  color: white;
}
.about-card {
  position: relative;
  margin-top: -10%;
}
.about-card-content {
  min-height: 22.5rem;
  background-color: #fff;
  border-radius: 10px;
  padding: 2.8125rem;
  display: flex;
  flex-direction: column;
  row-gap: 1.875rem;
  box-shadow: 0px 0px 1.25rem rgba(0, 0, 0, 0.08);
}
.about-card-text {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}
.inline {
  width: 4px;
  height: 30px;
  background-color: #00bf80;
}
.about-card-content p {
  color: #5d6b81;
  text-align: justify;
}

/* h1 关于我们 */

/* h1 公司数据 */
.company-data {
  background: #00bf80;
  padding: 2.625rem 0;
}
.company-content {
  display: flex;
  flex-wrap: wrap;
  row-gap: 1.25rem;
}
.company-element {
  min-width: 20%;
  color: #fff;
  display: flex;
  flex-direction: column;
  row-gap: 0.625rem;
}
.company-num {
  display: flex;
  column-gap: 0.625rem;
  align-items: flex-end;
  font-size: 1.25rem;
}
.company-num div {
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: 4rem;
  line-height: 4rem;
}
/* h1 公司数据 */

/* h1 新闻中心 */
/* 标题 */
.news-icon {
  position: absolute;
  right: 0;
  display: flex;
  column-gap: 1.25rem;
}
.news-icon .iconfont {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  width: 3rem;
  height: 3rem;
  background: rgb(235, 250, 247);
  color: #00bf80;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.news-icon .iconfont:hover {
  background: #00bf80;
  color: #fff;
}
/* 标题 */

/* 内容 */
.news {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.news-wrapper {
  position: relative;
  padding: 5px 0;
  overflow: hidden;
}
.news-card-list {
  display: flex;
  column-gap: 1.25rem;
  transition: all 0.5s ease-in-out;
}
.news-card {
  width: calc(20%);
  border-radius: 1rem;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
  flex-shrink: 0;
  cursor: pointer;
}
.news-card-image img {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  aspect-ratio: 8/5;
  object-fit: cover;
}
.news-card-image div {
  position: absolute;
  background: rgba(0, 0, 0, 0.6);
  top: 0;
  color: #fff;
  padding: 5px 14px;
  border-top-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  font-size: 0.875rem;
}
.news-card-content {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  row-gap: 2.25rem;
  background: #fff;
  box-shadow: 2px 2px 16px rgba(197, 197, 197, 0.2), -2px -2px 16px #ffffff;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}
.news-card-text {
  display: flex;
  flex-direction: column;
  row-gap: 1.25rem;
  color: #848a94;
}
.news-card-text div {
  font-size: 1.125rem;
  color: #5f5f5f;
  font-weight: bolder;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: all 0.3s ease-in-out;
}
.news-card-text p {
  font-size: 0.875rem;
  color: #848a94;
  text-align: justify;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #848a94;
  font-size: 0.875rem;
}
.news-card-btn {
  padding: 5px 1rem;
  font-size: 0.875rem;
  color: #fff;
  background: linear-gradient(to bottom, rgb(0, 191, 128), rgb(19, 182, 141));
  border-radius: 1.875rem;
  transition: all 0.3s ease-in-out;
}
.news-card:hover {
  transform: translateY(-5px);
}
/* Add Swiper pagination styles */
.swiper-pagination {
  position: relative;
  margin-top: 30px;
}
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #00bf80;
  opacity: 0.3;
}
.swiper-pagination-bullet-active {
  opacity: 1;
}

/* h1 新闻中心 */

/* h1 产品介绍遮罩 */
.products-modal {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.3);
  width: 100%;
  height: 100%;
  z-index: 9999;
  cursor: pointer;
  display: none;
}
.products-modal-box {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.products-modal-item {
  width: 60%;
  min-height: 50%;
  background: #fff;
  border-radius: 1.25rem;
}
.modal-box-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #243855;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
.modal-box-title .icon-close {
  transition: all 0.3s ease-in-out;
}
.modal-box-title .icon-close:hover {
  color: #00bf80;
}
.modal-box-content {
  color: #5d6b81;
  text-align: justify;
}
.modal-column {
  display: flex;
  flex-direction: column;
  row-gap: 1.25rem;
}
.modal-row {
  display: flex;
  column-gap: 1.25rem;
}

.modal-content-left h5 {
  color: #00bf80;
}
/* h1 产品介绍遮罩 */

/* h1 媒体查询 */

/* h2 最大1200 */
@media (max-width: 1200px) {
  /* 产品介绍 */
  .products-item {
    min-height: 22.5rem;
  }
  /* 产品介绍 */

  /* 成功案例 */
  .tab-case-text p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* 成功案例 */

  /* 新闻中心 */
  .news-card {
    width: calc(30%);
  }
  /* 新闻中心 */
}
/* h2 最大992 */
@media (max-width: 992px) {
  /* 产品介绍 */
  .products-item {
    min-height: 20.625rem;
  }
  /* 产品介绍 */

  /* 成功案例 */
  .tab-case-text p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* 成功案例 */

  /* 关于我们 */
  .about-content {
    min-width: 100%;
  }
  .about-card {
    position: relative;
    margin-top: -15%;
  }
  /* 关于我们 */

  /* 公司数据 */
  .company-element {
    min-width: 33%;
  }
  /* 公司数据 */

  /* 新闻中心 */
  .news-card {
    width: calc(35%);
  }
  /* 新闻中心 */

  /* 产品介绍遮罩 */
  .modal-row {
    display: flex;
    flex-direction: column;
    column-gap: 1.25rem;
  }
  /* 产品介绍遮罩 */
}
/* h2 最大768 */
@media (max-width: 768px) {
  /* 产品介绍 */
  .products-item {
    min-height: 17.8125rem;
    pointer-events: none;
    cursor: pointer;
  }
  /* 产品介绍 */

  /* 成功案例 */
  .tab-case-text p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  /* 成功案例 */

  /* 公司数据 */
  .company-element {
    min-width: 50%;
  }
  /* 公司数据 */

  /* 新闻中心 */
  .news-card {
    width: calc(50%);
  }
  /* 新闻中心 */
}
/* h1 媒体查询 */
