/* WhatsApp Button Styles */
.whatsapp-btn {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 85px;
    right: 25px;
    z-index: 9999;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-btn:before {
    content: "";
    position: absolute;
    z-index: -1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    opacity: 0.5;
    background-color: #25d366;
    border-radius: 50%;
    animation: pulse-border 1.5s ease-in-out infinite;
}

.whatsapp-btn:hover {
    background-color: #20ba5a;
    color: #FFF;
    transform: scale(1.1);
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

/* Tooltip for WhatsApp button */
.whatsapp-btn .tooltip {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
}

.whatsapp-btn:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .whatsapp-btn {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
    
    .whatsapp-btn:before {
        width: 50px;
        height: 50px;
    }
}