"use client" import { Card, CardContent, CardHeader } from "@/components/ui/card" import { Code, Palette, Smartphone, LineChart, ArrowUpRight, Sparkles, Zap } from "lucide-react" import Link from "next/link" import { useRef, useState, useEffect } from "react" const services = [ { title: "Web Development", description: "Custom websites and web applications built with modern technologies like Next.js, React, and Node.js.", icon: Code, gradient: "from-blue-500 via-cyan-400 to-teal-400", accentColor: "hsl(199, 89%, 48%)", features: ["Next.js", "React", "Node.js"], }, { title: "Mobile App Development", description: "Native and cross-platform mobile apps for iOS and Android using React Native and Flutter.", icon: Smartphone, gradient: "from-violet-500 via-purple-400 to-fuchsia-400", accentColor: "hsl(280, 65%, 60%)", features: ["React Native", "Flutter", "iOS & Android"], }, { title: "UI/UX Design", description: "User-centric design solutions that enhance engagement, usability, and brand identity.", icon: Palette, gradient: "from-pink-500 via-rose-400 to-orange-400", accentColor: "hsl(340, 75%, 55%)", features: ["Figma", "Prototyping", "Design Systems"], }, { title: "SEO Optimization", description: "Data-driven strategies to improve your search engine rankings, visibility, and organic traffic.", icon: LineChart, gradient: "from-amber-500 via-orange-400 to-red-400", accentColor: "hsl(30, 80%, 55%)", features: ["Analytics", "Keyword Research", "Technical SEO"], }, ] function ServiceCard({ service, index }: { service: typeof services[0]; index: number }) { const cardRef = useRef(null) const [rotateX, setRotateX] = useState(0) const [rotateY, setRotateY] = useState(0) const [isHovered, setIsHovered] = useState(false) const [mousePos, setMousePos] = useState({ x: 50, y: 50 }) const handleMouseMove = (e: React.MouseEvent) => { if (!cardRef.current) return const rect = cardRef.current.getBoundingClientRect() const centerX = rect.left + rect.width / 2 const centerY = rect.top + rect.height / 2 const mouseX = e.clientX - centerX const mouseY = e.clientY - centerY setRotateX(-mouseY / 8) setRotateY(mouseX / 8) setMousePos({ x: ((e.clientX - rect.left) / rect.width) * 100, y: ((e.clientY - rect.top) / rect.height) * 100, }) } const handleMouseLeave = () => { setRotateX(0) setRotateY(0) setIsHovered(false) } return (
setIsHovered(true)} onMouseLeave={handleMouseLeave} > {/* Extreme glow effect */}
{/* Energy rings */} {isHovered && ( <>
)} {/* Card */} {/* Animated gradient overlay */}
{/* Spotlight effect */}
{/* Scan line effect on hover */} {isHovered && (
)} {/* Icon container with extreme effects */}
{/* Glow ring behind icon */}
{/* Sparkle effect on hover */} {/* Corner accents */}
{/* Title with animated arrow */}

{service.title}

{service.description}

{/* Feature tags with extreme hover effects */}
{service.features.map((feature, i) => ( {feature} ))}
{/* Bottom gradient line */}
{/* Shine effect */}
) } export function ServicesOverview() { const [isVisible, setIsVisible] = useState(false) const sectionRef = useRef(null) useEffect(() => { const observer = new IntersectionObserver( ([entry]) => { if (entry.isIntersecting) { setIsVisible(true) } }, { threshold: 0.1 } ) if (sectionRef.current) { observer.observe(sectionRef.current) } return () => observer.disconnect() }, []) return (
{/* Extreme background effects */}
{/* Floating orbs */}
{/* Noise overlay */}
{/* Section header with extreme animations */}
What We Do

Our Expertise

We offer a comprehensive range of{" "} digital services{" "} to help your business{" "} grow and{" "} succeed.

{/* Services grid with extreme cards */}
{services.map((service, i) => ( ))}
{/* Bottom CTA with extreme effects */}

Need something custom?{" "} Let's discuss your project

) }