import { z } from "zod";

export const contactFormSchema = z.object({
    name: z
        .string()
        .min(2, "Name must be at least 2 characters"),

    company_name: z
        .string()
        .min(2, "Company name is required"),

    phone: z
        .string()
        .min(10, "Phone number must be at least 10 digits"),

    email: z
        .string()
        .email("Invalid email address"),

    message: z
        .string()
        .min(5, "Message must be at least 5 characters"),
});

export type ContactFormValues = z.infer<typeof contactFormSchema>;