stand your question.";
                    addMessage(botResponse, "bot");
                } catch (error) {
                    hideTypingAnimation();
                    console.error("Error:", error);
                    addMessage("I'm sorry, something went wrong. Please try again later.", "bot");
                }
            };

            sendBtn.addEventListener("click", sendMessage);

            userMessageInput.addEventListener("keypress", (e) => {
                if (e.key === "Enter") {
      