"use client"; import Accordion from 'react-bootstrap/Accordion'; import React, { useState } from "react"; import Link from "next/link"; import ConsenHead from '@/src/ConsenHead'; import SubCard from '../AboveFooter'; import SubCardNew from '../Website-development-service/web-sub-card'; const Faq = () => { // First 5 FAQs const faqDataPart1 = [ { id: 1, title: "How long does it take to build a website?", content: "The timeline depends on your requirements. A simple business website can take 2–3 weeks, while an advanced e-commerce or custom site may take 6–8 weeks.", animationDelay: ".5s" }, { id: 2, title: "Do you make mobile-friendly designs?", content: "Yes! All our websites are fully responsive and optimized for mobile, tablet, and desktop devices.", animationDelay: ".5s" }, { id: 3, title: "Can you redesign my existing site? ", content: "Absolutely. We can revamp your current website with a modern look, improved performance, and better user experience.", animationDelay: ".5s" }, { id: 4, title: "What’s the cost of a new website? ", content: "It varies based on features, design, and functionality. We provide customized packages to fit your budget.", animationDelay: ".5s" }, { id: 5, title: " Do you provide hosting & domain support?", content: "Yes, we help you choose the right domain and hosting plan, and we can set it up for you.", animationDelay: ".5s" }, ]; // Next 5 FAQs const faqDataPart2 = [ { id: 6, title: "Will I get a CMS to manage content?", content: "Of course! We build websites with CMS (like WordPress, Shopify, or custom CMS) so you can easily update text, images, and products.", animationDelay: ".5s" }, { id: 7, title: "Can you build e-commerce stores?", content: "Yes, we specialize in building secure and user-friendly e-commerce websites with payment gateways and product management.", animationDelay: ".5s" }, { id: 8, title: "Do you handle SEO & digital marketing too?", content: "Yes, we provide on-page SEO, performance optimization, and digital marketing services to help you grow online.", animationDelay: ".5s" }, { id: 9, title: "Do you offer ongoing support?", content: "Yes, we provide maintenance and support packages to keep your website running smoothly.", animationDelay: ".5s" }, { id: 10, title: "How do I get started?", content: "Just fill out our inquiry form or book a free consultation. Our team will guide you through the next steps.", animationDelay: ".5s" }, ]; const [activeLeft, setActiveLeft] = useState(faqDataPart1[0].id); const [activeRight, setActiveRight] = useState(faqDataPart2[0].id); return ( <>

Frequently Asked Questions

{/* Left Column - First 5 FAQs */}
{faqDataPart1.map((faq) => (
  • setActiveLeft(faq.id === activeLeft ? null : faq.id)} className={faq.id === activeLeft ? "active" : ""} > {faq.title}

    {faq.content}

  • ))}
    {/* Right Column - Next 5 FAQs */}
    {faqDataPart2.map((faq) => (
  • setActiveRight(faq.id === activeRight ? null : faq.id)} className={faq.id === activeRight ? "active" : ""} > {faq.title}

    {faq.content}

  • ))}
    ); }; export default Faq;