﻿/* Barra de Navegacion */

.navbar {
    padding: 0.5rem;
    background-color: #f5f6f7;
    position: fixed;
    font-size: 1.2rem;

}

.navbar-collapse {
    align-items: center;
    justify-content: space-between
}


/* Generales*/

section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1 {
    font-size: 2.5rem;
    font-family: 'Raleway', sans-serif;
}

.seccion-oscura {
    background-color: #004180;
    color: #ffffff;
}

.seccion-gris {
    background-color:#ececec;
    text-align: center; /* Centrar texto horizontalmente */
    padding: 30px 15px; /* Padding superior de 30px y lateral de 15px */
 
}

.seccion-final {
    background-color: #e6e8ea;
    color:black;
}


.seccion-titulo {
    font-size: 2rem;
    padding: 15px 0;
    font-family: 'Raleway', sans-serif;
}

.seccion-descripcion {
    font-size: 1.2rem;
    color: #615151;
}

.seccion-texto{
    font-size: 1.2rem;
}

.btn-info {
    font-size: 1.1rem;
    margin: 20px;
    
}

.resaltado{
    background-color:lightgray;
    text-align: left;
    padding: 20px;
}

.texto-negro {
    color: black;
}
.texto-blanco {
    color: white;
}
.texto-color {
    color:firebrick;
    font-size: 1.2rem;
    font-weight: bold;

}

.texto-color-horario {
    color: firebrick;
    font-size: 1rem;
    font-weight: bold;
}
.escudo-derecha {
    padding-right: 5px;
}

/* Seccion Encabezado */
.encabezado {
    background-color: #f5f6f7;
   /* min-height: 450px;*/
    text-align: center;
    width: 100%;
}
.encabezado img{
    width: 100%;
}


/*Item 1 Menu*/
.item-1-menu{
    
    padding: 10px;
}
.item-1-menu .contenedor{
    max-width: 1200px;
    text-align: center;
    padding-top: 30px;
}
/*Item 2 Menu*/

.item-2-menu {
    padding: 40px;
}
.item-2-menu .columna {
    padding: 20px;
    border: 2px solid #8080804d;
    display: flex;
    flex-direction: column;
    align-items: center;
    /*justify-content: space-evenly;*/
    justify-content:normal;
    transition: all 0.2s ease-in;
}
.item-2-menu .columna:hover{
    color: white;
    background-color: #1b1b32;
}
    .item-2-menu i {
        padding: 40px 40px 60px 40px;
        font-size: 2.5rem;
        color: firebrick;
        background-color: #ececec;
        padding: 8px 19px;
        border-radius: 50%
    }
    .item-2-menu .columna-comision {
        padding: 30px;

        display: flex;
        flex-direction: column;
        align-items: center;
        /*justify-content: space-evenly;*/
        justify-content: normal;
        transition: all 0.2s ease-in;
    }


.item-2-menu-titulo {
    font-size: 2.8rem;
    font-weight: bold;
    margin: 10px 0;
    background: #ccc;
    background: linear-gradient(90deg, #C7181F,#004180);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;

}

.item-2-menu-texto {
    text-align: left;
}
.programa{
    background-color: firebrick;
}

.badges-contenedor {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 0;
}
.badge {
    margin: 5px;
}
/*Convivios*/
.convivios {
    margin: 20px;
    display: flex;
}


.convivios .contenedor {
    max-width: 1200px;
    min-width: 800px;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 20px;
      
    align-items: center;
}

    .convivios .acordeon {
        width: 90%;
        /* max-width: 900px;*/
        text-align: center;
        flex-direction: column;
        align-items: center;
    }


/*Item 3 Menu Video*/

.item-3-menu {
    padding: 30px;
}

/* Podemos eliminar este estilo si no queremos que se adapte al ancho máximo */
.delimitador {
    width: 90%; /* Ancho máximo */
    margin: auto; /* Centramos el vídeo */

}

.derecha {
    padding-right: 60px;
}
.izquierda {
    padding-left: 60px;
}

.video {
    height: 0px;
    width: 100%;
    padding-top: 56.25%; /* Relación: 16/9 = 56.25% */
    position: relative;
    margin-bottom: 20px; /* Separación con otros elementos */
}


  
/* El iframe se adapta al tamaño del contenedor */
.video iframe {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0px;
    left: 0px;

}
.colum-video {
    display: flex;
    text-align: center;
    
}


.item-3-menu .foto{
    height: 250px;
    width: 250px;
    padding: 10px;
    border-radius: 10px;
    display: block;
    transition: all 0.2s ease;
}
.bandera {
    height: 40px;
    padding-right: 10px;
    padding-bottom: 4px;
    opacity:1;
}

.item-3-menu-contenedor {
    padding-top: 40px;
    margin-bottom: 40px;
}

.overlay {
    transition: all 0.2s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    margin-top: -15px;
}
.overlay p {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 0;
}



.iconos-contenedor {
    display: flex;
}

.iconos-contenedor i {
    color: black;
    font-size: 25px;
    margin: 5px;
}
.boton-curriculum{
    background-color: transparent;
    border-block-color: transparent;
    border-color: transparent;
}
.boton-inscripcion {
    background-color: #ececec;
    border-block-color: dimgray;
    border-color: dimgray;
    /* border: 2px solid dimgray;
    color: #1b1b32;*/
    color: firebrick;
    border-radius: 20px;
}
    .boton-inscripcion:hover {
        background-color: #fff;
        border-block-color: dimgray;
        border-color: dimgray;
        color: #1b1b32;
    }

.botones-proctoring {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px; /* separación horizontal en escritorio */
  flex-wrap: wrap; /* permite que bajen en móviles */
}    

/*Destinatarios*/
.destinatarios {
    height: 400px;
    padding: 40px;
}

    .destinatarios .contenedor {
        max-width: 1200px;
        text-align: center;
        padding-top: 30px;
    }

/*Item 3 Menu Auspiciantes*/

.auspiciantes {
    padding: 40px;
    text-align: center;
}
.auspiciante {
    position: relative;
}
.colum {
    display: flex;
    align-items: center;
    justify-content: center;
}

.auspiciante img {
    height: 120px;
    display: block;
    transition: all 0.2s ease;
}
.overlay-auspiciante {
    transition: all 0.2s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    transform: translate(-50%,-50%);
    text-align: center;
    padding: 10px;
}
.overlay-auspiciante p {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 0;
}


.auspiciante:hover img {
    opacity: 0.2;
}

.auspiciante:hover .overlay-auspiciante {
    opacity: 1;
}

.overlay-auspiciante .iconos-contenedor {
    display: flex;
}

.overlay-auspiciante i {
    color: black;
    font-size: 40px;
    margin: 5px;
}

.logo-auspiciante{
    height: 80px;
    padding-bottom: 5px;
    padding-top: 5px;
   
}
/*Item 4 Menu Articulos*/
.articulos {
    min-height: 500px;
    padding: 30px;
    
}
.articulos .contenedor {
    max-width: 1200px;
    text-align: center;
    padding-top: 30px;
}

.articulos .card {
    width: 80%;
    max-width: 600px;
    margin: 20px;
}

.card card-header {
    font-weight: bold;
}

/*Item 5 Menu Testimonios*/

.testimonios {
    padding: 40px 40px 80px 40px;
}
.testimonios carousel {
    max-width: 800px;
}
.carousel-item {
    height: 500px;
}
.carousel-item .container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items:center;
    justify-content: center;
}
.testimonio-imagen {
    height: 150px;
    width: 150px;
    margin: 10px 10px 20px 10px;
}
.testimonio-texto {
    max-width: 70%;
    font-size: 20px;
    text-align: center;
    font-family: 'Raleway', sans-serif;
}
.testimonio-info {
    font-weight: bold;
    text-align: center;
}
.testimonio-info p {
    margin-bottom: 0;
}
.testimonio-footer .cliente {
    font-size: 1.2rem;
}
.testimonio-info .cargo {
    font-size: 0.9rem;
    color: #656060;
}

/*Item 6 Menu Contacto*/

.contacto {
    
}

.contacto .container {
    /*max-width: 1100px;*/
    padding: 20px;
  min-height: 200px; /* o la altura que necesites */
  display: flex;
  flex-direction: column;
  justify-content: center; /* centra verticalmente */
  align-items: center;     /* centra horizontalmente */

}
.contacto .rectangulo {
    margin-top: -3rem;
    background-color: transparent;
    border-radius: 10px;
}

.contacto .row {
    width: 100%;
    /*display: flex;*/
    align-items: center;
    
}
.contacto .seccion-descripcion {
    color: white;
    font-size: 1.2rem;
}
.col-contacto-datos {
    text-align: left;
}

    .col-contacto-datos a {
        text-decoration: none;
        color: white;
    }

.contacto button {
    color: white;
    font-weight: bold;
    background-color: transparent;
    border: 2px solid white;
    padding: 1.25em 2em;
    margin: 10px;
    border-radius: 100px;
    transition: all 0.25s ease-in-out;
}
.contacto button:hover {
    background-color: white;
    color: black;
}
.contacto button i {
    color: white;
    font-size: 1.3rem;
    transition: all 0.2s ease-in-out;
}
.contacto button:hover i {
    color:black;
}

/* Pie de pagina - Footer */

footer {
    min-height: 150px;
    background-color: #C7181F;
}

.footer-logo {
    height: 80px;
    width: 80px;
    margin: 10px;
}

.footer-texto {
    font-size: 1.1rem;
    font-family: 'Quicksand', sans-serif;
}

.footer button {
    color: white;
    font-weight: bold;
    background-color: transparent;
    border: 2px solid white;
    padding: 1.25em 2em;
    margin: 10px;
    border-radius: 100px;
    transition: all 0.25s ease-in-out;
}

    .footer button:hover {
        background-color: white;
        color: black;
    }

    .footer button i {
        color: white;
        font-size: 1.3rem;
        transition: all 0.2s ease-in-out;
    }

    .footer button:hover i {
        color: black;
    }

.logo-ucasal-footer {
    width: 60%;
    padding-top: 10px;
    padding-bottom: 10px;
}

.colum-footer {
    text-align: left;
}

.colum-logo {
    text-align: right;
}

.iconos-redes-sociales a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    margin: 10px;
    border: 2px solid white;
    border-radius: 50%;
    transition: all 0.2s ease-in;
}

.iconos-redes-sociales i {
    font-size: 1.5rem;
    color: white;
    transition: all 0.2s ease-in;
}

.iconos-redes-sociales a:hover {
    background-color: white;
    border: 2px solid rgb(13,110,253);
}

    .iconos-redes-sociales a:hover i {
        color: black;
    }

.derechos-de-autor {
    font-size: 15px;
    color: dimgrey;
    padding: 10px;
    text-align: center;
}

.preguntas-frecuentes {
        
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.preguntas-frecuentes .accordion-button {
    background-color: #004180; /* Color de fondo del botón */      
    color: #ffffff;
    font-weight: bold;
    font-family: 'Raleway', sans-serif;
}

.preguntas-frecuentes .accordion-button.collapsed {
    background-color: #f5f6f7; /* Color de fondo cuando está colapsado */
    color: #004180;
}

.preguntas-frecuentes .accordion-body {
    font-size: 1.1rem;
    color: #615151;
}

.img-preguntas {
  max-width: 280px; /* ancho máximo para pantallas grandes */
  width: 100%;      /* escala responsiva */
  height: auto;     /* mantiene proporciones */
  transition: transform 0.3s ease;
}
/* Efecto sutil al pasar el mouse */
.img-preguntas:hover {
  transform: scale(1.05);
}

/* Adaptable - Responsive */
@media screen and (max-width: 400px) {
    .overlay p {
        font-size: 18px;
    }

    .overlay i {
        font-size: 40px;
    }

    .hero-inferior-imagen {
        min-height: auto;
        min-width: 100%;
    }

    .img-preguntas {
        width: 90%;
    }

    .colum-footer {
        text-align: center;
    }

    .logo-ucasal-footer {
        width: 40%;
        padding-left: 2px;
        padding-right: 2px;
    }

    .colum-logo {
        text-align: center;
    }
    .derecha {
        padding-right: 1px;
    }
    .izquierda {
        padding-left: 1px;
    }
}

@media screen and (max-width: 767px) {
    .navbar-brand {
        display: none;
    }

      .botones-proctoring {
    gap: 25px; /* menos espacio entre botones */
  }

  .img-preguntas {
    max-width: 220px; /* un poco más pequeñas en móviles */
  }

    .colum-footer {
        text-align: center;
    }

    .logo-ucasal-footer {
        width: 60%;
        padding-left: 2px;
        padding-right: 2px;
    }

    .colum-logo {
        text-align: center;
    }
    .derecha {
        padding-right: 1px;
    }

    .izquierda {
        padding-left: 1px;
    }
}

@media screen and (min-width: 700px) {
    .hero-inferior-imagen {
        padding-top: 20px;
    }

    .item-1-menu .contenedor {
        min-width: 700px;
    }

}

@media screen and (max-width: 800px) {
    .testimonio-imagen {
        height: 120px;
        width: 120px;
    }

    .testimonio-texto {
        font-size: 18px;
    }
}
