"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import HeroBillboardGallery from "@/components/sections/hero/HeroBillboardGallery";
import TextSplitAbout from "@/components/sections/about/TextSplitAbout";
import FeatureCardTwentyOne from "@/components/sections/feature/FeatureCardTwentyOne";
import PricingCardFive from "@/components/sections/pricing/PricingCardFive";
import TestimonialCardOne from "@/components/sections/testimonial/TestimonialCardOne";
import FaqBase from "@/components/sections/faq/FaqBase";
import ContactText from "@/components/sections/contact/ContactText";
import FooterCard from "@/components/sections/footer/FooterCard";
import { Sparkles, CheckCircle, DollarSign, Award, HelpCircle, Linkedin, Twitter, Facebook } from "lucide-react";

export default function HomePage() {
  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="hero" data-section="hero">
        <HeroBillboardGallery
          title="Unlock Your Future Through Guided Education"
          description="Navigate university applications with confidence. Our psychometric career counseling and strategic workshops empower students to discover their ideal educational path."
          tag="Educational Excellence"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          buttons={[
            {
              text: "Explore Workshops",
              href: "/services",
            },
            {
              text: "Schedule Consultation",
              href: "/contact",
            },
          ]}
          buttonAnimation="slide-up"
          mediaItems={[
            {
              imageSrc: "http://img.b2bpic.net/free-photo/classmates-reading-learning-from-notes-laptop_23-2149265732.jpg",
              imageAlt: "Students in collaborative workshop environment",
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/brainstorming-training-group_1262-14804.jpg",
              imageAlt: "Career counseling session with mentor",
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-friends-studying-together_23-2148389016.jpg",
              imageAlt: "Students reviewing university applications",
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/business-people-working-with-ipad-high-angle_23-2150103554.jpg",
              imageAlt: "Psychometric assessment results dashboard",
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-multiethnic-managers-working-with-charts-board-room_1262-13024.jpg",
              imageAlt: "Team of educational counselors",
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-friends-with-smartphone_23-2149137134.jpg",
              imageAlt: "Workshop group discussion session",
            },
          ]}
          mediaAnimation="opacity"
          background={{ variant: "radial-gradient" }}
        />
      </div>

      <div id="about" data-section="about">
        <TextSplitAbout
          title="Transforming Educational Futures"
          description={[
            "EduPath has been pioneering comprehensive educational guidance for over a decade. We work with schools, colleges, and universities to provide transformative career counseling experiences that align student aspirations with academic opportunities.",
            "Our team of certified psychometric assessment specialists combines data-driven insights with personalized mentoring to help students navigate the complex landscape of higher education. We believe every student deserves access to expert guidance during critical decision-making moments.",
            "From psychometric assessments to university application strategy, our workshops and counseling sessions are designed to build confidence, clarity, and actionable pathways toward success.",
          ]}
          buttons={[
            {
              text: "Learn More About Our Approach",
              href: "#features",
            },
          ]}
          useInvertedBackground={false}
          showBorder={false}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTwentyOne
          title="Our Core Services"
          description="Comprehensive solutions designed to support students at every stage of their educational journey."
          tag="What We Offer"
          tagIcon={CheckCircle}
          tagAnimation="slide-up"
          buttons={[
            {
              text: "View All Services",
              href: "/services",
            },
          ]}
          buttonAnimation="slide-up"
          accordionItems={[
            {
              id: "psychometric",
              title: "Psychometric Career Assessments",
              content: "Comprehensive personality, aptitude, and career interest assessments designed to help students understand their strengths, preferences, and ideal career paths. Our certified assessors provide personalized reports with actionable insights.",
            },
            {
              id: "university-counseling",
              title: "University Application Counseling",
              content: "Expert guidance through every stage of the application process. From profile building and essay strategizing to interview preparation, our counselors help students present their best selves to universities worldwide.",
            },
            {
              id: "workshops",
              title: "Interactive Workshops",
              content: "Dynamic, engaging workshops on topics ranging from study skills and time management to competitive exam preparation and scholarship hunting. Delivered by experienced educators and industry professionals.",
            },
            {
              id: "career-planning",
              title: "Career Planning & Higher Studies Guidance",
              content: "Navigate the landscape of undergraduate, graduate, and specialized programs. We help students align their academic choices with long-term career goals and market demands.",
            },
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/expecting-couple-home-counselling-meeting-couple-visiting-psychologist-relationship-counseling_1157-47244.jpg"
          imageAlt="Educational counselor consulting with student"
          mediaAnimation="slide-up"
          useInvertedBackground={true}
          mediaPosition="right"
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardFive
          title="Flexible Programs for Every Budget"
          description="Choose the plan that fits your institution's needs. All plans include access to our expert counselors and comprehensive assessment tools."
          tag="Transparent Pricing"
          tagIcon={DollarSign}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          plans={[
            {
              id: "basic",
              tag: "For Schools",
              price: "$5,000",
              period: "per semester",
              description: "Ideal for single-school implementation",
              button: {
                text: "Get Started",
                href: "/contact",
              },
              featuresTitle: "Included",
              features: [
                "Psychometric assessments for 200 students",
                "2 group workshops per month",
                "Basic career counseling sessions",
                "Assessment reports and analysis",
                "Email support",
              ],
            },
            {
              id: "professional",
              tag: "For Colleges",
              tagIcon: Award,
              price: "$12,000",
              period: "per semester",
              description: "Most popular for multi-program institutions",
              button: {
                text: "Get Started",
                href: "/contact",
              },
              featuresTitle: "Everything in Basic, plus",
              features: [
                "Psychometric assessments for 500 students",
                "4 specialized workshops per month",
                "Priority career counseling",
                "University application strategy sessions",
                "Dedicated account manager",
                "Monthly reporting dashboards",
              ],
            },
            {
              id: "enterprise",
              tag: "For Universities",
              price: "Custom",
              period: "tailored plans",
              description: "Comprehensive solutions for large institutions",
              button: {
                text: "Contact Sales",
                href: "/contact",
              },
              featuresTitle: "Everything in Professional, plus",
              features: [
                "Unlimited psychometric assessments",
                "Weekly specialized workshops",
                "One-on-one counseling for all students",
                "International university coordination",
                "Custom curriculum development",
                "API integration and analytics platform",
              ],
            },
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardOne
          title="Trusted by Educational Leaders"
          description="Hear from students, counselors, and institutions who have transformed their educational outcomes through our programs."
          tag="Success Stories"
          tagIcon={Award}
          tagAnimation="slide-up"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          testimonials={[
            {
              id: "1",
              name: "Priya Sharma",
              role: "Student",
              company: "Delhi Public School",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/expressive-woman-posing-outdoor_344912-3083.jpg",
              imageAlt: "young female student portrait professional",
            },
            {
              id: "2",
              name: "Rahul Verma",
              role: "Career Counselor",
              company: "St. Xavier's College",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/happy-young-handsome-man-sitting-cafe-table_1262-975.jpg",
              imageAlt: "male career counselor professional portrait",
            },
            {
              id: "3",
              name: "Aisha Patel",
              role: "University Admission Head",
              company: "Miranda House University",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-woman-looking-camera_23-2148317302.jpg",
              imageAlt: "female education administrator portrait",
            },
            {
              id: "4",
              name: "Vikram Singh",
              role: "Student",
              company: "Cathedral School",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/handsome-smiling-hipster-model-sexy-unshaven-man-dressed-sweater-jeans-clothes-fashion-male-posing-near-blue-wall-studiolooking-camera_158538-26862.jpg",
              imageAlt: "young male student portrait professional",
            },
            {
              id: "5",
              name: "Dr. Neha Kapoor",
              role: "Principal",
              company: "National Public School",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/happy-elegant-joyful-guy-grey-jacket-shirt-wears-glasses-gray_291650-1303.jpg",
              imageAlt: "female principal education leader portrait",
            },
            {
              id: "6",
              name: "Arjun Desai",
              role: "Student",
              company: "Mayo College",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/modern-man-using-tablet-urban-environment_23-2147961412.jpg",
              imageAlt: "young male student confident portrait",
            },
          ]}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqBase
          title="Frequently Asked Questions"
          description="Find answers to common questions about our services, programs, and how we support educational institutions."
          tag="Support"
          tagIcon={HelpCircle}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          faqsAnimation="slide-up"
          faqs={[
            {
              id: "faq-1",
              title: "What is a psychometric assessment?",
              content: "Psychometric assessments are scientifically validated tests that measure psychological attributes including aptitude, personality traits, career interests, and cognitive abilities. They provide objective data to help students understand their strengths and suitable career paths.",
            },
            {
              id: "faq-2",
              title: "How long do the career counseling sessions last?",
              content: "Initial consultation sessions typically last 60 minutes. Follow-up sessions are usually 45 minutes. The frequency and duration can be customized based on your institution's needs and student requirements.",
            },
            {
              id: "faq-3",
              title: "Can your programs be customized for our institution?",
              content: "Absolutely. We offer fully customizable programs tailored to your institution's specific needs, student demographics, and educational objectives. Our team works closely with you to design the perfect solution.",
            },
            {
              id: "faq-4",
              title: "Do you offer online workshops and counseling?",
              content: "Yes, we provide both in-person and online options. Our virtual workshops and counseling sessions use secure, interactive platforms ensuring effective delivery regardless of location.",
            },
            {
              id: "faq-5",
              title: "What universities do you help students apply to?",
              content: "We provide guidance for applications to universities worldwide, including Indian institutions, UK universities, US colleges, Canadian universities, and many others. Our counselors have expertise in various international education systems.",
            },
            {
              id: "faq-6",
              title: "How do you measure the success of your programs?",
              content: "We track multiple success metrics including student placement rates, university acceptances, career satisfaction, and skill development outcomes. Detailed reports are provided to help institutions measure ROI and program effectiveness.",
            },
          ]}
        />
      </div>

      <div id="contact-cta" data-section="contact-cta">
        <ContactText
          text="Ready to Transform Your Institution's Educational Outcomes?"
          animationType="entrance-slide"
          buttons={[
            {
              text: "Schedule a Demo",
              href: "/contact",
            },
            {
              text: "Request Proposal",
              href: "/contact",
            },
          ]}
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground={true}
        />
      </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>
  );
}