:root {
  --color1: #ef4444;
  --color2: #ffffff;
}
.counter.blue {
  --color1: #00bae2;
}
.counter.green {
  --color1: #0ae448;
}
.counter.orange {
  --color1: #9d95ff;
}
.counter.pink {
  --color1: #6b7280;
}
.counter.purple {
  --color1: #ff8709;
}
.counter {
  color: var(--color1);
  background: linear-gradient(
    to bottom,
    var(--color1) 19%,
    var(--color2) 19%,
    var(--color2) 84%,
    var(--color1) 0%
  );
  text-align: center !important;
  width: 210px;
  height: 210px;
  border-radius: 12px;
  /* border-radius: 100px 100px; */
  padding: 46px 10px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.counter:before,
.counter:after {
  content: "";
  width: calc(100% - 15px);
  height: calc(100% - 15px);
  /* border-radius: 100px 100px; */
  border-radius: 12px;
  border: 3px solid var(--color1);
  transform: translateX(-50%) translateY(-50%);
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
}
.counter:after {
  background: var(--white);
  width: calc(100% - 35px);
  height: calc(100% - 35px);
  border: none;
  box-shadow: 0 0 10px rgba(175, 121, 121, 0.5);
}
.counter .counter-icon {
  font-size: 30px;
  line-height: 30px;
  margin: 0 0 15px;
}
.counter h3 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.counter .counter-value {
  font-size: 33px;
  font-weight: 600;
  line-height: 33px;
  display: block;
}

@media screen and (max-width: 990px) {
  .counter {
    margin-bottom: 40px;
  }
}
.odometer-inside {
  display: block;
}
.odometer {
  -webkit-transition-duration: 10s;
  transition-duration: 10s;
}
/* new */
.counter {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
