# HSE Horizon — Laravel

Health, Safety & Environment consultancy marketing site built with **Laravel 12**, **Blade**, **Tailwind CSS v4**, and **Vite**.

## Requirements

- PHP 8.2+
- Composer
- Node.js 18+

## Setup

```bash
composer install
cp .env.example .env
php artisan key:generate
npm install
npm run build
php artisan serve
```

Visit [http://127.0.0.1:8000](http://127.0.0.1:8000).

## Development

Run the Laravel server and Vite dev server together:

```bash
composer dev
```

Or separately:

```bash
php artisan serve
npm run dev
```

## Pages

| Route | Description |
|-------|-------------|
| `/` | Home — hero, services, industries snapshot, locations, clients, contact |
| `/about` | About us — team, mission, values, credentials |
| `/contact` | Contact form and office details |
| `/industries` | Industries we serve (full detail) |
| `/why-hse-horizon` | Why choose HSE Horizon |

## Project structure

- `config/site.php` — shared site content (nav, services, locations)
- `config/about.php`, `config/industries.php`, `config/why.php` — page-specific data
- `resources/views/pages/` — page templates
- `resources/views/partials/` — reusable layout components
- `public/images/` — static images
- `app/Http/Controllers/` — `PageController`, `ContactController`

## Contact form

Submissions are validated and logged. Configure mail in `.env` and wire up `Mail::to()` in `ContactController` to send notifications.
