/* Floating Contact Button */
.floating-contact {
    position: fixed;
    bottom: 50px;
    right: 20px;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-contact-btn {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    outline: none;
}

.floating-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 123, 255, 0.6);
    background: linear-gradient(135deg, #0056b3, #004085);
}

.floating-contact-btn:active {
    transform: translateY(-1px);
}

.floating-contact-btn i {
    color: white;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.floating-contact-btn:hover i {
    transform: scale(1.1);
}

/* Tooltip label element (desktop only) */
.floating-contact-label {
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    user-select: none;
}

.floating-contact:hover .floating-contact-label {
    opacity: 1;
    visibility: visible;
}

/* Responsive design */
@media (max-width: 768px) {
    .floating-contact {
        bottom: 100px;
        right: 20px;
        gap: 8px;
    }
    .floating-contact-btn {
        width: 56px;
        height: 56px;
    }
    
    .floating-contact-btn i {
        font-size: 20px;
    }
    
    .floating-contact-label {
        display: none;
    }
}

/* Animation for initial load */
@keyframes floatIn {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.floating-contact-btn.animate-in {
    animation: floatIn 0.6s ease-out;
}

/* Pulse animation for attention */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(0, 123, 255, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0, 123, 255, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(0, 123, 255, 0.4);
    }
}

.floating-contact-btn.pulse {
    animation: pulse 2s infinite;
}
