/** styles for index page **/

.banner {
  width: 100%;
  height: 37.5rem;
  margin: 7.5rem 0 4rem;
  color: #fff;
  background-image: linear-gradient(to left, #6b7bd0, #334abf);
}

.ban-bj {
  background: url(../img/Inside-banner.jpg) no-repeat center;
  width: 100%;
   height: 100%;
}

.ban-text {
  font-size: 2.7rem;
  text-transform: uppercase;
  float: left;
  padding: 9.5rem 0 0 10%;
}

.ban-text h1 {
  font-size: 4.8rem;
}

.ban-text p {
  padding-top: 2rem;
  position: relative;
}

.ban-text p::before {
  content: '';
  background: #fdaf4c;
  width: 13.13rem;
  height: 1rem;
  position: absolute;
  bottom: -4rem;
  left: 0;
}

.ban-img {
  float: right;
  padding: 2.5rem 6% 0 0;
}

.case-box {
  padding-bottom: 4rem;
}

.case-box h2 {
  font-size: 2.25rem;
  padding-bottom: 2.5rem;
  font-weight: normal;
  color: #333;
}

.case-box ul {
  display: inline-block;
  width: 100%;
  margin-left: -1rem;
}

.case-box ul li {
  float: left;
  width: 33.33%;
  height: 34rem;
  padding: 0 1rem;
  box-sizing: border-box;
}

.case-border {
  width: 100%;
  height: 34rem;
  border: 1px solid #ddd;
  box-sizing: border-box;
}

.case-img {
  width: 100%;
  height: 21.5rem;
}

.case-img img {
  width: 100%;
  height: 100%;
}

.case-text {
  padding: 1.5rem 1.87rem;
}

.case-text p:first-child {
  font-size: 1.62rem;
  color: #333;
}

.case-text p:last-child {
  font-size: 1.37rem;
  color: #999;
  padding-top: 1rem;
}

.case-details {
  border-top: 1px solid #ddd;
  margin: 0 1.87rem;
  font-size: 1.25rem;
  color: #999;
  padding-top: 1.25rem;
}

.case-details a {
  float: right;
}

@media screen and (max-width: 1680px) {
  .case-box h2 {
    font-size: 1.7rem;
  }
}

@media screen and (max-width: 1440px) { 
  .banner {
    height: 30rem;
  }

  .ban-text {
    font-size: 2rem;
    text-transform: uppercase;
    float: left;
    padding: 7.5rem 0 0 10%;
  }
  
  .ban-text h1 {
    font-size: 4rem;
  }

  .ban-text p::before {
    content: '';
    background: #fdaf4c;
    width: 13.13rem;
    height: 0.7rem;
    position: absolute;
    bottom: -3rem;
    left: 0;
  }

  .ban-img img {
    width: 36rem;
  }

  .case-box ul li {
    height: 27rem;
  }

  .case-border {
    height: 27rem;
  }

  .case-box h2 {
    font-size: 1.7rem;
  }

  .case-text {
    padding: 1.4rem 1.5rem;
  }

  .case-text p:first-child {
    font-size: 1.3rem;
  }

  .case-text p:last-child {
    font-size: 1rem;
  }

  .case-details {
    font-size: 1rem;
    margin: 0 1.5rem;
  }

  .case-img {
    height: 16rem;
  }
}


@media screen and (max-width: 1080px) {
  
}


@media screen and (max-width: 750px) {
  .banner {
    margin-bottom: 2rem;
  }

  .ban-text {
    font-size: 1rem;
    padding: 3rem 0 0 10%;
  }
  
  .ban-text h1 {
    font-size: 2rem;
  }

  .ban-text p::before {
    height: 0.7rem;
    bottom: -3rem;
  }

  .ban-img {
    text-align: center;
    padding: 3rem 0 0 0;
  }

  .ban-img img {
    width: 80%;
  }

  .ban-text p {
    padding-top: 1rem;
  }

  .ban-text p::before {
    width: 10rem;
    height: 0.5rem;
    bottom: -1.5rem;
  }

  .case-box {
    padding-bottom: 1rem;
  }

  .case-box ul {
    margin: 0;
  }

  .case-box h2 {
    font-size: 1.5rem;
    padding-bottom: 1.8rem;
  }

  .case-box ul li {
    width: 100%;
    padding: 0;
    margin-bottom: 2rem;
  }
}
