import { Accordion, AccordionContent, AccordionItem, AccordionTrigger, } from "@/components/ui/accordion"; import { motion, useInView, useScroll, useSpring } from "framer-motion"; import { Sparkles } from "lucide-react"; import { useRef, useState } from "react"; import PremiumBadge from "./shared/PremiumBadge"; const faqs = [ { question: "What services does TechZaa offer?", answer: "We provide comprehensive technology solutions including web development, mobile app development, AI/ML solutions, and cloud infrastructure services.", category: "Services", }, { question: "How long does a typical project take?", answer: "Timelines vary: simple sites take 4-6 weeks, while enterprise apps take 3-6 months. We prioritize agile delivery and constant feedback.", category: "Process", }, { question: "What is your development process?", answer: "We follow an agile methodology: Discovery, UI/UX Design, Development Sprints, QA, Deployment, and 24/7 Ongoing Support.", category: "Workflow", }, { question: "Do you provide maintenance?", answer: "Yes. Our maintenance packages include security updates, performance optimization, and feature enhancements to keep you ahead.", category: "Support", }, { question: "How do you handle project pricing?", answer: "Flexible models: fixed-price, time & materials, or dedicated teams. We ensure 100% transparency with no hidden costs.", category: "Billing", }, ]; export default function FAQSection() { const [activeItem, setActiveItem] = useState(undefined); const containerRef = useRef(null); const isInView = useInView(containerRef, { once: true, amount: 0.2 }); // Progress bar for reading engagement const { scrollYProgress } = useScroll({ target: containerRef, offset: ["start end", "end start"], }); const scaleX = useSpring(scrollYProgress, { stiffness: 100, damping: 30 }); return (

Clear Answers{" "}{" "} For Big Ideas.

Everything you need to know about working with TechZaa. Can't find what you're looking for? Reach out to our team.

{/* Bottom Section: Interactive Accordion */} {faqs.map((faq, index) => (
{faq.category} {faq.question}
{faq.answer}
))}
); }