"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 (
AgriPlan SA helps South African farmers make better decisions through professional financial planning, crop planning, and farm profitability analysis.
We help farmers understand what to plant, how much to plant, how to budget, and how to improve farm profitability with confidence.
We work with farmers who want better planning, stronger profit margins, and more confidence in their farming decisions.
{service.description}
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.
{item.text}
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.
Send your details and let AgriPlan SA help you plan better, farm smarter, and improve your profitability.
Fill in your details and choose whether to contact us by email or WhatsApp.