#s-servicios {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url(/img/jpg_web/2.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 80px 0px ;
}

#content-info-servicio {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

#content-text-serv {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
}

#content-text-serv p{
    color: #fff;
    font-size: 18px;
    text-align: justify;
}

#content-carousel-servicios {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-servicio {
    border-radius: 30px;
    background-color: #fff;
    padding: 60px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    height: 100%;
}

.card-servicio img{
    height: 70px;
}
.card-servicio span{
    font-size: 20px;
    color: var(--verde);
    font-weight: bold;
    text-align: center;
}

#s-rutas {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0px;
}

#content-rutas {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#content-carousel-rutas {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0px;
}

.card-rutas {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.card-rutas span{
    width: 80%;
    position: absolute;
    font-size: 20px;
    color: #fff;
    text-align: center;
    z-index: 1;
}

.card-rutas span b{
    font-weight: bold;
}

.card-rutas::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 128, 0, 0.5); /* Verde transparente */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.card-rutas:hover::after {
    opacity: 1;
}


#s-novedades {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 0px;
    background-color: #F4F4F4;
}

#content-novedades {
    width: 80%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#content-carousel-novedades {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0px;
}

.card-novedades {
    width: 95%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: var(--shadow-1);
}

.card-novedades img{
    width: 100%;
}

.card-novedades div{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
}

.card-novedades div h4{
    font-size: 20px;
    color: var(--gris-oscuro);
    font-weight: bold;
}

.card-novedades div p{
    font-size: 18px;
    color: var(--gris-oscuro);
}

#carousel-novedades .owl-stage {
    padding: 20px 0px;
}

#s-contacto {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 0px;
}

#content-contacto {
    width: 80%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    box-shadow: var(--shadow-2);
    border-radius: 30px;
    overflow: hidden;
}

#content-iframe-contacto {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-color: #E7E7E7;
    padding: 30px 20px;
    gap: 10px;
}

#content-iframe-contacto iframe{
    width: 100%;
    height: 300px;
}

#content-iframe-contacto div{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

#content-iframe-contacto div span{
    font-size: 16px;
    font-weight: bold;
    color: var(--gris-oscuro);
}

#content-iframe-contacto div a{
    font-size: 16px;
    color: var(--gris-oscuro);
    margin-bottom: 8px;
}

#content-form-contacto-home {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background-color: #F4F4F4;
}

#content-form-contacto-home form{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

#content-form-contacto-home form input,
#content-form-contacto-home form textarea{
    width: 100%;
    background-color: #fff;
    border-radius: 10px;
    padding: 10px;
    font-size: 18px;
    border: none;
}

#content-form-contacto-home form textarea{
    height:250px;
    resize: none;
}

#content-form-contacto-home form button{
    font-size: 22px;
}