.category-sections-eight {
  padding: 80px 0;
  background: #FFF;
}
@media (max-width: 991.98px) {
  .category-sections-eight {
    padding: 50px 0;
  }
}
@media (max-width: 767.98px) {
  .category-sections-eight {
    padding: 40px 0;
  }
}

.category-eight-main {
  text-align: center;
  position: relative;
  margin-bottom: 24px;
}
.category-eight-main span {
  padding: 5px 10px;
  background: rgba(42, 57, 109, 0.05);
  border-radius: 10px;
  font-size: 14px;
}
.category-eight-main:hover .category-eight-img-inside {
  transform: scale(1);
}
.category-eight-main:hover h6 {
  color: #FFC926;
}
.category-eight-main:hover .category-eight-img::before {
  opacity: 1;
  transform: scale(1);
  transition: 0.5s all;
}
.category-eight-main:hover span {
  background: rgba(255, 201, 38, 0.05);
  color: #FFC926;
}

.category-eight-img {
  margin-bottom: 15px;
  position: relative;
  transition: 0.5s all;
}
.category-eight-img img {
  border-radius: 10px;
}
.category-eight-img::before {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(255, 201, 38, 0.7), rgba(255, 201, 38, 0.7));
  opacity: 0;
  transform: scale(0);
  position: absolute;
  top: 0;
  right: 0;
  transition: 0.5s all;
  border-radius: 10px;
}

.category-eight-img-inside {
  position: absolute;
  width: 100%;
  height: 75%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0;
  z-index: 9;
  border-radius: 10px;
  transform: scale(0);
  transition: all 0.5s;
}
.category-eight-img-inside a {
  color: #fff;
}
.category-eight-img-inside a img {
  width: 41px !important;
  margin: auto;
}

.category-eight-slider .owl-nav {
  text-align: center;
}
.category-eight-slider .owl-nav button.owl-prev {
  background: #fff;
  box-shadow: 0px 4px 14px 0px rgba(141, 141, 141, 0.2509803922);
  margin-bottom: 0;
}
.category-eight-slider .owl-nav button.owl-prev:hover {
  background: #FFC926 !important;
}
.category-eight-slider .owl-nav button.owl-next {
  background: #fff;
  box-shadow: 0px 4px 14px 0px rgba(141, 141, 141, 0.2509803922);
  margin-bottom: 0;
}
.category-eight-slider .owl-nav button.owl-next:hover {
  background: #FFC926 !important;
}
  .category-sections-eight .owl-carousel .carousel .carousel__viewport ol {
    left: 14%;
  }
  #active-service .d-flex.gap-3 a, #inactive-service .d-flex.gap-3 a {
  display: inline-flex;
  align-items: center;
}
.category-item {
  position: relative;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.08);
  border-radius: 5px;
  padding: 20px;
  border: 1px solid #FFF;
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.category-item img {
  height: 120px;
}
.category-item .badge {
  position: absolute;
  top: 0;
  right: 0;
  border-radius: 0 2px 0 5px;
}
.category-item a {
  display: none;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  transition: all 0.5s ease;
  white-space: nowrap;
}
.category-item:hover {
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  transition: all 0.5s ease;
  border-radius: 10px;
  border-color: #FFC926;
  box-shadow: 0px 10px 20px -5px rgba(0, 0, 0, 0.08);
  background: url("../img/bg/category-bg.svg") no-repeat;
  background-size: cover;
  background-position: top center;
}
.category-item:hover a {
  display: block;
  bottom: 10px;
 -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.category-item:hover .badge {
  border-radius: 0 10px 0 5px;
}
.category-item:hover p {
  display: none;
  -webkit-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.btn-thin {
    padding: 3px 10px !important;
    font-size: 13px !important;
	color: #3A404E !important;
    border-radius: 6px !important;
    font-weight: 400 !important;
}
