import type { Metadata } from "next";

import Breadcrumb from "@/components/common/Breadcrumb";
import CTA from "@/components/common/CTA";

export const metadata: Metadata = {
  title: "Terms & Conditions",
  description:
    "Read the Terms and Conditions of Rajvi Social Welfare Trust regarding website usage, donations, volunteering, content, external links and legal responsibilities.",
  alternates: {
    canonical: "/terms-conditions",
  },
};

export default function TermsConditionsPage() {
  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">
            Terms & Conditions
          </h1>

          <p className="mx-auto mt-5 max-w-3xl text-slate-300">
            Please read these terms carefully before using the Rajvi Social
            Welfare Trust website, donation services or volunteer registration
            facilities.
          </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. Acceptance of Terms
                </h2>
                <p className="mt-4 leading-8">
                  By accessing or using this website, you agree to comply with
                  and be bound by these Terms & Conditions. If you do not agree
                  with any part of these terms, you should not use this website.
                </p>
              </div>

              <div>
                <h2 className="text-2xl font-bold text-slate-950">
                  2. About the Organization
                </h2>
                <p className="mt-4 leading-8">
                  Rajvi Social Welfare Trust is a non-profit organization
                  working towards education support, healthcare awareness, women
                  empowerment, youth development, environmental awareness and
                  community welfare initiatives across India.
                </p>
              </div>

              <div>
                <h2 className="text-2xl font-bold text-slate-950">
                  3. Website Usage
                </h2>
                <p className="mt-4 leading-8">
                  Users agree to use this website only for lawful purposes. You
                  must not misuse this website, attempt unauthorized access,
                  interfere with website functionality or use the website in any
                  manner that may damage the reputation or operations of the
                  Trust.
                </p>
              </div>

              <div>
                <h2 className="text-2xl font-bold text-slate-950">
                  4. Donations
                </h2>
                <p className="mt-4 leading-8">
                  Donations made through this website or related platforms are
                  voluntary contributions. Rajvi Social Welfare Trust reserves
                  the right to use donations for welfare programs, awareness
                  campaigns, community support, operational requirements and
                  charitable objectives as deemed appropriate by the Trust.
                </p>
              </div>

              <div>
                <h2 className="text-2xl font-bold text-slate-950">
                  5. Volunteer Registration
                </h2>
                <p className="mt-4 leading-8">
                  Individuals registering as volunteers agree to provide accurate
                  information. Volunteer participation may be subject to
                  verification, organizational requirements, availability of
                  programs and internal guidelines of Rajvi Social Welfare
                  Trust.
                </p>
              </div>

              <div>
                <h2 className="text-2xl font-bold text-slate-950">
                  6. Content Ownership
                </h2>
                <p className="mt-4 leading-8">
                  All content available on this website, including text, images,
                  graphics, logos, designs and other materials, belongs to Rajvi
                  Social Welfare Trust unless otherwise stated. Unauthorized
                  copying, reproduction or distribution of website content is not
                  permitted.
                </p>
              </div>

              <div>
                <h2 className="text-2xl font-bold text-slate-950">
                  7. Accuracy of Information
                </h2>
                <p className="mt-4 leading-8">
                  We make reasonable efforts to ensure that website information
                  is accurate and updated. However, Rajvi Social Welfare Trust
                  does not guarantee that all content is complete, error-free or
                  current at all times.
                </p>
              </div>

              <div>
                <h2 className="text-2xl font-bold text-slate-950">
                  8. External Links
                </h2>
                <p className="mt-4 leading-8">
                  This website may contain links to third-party websites or
                  portals. Rajvi Social Welfare Trust is not responsible for the
                  content, privacy practices, services or policies of external
                  websites.
                </p>
              </div>

              <div>
                <h2 className="text-2xl font-bold text-slate-950">
                  9. Limitation of Liability
                </h2>
                <p className="mt-4 leading-8">
                  Rajvi Social Welfare Trust shall not be liable for any direct,
                  indirect, incidental or consequential loss or damage arising
                  from the use of this website, donations, volunteer
                  registration or reliance on any information provided on this
                  website.
                </p>
              </div>

              <div>
                <h2 className="text-2xl font-bold text-slate-950">
                  10. Changes to Terms
                </h2>
                <p className="mt-4 leading-8">
                  Rajvi Social Welfare Trust reserves the right to update,
                  modify or replace these Terms & Conditions at any time without
                  prior notice. Updated terms will be posted on this page.
                </p>
              </div>

              <div>
                <h2 className="text-2xl font-bold text-slate-950">
                  11. Contact Information
                </h2>
                <p className="mt-4 leading-8">
                  For any questions regarding these Terms & Conditions, please
                  contact us at:
                </p>

                <p className="mt-3 font-semibold text-slate-950">
                  info@rajvisocialwelfare.org
                </p>
              </div>
            </div>
          </div>
        </div>
      </section>

      <CTA />
    </>
  );
}