.counter-main {
    padding: 70px 0
}

@media (min-width:768px) {
    .counter-main {
        padding: 100px 0 0
    }
}

@media (min-width:1200px) {
    .counter-main {
        padding: 161px 0 0
    }
}

.counter-main .counter-main-heading {
    margin: 0 auto;
    max-width: 850px;
    text-align: center
}

.counter-main .counter-main-heading h2 {
    font-weight: 700
}

@media (min-width:992px) {
    .counter-main .counter-main-heading h2 {
        margin: 0 0 30px
    }
}

.counter-main .counter-main-heading p {
    letter-spacing: .2px;
    margin: 0 auto;
    max-width: 740px
}

@media (min-width:768px) {
    .counter-main .counter-main-heading p {
        font-size: 18px;
        line-height: 24px
    }
}

.counter-main .counter-main-heading+.counter-content-outer {
    margin-top: 40px
}

@media (min-width:768px) {
    .counter-main .counter-main-heading+.counter-content-outer {
        margin-top: 70px
    }
}

.counter-main .counter-content-outer {
    display: grid;
    gap: 30px;
    margin-inline: auto;
    max-width: 1173px;
    text-align: center
}

@media (min-width:768px) {
    .counter-main .counter-content-outer {
        gap: 32px 30px;
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (min-width:992px) {
    .counter-main .counter-content-outer {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (min-width:1200px) {
    .counter-main .counter-content-outer {
        gap: 32px 99px
    }
}

.counter-main .inner-counter-value {
    display: inline-block;
    font-size: 32px;
    font-weight: 700;
    line-height: 131.5%;
    margin: 0 0 10px
}

@media (min-width:992px) {
    .counter-main .inner-counter-value {
        font-size: 48px
    }
}

.counter-main h4 {
    background-color: var(--brand-primary);
    border-radius: 30px;
    color: var(--brand-secondary);
    display: inline-block;
    font-size: 18px;
    font-weight: 300;
    line-height: 24px;
    margin: 0 0 21px;
    padding: 10px 20px
}

.counter-main h5 {
    font-size: 20px;
    font-weight: 300;
    line-height: 26px;
    margin: 0 0 10px
}

@media (min-width:768px) {
    .counter-main h5 {
        font-size: 24px;
        line-height: 30px
    }
}

.counter-main .bottom-content {
    color: var(--gray-600);
    margin: 40px auto 0;
    max-width: 706px;
    text-align: center
}

@media (min-width:768px) {
    .counter-main .bottom-content {
        font-size: 20px;
        line-height: 32px;
        margin: 70px auto 0
    }
}

.counter-main.wide-container .counter-content-outer {
    max-width: 1260px
}

@media (min-width:1200px) {
    .counter-main.wide-container .counter-content-outer {
        gap: 60px 99px
    }
}

@media (min-width:992px) {
    .counter-main.wide-container .inner-counter-value {
        font-size: 36px;
        line-height: 42px
    }
}

@media (min-width:1200px) {
    .counter-main.wide-container .inner-counter-value {
        font-size: 44px;
        line-height: 50px
    }
}