/* Floating site-wide WhatsApp button. */

.np-whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 90px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: #25d366;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    z-index: 999;
    opacity: 0;
    animation: np-whatsapp-pulse 2s infinite, np-whatsapp-fade-in 1.5s forwards;
    animation-delay: 0s, 0.8s;
    transition: transform 0.3s ease;
}

.np-whatsapp-float:hover {
    transform: scale(1.1);
}

.np-whatsapp-float svg {
    width: 42px;
    height: 42px;
}

@keyframes np-whatsapp-pulse {
    0%   { box-shadow: 0 0 0 0    rgba(37, 211, 102, 0.5); }
    70%  { box-shadow: 0 0 0 25px rgba(37, 211, 102, 0);   }
    100% { box-shadow: 0 0 0 0    rgba(37, 211, 102, 0);   }
}

@keyframes np-whatsapp-fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0);   }
}

/* On narrow screens, pull in from the right edge so it doesn't crowd content. */
@media (max-width: 600px) {
    .np-whatsapp-float {
        right: 20px;
        bottom: 20px;
    }
}
