.counter_section {
  background: #0b0f1a;
  padding: 70px 0;
}

/* Heading */

.counter_section .counter_heading_box {
  text-align: center;
  margin-bottom: 45px;
}

.counter_section .counter_heading {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.counter_section .counter_subheading {
  color: #d0d0d0;
  font-size: 18px;
  font-weight: 400;
  margin: 0 auto;
  max-width: 650px;
}

/* Counter Wrapper */

.counter_section .counter-bg {
  display: flex;
  justify-content: center;
  align-items: center;
}

.counter_section .rowwidth {
  width: 100%;
  margin: 0;
}

.counter_section .counter-box {
  text-align: center;
  padding: 10px 20px;
  position: relative;
}

.counter_section .counter-box .number {
  font-size: 52px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 8px;
}

.counter_section .counter-box .text {
  font-size: 18px;
  color: #d7d7d7;
  margin: 0;
  font-weight: 500;
}

/* Divider */

.counter_section .bd-right {
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

/* Hover Effect */

.counter_section .counter-box:hover .number {
  color: #B22C35;
  transition: 0.3s ease;
}

.counter_section .counter-box .number {
  transition: 0.3s ease;
}

/* Tablet */

@media (max-width: 991px) {
  .counter_section .bd-right {
    border-right: none;
  }

  .counter_section .counter-box {
    margin-bottom: 25px;
  }
}

/* Mobile */

@media (max-width: 575px) {
  .counter_section {
    padding: 45px 0;
  }

  .counter_section .counter_heading {
    font-size: 30px;
  }

  .counter_section .counter_subheading {
    font-size: 15px;
  }

  .counter_section .counter-box .number {
    font-size: 32px;
  }

  .counter_section .counter-box .text {
    font-size: 14px;
  }
}
