/* =================================================================================== Estilos para la página de inicio =========================================================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

/*------------------------------------------------------------------ Estilos para carrusel principal -----------------------------------------------------------------------------*/

/*inicio carousel*/

#panelcarrusel {
    display: flex;
    justify-content: center;
    /* Centra el carrusel */
    margin-top: 20px;
    /* Espacio arriba */
    margin-bottom: 60px;
    width: 100%;
    /* La imagen ocupa todo el contenedor */
    height: 100%;
    /* Ajustar imagen al alto */
}

#carousel-id {
    width: 1150px;
    height: 500px;
    overflow: hidden;
    /* Ocultar desbordes si hay */
    border-radius: 20px;
    /* Bordes redondeados*/

}

.carousel-inner .item img {
    width: 100%;
    /* La imagen ocupara todo el contenedor */
    height: 100%;
    /* Ajustar imagen al alto */
    object-fit: cover;
    /* Ajusta la imagen manteniendo proporciones  */
    border-radius: 20px;
    /* También bordes redondeados en las imágenes */

}


/*Final del carousel*/



/*==================================================================== INICIO DE ESTILOS PARA EL CONTENIDO ====================================================================*/

/*Container*/

.cuerpo {
    width: 85%;
    text-align: justify;
    margin-bottom: 20px;
    padding: 10px;
}

.texto h3 {

    color: black;
    /* color de letra */
    font-size: 40px;
    font-weight: bold;
    /* negrita */
    margin-top: 45px;
    /* Espacio arriba */
    margin-bottom: 45px;
    /* Espacio abajo */

}

.texto p {

    font-size: 17px;
    /* tamaño de letra */
    color: black;
}

/*------------------------------------------------------------------ Estilos para cards -----------------------------------------------------------------------------*/

/*Inicia cards*/
.cards-box {
    display: flex;
    justify-content: center;
    /* Centra horizontalmente los elementos dentro del contenedor */
    align-items: center;
    /* Centra verticalmente los elementos dentro del contenedor */
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 30px;
    gap: 70px;
}


.thumbnail-cards {
    border-radius: 8px;
    padding: 15px;
    padding-left: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    background-color: #186cf9;
    transition: transform 0.3s ease;
    padding-bottom: 40px;
}

.caption-cards h3 {
    margin-bottom: 15px;
    font-weight: bold;
    color: white;
}

.caption-cards p {
    color: white;
    font-size: 17px;
}

.thumbnail-cards:hover {
    transform: translateY(-10px);
}

/* Termina cards */


/*------------------------------------------------------------------ Estilos para cards idiomas -----------------------------------------------------------------------------*/

/* Inicia cards idiomas */

.cards-box-idiomas {
    display: flex;
    justify-content: center;
    /* Centra horizontalmente los elementos dentro del contenedor */
    align-items: center;
    /* Centra verticalmente los elementos dentro del contenedor */

}

.col-sm-6.col-md-4-idiomas {
    width: 100%;
    /* Asegura que el elemento ocupe todo el ancho disponible dentro de su contenedor */
    max-width: 800px;
    /* Establece el máximo ancho de la carta a 800px */

}

.thumbnail-idiomas {

    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    background-color: #186cf9;
    transition: transform 0.3s ease;
    /* transición */
    padding-bottom: 40px;
}

.thumbnail-idiomas:hover {
    transform: scale(1.05);
    /* Efecto al pasar el ratón */
}

.caption-idiomas h3 {
    margin-bottom: 15px;
    font-weight: bold;
    color: white;
    padding-bottom: 20px;
}

.caption-idiomas p {
    color: white;
    font-size: 17px;
    padding-left: 50px;
    padding-right: 40px;
    text-align: justify;



}

.content-row {
    display: flex;
    align-items: center;
    /* Centra verticalmente los elementos dentro del contenedor */
}

.content-row img {
    width: 250px;
    /* Ajusta el tamaño de la imagen */
    padding-left: 20px;


}


/* Termina cards idiomas */


/*------------------------------------------------------------------ Estilos para acordeones -----------------------------------------------------------------------------*/

/* Inicia Acordeon */
/* Estilos para los botones */
.btn {
    background-color: #186cf9;
    /* Color de fondo azul */
    color: white;
    /* Texto en color blanco */
    padding: 10px;
    /* Espaciado interno alrededor del contenido */
    text-align: left;
    /* Alinea el texto a la izquierda */
    font-size: 16px;
    /* Tamaño de fuente de 16px */
    border: none;
    /* Sin borde */
    width: 100%;
    /* Ocupa todo el ancho disponible */
    cursor: pointer;
    /* Cambia el cursor a una mano al pasar sobre el botón */
    transition: background-color 0.3s;
    /* Suaviza el cambio de color de fondo en 0.3 segundos */
    display: block;
    /* Hace que el botón se comporte como un bloque */
    margin-bottom: 5px;
    /* Espacio inferior entre botones */
    text-decoration: none;
    /* Sin subrayado en el texto */
    border-radius: 5px;
    /* Bordes redondeados de 5px */
}

/* Estilo cuando el usuario pasa el mouse sobre el botón */
.btn:hover {
    background-color: #186cf9;
}


/* Estilo para el contenido dentro del collapse */
.well {
    background-color: #f1f1f1;
    padding: 10px;
    font-size: 14px;
}

/* Control de la visibilidad del collapse */
.collapse {
    display: none;
}

.collapse.show {
    display: block;
}

/*Termina Acordeon*/


.row {
    display: flex;
    justify-content: center;
    /* Centra horizontalmente los elementos dentro del contenedor */
    align-items: center;
    /* Centra verticalmente los elementos dentro del contenedor */
    border-style: none;
}


.instalaciones-row img {
    width: 100%;
    padding-left: 0;
}

.thumbnail img {
    width: 100%;
    /* Hace que las imágenes ocupen el 100% del ancho disponible */
    height: 300px;
    object-fit: cover;
    /* Recorta la imagen si es necesario para que se ajuste */
}


/* ============================ Estilos Responsivos ============================ */

@media (max-width: 992px) {

    /* ==== RESET GENERAL ==== */
    * {
        overflow-x: hidden;
    }

    /* ==== CUERPO Y TEXTOS ==== */
    .cuerpo {
        padding: 0 2%;
        transition: none !important;
        animation: none !important;
    }

    .texto h3 {
        font-size: 2.2em;
        padding: 2%;
        text-align: center;
    }

    .texto p {
        font-size: 15px;
        text-align: justify;
    }

    /* ==== CARRUSEL ==== */
    #carousel-id {
        width: 95%;
        height: auto;
    }

    #panelcarrusel {
        margin-bottom: 30px;
    }

    /* ==== CARDS GENERALES ==== */
    .cards-box {
        flex-direction: column;
        gap: 30px;
        padding: 0 10px;
    }

    .thumbnail-cards {
        width: 100%;
        margin: 0 auto;
    }

    .caption-cards p {
        font-size: 15px;
    }

    /* ==== CARDS DE IDIOMAS ==== */
    .cards-box-idiomas {
        flex-direction: column;
        gap: 1em;
        padding: 0 10px;
    }

    .col-sm-6.col-md-4-idiomas {
        max-width: 100%;
    }

    .caption-idiomas p {
        padding: 10px;
        font-size: 15px;
    }

    .cards-box-idiomas .content-row {
        flex-direction: column;
        gap: 1em;
        padding-right: 0;
    }

    /* ==== FILAS GENERALES ==== */
    .row {
        flex-direction: column;
        text-align: center;
        align-items: center;
        border-style: none;
    }

    .instalaciones-row img {
        width: 100%;
        padding-left: 0;
    }

    /* ==== ACORDEÓN ==== */
    .btn {
        font-size: 15px;
    }

    /* ==== IMÁGENES EN THUMBNAILS ==== */
    .thumbnail img {
        width: 100%;
        height: auto;
    }

}
