.first-screen-with-counters {
    position: relative;
    height: 100vh;
    min-height: 900px;
    overflow: hidden;
}

.first-screen-with-counters__top-left-decor,
.first-screen-with-counters__top-right-decor,
.first-screen-with-counters__bot-decor {
    position: absolute;
}

.first-screen-with-counters__top-left-decor {
    top: -60px;
    left: 0;
}

.first-screen-with-counters__top-right-decor {
    top: 0;
    right: 0;
}

.first-screen-with-counters__bot-decor {
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
}
.first-screen-with-counters__btn {
    min-width: 210px;
}

.first-screen-with-counters__wrapper,
.first-screen-with-counters__container {
    height: 100%;
}

.first-screen-with-counters__text {
    margin-bottom: 50px;
}

.first-screen-with-counters__counters-text {
    margin-bottom: 0;
    color: #6f7585;
}

.first-screen-with-counters__heading {
    margin-bottom: 30px;
}

.first-screen-with-counters__bg-video video{
    width: 100vw;
    object-fit: cover;
    height: 100vh;
    min-height: 900px;
}

.first-screen-with-counters__wrapper {
    padding-top: 158px;
    display: flex;
    gap: 67px;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.first-screen-with-counters__text-content {
    flex-basis: 862px;
    opacity: 0;
    transform: translateY(20%);
    transition: all 1.5s ease;
    transition-delay: 0.1s;
}

.first-screen-with-counters__text-content.active {
    transform: translateY(0);
    opacity: 1;
}

.first-screen-with-counters__counters {
    position: relative;
    flex-basis: 511px;
    backdrop-filter: blur(20px);
    background: linear-gradient(146.69deg, rgba(40, 161, 199, 0.0925) 22.58%, rgba(21, 142, 195, 0.0629) 47.2%, rgba(2, 123, 191, 0.1591) 73.75%);
    padding: 60px 72px 60px 60px;
    border-radius: 30px 30px 0 0;
    max-height: 100%;
    overflow: hidden;
    transform: translateY(50%);
    opacity: 0;
    transition: all 2s ease;
    transition-delay: 0.1s;
}

.first-screen-with-counters__counters.active {
    transform: translateY(0);
    opacity: 1;
}

.first-screen-with-counters__counters::before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0;
    right: -2px;
    color: #e0e3ec;
    height: calc(100%);
    /* Використовуємо border-image-slice, щоб визначити розріз градієнта */
    border-image-slice: 1;
    /* Визначаємо тип бордера (solid, dashed, etc.) */
    border-style: solid;
    /* Товщина бордера */
    border-width: 1px;
    /* Додатково встановлюємо border-radius на border-image */
    border-radius: 30px 30px 0 0;
}


.first-screen-with-counters__decor-separator {
    height: 93px;
    width: 2px;
    background: #CDDEEE;
    border-radius: 50px;
    margin-left: 60px;
    margin-right: 40px;
}


.first-screen-with-counters__text {
    max-width: 606px;
}

.first-screen-with-counters__heading h1 {
    position: relative;
}

.first-screen-with-counters__heading h1::after {
    content: '';
    display: inline-block;
    width: 250.5px;
    height: 144.74px;
    background: url(/wp-content/themes/zakra-child/img/vectors/counters-first-screen-decor.svg) center / contain no-repeat;
    position: absolute;
    top: 68px;
    right: 68.5px;
}



.first-screen-with-counters__arrow img {
    height: 30px;
}


.social-side-bar {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 40px;
    z-index: 10000;
}

.list-social__item a{
    display: block;
}

.list-social__item {

}

.social-side-bar.overlap path {
    fill: #007591;
}


.social-side-bar__list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.list-social__link {
    position: relative;
}

.list-social__icon {
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.list-social__icon-hover {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    /*display: none;*/
}

.first-screen-with-counters__logo {
    width: 191.75px;
    height: 55.88px;
    margin-bottom: 60px;
}

.first-screen-with-counters__top-row,
.first-screen-with-counters__bot-row {
    display: flex;
    align-items: center;
}

.first-screen-with-counters__rows-separator {
    background: #cddeee;
    width: 100%;
    max-width: 376px;
    height: 2px;
    border-radius: 50px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.first-screen-with-counters__number {
    font-weight: 500;
    font-size: 56px;
    text-transform: capitalize;
    color: #2d3039;
    margin-bottom: 6px;
}
@media screen and (max-width: 1649.98px) {
    .first-screen-with-counters__top-left-decor,
    .first-screen-with-counters__top-right-decor,
    .first-screen-with-counters__bot-decor {
        display: none;
    }

    .first-screen-with-counters__wrapper {
        padding-top: 118px;
        gap: 50px;
    }

    .first-screen-with-counters__bg-video video{
        min-height: 800px;
    }

    .first-screen-with-counters {
        min-height: 800px;
    }

    .first-screen-with-counters__text-content {
        flex-basis: 704px;
    }

    .first-screen-with-counters__counters {
        flex-basis: 445px;
        padding: 50px;
    }

    .first-screen-with-counters__heading h1::after {
        background: url(/wp-content/themes/zakra-child/img/vectors/counters-first-screen-decor-laptop.svg) center / contain no-repeat;
        width: 195.5px;
        top: 55px;
        right: 31.5px;
    }

    .first-screen-with-counters__logo {
        margin-bottom: 70px;
    }

    .first-screen-with-counters__number {
        font-size: 48px;
    }

    .first-screen-with-counters__decor-separator {
        margin-left: 40px;
        margin-right: 30px;
    }

    .first-screen-with-counters__rows-separator {
        margin-bottom: 30px;
        margin-top: 30px;
    }

    .first-screen-with-counters__logo {
        width: 158px;
        height: 46px;
    }
}

@media screen and (max-width: 1199.98px) {
    .first-screen-with-counters__heading h1::after {
        display: none;
    }


}

@media screen and (max-width: 1024.98px) {
    .social-side-bar {
        display: none;
    }

    .first-screen-with-counters__top-row,
    .first-screen-with-counters__bot-row {
        justify-content: space-around;
        gap: 10px;
    }

    .first-screen-with-counters {
        min-height: fit-content;
        height: fit-content;
    }


    .first-screen-with-counters__text-content,
    .first-screen-with-counters__counters {
        flex-basis: fit-content;
    }

    .first-screen-with-counters__counters {
        border-radius: 20px 20px 0 0;
        padding: 20px;
        min-height: 432px;
    }

    .first-screen-with-counters__counters::before {
        border-radius: 20px 20px 0 0;
    }

    .first-screen-with-counters__number {
        font-size: 32px;
    }

    .first-screen-with-counters__decor-separator {
        margin-right: 20px;
        margin-left: 20px;
        width: 1px;
    }

    .first-screen-with-counters__rows-separator {
        max-width: 100%;
        height: 1px;
    }

    .first-screen-with-counters__wrapper {
        padding-top: 70px;
        flex-direction: column;
        justify-content: flex-start;
    }

    .first-screen-with-counters__heading {
        margin-bottom: 30px;
    }

    .first-screen-with-counters__text {
        margin-bottom: 30px;
    }

    .first-screen-with-counters__btn {
        min-width: 155px;
    }

    .first-screen-with-counters__logo {
        width: 107px;
        height: 30px;
        margin-bottom: 30px;
    }

}

@media screen and (max-width: 599.98px) {
    .first-screen-with-counters__top-row,
    .first-screen-with-counters__bot-row {
        justify-content: space-between;
    }

    .first-screen-with-counters {
        min-height: 752px;
        height: 100%;
    }

    .first-screen-with-counters {
        height: auto;
    }

    .first-screen-with-counters__counters {
        min-height: 600px;
    }

}
