/* WhatsApp Floating Widget Styles */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-content {
    width: 65px;
    height: 65px;
    background: rgba(37, 211, 102, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 20px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: visible;
}

.whatsapp-content i {
    color: #25d366;
    font-size: 32px;
    filter: drop-shadow(0 0 5px rgba(37, 211, 102, 0.5));
    transition: transform 0.3s ease;
}

.whatsapp-tooltip {
    position: absolute;
    right: 80px;
    background: rgba(10, 26, 15, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 15px;
    border-radius: 12px;
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 136, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-widget:hover {
    transform: translateY(-5px) scale(1.05);
}

.whatsapp-widget:hover .whatsapp-content {
    background: rgba(37, 211, 102, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(37, 211, 102, 0.5);
    border-color: rgba(37, 211, 102, 0.4);
}

.whatsapp-widget:hover i {
    transform: scale(1.1);
}

.whatsapp-widget:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Pulsing effect */
.whatsapp-widget:not(:hover)::after {
    content: '';
    position: absolute;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    z-index: -1;
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-content {
        width: 55px;
        height: 55px;
    }

    .whatsapp-content i {
        font-size: 28px;
    }

    .whatsapp-tooltip {
        display: none;
        /* Hide tooltip on mobile to prevent overlap */
    }
}