/* Contact buttons container */
.contact-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Base button styles */
.contact-btn {
    width: 50px;
    height: 50px;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
}

/* WhatsApp button specific */
.whatsapp-btn {
    background-color: #25D366;
    animation: pulse-whatsapp 2s infinite;
    font-size: 28px;
}

/* Call button specific */
.call-btn {
    background-color: #4285F4;
    animation: pulse-call 2s infinite 0.5s;
}

/* Hover effects */
.contact-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}
.whatsapp-btn:hover { background-color: #128C7E; }
.call-btn:hover { background-color: #3367D6; }

/* Tooltip styles */
.contact-tooltip {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    right: 50%;
    margin-right: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 14px;
    pointer-events: none;
}

.contact-tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 50%;
    margin-right: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.contact-btn:hover .contact-tooltip {
    visibility: visible;
    opacity: 1;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-whatsapp {
    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); }
}

@keyframes pulse-call {
    0% { box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(66, 133, 244, 0); }
    100% { box-shadow: 0 0 0 0 rgba(66, 133, 244, 0); }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .contact-btn {
        animation: none !important;
        transition: none !important;
    }
}