/*-------------- Owl crousel ---------------*/

.owl-carousel .owl-item img {
  width: auto !important;
  margin: 0 auto;
  width: auto;
}
button.owl-prev {
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  outline: none!important;
}
button.owl-next {
  position: absolute;
  right: -10px;
  outline: none!important;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
}
.main_heading {
  font-size: 22px;
  line-height: 20px;
  color: #0d0f42;
  font-weight: 700;
  font-family: "Lato";
  letter-spacing: 1px;
}
.main_para {
  font-size: 12px;
  color: #080239;
  font-weight: 600;
  font-family: "Roboto";
  letter-spacing: 1px;
}

/* --------- SLIDER--------- */

  #slider {
    max-width: 100%;
    margin: auto;
    position: relative;
    padding: 35px 0;
  }
  #slider img {
    width: 100%;
  }
  .slide_next_image img {
    width: auto !important;
    height: 100%;
  }
  #slider .slider-box h1 {
    font-size: 45px;
    letter-spacing: 1px;
    color: #fff;
    font-weight: 900;
    font-family: "Lato";
    text-align: center;
  }
  #slider .slider-box h4 {
    font-size: 15px;
    line-height: 20px;
    color: #ffffff;
    font-weight: 400;
    font-family: "Roboto";
    text-align: center;
  }
  #slider .carousel-caption {
    top: 50%;
    transform: translateY(-50%);
    max-width: 56%;
    margin: auto;
  }
  #slider .slider-box a {
    font-size: 14px;
    color: #ffffff;
    font-weight: 400;
    font-family: "Lato";
    text-align: center;
    border: 1px solid #9e9e9e;
    border-radius: unset;
  }
  #slider .slide_btn {
    margin-top: 10px;
  }
  #slider .btn_bg {
    display: inline-block;
    padding: 6px;
    background: #b12e40;
  }
  #slider i{
    color: #ffffff;
    font-size: 30px;
  }
  #slider .carousel-control-prev-icon , #slider .carousel-control-next-icon {
    background-image: unset;
  }
  
/* Service */

  #service .main_text {
    font-size: 14px;
    line-height: 20px;
    color: #888888;
    font-weight: 400;
    font-family: "Roboto";
    max-width: 70%
  }

  .serviceBox .service-image img {
    width: 75px!important;
    height: 70px;
    border-radius: 50%;
  }
  .serviceBox .service-content h5{
    font-size: 18px;
    line-height: 25px;
    color: #0d0f42;
    font-weight: 700;
    font-family: "Lato";
    text-align: center;
  }
  .serviceBox .service-content p{
    font-size: 12px;
    line-height: 20px;
    color: #888888;
    font-weight: 400;
    font-family: "Roboto";
    text-align: center;
  }
  .serviceBox:hover {
    background: #fff;
    box-shadow: 0 0 5px rgb(167 197 167 / 80%);
  }
  .serviceBox {
    margin: 10px;
  }

/* Project */
 
  section#project .left img {
    height: 368px;
    width: 100%;
  }
  #project p.text {
    font-size: 14px;
    line-height: 21px;
    color: #888888;
    font-weight: 400;
    font-family: "Roboto";
    text-align: center;
    max-width: 70%;
  }
  #project .box{
     background-color: #b12d3f;
     overflow: hidden;
     position: relative;
  }
  #project .box:before{
     content: '';
     border: 1px solid #fff;
     transform: scaleY(0);
     position: absolute;
     left: 20px;
     top: 20px;
     bottom: 20px;
     right: 20px;
     z-index: 1;
     transition: all 0.5s ease 0s;
  }
  #project .box:hover:before{ transform: scaleY(1); }
  #project .box img{
     width: 100%;
     height: auto;
     transition: all 0.5s ease 0s;
  }
  #project .box:hover img{
     opacity: 0.2;
     transform: scale(1.1);
     transform-origin: left top;
  }
  #project .box .box-content{
    color: #fff;
    text-align: center;
    width: 100%;
    opacity: 0;
    transform: translateY(-50%);
    position: absolute;
    left: 0;
    right: 0;
    z-index: 2;
    transition: all 0.5s ease 0.2s;
    top: 50%;
  }
  #project .box:hover .box-content{
    opacity: 1;
  }
  #project .box .title{
    font-size: 20px;
    line-height: 25px;
    color: #ffffff;
    font-weight: 700;
    font-family: "Lato";
    text-align: center;
  }
  #project .box .read-more{
    font-size: 14px;
    line-height: 20px;
    color: #1b1d4b;
    font-weight: 400;
    font-family: "Lato";
    text-align: center;
    border: unset;
    background: #fff;
  }

/* Why choose us */
  
  section#why_choose_us {
    padding: 0;
    position: relative;
  }
  #why_choose_us .bg {
    padding: 40px 0;
  }
  #why_choose_us:before {
    content: '';
    background: #601923;
    opacity: 0.8;
    position: absolute;
    width: 100%;
    height: 100%;
  }
  #why_choose_us .main_para {
    color: #fff;
  }
  #why_choose_us .main_heading {
    max-width: 300px;
    line-height: 28px;
    margin: 0 auto;
    color: #e2bcc1;
  }  
  #why_choose_us .main_text {
    max-width: 500px;
    font-size: 12px;
    line-height: 21px;
    color: #bab9b9;
    font-weight: 400;
    font-family: "Roboto";
    margin: 0 auto;
  }
  #why_choose_us .border_color {
    padding: 40px 0;
    z-index: 999;
  }
  #why_choose_us .bg::before {
    position: absolute;
    top: 9%;
    left: 5%;
    width: 90%;
    height: 82%;
    border: 1px solid #ccc;
    content: '';
  }
/* Counter */

  section#counter {
    padding: 30px 0;
    margin-top: 30px;
  }
  #counter h6 {
    font-size: 40px;
    line-height: 25px;
    color: #c0b5b7;
    font-weight: 900;
    font-family: "Lato";
  }
  #counter p {
    font-size: 16px;
    color: #e2bcc1;
    font-weight: 500;
    font-style: italic;
    font-family: "Roboto";
    max-width: 120px;
    margin: 0 auto;
    line-height: 25px;
  }

/* About */
  
  section#about {
    position: relative;
    bottom: 110px;
    width: 100%;
    padding: 0;
  }
  #about p.text {
    font-size: 14px;
    line-height: 25px;
    color: #888888;
    letter-spacing: 1px;
    font-weight: 600;
    font-family: "Roboto";
  } 
  #about .name {
    font-size: 60px;
    line-height: 20px;
    color: #888888;
    font-family: 'Allison', cursive;
  }
  #about .designation {
    font-size: 14px;
    letter-spacing: 2px;
    line-height: 25px;
    color: #888888;
    font-weight: 300;
    font-family: "Lato";
  }
  #about .box {
    background: #f5f1f3;
    display: flex;
    align-items: center;
  }
  #about .content {
    padding: 40px;
  }
  #about .imageContainer {
    display: inline-block;
    position: relative;
  }

  #about .imageContainer::before {
    position: absolute;
    top: 9%;
    left: 7%;
    width: 87%;
    height: 81%;
    border: 1px solid #ccc;
    content: '';
  }

/* Testimonial */

  #testimonial  {
    background: #f5f1f3;
  }
  #testimonial img.test_img {
    height: 59px;
  }
  .testimonial {
    background: #fff;
    padding: 20px 20px;
    border: 1px solid #fff;
    border-radius: 12px;
  }
  .testimonial h5 {
    font-size: 16px;
    line-height: 15px;
    color: #0d0f42;
    font-family: "lato";
    text-align: right;
    font-weight: 600;
  }
  .testimonial h6 {
    font-size: 15px;
    line-height: 10px;
    color: #888888;
    font-family: "lato";
    text-align: right;
  }
  .testimonial p {
    font-size: 14px;
    line-height: 19px;
    color: #888888;
    font-family: "lato";
    text-align: left;
  }
  #testimonial .owl-nav i {
    color: #0d0f41;
    font-size: 18px;
    background: none;
  }
  #testimonial .owl-nav {
    position: absolute;
    top: -30%;
    right: 24px;
    padding-right: 35px;
    display: block;
  }

/* Newsletter  */

  #newsletter .main_heading {
    color: #fff;
  }
  #newsletter .main_para {
    color: #fff;
  }
  #newsletter input[type="submit"] {
    letter-spacing: 1px;
    background: #b12e40;
    width:95%;
    display: block;
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
    font-weight: 400;
    font-family: "Lato";
    text-align: center;
  }
  #newsletter div.wpcf7 .ajax-loader {
    display: none;
  }
  #newsletter textarea {
    border: 2px solid #eee;
    width: 95%;
    font-size: 16px;
    padding: 10px 10px;
    margin: 0 0 12px 0;
    background: #fff;
    border-radius: 5px;
  }
  #newsletter input[type="text"] ,#newsletter input[type="number"] ,#newsletter input[type="email"] {
    border: 2px solid #eee !important;
    width: 45% !important;
    font-size: 16px !important;
    padding: 10px 10px !important;
    margin: 0 25px 25px 0 !important;
    height: auto;
    float: left;
    background: #fff;
    border-radius: 5px;
  }
  #newsletter input[type="text"]::placeholder ,#newsletter input[type="number"]::placeholder ,#newsletter input[type="email"]::placeholder , #newsletter textarea::placeholder {
    font-size: 14px;
    line-height: 25px;
    color: #888888;
    font-weight: 400;
    font-family: "Roboto";
  }

/* Latest New */

  #latest_news .post-slide .post-img{
    overflow: hidden;
  }
  #latest_news .post-slide .post-img img{
    width: 100%;
    height: auto;
    transform: scale(1);
    transition: all 1s ease-in-out 0s;
  }
  #latest_news .post-slide:hover .post-img img{
    transform: scale(1.08);
  }
  #latest_news .post-slide .post-content{
    background: #fff;
    padding: 20px 20px;
    margin-top: 7px;
  }
  #latest_news .post-slide .post-title a{
    font-size: 18px;
    line-height: 30px;
    color: #0d0f42;
    font-weight: 700;
    font-family: "Lato";
  }
  #latest_news .text {
    font-size: 14px;
    line-height: 25px;
    font-weight: 600;
    color: #888888;
    font-family: "lato";
  }
  #latest_news p.date {
    font-size: 12px;
    letter-spacing: 0px;
    color: #cdcdcd;
    font-weight: 600;
    font-family: "Lato";
    letter-spacing: 1px;
  }
  #latest_news span.author {
    font-size: 14px;
    line-height: 25px;
    color: #0d0f42;
    font-family: "Helvetica";
    font-weight: 600;
    padding-right: 7px;
  }
  #latest_news .name {
    font-size: 16px;
    line-height: 15px;
    color: #cdcdcd;
    font-weight: 600;
    font-family: "Lato";
  }

/* Team */
  
  .our-team{
      text-align: center;
      overflow: hidden;
      position: relative;
      z-index: 1;
  }
  .our-team .pic{
      position: relative;
      transition: all 0.5s ease 0s;
  }
  .our-team .pic:after{
      content: "";
      width: 100%;
      height: 0;
      background: #b12d40;
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      transform-origin: 0 0 0;
      transition: all 0.5s ease 0s;
  }
  .our-team:hover .pic:after{
      height: 100%;
      opacity: 0.85;
  }
  .our-team img{
      width: 100%;
      height: auto;
  }
  .our-team .team-content{
      width: 100%;
      position: absolute;
      top: -90%;
      left: 0;
      transition: all 0.5s ease 0.2s;
  }
  .our-team:hover .team-content{
      top: 20%;
  }
  .our-team h5.title{
    font-size: 18px;
    line-height: 25px;
    color: #fff;
    font-weight: 700;
    font-family: "Lato";
    text-align: center;
  }
  .our-team .designation {
    font-size: 14px;
    line-height: 25px;
    color: #fff;
    font-weight: 400;
    font-family: "Roboto";
    text-align: center;
  }
  .our-team .post {
    font-size: 14px;
    line-height: 25px;
    color: #fff;
    font-weight: 400;
    font-family: "Roboto";
    text-align: center;
    padding: 0 20px;
  }
  .our-team .social{
      padding: 0;
      margin: 20px 0 0 0;
      list-style: none;
  }
  .our-team .social li{
      display: inline-block;
  }
  .our-team .social li a{
      display: inline-block;
      width: 35px;
      height: 35px;
      line-height: 35px;
      border-radius: 50%;
      border: 1px solid #fff;
      font-size: 18px;
      color: #fff;
      margin: 0 7px;
      transition: all 0.5s ease 0s;
  }
  .our-team .social li a:hover{
    background: #fff;
    color:#424242;
  }

/* Study */
  
  #study {
    position: relative;
  }
  .our-study .pic{
    position: relative;
    overflow: hidden;
  }
  .our-study .pic img{
    width: 100%;
    height: auto;
    transition: all 0.2s ease 0s;
  }
  .our-study:hover .pic img{
    transform: translateY(-15px);
  }
  .our-study .post-title {
    transition: all 0.2s ease 0s;
    font-size: 16px;
    line-height: 20px;
    color: #080239;
    font-family: "lato";
    text-align: left;
  }
  #study .owl-nav i {
    color: #0d0f41;
    font-size: 18px;
    background: none;
  }
  #study .owl-nav {
    position: absolute;
    top: -10%;
    right: 24px;
    padding-right: 35px;
    display: block;
  }
