"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import ContactText from "@/components/sections/contact/ContactText";
import FaqBase from "@/components/sections/faq/FaqBase";
import TextSplitAbout from "@/components/sections/about/TextSplitAbout";
import FooterCard from "@/components/sections/footer/FooterCard";
import { HelpCircle, Linkedin, Twitter, Facebook } from "lucide-react";

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="compact"
      sizing="large"
      background="floatingGradient"
      cardStyle="glass-depth"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="EduPath"
          navItems={[
            { name: "Home", id: "home" },
            { name: "Services", id: "services" },
            { name: "Pricing", id: "pricing" },
            { name: "About", id: "about" },
            { name: "Contact", id: "contact" },
          ]}
        />
      </div>

      <div id="contact-hero" data-section="contact-hero">
        <ContactText
          text="Let's Connect & Transform Educational Futures"
          animationType="entrance-slide"
          buttons={[
            {
              text: "Email Us",
              href: "mailto:hello@edupath.example.com",
            },
            {
              text: "Schedule Call",
              href: "#",
            },
          ]}
          background={{ variant: "radial-gradient" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="contact-info" data-section="contact-info">
        <TextSplitAbout
          title="Get in Touch With Us"
          description={[
            "Whether you're a school administrator looking to enhance student guidance, an institution seeking to implement psychometric assessments, or a student ready to explore your educational path, we're here to help.",
            "Our team responds to inquiries within 24 hours. We offer flexible consultation options including in-person meetings, video calls, and email correspondence to suit your convenience.",
            "Contact us today to discuss how EduPath can support your educational goals and transform the futures of your students.",
          ]}
          buttons={[
            {
              text: "Send Message Form",
              href: "#",
            },
          ]}
          useInvertedBackground={true}
          showBorder={false}
        />
      </div>

      <div id="faq-contact" data-section="faq-contact">
        <FaqBase
          title="Contact & Support Questions"
          description="Common questions about reaching out to us, our services, and support options."
          tag="Quick Help"
          tagIcon={HelpCircle}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          faqsAnimation="slide-up"
          faqs={[
            {
              id: "contact-faq-1",
              title: "What's the best way to contact EduPath?",
              content: "You can reach us via email at hello@edupath.example.com, schedule a call through our website, or fill out the inquiry form. For urgent matters, call +91-XXXX-XXXX. Our team typically responds within 24 hours.",
            },
            {
              id: "contact-faq-2",
              title: "Do you offer free consultations?",
              content: "Yes, we offer a complimentary 30-minute initial consultation for institutions and students. This allows us to understand your needs and discuss how our programs can best serve you.",
            },
            {
              id: "contact-faq-3",
              title: "What time is your office open?",
              content: "EduPath offices are open Monday to Friday, 9:00 AM to 6:00 PM IST. We also offer weekend and evening sessions by appointment for working professionals and busy students.",
            },
            {
              id: "contact-faq-4",
              title: "How quickly can we implement your programs?",
              content: "Implementation timelines vary based on your institution's size and needs. Most schools can begin programs within 2-4 weeks of initial agreement. For larger universities, we allow 4-8 weeks for customization and setup.",
            },
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="EduPath"
          copyrightText="© 2025 EduPath. All rights reserved."
          socialLinks={[
            {
              icon: Linkedin,
              href: "https://linkedin.com",
              ariaLabel: "LinkedIn",
            },
            {
              icon: Twitter,
              href: "https://twitter.com",
              ariaLabel: "Twitter",
            },
            {
              icon: Facebook,
              href: "https://facebook.com",
              ariaLabel: "Facebook",
            },
          ]}
        />
      </div>
    </ThemeProvider>
  );
}