/* WhatsApp Floating Bubble Enhancement */

/* Speech Bubble */
.whatsapp-bubble {
    position: fixed;
    bottom: 85px;
    right: 85px;
    padding: 10px 15px;
    background-color: #fff;
    color: #000;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
    pointer-events: none;
    max-width: 360px;
}

/* Bubble Arrow */
.whatsapp-bubble:after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 20px;
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: #fff transparent transparent;
}

/* Pulsating Effect for WhatsApp Button */
.whatsapp-floating-button.highlight {
    animation: pulse 1.5s infinite;
}

/* Hide by default */
.whatsapp-bubble.hidden {
    opacity: 0;
    transform: translateY(20px);
    visibility: hidden;
}

/* Show when active */
.whatsapp-bubble.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Bounce animation for more attention */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* Pulse animation for button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 145, 190, 0.7);
        transform: scale(1);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 145, 190, 0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 145, 190, 0);
        transform: scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .whatsapp-bubble {
        bottom: 100px;
        right: 20px;
        max-width: 250px;
        font-size: 12px;
    }
}
