.counter-section {
      margin-top: -50px;
    z-index: 1;
    position: relative;
}

.counter-section .container{
  background: #fff;
      box-shadow: 0 2px 8px 0 rgba(0,12,55,0.1);
}


.counter-section .container .col-lg-3:not(:last-child):after{
    content: "";
    display: block;
    position: absolute;
    right: 30px;
    top: 20%;
    width: 1px;
    height: 60%;
    background: #ddd;
}

.counter-item-box {
display: flex;
    align-items: flex-start;
    height: 100%;
    /* border: 1px dashed var(--color-primary); */
    padding: 60px 30px;
    /* background: #fff; */
    flex-direction: column;
}

.counter-icon {
  flex-shrink: 0;
  margin-bottom: 15px;
}
.counter-icon img {
  width: 50px;
}

.counter-number h2,
.counter-number span {
  font-size: 45px;
  /*line-height: 26px;*/
  font-weight: 600;
  display: inline-block;
  color: var(--title-text-color);
}

.counter-text p {
  /*margin-top: 10px;*/
  font-size: 20px;
  line-height: 1.1;
  color: var(--title-text-color);
  font-weight: 500;
}


@media (min-width: 992px) and (max-width: 1199px) {
  .counter-number h2,
  .counter-number span {
    font-size: 40px;
  }
  .counter-text p {
    font-size: 18px;
  }
}

@media (min-width: 992px) and (max-width: 1279px) {
  .counter-item-box {
    flex-direction: column;
  }
  .counter-icon {
    margin: 0 auto 20px;
  }
  .counter-content {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 991px) {
  .counter-item-box {
   height: calc(100% - 30px);
    margin-bottom: 10px;
    padding: 20px;
        text-align: center;
    align-items: center;
  }
  .counter-section{
    margin-top: 40px;
        padding: 0 15px;
  }
  .counter-section .container .col-lg-3:not(:last-child):after{
    display: none;
  }
}