import type { Metadata } from "next";
import { PageHero } from "@/components/patterns/PageHero";
import { SectionHeading } from "@/components/patterns/SectionHeading";
import { FaqAccordion } from "@/components/patterns/FaqAccordion";
import { CtaSection } from "@/components/patterns/CtaSection";
import { Card, CardHeader, CardTitle, CardDescription } from "@/components/ui/Card";

export const metadata: Metadata = {
  title: "NGO Funding",
  description:
    "Fundraising readiness advisory and introductions for registered NGOs and Section 8 companies to CSR partners, grant providers, and philanthropic funders. ROPTS advises and introduces — it does not disburse funds.",
  alternates: { canonical: "/services/sector-funding/ngo-funding" },
  openGraph: {
    title: "NGO Funding — ROPTS Venture Capital",
    description:
      "Compliance-readiness review and curated introductions for NGOs seeking CSR, grant, or philanthropic funding.",
    type: "website",
    url: "/services/sector-funding/ngo-funding",
  },
};

const jsonLd = {
  "@context": "https://schema.org",
  "@type": "Service",
  serviceType: "NGO Funding Advisory",
  provider: { "@type": "Organization", name: "ROPTS Venture Capital" },
  description:
    "Fundraising readiness advisory and introduction service for NGOs and Section 8 companies, connecting them with CSR partners, grant providers, and philanthropic organizations once compliance readiness is confirmed.",
  areaServed: "IN",
};

const included = [
  {
    title: "Compliance readiness check",
    description: "A review of registration status, 12A and 80G standing, and FCRA position where relevant — the documentation funders ask for before they engage.",
  },
  {
    title: "Impact narrative and reporting",
    description: "Framing your program outcomes in a way that maps to how CSR partners and grant providers actually evaluate proposals.",
  },
  {
    title: "Curated introduction",
    description: "Matched to CSR partners, grant providers, or philanthropic organizations whose focus areas align with your program. The funding decision is theirs.",
  },
];

const faqs = [
  {
    question: "What compliance status do we need before approaching funders?",
    answer:
      "Most CSR partners and institutional grant providers expect a registered NGO or Section 8 company with 12A and 80G status in place, and FCRA registration if foreign funding is in scope. If any of these are missing or lapsed, we'll flag it as the first readiness gap to close.",
  },
  {
    question: "Does ROPTS provide grants or CSR funds directly?",
    answer:
      "No. ROPTS is an advisory and connectivity firm. We assess your readiness and make introductions to CSR partners, grant providers, and philanthropic organizations in our network — the funding decision and disbursement are theirs.",
  },
  {
    question: "How are funders matched to our organization?",
    answer:
      "We match on stated focus area — education, health, livelihoods, environment, and similar — and on your organization's demonstrated track record and compliance standing, rather than sending a general appeal to every contact we have.",
  },
  {
    question: "Is this different from your Grant Discovery or CSR Partnership services?",
    answer:
      "This page covers NGO funding broadly, across CSR, grants, and philanthropic routes. If you specifically want help identifying and qualifying for grant programs, see Grant Discovery; if you want a structured CSR partner match, see CSR Partnership.",
  },
];

export default function NgoFundingPage() {
  return (
    <>
      <script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }} />

      <PageHero
        breadcrumb={[
          { label: "Home", href: "/" },
          { label: "Services", href: "/services" },
          { label: "Sector Funding", href: "/services/sector-funding" },
          { label: "NGO Funding" },
        ]}
        eyebrow="Sector Funding"
        title="NGO Funding"
        description="Readiness advisory and curated introductions for registered NGOs and Section 8 companies — confirming compliance standing before matching you to CSR partners, grant providers, and philanthropic funders."
        primaryLabel="Apply to Raise Capital"
        primaryHref="/apply/organization"
        secondaryLabel="See How It Works"
        secondaryHref="/how-it-works"
      />

      <div className="container py-16">
        <div className="max-w-2xl">
          <SectionHeading eyebrow="The Situation" title="Compliance readiness comes before the funding conversation" />
          <p className="mt-6 text-body-md text-ink-soft">
            CSR partners and institutional grant providers generally will not engage an NGO whose 12A, 80G, or FCRA
            standing is unclear or lapsed — no matter how strong the program impact is. ROPTS starts by reviewing
            your registration and compliance documentation, then helps frame your program outcomes in the language
            funders actually evaluate against. Only once that groundwork is in place do we make an introduction to
            CSR partners, grant providers, or philanthropic organizations whose focus areas align with your work.
          </p>
          <p className="mt-4 text-body-md text-ink-soft">
            Our role ends at introduction. ROPTS does not disburse funds itself and does not guarantee a funding
            outcome — the decision rests with the partner or provider you&apos;re introduced to.
          </p>
        </div>

        <div className="mt-16">
          <SectionHeading eyebrow="What's Included" title="Three parts of the engagement" />
          <div className="mt-8 grid gap-6 sm:grid-cols-3">
            {included.map((item) => (
              <Card key={item.title}>
                <CardHeader>
                  <CardTitle>{item.title}</CardTitle>
                  <CardDescription>{item.description}</CardDescription>
                </CardHeader>
              </Card>
            ))}
          </div>
        </div>

        <div className="mt-20 max-w-2xl">
          <h2 className="mb-6 font-display text-h1 font-normal text-ink">Frequently Asked</h2>
          <FaqAccordion items={faqs} />
        </div>
      </div>

      <CtaSection
        title="Ready to find out if your NGO is funding-ready?"
        primaryLabel="Apply to Raise Capital"
        primaryHref="/apply/organization"
        secondaryLabel="See How It Works"
        secondaryHref="/how-it-works"
      />
    </>
  );
}
