
/* =============================
   Floating WhatsApp Button
============================= */
.floating-whatsapp {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 9999;
    cursor: pointer;
    transform: scale(0); /* start hidden for animation */
    transition: transform 0.3s ease;
   
}

/* Hover Effect */
.floating-whatsapp:hover {
    transform: scale(1.2);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

/* Dark Mode Support */
body.dark-mode .floating-whatsapp {
    background-color: #128C7E;
}

.floating-whatsapp svg {
    width: 32px;
    height: 32px;
    fill: white;
}

/* ------------------------------
   Animations
-------------------------------*/
/* Initial Bounce Animation */
@keyframes bounceIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.4); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); }
}

/* Subtle Ping Animation */
@keyframes pingBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

/* Apply animation */
.floating-whatsapp.show {
    animation: bounceIn 0.8s ease forwards;
}

.floating-whatsapp.ping {
    animation: pingBounce 1s ease-in-out infinite;
}
