
          loadingScreen.style.filter = "blur(1px)";

          setTimeout(() => {
            loadingScreen.classList.add("hidden");
            //after that added sideLeft and slide right animation
            document.querySelector(".hero-content").classList.add("animate");
            document.querySelector(".hero-image").classList.add("animate");
          }, 300);
        }, 6000); // adjust as needed
      } else {
        //changed: Skip loading entirely for returning visitors
        loadingScreen.