@import url('https://fonts.googleapis.com/css?family=Lobster');
body {
    font-family: Helvetica, Arial, 'LiHei Pro', 'Microsoft JhengHei', sans-serif;
    background-color: #fff;
    overflow-x: hidden;
}

section{
  margin-bottom: 50px;
}

header{
    background: transparent;
    position: fixed;
    width: 100%;
    z-index: 2;
}

.logo{
  width: 150px;
  margin-right: 20px;
}

.bg-light{
    background-color: transparent!important;
}

.navbar-light .navbar-nav .nav-link{
    color: #ffffff;
    font-weight: bold;
    text-shadow: 2px 2px 4px #000000;
}

.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
    color: rgb(218 218 218);
}

/*banner*/
.banner{
  position: relative;
}

.banner-img{
    overflow: hidden;
    position: relative;
}

.banner-img::before{
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    right: 0;
    background-color: #940000cc;
    transform: skewX(70deg);
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: 100%;
    overflow: hidden;
}

.banner-img::after{
    content: '';
    background: linear-gradient(160deg, #ffffff00 50%, #ffffff 50%);
    height: 50%;
    width: 100%;
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
}

@media (max-width:767px){
    .banner-img::before , .banner-img::after{
        display: none;
    }
}

.banner-img img{
  width: 100%;
  min-height: 800px;
  object-fit: cover;
}

.form-position{
  position: absolute;
  top: calc(50% - 300px);
  right: 0;
  z-index: 1;
  width: 100%;
}

@media (max-width:767px){
    .form-position{
        top: 10%;
    }

    .banner-img img{
        min-height: 1000px;
    }

}

.banner-left p{
    font-size: 36px;
    color: #ffffff;
    text-align: center;
    text-shadow: 2px 2px 4px #565656;
}

.banner-left{
    text-align: center;
}

.banner-left button{
    border: 1px solid #ffffff;
    padding: 10px 25px;
    color: #ffffff;
    background-color: #940000;
}

.banner-left img{
    width: 30px;
    margin-right: 10px;
}

@media (max-width:991px){
    .banner-left img{
        display: block;
        margin: 0 auto;
    }
}

.form-area{
  background-color: #eaf2eccc;
  padding: 10px 5%;
  height: 600px;
  display: flex;
  align-items: center;
}

.form-text{
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.form-text p{
    font-size: 32px;
    font-weight: bold;
    color: #940000;
    border: 2px solid #940000;
    display: inline-block;
    padding: 5px;
    line-height: 1;
}

.form-text span{
    color: #940000;
    font-size: 20px;
    display: inline-block;
    padding: 0 15px;
    font-weight: bold;
    flex: 1 1 0;
}

.mb-3{
  margin-bottom: 2rem!important;
}

.form-size{
  width: 100%;
}


.all-btn{
    text-align: right;
}

.all-btn button{
  background-color: #f99200;
  color: #ffffff;
  font-weight: bold;
  border-radius: 5px;
  padding: 0 15px;
}

.item-area{
    background-image: url(../images/item-1.jpg);
    padding: 50px 0;
    background-position: 100% 40%;
    background-repeat: no-repeat;
    background-size: cover;
    color: #ffffff;
    text-shadow: 1px 1px 4px #313131;
    text-align: center;
    font-size: 22px;
    font-weight: bold;
}

.main-title h2 , .main-title h4{
  text-align: center;
  font-weight: 700!important;
  margin-bottom: 20px;
}

.main-title{
  position: relative;
  margin-bottom: 20px;
  text-align: center;
  color: #940000;
}

.main-title p{
  text-align:center;
  margin-bottom: 20px;
  color: #3480c1;
  font-size: 24px;
  font-weight: 700;
}

.main-head{
    margin: 30px 0;
}

/*contact*/

.contact-area{
    background-color: #8d6232;
    padding: 15px;
    text-align: center;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffffff;
    font-size: 20px;
    color: #ffffff;
    margin: 0 auto;
    width: 100%;
    margin-bottom: 20px;
}


.contact-area img{
    width: 50px;
    margin-right: 10px;
}

.contact-img{
    position: relative;
    margin-bottom: 15px;
}

.service-area::after{
    content: '';
    position: absolute;
    top: -8px;
    right: -9px;
    width: 55px;
    height: 110px;
    border: 3px solid #ff8e44;
    border-radius: 0 100% 100% 0/50%;
    border-left: none;
}

.service-area{
    border: 3px solid #940000;
    border-radius: 50%;
    padding: 15px;
    position: relative;
    width: 100px;
    margin: 0 auto;
}

.service-area img{
    width: 100%;
}

.service-text{
    margin: 15px 0;
    text-align: center;
}

.service-text p:first-child{
    font-size: 20px;
    color: #940000;
    font-weight: bold;
}

.service-text p:last-child{
    color: #f27474;
    font-weight: bold;
}

@media (min-width: 768px){
    .service .container {
        max-width: 760px;
    }
}

@media (min-width: 1200px){
    .service .container {
        max-width: 1440px;
    }
}

/*case*/

.case{
    background-image: url(../images/case.jpg);
    background-repeat: no-repeat;
    padding: 100px 0;
    background-size: cover;
    background-color: #dedede;
    background-position: center;
}

.case-area{
    background-color: #ffffff;
    padding: 30px;
    border-bottom: 10px solid #940000;
    height: 360px;
    overflow: hidden;
}

.case-title{
    color: #940000;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
}

.case-area p{
    padding-bottom: 15px;
    margin-bottom: 15px;
    height: 45px;
}


/*about*/

.about-item{
    padding: 10px 25px;
    color: #ffffff;
    background-color: #940000;
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    font-size: 18px;
}

@media (max-width:1199px){
    .about-item{
        padding: 10px 10px;
    }
}

.about-item img{
    width: 30px;
    margin-right: 10px;
}

.about-right img{
    width: 100%;
}

.about{
    position: relative;
}

@media (max-width:1199px) and (min-width:768px){
    .about{
        margin-bottom: 50px;
    }
}

/* .about::before{
    content: '';
    background: linear-gradient(5deg, #940000 49%, transparent 50%);
    height: 20%;
    width: 50%;
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.about::after{
    content: '';
    background: linear-gradient(-5deg, #940000 49%, transparent 50%);
    height: 20%;
    width: 50%;
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
} */

/*footer*/

footer::before{
    content: '';
    width: 0;
    border-width: 70px 50vw;
    border-style: solid;
    border-color: transparent transparent #940000 transparent;
    position: absolute;
    top: -140px;
    left: 0;
}

/* footer::after{
    content: '';
    background: linear-gradient(-5deg, #940000 49%, transparent 50%);
    height: 30%;
    width: 50%;
    display: block;
    position: absolute;
    left: 0;
    top: -30%;
} */

footer{
  background-color: #940000;
  color: #ffffff;
  padding: 20px;
  position:relative;
}

footer .contact-area{
    background-color: transparent;
}

footer p{
    line-height: 1.5;
    letter-spacing: 3px;
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 2px solid #ffffff;
    margin: 0 auto;
}

.footer-dacn{
  text-align: center;
  margin-top: 30px;
  letter-spacing: 2px;
}

.footer-dacn a{
  color: #ffffff;
}

.footer-dacn a:hover{
  color: #b97700;
  text-decoration: underline;
}

.footer-contact{
  float: right;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  z-index: 3;
}

.footer-contact img{
  margin-bottom: 10px;
  width: 40px;
  height: 40px;
}

/**/

@keyframes hide {
  from {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
  to {
    opacity: 0;
    -webkit-transform: translate3d(0, -20px, 0);
    transform: translate3d(0, -20px, 0);
    width: 0;
    height: 0;
  }
}

@keyframes show {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, 20px, 0);
    transform: translate3d(0, 20px, 0);

  }
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

.de-hide{
    display: none;
}

.hide{
    -webkit-animation: hide .3s linear;
    animation: hide .3s linear;
    -webkit-animation-fill-mode: forwards; /* Safari 4.0 - 8.0 */
    animation-fill-mode: forwards;
    margin-bottom: 0!important;
    padding-bottom: 0px!important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.show{
    -webkit-animation: show .3s linear;
    animation: show .3s linear;
    -webkit-animation-fill-mode: forwards; /* Safari 4.0 - 8.0 */
    animation-fill-mode: forwards;
    display: block;
}
