"use client"; import React, { useEffect, useRef } from "react"; const CareersWorkProcess = () => { const sectionRef = useRef(null); useEffect(() => { const observer = new IntersectionObserver( (entries) => { entries.forEach((entry) => { if (entry.isIntersecting) { const elements = entry.target.querySelectorAll(".wow"); elements.forEach((el) => { const htmlEl = el as HTMLElement; const delay = htmlEl.dataset.wowDelay || "0ms"; setTimeout(() => { htmlEl.classList.add("animated"); htmlEl.classList.add("fadeInUp"); htmlEl.style.visibility = "visible"; }, parseFloat(delay.replace("s", "")) * 1000); }); observer.unobserve(entry.target); } }); }, { threshold: 0.1 } ); if (sectionRef.current) { observer.observe(sectionRef.current); } return () => observer.disconnect(); }, []); /* ── Icons and hover backgrounds use static images ── */ const processSteps = [ { id: 1, stepText: "Step 01", title: "Comprehensive digital development", desc: "Expert web, app development and e-commerce solutions.", delay: ".3s", icon: "/assets/images/services/workprocess/icon/comprehensive.webp", hoverBg: "/assets/images/services/workprocess/comprehensive.webp", }, { id: 2, stepText: "Step 02", title: "Strategic online growth solutions", desc: "Strategic SEO and digital marketing for growth.", delay: ".5s", icon: "/assets/images/services/workprocess/icon/strategic.webp", hoverBg: "/assets/images/services/workprocess/strategic.webp", }, { id: 3, stepText: "Step 03", title: "Creative design and branding excellence", desc: "Creative graphic design and branding strategy services.", delay: ".7s", icon: "/assets/images/services/workprocess/icon/branding.webp", hoverBg: "/assets/images/services/workprocess/branding.webp", }, ]; return (
shape
{/* Heading */}
Strategic Digital Services

Innovation & Growth

{processSteps.map((step) => (

{step.title}

{step.desc}

{step.title}
))}
); }; export default CareersWorkProcess;