﻿@charset "UTF-8";
@import "css.css";
@import "../font/iconfont.css";
/* 初始化所有样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Helvetica, "PingFang SC", "Microsoft Yahei", sans-serif;
  font-size: 14px;
}

a {
  text-decoration: none;
  color: #181818;
}

img {
  width: 100%;
  display: block;
}

:root {
  --primary-color: #ff434f;
  --secondary-color: #e3e3e3;
  --text-color-lightest: #e7e9ec;
  --text-color-darker: #2e2e2e;
  --text-color-dark: #494949;
  --text-color-gray: #8b8b8b;
  --text-color-dark-gray: #727272;
  --text-color-light-gray: #c6c6c6;
  --backdrop-color: rgba(42, 42, 42, 0.7);
}

/* 轮播图 */
.glide {
  position: relative;
  z-index: 50;
}

.glide__slide img {
  width: 100%;
  height: 100%;
  /* 自动等比例缩放 */
  object-fit: cover;
  display: block;
}

.glide__slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-caption.left {
  max-width: 80vw;
  text-align: left;
}

.slide-caption > * {
  opacity: 0;
}

.explore-btn {
  padding: 14px 32px;
  background-color: var(--primary-color);
  border: 0;
  border-radius: 4px;
  color: var(--text-color-lightest);
  font-size: 18px;
  cursor: pointer;
  outline: none;
}

/* 内容区域 */
/* 通用样式 */
.content-wrapper {
  /* 一维排版 */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-top: 40px;
}

section {
  /* 二维 */
  display: grid;
  /* 每个列的对齐方式 */
  justify-items: center;
  max-width: 1280px;
  padding: 0 80px;
}

.section-bg {
  position: relative;
}

.section-bg::before {
  content: "";
  display: block;
  position: absolute;
  background-color: #f9fbfb;
  width: 100vw;
  height: 100%;
  z-index: -1;
}

.title1 {
  font-size: 34px;
  color: var(--text-color-darker);
}

.title1::after {
  content: "";
  display: block;
  width: 80%;
  height: 4px;
  background-color: var(--primary-color);
  margin-top: 14px;
  transform: translateX(10%);
}

.intro {
  margin: 14px 0 14px 0;
  /* text-indent: 2em; */
  font-size: 14px;
  color: var(--text-color-dark-gray);
}

/* 产品体系 */
.team-intro {
  padding-bottom: 32px;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 24px;
  
}

.team-member {
  background-color: white;
  box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 28px;
  transition: 0.4s;
  display: grid;
  justify-items: center;
  margin-right: 20px;
}

.profile-image {
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.team-member .name {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-color-dark);
}

.team-member:hover {
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0px 0px 36px rgba(0, 0, 0, 0.1);
}

.Seconds {
  max-width: unset;
  width: 100vw;
  height: 100%;
  background-image: url(../images/Second_bj.png);
  background-size: cover;
  background-position: center;
  grid-template-columns: repeat(4, minmax(auto, 220px));
  justify-content: center;
  align-items: center;
  /* 子元素绝对定位时需要有相对的父级元素 */
  position: relative;
  z-index: 20;
  display: block;
}

/* 产品展示 */
.showcases {
  max-width: unset;
  padding: 0px;
  padding-top: 45px;
}

.filter-btns {
  

}

.filter-btn {
  margin: 0 7px;
  background-color: var(--secondary-color);
  border: 0;
  color: var(--text-color-dark-gray);
  padding: 8px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.4s;
}

.filter-btn:focus,
.filter-btn:active {
  outline: none;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

.showcases .cases {
  width: 100vw;
    box-sizing: border-box;
    /*padding: 10px;*/
    display: flex;
    /*justify-content: flex-start;*/
    justify-content: space-between;
    flex-wrap: wrap;
}

.showcases .case-item {
  width: 25vw;
  height: 20vw;
  overflow: hidden;
  margin-left: 0px;
  margin-top: 30px;
  border: 5px solid #fff;
}

.case-item img {
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 资讯公告 */
.company-activities {
  margin-top: 45px;
}

.activities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
}

.activity {
  box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.1);
  padding: 24px;
  transition: 0.4s;
  margin-left: 10px;
}

.act-image-wrapper {
  height: 255px;
  overflow: hidden;
  margin: -24px;
  margin-bottom: 0;
}

.act-image-wrapper img {
  min-height: 300px;
  object-fit: cover;
  display: block;
}

.activity .meta {
  margin-top: 20px;
  margin-bottom: 12px;
  color: var(--text-color-light-gray);
  font-size: 12px;
  display: flex;
}

.activity .meta > p:last-child {
  margin-left: 36px;
}

.act-title {
  color: var(--text-color-dark);
  font-size: 18px;
  margin-bottom: 16px;
}

.activity article {
  color: var(--text-color-gray);
  letter-spacing: 0.54px;
  line-height: 24px;
}

.read-more-btn {
  border: 0;
  color: white;
  background-color: var(--primary-color);
  padding: 6px 14px;
  margin-top: 24px;
  border-radius: 4px;
}

.activity:hover {
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0px 0px 36px rgba(0, 0, 0, 0.1);
}

/* 关于我们 */
.about-us {
  margin-top: 45px;
  padding-bottom: 32px;
}

.features {
  display: grid;
  /* 重复几次，重复的值  1fr：容器宽度的1/2*/
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 126px 126px;
  column-gap: 5vw;
  min-height: 600px;
}

.feature {
  grid-template-areas: "icon title"
 "icon content";
  grid-template-columns: 568px 1fr;
  grid-template-rows: 1fr 2fr;
  display: block;
}

.wz {
  line-height: 2.4em;
  font-size: 1.3em;
  font-family: "微软雅黑";
  display: block;
  height: 100%;
}

.wztp {
  min-height: 300px;
  object-fit: cover;
  display: block;
  width: 100%;
  margin-left: 20px;
  height: 100%;
}

/* 工程应用 */
.service {
  padding-top: 45px;
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 24px;
}

.service-item {
  background-color: white;
  box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.2);
  text-align: center;
  padding-bottom: 28px;
  transition: 0.4s;
  display: grid;
  justify-items: center;
  margin-right: 40px;
  margin-bottom: 20px;
  box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.06);
}

.profile-image1 {
  overflow: hidden;
}

.profile-image1 img {
 
  object-fit: cover;
  object-position: top center;
  display: block;
}

.team-member .name1 {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-color-dark);
  margin-top: 20px;
}

.team-member:hover {
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0px 0px 36px rgba(0, 0, 0, 0.1);
}

/* 底部信息 */
footer {
  margin-top: 80px;
  background-color: #181818;
  display: grid;
  justify-items: center;
  padding-top: 72px;
  padding-bottom: 24px;
}

.footer-menus {
  width: 100%;
  max-width: 1280px;
  display: grid;
  grid-template-columns: 2fr repeat(4, 1fr);
  padding: 0 80px;
  position: relative;
}

.menu-title {
  font-size: 16px;
  color: white;
  font-weight: 500;
  margin-bottom: 20px;
}

.contact-us {
  justify-self: start;
  color: var(--text-color-lightest);
}

.contact-us p:not(:first-child) {
  padding-bottom: 16px;
}

.menu-items li {
  list-style: none;
  padding-bottom: 8px;
}

.menu-items li a {
  text-decoration: none;
  font-weight: 300;
  color: var(--text-color-lightest);
}

.icp-info {
  margin-top: 24px;
  margin-bottom: 16px;
}

.icp-info,
.rights {
  grid-column: 1 / -1;
  justify-self: center;
  color: white;
}

.icp-info a,
.rights a {
  color: #fff;
}

.scroll-to-top {
  display: none;
  position: relative;
  z-index: 300;
}

.scroll-to-top a {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  position: fixed;
  bottom: 60px;
  right: 30px;
}

@media (max-width: 1200px) {
  header nav {
    display: none;
  }
  header .burger {
    display: block;
    position: relative;
    width: 20px;
    height: 6px;
    justify-self: end;
    cursor: pointer;
  }
  .burger-line1,
  .burger-line2,
  .burger-line3 {
    width: 20px;
    height: 2px;
    background-color: #080808;
  }
  .burger-line1 {
    position: absolute;
    top: -6px;
  }
  .burger-line3 {
    position: absolute;
    top: 6px;
  }
  header.open nav {
    display: grid;
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    grid-auto-rows: max-content;
    justify-items: end;
    padding: 0 40px;
    opacity: 0;
    animation: slideDown 0.6s ease-out forwards;
    width: 100%;
    height: 100%;
  }
  header.open nav > * {
    font-size: 18px;
    margin: 4px 0;
    opacity: 0;
    color: var(--text-color-darker);
    animation: showMenu 0.5s linear forwards 0.4s;
  }
  header.opem nav > i.fas {
    margin-top: 10px;
  }
  header.open .burger-line1,
  header.open .burger-line2,
  header.open .burger-line3,
  header.sticky .burger-line1,
  header.sticky .burger-line2,
  header.sticky .burger-line3 {
    background-color: var(--text-color-darker);
    transform: 0.4s ease;
  }
  header.open .burger-line1 {
    transform: rotate(45deg) translate(3px, 5px);
  }
  header.open .burger-line2 {
    transform: translateX(5px);
    opacity: 0;
  }
  header.open .burger-line3 {
    transform: rotate(-45deg) translate(3px, -5px);
  }
  header.open .logo {
    z-index: 40;
    color: var(--text-color-darker);
  }
  @keyframes slideDown {
    from {
      height: 0;
      opacity: 0;
    }
    to {
      height: 100vh;
      padding-top: 80px;
      opacity: 1;
    }
  }
  @keyframes showMenu {
    from {
      opacity: 0;
      transform: translateY(-1vh);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .service-item .service-title {
    font-size: 20px;
  }
  .service-item .service-content {
    font-size: 14px;
    line-height: 24px;
  }
  .team-members {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
    column-gap: 6vw;
  }
  .activities {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 36px;
  }
}

@media (max-width: 992px) {
  .slide-caption h1 {
    font-size: 48px;
  }
  .slide-caption h3 {
    font-size: 18px;
  }
  .features,
  .services {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: unset;
  }
  .data-section {
    grid-template-columns: repeat(2, minmax(200px, auto));
    padding: 24px 0;
    height: auto;
    row-gap: 24px;
    background-size: 200%;
  }
  .showcases .case-item {
    width: calc(100vw/3);
  }
  footer {
    margin-top: 14px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .icp-info {
    margin: 0px;
  }
  .footer-menu {
    display: none;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 0px 20px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .header nav {
    height: 79px;
  }
  .header nav a {
    line-height: 79px;
  }
  section,
  .footer-menus {
    padding: 0 40px;
  }
  .footer-menus {
    grid-template-columns: 2fr repeat(2, 1fr);
    row-gap: 24px;
  }
  .contact-us {
    grid-row: 1 / 3;
  }
  .footer-menus {
    text-align: right;
  }
  .activities {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }
  .data-section {
    grid-template-columns: 1fr;
    background-size: 300%;
  }
  .team-members {
    grid-template-columns: minmax(200, 400);
  }
  .features,
  .services {
    grid-template-columns: 1fr;
  }
  .showcases .case-item {
    width: calc(100vw /2);
    height: 30vw;
  }
  footer {
    margin-top: 14px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .icp-info {
    margin: 0px;
  }
  .footer-menu {
    display: none;
  }
}

@media (max-width: 576px) {
  .header {
    padding: 0px 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .header nav {
    height: 59px;
  }
  .header nav a {
    line-height: 59px;
  }
  .slide-caption h1 {
    font-size: 28px;
  }
  .slide-caption h3 {
    font-size: 14px;
  }
  .explore-btn {
    font-size: 14px;
    padding: 8px 18px;
  }
  .showcases .case-item { width: calc(100vw /2); height: 60vw;

 }  .services{
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: unset; } 
.filter-btn{
width: calc(100vw);}
  .footer-menus {
    grid-template-columns: 1fr;
  }
  .footer-menus {
    justify-self: start;
    text-align: left;
  }
  footer {
    margin-top: 14px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .icp-info {
    margin: 0px;
  }
  .footer-menu {
    display: none;
  }
}

.name1 {
  padding: 0px 10px;
  box-sizing: border-box;
}

@media (min-width: 1280px) {
	.showcases{
		max-width:1280px;
		margin: 0px auto;
		padding-bottom: 30px;
	}
	.cases{
		max-width:1280px;
	}
	.showcases .case-item {
	    width: 300px;
	    height: 220px;
	    overflow: hidden;
	    margin-left: 0px;
	    /*margin: 20px;*/
	    border: 5px solid #fff;
	}

}
