/* Estilos Generales */
body, h1, h2, h3, h4, h5, p, a {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    letter-spacing: 0.5px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Cabecera y Navegación */
header {
    background-color: #343a40;
    color: white;
    padding: 15px 20px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.logo {
    max-width: 120px;
    height: auto;
}

.navbar-nav {
    list-style: none;
    display: flex;
    flex-direction: row;
    margin: 0;
    padding: 0;
    gap: 1.5rem; /* Espaciado entre elementos del menú */
}

.nav-link {
    color: white;
    padding: 10px 15px;
    display: block;
    text-align: center;
    transition: background-color 0.3s ease;
}

.nav-link:hover {
    background-color: #495057;
    border-radius: 5px;
}

/* Estilo para el botón de menú de hamburguesa */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 30px;
    user-select: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

/* Secciones y contenido principal */
main {
    padding: 20px;
}

.container, .company-introduction, .productos-destacados {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.text-center {
    text-align: center;
}

.my-5 {
    margin: 40px 0;
}

.process-grid, .product-grid, .intro-content, .application-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.process-card, .product-card, .intro-image, .intro-text, .application-card {
    margin: 10px;
    padding: 15px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    box-sizing: border-box;
    text-align: center;
}

.process-card, .product-card, .application-card {
    flex: 1 0 30%;
}

.intro-image {
    flex: 1;
    padding: 20px;
}

.intro-text {
    flex: 2;
    padding: 20px;
}

.process-card img, .product-card img, .intro-image img, .application-card img, .responsive-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.process-card h3, .product-card h5, .application-card h5 {
    margin-top: 15px;
}

.process-card p, .product-card p, .application-card p {
    margin-top: 10px;
}

/* Carrusel */
.banner {
    position: relative;
    margin-bottom: 40px;
}

.carousel {
    position: relative;
}

.carousel img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-control-prev, .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

/* Botón general */
.btn {
    background-color: #007bff;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    margin-top: 10px;
}

.btn:hover {
    background-color: #0056b3;
}

/* Pie de página */
footer {
    background-color: #343a40;
    color: white;
    padding: 20px 0;
    font-size: 16px;
    clear: both;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 20px;
}

.footer-section {
    margin: 10px;
}

.footer-section h3, .footer-section h4 {
    color: #FFD700;
}

.footer-section p, .footer-section ul {
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li a {
    display: block;
    padding: 10px 0;
    color: #fff;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #FFD700;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
}

.social-icons img {
    width: 30px;
    transition: transform 0.3s;
}

.social-icons img:hover {
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    border-top: 1px solid #555;
    font-size: 14px;
    color: #bbb;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .navbar-nav {
        display: none;
        flex-direction: column;
        position: absolute;
        background-color: #343a40;
        width: 100%;
        top: 55px;
        left: 0;
        z-index: 999;
    }

    .navbar-nav.active {
        display: flex;
    }

    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .navbar-brand {
        margin-right: auto;
        margin-left: 20px;
    }

    .nav-link {
        padding: 10px 20px;
        text-align: left;
    }

    .process-grid, .product-grid, .intro-content, .application-grid {
        flex-direction: column;
        align-items: center;
    }

    .process-card, .product-card, .intro-image, .intro-text, .application-card {
        width: 90%;
        margin: 10px auto;
        box-sizing: border-box;
    }

    .logo {
        max-width: 80px;
    }
}

/* Asegurar que la clase show realmente muestre los elementos */
.filterDiv {
    display: none;
}

.filterDiv.show {
    display: block;
}
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-form, .contact-info {
    flex: 1 0 45%;
    margin: 10px;
    padding: 15px;
    background-color: #000000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    box-sizing: border-box;
    text-align: center;
}

.contact-form h2, .contact-info h2 {
    margin-top: 15px;
}

.contact-form .form-group, .contact-info p {
    margin-top: 10px;
    text-align: left;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

#googleMap {
    width: 100%;
    height: 400px;
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .contact-grid {
        flex-direction: column;
    }

    .contact-form, .contact-info {
        width: 90%;
        margin: 10px auto;
        box-sizing: border-box;
    }
}
.chat-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #007BFF;
    border-radius: 50%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.chat-bubble:hover {
    background-color: #0056b3;
}

.chat-bubble img {
    width: 30px;
    height: 30px;
}
