/* Estilos generales */
body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: #f4f4f8;
}

.container-fluid {
    height: 100%;
    overflow: hidden;
}

.row {
    height: 100%;
}

.text-center, .img-center {
    position: relative;
}


.text-center {
    padding: 1rem;
}

.img-center {
    display: flex; /* Utiliza flexbox para centrar elementos dentro del div */
    justify-content: center; /* Centra horizontalmente */
    align-items: center; /* Centra verticalmente */
}

.col-md-6.p-0 {
    overflow: hidden; /* Previene el desbordamiento dentro de este contenedor */
}

    .col-md-6.p-0 img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.img-footer {
    width: 22%;
    height: auto;
    margin-top: 18px;
    margin-bottom: 20px
}

.logo {
    width: 155px;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease;
}

    .logo:hover {
        transform: scale(1.1);
    }

.footer-divider {
    border: 1px solid #cccccc; /* Ajusta el color y el grosor de la línea según tus preferencias */
    width: 60%; /* Ajusta el ancho según tus necesidades */
    margin: 10px auto; /* Centra la línea horizontalmente y añade un espacio de 50px arriba y abajo */
}

.lead {
    font-size: 1.05rem;
    font-weight: 300;
}

p.lead {
    margin-top: 0;
    margin-bottom: 0;
}

    p.lead strong {
        font-weight: bold;
    }

.btn-primary {
    background-color: #00972e;
    border-color: #f4f4f8;
    color: #fff;
    padding: 10px 110px;
    border-radius: 45px;
}

    .btn-primary:hover {
        background-color: #046917;
        border-color: var(--secondary-color);
    }

.mb-3 {
    margin-bottom: 2rem !important;
}
/* Responsividad para dispositivos más pequeños */
@media (max-width: 768px) {

    .container-fluid, .row {
        min-height: auto;
        height: auto;
    }

    .col-md-6.p-0 {
        height: auto;
    }

        .col-md-6.p-0 img {
            height: 20vh !important;
            object-fit: cover;
        }

    body, html {
        overflow-y: auto;
    }

    .btn-primary {
        padding: 15px 31px;
        border-radius: 45px;
        margin-bottom: 1rem;
    }

    .footer-divider {
        border: 1px solid #cccccc; /* Ajusta el color y el grosor de la línea según tus preferencias */
        width: 80%; /* Ajusta el ancho según tus necesidades */
        margin: 5px auto; /* Centra la línea horizontalmente y añade un espacio de 50px arriba y abajo */
    }

    .logo {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 40px;
        width: 30%;
        max-width: 350px;
    }

    .img-footer {
        width: 60%;
        height: auto;
        margin-top: 2rem;
    }

    .text-center {
        padding: 1rem 0.5rem;
    }
}

/* Responsividad para dispositivos con altura menor */
@media (max-height: 500px) {
    .container-fluid, .row {
        height: auto !important; /* Permitir que se ajuste al contenido */
        min-height: 100% !important; /* Asegurar que se mantenga el mínimo */
    }

    body, html {
        overflow-y: auto !important; /* Habilitar scroll vertical */
    }
}
