/* Hospital counter section — Bootstrap 5 */
:root {
  --counter-orange: #20372d;
  --counter-white: #ffffff;
}

.hospital-counter-section {
  padding: 20px 0;
  background: #fff;
}

.hospital-counter-box {
  background: var(--counter-orange);
  color: var(--counter-white);
  border-radius: 11px;
  padding: 28px 24px 35px;
  text-align: center;
  overflow: hidden;
}

.counter-heading {
  color: #fff;
  font-size: clamp(20px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 25px;
}

.counter-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
}

.counter-icon {
  height: 49px;
  margin-bottom: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.counter-icon i {
  color: #fff;
  font-size: 39px;
  line-height: 1;
}

.counter-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.counter-number .plus {
  font-size: inherit;
}

.counter-item p {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin: 9px 0 0;
  line-height: 1.4;
}

@media (min-width: 992px) {
  .hospital-counter-box {
    padding-left: 35px;
    padding-right: 35px;
  }
}

@media (max-width: 575.98px) {
  .hospital-counter-section {
    padding: 15px 0;
  }

  .hospital-counter-box {
    padding: 24px 14px 27px;
    border-radius: 10px;
  }

  .counter-heading {
    margin-bottom: 22px;
  }

  .counter-icon {
    height: 40px;
    margin-bottom: 7px;
  }

  .counter-icon i {
    font-size: 31px;
  }

  .counter-number {
    font-size:18px;
  }

  .counter-item p {
    font-size: 12px;
    margin-top: 7px;
  }
}
