heme-toggle");
        const body = document.body;

        // Load the saved theme from local storage and apply it
        const savedTheme = localStorage.getItem("theme");
        if (savedTheme && savedTheme === "dark") {
          body.classList.add("dark-theme");
        }

        themeToggle.addEventListener("click", function () {
          body.classList.toggle("dark-theme");

          // Save the current theme in local storage
          if (body.classList.contains("dark-theme")) {
            loca