academy/resources/views/welcome.blade.php

610 lines
19 KiB
PHP

@extends('layouts.app')
@section('title', 'Home')
@push('styles')
<link rel="preload" as="image"
href="https://images.unsplash.com/photo-1517524206127-48bbd363f3d7?auto=format&fit=crop&w=1600&q=80"
fetchpriority="high">
<link rel="stylesheet" href="{{ asset('css/pages/home.css') }}">
@endpush
@section('content')
<style>
:root{
--primary:#5E244E;
--secondary:#8B3A74;
--light:#F8F4F7;
--dark:#2F1027;
--gold:#FFC107;
--card-border: rgba(94, 36, 78, 0.06);
--text-muted: #6a6f73;
--success-green: #1f8a4c;
--accent-blue: #17a2b8;
/* Why Choose Us Premium Theme Colors */
--why-primary: #1A052E;
--why-gold: #FFC107;
--why-dark: #0F031C;
}
/* ===== Font & Base ===== */
body{
font-family: Arial, Helvetica, sans-serif;
}
.section{
padding:90px 0;
}
.section-title, h2, h3, h4, h5, h6{
font-family: Arial, Helvetica, sans-serif;
font-weight:700;
color:#5E244E;
}
/* ===== Buttons ===== */
.btn-theme{
background:#5E244E;
color:#fff;
border:2px solid #5E244E;
padding:14px 35px;
border-radius:40px;
font-weight:600;
transition:.3s;
}
.btn-theme:hover{
background:#8B3A74;
border-color:#8B3A74;
color:#fff;
transform:translateY(-3px);
}
.btn-outline-theme{
background:transparent;
color:#fff;
border:2px solid #fff;
padding:12px 32px;
border-radius:40px;
font-weight:600;
transition:.3s;
}
.btn-outline-theme:hover{
background:#fff;
color:#5E244E;
}
.btn-outline-light-custom{
background:#FFC107;
color:#000;
border:2px solid #FFC107;
padding:12px 32px;
border-radius:40px;
font-weight:600;
transition:.3s;
}
.btn-outline-light-custom:hover{
background:#ffcd39;
border-color:#ffcd39;
color:#000;
}
/* ===== Hero ===== */
.hero {
height:650px;
background: linear-gradient(rgba(0, 0, 0, 0.65),rgba(30,10,25,.65)),
url('https://images.unsplash.com/photo-1517524206127-48bbd363f3d7?auto=format&fit=crop&w=1600&q=80');
background-size: cover;
background-position: center;
}
.hero-content{
height:100%;
display:flex;
align-items:center;
justify-content:center;
flex-direction:column;
color:#fff;
padding-top: 38px;
}
.hero h1{
font-size:60px;
font-weight:700;
margin-top: 75px;
}
.hero p{
font-size:22px;
max-width:700px;
}
/* ===== PREMIUM COURSES SECTION (NEW CONCEPT) ===== */
.courses-section {
background-color: #fbfafc;
}
.course-card {
border: 1px solid var(--card-border);
/* border-radius: 24px; */
overflow: hidden;
background: #fff;
transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
box-shadow: 0 10px 30px rgba(94, 36, 78, 0.02);
}
.course-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 40px rgba(94, 36, 78, 0.08);
border-color: rgba(94, 36, 78, 0.15);
}
.course-image-wrapper {
position: relative;
padding: 12px;
overflow: hidden;
}
.course-card img {
height: 200px;
width: 100%;
object-fit: cover;
/* border-radius: 18px; */
transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.course-card:hover img {
transform: scale(1.04);
}
/* Floating Badge with glass effect */
.badge-floating {
position: absolute;
top: 24px;
left: 24px;
background: rgba(94, 36, 78, 0.85);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
color: #fff;
font-weight: 700;
font-size: 11px;
padding: 6px 14px;
border-radius: 30px;
text-transform: uppercase;
letter-spacing: 0.05em;
box-shadow: 0 4px 15px rgba(94, 36, 78, 0.15);
z-index: 2;
}
.course-card .card-body {
padding: 24px;
padding-top: 12px;
display: flex;
flex-direction: column;
text-align: left;
}
.course-title {
font-size: 21px;
font-weight: 800;
line-height: 1.3;
color: var(--dark);
margin-bottom: 8px;
transition: color 0.3s ease;
}
.course-card:hover .course-title {
color: var(--secondary);
}
.course-author {
font-size: 13px;
font-weight: 500;
color: var(--text-muted);
margin-bottom: 16px;
display: flex;
align-items: center;
gap: 6px;
}
.course-short-desc {
font-size: 14px;
color: #55595d;
margin-bottom: 20px;
line-height: 1.6;
}
/* Premium Feature Pills */
.course-features-container {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 20px;
}
.feature-pill {
background: rgba(31, 138, 76, 0.06);
color: var(--success-green);
font-size: 12px;
font-weight: 600;
padding: 6px 12px;
border-radius: 10px;
display: inline-flex;
align-items: center;
gap: 6px;
}
.course-meta-row {
display: flex;
align-items: center;
justify-content: space-between;
padding-top: 15px;
border-top: 1px dashed rgba(94, 36, 78, 0.1);
margin-bottom: 20px;
}
.rating-star {
color: #e5981d;
font-weight: 700;
font-size: 14px;
display: flex;
align-items: center;
gap: 4px;
}
.rating-count {
color: var(--text-muted);
font-size: 13px;
font-weight: 500;
}
.course-footer {
margin-top: auto;
}
/* Clean Premium Action Button */
.read-btn {
background: transparent;
color: var(--primary);
border: 2px solid var(--primary);
padding: 11px 30px;
font-weight: 700;
border-radius: 30px;
font-size: 14px;
transition: all 0.3s ease;
text-decoration: none;
display: inline-block;
text-align: center;
width: 100%;
}
.read-btn:hover {
background: var(--primary);
color: #fff;
box-shadow: 0 8px 20px rgba(94, 36, 78, 0.2);
transform: translateY(-2px);
}
/* ===== WHY CHOOSE US ===== */
.why-section {
background: var(--why-primary);
overflow-x: hidden;
}
.why-section h2 {
color: #fff !important;
}
.backdrop-blur {
background: rgba(255, 255, 255, 0.04);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.custom-feature-card {
transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.custom-feature-card:hover {
transform: translateY(-5px);
background: rgba(255, 255, 255, 0.08);
border-color: rgba(255, 193, 7, 0.3) !important;
}
.custom-feature-card .icon-box {
transition: all 0.3s ease;
background: rgba(255, 193, 7, 0.1) !important;
}
.custom-feature-card .icon-box i {
color: var(--why-gold) !important;
}
.custom-feature-card:hover .icon-box {
background: var(--why-gold) !important;
}
.custom-feature-card:hover .icon-box i {
color: var(--why-dark) !important;
}
/* ===== Animations ===== */
.animate-on-scroll {
opacity: 0;
transition: all 1s ease-out;
}
.fade-up-init {
transform: translateY(40px);
}
.fade-left-init {
transform: translateX(50px);
}
.fade-right-init {
transform: translateX(-50px);
}
.zoom-in-init {
transform: scale(0.9);
}
.animate-on-scroll.animated {
opacity: 1;
transform: translateY(0) translateX(0) scale(1);
}
.z-2 { z-index: 2; }
.fw-extrabold { font-weight: 800; }
.tracking-wider { letter-spacing: 0.15em; }
</style>
{{-- ===================== HERO ===================== --}}
<section class="hero" role="banner" aria-label="Automobile Engineering Academy introduction">
<div class="container">
<div class="hero-content text-center animate-on-scroll animated fade-up-init">
<h1 class="display-4 fw-bold">
Automobile Engineering Academy
</h1>
<p>
Driving Innovation Through Education, Research &amp; Technology
</p>
<div class="d-flex flex-wrap justify-content-center gap-3 mt-3">
<a href="{{ Route::has('apply') ? route('apply') : '#' }}" class="btn btn-theme">
<i class="fa-solid fa-user-plus me-2"></i> Apply Now
</a>
<a href="/courses" class="btn btn-outline-theme">
<i class="fa-solid fa-book-open me-2"></i> Explore Courses
</a>
<a href="mailto:imadhigp@gmail.com" class="btn btn-outline-light-custom">
<i class="fa-solid fa-phone me-2"></i> Contact Admissions
</a>
</div>
</div>
</div>
</section>
{{-- ===================== OUR COURSES ===================== --}}
<section class="section py-5 courses-section" aria-labelledby="courses-heading">
<div class="container py-5">
<div class="text-center mb-5 animate-on-scroll fade-up-init">
<span class="text-uppercase tracking-wider fw-bold small mb-2 d-block" style="color: var(--primary) !important;">Academic Programs</span>
<h2 id="courses-heading" class="display-5 fw-extrabold mb-3 position-relative d-inline-block">
Our Top Courses
</h2>
<p class="text-muted mt-3 fs-5">
Explore our professional, industry-recognized automotive engineering curriculums.
</p>
</div>
@php
$courses = [
[
'image' => 'https://images.unsplash.com/photo-1486262715619-67b85e0b08d3?auto=format&fit=crop&w=800&q=80',
'title' => 'Automotive Engineering Course',
'desc' => 'Learn vehicle design, engine technology, diagnostics and manufacturing.',
'author' => 'Automotive Engineering Dept.',
'rating' => '4.9',
'students' => '1.2k students',
'badge' => 'Popular'
],
[
'image' => 'https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=800&q=80',
'title' => 'Mechanical Systems Course',
'desc' => 'Study transmission systems, suspension, braking and vehicle maintenance.',
'author' => 'Tech & Service Campus',
'rating' => '4.7',
'students' => '850 students',
'badge' => 'Bestseller'
],
[
'image' => 'https://images.unsplash.com/photo-1502877338535-766e1452684a?auto=format&fit=crop&w=800&q=80',
'title' => 'Electric Vehicle Technology Course',
'desc' => 'Master EV batteries, powertrains, charging systems and smart mobility.',
'author' => 'EV Research Institute',
'rating' => '4.8',
'students' => '640 students',
'badge' => 'New'
],
];
@endphp
<div class="row g-4 mb-5">
@foreach($courses as $index => $course)
<div class="col-lg-4 col-md-6 animate-on-scroll fade-up-init" style="transition-delay: {{ $index * 150 }}ms;">
<div class="card course-card h-100">
<div class="course-image-wrapper">
<span class="badge-floating">{{ $course['badge'] }}</span>
<img src="{{ $course['image'] }}" alt="{{ $course['title'] }}" loading="lazy" decoding="async">
</div>
<div class="card-body">
<h4 class="course-title">{{ $course['title'] }}</h4>
<div class="course-author">
<i class="fa-solid fa-graduation-cap"></i> {{ $course['author'] }}
</div>
<p class="course-short-desc">{{ $course['desc'] }}</p>
<!-- Modern Soft Pill Badges -->
<div class="course-features-container">
<span class="feature-pill"><i class="fas fa-tools"></i> Practical Labs</span>
<span class="feature-pill"><i class="fas fa-certificate"></i> Accredited</span>
</div>
<div class="course-meta-row">
<span class="rating-star">
<i class="fas fa-star"></i> {{ $course['rating'] }}
<span class="rating-count">({{ $course['students'] }})</span>
</span>
<span class="text-success fw-bold small"><i class="fa-solid fa-circle-check me-1"></i> Active</span>
</div>
<div class="course-footer">
<a href="/courses" class="read-btn">
View Details <i class="fa-solid fa-arrow-right ms-1 small"></i>
</a>
</div>
</div>
</div>
</div>
@endforeach
</div>
<div class="text-center animate-on-scroll fade-up-init">
<a href="/courses" class="btn btn-theme" style="border-radius: 40px;">
View All Courses <i class="fa-solid fa-arrow-right ms-2"></i>
</a>
</div>
</div>
</section>
{{-- ===================== WHY CHOOSE US ===================== --}}
<section class="why-section position-relative overflow-hidden text-white" aria-labelledby="why-us-heading" style="min-height: 600px;">
<div class="position-absolute top-0 start-0 w-100 h-100" style="z-index: 1;">
<img src="https://images.unsplash.com/photo-1487754180451-c456f719a1fc?auto=format&fit=crop&w=1600&q=80"
alt="Automotive Engineering Lab"
class="w-100 h-100"
style="object-fit: cover;"
loading="lazy"
decoding="async">
<div class="position-absolute top-0 start-0 w-100 h-100"
style="background: linear-gradient(135deg, rgba(26, 5, 46, 0.96) 0%, rgba(15, 3, 28, 0.85) 100%);">
</div>
</div>
<div class="container position-relative py-5 z-2">
<div class="row justify-content-center text-center mb-5">
<div class="col-lg-8 animate-on-scroll fade-up-init">
<h2 id="why-us-heading" class="fw-extrabold display-4 mb-3 text-uppercase position-relative d-inline-block" style="color: #fff;">
Why Choose Us?
<span class="position-absolute start-50 translate-middle-x bottom-0 bg-warning rounded" style="height: 4px; width: 60px; bottom: -10px !important; background-color: var(--why-gold) !important;"></span>
</h2>
</div>
</div>
<div class="row g-4 justify-content-center animate-on-scroll fade-up-init">
<div class="col-md-6 col-lg-4">
<div class="custom-feature-card h-100 p-4 rounded-4 shadow-sm border backdrop-blur">
<div class="icon-box mb-3 rounded-3 p-3 d-inline-block">
<i class="fa-solid fa-flask-vial fs-3"></i>
</div>
<h4 class="fs-5 fw-bold mb-2 text-white">Modern Laboratories</h4>
<p class="small text-white-50 mb-0">State-of-the-art facilities equipped with the latest technology for practical learning.</p>
</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="custom-feature-card h-100 p-4 rounded-4 shadow-sm border backdrop-blur">
<div class="icon-box mb-3 rounded-3 p-3 d-inline-block">
<i class="fa-solid fa-graduation-cap fs-3"></i>
</div>
<h4 class="fs-5 fw-bold mb-2 text-white">Qualified Lecturers</h4>
<p class="small text-white-50 mb-0">Learn from experienced industry professionals and academic experts.</p>
</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="custom-feature-card h-100 p-4 rounded-4 shadow-sm border backdrop-blur">
<div class="icon-box mb-3 rounded-3 p-3 d-inline-block">
<i class="fa-solid fa-car fs-3"></i>
</div>
<h4 class="fs-5 fw-bold mb-2 text-white">Hands-on Training</h4>
<p class="small text-white-50 mb-0">Gain real-world experience through direct practical training on vehicles.</p>
</div>
</div>
<div class="col-md-6 col-lg-6">
<div class="custom-feature-card h-100 p-4 rounded-4 shadow-sm border backdrop-blur">
<div class="icon-box mb-3 rounded-3 p-3 d-inline-block">
<i class="fa-solid fa-charging-station fs-3"></i>
</div>
<h4 class="fs-5 fw-bold mb-2 text-white">EV Research Center</h4>
<p class="small text-white-50 mb-0">Advanced research center dedicated to Hybrid and Electric Vehicle technologies.</p>
</div>
</div>
<div class="col-md-6 col-lg-6">
<div class="custom-feature-card h-100 p-4 rounded-4 shadow-sm border backdrop-blur">
<div class="icon-box mb-3 rounded-3 p-3 d-inline-block">
<i class="fa-solid fa-briefcase fs-3"></i>
</div>
<h4 class="fs-5 fw-bold mb-2 text-white">Internship Opportunities</h4>
<p class="small text-white-50 mb-0">Guaranteed industrial placements to kickstart your professional career.</p>
</div>
</div>
</div>
</div>
</section>
{{-- ===================== CALL TO ACTION ===================== --}}
<section class="section py-5 animate-on-scroll zoom-in-init">
<div class="container text-center">
<h2 class="fw-bold mb-3">
Join the Future of Automotive Engineering
</h2>
<p class="text-muted mb-4">
Shape the future with innovation, technology and practical learning.
</p>
<a href="{{ Route::has('apply') ? route('apply') : '#' }}" class="btn btn-theme">
<i class="fa-solid fa-user-plus me-2"></i> Apply Now
</a>
</div>
</section>
<script>
document.addEventListener('DOMContentLoaded', function () {
const animatedElements = document.querySelectorAll('.animate-on-scroll');
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('animated');
observer.unobserve(entry.target);
}
});
}, {
threshold: 0.15
});
animatedElements.forEach(el => observer.observe(el));
});
</script>
@endsection