.work {
    background-image: url("../images/background-3.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    color: #fff;
    width: 100%;
}

.common-home .work {
    position: absolute;
}

.work-bottom-carousel.owl-carousel .owl-item .work-bottom__video-btn {
    width: unset;
}

.work__inner {
    padding-top: 154px;
}

.work__title {
    margin-bottom: 12px;
    max-width: 730px;
}

.work__text {
    max-width: 730px;
    margin-bottom: 73px;
}

.work-serv .work__marks-slider {
    margin-bottom: 200px;
}

.work__marks-slider {
    margin-bottom: 255px;
}

.work__marks-item {
    width: 120px;
}

.work-serv .work__marks-item:hover .work__marks-img {
    background: #FFFFFF;
    box-shadow: 7px 10px 17px rgba(0, 0, 0, 0.1);
    transition: .3s;
}

.work__marks-item:hover .work__marks-img {
    background: #2B2B2B;
    box-shadow: 7px 10px 17px rgba(0, 0, 0, 0.36);
    transition: .3s;
}

.work__marks-item:hover .work__marks-name {
    color: #FF283A;
    transition: .3s;
}

.work__marks-img {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 120px;
    margin-bottom: 18px;
}

.owl-carousel .work__marks-img img {
    width: auto;
    margin: 0 auto;
}

.work__marks-name {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
}

.owl-theme .owl-nav [class*=owl-] {
    filter: grayscale(1);
    transition: .3s;
}

.owl-theme .owl-nav [class*=owl-]:hover {
    background: none;
    filter: none;
    transition: .3s;
}

.owl-prev {
    position: absolute;
    left: -100px;
    top: 55px;
}

.owl-next {
    position: absolute;
    right: -65px;
    top: 52px;
}

.slider__wrap {
    margin-left: 70px;
    margin-right: 50px;
}

.work-bottom__title {
    text-transform: uppercase;
}

.work-bottom__video {
    max-width: 520px;
    padding-bottom: 335px;
}

.work-bottom-carousel__item {
    position: relative;
}

.work-bottom__scale {
    align-items: center;
    justify-content: center;
    display: flex;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    width: 75px;
    height: 75px;
}

.work-bottom__video-btn {
    display: block;
    transition: 1s;
}

.work-bottom-carousel__item:hover .work-bottom__video-btn {
    transform: scale(1.2);
}

.slider-counter {
    display: flex;
    justify-content: center;
    text-align: center;
    color: #fff;
    font-family: "Montserrat";
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
}

.slider-counter__current {
    color: #FF283A;
    font-weight: 500;
    font-size: 18px;
    line-height: 20px;
    margin-right: 5px;
}

.work-bottom__video .owl-nav [class*=owl-] {
    filter: grayscale(1);
    transition: .3s;
}

.owl-nav [class*=owl-]:hover {
    background: none;
    filter: none;
    transition: .3s;
}

.work-bottom__video .owl-prev img, .work-bottom__video .owl-next img {
    width: 14px;
}

.work-bottom__title-main {
    margin-bottom: 13px;
}

.work-bottom__text-top {
    margin-bottom: 40px;
}

.work__title-bg {
    right: 260px;
    top: 640px;
}

.work-bottom {
    position: relative;
}

.work-bottom__text-top {
    max-width: 415px;
}

.work-bottom__square {
    background-color: #2F2E2E;
    position: absolute;
    bottom: 180px;
    left: 457px;
    max-width: 727px;
    width: 100%;
}

.work-bottom__item {
    counter-increment: my-counter;
    max-width: 500px;
    margin-bottom: 20px;
    position: relative;
}

.work-bottom__item::before {
    content: counter(my-counter);
    font-family: "Russo One";
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.025em;
    color: #FF283A;
    position: absolute;
}

.work-bottom__list {
    padding: 75px 75px 79px 123px;
    counter-reset: my-counter;
}

.work-bottom__item:last-of-type {
    max-width: 400px;
}

.work-bottom__title {
    font-family: "Russo One";
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.025em;
    margin-bottom: 9px;
    margin-left: 17px;
}

.work-bottom__text {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;
}

.work-bottom__square-img {
    position: absolute;
    right: -106px;
    bottom: 97px;
}

.work-bottom-carousel .owl-nav {
    position: relative;
    width: 100%;
    height: 21px;
    bottom: -20px;
    display: flex;
    align-items: center;
}


.work-bottom__video .owl-nav .owl-prev {
    left: 38%;
    display: flex;
    top: inherit;
    bottom: 0;
    height: 100%;
}

.work-bottom__video .owl-nav .owl-next {
    right: 38%;
    display: flex;
    top: inherit;
    bottom: 0;
    height: 100%;
}


.work-bottom__square-img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}


@media (max-width: 1600px) {
    .work-bottom__square-img {
        bottom: 25px;
    }
}

@media (max-width: 1500px) {
    .work-bottom__square-img {    
        bottom: 70px;
    }
    .work-bottom__square {
        max-width: 690px;
    }

    .work__title-bg {
        top: 610px;
    }
   
}

@media (max-width: 1380px) {
    .work-bottom__square {
        max-width: 600px;
        bottom: 125px;
        left: 440px;
    }
    .work-bottom__item:last-of-type {
        max-width: 330px;
    }

    .work-bottom__square-img {
        right: 0;
    }

    .work__title-bg {
        top: 595px;
    }
}

@media (max-width: 1280px) {
    .slider__wrap {
        margin: 0 20px;
    }

    .work__marks-slider .owl-prev {
        left: -35px;
    }

    .work__marks-slider .owl-next {
        right: -15px;
    }

}

@media (max-width: 1140px) {
    .work-bottom__square {
        max-width: unset;
        width: 100%;
        position: relative;
        bottom: 282px;
        left: 0;
    }

    .work-bottom__video {
        padding-bottom: 100px;
    }
    .work-bottom__square-img {
 
        bottom: -69px;
    }

    .work-bottom__video {
        margin: 0 auto;
        z-index: 2;
        position: relative;
    }

    .work-bottom__list {
        padding: 230px 75px 79px 79px;
    }

    .work-bottom__item {
        max-width: 850px;
    }

    .work-bottom__item:last-of-type {
        max-width: 420px;
    }

    .work-bottom__square-img {
        bottom: 180px;
    }

    .work__title-bg {
        right: 45px;
    }
}

@media (max-width: 992px) {
    .work.main-page {
        position: relative;
    }

    .work-serv .work__marks-slider {
        margin-bottom: 0px;
    }
}


@media (max-width: 830px) {
    .work-bottom__item:last-of-type {
        max-width: 350px;
    }
}

@media (max-width:768px) {
    .slider__wrap {
        margin: 0 0 0 20px;
    }

    .work__marks-slider .owl-next {
        right: -8px;
        top: 44px;
    }

    .work__marks-slider .owl-prev {
        top: 45px;
    }
    .work__marks-item {
        width: 88px;
    }
    .work__marks-img {
        height: 88px;
    }
    .work__marks-slider.owl-carousel .owl-item img {
        width: 60%;
    }

    .work-bottom__square {
        bottom: 0;
        margin-bottom: 0;
    }
    .work-bottom:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 78%;
        background: #2F2E2E;
        bottom: 0;
        left: 0;
    }
    .work-bottom__list {
        padding: 0 75px 50px 79px;
    }
    .work-bottom__square-img {
        width: 300px;
        position: relative;
        bottom: 0;
        left: 53%;
        display: flex;
        justify-content: center;
    }

    .work-bottom__video {
        padding-bottom: 54px;
    }

    .work-serv .work__marks-slider {
        margin-bottom: 250px;
    }

    .newsblog-category .work-serv .work__marks-slider {
        margin-bottom: 100px;
    }
    .work__marks-slider {
        margin-bottom: 140px;
    }

    .work-bottom__item:last-of-type {
        max-width: 100%;
    }

}
@media (max-width:725px) {
    .work {
        padding-bottom: 0;
    }
    .work-bottom__square-img {
        width: 215px;
    }

    .work-bottom__list {
        padding: 0px 30px 30px 30px;
    }

    .work-bottom:before {
        width: calc(100% + 48px);
        left: -24px;
    }

    .work-bottom__square {
        width: calc(100% + 48px);
        left: -24px;
        margin-bottom: 0;
    }

    .work__marks-slider .owl-nav {
        display: none;
    }

    .slider__wrap {
        margin: 0;
    }
}

@media (max-width:425px) {
    .work-bottom-carousel__item {
        position: relative;
        height: 184px;
    }

    .work-bottom:before {
        height: 80%;
    }

    .work-bottom__square-img {
        width: 184px;
    }

    .slider__wrap {
        margin: 0px;
    }

    .work__marks-slider .owl-prev {
        left: -20px;
    }

    .work__marks-slider .owl-next {
        right: -15px;
    }

    .work-bottom__video .owl-nav .owl-next {
        right: 35%;
    }

    .work-bottom__video .owl-nav .owl-prev {
        left: 35%;
    } 

    .work-serv .work__marks-slider {
        margin-bottom: 135px;
    }

    .work-serv .work__marks-slider {
        width: calc(100% + 20px);
        margin-left: -7px;
    }

    .work__marks-slider .owl-prev {
        left: -13px;
    }

    .work__marks-name {
        font-family: "Montserrat";
        font-style: normal;
        font-weight: 600;
        font-size: 14px;
        line-height: 24px;       
    }

}