body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* O 100dvh para mejor soporte móvil en 2026 */
}

/*header {
    background-color: #006400; /* Dark green 
    color: white;
    padding: 20px;
    text-align: center;
}*/
@media (min-width: 950px) {
    .colorBeige {
        background-color: #FFFDCE;
        color: #000;
        background-image: url('../img/PLECA_GOB.png');
        background-repeat: repeat;
        font-weight: bold;
        font-size: 1.08em;
        margin-top: 20px;
    }

    .colorVerde {
        background-color: #2F5249;
        color: #fff;
        background-image: url('../img/PLECA_GOB.png');
        background-repeat: repeat;
        background-blend-mode: soft-light;
        /* Mezcla el patrón con el color base */
        font-size: 1.2em;


    }

    .colorRojo {
        background-color: #611232;
        color: #fff;
        background-image: url('../img/PLECA_GOB_vino.png');
        background-repeat: repeat;
        background-blend-mode: soft-light;
        /* Mezcla el patrón con el color base */
        font-size: 1.2em;
        margin-top: 20px;
    }

    .colorAzul {
        background-color: #0F2854;
        color: #fff;
        background-image: url('img/PLECA_GOB.png');
        background-repeat: repeat;
        background-blend-mode: soft-light;
        /* Mezcla el patrón con el color base */
        font-size: 1.2em;
        margin-top: 20px;
    }

    .colorGris {
        background-color: #7A7A73;
        color: #fff;
        background-image: url('../img/PLECA_GOB.png');
        background-repeat: repeat;
        background-blend-mode: luminosity;
        /* Mezcla el patrón con el color base */
        font-size: 1.2em;
        margin-top: 20px;
    }

    .imgFlechas {
        width: 5%;
        margin: -6% 20%;
        color: #611232;
    }

    .imgFlechasBenito {
        width: 5%;
        margin: -6% 25%;
        color: #611232;
    }

    .imgFlechasJovenes {
        width: 5%;
        margin: -6% 45%;
        color: #611232;
    }

    .imgFlechasGertrudis {
        width: 5%;
        margin: -6% 55%;
        color: #611232;
    }

    .wrapper {
        width: 80%;
        margin: auto;
        overflow: hidden;
    }
    .mobil{
        display: none;
        width: 100% !important;
        margin-bottom: 1rem !important;
    }
}

.colorcards {
    background-color: #e2cfa8;
}

.imgFlecha {
    display: inline-block;
    /* Ajusta tamaño */
    position: relative;
    text-decoration: none;

}

.cardblanco {
    background-color: #fff;
    width: 95%;
    margin: auto;
    padding: 2px;
}

.congrats-text {
    font-weight: 800;
    font-size: 1.3rem;
    margin: 0;
}

.decorative-banner {
    position: relative;
    text-align: center;
    padding: 30px 0;
    /*background-color: #e1d0a7; /* Color base si no hay imagen */

    /* IMPORTANTE: Para el patrón de fondo exacto, necesitas la imagen.
       Descomenta las siguientes líneas y añade la ruta a tu imagen de patrón. */

    background-image: url('/img/PLECA_GOB.png');
    background-repeat: repeat;
    background-blend-mode: soft-light;
    /* Mezcla el patrón con el color base */

    margin-top: 20px;
    /* Crea el efecto de "corte" curvo superior usando un margen negativo y border-radius en el contenedor padre */
}

.info-section {
    padding: 30px 40px 40px;
    text-align: center;
}

.info-title {
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Contenedor de los datos (la caja beige con bordes) */
.data-container {
    background-color: #efebe4;
    border: 1px solid #d0c5b5;
    border-radius: 15px;
    text-align: left;
    /* El texto dentro de la caja va alineado a la izquierda */
    overflow: hidden;
    /* Para que los bordes internos respeten el radius */
    margin-bottom: 30px;
}

/* Filas individuales de datos */
.data-row {
    padding: 18px 25px;
    border-bottom: 1px solid #d0c5b5;
    font-size: 1.1rem;
    color: #4a4a4a;
}

/* Eliminar el borde inferior de la última fila */
.data-row:last-child {
    border-bottom: none;
}

/* Estilo para los valores en negrita */
.data-row strong {
    font-weight: 800;
    color: #000;
    margin-left: 5px;
}

.button-container {
    display: flex;
    justify-content: center;
}

.btn-consultar {
    background-color: #611232;
    color: white;
    border: none;
    /* Forma de píldora */
    border-radius: 50px;
    padding: 15px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(122, 46, 61, 0.3);
}

.btn-consultar:hover {
    background-color: #5e232f;
    /* Un tono más oscuro al pasar el mouse */
    box-shadow: 0 6px 15px rgba(122, 46, 61, 0.4);
}

.textoJustificado {
    text-align: justify;
    font-family: Montserrat, Helvetica, sans-serif;


}

.textoenNegritas {
    font-weight: bold;
}



header {
    background: #611232;
    width: 100%;
    position: fixed;
    z-index: 10;
}

nav {
    float: left;
    /* Desplazamos el nav hacia la izquierda */
}

nav ul {
    list-style: none;
    overflow: hidden;
    /* Limpiamos errores de float */
}

nav ul li {
    float: left;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

nav ul li a {
    display: block;
    /* Convertimos los elementos a en elementos bloque para manipular el padding */
    padding: 20px;
    color: #fff;
    text-decoration: none;
}

/*nav ul li:hover {
  background: #800000;
}*/
.body-section {
    display: flex;
    flex-direction: column;
    /*min-height: calc(100vh - 120px); /* Adjust for header and footer */
    /* 1. Cambia min-height por height: auto para que sea dinámico */
    height: auto;

    /* 2. Mantén el min-height solo si quieres que ocupe todo el alto
       cuando hay poco contenido, pero usa min-height, nunca height fijo */
    min-height: calc(100vh - 120px);

    /* 3. Permite que el contenido se expanda dinámicamente */
    overflow: visible;

    /* 4. Asegura que el contenedor se ajuste al contenido interno */
    flex: 1;
    padding-bottom: 80px;
}

.section {
    padding: 20px;
}

.sectionBodyHeder {
    padding: 1px;
}

.scholarships-header {
    /*background-color: #32CD32; /* Lime green */
    color: #691932;
    text-align: center;
}

.two-column {
    display: flex;
    flex-wrap: wrap;
}

.left-column,
.right-column {
    padding: 20px;
    box-sizing: border-box;
}

.left-column {
    flex: 0 0 40%;
    background-color: #ffffff;
    border-right: 1px solid #ddd;
}

.right-column {
    flex: 0 0 60%;
    background-color: #ffffff;
}

.scholarship {
    margin-bottom: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0.3, 0.3);
}

.form-group {
    margin-bottom: 15px;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

label {
    display: block;
    margin-bottom: 5px;
}

input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#folio {
    width: 40ch;
}

button {
    background-color: #691932;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #BA487F;
}

.divfootercompleto {
    width: 100%;
   /* display: inline-flex;
    padding-top: 2%;*/
    text-decoration: none;
    background-color: #611232;
    color: white;
    text-align: justify;
   /*padding: 10px;
    margin-top: auto;*/

}

.divfootercompleto p {
    width: 100%;
    text-align: center;
}

.divfootercuatro {
    width: 24%;
    display: block;
    float: left;
    margin-left: 15px;
}

.gobiernofooter {
    width: 65%;
}

.loading-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

.loading-modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
}

.result {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: white;
    display: flex;
    flex-direction: column;
}

/* Ajustes para input */
.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-group input {
    width: 21ch;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    /* Elimina el outline predeterminado del navegador */
    font-size: 16px;
    background: transparent;
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #999;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* Efecto de etiqueta flotante (cuando el input está enfocado o ya tiene contenido) */
.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label {
    top: -12px;
    font-size: 12px;
    color: #006400;
}

/* Línea inferior animada */
.form-group .underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #006400;
    transition: width 0.3s ease;
}

/* Expande la línea inferior cuando el input recibe foco */
.form-group input:focus~.underline {
    width: 40ch;
}

.divbodycompleto {
    width: 95%;
    margin: auto;
}

.divbodycompletodentro {
    width: 95%;
    margin: auto;
    border-radius: 5px;
    box-shadow: 5px 5px 10px 10px rgba(0, 0, 0.2, 0.2);
    padding: 12px 12px;

}

.divbodycompletoimagen {
    width: 95%;
    display: inline-flex;
    margin: 500px auto;
    border-radius: 5px;

    border-width: 1px;
    border-style: solid;

}

.imagen {
    width: 100%;
    height: 350px;
    display: inline-flex;
    margin: 10px 0;
}

.imagenCards {
    width: 80%;
    height: 300px;
    border-radius: 5px;
    display: flex;
    margin: 0px 10%;

}

.divbodycompletoalerts {
    width: 95%;
    margin: auto;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    border-color: gray;
    padding: 12px 12px;


}

#flechaRita {
    rotate: 90deg;
}

.divcompletoalerts {
    display: none;
    width: 95%;
    margin: auto;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    border-color: gray;
    padding: 12px 12px;


}

.divbodycompletoResult {
    width: 95%;
    display: inline-block;
    margin: auto;
    border-radius: 5px;
    border-width: 1px;
    border-style: solid;
    border-color: gray;
    padding: 12px 12px;
    color: #000;
    font-size: 1.5em;


}

.espacios {
    display: block !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
}

.divbodymedio {
    display: inline-flex;
    width: 49%;
    border-right: 1px solid #ddd;

}

.footera h5,
h6 {
    text-align: justify;
    font-size: 23px;
    text-decoration: none;
    color: white;
}

.footera a {
    text-decoration: none;
    color: white;
}

.footerul {
    list-style: none;
    padding: 0px;
    text-align: justify;
}

.footerul a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.footerulicon {
    list-style: none;
    padding: 0px;
    text-align: justify;
    font-size: 23px;
    text-decoration: none;
    color: white;
}

.footerulicon a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.footerulicon li {
    float: left;
}

.footer-pleca {
    background-image: url(https://framework-gb.cdn.gob.mx/gobmx/img/pleca.svg);
    background-color: #611232;
    background-repeat: repeat-x;
}
.fondosCortinilla{
     width: 100%;
  height: 100vh;
  background-image: url('../img/ventanilla_provisional.png');
     
   background-size: 80% 100%;
  background-position: center;
 background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
     
}


@media (max-width: 900px) {

    body {
        padding: 15px;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .congrats-text {
        font-size: 1.1rem;
    }

    .info-section {
        padding: 20px 20px 30px;
    }

    .ocultaDivs{
        display: none;
    }
    .fondosCortinilla{
        background-size: contain;
        padding: 20px;
    }

    .colorRojo {
        background-image: url('../img/PLECA_GOB_vino.png');
        background-color: #611232;
        background-repeat: repeat;
        color: #fff;
        background-blend-mode: soft-light;
        /* Mezcla el patrón con el color base */
        font-size: 1.2em;
        margin-top: 20px;
    }

    .colorGris {
        background-color: #7A7A73;
        color: #000;
        background-image: url('../img/PLECA_GOB.png');
        background-repeat: repeat;
        background-blend-mode: luminosity;
        /* Mezcla el patrón con el color base */
        font-size: 1.2em;
        margin-top: 20px;
    }

    .data-row {
        font-size: 1rem;
        padding: 15px;
        display: flex;
        flex-direction: column;
        /* Apila etiqueta y valor en pantallas muy pequeñas */
    }

    .data-row strong {
        margin-left: 0;
        margin-top: 5px;
    }

    .divfootercuatro {
        width: 100%;
    }

    .footerul {
        list-style: none;
        padding: 0px;
        text-align: justify;
        width: 100%;
    }

    .footerul a {
        color: white;
        text-decoration: none;
        font-size: 18px;
    }

    .footerulicon {
        list-style: none;
        padding: 0px;
        text-align: justify;
        font-size: 23px;
        text-decoration: none;
        color: white;
    }

    .footerulicon a {
        color: white;
        text-decoration: none;
        font-size: 18px;
    }

    .footerulicon li {
        float: left;
    }

    .divfootercompleto {
        width: 100%;
        display: block;
        padding-top: 2%;
        text-decoration: none;
    }

    .divbodymedio {
        display: inline-flex;
        width: 100%;
        border-right: 1px solid #ddd;

    }

    .imagen {
        width: 100%;
        height: 150px;
        display: inline-flex;
        margin: 10px 0;
    }

    .imagenCards {
        width: 80%;
        height: 150px;
        border-radius: 5px;
        display: flex;
        margin: 0px 10%;

    }

    .imgFlechas {
        width: 8%;
        margin: auto;
        color: #611232;
    }

    .imgFlechasBenito {
        width: 8%;
        margin: auto;
        color: #611232;
    }

    .imgFlechasJovenes {
        width: 8%;
        margin: auto;
        color: #611232;
    }

    .imgFlechasGertrudis {
        width: 8%;
        margin: auto;
        color: #611232;
    }
    .wrapper {
        width: 98%;
        margin: auto;
    }
    .mobil{
        display: block;
         width: 100% !important;
        margin-bottom: 1rem !important;
    }

}