+ {step.image ? (
+

setModalImage(step.image)}
+ onKeyDown={(e) => {
+ if (e.key === "Enter" || e.key === " ") {
+ e.preventDefault();
+ setModalImage(step.image);
+ }
+ }}
+ style={{
+ maxWidth: "100%",
+ maxHeight: isMobile ? "200px" : "250px",
+ objectFit: "contain",
+ borderRadius: "10px",
+ boxShadow: "0 4px 15px rgba(0, 0, 0, 0.15)",
+ cursor: "pointer",
+ transition:
+ "transform 0.2s ease, box-shadow 0.2s ease",
+ }}
+ onMouseEnter={(e) => {
+ e.currentTarget.style.transform = "scale(1.02)";
+ e.currentTarget.style.boxShadow =
+ "0 6px 20px rgba(0, 0, 0, 0.2)";
+ }}
+ onMouseLeave={(e) => {
+ e.currentTarget.style.transform = "scale(1)";
+ e.currentTarget.style.boxShadow =
+ "0 4px 15px rgba(0, 0, 0, 0.15)";
+ }}
+ />
+ ) : step.images ? (
+
+ {step.images.map((img: string, imgIndex: number) => (
+

setModalImage(img)}
+ onKeyDown={(e) => {
+ if (e.key === "Enter" || e.key === " ") {
+ e.preventDefault();
+ setModalImage(img);
+ }
+ }}
+ style={{
+ maxWidth: isMobile ? "45%" : "180px",
+ maxHeight: isMobile ? "150px" : "200px",
+ objectFit: "contain",
+ borderRadius: "8px",
+ boxShadow: "0 4px 15px rgba(0, 0, 0, 0.15)",
+ cursor: "pointer",
+ transition:
+ "transform 0.2s ease, box-shadow 0.2s ease",
+ }}
+ onMouseEnter={(e) => {
+ e.currentTarget.style.transform = "scale(1.02)";
+ e.currentTarget.style.boxShadow =
+ "0 6px 20px rgba(0, 0, 0, 0.2)";
+ }}
+ onMouseLeave={(e) => {
+ e.currentTarget.style.transform = "scale(1)";
+ e.currentTarget.style.boxShadow =
+ "0 4px 15px rgba(0, 0, 0, 0.15)";
+ }}
+ />
+ ))}
+
+ ) : null}
+