.nojekyll

*{
    margin: 0;
    padding: 0;
    font-family: 'Rethink Sans', sans-serif;
    text-align: center;
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(255, 254, 254, 0.7),rgba(23, 123, 189, 0.7)),url(images/background2.webp);
    background-position: center;
    background-size: cover;
    position: relative;
    font-size: 24px;
    margin-bottom: 20px;
}   
/* Estilos para el botón "Leer más" */

.read-more-btn {
    background-color: #274c9b;
    color: white; 
    padding: 10px 20px; 
    border: none; 
    cursor: pointer; 
    border-radius: 5px; 
    outline: none; 
  }
  
  .read-more-btn:hover {
    background-color: #274c9b; 
  }
    #more {display: none;}
    

nav{
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}
nav a img{
    width: 150px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    opacity: 0.8;
}
nav a img{
    border: 2px solid #fff;
}
nav img{
    width: 150px;
}
.nav-links{
    flex: 1;
    text-align: right;
    font-size: 20px;
}
.nav-links ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
    font-size: 20px !important;
}
.nav-links ul li a{
    color: #021142;
    text-decoration: none;
    font-size: 13px;
}
.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #27a5d6;
    display: block;
    margin: auto;
    transition: 0.5s;
}
.nav-links ul li:hover::after{
    width: 100%;
}

.scroll-animation {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-animation.active {
    opacity: 1;
    transform: translateY(0);
}
a{
    text-decoration: none;
    color: inherit;
}
a:hover{
    text-decoration: none;
    color: #094d8d;
}
.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}
.text-box h1{
    font-size: 62px;
}
.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #ffffff;
}
.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #ffffff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}
.hero-btn:hover{
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}

nav .fa{
    display: none;
}

@media(max-width: 700px){
    .text-box h1{
        font-size: 20px;
    }
    .nav-links ul li{
        display: block;
    }
    .nav-links{
        position: absolute;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }
    nav .fa{
        display: block;
        color: #000000;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }
    .nav-links ul{
        padding: 30px;

    }
}

body{
    margin: 0;
    padding: 0;
    font-family: 'Rethink Sans', sans-serif;
    background-image: url("images/background22.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Estilos para la sección About */
.About {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(121, 178, 236, 0.7));
    background-color: #f7f7f7;
    background: rgba( 255, 255, 255, 0.7 );
    box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
    backdrop-filter: blur( 8px );
    -webkit-backdrop-filter: blur( 8px );
    border-radius: 10px;
    border: 1px solid rgba( 255, 255, 255, 0.18 );
    padding: 50px;
    margin-bottom: 50px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

    display: flex;
    flex-direction: column;
    align-items: center;
}

.About P{
    text-align: justify;
}

.About .row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* Espacio entre los elementos */
}

.About .About-col {
    width: 100%;
    flex-basis: 30%;
    background-color: #ffffff;
    background-image: linear-gradient(to bottom right, #f0f0f0, #ffffff);
    border-radius: 15px;
    margin-bottom: 30px;
    padding: 30px;
    box-sizing: border-box;
    transition: transform 0.3s ease;
    border: 2px solid #87ceeb; /* Borde celeste */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
    position: relative;
    overflow: hidden;
}

/* Efecto de sombra al pasar el mouse */
.About .About-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Sombra más pronunciada */
}

/* Estilos para el título de las columnas */
.About .About-col h3 {
    color: #087ca7; /* Celeste */
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

/* Estilos para el párrafo de las columnas */
.About .About-col p {
    color: #333;
    font-size: 16px;
    line-height: 1.6;
    transition: color 0.3s ease;
}
/* Efecto de color al pasar el mouse */
.About .About-col:hover h3,
.About .About-col:hover p {
    color: #559dd8; /* Cambio de color al pasar el mouse */
}


/* Estilos para el overlay con degradado */
.About .About-col::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(45deg, #fff, #87ceeb); /* Degradado celeste */
    z-index: -1;
    border-radius: 15px;
    opacity: 0; /* Cambio a opacidad 0 inicial */
    transition: opacity 0.3s ease;
}

.About .About-col:hover::before {
    opacity: 0.2; /* Opacidad más sutil al pasar el mouse */
}


/* Efecto de overlay al pasar el mouse */
.About .About-col:hover h3 {
    color: #559dd8; /* Cambia el color del título al pasar el mouse */
}


/* Iconos para las columnas */
.About .About-col:hover .icon {
    color: #ffd700; /* Cambio de color de íconos al pasar el mouse */
}


/* Efecto de color al pasar el mouse en los iconos */
.About .About-col:hover .icon {
    color: #ffd700; /* Cambio de color al pasar el mouse */
}
.About .About-col:hover {
    transform: translateY(-8px) scale(1.02); /* Mover y aumentar tamaño al pasar el mouse */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4); /* Sombra más pronunciada al pasar el mouse */
    z-index: 1; /* Ajustar z-index para superponer otros elementos */
}

.About .About-col:hover h3 {
    color: #559dd8; /* Cambia el color del título al pasar el mouse */
}


.About .About-col:hover {
    transform: translateY(-5px); /* Mover ligeramente hacia arriba al pasar el mouse */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Sombra más pronunciada al pasar el mouse */
}

.center-values {
    text-align: center;
}

/* Efecto de crecimiento al pasar el mouse sobre las columnas */

.About .About-col:hover {
    transform: scale(1.05); 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); 
}

.hidden {
    opacity: 0; /* Ocultar con transición de opacidad */
    padding: 20px; /* Espaciado interno */
    color: #333; /* Color del texto */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Sombra */
    max-height: 0; /* Altura máxima inicial del elemento oculto */
    overflow: hidden; /* Ocultar el contenido que excede el tamaño máximo */
}
.visible {
    opacity: 1; /* Hacer visible con transición de opacidad */
    transform: scale(1); /* Escalar a tamaño normal (1) cuando es visible */
    margin-top: 20px; /* Espacio entre elementos */
    border: 2px solid #87ceeb; /* Borde celeste */
    border-radius: 10px; /* Borde redondeado */
    background-color: #fff; /* Color de fondo blanco */
    padding: 20px; /* Espaciado interno */
    color: #333; /* Color del texto */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Sombra */
    max-height: 500px; /* Altura máxima cuando el elemento es visible */
    transition: max-height 0.5s ease, opacity 0.5s ease, transform 0.5s ease; /* Transición para suavizar el cambio */
}
.visible h3 {
    margin-bottom: 10px; /* Espaciado inferior para los títulos */
    color: #ffd700; /* Cambiar color del título a dorado */
    text-transform: uppercase; /* Convertir el texto del título en mayúsculas */
}
/*---Cursos---*/

.cursos {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(121, 178, 236, 0.7)), url(images/pHuFe1.webp);
    padding: 50px;
    margin-bottom: 50px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
}

/* Estilos para el título en la sección Cursos */

h1 {
    font-size: 2.5em;
    font-weight: 600;
}

/* Estilos para el texto en la sección Cursos */

p {
    color: #070707;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.6;
    padding: 10px;
    margin-bottom: 20px;
}

/* Estilos para la disposición de las tarjetas de cursos */

.row {
    margin-top: 5%;
    display: flex;
    justify-content: space-between;
}

/* Estilos para cada tarjeta de curso */

.curso-col {
    flex-basis: 30%; 
    background: #f7f7f7; 
    border-radius: 8px; 
    margin-bottom: 2%; 
    padding: 30px; 
    box-sizing: border-box;
    transition: transform 0.3s ease; 
}

/* Estilos para el título de cada tarjeta de curso */

h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

/* Efecto de crecimiento al pasar el mouse sobre las tarjetas de cursos */

.curso-col:hover {
    transform: scale(1.05); 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2); 
}

/* Cambio en la disposición de las tarjetas para dispositivos móviles */

@media (max-width: 700px) {
    .row {
        flex-direction: column; 
    }
    .curso-col {
        flex-basis: 100%; 
        margin-bottom: 5%; 
    }
}

/* Estilo para la sección de ubicación */
.ubicacion {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(121, 178, 236, 0.7)), url(images/pHuFe1.webp);
    background-color: #f7f7f7;
    padding: 50px;
    margin-bottom: 50px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
}

.ubicacion-container {
    display: flex;
    justify-content: center;
}

.ubicacion-col {
    flex-basis: 32%;
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.ubicacion-col img {
    width: 100%;
    height: 100%; 
    display: block;
    border-radius: 10px 10px 0 0; /* Esquinas redondeadas solo en la parte superior */
}

.map-container {
    max-width: 100%;
    margin: 0 auto;
}

.map-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

iframe {
    border: 0;
    width: 100%;
    height: 500px;
    border-radius: 0 0 10px 10px; /* Esquinas redondeadas solo en la parte inferior */
}

.layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    text-align: center;
}

h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
    font-weight: bold;
}


@media (max-width: 700px) {
    .ubicacion-col {
        flex-basis: 100%;
    }
}

/* Estilo para la sección de facilidades */

.facilidades {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url("images/background2.webp");
    padding: 50px; 
    margin-bottom: 20px; 
    border-radius: 15px; 
}

.row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.facilidades-col {
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
}

.facilidades-col img {
    width: 100%;
    max-width: 100%; 
    border-radius: 10px;
    transition: transform 0.5s ease;
}

.facilidades-col:hover img {
    transform: scale(1.05);
}

.facilidades-col h3 {
    margin: 10px 0;
}

.facilidades-col p {
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}
.read-more-btn {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.read-more-btn:hover {
    background-color: #0056b3;
}

@media (max-width: 700px) {
    .facilidades-col {
        flex-basis: 100%;
    }
}


/* Estilo para la sección de comentarios */

.comentarios {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
    background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url("images/background2.webp");
    padding: 50px; 
    margin-bottom: 20px; 
    border-radius: 15px; 
}

.comentarios-col {
    flex-basis: 44%;
    border-radius: 10px;
    margin-bottom: 5%;
    text-align: left;
    background: #fff3f3;
    padding: 25px;
    cursor: pointer;
    display: flex;
}

.comentarios-col img {
    height: 40px;
    margin-left: 5px;
    margin-right: 30px;
    border-radius: 50%;
}

.comentarios-col p {
    padding: 0;
}

.comentarios-col h3 {
    margin-top: 15px;
    text-align: left;
}

.comentarios-col .fa {
    color: #016875;
}

@media (max-width: 700px) {
    .testimonial-col img {
        margin-left: 0px;
        margin-right: 15px;
    }
}
/* Call to action*/

.cta {
    margin: 220px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(images/banner.jpg);
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 210px 0;
    overflow: hidden;
}

.cta h1 {
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 18px 40px; 
    font-size: 18px; 
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover {
    border: 1px solid #606de7;
    background: #10a0da;
    transition: 1s;
}

@media (max-width: 700px) {
    .cta h1 {
        font-size: 24px;
    }

    .cta {
        padding: 80px 0;
    }

    .hero-btn {
        padding: 14px 30px;
        font-size: 16px;
    }
}



/*Footer*/

.footer{
    width: 100%;
    text-align: center;
    padding: 30px 0;
    background-color: rgba(255, 255, 255, 1);
}
.footer h4{
    margin-bottom: 25px;
    margin-top: 20px;
    font-weight: 600;

}
.icons a {
    color: #081401;
    margin: 0 13px;
    cursor: pointer;
    padding: 18px;
    font-size: 24px;
}

.fa-plane {
    color: #f44336;
}

.fa-facebook {
    color: #1877f2; 
}

.fa-instagram {
    color: #bc2a8d; 
}

.fa-twitter {
    color: #1da1f2; 
}

.fa-whatsapp {
    color: #25d366; 
}


.icons {
    gap: 0;
}

.icons a {
    text-decoration: none;
    color: inherit;
}