/* CSS Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

header{
    background-color: #fff;
    box-shadow: 7px 7px 20px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    z-index: 1;

}
/*heta-1*/
.heta-direcctions-wrapper {
    width: 100%;  /* Ancho del contenedor (puedes ajustar el tamaño) */
    overflow: hidden;  /* Oculta lo que está fuera del contenedor */
    position: relative;
    background: #182da0;
}

.heta-direcctions{
    display: flex;
    width: 100%;
    color: #333;
    animation: scroll-right 50s linear infinite;  /* Desplazamiento suave y continuo */

}

.heta-direcctions p {
    margin: 0 20px;  /* Espaciado entre los elementos */
    white-space: nowrap;  /* Evita que los textos se partan */
    font-family: Complex;
    color: #fff;
    font-weight: bold;
}

@keyframes scroll-right {
    0% {
        transform: translateX(100%);  /* Empieza fuera de la pantalla por la derecha */
    }
    100% {
        transform: translateX(-100%);  /* Termina fuera de la pantalla por la izquierda */
    }
}
/*heta-2*/
/* Estilo para el contenedor principal */
.heta-direcctions-2 {
    width: 100%;
    padding: 5px;
    background: linear-gradient(to right, #f1f1f1, #f1f1f1); /* Gradiente de azul claro a blanco */
    border-top: 5px solid #0ddbff;
    border-bottom: 5px solid #0ddbff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Estilo para el enlace que contiene la imagen y el h1 */
.heta-direcctions-2 a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.eslogan{
    height: 100%;
}

.eslogan p{
    font-family: Candara;
    font-size: 12px;
}

/* Estilo de la imagen */
.heta-direcctions-2 img {
    width: 100px;
    height: auto;
    margin-right: 10px;
}

/* Estilo del título h1 */
.heta-direcctions-2 h1 {
    font-size: 65px;
    font-family: 'Swis721 BlkRnd BT', sans-serif;
    color: #182da0;
    border-bottom: 5px solid #d8ab17;

}

/* Estilo para el botón de menú (hamburguesa) */
.menu-toggle {
    display: none; /* Ocultar por defecto */
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
}

/* Estilo para la lista de navegación */
.heta-direcctions-2 ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    z-index: 1;

}

/* Estilo para cada elemento de la lista */
.heta-direcctions-2 li {
    margin-right: 20px;
}

/* Estilo de los enlaces dentro de los elementos de la lista */
.heta-direcctions-2 li a {
    text-decoration: none;
    color: #0b0a0a;
    font-size: 18px;
    font-family: 'BastamanBold', sans-serif;
    transition: color 0.3s ease;

}

/* Efecto hover en los enlaces */
.heta-direcctions-2 li a:hover {
    color: #0078ff;
    border-bottom: 2px solid #0078ff;
    border-radius: 2px;
}

@media (min-width: 768px) and (max-width: 1270px ) {
    .heta-direcctions-2 li a {
        font-size: 15px;
    }


}

/* Estilos para dispositivos móviles */
@media (max-width: 980px) {
    /* Mostrar el botón de hamburguesa en pantallas pequeñas */
    .menu-toggle {
        display: block;
    }

    /* Estilo de la imagen */
    .heta-direcctions-2 img {
        width: 70px;
        height: auto;
        margin-right: 10px;
    }

    /* Estilo del título h1 */
    .heta-direcctions-2 h1 {
        font-size: 45px;
        font-family: 'Swis721 BlkRnd BT', sans-serif;
        color: #182da0;
        border-bottom: 5px solid #d8ab17;

    }

    /* Ocultar el menú de navegación por defecto */
    .heta-direcctions-2 ul {
        display: none;
        width: 100%;
        flex-direction: column;
        text-align: center;
        background-color: #f4f4f4;
        position: absolute;
        top: 70px;
        left: 0;
        padding: 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        position: absolute;
    }

    /* Mostrar el menú cuando se activa el toggle */
    .heta-direcctions-2 ul.show {
        display: flex;
    }

    /* Asegurar que los elementos de la lista tengan el 100% de ancho */
    .heta-direcctions-2 li {
        margin: 10px 0;
        width: 100%;
        padding: 10px;
    }

    /* Efecto hover para los enlaces en el menú desplegable */
    .heta-direcctions-2 li a:hover {
        background-color: #f1f1f1;
        padding: 10px;
    }
}

/*final de header*/ 

/*inicio de carrusel*/
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 60vh; /* Full height of the viewport */
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #151399;
}

.carousel-slide img {
    width: auto;
    height: 100%;
    object-fit: cover; /* Ensures images fill the container without distortion */
}

.controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.control {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s;
}

.control:hover {
    background: rgba(0, 0, 0, 0.8);
}

.indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: background-color 0.3s;
}

.indicator.active {
    background-color: rgba(255, 255, 255, 1);
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel{
        width: 100vw;
    }

    .carousel-track{
        width: 100vw;
    }

    .carousel-slide{
        height: 30vh;
    }

    .carousel-slide img {
        object-fit: cover;
        width: 100vw;
        height: 100%;
    }

}

@media (max-width: 480px) {
    .control {
        padding: 8px;
        font-size: 20px;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }
}
/*final de carrusel*/

/* Estilo de la sección de introducción */
    .introduccion {
        background: linear-gradient(to right, #4facfe, #00f2fe);
        color: white;
        text-align: center;
        padding: 60px 20px;
        margin-bottom: 50px;
        animation: fadeIn 1.5s ease-out;
    }
    
    .introduccion h1 {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    
    .introduccion p {
        font-size: 1.3rem;
        max-width: 800px;
        margin: 0 auto;
    }
    
    /* Animación de la introducción */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    
    /* Estilo de las secciones de cursos */
    .curso {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 50px 20px;
        margin: 50px 0;
        background-color: #f4f4f4;
        border-radius: 10px;
        transition: transform 0.3s ease-in-out;
    }
    
    .curso:hover {
        transform: scale(1.05);
    }
    
    .curso-contenido {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        width: 100%;
    }
    
    .curso-imagen {
        width: 45%;
        height: auto;
        border-radius: 10px;
        transition: transform 0.3s ease;
    }
    
    .curso-imagen:hover {
        transform: scale(1.1);
    }
    
    .curso-texto {
        width: 50%;
    }
    
    .curso-texto h2 {
        font-size: 2.5rem;
        margin-bottom: 20px;
        color: #333;
        font-weight: bold;
    }
    
    .curso-texto p {
        font-size: 1.2rem;
        color: #666;
        margin-bottom: 20px;
    }
    
    .curso-texto p:last-of-type {
        margin-bottom: 0;
    }
    
    /* Media Queries para dispositivos móviles */
    @media (max-width: 768px) {
        .curso-contenido {
            flex-direction: column;
            align-items: center;
        }
    
        .curso-imagen {
            width: 80%;
            margin-bottom: 20px;
        }
    
        .curso-texto {
            width: 80%;
            text-align: center;
        }
    
        .introduccion h1 {
            font-size: 2.5rem;
        }
    
        .introduccion p {
            font-size: 1.1rem;
        }
    }
/*quienes somos*/
.quienes-somos {
    padding: 60px 20px;
    background-size: cover; /* Ajusta la imagen para que cubra todo el fondo */
    background-repeat: no-repeat; /* Evita que la imagen se repita */
    background-position: center; /* Centra la imagen */
    color: #333;
}

.container {
    width: 80%;
    margin: 0 auto;
    max-width: 1200px;
}

.titulo {
    text-align: center;
    margin-bottom: 40px;
}

.titulo h2 {
    font-size: 2.5em;
    color: #2C3E50;
    font-weight: 700;
}

.titulo p {
    font-size: 1.1em;
    color: #7F8C8D;
    margin-top: 10px;
}

.contenido {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}


.contenido h2{
    font-size: 10vw;
}
.imagen {
    flex: 1;
    padding-right: 20px;
}

.imagen img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
}

.texto {
    flex: 2;
    max-width: 60%;
}

.texto h3 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #2980B9;
}

.texto p {
    font-size: 1.1em;
    color: #34495E;
    margin-bottom: 15px;
    text-align: justify;
}

@media (max-width: 768px) {
    .contenido {
        flex-direction: column;
        align-items: center;
    }

    .imagen {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .texto {
        max-width: 100%;
        text-align: center;
    }

    .texto h3 {
        font-size: 1.8em;
    }

    .texto p {
        font-size: 1em;
    }
}
/*final de quienes somos*/

#galeriaImag {
    display: flex;
    width: 100%;
    height: 430px;
    
}

.dark-mode #galeriaImag{
    background-color: #1f1d1d;
}

#galeriaImag img {
    width: 0px;
    flex-grow: 1;
    object-fit: cover;
    opacity:  .8;
    transition:  .5s ease;
}

#galeriaImag img:hover {
    cursor: crosshair;
    width: 300px;
    opacity: 1;
    filter: contrast(120%);
}


/*secciones*/

/* Estilos generales */

/* Estilos para la sección que contiene ambos bloques */
.section-hat {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px;
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    background-color: #fff;
}

.hat, .hat-2 {
    width: 48%; /* Dos elementos lado a lado */
    padding: 25px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Fondo azul con efecto de brillo metálico suave */
.hat {
    background: linear-gradient(135deg, #0d47a1, #1976d2 50%, #0d47a1 50%);
    background-size: 200% 200%;
    animation: shine 30s ease-in-out infinite; /* Animación suave */
}

.hat-2 {
    background: linear-gradient(135deg, #0d47a1, #1976d2 50%, #0d47a1 50%);
    background-size: 200% 200%;
    animation: shine 30s ease-in-out infinite;
}

/* Animación de brillo metálico suave */
@keyframes shine {
    0% {
        background-position: 200% 0;
    }
    50% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Efectos de hover */
.hat:hover, .hat-2:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Títulos h2 con color dorado y efecto */
h2.col-school {
    text-align: left;
    font-size: 2.5rem;
    color: #fbc02d; /* Dorado */
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

/* Imagen de la derecha al lado de los h2 */
h2.col-school .icon-hat {
    width: 100px;
    height: auto;
    margin-left: 20px; /* Espacio entre la imagen y el texto */
}

/* Estilos para las listas con párrafos en blanco y tamaño mayor */
ul {
    list-style-type: none;
    padding-left: 0;
}

ul li {
    font-size: 2.2rem; /* Párrafos más grandes */
    color: #fff; /* Color blanco para los párrafos */
    margin-bottom: 18px;
    line-height: 1.8;
}

/* Estilo para el botón */
.button-hat {
    display: inline-block;
    padding: 14px 35px;
    background-color: #FFEB3B; /* Amarillo brillante */
    color: #0d47a1; /* Azul oscuro */
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 20px;
    width: 100%;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.button-hat:hover {
    background-color: #fdd835; /* Amarillo más intenso */
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Estilo para la imagen */
.hat img {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 120px;
    height: auto;
    transition: width 0.3s ease;
}

/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
    .section-hat {
        flex-direction: column;
        align-items: center;
        height: auto;
        padding: 20px 10px;
    }

    .hat, .hat-2 {
        width: 100%;
        margin-bottom: 20px;
        padding: 15px;
    }

    h2.col-school {
        text-align: center;
        font-size: 2.2rem;
    }

    ul li {
        font-size: 1.8rem; /* Tamaño de los párrafos en móvil */
    }

    .button-hat {
        font-size: 1.4rem;
        max-width: 100%;
    }

    .hat img {
        width: 100px; /* Reduce the image size on mobile */
    }
}

@media (max-width: 480px) {
    h2.col-school {
        font-size: 1.8rem;
    }

    .hat, .hat-2 {
        padding: 10px;
    }

    .button-hat {
        font-size: 1.2rem;
    }

    .hat img {
        width: 90px; /* Further reduce image size on very small screens */
    }
}


/* Botón flotante fijo */
.floating-button {
    position: fixed;
    bottom: 20px; /* Espaciado desde la parte inferior */
    right: 20px; /* Espaciado desde la parte derecha */
    width: 150px; /* Ancho máximo */
    max-width: 90%; /* Se adapta a pantallas más pequeñas */
    z-index: 1000; /* Asegura que esté encima de otros elementos */
    display: block; /* Para que actúe como un botón completo */
    cursor: pointer; /* Cambia el cursor a puntero */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Animación */
  }
  
  .floating-button:hover {
    transform: scale(1.05); /* Efecto de zoom al pasar el ratón */
    opacity: 0.9; /* Opacidad reducida en hover */
    background-color: rgba(37, 211, 102, 0.5);
    border-radius: 3px;
  }
  
  .floating-button img {
    width: 100%; /* Imagen responsive */
    height: auto; /* Mantiene la proporción de la imagen */
    border-radius: 8px; /* Esquinas redondeadas opcionales */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra */
  }

  /* Estilos para el pie de página */
.footer {
    background-color: #2C3E50;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

/* Contenedor principal */
.container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}

/* Estilos para los enlaces */
.footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Secciones del pie de página */
.footer-section {
    flex: 1;
    padding: 10px;
    min-width: 200px;
}

.footer-section h4 {
    font-size: 1.2em;
    margin-bottom: 15px;
    color: #ECF0F1;
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section ul li {
    margin: 10px 0;
}

.footer-section ul li a {
    text-decoration: none;
    color: #BDC3C7;
    font-size: 1em;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #1ABC9C;
}

/* Estilo para el pie de página inferior */
.footer-bottom {
    margin-top: 20px;
    font-size: 0.9em;
    color: #BDC3C7;
}

/* Estilo para dispositivos móviles */
@media (max-width: 768px) {
    .footer-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        margin-bottom: 20px;
        text-align: center;
    }

    .footer-section h4 {
        font-size: 1.4em;
        margin-bottom: 10px;
    }

    .footer-bottom {
        font-size: 0.8em;
    }
}