.partners-section {
    position: relative;
    height: 492px;
    width: 100%;
    display: flex;
    align-items: start;
    justify-content: center;
    overflow: hidden;
    padding: 30px;
}

.partners-img {
    border-radius: 20px;
    width: 707px;
    height: 492px;
    position: absolute;
    bottom: 0;
    right: 0;
}

.partners-block-info {
    z-index: 1;
    width: 543px;
    background: rgb(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-wrap: pretty;
}

.each-partner-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.each-partner-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.each-partner-info {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    gap: 30px;
}

.each-partner-img img {
    width: 100%;
    height: 100%;
}

.each-partner-img {
    min-width: 744px;
    width: 744px;
    height: 476px;
    overflow: hidden;
    border-radius: 20px;
}

.main-btn {
    width: 100%;
}

@media (max-width: 1439px) {
    .partners-section {
        height: 367px;
    }

    .partners-img {
        width: 538px;
        height: 367px;
        right: -50px;
    }

    .partners-block-info {
        width: 441px;
    }

    .each-partner-img {
        width: 477px;
        height: 324px;
        min-width: 477px;
    }

    .each-partner-info {
        gap: 20px;
    }
}

@media (max-width: 1023px) {
    .partners-section {
        height: 273px;
    }

    .partners-img {
        width: 385px;
        height: 263px;
        right: -50px;
    }

    .partners-block-info {
        width: 362px;
    }

    .each-partner-img {
        width: 477px;
        height: 324px;
    }

    .each-partner-info {
        gap: 20px;
    }

    .partners-block-info {
        padding: 20px;
        gap: 20px;
    }

    .each-partner-block {
        flex-direction: column;
    }

    .each-partner-img {
        width: 100%;
        height: 334px;
    }

    .each-partner-img img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 500px) {
    .partners-section {
        position: unset;
        height: fit-content;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 20px 10px;
        padding-bottom: 0;
    }

    .partners-img {
        width: 300px;
        height: 199px;
        position: unset;
        bottom: 0;
        right: 0;
    }

    .partners-block-info {
        width: 100%;
        background: none;
        padding: 0;
        gap: 10px;
        text-wrap: balance;
    }

    .each-partner-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .each-partner-block {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .each-partner-info {
        gap: 10px;
        align-items: center;
    }

    .each-partner-img {
        display: none;
    }
}