.counter-section {
  padding: 25px 0 100px;
}

.counter-item-box {
  display: flex;
  align-items: center;
  height: 100%;
  border: 1px dashed var(--color-primary);
  padding: 20px;
}

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

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

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


@media (min-width: 992px) and (max-width: 1199px) {

  .counter-text p {
    font-size: 18px;
  }
}

@media (min-width: 992px) and (max-width: 1279px) {
  .counter-item-box {
    flex-direction: column;
  }
  .counter-section {
      padding: 25px 0 60px;
  }
  .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: 30px;
  }
}


@media screen and (max-width: 1500px) {
  .counter-number h2, .counter-number span{font-size: 40px;}
}
@media screen and (max-width: 1440px) {
  .counter-number h2, .counter-number span{font-size: 36px;}
}
@media screen and (max-width: 1281px) {
  .counter-number h2, .counter-number span{font-size: 34px;}
}
@media screen and (max-width: 1171px) {
  .counter-number h2, .counter-number span{font-size: 30px;}
}
@media screen and (max-width: 992px) {
  .counter-number h2, .counter-number span{font-size: 26px;}
  .counter-text p {font-size: 16px;}
  .counter-section {padding: 30px 0;}
}
@media screen and (max-width: 768px) {
  .counter-number h2, .counter-number span{font-size: 24px;}
}
@media screen and (max-width: 480px) {
  .counter-number h2, .counter-number span{font-size: 22px;}
  .counter-text p {font-size: 14px;}
}