.service:nth-child(1) {
    margin-left: 2vw;
}

.service:last-child {
    margin-right: 2vw;
}

.hero_services {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, -5%);
    color: black;
}

.cards_holder {
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
}

.card-body {
    margin: 0;
}

.card {
    background-color: var(--primary_color) !important;
    color:  var(--primary_inverse) !important;
}

.card-body {
    height: 65vh;
    width: auto;
    border-radius: 40px !important;
}

.card-title {
    position: absolute;
    left: 50%;
    top: 10%;
    transform: translate(-50%, -10%);
}

.card-text {
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.1vh;
}

.card_button {
    position: absolute;
    left: 50%;
    top: 95%;
    transform: translate(-50%, -95%);
}

.learn_more_services {
    position: absolute;
    top: 95%;
    left: 50%;
    transform: translate(-50%, -95%);
    background-color: var(--accent_color) !important;
    border: none !important;
    color: var(--primary_color) !important;
    font-weight: 500 !important;
}

/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    .services_mobile {
        display: none !important;
    }
}

/* Mobile - 1023px */
@media only screen and (max-width: 63.9375rem) {
    .services_desktop {
        display: none !important;
    }

    .services {
        height: max-content;
    }

    .carousel {
        height: 80dvh;
    }
    
    .carousel-inner {
        height: 100%;
    }
    
    .carousel-item {
        height: 100%;
    }

    .rtl .carousel-item {
        float: left;
        margin-left: 0%;
    }
    
    .carousel_title {
        position: absolute;
        top: 5%;
        left: 50%;
        transform: translate(-50%, -5%);
        width: 100% !important;
        text-align: center;
    }

    .rtl .carousel_title {
        right: 50%;
        transform: translate(50%, -5%); 
    }
    
    .carousel_text {
        position: relative;
        display: flex;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 73vw;
        text-align: center;
    }

    .rtl .carousel_text {
        right: 50%;
        transform: translate(50%, -50%);
    }

    .rtl .carousel-control-prev {
        right: unset;
        left: 0 !important;
        transform: rotate(180deg);
    }

    .rtl .carousel-control-next {
        left: unset;
        right: 0 !important;
        transform: rotate(180deg);
    }
}