/* Floating Contact Widget Styles */
.floating-contact-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-contact-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
}

.floating-contact-btn i {
    color: white;
    font-size: 24px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.6), 0 0 0 8px rgba(59, 130, 246, 0.1);
    }
    100% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    }
}

.contact-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.contact-popup.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

.contact-popup-header {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.contact-popup-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.contact-popup-header .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.contact-popup-header .close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.contact-popup-body {
    padding: 24px;
}

.contact-option {
    display: flex;
    align-items: center;
    padding: 16px;
    margin-bottom: 12px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-option:hover {
    border-color: #3B82F6;
    background: #F8FAFC;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.contact-option:last-child {
    margin-bottom: 0;
}

.contact-option .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 20px;
    color: white;
}

.contact-option.call .icon {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.contact-option.text .icon {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.contact-option .content h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
}

.contact-option .content p {
    margin: 0;
    font-size: 14px;
    color: #6B7280;
}

.contact-footer {
    padding: 16px 24px;
    background: #F9FAFB;
    text-align: center;
    font-size: 12px;
    color: #6B7280;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .contact-popup {
        width: 300px;
        right: -10px;
    }
    
    .floating-contact-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .floating-contact-btn {
        width: 55px;
        height: 55px;
    }
    
    .floating-contact-btn i {
        font-size: 22px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .contact-popup {
        background: #1F2937;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }
    
    .contact-option {
        border-color: #374151;
        color: #F9FAFB;
        background: #1F2937;
    }
    
    .contact-option:hover {
        background: #374151;
        border-color: #3B82F6;
    }
    
    .contact-option .content p {
        color: #9CA3AF;
    }
    
    .contact-footer {
        background: #111827;
        color: #9CA3AF;
    }
}