import type { Metadata } from "next";
import { PageHero } from "@/components/patterns/PageHero";
import { SectionHeading } from "@/components/patterns/SectionHeading";
import { Timeline } from "@/components/patterns/Timeline";
import { FaqAccordion } from "@/components/patterns/FaqAccordion";
import { CtaSection } from "@/components/patterns/CtaSection";

export const metadata: Metadata = {
  title: "Government Funding Guidance",
  description:
    "Navigating eligibility and application pathways for public funding schemes relevant to your sector and stage. ROPTS advises and introduces — it is not a government body and does not disburse funds.",
  alternates: { canonical: "/services/csr-and-grants/government-funding-guidance" },
  openGraph: {
    title: "Government Funding Guidance — ROPTS Venture Capital",
    description:
      "A structured process for identifying the public funding schemes you're genuinely eligible for and preparing a qualifying application.",
    type: "website",
    url: "/services/csr-and-grants/government-funding-guidance",
  },
};

const jsonLd = {
  "@context": "https://schema.org",
  "@type": "Service",
  serviceType: "Government Funding Guidance Advisory",
  provider: { "@type": "Organization", name: "ROPTS Venture Capital" },
  description:
    "Advisory service that identifies public funding schemes matching an organization's sector, stage, and registration type, and helps prepare a qualifying application. Does not administer schemes or disburse public funds.",
  areaServed: "IN",
};

const process = [
  {
    label: "Step 1",
    title: "Profile and registration review",
    description: "We review your registration type (e.g. Udyam, Section 8, trust deed) alongside your sector, stage, and geography.",
  },
  {
    label: "Step 2",
    title: "Scheme identification",
    description: "We identify the public funding schemes whose published eligibility criteria your profile genuinely meets.",
  },
  {
    label: "Step 3",
    title: "Gap review",
    description: "We flag any registration, compliance, or documentation gap that would disqualify an application before you invest time preparing one.",
  },
  {
    label: "Step 4",
    title: "Application guidance",
    description: "We help structure your application to the scheme's actual requirements, without acting on the government's behalf.",
  },
  {
    label: "Step 5",
    title: "Submission",
    description: "You submit directly through the scheme's own process. ROPTS does not administer schemes or make award decisions.",
  },
];

const faqs = [
  {
    question: "Is ROPTS a government agency or does it disburse public funds?",
    answer:
      "No. ROPTS is an independent fundraising advisory and connectivity firm. We help you identify and apply to public funding schemes; the eligibility decision, award, and disbursement are made entirely by the relevant government body.",
  },
  {
    question: "What kinds of government schemes does this cover?",
    answer:
      "Schemes relevant to startups, MSMEs, SMEs, and NGOs — for example those tied to Udyam registration for MSMEs, or sector-specific public funding programs. Coverage depends on your registration type and sector.",
  },
  {
    question: "Do you guarantee we'll be approved for a scheme?",
    answer:
      "No. We help you identify schemes you're genuinely eligible for and prepare a complete, qualifying application. Approval and disbursement decisions rest entirely with the administering government body.",
  },
  {
    question: "What if our registration type isn't eligible for any current scheme?",
    answer:
      "We'll tell you plainly what registration or compliance step is missing, so you know what to address before revisiting government funding options.",
  },
];

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

      <PageHero
        breadcrumb={[
          { label: "Home", href: "/" },
          { label: "Services", href: "/services" },
          { label: "CSR & Grants", href: "/services/csr-and-grants" },
          { label: "Government Funding Guidance" },
        ]}
        eyebrow="CSR & Grants"
        title="Government Funding Guidance"
        description="A structured process to identify the public funding schemes you're genuinely eligible for, and prepare an application that meets their actual requirements."
        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="Public schemes are often missed, not unavailable" />
          <p className="mt-6 text-body-md text-ink-soft">
            Many organizations qualify for a government funding scheme they never apply to, simply because the
            scheme&apos;s eligibility criteria, registration requirements, and application window weren&apos;t visible to them.
            Others apply and are disqualified on a registration or compliance detail that could have been checked in
            advance. ROPTS reviews your registration type, sector, and stage against the published criteria of
            relevant public schemes, flags what&apos;s missing, and helps you prepare an application that reflects the
            scheme&apos;s actual requirements.
          </p>
          <p className="mt-4 text-body-md text-ink-soft">
            ROPTS is not a government body, does not administer any scheme, and does not make award or disbursement
            decisions. Those remain entirely with the relevant government authority.
          </p>
        </div>

        <div className="mt-16 max-w-2xl">
          <SectionHeading eyebrow="The Process" title="Five steps from profile to submission" />
          <div className="mt-8">
            <Timeline steps={process} />
          </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 which government schemes you qualify for?"
        primaryLabel="Apply to Raise Capital"
        primaryHref="/apply/organization"
        secondaryLabel="See How It Works"
        secondaryHref="/how-it-works"
      />
    </>
  );
}
