"use client"; import { useState } from "react"; import Image from "next/image"; import { motion } from "framer-motion"; import { siteConfig } from "@/config/site"; import { ArrowRight, Book, Cart, Check, Compass, DollarSign, FileText, Gamepad, Heart, Home, Mail, Phone, Sparkles, Truck, } from "@/components/ui/icons"; import { Aurora, Counter, DotWave } from "../services/fx"; import Faq from "../home/Faq"; /** * Contact page — full conversion flow: hero → value props + rich inquiry form * → industries → stats → FAQ → map → CTA. Brand-strict: dark tokens, Google * Sans, orange/gold. The form is front-end only — wire onSubmit to your * email/CRM endpoint (and accept the uploaded file) to deliver inquiries. */ const EASE = [0.21, 0.47, 0.32, 0.98]; const container = { hidden: {}, show: { transition: { staggerChildren: 0.08 } } }; const rise = { hidden: { opacity: 0, y: 24 }, show: { opacity: 1, y: 0, transition: { duration: 0.55, ease: EASE } }, }; const LOCATION = "Pune, Maharashtra, India"; const SERVICES = [ "Web Development", "Mobile App Development", "Game Development", "UI/UX Design", "AI Solutions", "Cloud Services", "Dedicated Team", "Other", ]; const BUDGETS = ["< $10k", "$10k – $50k", "$50k – $100k", "$100k+"]; const COUNTRY_CODES = ["+1", "+91", "+44", "+61", "+49", "+971"]; const STARTERS = [ { Icon: Sparkles, title: "Tell us your vision", desc: "Share your project details — we'll sign an NDA so your idea stays 100% confidential." }, { Icon: Phone, title: "Get a free consultation", desc: "Our experts connect within one business day to dive into your goals and requirements." }, { Icon: FileText, title: "Receive a detailed proposal", desc: "A no-obligation plan with timeline, transparent costs and team structure." }, ]; const INDUSTRIES = [ { name: "Healthcare", Icon: Heart }, { name: "FinTech", Icon: DollarSign }, { name: "Real Estate", Icon: Home }, { name: "E-commerce", Icon: Cart }, { name: "Gaming", Icon: Gamepad }, { name: "Education", Icon: Book }, { name: "Logistics", Icon: Truck }, { name: "Travel", Icon: Compass }, ]; const STATS = [ { value: 50, suffix: "+", label: "Projects delivered" }, { value: 20, suffix: "+", label: "Happy clients" }, { value: 5, suffix: "+", label: "Years experience" }, { plain: "24/7", label: "Support" }, ]; const FAQS = [ { q: "How long does a project take?", a: "Usually 4–16 weeks depending on complexity. We share a realistic timeline in the proposal and keep it visible as we build." }, { q: "Do you provide support after launch?", a: "Yes — maintenance and support packages are available, with clear SLAs so your product stays healthy long after launch." }, { q: "Can you sign an NDA?", a: "Absolutely. We're happy to sign your NDA before any details are shared — your idea stays yours." }, { q: "How do you price projects?", a: "Fixed-scope for well-defined work, or a flexible monthly team for evolving products. You get a clear proposal before anything starts." }, ]; const inputClass = "w-full rounded-xl border border-border bg-surface/60 px-4 py-3 text-sm text-foreground placeholder:text-muted-foreground/70 outline-none transition-colors duration-300 focus:border-primary focus:bg-surface"; function UploadIcon({ className = "h-5 w-5" }) { return ( ); } function Field({ label, id, children }) { return ( ); } function scrollToId(e, id) { e.preventDefault(); const el = document.getElementById(id); if (!el) return; if (window.lenis) window.lenis.scrollTo(el, { offset: -100 }); else el.scrollIntoView({ behavior: "smooth" }); } export default function ContactView() { const [form, setForm] = useState({ name: "", email: "", phone: "", company: "", service: "", message: "" }); const [cc, setCc] = useState("+1"); const [budget, setBudget] = useState(""); const [fileName, setFileName] = useState(""); const [sent, setSent] = useState(false); const [error, setError] = useState(""); const set = (k) => (e) => setForm((f) => ({ ...f, [k]: e.target.value })); const reset = () => { setForm({ name: "", email: "", phone: "", company: "", service: "", message: "" }); setBudget(""); setFileName(""); setSent(false); }; const onSubmit = (e) => { e.preventDefault(); if (!form.name.trim() || !form.email.trim() || !form.message.trim()) { setError("Please add your name, email and a short project description."); return; } setError(""); // TODO: POST { ...form, cc, budget, fileName } to your endpoint. setSent(true); }; return ( <> {/* ── 1 · Hero ──────────────────────────────────────────────────── */}
Get in touch Let's build something{" "} extraordinary {" "} together. From mobile apps and web platforms to enterprise software and gaming solutions, we're ready to turn your vision into reality. scrollToId(e, "inquiry")} className="group inline-flex items-center gap-2.5 rounded-full bg-gradient-to-r from-primary to-accent px-7 py-3.5 text-sm font-semibold text-primary-foreground shadow-lg shadow-primary/30 transition-all duration-300 hover:-translate-y-0.5"> Get a free consultation Schedule a call
{/* ── 2 · Value props + inquiry form ────────────────────────────── */}
{/* Left — pitch + how we start + contact */}
Get started Your one-stop digital engineering partner. From strategy to support, we handle it end to end — no juggling multiple vendors. Here's how we get started.
{STARTERS.map(({ Icon, title, desc }, i) => ( {i + 1}

{title}

{desc}

))}
{siteConfig.contact.email} {siteConfig.contact.phone} {LOCATION}
{/* Right — form */}
{sent ? (

Message sent — thank you.

We've received your inquiry and will get back to you within one business day.

) : (

Share your project's vision