.partnerships {
    margin-top: 167px;
}

.partnerships h2 {
    margin-top: 0;
}

.partnerships .pre-header {
    color: var(--lgray-golor);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    line-height: 26px;
    margin-bottom: 31px;
}

.partnerships .container {
    display: flex;
    gap: 67px;
}

.partnerships .left-content,
.partnerships .right-content {
    max-width: 50%;
    width: 100%;
}

.partnerships img {
    border-radius: 29px;
}

.partnerships .right-content {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.partnerships .right-content img.back-image {
    max-width: 645px;
    width: 100%;
    height: 465px;
    object-fit: cover;
}

.partnerships .right-content img.front-image {
    max-width: 337px;
    width: 100%;
    height: 456px;
    object-fit: cover;
    position: relative;
    right: 0;
    margin-top: -170px;
}

.partnerships .right-content .bottom-group {
    display: flex;
    flex-direction: row;
    gap: 20px;
    bottom: 0;
    align-items: flex-end;
}

.partnerships .reverse .right-content .bottom-group {
    flex-direction: row-reverse;
}

.partnerships .right-content .stats {
    border-radius: 23px;
    /* background: #F0953E; */
    padding: 30px;
    width: 290px;
    height: 238px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}

.partnerships h3 {
    margin-bottom: 0;
}

.partnerships .stats .number{
    font-size: 46px;
    font-style: normal;
    font-weight: 600;
}

.partnerships .stats .info strong {
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
}

@media (min-width: 992px) and (max-width: 1300px) {
    .partnerships .right-content .bottom-group {
        flex-direction: column;
    }
    .partnerships .right-content img.front-image { 
        margin-top: 0;
        height: 236px;
        max-width: 100%;
    }
    .partnerships .right-content .stats {
        width: 90%;
        height: auto;
        text-align: center;
    }
    .partnerships .right-content img.back-image {
        height: 355px;
    }
}

@media (max-width: 991px) {
    .partnerships {
        margin: 60px 0;
    }
    .partnerships .container {
        flex-direction: column;
        flex-wrap: wrap;
        gap: 14px;
    }
    .partnerships .left-content, .partnerships .right-content {
        max-width: 100%;
    }
    .partnerships .left-content {
        margin-top: 0;
    }
    .partnerships .right-content .stats {
        display: none;
    }
}

@media (max-width: 650px) {
    .partnerships .right-content .bottom-group {
        flex-direction: column;
    }
    .partnerships .right-content img.front-image { 
        margin-top: 0;
        height: 236px;
        max-width: 100%;
    }
    .partnerships .right-content .stats {
        width: auto;
        height: auto;
        text-align: center;
    }
    .partnerships .right-content img.back-image {
        height: 355px;
    }
    .partnerships .right-content .bottom-group {
        flex-wrap: wrap;
    }
}