/* WhatsApp Chat Button Styles */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    z-index: 9998;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.7);
    transition: all 0.3s ease;
    animation: pulseRing 2s infinite;
    text-decoration: none;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.whatsapp-float i {
    animation: bounce 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-8px) rotate(5deg);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.7), 0 0 30px rgba(37, 211, 102, 0.5);
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

.whatsapp-float:active {
    transform: scale(1.05) translateY(-5px);
}

@keyframes pulseRing {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5), 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.whatsapp-text-label {
    position: fixed;
    bottom: 45px;
    right: 185px;
    background: white;
    color: #333;
    padding: 10px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 9997;
    border: 1px solid rgba(37, 211, 102, 0.3);
    pointer-events: none;
}

.whatsapp-tooltip {
    position: fixed;
    bottom: 35px;
    right: 185px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #333;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 9996;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: none;
    border: 2px solid rgba(37, 211, 102, 0.3);
}

.whatsapp-tooltip::before {
    content: '💬';
    margin-right: 8px;
    font-size: 16px;
}

.whatsapp-float:hover + .whatsapp-text-label {
    display: none;
}

.whatsapp-float:hover ~ .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid #f8f9fa;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 60px;
        height: 60px;
        font-size: 32px;
        bottom: 90px;
        right: 20px;
        border: 2px solid rgba(255, 255, 255, 0.3);
    }
    
    .whatsapp-text-label {
        display: none;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 28px;
        bottom: 85px;
        right: 15px;
    }
}
