"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import FaqBase from "@/components/sections/faq/FaqBase";
import ContactSplit from "@/components/sections/contact/ContactSplit";
import FooterMedia from "@/components/sections/footer/FooterMedia";
import Link from "next/link";
import { HelpCircle, Phone } 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 AdmissionsPage() {
  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="admissions-faq" data-section="admissions-faq">
        <FaqBase
          title="Admissions Process & Guidelines"
          description="Clear steps and important information to guide you through the admission process at NRI Institute of Technology"
          tag="FAQs"
          tagIcon={HelpCircle}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          faqsAnimation="slide-up"
          animationType="smooth"
          faqs={[
            {
              id: "1",
              title: "Who is eligible to apply?",
              content: "Students who have completed 10+2 (12th standard) with Physics, Chemistry, and Mathematics are eligible to apply. Candidates appearing for qualifying exams can also apply. A minimum score in entrance exams like JEE Main, EAMCET, or equivalent is required based on the course category.",
            },
            {
              id: "2",
              title: "What is the complete admission process?",
              content: "1. Online application submission with eligibility documents<br/>2. Merit list preparation based on entrance exam scores<br/>3. Document verification and counseling<br/>4. College seat allocation through merit/counseling<br/>5. Final admission confirmation with fee payment<br/>6. Registration and hostel allotment (if applicable)",
            },
            {
              id: "3",
              title: "What documents are required for admission?",
              content: "Required documents include: 10th and 12th mark sheets, entrance exam scorecard (JEE Main/EAMCET), valid ID proof (Aadhaar/Passport), category certificate (if applicable), caste certificate (if applicable), address proof, and passport-sized photographs (4x6 cm, 6 copies).",
            },
            {
              id: "4",
              title: "Are scholarships and financial aid available?",
              content: "Yes, NRI Institute offers multiple scholarship options: Merit-based scholarships for top 10% students, Need-based scholarships for economically backward students, Government scholarships for SC/ST/OBC categories, and Sports scholarships for exceptional athletes. Students can also apply for educational loans from banks.",
            },
            {
              id: "5",
              title: "What is the fee structure?",
              content: "Annual tuition fees range from ₹1,50,000 to ₹2,20,000 depending on the program. Additional charges include hostel fees (₹50,000-60,000 per year), lab fees, exam fees, and placement cell fees. For detailed breakup, please contact the admissions office or download the fee structure document.",
            },
            {
              id: "6",
              title: "Is hostel facility available?",
              content: "Yes, NRI Institute provides modern hostel facilities for both boys and girls with separate blocks. Facilities include internet connectivity, recreational areas, fitness center, common study zones, 24/7 security, and regular maintenance. Hostel fees are separate from tuition and are approximately ₹50,000-60,000 per year.",
            },
          ]}
          ariaLabel="Admissions FAQ section"
        />
      </div>

      <div id="contact-admissions" data-section="contact-admissions">
        <ContactSplit
          tag="Get In Touch"
          title="Admission Enquiry Form"
          description="Fill out your details below and our admission counselor will contact you within 24 hours. For urgent inquiries, call us directly at 09391878787."
          tagIcon={Phone}
          tagAnimation="slide-up"
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/modern-amphitheater-usa_1268-14358.jpg?_wi=1"
          imageAlt="NRI Institute Campus"
          mediaAnimation="blur-reveal"
          mediaPosition="right"
          inputPlaceholder="Enter your email address"
          buttonText="Get Information"
          termsText="We respect your privacy. We'll contact you with admission updates and important information."
          ariaLabel="Contact and admission enquiry section"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="http://img.b2bpic.net/free-photo/hotel_1127-4042.jpg?_wi=5"
          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>
  );
}