/*-------------------------------------------------------
    Floating Contact Buttons
---------------------------------------------------------*/
.floating-contact-wrap {
    position: fixed;
    right: 30px;
    bottom: 120px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 28px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-whatsapp {
    background-color: #25D366;
}

.btn-call {
    background-color: #e62e2e;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

@media (max-width: 767px) {
    .floating-contact-wrap {
        right: 20px;
        bottom: 100px;
        gap: 10px;
    }
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* WhatsApp Tooltip Styling */
.btn-whatsapp {
    position: relative;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    background: #fff;
    padding: 10px 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: "";
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 10px solid #fff;
}

.btn-whatsapp:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.tooltip-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #eee;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tooltip-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 2px;
}

.tooltip-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.tooltip-title {
    color: #111;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    display: block;
}

.tooltip-status {
    color: #25D366;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.status-dot {
    width: 7px;
    height: 7px;
    background-color: #25D366;
    border-radius: 50%;
    display: inline-block;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Hide tooltip on mobile for cleaner UX */
@media (max-width: 767px) {
    .whatsapp-tooltip {
        display: none !important;
    }
}
