/* Estilo del logo y la barra de navegación */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #ffffff;
    padding: 10px 30px;
}

.logo-img {
    height: 50px;
    margin-right: 20px;
}

.navbar-toggler {
    margin-left: auto;
    margin-right: 20px;
    /* Ajusta esta propiedad para controlar la distancia al logo */
}

.navbar-nav .nav-link {
    color: #443e32;
    font-weight: bold;
    margin-right: 15px;
}

.navbar-nav .nav-link:hover {
    color: #a5a503;
}

.form-inline .form-control {
    width: 150px;
}

.form-inline .btn-outline-success {
    color: #443e32;
    border-color: #443e32;
}

.form-inline .btn-outline-success:hover {
    background-color: #fbc800;
    color: #0f0303;
    border-color: #2b9f3a;
}

@media (max-width: 576px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
    }

    .form-inline {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }
}


/*CARRUSEL*/
.carousel-item {
    height: 600px;
    background-size: cover;
    background-position: center;
    color: #fff;
    position: relative;
}

.carousel-caption {
    top: 15%;
    bottom: auto;
    z-index: 2;
}

.carousel-caption h1 {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
}

.carousel-caption p {
    font-size: 1.25rem;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(34, 34, 34, 0.4);
    z-index: 1;
}

.btn-warning {
    border: none;
    color: #000000;
    background: linear-gradient(135deg, #ffde00, #ffa600);
    border-radius: 4px;
    padding: 10px 20px;
    transition: background 0.3s ease;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #ffa600, #ffde00);
}

.btn.btn-warning {
    margin-top: 35px;
}

/* Responsivo para pantallas pequeñas */
@media (max-width: 576px) {
    .logo-img {
        height: 40px;
        margin-right: 10px;
    }

    .navbar-nav .nav-link {
        margin-right: 5px;
        font-size: 0.9rem;
    }

    .carousel-item {
        height: 400px;
    }

    .carousel-caption h1 {
        font-size: 1.8rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .btn.btn-warning {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Responsivo para pantallas medianas */
@media (min-width: 577px) and (max-width: 992px) {
    .navbar {
        padding: 10px 20px;
    }

    .logo-img {
        height: 45px;
    }

    .navbar-nav .nav-link {
        margin-right: 10px;
        font-size: 1rem;
    }

    .carousel-item {
        height: 500px;
    }

    .carousel-caption h1 {
        font-size: 2.5rem;
    }

    .carousel-caption p {
        font-size: 1.1rem;
    }

    .btn.btn-warning {
        font-size: 1rem;
    }
}

/* acerca de la empresa   */
.about-section {
    background-color: #ffffff;
    /* Fondo rojo */
    padding: 50px 20px;
    color: #000000;
}

.about-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    color: #2b9f3a;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-section .img-fluid {
    border-radius: 8px;
    width: 100%;
    height: auto;
}

/*razones */


.reasons-section {
    background-color: #f0f8e0;
    /* Fondo rojo */
    color: #2b9f3a;
    padding: 60px 20px;
}

.reasons-section p {
    color: #000000;
}

.reasons-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 50px;
    position: relative;
}

.reason-item {
    margin-bottom: 40px;
    text-align: center;
}

.reason-icon-container {
    display: inline-block;
    width: 100px;
    height: 100px;
    background-color: #ffffff;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.reason-icon-container:hover {
    transform: translateY(-10px);
}

.reason-icon {
    width: 100%;
    height: auto;
}

.reason-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2b9f3a;
    /* Color dorado */
    text-transform: uppercase;
    margin-top: 15px;
    margin-bottom: 10px;
}

.reason-item p {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 15px;
    max-width: 250px;
    margin: 0 auto;
}

/**/





/* Estilo general del pie de página */
.footer {
    background-color: #443e32;
    /* Fondo azul oscuro */
    color: #ffffff;
    padding: 40px 0;
    position: relative;
}

.footer h4 {
    color: #ffffff;
    /* Títulos en dorado */
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700;
    /* Color dorado en hover */
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.social-icons a {
    color: #ffffff;
    font-size: 1.2rem;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #3b5998;
    /* Fondo Facebook */
    transition: background-color 0.3s ease;
}

.social-icons a:nth-child(2) {
    background-color: #e70ba5e1;
    /* Fondo LinkedIn */
}

.social-icons a:nth-child(3) {
    background-color: #000000;
    /* Fondo YouTube */
}

.social-icons a:hover {
    background-color: #ffd700;
    color: #003366;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #ffffff;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #ffffff;
}

/* Ícono flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1caa5c;
}

/* Responsivo */
@media (max-width: 768px) {
    .footer h4 {
        font-size: 1rem;
    }

    .footer-links li {
        font-size: 0.9rem;
    }

    .footer-bottom p {
        font-size: 0.8rem;
    }
}


/* Estilo de la Sección de Promoción */
.promo-section {
    background-color: #ffffff;
    /* Fondo gris claro */
    padding: 50px 0;
}

.promo-img-container {
    width: 100%;
    /* Ajusta al 100% del contenedor */
    height: 320px;
    /* Altura fija para uniformidad */
    margin-bottom: 15px;
    /* Espacio entre las imágenes */
    overflow: hidden;
    /* Oculta el exceso de la imagen */
    display: flex;
    /* Asegura alineación en caso de flexibilidad */
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.753);
}

.promo-img {
    width: auto;
    height: 80%;
    /* Ocupa toda la altura del contenedor */
    object-fit: cover;
    /* Asegura que las proporciones se mantengan */
    transition: transform 0.3s ease;
}

.promo-img:hover {
    transform: translateY(-5px);
}

/* Ajuste de la sección de promoción para pantallas pequeñas */
@media (max-width: 576px) {
    .promo-section {
        padding: 30px 0;
        /* Reducir el padding si es necesario */
    }

    .promo-img-container {
        width: 100%;
        /* Asegura que las imágenes ocupen todo el ancho disponible */
        height: auto;
        /* Deja que la altura se ajuste según la proporción de la imagen */
        margin-bottom: 20px;
        /* Agrega espacio entre las imágenes */
    }

    .col-md-6 {
        margin-bottom: 20px;
        /* Espaciado entre las columnas */
    }

    .promo-img {
        height: auto;
        /* Permite que la imagen se ajuste proporcionalmente */
        width: 100%;
        /* Asegura que las imágenes ocupen todo el ancho disponible */
        object-fit: cover;
        /* Mantiene la proporción de la imagen */
    }
}