.floating-button {
    width: 5rem;
    height: 5rem;
    font-size: 2.5rem;
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    animation: pulse 2s infinite;
}

.floating-button span {
    position: absolute; 
    left: 3rem;
    color: white;
    white-space: nowrap;
    font-size: 16px;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.4s ease, transform 0.3s ease;
}

.floating-button i {
    color: white;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    z-index: 1
}

.floating-button:hover {
    width: 220px;
    border-radius: 30px;
    animation: none;
    justify-content: flex-start;
    padding-left: 17px;
    animation: pulse 2s infinite;
}

.floating-button:hover span {
    opacity: 1;
    font-size: 1rem;
    font-weight: 600;
    transform: translateX(0);
    margin-left: 15px;
}

/* .floating-button:hover i {
    transform: rotate(360deg);
} */

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        transform: scale(1.1);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@media (max-width: 992px) {
    .floating-button {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 4rem;
        height: 4rem;
        font-size: 1.75rem;
    }
}