@keyframes pulse {
    0% {
        box-shadow: 0 0 0 10px rgba(70, 170, 80, 0.1);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(70, 170, 80, 0.5);
    }
    100% {
        box-shadow: 0 0 0 10px rgba(70, 170, 80, 0.1);
    }
}

/* Whatsapp button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    width: 7vh;
    height: 7vh;
    border-radius: 50%;
    background: var(--green-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 10px rgba(12, 194, 37, 0.5);
    transition: all 0.3s;
    animation: pulse 2s infinite;
    overflow: visible;
}

.whatsapp-float:hover {
    background: #0c8944;
    transform: scale(1.1);
}

.whatsapp-icon {
    color: white;
    font-size: 4vh;
}

/* tooltip */
.whatsapp-float::after {
    content: "Contact us via WhatsApp";
    position: absolute;
    left: 60px;
    white-space: nowrap;
    background: #25d366;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-50%);
    top: 50%;
    pointer-events: none;
    transition: opacity 0.3s, left 0.3s;
}

/* mostrar tooltip en hover */
.whatsapp-float:hover::after {
    opacity: 1;
    left: 70px;
}
