"use client"; import { useMemo, useState } from "react"; import { Phone, Mail, MapPin, ChevronRight, BarChart3, Tractor, Sprout, MessageCircle, CheckCircle2, Menu, X } from "lucide-react"; "use client"; import { useMemo, useState } from "react"; import { Phone, Mail, MapPin, ChevronRight, Calculator, Sprout, Tractor, MessageCircle, CheckCircle2, Menu, X, BarChart3, Wallet, } from "lucide-react"; export default function AgriPlanSAWebsite() { const [menuOpen, setMenuOpen] = useState(false); const [form, setForm] = useState({ name: "", phone: "", farm: "", message: "", }); const whatsappNumber = "27646537535"; const email = "agriplansa1@gmail.com"; const location = "Balmoral, Mpumalanga"; const whatsappMessage = useMemo(() => { const text = `Hi AgriPlan SA,%0A%0AMy name is ${form.name || "[Your Name]"}.%0APhone: ${form.phone || "[Your Number]"}%0AFarm details: ${form.farm || "[Farm details]"}%0A%0AMessage:%0A${form.message || "I would like help with farm financial planning and crop planning."}`; return `https://wa.me/${whatsappNumber}?text=${text}`; }, [form]); const mailtoLink = useMemo(() => { const subject = encodeURIComponent("New enquiry from AgriPlan SA website"); const body = encodeURIComponent( `Name: ${form.name || ""} Phone: ${form.phone || ""} Farm: ${form.farm || ""} Message: ${form.message || ""}` ); return `mailto:${email}?subject=${subject}&body=${body}`; }, [form]); const services = [ { title: "Farm Financial Planning", description: "We help farmers understand budgets, costs, expected income, and where real profit can be improved.", icon: Wallet, }, { title: "Crop Planning", description: "We guide farmers on what to plant, how much to plant, and how to structure production for better returns.", icon: Sprout, }, { title: "Profitability Analysis", description: "We compare options and identify the farming strategy that gives the strongest profit potential.", icon: BarChart3, }, { title: "Whole Farm Planning", description: "We look at land, equipment, livestock, infrastructure, and production goals to build one practical plan.", icon: Tractor, }, ]; const benefits = [ "Know what to plant and how much to plant", "Improve budgeting and cash flow planning", "Reduce costly production mistakes", "Make better profit-focused decisions", ]; const process = [ { step: "01", title: "Send your farm details", text: "Tell us about your land, machinery, livestock, irrigation, and production goals.", }, { step: "02", title: "We analyse your farm", text: "AgriPlan SA evaluates your resources, financial position, and production opportunities.", }, { step: "03", title: "Receive your plan", text: "You get a practical farm plan focused on smarter decisions and stronger profitability.", }, ]; const trustPoints = [ "Professional farm planning", "South African farming focus", "Profit-driven recommendations", "Direct WhatsApp support", ]; return (
WhatsApp Us
AgriPlan SA
Turning Farms Into Profit
Get Free Analysis
{menuOpen && (
setMenuOpen(false)} className="font-semibold text-slate-700">Home setMenuOpen(false)} className="font-semibold text-slate-700">Services setMenuOpen(false)} className="font-semibold text-slate-700">Process setMenuOpen(false)} className="font-semibold text-slate-700">Contact
)}
Financial Planning • Crop Planning • Profit Strategy

Increase your farm profit with smart planning

AgriPlan SA helps South African farmers make better decisions through professional financial planning, crop planning, and farm profitability analysis.

{benefits.map((item) => (
{item}
))}
Why choose AgriPlan SA

A practical plan, not guesswork

We help farmers understand what to plant, how much to plant, how to budget, and how to improve farm profitability with confidence.

{trustPoints.map((item) => (
{item}
))}
Our Services

Professional farm planning built to improve your bottom line

We work with farmers who want better planning, stronger profit margins, and more confidence in their farming decisions.

{services.map((service) => { const Icon = service.icon; return (

{service.title}

{service.description}

); })}
Farm fields and planning
About AgriPlan SA

Helping farmers plan better and farm smarter

AgriPlan SA is based in Balmoral, Mpumalanga, and focuses on helping farmers improve profitability through better financial planning, crop planning, and practical production strategies.

We look at your farm as a whole — land, equipment, available resources, production options, and financial goals — to build a plan that works for your operation.

How it works

A simple process focused on better results

{process.map((item) => (
STEP {item.step}

{item.title}

{item.text}

))}
Why planning matters

Stop guessing. Start planning.

Many farmers lose money because of poor planning, weak budgeting, and decisions made too late. AgriPlan SA helps you make the right decisions before planting, before spending, and before risk becomes loss.

Contact us

Get your free farm analysis

Send your details and let AgriPlan SA help you plan better, farm smarter, and improve your profitability.

064 653 7535
{email}
{location}
WhatsApp Now Email Us
Enquiry form

Tell us about your farm

Fill in your details and choose whether to contact us by email or WhatsApp.

setForm({ ...form, name: e.target.value })} placeholder="Your name" className="rounded-2xl border border-slate-300 px-4 py-3 outline-none ring-green-700 transition focus:ring-2" /> setForm({ ...form, phone: e.target.value })} placeholder="Phone number" className="rounded-2xl border border-slate-300 px-4 py-3 outline-none ring-green-700 transition focus:ring-2" /> setForm({ ...form, farm: e.target.value })} placeholder="Farm size / location" className="rounded-2xl border border-slate-300 px-4 py-3 outline-none ring-green-700 transition focus:ring-2" />