/*carousel starts*/
.services-carousel {
    width: 100%;
    position: relative;
    height: 400px;
    box-sizing: border-box;
    padding-left: 10px;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
}
.services-carousel-control {
    transition: 0.5s ease all;
    position: absolute;
    top: 45%;
    cursor: pointer;
    border-radius: 9999px;
    user-select: none;
    width: 45px;
    height: 45px;
    z-index: 2;
    border: none;
    outline: none;
    display: none;
    background: #fff;
}
.services-carousel:hover .services-carousel-control {
    transition: 0.5s ease all;
    display: block;
}
.services-carousel:active .services-carousel-control {
    transition: 0.5s ease all;
    display: block;
}
.services-carousel-content {
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: width 0.4s;
}
.services-carousel-slide {
    height: 100%;
    position: absolute;
    z-index: 1;
    display: flex;
    justify-content: left;
    align-items: center;
    transition: left 0.4s cubic-bezier(0.47, 0.13, 0.15, 0.89);
}
.carousel-content-mob {
    transition: width 0.4s;
}
.slide-mob {
    transition: left 0.4s cubic-bezier(0.47, 0.13, 0.15, 0.89);
}
.services-carousel-slide-card {
    width: 74%;
    transition: transform 1s;
    position: relative;
}
.active-slide-card {
    transform: scale(1.5);
}
.services-carousel-nav-left {
    left: 20px;
    color: #000;
}
.services-carousel-nav-right {
    right: 50px;
    color: #000;
}
.services-carousel-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 30px;
}
.services-carousel-arrow {
    border: solid #18aaca;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 8px;
}
.services-carousel-right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    position: absolute;
    top: 30%;
    left: 25%;
}
.services-carousel-left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    position: absolute;
    top: 30%;
    left: 35%;
}
.services-carousel-slide-card-text {
    position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    font-size: 18px;
    line-height: 26px;
    color: #fff;
    z-index: 1;
    text-align: center;
    font-weight: 300;
}
.services-carousel-h2 {
    font-size: 48px;
    color: #000;
    font-weight: 300;
    text-align: center;
    margin-top: 0px;
    font-style: normal;
}
.services-carousel-h3 {
    font-size: 36px;
    color: #000;
    font-weight: 400;
    text-align: center;
    margin: 0px;
    padding: 0px 0 25px 0;
}
.services-carousel-btn {
    font-size: 18px;
    padding: 11px 30px;
    color: #fff;
    background: #18aaca;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    /* margin-bottom: 50px; */
    font-weight: 300;
    text-decoration: none;
    z-index: 1;
}
/*media query for carousel*/

@media screen and (max-width: 540px) {
    .services-carousel-slide {
        justify-content: center;
    }
    .services-carousel-control {
        height: 30px;
        width: 30px;
        /* display: none !important; */
    }
    .services-carousel-slide-card {
        margin-right: 18px;
    }
    .services-carousel-arrow {
        padding: 4px !important;
    }
    .services-carousel-nav-right {
        right: 10px;
    }
    .services-carousel {
        height: 250px;
    }
    .services-carousel-nav-left {
        left: 10px;
    }
}
@media screen and (min-width: 541px) and (max-width: 767px) {
    .services-carousel-slide {
        justify-content: center;
    }
    .services-carousel-control {
        height: 30px;
        width: 30px;
        display: block !important;
    }
    .services-carousel-arrow {
        padding: 4px !important;
    }
    .services-carousel-slide-card {
        width: 95%;
    }
    .services-carousel-nav-left {
        left: 50px;
    }
    .services-carousel-h2 {
        font-size: 36px;
        margin: 0px;
    }
    .services-carousel-h3 {
        font-size: 30px;
        padding: 0px 0 25px 0;
    }
    .services-carousel-btn {
        font-size: 15px;
    }
}
@media screen and (min-width: 768px) and (max-width: 991px) {
    .services-carousel-slide-card-text {
        font-size: 13px;
    }
    .services-carousel-control {
        height: 30px;
        width: 30px;
    }
    .services-carousel-nav-right {
        right: 30px !important;
    }
    .services-carousel-nav-left {
        left: 20px;
    }
    .services-carousel-arrow {
        padding: 4px !important;
    }
    .services-carousel {
        height: 300px;
    }
    .services-carousel-h2 {
        padding-top: 20px;
        margin-block: 0 10px;
        font-size: 42px;
    }
    .services-carousel-h3 {
        font-size: 30px;
        padding: 2-px 0 20px 0;
    }
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
    .services-carousel-slide-card-text {
        font-size: 15px;
    }
    .services-carousel-control {
        height: 35px;
        width: 35px;
    }
    .services-carousel-arrow {
        padding: 5px;
    }
    .services-carousel-nav-right {
        right: 40px !important;
    }
    .services-carousel-nav-left {
        left: 30px;
    }
}
@media screen and (min-width: 1200px) and (max-width: 1439px) {
    .services-carousel-slide-card-text {
        font-size: 16px;
    }
}
@media screen and (min-width: 1440px) {
}
/*media query for carousel*/
/*carousel ends*/
