import React from 'react';
import { usePageTitle } from '@/hooks/usePageTitle.js';
import { useParams, Navigate, Link } from 'react-router-dom';
import { servicesData } from '@/lib/servicesData';
import { motion } from 'framer-motion';
import { Button } from '@/components/ui/button';
import { CheckCircle2, ArrowLeft, ArrowRight } from 'lucide-react';
const ServiceDetail = () => {
const { slug } = useParams();
const service = servicesData.find((s) => s.slug === slug);
const pageTitle = service ? `${service.title} | AI Growth Technologies` : "Service Not Found | AI Growth Technologies";
usePageTitle(pageTitle);
if (!service) {
return
{service.description}
{service.longDescription}
{benefit}
Our {service.title.toLowerCase()} services are backed by data-driven insights and a team of dedicated experts committed to your long-term success.