.counter-section {
    width: 100%;
    height: 100%;
    position: relative
}

.inside_counter_bg::after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--violet-blue);
    border-radius: 60px;
    z-index: 2
}

.inside_counter_bg {
    width: 100%;
    height: 100%;
    z-index: 1
}

.back-side-img {
    width: 30%;
    height: 30%
}

.back-side-img img {
    position: absolute;
    top: -45px;
    left: 0
}

.counter-content {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 3
}

.counter-item h2 {
    color: #fff !important
}

.counter-item p {
    font-family: var(--secondary_font);
    color: var(--white);
    margin-bottom: 0;
    line-height: 30px;
    font-weight: 400;
}

.counter-content .d-flex>div:not(:nth-child(2), :nth-child(5)) {
    border-right: 1px solid #fffFFF1A;
}

.counter-content .d-flex>div:not(:first-child, :nth-child(5)) {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.counter-content .d-flex>div:nth-child(5) {
    display: flex;
    align-items: end;
    /* flex-direction: column; */
    justify-content: center;
}

.counter-content .d-flex>div:first-child {
    display: flex;
    align-items: start;
    /* flex-direction: column; */
    justify-content: center;
}

.counter-content .d-flex>div:nth-child(3) {
    border-left: 1px solid #fffFFF1A;
}

@media (max-width:1368px) {
    .counter-content .d-flex>div:is(:first-child, :nth-child(5)) {
        align-items: center;
        text-align: center;
    }
}

@media (max-width:991px) {
    .back-side-img img {
        position: absolute;
        top: -25px;
        left: 0;
    }

    .inside_counter_bg::after {
        border-radius: 30px;
    }

    .counter-content .d-flex>div:nth-child(3) {
        border-right: none;
    }

    .counter-content .d-flex>:not(:nth-child(4), :nth-child(5)) {
        margin-bottom: 30px;
    }
}

@media (max-width:575px) {
    .counter-content .d-flex>:nth-child(4) {
        margin-bottom: 30px;
    }

    .counter-content .d-flex>div:not(:nth-child(5)) {
        border: none;
    }
}