.counter-item {
  margin-bottom: 30px;
}
.counter-item .inner-box {
  position: relative;
  padding: 65px 30px 33px;
  margin-top: 60px;
  border: 10px solid var(--theme-color1);
  background-color: var(--theme-color-white);
  transition: all 300ms ease;
  text-align: center;
}
.counter-item .inner-box:before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  background: var(--theme-color1);
  transform: scale(0.4);
  transition: all 300ms ease;
}
.counter-item .inner-box:hover {
  border-color: var();
}
.counter-item .inner-box:hover:before {
  transform: scale(1);
  opacity: 1;
}
.counter-item .inner-box:hover .counter-icon i {
  color: var(--theme-color1);
}
body.tm-dark-layout .counter-item .inner-box:hover .counter-icon i {
  color: #fff;
}
.counter-item .inner-box:hover .counter-icon i:after {
  transform: scale(1);
}
.counter-item .inner-box:hover .count-box,
.counter-item .inner-box:hover .counter,
.counter-item .inner-box:hover .title {
  color: #fff;
}
.counter-item .inner-box .icon-lines-5 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 138px;
  height: 139px;
  background-image: url(../../../images/current-theme/icon-lines-5.png);
}
.counter-item .inner-box .counter-icon i {
  position: absolute;
  left: 50%;
  top: -70px;
  height: 116px;
  width: 116px;
  font-size: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--gradient-2);
  transform: translateX(-50%);
  transition: all 300ms ease;
  z-index: 2;
}
.counter-item .inner-box .counter-icon i:before {
  position: relative;
  z-index: 3;
}
.counter-item .inner-box .counter-icon i::after {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: var(--theme-color-white);
  border-radius: 50%;
  transform: scale(0);
  transition: all 300ms ease;
  content: "";
}
.counter-item .inner-box .count-box {
  position: relative;
  color: var(--theme-color2);
  font-size: 50px;
  font-weight: 800;
  line-height: 1em;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  transition: all 300ms ease;
}
.counter-item .inner-box .counter {
  position: relative;
  color: var(--theme-color2);
  font-size: 50px;
  font-weight: 800;
  line-height: 1em;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  transition: all 300ms ease;
}
body.tm-dark-layout .counter-item .inner-box .counter {
  color: #fff;
}
.counter-item .inner-box .title {
  position: relative;
  color: var(--theme-color2);
  margin-bottom: 0;
  transition: all 300ms ease;
}
body.tm-dark-layout .counter-item .inner-box .title {
  color: #fff;
}