/* Floating Contact Buttons CSS */
.floating-contact-buttons {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    will-change: transform;
    transform: translateZ(0);
    /* Remove contain: layout to allow floating buttons to work */
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.floating-contact-item {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.floating-icon-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.whatsapp-circle {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.phone-circle {
    background: linear-gradient(135deg, #0f7e7e 0%, #08ccec 100%);
}

.floating-contact-item:hover .floating-icon-circle {
    transform: scale(1.1);
}

.floating-popup {
    position: absolute;
    right: 75px;
    background: #fff;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.floating-contact-item:hover .floating-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.popup-label {
    display: block;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.popup-number {
    display: block;
    color: #666;
    font-size: 12px;
    margin-top: 2px;
}

/* Ensure desktop-only floating buttons are hidden on mobile */
@media (max-width: 768px) {
    .floating-contact-buttons.desktop-only {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }
    
    .floating-contact-buttons {
        display: none;
    }
}

