.counter-block {
  position: relative;
  margin-bottom: 50px;
}
.counter-block .inner {
  position: relative;
  text-align: center;
  transition: all 300ms ease;
}
.counter-block .inner:hover .counter-icon {
  border-color: #fff;
}
.counter-block .inner:hover .counter-icon:after {
  transform: rotateY(180deg);
}
.counter-block .inner:hover .counter-icon i {
  z-index: 3;
}
.counter-block .counter-icon {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  height: 120px;
  width: 120px;
  border-radius: 50%;
  color: var(--theme-color1);
  font-size: 62px;
  transition: all 300ms ease;
  border: 1px solid transparent;
  margin: 0 auto 15px;
}
.counter-block .counter-icon img {
  z-index: 3;
}
.counter-block .counter-icon i {
  z-index: 2;
}
.counter-block .counter-icon:after {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  top: 10px;
  background-color: #f3f3f3;
  border-radius: 50%;
  transition: all 400ms ease;
  z-index: 0;
  content: "";
}
.counter-block .count-box {
  font-size: 60px;
  color: var(--theme-color1);
  font-weight: 800;
  line-height: 1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.counter-block .count-box .counter {
  font-size: 60px;
  color: var(--theme-color2);
  letter-spacing: -0.02em;
  font-weight: 800;
  line-height: 1em;
}
.counter-block .title {
  display: block;
  font-size: 18px;
  color: #6a6a6a;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.counter-block-two {
  position: relative;
  margin-bottom: 50px !important;
}
.counter-block-two .inner {
  position: relative;
  width: 100%;
  transition: all 300ms ease;
}
.counter-block-two .counter-icon {
  position: relative;
  display: block;
  font-size: 30px;
  color: #00e4ff;
  z-index: 1;
  margin-bottom: 0;
  transition: all 300ms ease;
}
.counter-block-two .count-box {
  position: absolute;
  left: -30px;
  top: -40px;
  font-size: 150px;
  font-weight: 700;
  line-height: 1em;
  color: #0e1e2a;
  text-shadow: 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff;
  opacity: 0.3;
}
.counter-block-two .count-box .counter {
  font-size: 150px;
  color: #0e1e2a;
  text-shadow: 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff, 0 0 1px #fff;
  font-weight: 700;
  line-height: 1em;
}
.counter-block-two .title {
  position: relative;
  display: block;
  font-size: 24px;
  line-height: 35px;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 0;
}

.tm-counter-icon-top .inner {
  flex-direction: column;
}

.tm-counter-icon-right .inner {
  flex-direction: row-reverse;
  display: inline-flex;
}

.tm-counter-icon-right .inner .counter-icon {
  margin-right: 0;
  margin-left: 20px;
}