diff --git a/assets/css/custom.css b/assets/css/custom.css
new file mode 100644
index 0000000..830942a
--- /dev/null
+++ b/assets/css/custom.css
@@ -0,0 +1,63 @@
+/* Custom Styles for Poultry Farm Training Page */
+
+:root {
+ --primary-color: #2c6b2f;
+ --secondary-color: #f7b733;
+ --background-color: #f8f9fa;
+ --surface-color: #ffffff;
+ --text-color: #212529;
+}
+
+body {
+ font-family: 'Helvetica Neue', Arial, sans-serif;
+}
+
+h1, h2, h3, h5 {
+ font-family: 'Georgia', serif;
+}
+
+.hero-section {
+ background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.pexels.com/photos/247597/pexels-photo-247597.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center;
+ background-size: cover;
+ color: white;
+ padding: 100px 0;
+}
+
+.btn-primary {
+ background-color: var(--primary-color);
+ border-color: var(--primary-color);
+ padding: 10px 20px;
+ border-radius: 0.5rem;
+ transition: background-color 0.3s;
+}
+
+.btn-primary:hover {
+ background-color: #1e4a20;
+}
+
+.card {
+ border-radius: 0.25rem;
+ box-shadow: 0 4px 6px rgba(0,0,0,0.1);
+}
+
+#pricing ul {
+ list-style-type: none;
+ padding-left: 0;
+}
+
+#pricing li {
+ padding: 5px 0;
+}
+
+.blockquote {
+ border-left: 4px solid var(--secondary-color);
+ padding-left: 15px;
+}
+
+#signup .form-control {
+ border-radius: 0.25rem;
+}
+
+.bg-light {
+ background-color: var(--background-color) !important;
+}
diff --git a/assets/js/main.js b/assets/js/main.js
new file mode 100644
index 0000000..245376d
--- /dev/null
+++ b/assets/js/main.js
@@ -0,0 +1,48 @@
+document.addEventListener('DOMContentLoaded', function() {
+
+ // Smooth scroll for anchor links
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
+ anchor.addEventListener('click', function (e) {
+ e.preventDefault();
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
+ behavior: 'smooth'
+ });
+ });
+ });
+
+ // AJAX form submission
+ const contactForm = document.getElementById('contact-form');
+ const formFeedback = document.getElementById('form-feedback');
+
+ if (contactForm) {
+ contactForm.addEventListener('submit', function(e) {
+ e.preventDefault();
+
+ const formData = new FormData(this);
+
+ fetch('contact.php', {
+ method: 'POST',
+ body: formData
+ })
+ .then(response => response.json())
+ .then(data => {
+ formFeedback.classList.remove('d-none', 'alert-danger', 'alert-success');
+ if (data.success) {
+ formFeedback.classList.add('alert', 'alert-success');
+ formFeedback.textContent = data.message;
+ contactForm.reset();
+ contactForm.style.display = 'none';
+ } else {
+ formFeedback.classList.add('alert', 'alert-danger');
+ formFeedback.textContent = 'Error: ' + data.message;
+ }
+ })
+ .catch(error => {
+ formFeedback.classList.remove('d-none');
+ formFeedback.classList.add('alert', 'alert-danger');
+ formFeedback.textContent = 'An unexpected error occurred. Please try again.';
+ console.error('Error:', error);
+ });
+ });
+ }
+});
diff --git a/contact.php b/contact.php
new file mode 100644
index 0000000..37614fe
--- /dev/null
+++ b/contact.php
@@ -0,0 +1,38 @@
+ false, 'message' => 'Name and Email are required.']);
+ exit;
+}
+
+if (!filter_var($_POST['email'], FILTER_VALIDATE_EMAIL)) {
+ echo json_encode(['success' => false, 'message' => 'Invalid email format.']);
+ exit;
+}
+
+$name = htmlspecialchars($_POST['name']);
+$email = htmlspecialchars($_POST['email']);
+$message = htmlspecialchars($_POST['message'] ?? 'No message provided.');
+
+// The email body that the admin will receive
+$fullMessage = "New training interest sign-up:\n\nName: {$name}\nEmail: {$email}\n\nMessage:\n{$message}";
+
+// Send email to admin/organizer. The recipient is configured in .env (MAIL_TO)
+$result = MailService::sendContactMessage(
+ $name, // User's name
+ $email, // User's email, used as Reply-To
+ $fullMessage // The message body
+ // $to is omitted, so it falls back to MAIL_TO from config
+);
+
+if (!empty($result['success'])) {
+ echo json_encode(['success' => true, 'message' => 'Thank you for your interest! We will be in touch shortly.']);
+} else {
+ // In a real app, log the detailed error: error_log('MailService Error: ' . $result['error']);
+ echo json_encode(['success' => false, 'message' => 'Sorry, there was an issue sending your message. Please try again later.']);
+}
+
diff --git a/index.php b/index.php
index 7205f3d..4b1a22a 100644
--- a/index.php
+++ b/index.php
@@ -1,150 +1,126 @@
-
-
+
-
-
- New Style
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ Poultry Farm Training - Nigeria
+
+
-
-
-
Analyzing your requirements and generating your website…
-
- Loading…
-
-
= ($_SERVER['HTTP_HOST'] ?? '') === 'appwizzy.com' ? 'AppWizzy' : 'Flatlogic' ?> AI is collecting your requirements and applying the first changes.
-
This page will update automatically as the plan is implemented.
-
Runtime: PHP = htmlspecialchars($phpVersion) ?> — UTC = htmlspecialchars($now) ?>
-
-
-
+
+
+
+
+
+
Course Highlights
+
+
+
+
+
Hands-on Practical
+
Gain practical, real-world experience on a fully-functional poultry farm.
+
+
+
+
+
+
+
Expert Instructors
+
Learn from seasoned professionals with years of experience in the poultry industry.
+
+
+
+
+
+
+
Business Skills
+
Master the financial and management skills needed to run a profitable poultry business.
+
+
+
+
+
+
+
+
+
+
Pricing & Schedule
+
+
+
Upcoming Dates
+
+ - January 15th, 2026
+ - February 12th, 2026
+ - March 18th, 2026
+
+
+
+
Course Fee
+
₦50,000 per participant
+
Includes all training materials and lunch.
+
+
+
+
+
+
+
+
What Our Graduates Say
+
+
+
+ "This training was a game-changer for my farm. I saw a 40% increase in my profits within six months."
+
+
+
+
+
+ "The practical sessions were invaluable. I feel much more confident in managing my flock."
+
+
+
+
+
+
+
+
+
+
Register Your Interest
+
+
+
+
+
+
+
+
+
-
+