/* ==========================================
   WhatsApp Floating Button - Sticky Bottom Right
   ========================================== */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
    background: #20bd5a;
}

.whatsapp-float:active {
    transform: scale(0.97);
}

/* WhatsApp SVG icon */
.whatsapp-float svg {
    width: 34px;
    height: 34px;
    fill: #ffffff;
}

/* Subtle pulse animation on load */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
    }
    50% {
        box-shadow: 0 4px 24px rgba(37, 211, 102, 0.65);
    }
    100% {
        box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
    }
}

.whatsapp-float {
    animation: whatsapp-pulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    animation: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}
