"use client"; import Image from "next/image"; import { motion } from "framer-motion"; import { MaterialIcon } from "@/components/ui/MaterialIcon"; import { ContactForm } from "@/components/contact/ContactForm"; import { fadeUp, fadeUpStrong, slideInRight, staggerContainer, viewport } from "@/lib/animations"; const CONTACT_INFO = [ { icon: "phone", label: "Call Us", value: "+91 909 206 8666", }, { icon: "mail", label: "Email Us", value: "nearle@care.in", }, { icon: "location_on", label: "Address", value: "424, DB Rd, R.S. Puram, Coimbatore, TN 641002", }, ]; // Choreography: professional, clear sequence // Left column — each info row staggers in from left; h1 has strong upward entry // Form card slides in from right with slight delay // Info rows use a tighter stagger to feel organised and systematic const infoRowVariant = { hidden: { opacity: 0, x: -18 }, visible: { opacity: 1, x: 0, transition: { duration: 0.45, ease: [0.22, 1, 0.36, 1] as [number, number, number, number] }, }, }; const formVariant = { hidden: { opacity: 0, x: 40 }, visible: { opacity: 1, x: 0, transition: { duration: 0.65, ease: [0.22, 1, 0.36, 1] as [number, number, number, number], delay: 0.25 }, }, }; const infoStagger = { hidden: {}, visible: { transition: { staggerChildren: 0.08 } }, }; export function ContactHero() { return (
{/* Decorative map grid — not animated so it stays subtle */}
{/* Left Column — Contact Info: sequential stagger from top */} Contact Us We're Here to
Help You.
Whether you are a customer, local store owner, or delivery partner, our team is here to help you get started with Nearle. {/* Info rows: each row staggers in from left */} {CONTACT_INFO.map((item) => (

{item.label}

{item.value}

))}
{/* Right Column: form slides in from right */}
); }