"use client"; import { useState } from "react"; import { Plus, Minus } from "lucide-react"; const faqs = [ { question: "Do you offer emergency electrical services in Corpus Christi?", answer: "Yes, Budd Electric Co. provides 24/7 emergency electrical services in Corpus Christi and surrounding areas. We have licensed electricians on call around the clock to handle power outages, storm damage, and dangerous electrical faults safely." }, { question: "Are your electricians licensed and insured?", answer: "Absolutely. We are fully licensed by the State of Texas (TECL #17007) and carry comprehensive insurance. All our electricians are background-checked and drug-tested for your peace of mind." }, { question: "Do you install Kohler whole-home generators?", answer: "Yes, we are an authorized Kohler Generator dealer. We specialize in the sale, professional installation, and ongoing maintenance of Kohler standby generators to keep your home powered during outages." }, { question: "What areas do you serve besides Corpus Christi?", answer: "We serve the entire Coastal Bend region, including Portland, Robstown, Ingleside, Rockport, Aransas Pass, and Port Aransas. If you're in South Texas, give us a call!" } ]; export default function FAQSection() { const [openIndex, setOpenIndex] = useState(0); // Generate FAQ Schema const faqSchema = { "@context": "https://schema.org", "@type": "FAQPage", "mainEntity": faqs.map(faq => ({ "@type": "Question", "name": faq.question, "acceptedAnswer": { "@type": "Answer", "text": faq.answer } })) }; return (