﻿.home-carousel {
    height: 400px !important;
    width: 100%;
}

.home-car-service-container {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: center;
}
.home-car-service-subcontainer {

    max-width: 400px;
    background: linear-gradient(180deg, transparent 11%, transparent 60%, #26A69A 100%);
    transition: all ease-in 300ms;
    padding: 10px;
    box-shadow: 0px 0px 5px rgba(2,50,150,0.5);
    display: flex;
    flex-direction: column;
    text-align: center;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.home-card-service {
    width: 100%;
    height: 350px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(38,166,154, 0.1);
    transition: all ease-in 300ms;
    cursor: pointer;
    background: transparent;

}

    .home-card-service:hover {
        transform: scale(1.1);
    }

.home-card-service-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.home-card-service-img {
    width: 100%;
    height: 70%;
    border-radius: 8px;
    object-fit: cover;
}

.home-card-service-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
}

/*Prueba de carusel alianza*/

.img-carousel-container{
    display: flex;
    width: 100%;
    height: auto;
    flex-direction:row;
    align-items:center;
    justify-content: space-around;
    gap: 15px
}

.image-item{
    width: 100%;
    object-fit: contain;
    max-width: 150px;
}


/*texto de carrusel*/

.carousel-item-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-text-overlay {
    position: absolute;
    top: 15%;
    left: 5%;
    color: white;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    z-index: 2;
    max-width: 90%;
}

.carousel-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.carousel-description {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .home-carousel {
        height: 300px !important;
    }
    .home-car-service-subcontainer{
        width:100%;
    }

    
}