import{r as i,j as e,b as c,P as d,M as m,U as b,m as n,d as x,s as f,e as u}from"./index-CqI-dFNO.js";import{P as p}from"./PageShell-DXT2c6S4.js";const h=[{icon:c,label:"Please step to our Office at :",value:"DNA Management Consultancy, PO Box: 113195, M1,Mohammed Saif, AL Ali Building, Khalidiya, Sheikh Zayed First Street, Abu Dhabi, UAE"},{icon:d,label:"Abu Dhabi — Phone / Fax / Mobile",value:"+971 - 2 - 6322869 · +971-2 - 6321125 (fax) · +971-55 - 6672309 (mobile)"},{icon:m,label:"Abu Dhabi — Email",value:"info@dnaofexcellence.org"},{icon:c,label:"Our Corporate Office",value:"DNA OF EXCELLENCE GROUP, CC 53/241, KADAVANTHARA, COCHIN- 20, KERALA, INDIA"},{icon:d,label:"Corporate Office — Phone",value:"+91 903 548 1512, +971 556672309"},{icon:m,label:"Corporate Office — Email",value:"info@dnaofexcellence.org · info@dnaofexcellence.net"},{icon:b,label:"Other Members",value:"KOTTAYAM · HYDERABAD. — www.dnaofexcellence.net · www.dnaofexcellence.org"}];function N(){const[s,r]=i.useState({name:"",email:"",message:""}),[t,o]=i.useState(!1),g=async a=>{a.preventDefault(),o(!0);const l=await f("contact",{name:s.name,email:s.email,msg:s.message});o(!1),l.type==="success"?(u.success(l.message),r({name:"",email:"",message:""})):u.error(l.message)};return e.jsx(p,{eyebrow:"Get in Touch",title:"Contact Us",children:e.jsxs("div",{className:"grid items-start gap-14 lg:grid-cols-2",children:[e.jsxs("div",{className:"space-y-5",children:[h.map((a,l)=>e.jsxs(n.div,{initial:{opacity:0,x:-20},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{duration:.4,delay:l*.08},className:"flex items-start gap-4 rounded-xl glass-card p-5",children:[e.jsx("span",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-lg bg-accent text-primary",children:e.jsx(a.icon,{className:"h-5 w-5"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm text-muted-foreground",children:a.label}),e.jsx("p",{className:"font-semibold text-card-foreground",children:a.value})]})]},a.label)),e.jsx("div",{className:"rounded-xl glass-card p-5 text-center",children:e.jsx("p",{className:"font-semibold text-card-foreground",children:"Register for any Program"})}),e.jsx("div",{className:"overflow-hidden rounded-xl border border-border",children:e.jsx("iframe",{title:"DNA of Excellence Group DMC — Abu Dhabi location",src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3631.1973382016267!2d54.35273551499532!3d24.478618484235454!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3e5e66724b548a2d%3A0x8a4c39a8f544240a!2sDNA+of+Excellence+Group+DMC!5e0!3m2!1sen!2sae!4v1518271780157",width:"100%",height:"320",style:{border:0},loading:"lazy",allowFullScreen:!0})})]}),e.jsxs(n.form,{onSubmit:g,initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6,delay:.1},className:"rounded-2xl glass-card p-8 sm:p-10 self-start",children:[e.jsx("h3",{className:"font-bagel text-2xl text-primary",children:"Request a consultation"}),e.jsxs("label",{className:"mt-6 block text-sm font-medium text-card-foreground",children:["Full name",e.jsx("input",{required:!0,value:s.name,onChange:a=>r({...s,name:a.target.value}),className:"mt-2 w-full rounded-lg border border-border bg-input-background px-4 py-3 text-base outline-none focus:border-accent-emerald focus:ring-2 focus:ring-ring/30",placeholder:"Your name"})]}),e.jsxs("label",{className:"mt-5 block text-sm font-medium text-card-foreground",children:["Email",e.jsx("input",{required:!0,type:"email",value:s.email,onChange:a=>r({...s,email:a.target.value}),className:"mt-2 w-full rounded-lg border border-border bg-input-background px-4 py-3 text-base outline-none focus:border-accent-emerald focus:ring-2 focus:ring-ring/30",placeholder:"you@company.com"})]}),e.jsxs("label",{className:"mt-5 block text-sm font-medium text-card-foreground",children:["How can we help?",e.jsx("textarea",{required:!0,rows:5,value:s.message,onChange:a=>r({...s,message:a.target.value}),className:"mt-2 w-full resize-none rounded-lg border border-border bg-input-background px-4 py-3 text-base outline-none focus:border-accent-emerald focus:ring-2 focus:ring-ring/30",placeholder:"Training, coaching, counselling or consulting…"})]}),e.jsxs(n.button,{whileHover:{scale:1.02},whileTap:{scale:.98},type:"submit",disabled:t,className:"glass-sheen mt-7 inline-flex w-full items-center justify-center gap-2 rounded-lg bg-primary px-6 py-3.5 font-semibold text-primary-foreground hover:bg-accent-blue gentle-animation disabled:opacity-60",children:[t?"Sending…":"Send Request"," ",e.jsx(x,{className:"h-4 w-4"})]})]})]})})}export{N as default};
