"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import FeatureCardTwelve from "@/components/sections/feature/FeatureCardTwelve";
import MetricCardEleven from "@/components/sections/metrics/MetricCardEleven";
import FaqSplitMedia from "@/components/sections/faq/FaqSplitMedia";
import FooterBase from "@/components/sections/footer/FooterBase";

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

  const footerColumns = [
    {
      title: "Quick Links",
      items: [
        { label: "Home", href: "/" },
        { label: "Services", href: "#services" },
        { label: "About Us", href: "/about" },
        { label: "Contact", href: "/contact" },
      ],
    },
    {
      title: "Services",
      items: [
        { label: "Germany Work Visa", href: "/services/germany-work-visa" },
        { label: "Canada PR", href: "/services/canada-pr" },
        { label: "Australia PR", href: "/services/australia-pr" },
        { label: "UK Work Visa", href: "/services/uk-work-visa" },
      ],
    },
    {
      title: "Contact Info",
      items: [
        { label: "Phone: +91 98702 96179", href: "tel:+919870296179" },
        {
          label: "Address: Laxmi Deep Building, V3S Mall, Laxmi Nagar, Delhi",
          href: "#",
        },
        {
          label: "Email: info@infiniximmigration.com",
          href: "mailto:info@infiniximmigration.com",
        },
        { label: "WhatsApp: +91 98702 96179", href: "https://wa.me/919870296179" },
      ],
    },
    {
      title: "Legal",
      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
        { label: "Disclaimer", href: "#" },
        { label: "Code of Conduct", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="small"
      sizing="mediumSizeLargeTitles"
      background="none"
      cardStyle="solid"
      primaryButtonStyle="flat"
      secondaryButtonStyle="solid"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={navItems}
          brandName="Infinix Immigration Services"
          bottomLeftText="Delhi, India"
          bottomRightText="+91 98702 96179"
        />
      </div>

      <div id="canada-pr-overview" data-section="canada-pr-overview">
        <FeatureCardTwelve
          title="Canada Permanent Residency Programs"
          description="Multiple pathways to Canadian PR. We analyze your profile and guide you through the best option for your circumstances."
          features={[
            {
              id: "express-entry",
              label: "Express Entry",
              title: "Express Entry - Fast Track PR",
              items: [
                "Federal Skilled Worker Program (FSWP)",
                "Federal Skilled Trades Program (FSTP)",
                "Canadian Experience Class (CEC)",
                "CRS score optimization strategies",
                "Comprehensive Ranking System guidance",
              ],
            },
            {
              id: "pnp",
              label: "Provincial Nominee",
              title: "Provincial Nominee Programs (PNPs)",
              items: [
                "Ontario, British Columbia, Alberta nominees",
                "Tech/skilled worker streams",
                "International graduate pathways",
                "Provincial targeting strategy",
                "Fast-track processing options",
              ],
            },
            {
              id: "family",
              label: "Family Sponsorship",
              title: "Family Sponsorship Programs",
              items: [
                "Spouse/partner sponsorship",
                "Child adoption sponsorship",
                "Parent/grandparent sponsorship",
                "Financial requirement guidance",
                "Documentation support",
              ],
            },
            {
              id: "self-employed",
              label: "Self-Employed",
              title: "Self-Employed & Entrepreneur",
              items: [
                "Self-employment program eligibility",
                "Start-up visa pathway",
                "Business plan development",
                "Investment requirements",
                "Settlement plans",
              ],
            },
            {
              id: "caregiver",
              label: "Caregiver",
              title: "Caregiver Programs",
              items: [
                "Home support worker eligibility",
                "Childcare provider pathway",
                "Work permit to PR transition",
                "Job offer requirements",
                "Employment conditions",
              ],
            },
            {
              id: "rural",
              label: "Rural Immigration",
              title: "Rural & Northern Immigration",
              items: [
                "Rural community nominees",
                "Northern development programs",
                "Lower cost of living regions",
                "Community integration requirements",
                "Long-term settlement support",
              ],
            },
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="canada-pr-success-stats" data-section="canada-pr-success-stats">
        <MetricCardEleven
          title="Canada PR Success Stories"
          description="Our track record speaks for itself. Real people, real results through transparent guidance."
          metrics={[
            {
              id: "cases",
              value: "200+",
              title: "Canada PR Cases",
              description: "Successful PR approvals in last 3 years",              imageSrc: "/images/metric-placeholder.svg",              imageAlt: "Metric icon",
            },
            {
              id: "approval-rate",
              value: "92%",
              title: "Approval Rate",
              description: "Higher than national average for our clients",              imageSrc: "/images/metric-placeholder.svg",              imageAlt: "Metric icon",
            },
            {
              id: "avg-time",
              value: "8-10",
              title: "Average Timeline (months)",
              description: "From consultation to landing",              imageSrc: "/images/metric-placeholder.svg",              imageAlt: "Metric icon",
            },
            {
              id: "provinces",
              value: "8+",
              title: "Provinces Covered",
              description: "Experience across multiple provincial programs",              imageSrc: "/images/metric-placeholder.svg",              imageAlt: "Metric icon",
            },
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="canada-faq" data-section="canada-faq">
        <FaqSplitMedia
          title="Canada PR - Frequently Asked Questions"
          description="Clear answers about Canada PR pathways, eligibility, and process. Get honest information."
          faqs={[
            {
              id: "1",
              title: "What's the fastest way to get Canada PR?",
              content: "Express Entry (CEC pathway) is typically the fastest - 6 months processing. However, if you're abroad, PNP pathways often work better. We assess your profile and recommend the optimal route.",
            },
            {
              id: "2",
              title: "Do I need a job offer for Canada PR?",
              content: "Not always. Express Entry works without a job offer. However, a job offer significantly improves your chances. Some PNP programs specifically target job offers.",
            },
            {
              id: "3",
              title: "What is the CRS score? How high must it be?",
              content: "CRS (Comprehensive Ranking System) ranges from 0-1200. Recent draws are around 500-550. We guide you on improving your score through education, language, or experience.",
            },
            {
              id: "4",
              title: "How much money must I have for Canada PR settlement?",
              content: "Proof of funds varies by family size. Single person: ~CAD 13,000. For couples/families: higher. We provide exact amounts based on your situation.",
            },
            {
              id: "5",
              title: "Can I bring my family to Canada on PR?",
              content: "Yes. Spouse and dependent children can be included in your application. We help with all documentation and maintain family unity.",
            },
            {
              id: "6",
              title: "What after PR approval? What's next?",
              content: "After approval, you get a Confirmation of Permanent Residence (COPR). We guide you on flight bookings, medical requirements, and landing procedures.",
            },
            {
              id: "7",
              title: "Can I lose my Canada PR status?",
              content: "PR is maintained if you meet residency obligations (2 years in 5). We explain these requirements and help plan your residency timeline.",
            },
            {
              id: "8",
              title: "How do I get Canadian citizenship after PR?",
              content: "After 3 years as PR, you can apply for citizenship. We guide timing and prepare you for the citizenship test and oath ceremony.",
            },
          ]}
          mediaAnimation="slide-up"
          mediaPosition="right"
          imageSrc="http://img.b2bpic.net/free-vector/flat-blue-question-background-template_23-2148214849.jpg?_wi=2"
          imageAlt="Canada PR FAQ Illustration"
          faqsAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          columns={footerColumns}
          logoText="Infinix Immigration Services"
          copyrightText="© 2025 Infinix Immigration Services Pvt. Ltd. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}