* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  font-family: Arial, Helvetica, sans-serif, 'Microsoft Yahei';
}

html {
  -webkit-text-size-adjust: 100%;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  line-height: 1;
}
body,
h1,
h2,
h3,
h4,
h5,
ul,
li,
ol,
div,
p,
form,
input,
label,
span {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

/* theme */
:root {
  --blue: #0084dc;
  --blue10: rgba(0, 132, 220, 0.1);
  --purple: #a8006d;
  --red: #f2005d;
  --yellow: #fec106;

  --white5: rgba(255, 255, 255, 0.05);
  --white10: rgba(255, 255, 255, 0.1);
  --white30: rgba(255, 255, 255, 0.3);
  --white60: rgba(255, 255, 255, 0.6);
  --white90: rgba(255, 255, 255, 0.9);
  --white: rgb(255, 255, 255);

  --black5: rgba(0, 0, 0, 0.05);
  --black10: rgba(0, 0, 0, 0.1);
  --black30: rgba(0, 0, 0, 0.3);
  --black60: rgba(0, 0, 0, 0.6);
  --black90: rgba(0, 0, 0, 0.9);
  --black: rgb(0, 0, 0);
}

::-webkit-scrollbar {
  width: 7px;
  height: 7px;
  background: transparent;
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: var(--black30);
  border-width: none;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--black60);
}

/* public */
.wrap {
  max-width: 1200px;
  padding-left: 10px;
  padding-right: 10px;
  margin-left: auto;
  margin-right: auto;
}

/* header */
.header {
  position: relative;
  width: 100%;
  z-index: 99;
  background-color: var(--white90);
  backdrop-filter: blur(1px);
  box-shadow: 0 1px 5px var(--black10);
}

.header > .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  animation: fadeDown 0.5s ease both;
}
@keyframes fadeDown {
  0% {
    opacity: 0;
    transform: translateY(-10%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.logo {
  background: url('../image/logo.png') no-repeat left center;
  background-size: contain;
  height: 50px;
  width: 175px;
  overflow: hidden;
  text-indent: -99em;
  cursor: pointer;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-menu {
  display: none;
}
.nav > li {
  margin-left: 10px;
  line-height: 60px;
  padding: 0 20px;
  transition: 0.3s;
  cursor: pointer;
  color: var(--black60);
}

.nav > li:hover {
  background-color: var(--black5);
  color: var(--black);
}
.nav > li.active {
  color: var(--blue);
}

/* banner */
.banner {
  height: 620px;
  background: url('../image/banner2.jpg') no-repeat center center;
  background-size: cover;
  position: relative;
}
.banner-wrap {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  color: white;
  padding-top: 100px;
}

.banner-wrap h2 {
  font-size: 55px;
  margin: 60px auto;
  animation: fadeDown 0.4s ease 0.2s both;
}
.banner-wrap h3 {
  font-size: 32px;
  line-height: 1.6;
  font-weight: normal;
  margin: 60px auto;
  color: var(--white90);
  animation: fadeDown 0.4s ease 0.5s both;
}
.banner-tag {
  margin: 80px auto;
  animation: fadeDown 0.8s ease-out 1s both;
}
.banner-tag > span {
  font-size: 28px;
  font-weight: 300;
  padding: 0 40px;
  color: var(--white90);
}

/* section */
.section {
  background-color: white;
}
.section-light {
  box-shadow: inset 0 0 50px var(--black5);
}
.content {
  padding: 20px 0 80px;
}
.title {
  max-width: 700px;
  text-align: center;
  padding: 50px 20px 30px;
  margin: 0 auto;
}
.title > h3 {
  font-size: 30px;
  letter-spacing: 8px;
  text-indent: 8px;
  font-weight: 500;
  color: var(--black90);
  display: inline-block;
  border-bottom: 3px solid var(--black90);
  padding-bottom: 5px;
}
.title.blue > h3 {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.title.purple > h3 {
  color: var(--purple);
  border-bottom-color: var(--purple);
}
.title.red > h3 {
  color: var(--red);
  border-bottom-color: var(--red);
}
.title.yellow > h3 {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}
.title > p {
  font-size: 14px;
  line-height: 24px;
  padding-top: 10px;
  color: var(--black60);
}

/* cards */
.cards {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  align-content: stretch;
}
.card-item {
  text-align: center;
  padding: 30px 40px 40px;
  width: 25%;
  min-width: 290px;
}
.card-item > img {
  width: 100%;
  height: 100px;
  object-fit: contain;
  filter: grayscale(1);
  transition: filter 0.5s;
}
.card-item > h3 {
  font-size: 30px;
  color: var(--black90);
  font-weight: 500;
  letter-spacing: 8px;
  text-indent: 8px;
  padding: 30px;
}
.card-item > p {
  font-size: 14px;
  color: var(--black60);
  line-height: 24px;
}
.card-item:hover {
  border: 1px dashed var(--black10);
  border-top: none;
  border-bottom: none;
}
.card-item:hover img {
  filter: grayscale(0);
}

/* service */
.service {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  align-content: stretch;
}
.service-img {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service-img img {
  max-width: 90%;
  height: auto;
}
.service-con {
  width: 50%;
}
.service-item {
  position: relative;
  padding: 20px 0 30px 120px;
}
.service-item > .icon {
  position: absolute;
  left: 0;
  top: 20px;
  height: 68px;
  width: 68px;
  text-align: center;
  line-height: 68px;
  font-size: 38px;
  border-radius: 100%;
  background-color: var(--blue10);
  color: var(--blue);
}
.service-item h3 {
  font-size: 18px;
  color: var(--black90);
  padding: 10px 0 20px;
}
.service-item p {
  font-size: 16px;
  line-height: 30px;
  color: var(--black60);
}
.service-item .btn {
  margin-top: 20px;
}
.btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  height: 42px;
  line-height: 40px;
  border-radius: 6px;
  padding: 0 28px;
  font-size: 16px;
  border: 1px solid var(--blue);
  color: var(--blue);
  cursor: pointer;
  transition: background-color 0.4s;
  user-select: none;
  background-color: transparent;
}
.btn > .icon {
  margin-right: 10px;
  font-size: 1.2em;
  vertical-align: middle;
}
.btn:hover {
  background-color: var(--blue10);
}
.btn:active,
.btn:focus {
  outline: var(--blue10) solid 4px;
}
.btn.loading {
  background-color: var(--blue10);
  cursor: not-allowed;
}
.btn.loading:before {
  content: '\e756';
  font-family: 'icon';
  font-size: 1.1em;
  margin-right: 10px;
  color: var(--blue);
  animation: circle 1.6s linear infinite both;
}
@keyframes circle {
  0% {
    transform: rotateZ(0);
  }
  100% {
    transform: rotateZ(360deg);
  }
}

/* case */
.case {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  align-content: stretch;
}
.case-item {
  width: 23%;
  height: 200px;
  margin: 1%;
  position: relative;
  overflow: hidden;
}
.case-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.case-item h3 {
  font-weight: normal;
  background-color: var(--black30);
  text-align: center;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  line-height: 30px;
  font-size: 14px;
  color: rgba(255, 255, 255);
  transform: translateY(102%);
  transition: transform 0.5s;
}
.case-item:hover h3,
.case-item:active h3 {
  transform: translateY(0);
}
.case-item:hover img {
  filter: brightness(0.95);
}

/* contact */
.contact {
  display: flex;
  flex-wrap: wrap;
  padding: 30px 0 40px;
  justify-content: space-between;
}
.info {
  width: 50%;
}
.info-item {
  padding: 10px 0 10px 60px;
  position: relative;
}
.info-item > .icon {
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 24px;
  text-align: center;
  border-radius: 100%;
  color: var(--yellow);
  background-color: var(--black5);
  position: absolute;
  left: 0;
  top: 10px;
}
.info-item .label {
  font-size: 16px;
  font-weight: bolder;
  color: var(--black90);
  padding: 10px 0;
}
.info-item .text {
  font-size: 14px;
  padding: 10px 0;
  line-height: 26px;
  color: var(--black60);
}
.info-item .text b {
  font-weight: normal;
  color: var(--black90);
}
.info-item .text a {
  color: inherit;
  text-decoration: none;
}
.er-img {
  display: inline-block;
  width: 180px;
  text-align: center;
  overflow: hidden;
}
.er-img + .er-img {
  margin-left: 20px;
}
.er-img img {
  width: 100%;
  height: auto;
  margin-bottom: -5px;
}
.contact-form {
  width: 40%;
  max-width: 400px;
  padding-top: 10px;
}
.form {
  background-color: #fff;
  padding: 30px 30px 10px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 5px var(--black10);
}
.form-title {
  height: 180px;
  line-height: 180px;
  font-size: 24px;
  margin: -40px -30px 20px;
  color: #fff;
  text-align: center;
  background: url('../image/contact-bg.jpg') no-repeat center;
  background-size: cover;
}
.form-item {
  padding: 10px 0 20px;
}
.form-item label {
  color: var(--black60);
  display: block;
  padding-bottom: 10px;
}
.form-input > input,
.form-input > textarea {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  border: 1px solid var(--black30);
  font-size: 16px;
  border-radius: 6px;
  /* height: 42px; */
  padding: 12px 16px;
  outline: none;
}
.form-input > textarea {
  height: auto;
  resize: vertical;
}
.form-input > input:focus,
.form-input > textarea:focus {
  outline: var(--blue10) solid 4px;
  border-color: var(--blue);
}

/* footer */
.footer {
  text-align: center;
  color: var(--black60);
  font-size: 14px;
  padding: 30px;
  line-height: 20px;
}
.footer > a {
  padding: 0 10px;
  color: var(--black60);
  text-decoration: none;
}

@media screen and (max-width: 760px) {
  .nav-menu {
    display: block;
    width: 44px;
    height: 44px;
    text-align: center;
    color: var(--black60);
    border-radius: 6px;
  }
  .nav-menu.open {
    color: #fff;
    background-color: var(--black60);
  }
  .nav-menu > .icon {
    line-height: 44px;
    font-size: 20px;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: -10px;
    right: 0;
    z-index: 99;
    background-color: #fff;
    flex-direction: column;
    box-shadow: 0 1px 5px var(--black10);
    align-items: stretch;
  }
  .nav-menu.open + .nav {
    display: block;
    animation: fadeDown 0.3s ease both;
  }

  .banner {
    height: 240px;
  }
  .banner-wrap {
    padding-top: 0;
  }
  .banner-wrap h2 {
    font-size: 20px;
    margin: 50px auto 30px;
  }
  .banner-wrap h3 {
    font-size: 16px;
    margin: 20px auto;
  }
  .banner-tag {
    margin: 50px auto;
  }
  .banner-tag > span {
    padding: 0 10px;
    font-size: 14px;
  }
  .title {
    padding: 30px 0 10px;
  }
  .title > h3 {
    font-size: 24px;
    border-bottom-width: 2px;
  }
  .title > p {
    font-size: 12px;
    padding-top: 5px;
  }
  .cards {
    justify-content: center;
  }
  .card-item {
    min-width: 290px;
    padding: 10px 10px 50px;
  }
  .service-img,
  .service-con,
  .info,
  .contact-form {
    width: 100%;
  }
  .service-img img {
    width: 300px;
  }
  .service-item {
    padding-left: 60px;
  }
  .service-item > .icon {
    top: 15px;
    height: 50px;
    width: 50px;
    line-height: 50px;
    font-size: 28px;
  }
  .case-item {
    width: 48%;
    -webkit-aspect-ratio: 4/3;
    aspect-ratio: 4/3;
    height: auto;
  }
  .contact {
    padding-top: 0;
    justify-content: center;
  }
  .er-img {
    width: 34vw;
    max-width: 180px;
  }
  .footer a {
    display: block;
    font-size: 12px;
    color: var(--black30);
  }
}
