/* Contact Buttons Container */
.svs-contact-buttons {
    position: fixed;
    z-index: 99998;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.svs-contact-buttons.bottom-right {
    bottom: 30px;
    right: 30px;
}

.svs-contact-buttons.bottom-left {
    bottom: 30px;
    left: 30px;
}

/* Contact Button Base */
.svs-contact-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.svs-contact-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.6s, height 0.6s, top 0.6s, left 0.6s;
}

.svs-contact-btn:hover::before {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.svs-contact-btn:hover {
    transform: scale(1.15) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.svs-contact-btn:active {
    transform: scale(1.05);
}

/* WhatsApp */
.svs-contact-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.svs-contact-btn.whatsapp:hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* Email */
.svs-contact-btn.email {
    background: linear-gradient(135deg, #4285F4 0%, #1A73E8 100%);
}

.svs-contact-btn.email:hover {
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.5);
}

/* Phone */
.svs-contact-btn.phone {
    background: linear-gradient(135deg, #CA4246 0%, #9B2C2F 100%);
}

.svs-contact-btn.phone:hover {
    box-shadow: 0 8px 25px rgba(202, 66, 70, 0.5);
}

/* SVG Icons */
.svs-contact-btn svg {
    width: 28px;
    height: 28px;
    fill: white;
    position: relative;
    z-index: 1;
}

/* Tooltip */
.svs-contact-btn::after {
    content: attr(title);
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.svs-contact-buttons.bottom-left .svs-contact-btn::after {
    right: auto;
    left: 70px;
}

.svs-contact-btn:hover::after {
    opacity: 1;
}

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

    .svs-contact-buttons.bottom-right,
    .svs-contact-buttons.bottom-left {
        bottom: 20px;
    }

    .svs-contact-buttons.bottom-right {
        right: 20px;
    }

    .svs-contact-buttons.bottom-left {
        left: 20px;
    }

    .svs-contact-btn {
        width: 50px;
        height: 50px;
    }

    .svs-contact-btn svg {
        width: 24px;
        height: 24px;
    }

    /* Hide tooltip on mobile */
    .svs-contact-btn::after {
        display: none;
    }
}

/* Animation on page load */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.svs-contact-buttons .svs-contact-btn {
    animation: slideInUp 0.6s ease-out backwards;
}

.svs-contact-buttons .svs-contact-btn:nth-child(1) {
    animation-delay: 0.1s;
}

.svs-contact-buttons .svs-contact-btn:nth-child(2) {
    animation-delay: 0.2s;
}

.svs-contact-buttons .svs-contact-btn:nth-child(3) {
    animation-delay: 0.3s;
}
