.sticky-whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
}

.sticky-whatsapp-button>a {
    position: relative;
}

/* Hover effect toevoegen */
.sticky-whatsapp-button>a:hover::after {
    opacity: 1;
    visibility: visible;
}

.sticky-whatsapp-button>a::after {
    content: "Start een gesprek";
    position: absolute;
    width: 130px;
    top: -12px;
    left: -3%;
    transform: translateX(-100%) translateY(-50%);
    z-index: 999;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    /* Standaard is het verborgen */
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2);
    background-color: #25D366;
    color: #fff;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 12px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    /* Fijne overgang voor zichtbaarheid */
}

.sticky-whatsapp-button>a::before {
    content: "";
    position: absolute;
    top: -12px;
    left: 1px;
    transform: translateX(-100%) translateY(-50%);
    border: 0px solid transparent;
    border-left-color: #25D366;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0);
    z-index: 1;
}

@keyframes slideLeft {
    0% {
        opacity: 0;
        transform: translateX(-100%) translateY(-50%);
    }

    5% {
        opacity: 1;
        transform: translateX(-105%) translateY(-50%);
    }

    15% {
        opacity: 1;
        transform: translateX(-105%) translateY(-50%);
    }

    20% {
        opacity: 0;
        transform: translateX(-100%) translateY(-50%);
    }

    100% {
        opacity: 0;
        transform: translateX(-100%) translateY(-50%);
    }
}