/**
 * ItcSlider
 * @version 1.0.1
 * @author https://github.com/itchief
 * @copyright Alexander Maltsev 2020 - 2023
 * @license MIT (https://github.com/itchief/ui-components/blob/master/LICENSE)
 * @tutorial https://itchief.ru/javascript/slider
 */

/* .itc-slider {
  position: relative;
} */

.itc-slider-wrapper {
  position: absolute;
  top: -25px;
  left: 40%;
  width: 90%;
  overflow: hidden;
}

@media (max-width: 991px) {
  .itc-slider-wrapper {
    position: static;
    width: 100%;
    height: auto;
    margin-top: 30px;
  }
}

.itc-slider-items {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.itc-slider-transition-none {
  transition: none;
}

.itc-slider-item {
  flex: 0 0 35%;
  max-width: 100%;
  user-select: none;
  will-change: transform;
}

/* на больших экранах (ширина больше 1200px) 3 слайда */
@media (max-width: 768px) {
  .itc-slider-item {
    flex: 0 0 100%;
  }
}

/* кнопки влево и вправо
.itc-slider-btn {
  position: absolute;
  top: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 50px;
  color: #fff;
  text-align: center;
  background: rgb(0 0 0 / 20%);
  border: none;
  transform: translateY(-50%);
  cursor: pointer;
}

.itc-slider-btn-hide {
  display: none;
}

.itc-slider-btn-prev {
  left: 0;
}

.itc-slider-btn-next {
  right: 0;
}

.itc-slider-btn:hover,
.itc-slider-btn:focus {
  color: #fff;
  text-decoration: none;
  background: rgb(0 0 0 / 30%);
  outline: 0;
}

.itc-slider-btn::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: transparent no-repeat center center;
  background-size: 100% 100%;
} */

/* .itc-slider-btn-prev::before {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3E%3C/svg%3E");
}

.itc-slider-btn-next::before {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3E%3Cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3E%3C/svg%3E");
} */

/* индикаторы */
.itc-slider-indicators {
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -ms-align-items: center;
  align-items: center;
  justify-content: end;
  list-style: none;
}

.itc-slider-indicator {
  flex: 0 1 auto;
  box-sizing: content-box;
  width: 30px;
  height: 5px;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  background-color: rgb(255 255 255 / 50%);
  background-clip: padding-box;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  cursor: pointer;
}

@media (max-width: 991px) {
  .itc-slider-indicators {
    justify-content: center;
  }
}

.itc-slider-indicator-active {
  background-color: rgb(255 255 255 / 90%);
}



/* card content */

.serv__col {
  width: 90%;
  margin: 25px 5%;
  overflow: hidden;
  border-radius: 10px;
  background: #222;
  box-shadow: var(--violet-bg);
  height: 450px;
}

.serv__img {
  width: 100%;
  height: 200px;
  background-position: center;
  background-size: cover;
}

.serv__body {
  padding: 25px 30px;
}

.serv__body h3 {
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.serv__body p {
  font-weight: 300;
  font-size: 12px;
  line-height: 2;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.serv__butt {
  display: table;
  position: relative;
  margin-top: 25px;
  padding: 15px 75px 15px 25px;
  background: #292929;
  border-radius: 10px;
  overflow: hidden;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
}

.serv__butt::after {
  background-color: var(--violet);
}

.serv__butt::after {
  content: "";
  position: absolute;
  width: 45px;
  height: 100%;
  top: 0;
  right: 0;
  border-radius: 10px;
  background-image: url(./../img/svg/arr_black.svg);
  background-repeat: no-repeat;
  background-position: center;
  -webkit-background-size: 25px auto;
  background-size: 25px auto;
}