import{j as e,s as t,P as c,L as r}from"./index-B5zQMA8I.js";import{A as n}from"./arrow-right-DuP5P4b_.js";function m({heading:a,subtext:s}){return e.jsx("section",{className:"bg-electric-500 py-12 sm:py-16",children:e.jsxs("div",{className:"container-main text-center",children:[e.jsx("h2",{className:"text-2xl sm:text-3xl font-bold text-white mb-4",children:a||"Need an Electrician? Get a Free Estimate Today"}),s&&e.jsx("p",{className:"text-electric-100 mb-6 max-w-2xl mx-auto",children:s}),e.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4 mt-6",children:[e.jsxs("a",{href:t.phoneHref,className:"btn-primary flex items-center gap-2 text-lg",children:[e.jsx(c,{className:"w-5 h-5"}),t.phone]}),e.jsxs(r,{to:"/contact",className:"btn-secondary flex items-center gap-2",children:["Schedule Free Estimate",e.jsx(n,{className:"w-4 h-4"})]})]})]})})}export{m as C};