/* Estilos personalizados para GOM Solutions */

/* Estilos personalizados para redes sociales */
.social-icons li:hover.social-icons-instagram a {
    background: #E4405F !important;
}

.social-icons li:hover.social-icons-tiktok a {
    background: #000000 !important;
}



/* Hover específico para botón CONTÁCTANOS en Support */
.call-to-action-primary .btn-light.btn-outline:hover {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    color: white !important;
}


/* Forzar visibilidad del carrusel principal */
.owl-carousel {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

    .owl-carousel .owl-item {
        display: block !important;
        visibility: visible !important;
    }

    /* Asegurar que el carrusel tenga altura */
    .owl-carousel.owl-carousel-light {
        min-height: 600px !important;
        height: 600px !important;
    }


/* Estilos para el menú móvil hamburguesa */
.header-btn-collapse-nav {
    background: none;
    border: none;
    padding: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

    .header-btn-collapse-nav span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: #333;
        transition: all 0.3s ease;
        transform-origin: center;
    }

    .header-btn-collapse-nav[aria-expanded="true"] span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .header-btn-collapse-nav[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .header-btn-collapse-nav[aria-expanded="true"] span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

/* Menú móvil desplegable */
@media (max-width: 991px) {
    #mobileNav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 20px;
        width: 100%;
    }

        #mobileNav .nav {
            flex-direction: column;
        }

        #mobileNav .nav-link {
            padding: 15px 0;
            border-bottom: 1px solid #eee;
            color: #333;
            font-weight: 500;
        }

            #mobileNav .nav-link:hover {
                color: var(--bs-primary);
            }

        #mobileNav .dropdown-menu {
            position: static;
            float: none;
            width: auto;
            margin-top: 0;
            background-color: #f8f9fa;
            border: none;
            box-shadow: none;
            padding-left: 20px;
            display: block;
        }

    .header-btn-collapse-nav {
        display: flex !important;
    }

    .header-nav-main {
        position: relative;
    }
}

@media (min-width: 992px) {
    .header-btn-collapse-nav {
        display: none !important;
    }

    #mobileNav {
        display: block !important;
        position: static;
        background: none;
        box-shadow: none;
        padding: 0;
    }

        #mobileNav .nav {
            flex-direction: row;
        }
}



/* WhatsApp Floating Button */
.whatsapp-container {
    position: fixed;
    bottom: 50px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-button {
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

    .whatsapp-button:hover {
        transform: scale(1.1);
    }

.joinchat-wa {
    fill: white;
}

/* WhatsApp Chat Bubble */
.whatsapp-chat-bubble {
    background-color: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    width: 300px;
    position: absolute;
    bottom: 80px;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

    .whatsapp-chat-bubble.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.whatsapp-chat-header {
    background-color: #25D366;
    color: white;
    padding: 10px 15px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

    .whatsapp-chat-header .close-chat-bubble {
        cursor: pointer;
        font-size: 18px;
    }

.whatsapp-chat-body {
    padding: 15px;
    text-align: center;
}

    .whatsapp-chat-body p {
        margin-bottom: 10px;
        color: #333;
    }

    .whatsapp-chat-body .whatsapp-link {
        background-color: #25D366;
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        text-decoration: none;
        display: inline-block;
        margin-top: 10px;
        transition: background-color 0.3s ease;
    }

        .whatsapp-chat-body .whatsapp-link:hover {
            background-color: #1DA851;
        }

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-container {
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .whatsapp-chat-bubble {
        width: 280px;
        bottom: 70px;
    }
}




/* Styles for WhatsApp links with flags */
.whatsapp-chat-body .whatsapp-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px auto;
    /* Center the buttons */
    width: 80%;
    /* Adjust width as needed */
    max-width: 250px;
}

.whatsapp-chat-body .whatsapp-flag {
    width: 24px;
    /* Adjust flag size */
    height: auto;
    margin-right: 8px;
    border-radius: 3px;
    /* Slightly rounded corners for flags */
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
}

.whatsapp-chat-body .whatsapp-link-gt {
    background-color: #25D366;
    /* WhatsApp green */
}

    .whatsapp-chat-body .whatsapp-link-gt:hover {
        background-color: #1DA851;
    }

.whatsapp-chat-body .whatsapp-link-sv {
    background-color: #25D366;
    /* WhatsApp green */
}

    .whatsapp-chat-body .whatsapp-link-sv:hover {
        background-color: #1DA851;
    }

/* Tooltip del botón */
.joinchat__tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

    .joinchat__tooltip::after {
        content: "";
        position: absolute;
        left: 100%;
        top: 50%;
        transform: translateY(-50%);
        border: 6px solid transparent;
        border-left-color: #333;
    }

.whatsapp-button:hover .joinchat__tooltip {
    opacity: 1;
    visibility: visible;
}
