.whatsapp-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;

    width: 60px;
    height: 60px;

    background: #fff;
    border: 3px solid #25D366;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #25D366;
    font-size: 32px;

    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);

    z-index: 99999 !important;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;

    /* Force fixed positioning to work even inside transformed containers */
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

.whatsapp-btn:hover {
    background: #25D366;
    color: white;
    transform: scale(1.1) translateZ(0);
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .whatsapp-btn {
        right: 15px;
        bottom: 20px;
        width: 54px;
        height: 54px;
        font-size: 28px;
        /* Force the element to be on its own compositing layer */
        transform: translateZ(0) !important;
        -webkit-transform: translateZ(0) !important;
        position: fixed !important;
        bottom: 20px !important;
        right: 15px !important;
    }
}