/* Reset de márgenes y rellenos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body de la página */
body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    color: #333;
}

/* Header */
.header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 15px 120px;
    background-color: #ffffff;
}

.logo-container {
    max-width: 250px;
    width: 100%;
}

.h2deform {
    font-size: 26px;
    color: #232D4F;
    font-family: Arial, Helvetica, sans-serif;
    margin-bottom: 25px;
    text-decoration: underline;
}

.logo {
    width: 100%;
    height: auto;
}


@media (max-width: 768px) {
    .logo-container {
        max-width: 200px;  /* Ajustar el tamaño máximo del logo para pantallas medianas */
    }
}

@media (max-width: 480px) {
    .logo-container {
        max-width: 150px;  /* Ajustar el tamaño máximo del logo para pantallas pequeñas */
    }
}

/* boton inscribirse */

#inscribirse-link {
    text-decoration: none;  /* Elimina cualquier estilo por defecto del enlace */
}

#inscribirse-btn {
    background-color: #232D4F;
    color: white;
    border: none;
    padding: 15px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-block;  /* Asegura que el botón sea un bloque que no ocupe toda la línea */
}

/* Efecto hover (cuando el mouse pasa sobre el botón) */
#inscribirse-btn:hover {
    background-color: #285e8e; /* Cambia el color al pasar el ratón */
}


/* CTA Section */
.cta {
    background-color: #232D4F;
    padding: 60px 20px;
    text-align: center;
    border-top: 3px solid #e7ba61;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #fff;
}

.cta p {
    font-size: 18px;
    color: #fff;
}

/* Form Section */
.form-container {
    display: flex;
    justify-content: center;
    padding: 40px;
    background-color: #ffffff; /* Fondo gris claro para una apariencia más seria */
    min-height: 8vh;
    align-items: center;
}

/* Estilo del formulario */
.form-wrapper {
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);  /* Sombras más sutiles */
    padding: 40px;
    width: 100%;
    max-width: 700px;  /* Ajusté el tamaño máximo */
    border-radius: 8px;
    text-align: center;
}

/* Título */
.form-wrapper h3 {
    font-size: 28px;
    font-weight: 600;
    color: #232D4F;  /* Color más oscuro y serio */
    margin-bottom: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.sin-estilo {
    text-decoration: none;
    color: inherit; /* Hace que tome el color del texto circundante */
}

.modal {
    display: none; /* Ocultamos el modal por defecto */
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.sin-estilo:hover {
    text-decoration: underline;
    color: black; /* Cambia el color del enlace a negro al pasar el mouse */
}

/* Estilo de los grupos de formulario */
.form-group {
    margin-bottom: 25px;
}

/* Estilo de las etiquetas */
.form-group label {
    font-size: 14px;
    color: #232D4F;  /* Color gris para las etiquetas */
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    letter-spacing: 0.5px;
}

/* Estilo de los inputs y select */
.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fafafa;
    transition: all 0.3s ease-in-out;
}

/* Efecto de enfoque */
.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: #4a90e2; /* Azul suave para un efecto de enfoque sutil */
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

/* Botón de envío */
.form-group input[type="submit"] {
    background-color: #232D4F;  /* Azul serio y profesional */
    color: white;
    border: none;
    cursor: pointer;
    padding: 16px;
    font-size: 18px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Efecto al pasar el mouse sobre el botón */
.form-group input[type="submit"]:hover {
    background-color: #357ab7; /* Azul ligeramente más oscuro para el hover */
    transform: translateY(-2px);
}

/* Estilo para inputs requeridos con borde rojo */
input[required], select[required] {
    border: 2px solid #232D4F;
}

/* Estilo general para inputs y selects */
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group input[type="date"], .form-group select {
    transition: all 0.3s ease-in-out;
}

/* Estilo para inputs y selects con borde error */
.form-group input[type="text"]:invalid, .form-group input[type="email"]:invalid, .form-group input[type="tel"]:invalid, .form-group input[type="date"]:invalid, .form-group select:invalid {
    border: 2px solid #232D4F;
}

/* Animación para los inputs */
@keyframes inputFocusAnimation {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.02);
    }
}

.form-group input:focus, .form-group select:focus {
    animation: inputFocusAnimation 0.3s ease-in-out;
}



/* Separador entre secciones */
hr.divider {
    border: 0;
    height: 1px;
    background-color: #232D4F;
}

/*cursos*/

.about-us {
    text-align: center;
    background-color: white;
    padding: 30px 20px 30px 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    margin-bottom: 10px;
    font-size: 50px;
    font-family: Arial, Helvetica, sans-serif;
    color: #232D4F;
}

h2 {
    color: #232D4F;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 54px;
}

p {
    color: rgb(0, 0, 0);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    padding: 2px;
}

.footertext {
    color: rgb(255, 255, 255);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    padding: 2px;
}

.underline {
    width: 200px;
    height: 2px;
    background-color: #e7ba61;
    margin: 0 auto 20px;
}

.content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 0 20% 0 20%;
}

.left {
    flex: 1;
    text-align: left;
}

.right {
    flex: 1;
    text-align: right;
}

.right img {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
}

/*boton de cada curso*/

/* Estilo general del botón */
.btn-unique-random-class-1234 {
    background-color: #232D4F;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.btn-unique-random-class-1234:hover {
    background-color: #285e8e;
}

/* Estilos responsivos */
@media (max-width: 1200px) {
    .btn-unique-random-class-1234 {
        font-size: 14px;
        padding: 8px 18px;
    }
}

@media (max-width: 768px) {
    .btn-unique-random-class-1234 {
        font-size: 16px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .btn-unique-random-class-1234 {
        font-size: 18px;
        padding: 12px 24px;
        width: 40%; /* Hace el botón más ancho en pantallas pequeñas */
        text-align: center;
    }
}

/* Estilos para el layout general */
.about-us .content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.about-us .left, .about-us .right {
    width: 48%;
    box-sizing: border-box;
}

.about-us .right img {
    width: 100%;
    height: auto;
}

/* Para pantallas pequeñas */
@media (max-width: 768px) {
    .about-us .left, .about-us .right {
        width: 100%;
        text-align: center;
    }
}


/* Media Queries */

/* Tablets (por ejemplo, iPad en orientación vertical) */
@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 36px;
    }

    p {
        font-size: 96%;
    }

    .underline {
        width: 150px;
    }

    .content {
        flex-direction: column;
        padding: 0 20px;
    }

    .left, .right {
        text-align: center;
    }

    .right img {
        max-width: 100px;
    }
}

/* Móviles */
@media (max-width: 500px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 28px;
    }

    p {
        font-size: 6px;
    }

    .underline {
        width: 100px;
    }

    .content {
        padding: 0 10px;
    }

    .left, .right {
        text-align: center;
    }

    .right img {
        max-width: 100px;
    }
}

.image-text-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 10px 20px;
    background-color: #ffffff;
}

.image-container {
    flex: 1;
    text-align: center;
    max-width: 100%;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.text-container {
    flex: 1;
    padding: 0 20px;
}

.text-container h2 {
    color: #232D4F;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 54px;
    margin-bottom: 10px;
}

.text-container p {
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    padding: 4px;
}

@media (max-width: 1300px) {
    .image-text-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        background-color: #ffffff;
    }

    .text-container {
        padding: 20px 20px 20px 20px;
    }

    .text-container h2 {
        font-size: 40px;
    }

    .text-container p {
        font-size: 20px;
    }
}

@media (max-width: 1000px) {
    .image-text-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        background-color: #ffffff;
    }

    .text-container {
        padding: 20px 20px 20px 20px;
    }

    .text-container h2 {
        font-size: 40px;
    }

    .text-container p {
        font-size: 14px;
    }
    
}

@media (max-width: 768px) {
    .image-text-section {
        flex-direction: column;
        text-align: center;
    }

    .image-container {
        flex: 1;
        text-align: center;
        max-width: 100%;
    }

    .text-container {
        padding: 20px 0;
    }

    .text-container h2 {
        font-size: 40px;
    }

    .text-container p {
        font-size: 20px;
    }

    .image-text-sections {
        display: flex;
        flex-direction: row; /* Asegúrate de que los elementos están en una fila */
    }
    
    .text-containers {
        order: 2; /* Coloca este div en la segunda posición */
    }
    
    .image-containers {
        order: 1; /* Coloca este div en la primera posición */
    }
}

/* Móviles */
@media (max-width: 480px) {
    .text-container h2 {
        font-size: 24px;
    }

    .text-container p {
        font-size: 15px;
    }
}

/*tercera secc*/

.image-text-sections {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 10px 20px;
    background-color: #ffffff;
}

.image-containers {
    flex: 1;
    text-align: center;
    max-width: 100%;
}

.image-containers img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.text-containers {
    flex: 1;
    padding: 0 20px;
}

.text-containers h2 {
    color: #232D4F;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 54px;
    margin-bottom: 10px;
}

.text-containers p {
    color: black;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    padding: 4px;
}

/* Media Queries */

/* Tablets (por ejemplo, iPad en orientación vertical) */

@media (max-width: 1300px) {
    .image-text-sections {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        background-color: #f4f4f4;
    }

    .text-containers {
        padding: 20px 20px 20px 20px;
    }

    .text-containers h2 {
        font-size: 40px;
    }

    .text-containers p {
        font-size: 20px;
    }
}

@media (max-width: 1000px) {
    .image-text-sections {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        background-color: #ffffff;
    }

    .text-containers {
        padding: 20px 20px 20px 20px;
    }

    .text-containers h2 {
        font-size: 40px;
    }

    .text-containers p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .image-text-sections {
        flex-direction: column;
        text-align: center;
    }

    .image-containers {
        flex: 1;
        text-align: center;
        max-width: 100%;
    }

    .text-containers {
        padding: 20px 0;
    }

    .text-containers h2 {
        font-size: 40px;
    }

    .text-containers p {
        font-size: 20px;
    }
}

/* Móviles */
@media (max-width: 480px) {
    .text-containers h2 {
        font-size: 24px;
    }

    .text-containers p {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .about-us {
        padding: 30px 10px;
    }

    h1 {
        font-size: 30px;
    }

    h3 {
        font-size: 20px;
    }

    #fiti {
        width: 140px;
    }

    .about-us h2{
        font-size: 60px;
    }

    #tititi {
        font-size: 30px;
    }

    .about-us p {
        font-size: 17px;
    }
}


/* Footer */
.footer {
    background-color: #232D4F;
    color: white;
    text-align: center;
    padding: 20px 0;
    font-size: 16px;
}

.footer a {
    color: #e7ba61;
    text-decoration: none;
}


/* Resaltar texto en negrita */
strong {
    font-weight: bold;
    color: #232D4F;
}

strong {
    font-weight: bold;
    background-color: #e7ba61;
    color: #fff;
    padding: 2px 5px;
    border-radius: 5px;
}

/* Responsive Design */

@media (max-width: 480px) {
    .footer {
        font-size: 14px;
    }
}

/*testimonios*/

.testimonios {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
}

.titulo-testimonios {
    font-size: 2.5rem;
    color: #232D4F;
    margin-bottom: 30px;
    text-transform: uppercase;
    font-weight: bold;
}

.contenedor-testimonios {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.testimonio {
    background-color: #fafafa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonio video {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.nombre {
    font-size: 1.1rem;
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
}

.comentario {
    font-size: 1rem;
    color: #777;
    font-style: italic;
}

/*Certificados*/

.certificados {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
    height: 20vh; /* Ocupa toda la altura de la ventana */
    gap:117px; /* Espacio entre el logo y el botón */
}

/* Estilos para el logo */
.logo {
    width: 20vw;  /* La imagen se ajusta al 20% del ancho de la ventana */
    max-width: 250px; /* Tamaño máximo del logo */
    height: auto;
}

/* Estilos para el botón de descarga */
.descargar-btn {
    padding: 15px 30px;
    background-color: #007BFF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.2rem;
}

.descargar-btn:hover {
    background-color: #0056b3;
}

/* Media query para pantallas más pequeñas */
@media (max-width: 768px) {
    .logo {
        width: 40vw; /* En pantallas más pequeñas, la imagen ocupa el 40% del ancho */
        max-width: 200px; /* Limita su tamaño */
    }
    
    .descargar-btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 50vw; /* En pantallas muy pequeñas, la imagen ocupa el 50% del ancho */
        max-width: 180px;
    }

    .descargar-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .certificados {
        gap: 50px;
    }
}