import React, { useState } from "react"; import { motion, AnimatePresence } from "motion/react"; import { HelpCircle, ChevronDown, ShieldCheck, Wrench, Clock, Search, BadgeHelp, Tag } from "lucide-react"; interface FAQItem { id: string; question: string; answer: string; keywords: string[]; category: "warranty" | "services" | "general"; } interface FAQSectionProps { darkMode: boolean; } export default function FAQSection({ darkMode }: FAQSectionProps) { const [openId, setOpenId] = useState("warranty-duration"); const [filterCategory, setFilterCategory] = useState<"all" | "warranty" | "services">("all"); const [searchQuery, setSearchQuery] = useState(""); const FAQS: FAQItem[] = [ { id: "warranty-duration", question: "What official warranty is provided with premium imported tyres from Yokohama, Michelin, and Continental?", answer: "All premium brand tyres (including Yokohama, Michelin, and Continental) purchased from Haider Brothers Faisal Town come with a 5-Year Continuous Structural & Tread Warranty. This warranty protects against tread separation, structural defects, factory compounds failures, and early bulging under standard driving specifications. We assist with 100% genuine claims fast-tracked directly with manufacturer dealers without complications.", keywords: ["warranty Yokohama", "Michelin warranty", "Continental tyres Lahore", "imported tyre warranty"], category: "warranty" }, { id: "tire-installation-benefits", question: "Is there a charge for tyre installation, computerized balancing, and nitrogen air filling in Faisal Town showroom?", answer: "No, tyre installation at our Faisal Town showroom is 100% free with the purchase of any tyre set. For seasonal promotional packages or sets of 4 premium tyres, we include computerized 3D wheel alignment, premium computerized wheel balancing, durable tubeless valves, and lifetime nitrogen gas top-up sessions absolutely free. No hidden service charges apply.", keywords: ["free tyre installation", "3D wheel alignment", "wheel balancing Faisal Town", "free nitrogen Lahore"], category: "services" }, { id: "checking-dot-year", question: "How can I verify the genuine manufacturing year and DOT marking of tyres purchased at Haider Brothers?", answer: "We guarantee 100% authentic tyre imports with visible, untouched DOT stamps. The DOT code is a 4-digit code hot-stamped on the tire sidewall; the first two digits represent the manufacturing week, and the last two represent the year (e.g., '1226' means 12th week of 2026). Haider Brothers never stocks smuggled or expired stock, securing complete legal peace of mind with legal custom imports.", keywords: ["tyre manufacturing year", "how to read DOT markings", "genuine imported tyres", "fresh tyre stock Lahore"], category: "warranty" }, { id: "pothole-road-hazard", question: "Does the warranty cover tyre punctures, roadside sidewall cuts, or pothole impact damage?", answer: "Official manufacturer structural warranties cover material defects and manufacturing flaws. Road hazards such as standard tyre punctures, impact damage from deep Lahore potholes, sidewall kerb cuts, or debris damage are not traditionally covered under standard structural warranty terms. However, we offer premium tyre repair and patching services at our showroom anytime, or immediate tyre roadside replacements via our emergency van.", keywords: ["pothole tyre damage warranty", "sidewall cuts repair Lahore", "tire puncture service", "road hazard assistance"], category: "warranty" }, { id: "emergency-road-service", question: "What should I do if my sedan tire bursts late at night in Lahore? Do you offer 24/7 emergency roadside support?", answer: "Yes, Haider Brothers operates a dedicated 24 Hours Emergency Roadside Tyre Assistance service. If you encounter a flat tire, puncture, or rim issue late at night anywhere around Faisal Town, Model Town, Gulberg, Johar Town, or Garden Town, call our emergency hotline at +92 302 4594403 immediately. Our responsive mobile service van will dispatch with fresh stock to assist on-site.", keywords: ["24/7 tyre repair Lahore", "midnight flat tire recovery", "emergency roadside assistance", "mobile tire van Faisal Town"], category: "services" }, { id: "alignment-frequency", question: "How often should I get computerized 3D wheel alignment checks and wheel balancing for Pakistani roads?", answer: "For Pakistani road terrains, we strongly recommend a computerized 3D wheel alignment and professional wheel balancing check every 8,000 to 10,000 Kilometers, or whenever you feel alignment pulling to one side. Regular alignments prevent premature tread wear (uneven tire scrubbing), keep steering vibration-free on motorways at high speeds, and optimize vehicle fuel economy.", keywords: ["computerized wheel alignment frequency", "tire balancing intervals", "how to prevent uneven tire wear", "Pakistani road maintenance"], category: "services" } ]; const toggleFAQ = (id: string) => { setOpenId((prev) => (prev === id ? null : id)); }; // Filter and search logic for great SEO reach const filteredFAQs = FAQS.filter((faq) => { const categoryMatches = filterCategory === "all" || faq.category === filterCategory; const searchString = `${faq.question} ${faq.answer} ${faq.keywords.join(" ")}`.toLowerCase(); const queryMatches = searchString.includes(searchQuery.toLowerCase()); return categoryMatches && queryMatches; }); return (
{/* Schema.org Structured Data Injection for high-fidelity Google SEO relevance */}
Haider Brothers FAQ Hub

Tire Warranty & Service FAQs

Honest, transparent answers about premium tyre warranties, alignment services, and emergency 24/7 roadside assistances in Faisal Town Lahore.

{/* Segment Category Switcher + SEO Search Input */}
{[ { id: "all", label: "All Questions" }, { id: "warranty", label: "🛡️ Warranty" }, { id: "services", label: "🛠️ Services & 3D Align" } ].map((cat) => ( ))}
{/* Live Search inside FAQ content with key phrases */}
setSearchQuery(e.target.value)} className={`w-full p-2.5 pl-8 text-xs rounded-xl border focus:ring-1 focus:ring-brand-orange focus:outline-hidden ${ darkMode ? "bg-black/35 border-white/10 text-white placeholder-slate-500" : "bg-white border-slate-200 text-slate-850 placeholder-slate-400" }`} />
{/* Accordion List Container */} {filteredFAQs.length > 0 ? (
{filteredFAQs.map((faq) => { const isOpen = openId === faq.id; return (
{/* Header Interactive Trigger Button */} {/* Smooth Expandable Accordion Body Panels */} {isOpen && (

{faq.answer}

{/* SEO Keyword tags indicator for algorithmic reach */}
Related indexes: {faq.keywords.map((kw, i) => ( {kw} ))}
)}
); })}
) : (

No matching faq answers found

Try searching for simple words like "warranty", "3D alignment", or "DOT".

)} {/* Extra Service Pledge stamp */}
🛡️ CERTIFIED DIRECT CLAIM GUARANTOR: We deal strictly in direct legal brand imports on all 2026 batches. No duplicate or high wear compounds guaranteed.
); }