* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Helvetica, 'PingFang SC', 'Microsoft Yahei', sans-serif;
  font-size: 14px;
}
img {
  width: 100%;
}

:root {
  --primary-color: #F4D837; /* #aa8046 */
  --secondary-color: #e3e3e3;
  --text-color-lightest: #e7e9ec;
  --text-color-darker: #2e2e2e;
  --text-color-dark: #494949;
  --text-color-red: #d13838;
  --text-color-gray: #8b8b8b;
  --text-color-dark-gray: #727272;
  --text-color-light-gray: #c6c6c6;
  --background-color: rgba(42,42,42, 0.6);
}

header {
  /* width: 100vw; */
  height: 80px;
  display: grid;
  padding: 0 40px;

  grid-template-columns: 1fr 2fr;
  align-items: center;
  position: relative;
  z-index: 200;
}
/* .logo img{
	margin-right:10px;
	vertical-align: middle;
}
.logo span{
	vertical-align: middle;
} */

.logo {
  font-size: 36px;
  font-weight: 600;
  display: flex;
  color: var(--text-color-lightest);
}
.logo img{
  /* width: 10px;
  height: 10px; */
  max-width:50px;max-height:50px
} 
.logo span{
  font-size: 28px;
  font-weight: 600;
	vertical-align: middle;
} 

header nav {
  justify-self: end;
}

header nav i,
header nav a {
  color: var(--text-color-lightest);
}
header nav a {
  text-decoration: none;
  margin: 0 24px;
}

header .burger {
  display: none;
}

header.sticky {
  width: 100vw;
  position: fixed;
  background-color: #fff;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.2);
  animation: dropDown 0.5s ease-in-out forwards;
}

header.sticky .logo,
header.sticky nav a,
header.sticky nav i {
  color: var(--text-color-darker);
}

/* footer.sticky {
  width: 100vw;
  position: fixed;
  background-color: #fff;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.2);
  animation: dropDown 0.5s ease-in-out forwards;
} */

/*Floating
******************************************************/
footer.z-floating {
  position: fixed;
  bottom: 0;
  width: 100%;
  /* height: 0;
  opacity: 0;
  z-index: 999;
  transition: 0.4s;
  background: #f1f1f1; */
}

@keyframes dropDown {
  0% {
    transform: translateY(-100px);
  }
  100% {
    transform: translateY(0);
  }
}


.glide {
  position: relative;
  top: -80px;
  z-index: 50;
}

.glide__slide img,
.glide__slide video {
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

.glide__slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-caption {
  position: absolute;
  z-index: 70;
  color: var(--text-color-lightest);
  text-align: center;
  max-width: 60vw;
}

.slide-caption h1 {
  font-size: 54px;
  font-weight: 600;
}

.slide-caption h3 {
  font-size: 24px;
  margin: 48px;
}

.slide-caption > * {
  opacity: 0;
}

.backdrop {
  background: var(--background-color);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 60;
  opacity: 0.5;
}

.explore-btn {
  padding: 14px 232px;
  background-color: var(--primary-color);
  border: none;
  border-radius: 5px;
  color: var(--text-color-darker);
  font-size: 18px;
  cursor: pointer;
  outline: none;
}

/* 内容区域通用样式 */

.content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin-bottom: 100px;
}

section {
  display: grid;
  justify-items: center;
  max-width: 1180px;
  padding: 0 80px;
}

.section-bg {
  position: relative;
}

.section-bg::before {
  content: '';
  display: block;
  position: absolute;
  background-color: #f9f9f9;
  width: 99vw;
  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%);
}

.title2 {
  font-size: 30px;
  text-align: left;
  width: 100%;
  margin-top: 14px;
  color: var(--text-color-darker);
}

.intro {
  margin: 28px 0 60px 0;
  font-size: 18px;
  color: var(--text-color-dark-gray);
}

/* 会社概要 */
.about-us {
  padding-bottom: 32px;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 126px 126px;
  column-gap: 5vw;
}

.feature {
  display: grid;
  grid-template-areas: 'icon title' 'icon content';
  grid-template-columns: 60px 1fr;
  grid-template-rows: 1fr 3fr;
}

.feature i.fas {
  grid-area: icon;
  font-size: 34px;
  color: var(--primary-color);
}

.feature-title {
  grid-area: title;
  font-size: 18px;
  color: var(--text-color-darker);
}

.feature-content {
  grid-area: content;
  color: var(--text-color-gray);
  margin-top: 8px;
}

.showcases {
  max-width: unset;
  padding: 0;
  padding-top: 72px;
}

.filter-btns {
  margin-top: 54px;
  margin-bottom: 38px;
}

.filter-btn {
  margin: 0 7px;
  background-color: var(--secondary-color);
  border: none;
  color: var(--text-color-dark-gray);
  padding: 8px 18px;
  border-radius: 4px;
  cursor: pointer;
  outline: none;
  transition: 0.4s;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--primary-color);
  color: white;
}

.showcases .cases {
  width: 100vw;
}

.showcases .case-item {
  width: 25vw;
  height: 20vw;
  overflow: hidden;
}

.case-item img {
  height: 100%;
  object-fit: cover;
}

.service {
  padding-top: 131px;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1fr 1fr;
  column-gap: 38px;
  row-gap: 34px;
}

.service-item {
  display: grid;
  grid-template-areas: 'icon title' 'icon content';
  grid-template-columns: 70px 1fr;
  grid-template-rows: 1fr 3fr;
  padding: 24px;
  box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.06);
}

.service-item i.fas {
  grid-area: icon;
  font-size: 42px;
  color: var(--primary-color);
  padding-top: 6px;
}

.service-item .service-title {
  grid-area: title;
  color: var(--text-color-darker);
  font-size: 24px;
}

.service-item .service-content {
  grid-area: content;
  color: var(--text-color-gray);
  line-height: 30px;
  font-size: 16px;
  margin-top: 8px;
}

.team-intro {
  margin-top: 48px;
  padding-top: 68px;
  padding-bottom: 52px;
}

.team-members {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  column-gap: 24px;
  /* margin-top: 86px; */
}

.team-member {
  background-color: #fff;
  box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.2);
  padding-bottom: 28px;
  transition: 0.4s;
  
  display: grid;
  justify-items: center;
}

.profile-image {
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  height: 264px;
  object-fit: cover;
  object-position: top center;
}

.team-member .name {
  margin-top: 18px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text-color-darker);
}

.team-member .position {
  color: var(--text-color-dark-gray);
  margin-top: 12px;
  margin-left: 10px;
  margin-right: 10px;
  /* margin-bottom: 18px; */
}

.social-links {
  width: 100%;
  max-height: 200px;
  display: flex;
  justify-content: space-evenly;
  padding: 0 80px;
}

.social-links li {
  list-style: none;
}

.social-links li a {
  color: var(--text-color-dark);
  text-decoration: none;
}

.team-member:hover {
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0px 0px 36px rgba(0, 0, 0, 0.1);
}

.data-section {
  max-width: unset;
  width: 99vw;
  height: 225px;
  background-image: url(images/adult-business-computer-contemporary-380769.jpg);
  background-size: cover;
  background-position: center;

  display: grid;
  grid-template-columns: repeat(4, minmax(auto, 220px));
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 20;
}


.data-section::before {
  content: '';
  display: block;
  position: absolute;
  background-color: var(--background-color);
  width: 100%;
  height: 100%;
  z-index: 1;
}

.data-piece {
  width: 250px;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  justify-items: center;
  color: #fff;
  position: relative;
  z-index: 40;
}

.data-piece i.fas {
  font-size: 44px;
}

.data-piece .num {
  margin-top: 7px;
  font-size: 42px;
  font-weight: 600;
}

.data-piece .data-desc {
  font-size: 18px;
  font-weight: 500;
}

.company-activities {
  margin-top: 88px;
}

.activities {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
}

.activity {
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.1);
  padding: 24px;
  transition: 0.4s;
}

.act-image-wrapper {
  height: 225px;
  overflow: hidden;
  margin: -24px;
  margin-bottom: 0;
}

.act-image-wrapper img {
  min-height: 300px;
  object-fit: cover;
}

.activity .meta {
  margin-top: 20px;
  margin-bottom: 12px;
  color: var(--text-color-lightest);
  font-size: 12px;
  display: flex;
  /* justify-content: space-between; */
}

.activity .meta > p:last-child {
  margin-left: 36px;
}

.activity .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;
}

.activity price {
  font-weight: bold; 
  color: var(--text-color-red);
  letter-spacing: 0.54px;
  line-height: 24px;
}

.activity .read-more-btn {
  border: 0;
  color: #fff;
  background-color: var(--primary-color);
  border-radius: 4px;
  padding: 6px 14px;
  margin-top: 24px;
}

.activity:hover {
  transform: translateY(-20px) scale(1.05);
  box-shadow: 0 0 36px rgba(0, 0, 0, 0.1);
}

footer {
  margin-top: 124px;
  background-color: #181818;
  display: grid;
  justify-items: center;
  padding-top: 22px;
  padding-bottom: 14px;
}

.footer-menus {
  width: 100%;
  max-width: 1180px;
  text-align:center;
  /* display: grid; */
  /* grid-template-columns: 2fr repeat(3, 1fr); */
  padding: 0 80px;
  position: relative;
}

.menu-title {
  font-size: 16px;
  color: #fff;
  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;
}

.scrollToTop {
  display: none;
}

.scrollToTop a {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: #fff;
  text-decoration: none;
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 999;
}

/* 媒体查询，对页面进行响应式 */
@media (max-width: 1100px) {
  header nav{
    display: none;
  }

  header {
    grid-template-columns: repeat(2, 1fr);

  }

  header .burger {
    display: block;
    width: 20px;
    height: 6px;
    position: relative;
    justify-self: end;
    cursor: pointer;
  }

  .burger-line1,.burger-line2,.burger-line3 {
    width: 20px;
    height: 2px;
    background-color: var(--text-color-lightest);
  }

  .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: #fff;
    grid-auto-rows: max-content;
    justify-items: end;
    padding: 0 40px;
    opacity: 0;
    animation: slideDown 0.6s ease-out forwards;
  }
  
  header.open nav > * {
    color: var(--text-color-dark);
    animation: showMenus 0.5s linear forwards 0.4s;
    font-size: 18px;
    margin: 4px 0;
    opacity: 0;
  }

  header.open nav > i.fas {
    margin-top: 10px;
  }

  header.sticky .burger-line1,
  header.sticky .burger-line2,
  header.sticky .burger-line3,
  header.open .burger-line1,
  header.open .burger-line2,
  header.open .burger-line3 {
    background-color: var(--text-color-darker);
    transition: 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 {
    0% {
      height: 0;
      opacity: 0;
    }
    100% {
      height: 100vh;
      padding-top: 80px;
      opacity: 1;
    } 
  }
  
  @keyframes showMenus {
    0% {
      opacity: 0;
      transform: translateY(-1vh);
    }
    100% {
      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);
  }
}

@media (max-width: 768px) {
  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-menu {
    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(200px, 400px);
  }

  .services,
  .features {
    grid-template-columns: 1fr;
  }

  .showcases .case-item {
    width: calc(100vw / 2);
    height: 30vw;
  }
}

@media (max-width: 576px) {
  .slide-caption h1 {
    font-size: 28px;
  }
  .slide-caption h3 {
    font-size: 14px;
  }

  .explore-btn {
    font-size: 14px;
    padding: 8px 18px;
  }

  .showcases .case-item {
    width: 100vw;
    height: 60vw;
  }

  .footer-menus {
    grid-template-columns: 1fr;
  }
  
  .footer-menu {
    justify-self: start;
    text-align: left;
  }

  .logo {
    width: 280px;
    vertical-align:middle;
  }
  .logo img{
    /* width: 10px;
    height: 10px; */
    max-width:30px;max-height:30px
  } 
  .logo span{
    font-size: 18px;
    /* display:inline-block; */
    margin-top: 2px;
    vertical-align: middle;
  } 
  
  header.sticky {
    height: 85px;
  } 
}