"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import HeroSplitKpi from "@/components/sections/hero/HeroSplitKpi";
import AboutMetric from "@/components/sections/about/AboutMetric";
import FeatureCardTwelve from "@/components/sections/feature/FeatureCardTwelve";
import MetricCardOne from "@/components/sections/metrics/MetricCardOne";
import ProductCardThree from "@/components/sections/product/ProductCardThree";
import TestimonialCardFive from "@/components/sections/testimonial/TestimonialCardFive";
import ContactSplitForm from "@/components/sections/contact/ContactSplitForm";
import FooterSimple from "@/components/sections/footer/FooterSimple";
import Link from "next/link";
import { Globe, Users, Network, TrendingUp } from "lucide-react";

export default function HomePage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "About", id: "/about" },
    { name: "Services", id: "/services" },
    { name: "Partners", id: "/partners" },
    { name: "Contact", id: "/contact" },
  ];

  const footerColumns = [
    {
      title: "Navigation",
      items: [
        { label: "Home", href: "/" },
        { label: "About", href: "/about" },
        { label: "Services", href: "/services" },
        { label: "Partners", href: "/partners" },
      ],
    },
    {
      title: "Services",
      items: [
        { label: "Student Recruitment", href: "/services" },
        { label: "Visa Support", href: "/services" },
        { label: "Student Management", href: "/services" },
        { label: "Partner Collaboration", href: "/services" },
      ],
    },
    {
      title: "Company",
      items: [
        { label: "About Us", href: "/about" },
        { label: "Our Network", href: "/#network" },
        { label: "Achievements", href: "/#achievements" },
        { label: "Contact Us", href: "/contact" },
      ],
    },
    {
      title: "Legal",
      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
        { label: "Cookie Policy", href: "#" },
        { label: "Contact Support", href: "/contact" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="mediumSizeLargeTitles"
      background="none"
      cardStyle="outline"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Global Pathways"
          navItems={navItems}
          button={{
            text: "Partner With Us",
            href: "/contact",
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitKpi
          title="Global Student Recruitment Partner for Korean Universities"
          description="We help universities and education partners recruit qualified international students to study in Korea through our global recruitment network. With presence in 33 countries and recruitment capability in 91 markets, we connect ambitious students worldwide with premier Korean educational institutions."
          background={{ variant: "plain" }}
          kpis={[
            {
              value: "600+",
              label: "International Students Recruited",
            },
            {
              value: "33",
              label: "Countries Reached",
            },
            {
              value: "91",
              label: "Recruitment Capability",
            },
          ]}
          enableKpiAnimation={true}
          tag="Founded 2024"
          tagIcon={Globe}
          tagAnimation="slide-up"
          buttons={[
            {
              text: "Partner With Us",
              href: "/contact",
            },
            {
              text: "Learn More",
              href: "/about",
            },
          ]}
          buttonAnimation="slide-up"
          mediaAnimation="blur-reveal"
          imageSrc="http://img.b2bpic.net/free-photo/our-world-connected-social-networking-interconnection-concept_53876-21159.jpg"
          imageAlt="Global student recruitment network"
        />
      </div>

      <div id="about" data-section="about">
        <AboutMetric
          title="Founded in 2024, Global Pathways specializes in connecting Korean universities with qualified international students through our extensive global network and comprehensive support services."
          metrics={[
            {
              icon: Users,
              label: "Students Successfully Placed",
              value: "600+",
            },
            {
              icon: Globe,
              label: "Countries Represented",
              value: "33",
            },
            {
              icon: Network,
              label: "Global Market Reach",
              value: "91",
            },
          ]}
          metricsAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="network" data-section="network">
        <FeatureCardTwelve
          title="Our Global Recruitment Network"
          description="One of our biggest strengths is our worldwide missionary and local partner network that provides access to student markets where traditional recruitment agencies have limited presence."
          features={[
            {
              id: "reach",
              label: "Current Reach",
              title: "Active Recruitment Network",
              items: [
                "Students recruited from 33 countries",
                "Strong local connections and partnerships",
                "Diverse regional market expertise",
                "Established pipelines in key markets",
              ],
            },
            {
              id: "capacity",
              label: "Growth Potential",
              title: "Expansion Capability",
              items: [
                "Recruitment capability across 91 countries",
                "Strategic expansion roadmap",
                "Scalable partner network infrastructure",
                "Emerging market opportunities",
              ],
            },
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="achievements" data-section="achievements">
        <MetricCardOne
          title="Our Impact & Growth"
          description="Since our establishment in 2024, we have built a rapidly growing international recruitment network with measurable success."
          metrics={[
            {
              id: "1",
              value: "600",
              title: "students",
              description: "International students recruited to Korean universities",
              icon: Users,
            },
            {
              id: "2",
              value: "33",
              title: "countries",
              description: "Geographic markets actively represented",
              icon: Globe,
            },
            {
              id: "3",
              value: "91",
              title: "potential",
              description: "Countries with recruitment capability",
              icon: TrendingUp,
            },
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="scale-rotate"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardTwelve
          title="Our Comprehensive Services"
          description="We manage the entire international student recruitment lifecycle, from global promotion to post-arrival support."
          features={[
            {
              id: "recruitment",
              label: "Recruitment",
              title: "International Student Acquisition",
              items: [
                "Global promotion of Korean universities",
                "Targeted student recruitment campaigns",
                "Student screening and qualification",
                "Market-specific recruitment strategies",
              ],
            },
            {
              id: "visa",
              label: "Visa Support",
              title: "Documentation & Immigration",
              items: [
                "Comprehensive visa guidance",
                "Document preparation assistance",
                "Application submission support",
                "Immigration compliance management",
              ],
            },
            {
              id: "support",
              label: "Student Support",
              title: "Post-Arrival Assistance",
              items: [
                "Arrival orientation and settlement",
                "Ongoing student mentorship",
                "Cultural adaptation support",
                "University life assistance",
              ],
            },
            {
              id: "partnership",
              label: "Partnership",
              title: "Global Collaboration",
              items: [
                "Work with overseas education agencies",
                "Strategic partner network expansion",
                "Collaborative recruitment initiatives",
                "Multi-market coordination",
              ],
            },
          ]}
          animationType="opacity"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="University & Agency Partners"
          description="Hear from the institutions and education partners who have successfully collaborated with Global Pathways."
          testimonials={[
            {
              id: "1",
              name: "Dr. Park Min-jun, Dean of International Affairs",
              date: "Date: March 2024",
              title: "Exceptional Partnership Excellence",
              quote: "Global Pathways has been instrumental in expanding our international student enrollment. Their professional approach, attention to detail, and genuine commitment to student success sets them apart from other recruitment agencies.",
              tag: "Korean University",
              avatarSrc: "http://img.b2bpic.net/free-photo/black-female-bank-manager-using-laptop-writing-notes-while-having-meeting-with-couple-office_637285-930.jpg",
              imageSrc: "http://img.b2bpic.net/free-photo/people-registering-vote-united-states_23-2149096716.jpg?_wi=1",
            },
            {
              id: "2",
              name: "Ms. Lee Soo-jin, International Education Coordinator",
              date: "Date: February 2024",
              title: "Outstanding Global Network",
              quote: "What impressed us most is their extensive global network and local market knowledge. They understand student needs across different regions and deliver qualified candidates who are well-prepared for Korean university life.",
              tag: "Education Agency",
              avatarSrc: "http://img.b2bpic.net/free-photo/black-female-bank-manager-using-laptop-writing-notes-while-having-meeting-with-couple-office_637285-930.jpg",
              imageSrc: "http://img.b2bpic.net/free-photo/top-view-green-card-application_23-2149601348.jpg?_wi=1",
            },
            {
              id: "3",
              name: "Mr. Ahmed Hassan, International Admissions Manager",
              date: "Date: January 2024",
              title: "Reliable and Professional",
              quote: "Working with Global Pathways has significantly streamlined our international recruitment process. Their support extends beyond recruitment to ongoing student management, making them true partners in our mission.",
              tag: "University Administration",
              avatarSrc: "http://img.b2bpic.net/free-photo/black-female-bank-manager-using-laptop-writing-notes-while-having-meeting-with-couple-office_637285-930.jpg",
              imageSrc: "http://img.b2bpic.net/free-photo/happy-graduate-student-with-diploma_23-2148498974.jpg?_wi=1",
            },
            {
              id: "4",
              name: "Ms. Catherine Martin, Director of Partnerships",
              date: "Date: December 2023",
              title: "Transformative Collaboration",
              quote: "The professionalism and dedication of the Global Pathways team has exceeded our expectations. They're not just a vendor—they're a strategic partner invested in our institution's international growth.",
              tag: "Higher Education",
              avatarSrc: "http://img.b2bpic.net/free-photo/black-female-bank-manager-using-laptop-writing-notes-while-having-meeting-with-couple-office_637285-930.jpg",
              imageSrc: "http://img.b2bpic.net/free-vector/logistic-infographics-set_1284-13204.jpg?_wi=1",
            },
            {
              id: "5",
              name: "Prof. Tanaka Hiroshi, Global Recruitment Lead",
              date: "Date: November 2023",
              title: "Global Excellence",
              quote: "Global Pathways' understanding of international education markets and student mobility patterns is unmatched. They've helped us access student populations we couldn't reach before.",
              tag: "Education Partner",
              avatarSrc: "http://img.b2bpic.net/free-photo/black-female-bank-manager-using-laptop-writing-notes-while-having-meeting-with-couple-office_637285-930.jpg",
              imageSrc: "http://img.b2bpic.net/free-photo/happy-entrepreneurs-cooperating-while-using-touchpad-hallway_637285-10982.jpg?_wi=1",
            },
            {
              id: "6",
              name: "Ms. Isabella Rossi, International Dean",
              date: "Date: October 2023",
              title: "Strategic Partnership Value",
              quote: "Beyond recruitment numbers, Global Pathways brings strategic insight and cultural understanding. Our partnership has strengthened our international reputation and student quality significantly.",
              tag: "University Leadership",
              avatarSrc: "http://img.b2bpic.net/free-photo/black-female-bank-manager-using-laptop-writing-notes-while-having-meeting-with-couple-office_637285-930.jpg",
              imageSrc: "http://img.b2bpic.net/free-photo/black-female-bank-manager-using-laptop-writing-notes-while-having-meeting-with-couple-office_637285-930.jpg?_wi=1",
            },
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Start a Partnership With Us"
          description="Contact us to discuss recruitment opportunities, partnership possibilities, and how Global Pathways can support your international student goals."
          inputs={[
            {
              name: "institutionName",
              type: "text",
              placeholder: "Institution or Agency Name",
              required: true,
            },
            {
              name: "contactName",
              type: "text",
              placeholder: "Your Name",
              required: true,
            },
            {
              name: "email",
              type: "email",
              placeholder: "Email Address",
              required: true,
            },
            {
              name: "phone",
              type: "tel",
              placeholder: "Phone Number",
              required: true,
            },
            {
              name: "country",
              type: "text",
              placeholder: "Country",
              required: false,
            },
          ]}
          textarea={{
            name: "message",
            placeholder: "Tell us about your international recruitment needs and goals...",
            rows: 5,
            required: true,
          }}
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/happy-entrepreneurs-cooperating-while-using-touchpad-hallway_637285-10982.jpg?_wi=2"
          imageAlt="Partnership collaboration"
          mediaAnimation="blur-reveal"
          mediaPosition="right"
          buttonText="Submit Inquiry"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={footerColumns}
          bottomLeftText="© 2024 Global Pathways. All rights reserved."
          bottomRightText="Based in South Korea • Serving 33 Countries"
        />
      </div>
    </ThemeProvider>
  );
}