.our-services {
    background-image: url(img/circle-left.png), url(img/circle-right.png);
    background-repeat: no-repeat, no-repeat;
    background-size: auto 500px, auto 500px;
    background-position: -165px center, right -80px top -50px;
}

.process-approach {
    background-image: url(img/home/icon-process-approach.png),
        url(img/home/bg-process-approach.png);
    background-repeat: no-repeat, no-repeat;
    background-size: auto 200px, auto 250px;
    background-position: -70px center, right 0px bottom 0px;
}

@media (max-width: 768px) {
    .process-approach {
        background-image: url(img/home/icon-process-approach.png),
            url(img/home/bg-process-approach2.png);
        background-repeat: no-repeat;
        background-size: auto 100px, auto 150px;
        background-position: left 10px bottom -30px, right top;
    }
}

.carousel {
    width: 100vw;
    overflow: hidden;
    position: relative;
}

.carousel .list .item {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0 0 0 0;
}
.carousel .list .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel .list .item .content {
    position: absolute;
    top: 40%;
    left: 0%;
    transform: translateX(-0%);
    background-color: #ffffff99;
}

@media (max-width: 360px) {
    .carousel .list .item .content {
        top: 20%;
    }
}

.vector {
    background-image: url(img/home/icon.png);
    background-repeat: no-repeat;
    background-size: 60px;
    background-position: right top;
}

@media (max-width: 768px) {
    .vector {
        background-image: none;
    }
}

.carousel .list .item .buttons {
    display: grid;
    grid-template-columns: repeat(2, 130px);
    grid-template-rows: 40px;
    gap: 5px;
    margin-top: 20px;
}
.carousel .list .item .buttons button {
    border: none;
    background-color: #eee;
    letter-spacing: 3px;
    font-family: Poppins;
    font-weight: 500;
}
.carousel .list .item .buttons button:nth-child(2) {
    background-color: transparent;
    border: 1px solid #fff;
    color: #eee;
}

.thumbnail {
    position: absolute;
    bottom: 0px;
    left: 0%;
    width: max-content;
    z-index: 100;
}

.arrows {
    position: absolute;
    z-index: 100;
    align-items: center;
}

.carousel .list .item:nth-child(1) {
    z-index: 1;
}

.carousel .list .item:nth-child(1) .content .author,
.carousel .list .item:nth-child(1) .content .title,
.carousel .list .item:nth-child(1) .content .buttons {
    transform: translateY(50px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent 0.5s 1s linear 1 forwards;
}


.carousel.prev .list .item:nth-child(2) .content .author,
.carousel.prev .list .item:nth-child(2) .content .title,
.carousel.prev .list .item:nth-child(2) .content .buttons {
    animation: contentOut 1.5s linear 1 forwards !important;
}

.carousel.next .list .item:nth-child(2) .content .author,
.carousel.next .list .item:nth-child(2) .content .title,
.carousel.next .list .item:nth-child(2) .content .buttons {
    animation: contentOut 1.5s linear 1 forwards !important;
}

@keyframes showContent {
    to {
        transform: translateY(0px);
        filter: blur(0px);
        opacity: 1;
    }
}

.carousel .list .item:nth-child(1) .content .title {
    animation-delay: 1.2s !important;
}

.carousel .list .item:nth-child(1) .content .buttons {
    animation-delay: 1.8s !important;
}

.carousel.next .list .item:nth-child(1) img {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
    /*animation: showImage 0.5s linear 1 forwards;*/
}

@keyframes showImage {
    to {
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 0;
    }
}

.carousel.next .thumbnail .item:nth-child(1) {
    display: none;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
}

.carousel.prev .thumbnail .item:nth-child(1) {
    display: none;
    opacity: 0;
    animation: showThumbnail 0.5s linear 1 forwards;
}


.carousel.prev .list .item img {
    z-index: 100;
}

@keyframes showThumbnail {
    from {
        width: 0;
        opacity: 0;
    }
}


.carousel .time {
    position: absolute;
    z-index: 1000;
    width: 0%;
    height: 3px;
    background-color: #023e62;
    left: 0;
    top: 0;
}

.carousel.next .time,
.carousel.prev .time {
    animation: runningTime 3s linear 1 forwards;
}

@keyframes runningTime {
    from {
        width: 100%;
    }
    to {
        width: 0;
    }
}

.carousel.prev .list .item:nth-child(2) {
    z-index: 2;
}

.carousel.prev .list .item:nth-child(2) img {
    display: none;
    position: absolute;
    bottom: 0;
    left: 0;
}

@keyframes outFrame {
    to {
        width: 150px;
        height: 220px;
        bottom: 50px;
        left: 50%;
        border-radius: 20px;
    }
}




@keyframes contentOut {
    to {
        transform: translateY(-150px);
        filter: blur(20px);
        opacity: 0;
    }
}
@media screen and (max-width: 678px) {
    .carousel .list .item .content {
        padding-right: 0;
    }
}