import type { Metadata } from "next";

import Breadcrumb from "@/components/common/Breadcrumb";
import CTA from "@/components/common/CTA";

export const metadata: Metadata = {
  title: "Donation & Refund Policy",
  description:
    "Read the Donation and Refund Policy of Rajvi Social Welfare Trust regarding voluntary donations, refund requests, cancellation and contribution usage.",
  alternates: {
    canonical: "/refund-policy",
  },
};

export default function RefundPolicyPage() {
  return (
    <>
      <section className="relative overflow-hidden bg-slate-950 pb-16 pt-32 text-white sm:pb-20 sm:pt-36 lg:pt-40">
        <div className="absolute inset-0 bg-[radial-gradient(circle_at_top_right,rgba(251,191,36,0.15),transparent_40%)]" />

        <div className="relative z-10 mx-auto max-w-5xl px-4 text-center sm:px-6 lg:px-8">
          <span className="inline-flex rounded-full bg-white/10 px-4 py-2 text-xs font-bold uppercase tracking-widest text-[var(--accent)]">
            Legal Information
          </span>

          <h1 className="mt-6 text-4xl font-extrabold sm:text-5xl lg:text-6xl">
            Donation & Refund Policy
          </h1>

          <p className="mx-auto mt-5 max-w-3xl text-slate-300">
            Please read our donation, cancellation and refund terms carefully
            before making any contribution.
          </p>
        </div>
      </section>

      <Breadcrumb />

      <section className="bg-white py-14 sm:py-16 lg:py-24">
        <div className="mx-auto max-w-5xl px-4 sm:px-6 lg:px-8">
          <div className="rounded-3xl border border-slate-200 bg-white p-6 shadow-sm sm:p-8 lg:p-10">
            <div className="space-y-8 text-slate-600">
              <div>
                <p className="font-semibold text-slate-950">
                  Last Updated: June 2026
                </p>
              </div>

              <div>
                <h2 className="text-2xl font-bold text-slate-950">
                  1. Donation Policy
                </h2>
                <p className="mt-4 leading-8">
                  Donations made to Rajvi Social Welfare Trust are voluntary
                  contributions intended to support education, healthcare
                  awareness, women empowerment, youth development, environmental
                  awareness and community welfare initiatives.
                </p>
              </div>

              <div>
                <h2 className="text-2xl font-bold text-slate-950">
                  2. Use of Donations
                </h2>
                <p className="mt-4 leading-8">
                  Contributions received by the Trust may be used for welfare
                  programs, awareness activities, community support, operational
                  requirements, outreach activities and other charitable purposes
                  as decided by the Trust.
                </p>
              </div>

              <div>
                <h2 className="text-2xl font-bold text-slate-950">
                  3. Refund Eligibility
                </h2>
                <p className="mt-4 leading-8">
                  Since donations are voluntary, refunds are generally not
                  provided. However, refund requests may be considered only in
                  cases of duplicate payment, incorrect amount, technical error
                  or unauthorized transaction, subject to verification by the
                  Trust.
                </p>
              </div>

              <div>
                <h2 className="text-2xl font-bold text-slate-950">
                  4. Refund Request Timeline
                </h2>
                <p className="mt-4 leading-8">
                  Any refund request must be submitted within 7 days from the
                  date of donation. Requests received after this period may not
                  be considered.
                </p>
              </div>

              <div>
                <h2 className="text-2xl font-bold text-slate-950">
                  5. Required Information for Refund
                </h2>
                <p className="mt-4 leading-8">
                  To request a refund, the donor may be required to provide the
                  donor name, registered mobile number, email address, payment
                  reference number, donation amount, date of transaction and
                  reason for refund.
                </p>
              </div>

              <div>
                <h2 className="text-2xl font-bold text-slate-950">
                  6. Refund Processing
                </h2>
                <p className="mt-4 leading-8">
                  Approved refunds will be processed through the original mode
                  of payment wherever possible. Processing timelines may vary
                  depending on the payment gateway, bank or service provider.
                </p>
              </div>

              <div>
                <h2 className="text-2xl font-bold text-slate-950">
                  7. Cancellation Policy
                </h2>
                <p className="mt-4 leading-8">
                  Once a donation is successfully processed, cancellation may
                  not be possible. Donors are advised to verify all details
                  before completing the payment.
                </p>
              </div>

              <div>
                <h2 className="text-2xl font-bold text-slate-950">
                  8. Non-Refundable Cases
                </h2>
                <p className="mt-4 leading-8">
                  Donations used, allocated or committed towards welfare
                  activities, campaigns, relief programs or administrative
                  requirements may not be eligible for refund.
                </p>
              </div>

              <div>
                <h2 className="text-2xl font-bold text-slate-950">
                  9. Policy Updates
                </h2>
                <p className="mt-4 leading-8">
                  Rajvi Social Welfare Trust reserves the right to update,
                  modify or revise this Donation & Refund Policy at any time.
                  The updated policy will be published on this page.
                </p>
              </div>

              <div>
                <h2 className="text-2xl font-bold text-slate-950">
                  10. Contact for Refund Requests
                </h2>
                <p className="mt-4 leading-8">
                  For donation-related queries or refund requests, please contact
                  us at:
                </p>
                <p className="mt-3 font-semibold text-slate-950">
                  info@rajvisocialwelfare.org
                </p>
              </div>
            </div>
          </div>
        </div>
      </section>

      <CTA />
    </>
  );
}