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

.padding-0{
    padding: 0;
}

header{
    position: fixed;
    width: 100%;
    z-index: 1;
}

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

.logo{
    width: 100px;
}

.navbar-light .navbar-nav .nav-link{
    color: #ffffff;
}

.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover{
    color: #f27474;
}

.navbar-light .navbar-toggler{
    background-color: #ffffff;
}

/*banner*/

.banner{
    position: relative;
    /* clip-path: polygon(0 0, 100% 0, 100% 100%, 0 85%); */
}

.banner-bg::after{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.banner img{
    width: 100%;
}

.banner-left img{
    width: 100%;
}

.banner-area{
    position: absolute;
    top: 0;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.banner-left img{
    width: 30%;
    margin-left: 60px;
}

.banner-left h2 {
    color: #ffffff;
    margin: 30px 0;
    letter-spacing: 5px;
    text-shadow: 2px 2px 4px #000000;
}

.banner-left p{
    color: #ffffff;
    text-align: left;
    margin-left: auto;
    letter-spacing: 3px;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px #000000;
}

@media (max-width:767px){
    .banner img{
        min-height: 400px;
        object-fit: cover;
    }

    .banner-left img{
        min-height: auto;
    }

    .banner-left{
        padding: 0 15px;
    }

    .banner-left h2{
        font-size: 22px;
    }

    .banner-left p{
        font-size: 12px;
    }
}

/*contact*/

.contact{
    position: relative;
    margin-top: -10%;
}

.contact-bg img{
    width: 100%;
}

.contact-bg{
    clip-path: polygon(0 0, 100% 15%, 100% 100%, 0 100%)
}

.contact-bg::after{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(164, 0, 0, 0.5);
}

.contace-area{
    position: absolute;
    bottom: 5%;
    left: 5%;
}

.contact-img img{
    width: 55%;
}

.form-area{
    position: absolute;
    top: 50px;
    width: 100%;
    right: 0;
}

.form-size{
    width: 50%;
    margin-left: auto;
    background-color: #eae0e0cc;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 1px 1px 10px 2px #a40000;
}

.form-title{
    margin-bottom: 15px;
}

.form-title h4{
    font-weight: bold!important;
    text-align: center;
    margin-bottom: 5px;
}

.form-title p{
    color: #990000;
    text-align: center;
    font-weight: bold;
    letter-spacing: 3px;
}

.fa-bookmark {
    position: absolute;
    z-index: 1;
    left: 10px;
    top: calc(50% - 10px);
    font-size: 24px;
    color: #a6a6a6;
}

.list-control{
    text-align: center;
    text-align-last:center;
}

option{
    text-align: center;
}

select{
    opacity: 0;
    width: 100%!important;
    position: absolute!important;
    top: 0;
}

.form-btn{
    text-align: right;
    width: 80%;
    margin: 0 auto;
    border-bottom: 1px solid #a0a0a0;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.form-btn button{
    background-color: #f99200;
    padding: 3px 20px;
    color: #ffffff;
    border-radius: 5px;
    box-shadow: 1px 1px 1px #a2a2a2;
}

.form-btn button:hover{
    background-color: #ffa628;
}

.input-group{
    width: 80%;
    margin: 0 auto;
}

.form-info{
    width: 80%;
    margin: 0 auto;
    padding-left: 15px;
    position: relative;
}

.form-info::before{
    content: '';
    width: 0;
    height: 100%;
    position: absolute;
    left: 0;
    border-radius: 30px;
    border: 3px solid #a40000;
}

.form-info a{
    display: block;
    color: #000000;
}

.form-link{
    margin: 30px auto;
    width: 80%;
    display: flex;
    justify-content: space-around;
}

.form-link img{
    width: 30px;
    margin-right: 10px;
}

.form-link a:first-child{
    width: 40%;
    background-color: #a40000;
    padding: 3px 15px;
    padding-left: 5px;
    color: #ffffff;
    display: flex;
    align-items: center;
    border-radius: 20px;
}

.form-link a:last-child{
    width: 40%;
    border: 1px solid  #a40000;
    color: #a40000;
    padding: 3px 15px;
    padding-left: 5px;
    display: flex;
    align-items: center;
    border-radius: 20px;
    background-color: #ffffff;
}

.form-link a:first-child:hover{
    background-color: #ff4949;
}


.form-link a:last-child:hover{
    background-color: #ffdfdf;
}

@media (max-width:1199px){
    .form-link{
        width: 100%;
    }

    .contact-img img{
        width: 75%;
    }

    .contact{
        margin-top: -15%;
    }

    .contact-bg img{
        min-height: 900px;
        object-fit: cover;
    }
}

@media (max-width:991px){
    .form-size{
        width: 70%;
    }

    .contact-bg img{
        min-height: 770px;
    }

    .contace-area{
        left: 0;
    }

    .contact-img img{
        width: 65%;
    }
}

@media (max-width:767px){
    .form-size{
        width: 95%;
        padding: 10px;
        margin: 0 auto;
    }

    .input-group{
        width: 100%;
    }

    .form-btn{
        width: 100%;
    }

    .form-info{
        width: 100%;
    }

    .form-link a:last-child , .form-link a:first-child{
        width: 49%;
    }

    .form-title p{
        letter-spacing: normal;
    }

    .contact-bg{
        clip-path: polygon(0 0, 100% 5%, 100% 100%, 0 100%)
    }

    .contact-img img{
        display: none;
    }

}

/*service*/

.service{
    margin-top: -15%;
    position: relative;
    background-image: url(../images/service.jpg);
    padding-top: 15%;
    padding-bottom: 5%;
    clip-path: polygon(0 15%, 100% 0%, 100% 100%, 0 100%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* .service-bg{
    clip-path: polygon(0 10%, 100% 0%, 100% 100%, 0 100%);
} */

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

.service-area{
    width: 100%;
}

.service-img{
    position: relative;
}

.service-img::after{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

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

.service-img .mask{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.service-img .mask::before{
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    -webkit-transform: scale(0,1);
    -moz-transform: scale(0,1);
    -o-transform: scale(0,1);
    -ms-transform: scale(0,1);
    transform: scale(0,1);
}

.service-img .mask::after{
    border-right: 2px solid #fff;
    border-left: 2px solid #fff;
    -webkit-transform: scale(1,0);
    -moz-transform: scale(1,0);
    -o-transform: scale(1,0);
    -ms-transform: scale(1,0);
    transform: scale(1,0);
}

.service-img .mask::before , .service-img .mask::after{
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    content: '';
    opacity: 0;
    -webkit-transition: opacity 0.35s,-webkit-transform 0.35s;
    -moz-transition: opacity 0.35s, -moz-transform 0.35s;
    -o-transition: opacity 0.35s, -o-transform 0.35s;
    -ms-transition: opacity 0.35s, -ms-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}

.service-item:hover .service-img .mask::before , .service-item:hover .service-img .mask::after{
    opacity: 1;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.service-item{
    position: relative;
    margin-bottom: 50px;
}

.service-item:hover .service-img::after{
    background-color: transparent;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

.service-num{
    font-size: 36px;
    font-weight: bold;
    background-color: #a40000;
    color: #ffffff;
    display: inline-block;
    padding: 0 5px;
    padding-bottom: 20px;
    position: absolute;
    top: -20px;
    left: 15px;
    z-index: 1;
}

.service-num p{
    border-bottom: 1px solid #ffffff;
}

.service-item:hover .service-num{
    background-color: transparent;
    text-shadow: 1px 1px 4px #4a4a4a;
}

.service-text{
    writing-mode: vertical-lr;
    -webkit-writing-mode: vertical-lr;
    position: absolute;
    right: 0;
    bottom: 15px;
    color: #ffffff;
    letter-spacing: 3px;
}

.service-text span{
    display: none;
}

.service-item:hover .service-text{
    writing-mode: unset;
    -webkit-writing-mode: unset;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -ms-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    left: 0;
    bottom: 0px;
    padding: 30px;
    margin: 0 auto;

}

.service-item:hover .service-text p{
    background-color: #a40000a6;
    padding: 0 10px;
    font-size: 18px;
    padding-top: 20px;
}

.service-item:hover .service-text span{
    display: block;
    background-color: #a40000a6;
    padding: 0 10px;
    padding-bottom: 20px;
}

@media (max-width:767px){
    .service-area .col-md-1{
        display: none;
    }

    .service-area{
        padding-left: 5px;
        padding-right: 5px;
    }

    .service-item{
        margin-bottom: 0;
    }

    .service{
        margin-top: -25%;
        padding-top: 30%;
        clip-path: polygon(0 5%, 100% 0%, 100% 100%, 0 100%);
    }

    .service-item{
        margin-bottom: 20px;
    }

    .service-item:hover .service-text{
        padding: 15px;
    }
}

/*footer*/

footer{
    background-color: #020001;
    color: #ffffff;
    padding: 30px 0;
    margin-top: -5px;
}

.footer-area{
    width: 85%;
    margin: 0 auto;
}

.footer-info{
    margin-bottom: 30px;
}

.footer-info h5{
    margin-bottom: 15px;
}

.footer-info a{
    display: block;
    color: #ffffff;
}

.footer-info a:hover{
    color: #999999;
}

.footer-link{
    text-align: center;
}

.footer-link a{
    color: #ffffff;
    display: block;
    margin: 0 auto;
    margin-bottom: 15px;
    font-size: 18px;
    letter-spacing: 3px;
    border: 1px solid #ffffff;
    padding: 10px 25px;
    width: 60%;
}

.footer-link a:hover{
    background-color: #464646;
}

.footer-link img{
    width: 40px;
    margin-right: 10px;
}

.footer-ps{
    background-color: #8f0000;
    padding: 15px;
    margin: 30px 0;
}

@media (max-width:1199px){
    .footer-link a{
        width: 100%;
    }
}

@media (max-width:767px){
    .footer-area{
        width: 100%;
    }
}

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