/*====================
26. Feature css 
======================*/

.taxio-feature {
  padding: 120px 0;
}

.taxio-feature .container {
  margin-top: 150px;
}

.taxio-feature.feature-bg {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.taxio-feature.feature-bg::before {
  content: "";
  position: absolute;
  background: rgba(0, 0, 0, 0.75);
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
}

.taxio-feature.feature-bg::after {
  content: "";
  position: absolute;
  background-repeat: repeat-x;
  background-color: var(--color-primary);
  background-image: url(./pics/shape-5.png);
  width: 500%;
  height: 40px;
  bottom: 0;
  left: 0;
  animation: slide 100s linear infinite;
}

.taxio-feature .site-heading {
  margin-bottom: 50px;
  position: relative;
  z-index: 1;
}

.taxio-feature .site-title-tagline {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  font-family: var(--title-font-family);
}

.taxio-feature .site-title-tagline::before {
  content: "";
  position: absolute;
  height: 10px;
  width: 100%;
  background: var(--color-primary);
  opacity: 0.2;
  left: -2px;
  bottom: 0;
}

.taxio-feature .site-title {
  font-weight: 700;
  text-transform: capitalize;
  font-size: 45px;
  color: #000;
  margin-bottom: 0;
}

.taxio-feature .site-title span {
  color: var(--color-primary);
}

@keyframes slide {
  100% {
    transform: translateX(-3400px);
  }
}

.taxio-feature .feature-item {
  height: calc(100% - 25px);
  padding: 25px 20px;
  text-align: center;
  position: relative;
  background: #fff;
  border-radius: 15px;
  margin-bottom: 25px;
  overflow: hidden;
  box-shadow: 0 0 40px 5px rgb(0 0 0 / 5%);
  transition: all 0.5s ease-in-out;
  z-index: 1;
}

.taxio-feature .feature-item:hover {
  transform: translateY(-10px);
}

.taxio-feature .feature-icon {
  width: 100px;
  height: 100px;
  line-height: 85px;
  border-radius: var(--button-radius);
  margin: 0 auto 20px auto;
  border: 5px solid var(--text-color);
  background: var(--color-primary);
  transition: all 0.5s ease-in-out;
}

.taxio-feature .feature-icon img {
  width: 55px;
}

.taxio-feature .feature-item:hover .feature-icon {
  transform: rotateY(360deg);
}

.taxio-feature .feature-item h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}

.taxio-feature .heading-divider {
  display: inline-block;
  position: relative;
  border: 3px solid var(--color-primary);
  width: 90px;
  height: 10px;
  border-radius: var(--button-radius);
}

.taxio-feature .heading-divider:after {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 7px;
  width: 15px;
  border-radius: var(--button-radius);
  background: var(--color-primary);
  -webkit-animation: heading-move 5s infinite linear;
  animation: heading-move 5s infinite linear;
}

@-webkit-keyframes heading-move {
  0% {
    transform: translateX(-1px);
  }
  50% {
    transform: translateX(72px);
  }
  100% {
    transform: translateX(-1px);
  }
}

@keyframes heading-move {
  0% {
    transform: translateX(-1px);
  }
  50% {
    transform: translateX(72px);
  }
  100% {
    transform: translateX(-1px);
  }
}

@media all and (max-width: 1199px) {
  .taxio-feature {
    margin-top: -20px;
  }
}
