"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import MetricCardTen from "@/components/sections/metrics/MetricCardTen";
import TestimonialCardThirteen from "@/components/sections/testimonial/TestimonialCardThirteen";
import FooterMedia from "@/components/sections/footer/FooterMedia";
import Link from "next/link";
import { Award, MessageSquare } from "lucide-react";

const navItems = [
  { name: "Home", id: "/" },
  { name: "About", id: "/about" },
  { name: "Courses", id: "/courses" },
  { name: "Campus", id: "/campus" },
  { name: "Admissions", id: "/admissions" },
];

export default function PlacementsPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="rounded"
      contentWidth="medium"
      sizing="largeSmallSizeMediumTitles"
      background="aurora"
      cardStyle="layered-gradient"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="NRI Institute"
          navItems={navItems.map((item) => ({
            name: item.name,
            id: item.id,
          }))}
          button={{ text: "Call for Admission", href: "tel:09391878787" }}
          animateOnLoad={true}
        />
      </div>

      <div id="placement-statistics" data-section="placement-statistics">
        <MetricCardTen
          title="Placement Statistics & Achievements"
          description="Outstanding placement records demonstrating the value of NRI Institute education in the job market"
          tag="Success Metrics"
          tagIcon={Award}
          tagAnimation="slide-up"
          textboxLayout="default"
          metrics={[
            {
              id: "1",
              title: "98% Placement Rate",
              subtitle: "Class of 2024 - Students placed within 6 months of graduation",
              category: "Overall",
              value: "All Batches",
            },
            {
              id: "2",
              title: "Average CTC - 8 LPA",
              description: "Competitive salary packages across all engineering disciplines",
              category: "Salary",
              value: "Starting Offer",
            },
            {
              id: "3",
              title: "Highest Package",
              subtitle: "Record package for exceptional performer in tech roles",
              category: "Achievement",
              value: "18+ LPA",
            },
            {
              id: "4",
              title: "Top 50 Recruiters",
              subtitle: "Microsoft, Google, Amazon, Infosys, TCS, Cognizant, Accenture, and more",
              category: "Companies",
              value: "Global Partners",
            },
          ]}
          animationType="scale-rotate"
          useInvertedBackground={false}
          ariaLabel="Placement statistics and achievements"
        />
      </div>

      <div id="student-success" data-section="student-success">
        <TestimonialCardThirteen
          title="Placement Success Stories"
          description="Real experiences from our graduates who have achieved remarkable career milestones"
          tag="Student Journeys"
          tagIcon={MessageSquare}
          tagAnimation="slide-up"
          textboxLayout="default"
          showRating={true}
          testimonials={[
            {
              id: "1",
              name: "Arjun Sharma",
              handle: "@arjun_sharma",
              testimonial: "Got placed at Microsoft as a Software Development Engineer. The curriculum and industry mentorship at NRI directly contributed to my success in technical interviews.",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/cheerful-young-man-holding-folder-outdoor_74855-2121.jpg",
              imageAlt: "Arjun Sharma",
            },
            {
              id: "2",
              name: "Priya Reddy",
              handle: "@priya_reddy",
              testimonial: "Secured placement at Google as a Data Scientist with a package of 15 LPA. The AI/DS program equipped me with cutting-edge skills in machine learning and data analytics.",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-smiling-pretty-girl-plaid-shirt-posing_114579-70643.jpg",
              imageAlt: "Priya Reddy",
            },
            {
              id: "3",
              name: "Rahul Verma",
              handle: "@rahul_verma",
              testimonial: "Placed at TCS with multiple offers from other companies. The placement cell at NRI provided excellent guidance and interview preparation support throughout the process.",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-man_1268-21877.jpg",
              imageAlt: "Rahul Verma",
            },
          ]}
          animationType="slide-up"
          useInvertedBackground={false}
          ariaLabel="Student placement success stories"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="http://img.b2bpic.net/free-photo/hotel_1127-4042.jpg"
          imageAlt="NRI Institute Campus Footer"
          logoText="NRI Institute of Technology"
          copyrightText="© 2025 NRI Institute of Technology. All rights reserved."
          columns={[
            {
              title: "Quick Links",
              items: [
                { label: "Home", href: "/" },
                { label: "About Us", href: "/about" },
                { label: "Courses", href: "/courses" },
                { label: "Placements", href: "/placements" },
              ],
            },
            {
              title: "Admissions",
              items: [
                { label: "Apply Now", href: "/admissions" },
                { label: "Eligibility", href: "/admissions" },
                { label: "Fee Structure", href: "/admissions" },
                { label: "Download Brochure", href: "#" },
              ],
            },
            {
              title: "Contact",
              items: [
                { label: "Phone: 09391878787", href: "tel:09391878787" },
                { label: "Email: admissions@nri.edu", href: "mailto:admissions@nri.edu" },
                { label: "Vijayawada, Andhra Pradesh", href: "#" },
                { label: "Privacy Policy", href: "#" },
              ],
            },
          ]}
          ariaLabel="Site footer with navigation and contact information"
        />
      </div>
    </ThemeProvider>
  );
}