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

section{
  margin-bottom: 50px;
}

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

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

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

.logo img{
  width: 100%;
}

.navbar-brand{
  color: #0175ad!important;
  font-weight: bold;
  font-size: 26px;
}

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

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

.banner-img{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 1000px;
    background-image: url(../images/bg.jpg);
    background-position: center;
    background-repeat: repeat;
    background-size: cover;
}

.top-text{
    position: absolute;
    text-align: center;
}

.top-text h1{
    font-weight: bold !important;
    color: #0175ad;
    font-size: 70px;
}

.top-text p{
    font-size: 24px;
    margin:10px 0;
    color: #ffffff;
}

.top-text button{
    width: 70%;
    background-color: #0175ad;
    border-radius: 50px;
    padding: 10px;
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 24px;
}

.banner-img img{
  width: 100%;
  object-fit: cover;
}

.banner-mask{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.banner-top{
    width: 50%!important;
    position: absolute;
    right: 10%;
    top: 10%;
    margin-top: 0!important;
}

.form-position{
    position: fixed;
    right: 0;
    z-index: 4;
    width: 325px;
    top: 100px;
    right: 30px;
}

.form-title h4{
  margin-bottom: 10px;
  font-weight: bold!important;
}

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

.from-img img{
    width: 100%;
    margin: 15px 0;
}

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

.form-size{
  width: 100%;
}

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

.all-btn button{
  background-color: #0175ad;
  width: 100px;
  height: 35px;
  color: #ffffff;
  font-weight: bold;
  border-radius: 5px;
}

@media screen and (max-width:767px){
    .form-position{
        display: none;
        width: 250px;
        top: 15px;
    }

    .top-text h1{
        font-size: 45px;
    }
}

@media screen and (max-width: 767px){
.md-show {
    display: block;
    }
}

.right-btn{
    margin-bottom: 200px;
    background-color: #009688;
    color: #ffffff;
    padding: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    margin-right: -20px;
}

@media screen and (min-width:768px){
    .right-btn{
        display: none;
    }
}


.items{
    margin-bottom: 5rem;
}

.items-title{
    text-align: center;
    font-weight: bold;
    font-size: 24px;
    margin: 15px 0;
}

.items-text{
    font-size: 18px;
    border: 5px solid;
    border-radius: 50%;
    text-align: center;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0175ad;
    margin: 0 auto;
    margin-bottom: 15px;
    font-weight: bold;
}

.items-text p{
    padding: 0 15px;
}

@media screen and (max-width: 991px){
    .items-text{
        width: 120px;
        height: 120px;
    }
}

.serviceitem {
    padding: 15% 7.5%;
    border: 15px solid #0175ad;
    border-radius: 2rem;
    margin: 50px 0;
    background: #FFF;
}

.serviceitem:before {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    background: url('../images/check.png') #5ab3fe;
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.serviceitem p {
    margin: 0 auto;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
}

.servicerow {
    margin: 5% 0;
}

.main-title h3{
  text-align: center;
  font-weight: bold!important;
}

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

/*.main-title::before{
  content: "";
  position: absolute;
  width: 140px;
  bottom: -5px;
  left: 50%;
  margin-left: -70px;
  height: 1px;
  background: #ebebeb;
}

.main-title::after{
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  bottom: -16px;
  left: 50%;
  margin-left: -12px;
  border: 5px solid #fff;
  border-radius: 20px;
  background: #0175ad;
}*/

.main-text{
  text-align:center;
  margin-bottom: 20px;
}

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

.service-text{
    text-align: center;
    padding: 30px 15px;
}

.service-text h5{
    font-weight: bold!important;
}

.service-text p{
    font-size: 14px;
}

.service-area{
    box-shadow: 1px 1px 4px #c7c7c7;
    border: 1px solid #eeeeee;
}

@media screen and (max-width: 768px){
  .service-main{
    margin-bottom: 25px;
  }
}

.number{
    background-color: #eeeeee;
    padding: 5% 0;
}

.counter{
    font-size: 50px;
    font-weight: bold;
    color: #0175ad;
    display: inline-block;
}

/*about*/

.about-area{
    text-align: center;
}

.about-img{
    text-align: center;
    margin-bottom: 15px;
}

.about-img img{
    width: 50%;
}

.about-word{
    display: flex;
    justify-content: center;
}

.about-text{
    padding: 30px;
    border: 2px solid #999999;
}

.about-word{
    position: relative;
    margin: 30px 0;
}

.about-title{
    font-size: 22px;
    background-color: #999999;
    color: #ffffff;
    font-weight: bold;
    padding: 0 30px;
    position: absolute;
    top: -5px;
}

.about-text{
    width: 100%;
    margin-top: 15px;
}

.case{
    background-image: url(../images/bg-2.jpg);
    padding: 50px 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.case-area{
    height: 300px;
    overflow: hidden;
}

.case-area p{
    border-bottom: 1px solid #999999;
    padding-bottom: 15px;
    margin-bottom: 15px;
    height: 45px;
}

.company{
    margin-bottom: 30px;
}

.company-title{
    font-size: 18px;
}

.company-text{
    font-size: 14px;
}

/*footer*/
footer{
  background-color: #e4e4e4;
  color: #000000;
  padding: 20px;
}

.footer-dacn{
  text-align: center;
  margin-top: 10px;
}

.footer-dacn a{
  color: #000000;
  color: #794e00;
  font-weight: bold;
  text-decoration: underline;
}

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


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

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

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