/*
* Xpert style for section
*
*
*/

/* Xpert button style */

.d-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.xpert-btn {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 30px;
  padding: 1rem 3rem;
  border-radius: 10px;
  background: var(--color-primary);
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  color: #fff;
  border: 1px solid transparent;
  text-decoration: none;
}

.xpert-btn.outline {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: #fff;
}

.xpert-btn:hover {
  background: transparent;
  border: 1px solid var(--color-primary);
  color: #fff;
  text-decoration: none;
}

.xpert-btn.outline:hover {
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
}

/* Xpert Hero Section start  */

section.xpert-home {
  background-image: url("../image/hero-backgroun.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  overflow: hidden;
  background-position: center center;
  background-attachment: fixed;
  background-clip: padding-box;
  background-origin: border-box;
  z-index: 9999;
}
.xpert-home .xpert-hero-content {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 100%;
  overflow: hidden;
}

.xpert-home .xpert-hero-content .xpert-subtile {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 26px;
  color: #fff;
}

.xpert-hero-btn {
  margin-top: 20px;
  padding-bottom: 30px;
}

.xpert-home .xpert-hero-content .xpert-title {
  font-size: 60px;
  font-weight: 700;
  line-height: 74px;
  color: #fff;
}
.xpert-home .xpert-hero-content .xpert-title span {
  color: var(--color-primary);
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
}

.xpert-home .xpert-hero-content p {
  color: #fff;
  -webkit-transition: 0.4s;
  -o-transition: 0.4s;
  transition: 0.4s;
  font-size: 16px;
  line-height: 30px;
  font-family: "Montserrat", sans-serif;
  margin-top: 1rem;
}
.xpert-hero-btn .xpert-btn {
  margin-right: 15px;
  margin-bottom: 15px;
}
.xpert-hero-btn .xpert-btn.outline {
  margin: 0;
}

.xpert-home .xpert-hero-img img {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
}
@media (max-width: 991px) {
  .xpert-home .xpert-hero-content {
    margin: 2rem;
  }
  .xpert-home .xpert-hero-content h1 {
    font-size: 3rem;
  }
}

@media (max-width: 960px) {
  body .mgp-card .mg-post-img figure img {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .xpert-btn {
    padding: 0.8rem 3rem;
  }
  .xpert-hero-btn > .xpert-btn {
    margin-bottom: 25px;
  }
  .xpert-home h2.section-heding {
    font-size: 40px;
    line-height: 55px;
  }
  .xpert-hero-img {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}

@media (max-width: 567px) {
  .xpert-home .xpert-hero-content p {
    font-size: 1rem;
    width: 90%;
  }
  .xpert-btn {
    padding: 0.5rem 2rem;
  }
  .xpert-home .xpert-hero-content h1 {
    font-size: 2.5rem;
  }
}

/*Xpert Section title style*/

.xpert-title-heading {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 2%;
}

.xpert-shape {
  width: 30px;
  height: 30px;
  background: var(--color-primary);
  -webkit-clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  margin-bottom: 10px;
}

.xpert-shape.shape-two {
  -webkit-clip-path: polygon(0 0, 0% 100%, 100% 100%);
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
}

/* Skills section style  */

.mg-skill--outside .mg-skill-level-text {
  background: var(--black);
  color: var(--white);
  padding: 3px 5px;
  position: absolute;
  right: 0;
  top: -3px;
}

/* Testimonial */

.px-testimonial-carousel .single-testimonial-img img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  -o-object-fit: cover;
  object-fit: cover;
  position: relative;
  margin-top: -40px;
  border: 4px solid var(--white);
}

.px-testimonial-carousel .single-testimonial {
  position: relative;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 60px;
  border: 1px solid var(--color-gray);
}

.px-testimonial-carousel .single-testimonial-details {
  padding: 15px 0;
}

.px-testimonial-carousel .single-testimonial-details p {
  text-transform: capitalize;
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

.px-testimonial-carousel .single-testimonial-details span {
  color: var(--color-gray);
  font-size: 14px;
  font-weight: 600;
}

.px-testimonial-carousel .review {
  padding: 0 40px 40px 40px;
  background: var(--white);
}

body
  .px-testimonial-carousel
  .single-testimonial
  .review
  .single-testimonial-img
  .single-testimonial-details
  p {
  color: var(--black);
}

.px-testimonial-carousel .review p {
  margin: 0;
  color: var(--color-gray);
  font-weight: 500;
  font-size: 18px;
  line-height: 35px;
}

.px-testimonial-carousel .review i {
  color: gold;
  font-size: 15px;
  margin-bottom: 10px;
}
.px-testimonial-carousel .swiper {
  width: 100%;
  height: 100%;
}

.px-testimonial-carousel .swiper-slide {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.px-testimonial-carousel .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: var(--color-primary);
}
.px-testimonial-carousel
  .swiper-pagination-bullet.swiper-pagination-bullet-active {
  width: 12px;
  height: 12px;
  background: var(--color-primary);
}
.px-testimonial-carousel .swiper-pagination {
  position: inherit !important;
  bottom: -3px !important;
}
span.no-rev {
  display: block;
}
.swiper-button-prev,
.swiper-container-rtl .swiper-button-next,
.swiper-button-next,
.swiper-container-rtl .swiper-button-prev {
  background-image: none !important;
}

.xpert-hero-img {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  -webkit-box-align: self-end;
  -ms-flex-align: self-end;
  align-items: self-end;
  height: 100%;
}

html body ul.mg-share-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 0;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
html body ul.mg-share-buttons li {
  min-width: 120px;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
}

/* Portfolio Filtter */

.filters.mgp-filters ul {
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.filters.mgp-filters li {
  flex: none;
  background: transparent;
  color: var(--black);
  border: none;
  -webkit-box-shadow: 0 0 0 transparent;
  box-shadow: 0 0 0 transparent;
  border-radius: 6px;
  margin-right: 20px;
}

.filters.mgp-filters li:hover,
.filters.mgp-filters li.active {
  background: var(--color-primary);
}

figure.mgpf-effect7 {
  border-radius: 6px;
}
figure.mgpf-effect7:before {
  -webkit-transition: linear 0.5s;
  -o-transition: linear 0.5s;
  transition: linear 0.5s;
  position: absolute;
  top: -200px;
  width: 1px;
  height: 20%;
  background: rgb(255, 255, 255);
  content: "";
  z-index: 9;
  left: 50%;
}

figure.mgpf-effect7:after {
  -webkit-transition: linear 0.5s;
  -o-transition: linear 0.5s;
  transition: linear 0.5s;
  position: absolute;
  bottom: -200px;
  width: 1px;
  right: 50%;
  height: 20%;
  background: rgb(255, 255, 255);
  content: "";
  z-index: 5;
}

figure.mgpf-effect7:hover:after {
  bottom: 0;
}

figure.mgpf-effect7:hover:before {
  top: 0;
}

.pfilter-item figure.mgpf-effect7 figcaption {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
  -o-transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
  transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

.pfilter-item figure.mgpf-effect7:hover figcaption {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  z-index: 3;
}
.pfilter-item figure.mgpf-effect7 {
  position: relative;
}

.pfilter-item figure.mgpf-effect7 .pfilter-ioverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: #0000008c;
  visibility: hidden;
  -webkit-transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
  -o-transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
  transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
}

.pfilter-item figure.mgpf-effect7:hover .pfilter-ioverlay {
  opacity: 1;
  visibility: visible;
}

.xportfolio-heading {
  font-size: 1.1rem;
  color: var(--black);
}

.xportfolio-subtitle {
  font-size: 0.6rem;
  margin: 0;
}

.cap-text {
  padding: 10px;
  text-align: center;
  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-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 100%;
}

/*Filter loader*/
.mgp-fil-loader {
  background: #ededed;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9999;
}

.mgp-loader {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.mgp-loader div {
  position: absolute;
  border: 4px solid #fff;
  opacity: 1;
  border-radius: 50%;
  -webkit-animation: mgp-loader 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
  animation: mgp-loader 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.mgp-loader div:nth-child(2) {
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}

@-webkit-keyframes mgp-loader {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }

  4.9% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }

  5% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }

  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}

@keyframes mgp-loader {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }

  4.9% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }

  5% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }

  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}
