"use client" import { useEffect, useRef, useState } from "react" import Link from "next/link" import gsap from "gsap" import { ScrollTrigger } from "gsap/ScrollTrigger" import { MoveRight } from "lucide-react" import Container from "@/components/Container" import { services } from "../constant" gsap.registerPlugin(ScrollTrigger) export default function Services() { const [activeService, setActiveService] = useState(2) const sectionRef = useRef(null) useEffect(() => { const ctx = gsap.context(() => { gsap.fromTo( ".service-card", { y: 50, opacity: 0 }, { y: 0, opacity: 1, duration: 0.8, stagger: 0.3, ease: "power4.out", scrollTrigger: { trigger: sectionRef.current, start: "top 80%", end: "top 30%", toggleActions: "play none none none", }, } ) }, sectionRef) return () => ctx.revert() }, []) return (
OUR SERVICES

What Services
We're Offering

We empower businesses to thrive online. Our services enhance online visibility, expand market reach, and boost revenue through effective digital strategies.

{services.map((service, index) => (
setActiveService(index)} >

{service.title}

{service.description}

))}
) }