.block5 {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(91.96deg, #C6BBFF 0%, #A0E8FF 100.77%);
    overflow: hidden;
}

.block5::before {
    content: "";
    position: absolute;
    top: -10%;
    right: -15%;
    width: 540px;
    height: 540px;
    background: url('../images/doWhiteLogo.svg') no-repeat center / contain;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.block5.block13::before {
    display: none;
}

.block5.block13 {
    overflow: visible;
    height: 367px;
    top: 0 !important;
}

.block5.block13 .block5-text {
    position: relative;
}

.block5.block13 .container {
    position: relative;
    z-index: 2;
}

.block13-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.block13-logo {
    position: absolute;
    width: 1022.19px;
    height: 1022.19px;
    top: -321.13px;
    right: 0px;
    background: url(../images/doWhiteLogo.svg) no-repeat center / contain;
    /* transform: rotate(33.36deg); */
    opacity: 1;
    pointer-events: none;


}

.block13-portrait {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    gap: 70px;
    padding-right: 0;
    z-index: 3;
}

.block13-varvara {
    width: 376px;
    height: 449px;
    background: url("../images/varvara.svg") no-repeat center/contain;
    flex-shrink: 0;
    pointer-events: none;
}

.block13-person {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 281px;
    align-items: flex-start;
    text-align: right;
    /* margin-bottom: 110px; */
    margin-bottom: 50px;
}

.block13-name {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #6764E8 6.34%, #3A3882 59.96%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.block13-role {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    display: flex;
    align-items: center;
    color: #7E7E7E;
}

.block5-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.block5-text {
    flex: 1;
    max-width: 640px;
}

.block5-title {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 36px;
    line-height: 44px;
    display: flex;
    align-items: center;

    color: #060606;

    margin: 0 0 20px 0;
}

.block5-description {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    display: flex;
    align-items: center;

    color: #000000;

    margin: 0;
    /* padding-bottom: 25px; */
}

.block5-cta-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 20px;
    gap: 10px;

    width: 249px;
    height: 56px;

    background: linear-gradient(273.96deg, #6764E8 11.01%, #3A3882 89.38%);
    border-radius: 20px;
    border: none;
    cursor: pointer;

    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: #FFFFFF;

    transition: all 0.3s ease;
}

.block5-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.block5 .cta-button-large {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 8px 20px;
    gap: 10px;
    width: 249px;
    height: 56px;
    background: linear-gradient(273.96deg, #6764E8 11.01%, #3A3882 89.38%);
    border-radius: 20px;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: #FFFFFF;
    transition: all 0.3s ease;
    align-self: center;
}

.block5 .cta-button-large.mobile {
    display: none;
}

.block5 .cta-button-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.block5-cloud-img {
    position: absolute;
    right: 0;
    left: auto;
}

@media (max-width: 1200px) {
    .block5-cloud-img {
        margin-top: 80px;
        right: -20px;
    }

    .block5-content {
        flex-direction: column;
        /* text-align: center; */
        gap: 40px;
    }

    .block5-title {
        width: 100%;
        max-width: 640px;
        font-size: 32px;
        line-height: 40px;
        height: auto;
        justify-content: center;
    }

    .block5-description {
        width: 100%;
        /* max-width: 434px; */
        height: auto;
        /* justify-content: center; */
    }
}

@media (max-width: 767px) {
    .block5 {
        padding: clamp(40px, 12vw, 56px) 0;
        top: 0;
        /* height: auto; */
        height: 503px;
    }

    .block5.block13 {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        grid-template-areas:
            "content"
            "portrait";
        row-gap: 16px;
        height: auto;
        min-height: 860px;
        padding: 24px 0 0;
        top: 0;
        overflow: visible;
        display: none !important;
    }

    .block5::before {
        content: "";
        position: absolute;
        top: -40px;
        right: -30%;
        width: clamp(200px, 70vw, 320px);
        height: clamp(200px, 70vw, 320px);
        background: url('../images/doWhiteLogo.svg') no-repeat center / contain;
        opacity: 0.25;
        pointer-events: none;
        z-index: 0;
    }

    .block5-content {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 20px;
        padding: 0 00px;
        position: relative;
        height: auto;
        z-index: 1;
    }

    .block5-text {
        position: absolute;
        margin-top: 0;
        max-width: 100%;
    }

    .block5-title {
        font-size: clamp(28px, 6.2vw, 36px);
        line-height: 1.22;
        margin-bottom: 16px;
        display: block;
        text-align: left;
    }

    .block5-description {
        font-size: 16px;
        line-height: 1.45;
        margin-bottom: 20px;
        display: block;
        text-align: left;
    }

    .block5 .cta-button-large,
    .block5-cta-button {
        width: auto;
        min-width: clamp(220px, 70%, 320px);
        height: 48px;
        font-size: 16px;
        align-self: flex-start;
    }

    .block5.block13 .container {
        position: relative;
        z-index: 2;
        width: 100%;
        padding: 0;
        grid-area: content;
    }

    .block5.block13 .block5-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        width: 100%;
        padding: 0 20px;
        position: relative;
        z-index: 2;
    }

    .block5.block13 .block5-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-top: 0;
        max-width: 353px;
    }

    .block5.block13 .block5-title {
        margin: 0;
        max-width: 353px;
        font-weight: 600;
        font-size: clamp(24px, 6.5vw, 28px);
        line-height: clamp(30px, 8.5vw, 34px);
        text-align: left;
        color: #060606;
        display: block;
    }

    .block5.block13 .block5-description {
        margin: 8px 0 0 0;
        max-width: 353px;
        font-size: 16px;
        line-height: 20px;
        color: #000000;
        display: block;
    }

    .block5.block13 .cta-button-large {
        display: flex;
        width: auto;
        min-width: 260px;
        height: 48px;
        border-radius: 20px;
        margin-top: 12px;
        align-self: flex-start;
        font-size: 16px;
    }

    .block13-logo {
        width: clamp(380px, 95vw, 620px);
        height: clamp(380px, 95vw, 620px);
        top: -90px;
        right: -40%;
        opacity: 0.22;
    }

    .block13-portrait {
        position: relative;
        display: grid;
        grid-template-rows: auto auto;
        row-gap: 12px;
        width: 100%;
        z-index: 2;
        grid-area: portrait;
        align-self: end;
        align-content: end;
        padding: 0 0 0 20px;
    }

    .block13-person {
        order: 1;
        align-items: flex-start;
        text-align: left;
        max-width: 281px;
        margin-bottom: 0;
        padding-bottom: 200px;
    }

    .block13-name {
        font-weight: 600;
        font-size: 18px;
        line-height: 22px;
        background: linear-gradient(90deg, #6764E8 6.34%, #3A3882 59.96%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        color: transparent;
    }

    .block13-role {
        font-size: 14px;
        line-height: 17px;
        color: #7E7E7E;
    }

    .block13-varvara {
        order: 2;
        justify-self: end;
        align-self: end;
        width: clamp(300px, 88vw, 321px);
        height: clamp(360px, 95vw, 460px);
        background-size: contain;
        background-position: center bottom;
        mask-image: none;
        -webkit-mask-image: none;
        border-radius: 0;
    }

    .block5 .cta-button-large.desktop {
        display: none;
    }

    .block5 .cta-button-large.mobile {
        display: flex;
    }
}

@media (min-width: 1200px) {
    .block5:not(.block13) {
        top: -140px;
        height: 245px;
    }

    .block5:not(.block13)::before {
        top: -10%;
        right: -15%;
        width: 540px;
        height: 540px;
        opacity: 0.3;
    }

    .block5:not(.block13) .block5-content {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }

    .block5:not(.block13) .block5-text {
        margin-top: -50px;
    }

    .block5:not(.block13) .cta-button-large {
        align-self: center;
        margin-left: 40px;
        align-self: normal;
    }
}