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

.taxio-feature {
  padding: clamp(30px, 4.6875vw, 90px) 0;
}

.taxio-feature .container {
}

.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: clamp(14px, 0.83vw, 16px);
  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 {
  margin-bottom: 0;
  font-size: clamp(20px, 2.40vw, 46px);
  line-height: 1.3;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
}

.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: #000000;
  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: clamp(16px, 1.04vw, 20px);
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}
.taxio-feature .feature-item p{
    line-height: 24px;
    font-size: clamp(14px, 0.83vw, 16px);
    color: #555;
}
.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: 991px) {
  .taxio-feature .feature-item h4 {
    margin-bottom: 10px;
  }
  .taxio-feature .feature-item p {
    line-height: 22px;
  }
  .taxio-feature .feature-item {
    padding: 20px 15px;
  }
  .taxio-feature .feature-icon img {
    width: 40px;
  }
  .taxio-feature .feature-icon {
    width: 80px;
    height: 80px;
    line-height: 65px;
  }
}
