(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,65254,e=>{"use strict";var l=e.i(43476),t=e.i(71645);e.s(["default",0,function({dict:e,locale:r}){let s="ar"===r,[a,o]=(0,t.useState)({name:"",email:"",phone:"",subject:"",message:""}),[n,i]=(0,t.useState)("+966");return(0,l.jsx)("section",{className:"w-full py-16 px-4 md:px-8 lg:px-12",dir:s?"rtl":"ltr",children:(0,l.jsxs)("div",{className:"max-w-5xl mx-auto px-6 lg:px-12",children:[(0,l.jsx)("h2",{className:"text-center",style:{fontWeight:700,fontSize:"38px",lineHeight:"35px",color:"#2A6A84",fontFamily:'"Tajawal", sans-serif'},children:e.header}),(0,l.jsxs)("form",{className:"w-full space-y-8 mt-12",children:[(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 w-full",children:[(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("input",{type:"text",placeholder:e.namePlaceholder,value:a.name,onChange:e=>o({...a,name:e.target.value}),dir:s?"rtl":"ltr",className:"w-full h-12 border border-gray-300 rounded-lg bg-white px-6 text-[#2A6A84] placeholder:text-gray-400 focus:outline-none focus:border-[#11B3A0]"}),(0,l.jsx)("span",{className:`absolute top-1/2 -translate-y-1/2 text-gray-400 ${s?"left-5":"right-5"}`,children:(0,l.jsxs)("svg",{className:"w-5 h-5",viewBox:"0 0 24 24",fill:"none",children:[(0,l.jsx)("path",{d:"M20 21V19C20 16.79 18.21 15 16 15H8C5.79 15 4 16.79 4 19V21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),(0,l.jsx)("circle",{cx:"12",cy:"7",r:"4",stroke:"currentColor",strokeWidth:"2"})]})})]}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("input",{type:"email",placeholder:e.emailPlaceholder,value:a.email,onChange:e=>o({...a,email:e.target.value}),dir:s?"rtl":"ltr",className:"w-full h-12 border border-gray-300 rounded-lg bg-white px-6 text-[#2A6A84] placeholder:text-gray-400 focus:outline-none focus:border-[#11B3A0]"}),(0,l.jsx)("span",{className:`absolute top-1/2 -translate-y-1/2 text-gray-400 ${s?"left-5":"right-5"}`,children:(0,l.jsxs)("svg",{className:"w-5 h-5",viewBox:"0 0 24 24",fill:"none",children:[(0,l.jsx)("rect",{x:"3",y:"5",width:"18",height:"14",rx:"2",stroke:"currentColor",strokeWidth:"2"}),(0,l.jsx)("path",{d:"M4 7L12 13L20 7",stroke:"currentColor",strokeWidth:"2"})]})})]})]}),(0,l.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-8 w-full",children:[(0,l.jsx)("input",{type:"text",placeholder:e.subjectPlaceholder,value:a.subject,onChange:e=>o({...a,subject:e.target.value}),dir:s?"rtl":"ltr",className:"w-full h-12 border border-gray-300 rounded-lg bg-white px-6 text-[#2A6A84] placeholder:text-gray-400 focus:outline-none focus:border-[#11B3A0]"}),(0,l.jsxs)("div",{className:"flex items-end border border-gray-300 rounded-lg overflow-hidden h-12 bg-white focus-within:border-[#11B3A0]",children:[(0,l.jsx)("div",{className:`flex items-center gap-1.5 px-2 py-2 text-sm text-gray-500 shrink-0 h-12 ${s?"order-last":"order-first"}`,children:(0,l.jsxs)("select",{value:n,onChange:e=>i(e.target.value),className:"bg-transparent text-gray-500 text-sm focus:outline-none cursor-pointer h-full",dir:"ltr",children:[(0,l.jsx)("option",{value:"+966",children:"+966"}),(0,l.jsx)("option",{value:"+20",children:"+20"}),(0,l.jsx)("option",{value:"+971",children:"+971"}),(0,l.jsx)("option",{value:"+974",children:"+974"}),(0,l.jsx)("option",{value:"+965",children:"+965"}),(0,l.jsx)("option",{value:"+968",children:"+968"}),(0,l.jsx)("option",{value:"+973",children:"+973"}),(0,l.jsx)("option",{value:"+962",children:"+962"})]})}),(0,l.jsx)("input",{type:"tel",placeholder:e.phonePlaceholder,value:a.phone,onChange:e=>o({...a,phone:e.target.value}),dir:s?"rtl":"ltr",className:"flex-1 h-full px-5 bg-transparent text-[#2A6A84] placeholder:text-gray-400 focus:outline-none",style:{textAlign:s?"right":"left"}})]})]}),(0,l.jsx)("textarea",{rows:5,placeholder:e.messagePlaceholder,value:a.message,onChange:e=>o({...a,message:e.target.value}),dir:s?"rtl":"ltr",className:"w-full border border-gray-300 rounded-lg px-6 py-5 text-[#2A6A84] placeholder:text-gray-400 focus:outline-none focus:border-[#11B3A0] resize-none"}),(0,l.jsx)("div",{className:"flex justify-center pt-4",children:(0,l.jsx)("button",{type:"submit",className:"bg-[#296C85] hover:bg-[#11B3A0] text-white font-bold px-20 py-4 rounded-lg transition-all duration-300 shadow-md hover:shadow-lg",style:{fontFamily:'"Tajawal", sans-serif',fontSize:"20px",fontWeight:700},children:e.sendButton})})]})]})})}])}]);