body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    background-color: #fff;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    background-color: #FBFBFB;
    width:100%;
}

.navbar {
    background-color: #fff; /* Fondo blanco */
    border-bottom: 1px solid #ddd; /* Borde inferior */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra sutil */
    padding: 1rem 0; /* Espaciado vertical */
    width:100%;
    height:auto;
}

.container {
    display: flex;
    justify-content: space-between; /* Distribuir logo y menú a los lados */
    align-items: center; /* Centrar verticalmente */
    width:100%;
    margin: 0 auto; /* Centrar horizontalmente */
}

.contenedor-imagen{
    margin-left:120px;
}

.logo {
    width: 280px;
    height: 61px;
}


@media (max-width: 768px) {
    .logo {
        width: 190px;
        height: 41px;
    }

}
    /* Responsivo para dispositivos móviles */
    @media (max-width: 480px) {
        .logo {
            width: 190px;
            height: 41px;
        }
    }

    .navbar-collapse {
        margin-left: 120px;
    }

    .menu-right {
        margin-left: auto;
        display: flex;
        justify-content: flex-end;
        list-style-type: none; /* Eliminar viñetas */
        padding: 0;
        flex-grow: 1;
    }


    /* Estilo para los elementos del menú */
    .nav-item {
        margin-left: 2rem; /* Espaciado entre los elementos del menú */
    }

    /* Estilo para los enlaces del menú */
    .nav-links {
        text-decoration: none; /* Eliminar subrayado */
        color: #333; /* Color del texto */
        font-family: 'Montserrat', sans-serif; /* Tipografía Montserrat */
        font-size: 18px;
        transition: color 0.3s ease; /* Efecto suave al cambiar de color */
        font-weight: bold;
    }

        /* Hover en los enlaces del menú */
        .nav-links:hover {
            color: #407C2D;
        }

    .navbar-toggler {
        display: none;
        font-size: 28px;
        background: none;
        border: none;
        cursor: pointer;
    }

.navbar-collapse {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    text-align: left;
    padding-right: 50px;
}

.close-menu {
    display: none;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-links.active {
    color: #FF9900;
    font-weight: bold;
}

@media (max-width: 768px) {
    .navbar-toggler {
        display: block;
    }

    .contenedor-imagen {
        margin-left: 30px;
    }

    .navbar-collapse {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 250px;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        z-index: 1000;
        padding: 20px;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-end;
        text-align: left;
    }

        .navbar-collapse.show {
            display: flex;
        }

    .menu-right {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 20px;
        width: 100%;
        justify-content: normal;
    }

    .nav-item {
        margin: 1rem 0;
        width: 100%;
    }

    .close-menu {
        display: block;
    }
}

@media (max-width: 480px) {

    .contenedor-imagen {
        margin-left: 10px;
    }

    .navbar-toggler{
        margin-right:10px;
    }
}
    /* Diseño del footer */

    .contact-footer {
        background-color: rgba(255, 153, 0, 1);
        padding-top: 40px;
        padding-left: 40px;
        padding-right: 40px;
        padding-bottom: 20px;
        display: flex;
        justify-content: space-between;
        color: white;
        gap: 20px;
        flex-direction: column;
    }

    .contact-info {
        flex: 1;
        background-color: transparent;
        color: #333;
        justify-content: flex-end;
        display: flex;
    }

    .contact-info-left {
        background-color: white;
        width: 60%;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        padding: 25px;
    }

    .contenedor-li-contacto {
        display: flex;
        justify-content: space-between;
        gap: 20px;
    }

    .contacto-icono {
        padding-top: 3px;
        display: flex;
        width: auto;
    }

    .contacto-detalle {
        width: 95%
    }

    .imagen-li {
        margin-right: 10px;
        width: 30px;
        height: 30px;
        color: #338033;
    }

    .contact-info li span, .contact-info li p {
        margin: 0;
        font-family: 'Montserrat', sans-serif;
        color: #407C2D;
        font-size: 14px;
    }

    .contact-info li p {
        font-weight: bold;
    }

    .contact-info ul {
        list-style: none;
        padding: 0;
    }

    .contact-info li {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }

    .redes-sociales {
        display: flex; /* Activa flexbox */
        justify-content: center; /* Centra horizontalmente los elementos */
        align-items: center; /* Centra verticalmente los elementos */
        gap: 10px;
    }

    .icono-redes {
        width: 35px;
        height: 35px;
    }

    .whatsapp-info {
        flex: 1;
        background-color: transparent;
        padding: 20px;
        justify-content: flex-start;
        display: flex;
        color: #333;
    }

    .contact-info-right {
        width: 60%;
        padding: 25px;
        text-align: center;
    }

    .contact-info-left h3 {
        color: #407C2D;
        font-family: 'Montserrat', sans-serif;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .contact-info-right h3 {
        color: #FFFFFF;
        font-family: 'Montserrat', sans-serif;
        font-weight: bold;
        margin-bottom: 25px;
        font-size: 25px;
    }

    .contact-info-right p {
        margin-bottom: 20px;
        font-size: 18px;
        color: #FFFFFF;
        font-family: 'Montserrat', sans-serif;
    }

    .whatsapp-button {
        display: flex; /* Para alinear el texto e ícono */
        align-items: center;
        justify-content: center;
        padding: 10px 30px;
        background-color: #25d366; /* Verde WhatsApp */
        color: white;
        border-radius: 10px;
        border: none; /* Quita el borde del botón */
        cursor: pointer; /* Cambia el cursor a una mano */
        text-decoration: none;
        font-weight: bold;
        transition: background-color 0.3s ease;
      c
        font-size: 18px;
        width: auto;
    }

    .whatsapp-blanco {
        margin-right: 10px;
        width: 30px;
        height: 30px;
    }

    .whatsapp-button:hover {
        background-color: #1ebd55;
    }



    .footer-imagen {
        border-top: 1px solid #FFFFFF;
        width: 100%;
        padding-top: 15px;
        text-align: center;
    }

    .footer-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 40px;
    }

    .logo-blanco-capital {
        width: 20%;
        height: 90%;
    }

    .footer-bottom {
        display: flex;
        justify-content: center;
    }

    .footer-logo {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .footer-logo img {
            max-width: 150px;
            margin-bottom: 10px;
        }

        .footer-logo p {
            color: white;
        }

    /* Estilos responsivos */
    @media (max-width: 768px) {
        .contact-info-left, .contact-info-right {
            width: 100%; /* Ocupa todo el ancho en pantallas más pequeñas */
        }

        .contact-footer {
            flex-direction: column; /* Cambia a disposición en columna */
        }

        .footer-top {
            flex-direction: column; /* Cambia a columna para pantallas pequeñas */
            align-items: center;
            gap: 20px; /* Reduce el espacio entre secciones */
        }

        .contact-info-right h3, .contact-info-right p, .whatsapp-button {
            font-size: 14px; /* Ajusta el tamaño de las fuentes */
        }

        .icono-redes {
            width: 25px;
            height: 25px; /* Reduce el tamaño de los iconos en pantallas pequeñas */
        }

        .footer-imagen img {
            width: 30%; /* Ajusta el tamaño del logo */
        }
    }

.letras-carga {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-top: 20px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

    .dots::after {
        content: '...';
        display: inline-block;
        animation: dots 1.5s steps(3, end) infinite;
    }

    /* Responsividad */
    @media screen and (max-width: 768px) {
        .gif-container img {
            transform: scale(0.7);
        }

        .letras-carga {
            font-size: 20px; /* Reduce el tamaño de la fuente */
        }
    }

    @media screen and (max-width: 480px) {
        .gif-container img {
            transform: scale(0.7); /* Reduce aún más el tamaño del GIF en pantallas pequeñas */
        }

        .letras-carga {
            font-size: 18px; /* Ajusta el tamaño del texto */
        }
    }


    @keyframes dots {
        0%, 20% {
            content: '';
        }

        40% {
            content: '.';
        }

        60% {
            content: '..';
        }

        80%, 100% {
            content: '...';
        }
    }

    .gif-container {
        margin-bottom: 20px; /* Espaciado entre el GIF y el texto */
    }

        .gif-container img {
            width: 250px;
            height: auto;
            border-radius: 10px;
            transition: transform 0.5s ease; /* Transición suave */
        }

            .gif-container img:hover {
                transform: scale(1.1); /* Ampliar el GIF al hacer hover */
            }

    /*boton flotante*/
    .whatsapp-float {
        position: fixed;
        width: 90px;
        height: 90px;
        bottom: 20px;
        right: 20px;
        background-color: #25D366;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.6);
        z-index: 1000;
        text-decoration: none;
    }

    .whatsapp-icon {
        width: 75px;
        height: 75px;
    }

    @media (max-width: 768px) {

        .whatsapp-float {
            width: 60px;
            height: 60px;
            bottom: 30px;
            right: 30px;
        }

        .whatsapp-icon {
            width: 45px;
            height: 45px;
        }

        .text-danger {
            display: block;
            font-size: 0.875rem; /* Tamaño más pequeño que el texto normal */
            color: #e3342f; /* Rojo para resaltar errores */
            margin-top: 0.25rem; /* Espaciado entre el input y el error */
        }

        .form-group {
            margin-bottom: 1.5rem; /* Espaciado entre grupos de formulario */
        }

        .custom-select select {
            width: 100%;
            padding: 0.5rem;
        }

        /* Responsivo para dispositivos móviles */
        @media (max-width: 480px) {
            .whatsapp-icon {
                width: 30px;
                height: 30px;
            }

            .whatsapp-float {
                bottom: 30px;
                right: 30px;
                width: 45px;
                height: 45px;
            }
        }

