/* Floating Contact Buttons - Modern Design */
.fcw-contact-buttons {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Button Base Styles */
.fcw-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: slideInRight 0.8s ease-out;
    animation-fill-mode: both;
}

/* WhatsApp Button */
.fcw-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    animation-delay: 0.2s;
}

.fcw-whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.fcw-whatsapp:hover::before {
    left: 100%;
}

/* Phone Button */
.fcw-phone {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    animation-delay: 0.4s;
}

.fcw-phone::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.fcw-phone:hover::before {
    left: 100%;
}

/* Button Hover Effects */
.fcw-btn:hover {
    transform: translateX(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.fcw-whatsapp:hover {
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.5);
}

.fcw-phone:hover {
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.5);
}

/* Icon Container */
.fcw-btn-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.fcw-btn:hover .fcw-btn-icon {
    transform: rotate(360deg) scale(1.2);
    background: rgba(255, 255, 255, 0.3);
}

.fcw-btn-icon svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

/* Text Animation */
.fcw-btn-text {
    position: relative;
    z-index: 1;
}

/* Slide In Animation */
@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Pulse Animation for Icons */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
}

/* Floating Animation */
@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.fcw-whatsapp {
    animation: slideInRight 0.8s ease-out 0.2s both, floating 3s ease-in-out 1s infinite;
}

.fcw-phone {
    animation: slideInRight 0.8s ease-out 0.4s both, floating 3s ease-in-out 1.5s infinite;
}

/* Glow Effect */
.fcw-whatsapp {
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3),
                0 0 20px rgba(37, 211, 102, 0.2);
}

.fcw-phone {
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3),
                0 0 20px rgba(74, 144, 226, 0.2);
}

/* Active State */
.fcw-btn:active {
    transform: translateX(-10px) scale(0.95);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .fcw-contact-buttons {
        right: 15px;
        gap: 15px;
    }

    .fcw-btn {
        padding: 14px 20px;
        font-size: 14px;
    }

    .fcw-btn-icon {
        width: 28px;
        height: 28px;
    }

    .fcw-btn-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .fcw-contact-buttons {
        right: 10px;
        gap: 12px;
    }

    .fcw-btn {
        padding: 12px 16px;
        font-size: 13px;
    }

    .fcw-btn-icon {
        width: 26px;
        height: 26px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .fcw-btn {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }

    .fcw-btn:hover {
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    }
}

/* Accessibility */
.fcw-btn:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 3px;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .fcw-btn,
    .fcw-btn-icon,
    .fcw-whatsapp,
    .fcw-phone {
        animation: none !important;
        transition: none !important;
    }
}
