1import{j as e,q as w}from"./vendor-ui-A12DDDPJ.js";import{r as o}from"./vendor-react-zaFybfsY.js";import{e as S,q as h,p as j,ae as M,k as z,ab as H,l as P,n as I,ah as U,B as p,F as E,j as L,L as d,g as x,h as B,A as R}from"./index-BWq0bbWM.js";import A from"./Footer-Bm1CabPQ.js";import{T as O}from"./textarea-DYEdPdJR.js";import{u as C}from"./vendor-i18n-nJJiGX0r.js";import{H as y}from"./headphones-DAKB07El.js";import{C as V}from"./calendar-CMeoWJL1.js";import{C as v}from"./credit-card-DRFnstfF.js";import{C as W}from"./circle-help-MJMGkYax.js";import"./preload-helper-CZ5Qg0oT.js";import"./vendor-supabase-BBbWDq57.js";/** 2 * @license lucide-react v0.462.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const Y=S("LifeBuoy",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.93 4.93 4.24 4.24",key:"1ymg45"}],["path",{d:"m14.83 9.17 4.24-4.24",key:"1cb5xl"}],["path",{d:"m14.83 14.83 4.24 4.24",key:"q42g0n"}],["path",{d:"m9.17 14.83-4.24 4.24",key:"bqpfvv"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]]);/** 7 * @license lucide-react v0.462.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const N=S("MonitorPlay",[["path",{d:"M10 7.75a.75.75 0 0 1 1.142-.638l3.664 2.249a.75.75 0 0 1 0 1.278l-3.664 2.25a.75.75 0 0 1-1.142-.64z",key:"1pctta"}],["path",{d:"M12 17v4",key:"1riwvh"}],["path",{d:"M8 21h8",key:"1ev6f3"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",key:"x3v2xh"}]]),_="/assets/contact-form-illustration-_b_gVP3z.webp",G=()=>{const[t,n]=o.useState(!1),[l,s]=o.useState(""),[i,m]=o.useState(""),[u,k]=o.useState(""),[g,T]=o.useState(""),[f,D]=o.useState(""),[b,q]=o.useState(""),{t:r}=C(),F=r("contact.inquiryTypes",{returnObjects:!0});return t?e.jsx(E,{title:r("contact.successTitle"),message:r("contact.successMessage"),onReset:()=>n(!1)}):e.jsxs("form",{className:"space-y-5",onSubmit:a=>{a.preventDefault(),L({formType:"contact",name:i,email:u,phone:g,company:f,message:b,buttonName:"Contact Us â Send Message",extraData:{inquiryType:l}}),n(!0)},children:[e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsxs(d,{htmlFor:"contact-name",className:"text-sm font-medium",children:[r("contact.fullName")," *"]}),e.jsx(x,{id:"contact-name",placeholder:"Your name",required:!0,className:"mt-1.5",value:i,onChange:a=>m(a.target.value)})]}),e.jsxs("div",{children:[e.jsxs(d,{htmlFor:"contact-email",className:"text-sm font-medium",children:[r("contact.workEmail")," *"]}),e.jsx(x,{id:"contact-email",type:"email",placeholder:"[email protected]",required:!0,className:"mt-1.5",value:u,onChange:a=>k(a.target.value)})]})]}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(d,{htmlFor:"contact-phone",className:"text-sm font-medium",children:r("contact.phone")}),e.jsx("div",{className:"mt-1.5",children:e.jsx(B,{id:"contact-phone",value:g,onChange:T,size:"md",placeholder:"98765 43210"})})]}),e.jsxs("div",{children:[e.jsx(d,{htmlFor:"contact-company",className:"text-sm font-medium",children:r("contact.company")}),e.jsx(x,{id:"contact-company",placeholder:"Your company",className:"mt-1.5",value:f,onChange:a=>D(a.target.value)})]})]}),e.jsxs("div",{children:[e.jsxs(d,{className:"text-sm font-medium",children:[r("contact.whatHelp")," *"]}),e.jsx("div",{className:"flex flex-wrap gap-2 mt-2",children:F.map(a=>e.jsx("button",{type:"button",onClick:()=>s(a),className:`px-3.5 py-1.5 rounded-full text-xs font-semibold border transition-all duration-200 ${l===a?"bg-primary text-primary-foreground border-primary shadow-md":"bg-card text-foreground/70 border-border hover:border-primary/40 hover:shadow-sm"}`,children:a},a))})]}),e.jsxs("div",{children:[e.jsxs(d,{htmlFor:"contact-message",className:"text-sm font-medium",children:[r("contact.message")," *"]}),e.jsx(O,{id:"contact-message",placeholder:r("contact.messagePlaceholder"),rows:4,required:!0,className:"mt-1.5",value:b,onChange:a=>q(a.target.value)})]}),e.jsxs(p,{type:"submit",variant:"cta",size:"lg",className:"w-full sm:w-auto
11shadow-lg shadow-primary/20",children:[r("contact.sendMessage")," ",e.jsx(R,{className:"ml-1 w-4 h-4"})]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:r("contact.responseTime")})]})},c=({children:t,delay:n=0,className:l=""})=>e.jsx(w.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.45,delay:n},className:l,children:t}),ce=()=>{const{t}=C(),n=[{title:t("contact.customerSupport"),desc:t("contact.customerSupportDesc"),icon:y,links:[{icon:h,label:"[email protected]",href:"mailto:[email protected]"},{icon:j,label:"+91 91245-94691",href:"tel:+919124594691"}],note:t("contact.support247")},{title:t("contact.contactSales"),desc:t("contact.contactSalesDesc"),icon:N,links:[{icon:h,label:"[email protected]",href:"mailto:[email protected]"},{icon:V,label:t("contact.requestDemo"),href:"/pricing"}]},{title:t("contact.billingAccounts"),desc:t("contact.billingAccountsDesc"),icon:v,links:[{icon:h,label:"[email protected]",href:"mailto:[email protected]"},{icon:W,label:t("contact.faqs"),href:"/pricing#faq"}]},{title:t("contact.partnerships"),desc:t("contact.partnershipsDesc"),icon:M,links:[{icon:h,label:"[email protected]",href:"mailto:[email protected]"}]}],l=[{icon:y,title:t("contact.helpUnderstand"),desc:t("contact.helpUnderstandDesc")},{icon:N,title:t("contact.helpDemo"),desc:t("contact.helpDemoDesc")},{icon:v,title:t("contact.helpPricing"),desc:t("contact.helpPricingDesc")},{icon:Y,title:t("contact.helpResolve"),desc:t("contact.helpResolveDesc")}];return e.jsxs(e.Fragment,{children:[e.jsx(z,{title:"Contact Us â Talk to Fleet Experts",description:"Get in touch with TransportSimple.",canonical:"/contact-us",jsonLd:[H,P([{name:"Home",url:"/"},{name:"Contact Us",url:"/contact-us"}])]}),e.jsx(I,{}),e.jsxs("section",{className:"relative bg-[hsl(var(--hero-bg))] py-14 md:py-20 overflow-hidden",children:[e.jsx("div",{className:"gradient-blob w-[400px] h-[400px] bg-primary -top-40 -left-40 absolute"}),e.jsx("div",{className:"gradient-blob w-[300px] h-[300px] bg-secondary -bottom-32 right-10 absolute"}),e.jsx("div",{className:"container relative z-10",children:e.jsxs("div",{className:"grid lg:grid-cols-2 gap-10 lg:gap-14 items-start",children:[e.jsxs(c,{children:[e.jsxs("span",{className:"inline-flex items-center gap-2 text-xs font-semibold text-primary bg-primary/10 rounded-full px-4 py-1.5 mb-5",children:[e.jsx(U,{className:"w-3.5 h-3.5"})," ",t("contact.heroBadge")]}),e.jsx("h1",{className:"font-heading text-3xl md:text-4xl lg:text-[2.75rem] font-bold text-foreground leading-tight mb-4",children:t("contact.heroTitle")}),e.jsx("p",{className:"text-base text-muted-foreground max-w-md leading-relaxed mb-8",children:t("contact.heroDesc")}),e.jsx(w.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{duration:.5,delay:.3},children:e.jsx("img",{src:_,alt:"TransportSimple support team",width:600,height:450,className:"w-full max-w-lg mx-auto lg:mx-0 drop-shadow-2xl",loading:"eager"})})]}),e.jsx(c,{delay:.15,children:e.jsxs("div",{className:"bg-card rounded-2xl border border-border p-6 md:p-9 shadow-xl shadow-primary/5 relative",children:[e.jsx("div",{className:"absolute top-0 left-6 right-6 h-1 bg-gradient-to-r from-primary via-secondary to-accent rounded-b-full"}),e.jsx("h2",{className:"font-heading text-xl md:text-2xl font-bold text-foreground mb-1.5 mt-2",children:t("contact.formTitle")}),e.jsx("p",{className:"text-muted-foreground mb-7 text-sm",children:t("contact.formDesc")}),e.jsx(G,{})]})})]})})]}),e.jsx("section",{className:"bg-[hsl(var(--section-alt))] section-compact",children:e.jsxs("div",{className:"container",children:[e.jsxs(c,{className:"text-center mb-10",children:[e.jsx("h2",{className:"section-heading mb-2",children:t("contact.cardsTitle")}),e.jsx("p",{className:"text-sm text-muted-foreground max-w-lg mx-auto",children:t("contact.cardsSubtitle")})]}),e.jsx("div",{className:"grid sm:grid-cols-2 gap-4 max-w-4xl mx-auto",children:n.map((s,i)=>e.jsx(c,{delay:i*.06,children:e.jsxs("div",{className:"bg-card rounded-2xl border border-border p-6 h-full hover-lift shadow-sm hover:shadow-lg hover:shadow-
11primary/5 transition-shadow",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[e.jsx("span",{className:"w-9 h-9 rounded-lg bg-primary/10 flex items-center justify-center text-primary",children:e.jsx(s.icon,{className:"w-4.5 h-4.5"})}),e.jsx("h3",{className:"font-heading text-lg font-bold text-foreground",children:s.title})]}),e.jsx("p",{className:"text-xs text-muted-foreground mb-5 leading-relaxed",children:s.desc}),e.jsxs("div",{className:"space-y-2.5",children:[s.links.map(m=>e.jsxs("a",{href:m.href,className:"flex items-center gap-2.5 text-sm font-medium text-primary hover:text-secondary transition-colors link-underline w-fit",children:[e.jsx(m.icon,{className:"w-4 h-4 flex-shrink-0"})," ",m.label]},m.label)),s.note&&e.jsx("p",{className:"text-[11px] text-muted-foreground pt-0.5",children:s.note})]})]})},s.title))})]})}),e.jsxs("section",{className:"bg-[hsl(var(--section-white))] section-compact relative overflow-hidden",children:[e.jsx("div",{className:"gradient-blob w-[350px] h-[350px] bg-accent top-0 right-0 absolute"}),e.jsxs("div",{className:"container relative z-10",children:[e.jsxs(c,{className:"text-center mb-10",children:[e.jsx("h2",{className:"section-heading mb-2",children:t("contact.howWeHelp")}),e.jsx("p",{className:"text-sm text-muted-foreground max-w-lg mx-auto",children:t("contact.howWeHelpSubtitle")})]}),e.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-4 max-w-5xl mx-auto",children:l.map((s,i)=>e.jsx(c,{delay:i*.07,children:e.jsxs("div",{className:"bg-card rounded-xl border border-border p-5 text-center hover-lift shadow-sm hover:shadow-lg hover:shadow-primary/5 transition-shadow h-full",children:[e.jsx("span",{className:"w-11 h-11 rounded-xl bg-gradient-to-br from-primary/15 to-secondary/10 flex items-center justify-center text-primary mx-auto mb-3 shadow-inner",children:e.jsx(s.icon,{className:"w-5 h-5"})}),e.jsx("h3",{className:"font-heading text-sm font-bold text-foreground mb-1.5",children:s.title}),e.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:s.desc})]})},s.title))})]})]}),e.jsxs("section",{className:"bg-primary py-10 md:py-14 relative overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary via-primary to-[hsl(var(--secondary))] opacity-80"}),e.jsx("div",{className:"container text-center relative z-10",children:e.jsxs(c,{children:[e.jsx("h2",{className:"font-heading text-2xl md:text-3xl font-bold text-primary-foreground mb-2",children:t("contact.bottomTitle")}),e.jsx("p",{className:"text-primary-foreground/80 max-w-xl mx-auto mb-6 text-sm leading-relaxed",children:t("contact.bottomDesc")}),e.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-3",children:[e.jsx(p,{variant:"hero",size:"lg",asChild:!0,className:"shadow-lg shadow-black/20",children:e.jsxs("a",{href:"tel:+919124594691",children:[e.jsx(j,{className:"w-4 h-4 mr-2"})," ",t("contact.callUs")," +91 91245-94691"]})}),e.jsx(p,{variant:"hero-outline",size:"lg",className:"border-primary-foreground/30 text-primary-foreground hover:bg-primary-foreground/10",asChild:!0,children:e.jsxs("a",{href:"mailto:[email protected]",children:[e.jsx(h,{className:"w-4 h-4 mr-2"})," ",t("contact.emailUs")]})})]})]})})]}),e.jsx(A,{})]})};export{ce as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.