@php
    $variant = $section->getSetting('variant', 'fullscreen');
    $validVariants = ['fullscreen', 'split_right', 'split_left', 'centered_minimal', 'video_bg', 'slideshow'];
    if (!in_array($variant, $validVariants)) {
        $variant = 'fullscreen';
    }
@endphp

@include("website.sections.hero.{$variant}", [
    'section' => $section,
    'academy' => $academy,
    'settings' => $settings,
    'data' => $data,
])
