/* Floating Action Button Styles */
.fab-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.fab {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fab-options {
    position: absolute;
    bottom: 70px;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
}

.fab-option {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-decoration: none;
    color: white;
    background-color: #ff5455;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.fab-option i {
    font-size: 18px;
}

.fab-label {
    position: absolute;
    right: 50px;
    white-space: nowrap;
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
}

/* Hover effects */
.fab-container:hover .fab-options {
    opacity: 1;
    visibility: visible;
}

.fab-option:hover {
    width: auto;
    padding-right: 15px;
    border-radius: 25px;
}

.fab-option:hover .fab-label {
    opacity: 1;
    visibility: visible;
    right: 60px;
}

/* Optional: Animation for main button when hovered */
.fab-container:hover .fab {
    transform: rotate(45deg);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* For mobile responsiveness */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        left: 15px;
        bottom: 15px;
    }
}