entRect();
      const imgX = rect.left + rect.width / 2;
      const imgY = rect.top + rect.height / 2;
      const mouseX = event.clientX - imgX;
      const mouseY = event.clientY - imgY;
      
      const rotateX = mouseY * 0.05; // Adjust this value to control tilt sensitivity
      const rotateY = mouseX * -0.05; // Adjust this value to control tilt sensitivity
      
      gsap.to(img, {
        rotationX: rotateX,
        rotationY: rotateY,
        ease: "power2.out",
        duration: 0.3
      }