.half-image-stat-text {
    position: relative;
    padding: 0 22px;
}

.half-image-stat {
    position: relative;
}

.half-image-stat__bg {
    width: 100%;
    height: 250px;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
}

.half-image-stat__bg img {
    border-radius: 10px;
}

.half-image-stat__top {
    width: calc(50% + 8px);
    height: 158px;
    margin-left: 32px;
    position: relative;
    z-index: 3;
}

.half-image-stat__bottom {
    width: calc(50% + 14px);
    height: 158px;
    margin-right: 30px;
    margin-left: auto;
    margin-top: -55px;
    position: relative;
    z-index: 3;
}

.half-image-stat__top img,
.half-image-stat__bottom img {
    border-radius: 10px;
}

.half-image-stat__info {
    width: 198px;
    height: 198px;
    border-radius: 50%;
    background: var(--light);
    border: 5px solid var(--white);
    filter: drop-shadow(0px 0px 15px rgba(0, 0, 0, 0.09));
    margin: -74px auto 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding-bottom: 20px;
    position: relative;
    z-index: 4;
}

.half-image-stat__info h2 {
    font-size: 45px;
    line-height: normal;
    color: var(--medium);
    margin-bottom: 5px;
}
.half-image-stat__info .sub-heading{
    color: var(--heading-text-color);
}



.half-image-stat__text {
    margin-top: 25px;
}

.half-image-stat__text .btn {
    padding: 14px 22px;
}
.half-image-stat__bg::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255 255 255 / 75%);
    border-radius: 10px;

}
.half-image-stat__text.bg-light ,
.half-image-stat__text.bg-medium ,
.half-image-stat__text.bg-dark ,
.half-image-stat-text.bg-light ,
.half-image-stat-text.bg-medium ,
.half-image-stat-text.bg-dark{
    background: var(--white);
}
.stat-text-wrapper{
    position: relative;
    width: 100%;
}


.half-image-stat__text.bg-medium .half-image-stat__text__wrapper > *:not(blockquote) ,
.half-image-stat__text.bg-dark .half-image-stat__text__wrapper > *:not(blockquote) {
    color: var(--paragraph-text-color) ;
}


.half-image-stat-text__innerpage {
    margin-top: var(--section-margins);
}
.half-image-stat__top.no-top-image ,
.half-image-stat__bottom.no-bottom-image {
    border-radius: 10px;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
}
.half-image-stat__top.no-top-image img ,
.half-image-stat__bottom.no-bottom-image img {
     width: 100%;
     max-width: 250px;
     height: auto;
     object-fit: contain;
     border-radius: 0;
}
.half-image-stat__top img {
    transform: translateY(-12px);
}

@media (min-width: 768px) {
    .half-image-stat-text {
        padding: 0 52px;
    }

    .half-image-stat__bg {
        height: 500px;
    }
    
    .half-image-stat__top {
        width: 348px;
        height: 314px;
        margin: -12px auto 0;
        transform: translateY(-15px);
    }
    
    .half-image-stat__bottom {
        width: 360px;
        height: 316px;
        margin: -114px auto 0;
    }
    
    .half-image-stat__top img {
        margin-left: -85px;
        transform: translateY(0);
    }
    
    .half-image-stat__bottom img {
        margin-left: 114px;
    }

    .half-image-stat__info {
        width: 183px;
        height: 183px;
        margin: 0;
        padding-bottom: 20px;
        position: absolute;
        bottom: 113px;
        left: 50%;
        transform: translate(-50%, 0);
        margin-left: -88px;
    }

    .half-image-stat__text {
        margin-top: 30px;
    }
    
    .half-image-stat__text .btn {
        padding: 14px 28px;
    }
   
}


@media (min-width: 1200px) {
    .half-image-stat-text {
        display: flex;
        flex-wrap: wrap;
        padding: 0;
        background: var(--light);
    }
    .half-image-stat-text.bg-white{
        background: var(--white);
    }
    .stat-text-wrapper{
        position: absolute;
        top: 50%;
        max-width: 633px;
        height: 594px;
        transform: translateY(-50%);
        right: 0;
        z-index: 2;
    }
    .half-image-stat__bottom  {
        position: absolute;
    }
    .half-image-stat__text.bg-light ,
    .half-image-stat-text.bg-light {
        background: var(--light);
    }
    .half-image-stat__text.bg-medium ,
    .half-image-stat-text.bg-medium {
        background: var(--medium);
    }
    .half-image-stat__text.bg-dark ,
    .half-image-stat-text.bg-dark {
        background: var(--dark);
    }

    .half-image-stat {
        width: 44%;
    }

    .half-image-stat__text {
        margin: 0;
        width: 56%;
        padding-left: 140px;
    }

    .half-image-stat__text__wrapper {
        padding: 150px 0;
        max-width: 613px;
    }

    .half-image-stat__bg {
        height: calc(100% + 78px);
        top: -39px;
        width: calc(100% - 36px);
    }

    .half-image-stat__top {
        position: absolute;
        width: 395.369px;   
        height: 356.589px;
        left: 20px;
        top: 20px;
    }
    
    .half-image-stat__bottom {
        width: 408px;
        height: 360px;
        position: absolute;
        right: 0;
        bottom: 0;
    }
    
    .half-image-stat__top img {
        margin-left: -10px;
    }
    
    .half-image-stat__bottom img {
        margin-left: 0;
    }

    .half-image-stat__info {
        position: absolute;
        width: 208px;
        height: 209px;
        bottom: 35%;
        margin: 0;
        left: 95px;
        transform: translateY(35%);
    }
    .half-image-stat__bg::before ,  
    .half-image-stat__bg img{
        border-radius: 0 10px 10px 0 ;
    }
    .half-image-stat__text.bg-medium .half-image-stat__text__wrapper > *:not(blockquote) ,
    .half-image-stat__text.bg-dark .half-image-stat__text__wrapper > *:not(blockquote) {
        color: var(--white);
    }
    .half-image-stat-text__innerpage {
        margin-top: 0;
    }

}

