/* Proxico V3 — shared header & global UI chrome */

.main-nav-link {
    transition: color 0.2s ease-in-out;
}

.main-nav-link:hover {
    color: #0d9488;
}

.main-nav-link.active {
    color: #0f172a;
}

.mega-menu {
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px) translateX(-50%);
    transition: all 0.3s ease-in-out;
    left: 50%;
    position: absolute;
    z-index: 100;
}

.dropdown-container:hover .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-item:hover h3 {
    color: #0d9488;
}

.nav-contact-sales.active {
    background-color: #ccfbf1 !important;
    border-color: #0f766e !important;
    color: #0f766e !important;
}

.nav-contact-sales-mobile.active {
    background-color: #0f766e !important;
}

#mobile-solutions-button.active {
    color: #0f172a;
}

#portal-modal.flex {
    display: flex;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

#consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0f172a;
    color: #fff;
    padding: 1rem;
    z-index: 100;
    display: none;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #1e293b;
}

#consent-banner.flex {
    display: flex;
}

#mobile-menu {
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-10px);
}
