document.addEventListener("DOMContentLoaded", function () {

    // Chat Now Button Animation
    const chatBtn = document.getElementById("chatNowBtn");
    if(chatBtn) {
        function bounceBtn() {
            chatBtn.style.transform = "translateY(-5px)";
            setTimeout(() => {
                chatBtn.style.transform = "translateY(0)";
            }, 300);
        }
        setInterval(bounceBtn, 2000); // हर 2 सेकंड में bounce करेगा
    }

    // Mobile Menu Toggle
    const menuToggle = document.getElementById("menuToggle");
    const navMenu = document.getElementById("navMenu");

    if(menuToggle && navMenu) {
        menuToggle.addEventListener("click", () => {
            navMenu.classList.toggle("active");
        });
    }

});
