/* =========================================
   CASE STUDY CAROUSEL
========================================= */

.case-study-carousel {
    position: relative;
    width: 100%;
    padding: 0 50px 45px;
    overflow: hidden;
}

.case-study-track {
    display: flex;
    width: 100%;
    transition: transform 0.5s ease;
}

.case-study-slide {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 10px;
    box-sizing: border-box;
}

.case-study-card {
    height: 100%;
    overflow: hidden;
    border: 0;
    border-radius: 14px;
}

.case-study-card img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.case-study-card .card-body {
    padding: 15px 0 5px;
}

.case-study-card-title {
    line-height: 1.4;
}

.case-study-card-description {
    line-height: 1.55;
    color: #525f7f;
}


/* =========================================
   ARROWS
========================================= */

.case-study-prev,
.case-study-next {
    position: absolute;
    top: 42%;

    width: 40px;
    height: 40px;

    border: 0;
    border-radius: 50%;

    background: #fff;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 10;

    transition: all 0.2s ease;
}

.case-study-prev {
    left: 5px;
}

.case-study-next {
    right: 5px;
}

.case-study-prev:hover,
.case-study-next:hover {
    transform: scale(1.08);
}


/* =========================================
   DOTS
========================================= */

.case-study-dots {
    position: absolute;

    bottom: 5px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    gap: 7px;
}

.case-study-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #d5d5d5;

    cursor: pointer;

    transition: all 0.25s ease;
}

.case-study-dot.active {
    width: 20px;
    border-radius: 10px;

    background: #5e72e4;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .case-study-slide {
        flex: 0 0 50%;
        max-width: 50%;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .case-study-carousel {
        padding-left: 35px;
        padding-right: 35px;
    }

    .case-study-slide {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 0 5px;
    }

    .case-study-prev,
    .case-study-next {
        width: 34px;
        height: 34px;
    }

}