import type { Metadata } from "next";
import { Container } from "@/app/components/layout/Container";
import Heading from "@/app/components/ui/Heading";
import heroImg from "./_assets/hero.png";
import { ContainerSm } from "@/app/components/layout/ContainerSm";
import Image from "next/image";

export const metadata: Metadata = {
  title: "Customer Loyalty - Basmati Pakistan",
  description:
    "Customer Loyalty Globally Registered And Accredited Exporter As a globally registered and accredited exporter, we take pride in meeting the highest standards set by international export authorities. Our commitment to excellence is reflected in our adherence to the best practices in packaging, transportation, and distribution.With a focus on best practices in packaging, transportation, and distribution, […]",
  alternates: {
    canonical: "https://basmatipakistan.com/customer-loyalty/",
  },
  openGraph: {
    title: "Customer Loyalty - Basmati Pakistan",
    description:
      "Customer Loyalty Globally Registered And Accredited Exporter As a globally registered and accredited exporter, we take pride in meeting the highest standards set by international export authorities. Our commitment to excellence is reflected in our adherence to the best practices in packaging, transportation, and distribution.With a focus on best practices in packaging, transportation, and distribution, […]",
    url: "https://basmatipakistan.com/customer-loyalty/",
    type: "website",
  },
  twitter: {
    card: "summary_large_image",
    title: "Customer Loyalty - Basmati Pakistan",
    description:
      "Customer Loyalty Globally Registered And Accredited Exporter As a globally registered and accredited exporter, we take pride in meeting the highest standards set by international export authorities. Our commitment to excellence is reflected in our adherence to the best practices in packaging, transportation, and distribution.With a focus on best practices in packaging, transportation, and distribution, […]",
  },
};

export default function CustomerLoyaltyPage() {
  const features = [
    {
      process: "Sourcing",
      bestPractice: "Partnering with trusted growers for premium basmati rice.",
      outcome: "Ensures high-quality raw material.",
    },
    {
      process: "Milling",
      bestPractice: "Expert milling to meet international standards.",
      outcome: "Grains are perfectly processed.",
    },
    {
      process: "Packaging",
      bestPractice: "Customized, secure packaging options.",
      outcome: "Maintains the quality and freshness of the rice.",
    },
    {
      process: "Transportation",
      bestPractice: "Safe, reliable transportation methods.",
      outcome: "Prevents damage during transit.",
    },
    {
      process: "Distribution",
      bestPractice: "Efficient, timely distribution practices.",
      outcome: "On-time delivery to clients globally.",
    },
    {
      process: "Customer Service",
      bestPractice:
        "Focused on meeting client needs with personalized support.",
      outcome: "Builds long-lasting, trusted partnerships.",
    },
  ];

  return (
    <>
      <section className="relative h-[65vh] w-full">
        <Image
          src={heroImg}
          alt="Customer Loyalty Hero"
          fill
          placeholder="blur"
          className="absolute top-0 left-0 w-full h-full object-cover object-center"
          priority
          fetchPriority="high"
          loading="eager"
        />
        <div className="relative bg-black/60 w-full h-full flex items-center">
          <Container>
            <Heading as="h1" variant="title" className="text-white">
              Customer Loyalty
            </Heading>
          </Container>
        </div>
        <div className="absolute z-10 bottom-0 w-full bg-white h-24 [clip-path:polygon(100%_100%,100%_0,0_100%)]"></div>
      </section>
      <section className="mt-16 lg:mt-32">
        <ContainerSm>
          <div className="flex flex-col gap-6">
            <Heading
              as="h2"
              variant="section"
              className="text-primary text-center"
            >
              Globally Registered And Accredited Exporter
            </Heading>
            <p className="mx-auto text-gray-500 text-center">
              As a globally registered and accredited exporter, we take pride in
              meeting the highest standards set by international export
              authorities. Our commitment to excellence is reflected in our
              adherence to the best practices in packaging, transportation, and
              distribution.With a focus on best practices in packaging,
              transportation, and distribution, we guarantee the safe and timely
              delivery of basmati rice to our clients, making us a trusted
              partner in global trade. With a focus on best practices in
              packaging, transportation, and distribution, we guarantee the safe
              and timely delivery of basmati rice to our clients, making us a
              trusted partner in global trade.{" "}
            </p>
            <p className="mx-auto text-gray-500 text-center">
              Our processes are designed to follow the best practices in
              packaging, transportation, and distribution. This ensures the safe
              and timely delivery of basmati rice to our clients. This position
              approached us as a preferred partner for international trade
              collaboration
            </p>
          </div>
        </ContainerSm>
      </section>
      <section className="mt-16 lg:mt-32">
        <ContainerSm>
          <div className="flex flex-col gap-12">
            <Heading
              as="h2"
              variant="section"
              className="text-primary text-center"
            >
              Export Process and Best Practices
            </Heading>
            <div className="flex max-w-5xl w-full mx-auto">
              <table className="w-full">
                <thead className="text-white bg-primary text-lg">
                  <tr className="h-14">
                    <th className="border-4">Process</th>
                    <th className="border-4">Best Practice</th>
                    <th className="border-4">Outcome</th>
                  </tr>
                </thead>
                <tbody>
                  {features.map((feature, index) => (
                    <tr
                      key={index}
                      className="h-10 bg-[#EFF8E1]/70 text-primary"
                    >
                      <td className="py-2 px-2 lg:px-4 border-4 border-white font-bold lg:text-nowrap lg:text-lg">
                        {feature.process}
                      </td>
                      <td className="py-2 px-2 lg:px-4 border-4 border-white ">
                        {feature.bestPractice}
                      </td>
                      <td className="py-2 px-2 lg:px-4 border-4 border-white ">
                        {feature.outcome}
                      </td>
                    </tr>
                  ))}
                </tbody>
              </table>
            </div>
          </div>
        </ContainerSm>
      </section>
    </>
  );
}
