import{c as n,j as e,r as m,u as x}from"./index-CeSBbkQk.js";import{C as d}from"./Chat-DuXZvFGW.js";const h=n(e.jsx("path",{d:"M12.5 6.9c1.78 0 2.44.85 2.5 2.1h2.21c-.07-1.72-1.12-3.3-3.21-3.81V3h-3v2.16c-.53.12-1.03.3-1.48.54l1.47 1.47c.41-.17.91-.27 1.51-.27M5.33 4.06 4.06 5.33 7.5 8.77c0 2.08 1.56 3.21 3.91 3.91l3.51 3.51c-.34.48-1.05.91-2.42.91-2.06 0-2.87-.92-2.98-2.1h-2.2c.12 2.19 1.76 3.42 3.68 3.83V21h3v-2.15c.96-.18 1.82-.55 2.45-1.12l2.22 2.22 1.27-1.27z"}),"MoneyOff"),g=n(e.jsx("path",{d:"M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2m0 14H4v-6h16zm0-10H4V6h16z"}),"Payment"),o=n(e.jsx("path",{d:"M5 13.18v4L12 21l7-3.82v-4L12 17zM12 3 1 9l11 6 9-4.91V17h2V9z"}),"School"),p="/assets/People-Yp_mfirv.png",j=({talkToUs:u})=>{const[s,a]=m.useState(!0),l=x(),c=[{name:"Web Development",icon:e.jsx(o,{fontSize:"large",color:"primary"})},{name:"Data Analysis",icon:e.jsx(o,{fontSize:"large",color:"primary"})},{name:"UI/UX Design",icon:e.jsx(o,{fontSize:"large",color:"primary"})},{name:"Graphics Design",icon:e.jsx(o,{fontSize:"large",color:"primary"})}],i=[{name:"Project-Based Learning",description:"Build your portfolio with us.",icon:e.jsx(o,{fontSize:"large",color:"primary"})},{name:"Flexible Payments",description:"Monthly payments allowed.",icon:e.jsx(g,{fontSize:"large",color:"primary"})},{name:"100% Money Back",description:"If this doesn't suit you.",icon:e.jsx(h,{fontSize:"large",color:"primary"})}];return e.jsxs("div",{className:"px-4 sm:px-8 lg:px-16 xl:px-24 font-openSan",children:[e.jsx("div",{className:"relative bg-cover bg-center h-80 rounded-lg shadow-lg",style:{backgroundImage:`url(${p})`},children:e.jsx("div",{className:"absolute inset-0 bg-blue-900 bg-opacity-50 flex items-center justify-center text-white",children:e.jsx("h1",{className:"text-3xl sm:text-4xl md:text-5xl font-bold text-center",children:"Welcome to Tech Anchor School of Technology"})})}),e.jsx("h2",{className:"mb-8 text-center mt-12 text-xl sm:text-2xl md:text-3xl text-colorFoot",children:"You want to transition into the World of Technology? Then,"}),e.jsx("p",{className:"text-gray-600 mb-8 text-center text-sm sm:text-base md:text-lg",children:"Explore the exciting fields of technology and start your journey to a brighter future with us."}),e.jsx("h3",{className:"text-gray-600 mb-8 text-center text-sm sm:text-base md:text-lg",children:"We offer:"}),e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6 mb-12",children:i.map((t,r)=>e.jsxs("div",{className:"p-6 bg-colorSer rounded-lg shadow-md text-center transition-transform transform hover:scale-105 hover:shadow-xl",children:[e.jsx("div",{className:"mb-4",children:t.icon}),e.jsx("h3",{className:"text-xl font-bold text-colorFoot",children:t.name}),e.jsx("p",{className:"text-gray-600",children:t.description})]},r))}),e.jsx("div",{className:"text-center mb-8 font-openSan",children:e.jsx("button",{className:"px-6 py-2 bg-colorBtn text-white text-sm font-medium rounded-md hover:bg-blue-700 transition duration-300",onClick:()=>a(!s),children:s?"Our Courses":"Explore Courses"})}),s&&e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-4 gap-6 mb-12 font-openSan",children:c.map((t,r)=>e.jsxs("div",{className:"p-6 bg-colorSer rounded-lg shadow-md text-center transition-transform transform hover:scale-105 hover:shadow-xl",children:[e.jsx("div",{className:"mb-4",children:t.icon}),e.jsx("h3",{className:"text-xl font-bold text-colorFoot",children:t.name}),e.jsxs("p",{className:"text-gray-600 mb-4",children:["Enroll in our ",t.name," Program and develop your skills in this domain."]}),e.jsx("button",{className:"px-6 py-2 bg-colorBtn text-white text-sm font-medium rounded-md hover:bg-blue-700 transition duration-300",onClick:()=>l("/formPage"),children:"Start Now"})]},r))}),e.jsxs("div",{className:"bg-blue-50 py-8 px-6 rounded-lg mb-12 text-center mt-10 font-openSan",children:[e.jsx("h2",{className:"text-2xl sm:text-3xl font-bold text-colorFoot",children:"Need help in choosing the right course?"}),e.jsx("p",{className:"text-gray-600 mb-6 text-sm sm:text-base md:text-lg font-openSan",children:"Unsure which course is right for you? Reach out to us!"}),e.jsxs("button",{className:"px-6 py-2 bg-colorBtn text-white text-sm font-medium rounded-md hover:bg-colorBtnHover transition duration-300",onClick:()=>{l("/contact"),setTimeout(()=>{window.scrollTo(0,0)},100)},children:[e.jsx(d,{fontSize:"small",className:"mr-2"}),"Reach Out To Us!"]})]})]})};export{j as default};
