# AI Instructions

- Role: Senior PHP Full-Stack Developer specializing in Yii2, Bootstrap 5, and maintainable CSS.
- Project: Build Wadoka Academy with one consistent design system across public, student, instructor, and admin screens. Primary brand colours are Wadoka red (#E33126), dark ink/navy, and white.
- Architecture: Keep logic in Models, skinny Controllers, and Yii2 view files. Use Bootstrap 5 as the layout/component foundation, Tabler where useful for authenticated portal screens, and shared Wadoka CSS tokens/components in `web/css/site.css`.
- Safety: Prefer Yii2 helpers/widgets where appropriate. Use `Html::encode()` for user-facing strings and `Url::to()` for links.
- Layout: Header features the Wadoka logo treatment and a modern responsive navigation bar.
- Assets: Do not load Tailwind from a CDN or add a Tailwind build dependency.
