/* // about section */

.about_section1 {
  color: white;
  padding-left: 10%;
  padding-right: 12%;

  .box {
    display: flex;
    align-items: stretch;

    .img-box {
      flex: 1;

      img {
        width: 100%;
      }
    }

    .detail-box {
      flex: 1;
      padding: 25px;
      margin: 25px 0;
      background-color: primary1;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;

      p {
        margin: 0;
      }

      a {
        display: flex;
        align-items: center;
        margin-top: 15px;
        color: btnColor;

        hr {
          border: none;
          width: 90px;
          height: 1px;
          background-color: btnColor;
          margin: 0;
          margin-left: 5px;
        }
      }
    }
  }
}

/* // end about section */

@media (max-width: 768px) {
  .about_section1 {
      padding-left: 0;
      padding-right: 0;
  }

  .about_section1 .box {
      flex-direction: column;
  }

  .about_section1 .box .detail-box {
      margin: 0;
  }

  .info_section .row>div {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .info_section .row>div:not(:nth-last-child(1)) {
      margin-bottom: 45px;
  }

  .info_section .info_links {
      flex-direction: column;
      align-items: center;
  }
}

/* // about section */

.pmsg_section {
  color: white;
  padding-left: 10%;
  padding-right: 12%;

  .box {
    display: flex;
    align-items: stretch;

    .img-box {
      flex: 1;

      img {
        width: 100%;
      }
    }

    .detail-box {
      flex: 1;
      padding: 25px;
      margin: 25px 0;
      background-color: primary1;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;

      p {
        margin: 0;
      }

      a {
        display: flex;
        align-items: center;
        margin-top: 15px;
        color: btnColor;

        hr {
          border: none;
          width: 90px;
          height: 1px;
          background-color: btnColor;
          margin: 0;
          margin-left: 5px;
        }
      }
    }
  }
}
.pmsg_section .box .detail-box {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 25px;
  margin: 25px 0;
  background-color: #252525;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}
/* // end about section */

/*** Section Title ***/

.section-title1 h1 {
  position: relative;
  display: inline-block;
  padding: 0 60px;
}

.section-title1.text-start h1 {
  padding-left: 0;
}

.section-title1 h1::before,
.section-title1 h1::after {
  position: absolute;
  content: "";
  width: 45px;
  height: 5px;
  bottom: 0;
  background: white;
}

.section-title1 h1::before {
  left: 0;
}

.section-title1 h1::after {
  right: 0;
}

.section-title1.text-start h1::before {
  display: none;
}


/* // we have section */

.wehave_section {
  color: white;
  padding-left: 10%;
  padding-right: 5%;
  background-color: primary1;
  background: linear-gradient(to bottom, transparent 5%, primary1 5%, primary1 95%, transparent 95%);

  .box {
    display: flex;
    align-items: stretch;

    .img-box {
      flex: 1.4;

      img {
        width: 100%;
      }
    }

    .detail-box {
      flex: 1;
      padding: 25px;
      margin: 25px 0;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;

      p {
        margin: 0;
      }

      a {
        display: flex;
        align-items: center;
        margin-top: 15px;
        color: btnColor;

        hr {
          border: none;
          width: 90px;
          height: 1px;
          background-color: btnColor;
          margin: 0;
          margin-left: 5px;
        }
      }
    }
  }
}

/* // end we have section */

.teamWrapper {
  margin-top: 50px;
}
.container {
--container: 1160px;
max-width: var(--container);
margin: auto;
}
.teamGrid {
  display: grid;
  grid-template-columns: 32.33% 32.33% 32.33%;
  column-gap: 1.5%;
  margin-top: 100px;
}
.avatar {
  position: absolute;
  left: 0;
  right: 0;
  top: -80px;
  text-align: center;
}
.teamcolinner {
  position: relative;
}
.avatar > img {
  width: 150px;
  margin: auto;
  border-radius: 50%;
  border: 1px solid rgb(170 170 173/ 1);
  box-shadow: 0px 3px 10px 3px rgb(170 170 173 / 0.5);
}
.teamcolinner {
  position: relative;
  border: 1px dashed #ddd;
  min-height: 100px;
  background: #fff;
  z-index: 9;
}
.teamcol {
  padding: 15px;
  background: #fff;
  border-radius: 10px;
  position: relative;
  transition: transform 1s ease-in-out;
}
.teamcol:hover {
  transform: translateY(-30px);
  box-shadow: 0px 3px 10px 3px rgb(170 170 173 / 0.5);
  transition: transform 1s ease-in-out;
}
.teamcol:before {
  content: "";
  width: 50%;
  height: 50%;
  position: absolute;
  right: 0;
  top: 0;
  background: -webkit-linear-gradient(#ffbf00, #ffa000);
  border-top-right-radius: 10px;
  transition: width 1s ease-in-out;
}
.teamcol:after {
  content: "";
  width: 50%;
  height: 50%;
  position: absolute;
  left: 0;
  bottom: 0;
  background: -webkit-linear-gradient(#0052cc, #005fec);
  border-bottom-left-radius: 10px;
  transition: width 1s ease-in-out;
}
.teamcol:hover::before, .teamcol:hover::after {
  width: 100%;
  transition: width 1s ease-in-out;
}
.member-name {
  margin-top: 80px;
}
.member-info {
  padding: 10px 20px;
}
.social-listing {
  align-items: center;
  justify-content: center;
  display: flex;
  list-style: none;
  padding: 0;
}
.social-listing >li {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: #f4f5f7;
  border-radius: 50%;
  margin: 5px;
}


/* // we have section */

.wehave_section {
  color: white;
  padding-left: 10%;
  padding-right: 5%;
  background-color: primary1;
  background: linear-gradient(to bottom, transparent 5%, primary1 5%, primary1 95%, transparent 95%);

  .box1 {
    display: flex;
    align-items: stretch;

    .img-box1 {
      flex: 1.4;

      img {
        width: 100%;
      }
    }

    .detail-box {
      flex: 1;
      padding: 25px;
      margin: 25px 0;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: center;

      p {
        margin: 0;
      }

      a {
        display: flex;
        align-items: center;
        margin-top: 15px;
        color: btnColor;

        hr {
          border: none;
          width: 90px;
          height: 1px;
          background-color: btnColor;
          margin: 0;
          margin-left: 5px;
        }
      }
    }
  }
}

.team_section {
  .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0.2;
    margin: 75px 0;
    transition: all 0.3s;

    .img-box {
      img {
        width: 100%;
      }
    }

    .detail-box {
      background-color: btnColor;
      padding: 15px;
      border-radius: 10px;
      color: white;
      margin-top: -45px;
      visibility: hidden;
      opacity: 0;
      transition: all 0.3s;

      h6 {
        text-transform: uppercase;
        font-size: 15px;
      }

      .social_box {
        display: flex;
        justify-content: center;

        a {
          width: 30px;
          height: 30px;
          border-radius: 100%;
          display: flex;
          justify-content: center;
          align-items: center;
          background-color: white;
          font-size: 18px;
          margin: 0 5px;
          color: btnColor;
        }
      }
    }
  }

  .team_carousel {
    .owl-item.center {
      .box {
        opacity: 1;
        transform: scale(1.2);

        .detail-box {
          visibility: visible;
          opacity: 1;
        }
      }
    }

    .owl-dots {
      display: flex;
      justify-content: center;

      .owl-dot {
        width: 20px;
        height: 20px;
        margin: 0 5px;
        background-color: primary1;
        outline: none;

        &.active {
          background-color: btnColor;
        }
      }
    }
  }
}


.blog-slider {
  width: 95%;
  position: relative;
  max-width: 1200px;
  margin: auto;
  background: #fff;
  box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
  padding: 25px;
  border-radius: 25px;
  height: 450px;
  transition: all .3s;

 
@media screen and (max-width: 992px) {
  max-width: 680px;
      height: 400px;
}

@media screen and (max-width: 768px) {
  min-height: 500px;
  height: auto;
  margin: 180px auto;
}


@media screen and (max-height: 500px) and (min-width: 992px) {
      height: 350px;
}

&__item {
  display: flex;
  align-items: center;
  
@media screen and (max-width: 768px) {
  flex-direction: column;
}
  
  &.swiper-slide-active {
    .blog-slider__img {
      img {
        opacity: 1;
      transition-delay: .3s;
      }
    }
    .blog-slider__content {
      > * {
    
      opacity: 1;
      transform: none;

    @for $i from 0 to 15 {
      &:nth-child(#{$i + 1}) {
        transition-delay: $i * 0.1 + 0.3s;
      }
    }

  }
    }
  }
  
}
/* // end team section */

.testimonial-carousel1 .owl-dots {
  margin-top: 30px;
  text-align: center;
}

.testimonial-carousel1 .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: #BDBDBF;
  transition: .5s;
}

.testimonial-carousel1 .owl-dot.active {
  width: 40px;
  background: #FFAA17;
}

.testimonial-carousel1 .owl-item img {
  width: 80px;
  height: 80px;
}

.testimonial-carousel1 .owl-item .testimonial-item {
  opacity: .5;
}

.testimonial-carousel1 .owl-item.center .testimonial-item1 {
  background: #222429;
  opacity: 1;
}

.testimonial-carousel1 .owl-item.center .testimonial-item1 h5 {
  color: #FFAA17;
}

.testimonial-carousel1 .owl-item.center .testimonial-item1::before {
  position: absolute;
  content: "";
  top: 45px;
  left: -30px;
  right: -30px;
  bottom: 45px;
  background: #5c616f;
  border-radius: 4px;
  z-index: -1;
}

.contact-form .help-block ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
}


.layout_margin {
  margin-top: 90px;
  margin-bottom: 90px;
}

.layout_padding {
  padding-top: 120px;
  padding-bottom: 120px;
}

.layout_padding2 {
  padding-top: 75px;
  padding-bottom: 75px;
}

.layout_padding2-top {
  padding-top: 75px;
}

.layout_padding2-bottom {
  padding-bottom: 75px;
}

.layout_padding-top {
  padding-top: 120px;
}

.layout_padding-bottom {
  padding-bottom: 120px;
}

/* // news section */

.news_section {
  .row {
    align-items: flex-end;
  }

  .detail_container {
    margin-top: 35px;

    .detail-box {
      box-shadow: 0 0 7px 0 rgba(color: #0000, $alpha: .25);
      padding: 25px 65px 25px 25px;

      h4 {
        font-weight: bold;
      }

      .news_social {
        display: flex;
        justify-content: space-between;
        padding: 15px;


        a {
          display: flex;
          flex-direction: column;
          color: btnColor;
        }
      }
    }

    .btn-box {
      margin-top: 45px;

      a {
        @include hero_btn($primary1, $white, 12px, 45px, 0);
        text-transform: uppercase;
      }
    }
  }


  .img-box {
    margin-left: -80px;
    margin-top: 1rem;
    img {
      width: 100%;
    }
  }


/* end news section */


.blog-slider1 {
  width: 95%;
  position: relative;
  max-width: 1200px;
  margin: auto;
  background: #fff;
  box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
  padding: 25px;
  border-radius: 25px;
  height: auto;
  transition: all .3s;

 
@media screen and (max-width: 992px) {
  max-width: 680px;
      height: 400px;
}

@media screen and (max-width: 768px) {
  min-height: 500px;
  height: auto;
  margin: 180px auto;
}


@media screen and (max-height: 500px) and (min-width: 992px) {
      height: 350px;
}


.destination-item img {
  transition: .5s;
}

.destination-item:hover img {
  transform: scale(1.3);
}

.destination-overlay {
  position: absolute;
  top: 30px;
  right: 30px;
  bottom: 30px;
  left: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: .5s;
  z-index: 1;
}

.destination-item:hover .destination-overlay {
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  border-width: 30px;
}
}

/* button */
/* button {
  position: relative;
  background: #ab7442;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  border: none;
  letter-spacing: 0.1rem;
  font-size: 1rem;
  padding: 1rem 3rem;
  transition: 0.2s;
}

button:hover {
  letter-spacing: 0.2rem;
  padding: 1.1rem 3.1rem;
  background: #ab7442;;
  color: white; */
  /* box-shadow: 0 0 35px var(--clr); */
  /* animation: box 3s infinite;
} */

/* button::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: #ab7442;
}

button span {
  position: relative;
  z-index: 1;
}
button i {
  position: absolute;
  inset: 0;
  display: block;
}

button i::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 1px;
  left: 80%;
  top: -2px;
  border: 2px solid var(--clr);
  background: #272822;
  transition: 0.2s;
}

button:hover i::before {
  width: 15px;
  left: 20%;
  animation: move 3s infinite;
}

button i::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 2px;
  left: 20%;
  bottom: -2px;
  border: 2px solid var(--clr);
  background: #272822;
  transition: 0.2s;
}

button:hover i::after {
  width: 15px;
  left: 80%;
  animation: move 3s infinite;
}

@keyframes move {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes box {
  0% {
    box-shadow: #27272c;
  }
  50% {
    box-shadow: 0 0 25px var(--clr);
  }
  100% {
    box-shadow: #27272c;
  }
} */

.effect {
  position: relative;
  overflow: hidden;
  width: 100%; }

.effect-pulse:before, .effect-pulse:after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 1rem;
  bottom: 1rem;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  transition: opacity 0.35s, transform 0.35s, -webkit-transform 0.35s;
  z-index: 7; }

.effect-pulse:before {
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  -webkit-transform: scale(0, 1);
  transform: scale(0, 1); }

.effect-pulse:after {
  border-right: 1px solid white;
  border-left: 1px solid white;
  -webkit-transform: scale(1, 0);
  transform: scale(1, 0); }

.effect-pulse:hover:before, .effect-pulse:hover:after {
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1); }

.effect-scope:before, .effect-scope:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  right: 0;
  left: 0;
  bottom: 0;
  top: 0;
  visibility: hidden;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  z-index: 9; }

.effect-scope:hover:before, .effect-scope:hover:after {
  background: rgba(255, 255, 255, 0.3);
  visibility: visible; }

.effect-scope:hover:before {
  width: 0;
  right: 50%;
  left: 50%; }

.effect-scope:hover:after {
  height: 0;
  top: 50%;
  bottom: 50%; }

      