import React from 'react'; import { motion } from 'framer-motion'; import { Upload, Cpu, BarChart2, TrafficCone, LayoutDashboard, ChevronRight } from 'lucide-react'; const STEPS = [ { icon: Upload, title: 'Upload Images', desc: 'Add traffic images for Road A–D', num: '01', accent: '#3b82f6', bg: 'rgba(37,99,235,0.15)', border: 'rgba(59,130,246,0.35)' }, { icon: Cpu, title: 'AI Detection', desc: 'YOLOv10 scans every vehicle type', num: '02', accent: '#06b6d4', bg: 'rgba(6,182,212,0.15)', border: 'rgba(6,182,212,0.35)' }, { icon: BarChart2, title: 'Traffic Analysis', desc: 'Density scoring & road priority ranking', num: '03', accent: '#8b5cf6', bg: 'rgba(139,92,246,0.15)', border: 'rgba(139,92,246,0.35)' }, { icon: TrafficCone, title: 'Signal Planning', desc: 'AI assigns optimal green-light times', num: '04', accent: '#f59e0b', bg: 'rgba(245,158,11,0.15)', border: 'rgba(245,158,11,0.35)' }, { icon: LayoutDashboard, title: 'Live Dashboard', desc: 'Animated command centre view', num: '05', accent: '#22c55e', bg: 'rgba(34,197,94,0.15)', border: 'rgba(34,197,94,0.35)' }, ]; const WorkflowSteps = ({ activeStep = 0 }) => { return (
{/* Section Heading */}
5-Step AI Pipeline

How the System Works

From image upload to real-time adaptive traffic signal control in 5 intelligent steps

{/* Steps Row Wrapper for Mobile Scrolling */}