/* Carrusel */
.carrusel {
    position: relative;
    width: 100%;
    height: 500px;
    margin-top: 95px;
    overflow: hidden;
}
.carrusel-imagenes {
    width: 100%;
    height: 100%;
}
.carrusel-imagenes img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}
.carrusel-imagenes img.activa {
    display: block;
}

/* Flechas carrusel*/
.carrusel button {
    position: absolute;
    top: 50%;
    color: rgb(0, 175, 255);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 20px;
}
.anterior {
    left: 15px;
}
.siguiente {
    right: 15px;
}

/* Indicadores */
.indicadores {
    position: absolute;
    bottom: 15px;
    left: 50%;
    display: flex;
    gap: 10px;
}
.indicadores span {
    width: 15px;
    height: 15px;
    background: rgb(0, 0, 85);
    border-radius: 50%;
    cursor: pointer;
}
.indicadores span.activo {
    background: rgb(0, 175, 255);
}

/* Introduccion */
.introduccion {
    width: 80%;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgb(0, 0, 85, 0.400);
}

/* Introduccion de servicios */
.introServicios {
    width: 80%;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgb(0, 0, 85, 0.400);
}
.servicios {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    gap: 20px;
}
.tarjeta {
    padding: 30px;
    border: 2px solid rgb(0, 0, 85);
    background-color: rgba(0, 175, 255, 0.020);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    border-radius: 5vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}
.tarjeta:hover {
    transform: scale(1.05);
    border: 1px solid rgb(0, 175, 255, 0.600);
}
.tarjeta img {
    width: 80px;
}

/* Introduccion de la empresa */
.introEmpresa {
    width: 80%;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgb(0, 0, 85, 0.400);
}
.cualidadesEmpresa {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 20px;
    margin: 20px;
}
.cualidadesEmpresa li {
    padding: 20px;
    border-left: 5px solid rgb(0, 0, 85);
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.20);
    border-radius: 1vh;
    transition: transform 0.3s ease;
}
.cualidadesEmpresa li:hover {
    transform: scale(1.05);
    border-left: 5px solid rgb(0, 175, 255, 0.600);
}

/* Introduccion del contacto */
.introContacto {
    width: 80%;
    margin: 0 auto;
    padding-top: 30px;
    padding-bottom: 100px;
}
.introContacto a{
    display: block;
    font-style: oblique;
    text-decoration: none;
    text-align: center;
    width: 220px;
    color: white;
    font-weight: bold;
    padding: 10px;
    margin-top: 20px;
    background-color: rgb(0, 0, 85);
    border-radius:40px;
}

/* ------------------------------- Tablets ------------------------------- */
@media (max-width: 850px) {
    /* Carrusel */
    .carrusel {
        height: 300px;
        margin-top: 115px;
    }

    /* Servicios en una columna */
    .servicios {
        display:block;
    }
    .tarjeta {
        margin-bottom: 30px;
    }
}

/* ------------------------------- Moviles ------------------------------- */
@media (max-width: 500px) {
    /* Carrusel */
    .carrusel {
        height: 200px;
        margin-top: 170px;
    }  
    .indicadores span {
        width: 8px;
        height: 8px;
    }

    /* Servicios en una columna */
    .servicios {
        display:block;
    }
    .tarjeta {
        margin-bottom: 30px;
        padding: 20px;
    }

    /* cualidades en una columna */
    .cualidadesEmpresa {
        margin: 0;
        gap: 30px;
    }
}