import{r as c,j as t}from"./index-CGDW0kIg.js";import{C as i}from"./Navigation-nACcoftb.js";function l({faqs:o}){const[a,n]=c.useState(null);return t.jsx("section",{className:"py-20 lg:py-28 bg-white","data-id":"xlaes5ncw","data-path":"src/components/ServiceFaqSection.tsx",children:t.jsx("div",{className:"container mx-auto px-4 lg:px-8","data-id":"1o6hwr9q3","data-path":"src/components/ServiceFaqSection.tsx",children:t.jsxs("div",{className:"max-w-3xl mx-auto","data-id":"nm36g7rsq","data-path":"src/components/ServiceFaqSection.tsx",children:[t.jsxs("div",{className:"text-center mb-12","data-id":"jecgf6pye","data-path":"src/components/ServiceFaqSection.tsx",children:[t.jsx("h2",{className:"text-3xl md:text-4xl font-display font-bold mb-4",style:{color:"#0F2E00"},"data-id":"eq8oiuri8","data-path":"src/components/ServiceFaqSection.tsx",children:"Frequently Asked Questions"}),t.jsx("p",{className:"text-base md:text-lg",style:{color:"#0F2E00",opacity:.65},"data-id":"40xcfvtcw","data-path":"src/components/ServiceFaqSection.tsx",children:"Quick answers to common questions about this service."})]}),t.jsx("div",{className:"space-y-3","data-id":"jykijrt3z","data-path":"src/components/ServiceFaqSection.tsx",children:o.map((s,e)=>t.jsxs("div",{className:"border rounded-xl overflow-hidden transition-shadow duration-200 hover:shadow-sm",style:{borderColor:"rgba(15, 46, 0, 0.1)"},"data-id":"4v71tuo4a","data-path":"src/components/ServiceFaqSection.tsx",children:[t.jsxs("button",{type:"button","aria-expanded":a===e,className:"w-full text-left flex items-center justify-between px-6 py-5 gap-4 transition-colors duration-150 hover:bg-[#F4F7F4]",onClick:()=>n(a===e?null:e),"data-id":"8gb9qksh9","data-path":"src/components/ServiceFaqSection.tsx",children:[t.jsx("span",{className:"font-semibold text-base md:text-lg leading-snug",style:{color:"#0F2E00"},"data-id":"9iols6rad","data-path":"src/components/ServiceFaqSection.tsx",children:s.question}),t.jsx(i,{className:`w-5 h-5 flex-shrink-0 transition-transform duration-300 ${a===e?"rotate-180":""}`,style:{color:"#9EE970"},"data-id":"91s92486o","data-path":"src/components/ServiceFaqSection.tsx"})]}),t.jsx("div",{className:`overflow-hidden transition-all duration-300 ease-in-out ${a===e?"max-h-64":"max-h-0"}`,"data-id":"a153y0vgz","data-path":"src/components/ServiceFaqSection.tsx",children:t.jsx("p",{className:"px-6 pb-5 text-base leading-relaxed",style:{color:"#0F2E00",opacity:.72},"data-id":"c3koye5rq","data-path":"src/components/ServiceFaqSection.tsx",children:s.answer})})]},e))})]})})})}export{l as S};