580 lines
20 KiB
PHP
580 lines
20 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 {
|
|
/* Modern, Sleek Automotive Palette */
|
|
--primary: #0F2C59; /* Deep Navy (Professional, Academic, Trustworthy) */
|
|
--secondary: #E36414; /* Electric Industrial Orange (Perfect automotive accent, highly visible) */
|
|
--secondary-hover: #C5530E; /* Deeper burnt orange for polished hover effects */
|
|
--accent-light: #E6FFFA; /* Ice Blue/Teal Mint tint for readable overlay text */
|
|
--accent-blue: #3085C3; /* Premium Tech Blue for badges and active states */
|
|
--bg-light: #F4F6F9; /* Soft slate light gray to prevent pure-white eyesore */
|
|
|
|
/* Semantic Adjustments */
|
|
--text-main: #1E293B; /* Slate dark grey (much easier to read than bright blue) */
|
|
--text-muted: #64748B; /* Neutral gray for subtitles */
|
|
--card-border: rgba(15, 44, 89, 0.08);
|
|
--shadow-color: rgba(15, 44, 89, 0.06);
|
|
}
|
|
|
|
/* ===== Global Improvements ===== */
|
|
body {
|
|
font-family: 'Segoe UI', Arial, sans-serif; /* Cleaner modern font stack */
|
|
color: var(--text-main);
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
.section {
|
|
padding: 53px 0;
|
|
}
|
|
|
|
.section-title, h2, h3, h4, h5, h6 {
|
|
font-family: 'Segoe UI', Arial, sans-serif;
|
|
font-weight: 700;
|
|
color: var(--primary);
|
|
}
|
|
|
|
/* ===== Premium Theme Buttons ===== */
|
|
.btn-theme {
|
|
background: #3B4E73;
|
|
color: #fff;
|
|
border: 2px solid #FFF;
|
|
padding: 14px 35px;
|
|
border-radius: 40px;
|
|
font-weight: 600;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-theme:hover {
|
|
background: var(--secondary-hover);
|
|
border-color: var(--secondary-hover);
|
|
color: #fff;
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 8px 20px rgba(227, 100, 20, 0.3);
|
|
}
|
|
|
|
.btn-outline-theme {
|
|
background: transparent;
|
|
color: #fff;
|
|
border: 2px solid #fff;
|
|
padding: 12px 32px;
|
|
border-radius: 40px;
|
|
font-weight: 600;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-outline-theme:hover {
|
|
background: #fff;
|
|
color: var(--primary);
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
.btn-outline-light-custom {
|
|
background: #f2e862;
|
|
color: #000000;
|
|
border: 2px solid rgba(255, 255, 255, 0.25);
|
|
padding: 12px 32px;
|
|
border-radius: 40px;
|
|
font-weight: 600;
|
|
backdrop-filter: blur(5px);
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-outline-light-custom:hover {
|
|
background: #fff;
|
|
color: var(--primary);
|
|
border-color: #fff;
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
/* ===== Hero Section ===== */
|
|
.hero {
|
|
height: 650px;
|
|
/* Deep blue to slate blue gradient for rich tech aesthetic */
|
|
background: linear-gradient(rgba(207, 226, 255, 0.88), rgba(0, 9, 15, 0.75)), url('https://images.unsplash.com/photo-1517524206127-48bbd363f3d7?auto=format&fit=crop&w=1600&q=80');
|
|
background-position: center;
|
|
background-size: cover;
|
|
}
|
|
|
|
.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: 800;
|
|
margin-top: -87px;
|
|
text-shadow: 0 2px 15px rgba(0,0,0,0.3);
|
|
}
|
|
|
|
.hero p {
|
|
font-size: 22px;
|
|
max-width: 700px;
|
|
color: #E2E8F0;
|
|
}
|
|
|
|
/* ===== Academic Courses Section ===== */
|
|
.courses-section {
|
|
background-color: var(--bg-light);
|
|
}
|
|
|
|
.course-card {
|
|
border: 1px solid var(--card-border);
|
|
/* border-radius: 16px; */
|
|
overflow: hidden;
|
|
background: #fff;
|
|
transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
|
|
box-shadow: 0 8px 30px var(--shadow-color);
|
|
}
|
|
|
|
.course-card:hover {
|
|
transform: translateY(-8px);
|
|
box-shadow: 0 16px 40px rgba(15, 44, 89, 0.12);
|
|
border-color: rgba(48, 133, 195, 0.3);
|
|
}
|
|
|
|
.course-image-wrapper {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.course-card img {
|
|
height: 220px;
|
|
width: 100%;
|
|
object-fit: cover;
|
|
transition: transform 0.5s ease;
|
|
}
|
|
|
|
.course-card:hover img {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.badge-floating {
|
|
position: absolute;
|
|
top: 20px;
|
|
left: 20px;
|
|
background: #BC1A1A;
|
|
color: #fff;
|
|
font-weight: 700;
|
|
font-size: 11px;
|
|
padding: 6px 14px;
|
|
border-radius: 30px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
z-index: 2;
|
|
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
|
|
}
|
|
|
|
.course-card .card-body {
|
|
padding: 24px;
|
|
}
|
|
|
|
.course-title {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
color: var(--primary);
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.course-author {
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
color: var(--accent-blue);
|
|
margin-bottom: 15px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.course-short-desc {
|
|
font-size: 14px;
|
|
color: #556575;
|
|
line-height: 1.6;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.course-features-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.feature-pill {
|
|
background: rgba(48, 133, 195, 0.08);
|
|
color: var(--accent-blue);
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
padding: 6px 12px;
|
|
border-radius: 8px;
|
|
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 solid rgba(15, 44, 89, 0.08);
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.rating-star {
|
|
color: #f39c12;
|
|
font-weight: 700;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.rating-count {
|
|
color: var(--text-muted);
|
|
font-weight: 500;
|
|
}
|
|
|
|
.read-btn {
|
|
background: transparent;
|
|
color: var(--primary);
|
|
border: 2px solid var(--primary);
|
|
padding: 12px 24px;
|
|
font-weight: 700;
|
|
border-radius: 30px;
|
|
font-size: 14px;
|
|
transition: all 0.3s ease;
|
|
text-decoration: none;
|
|
display: block;
|
|
text-align: center;
|
|
}
|
|
|
|
.course-card:hover .read-btn {
|
|
background: var(--primary);
|
|
border-color: var(--primary);
|
|
color: #fff;
|
|
}
|
|
|
|
/* ===== Why Choose Us ===== */
|
|
.why-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(rgba(81, 78, 117, 0.94), rgba(0, 9, 15, 0.88)), url('https://images.unsplash.com/photo-1581093803931-46e730e7622e?auto=format&fit=crop&w=1600&q=80');
|
|
background-position: center;
|
|
background-size: cover;
|
|
z-index: 1;
|
|
}
|
|
/* .why-overlay {
|
|
position: absolute;
|
|
top: 0; left: 0; width: 100%; height: 100%;
|
|
background: linear-gradient(rgba(207, 226, 255, 0.88), rgba(0, 9, 15, 0.75)), url('https://images.unsplash.com/photo-1517524206127-48bbd363f3d7?auto=format&fit=crop&w=1600&q=80')
|
|
|
|
z-index: 1;
|
|
} */
|
|
|
|
.why-content-wrapper {
|
|
position: relative;
|
|
z-index: 2;
|
|
}
|
|
|
|
.section-divider {
|
|
height: 4px;
|
|
width: 60px;
|
|
background-color: var(--secondary);
|
|
margin: 15px auto 0 auto;
|
|
border-radius: 2px;
|
|
}
|
|
|
|
.custom-feature-card {
|
|
background: rgba(255, 255, 255, 0.43);
|
|
backdrop-filter: blur(10px);
|
|
-webkit-backdrop-filter: blur(10px);
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 16px;
|
|
padding: 30px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.custom-feature-card:hover {
|
|
transform: translateY(-5px);
|
|
background: rgba(255, 255, 255, 0.07);
|
|
border-color: rgba(255, 255, 255, 0.2);
|
|
}
|
|
|
|
.icon-box {
|
|
background: rgba(255, 255, 255, 0.1);
|
|
color: #FFE618;
|
|
width: 60px;
|
|
height: 60px;
|
|
border-radius: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 20px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.custom-feature-card:hover .icon-box {
|
|
background: white;
|
|
color: #FFE618;
|
|
}
|
|
|
|
/* ===== Animations ===== */
|
|
.animate-on-scroll {
|
|
opacity: 0;
|
|
transition: all 0.8s ease-out;
|
|
}
|
|
|
|
.fade-up-init { transform: translateY(30px); }
|
|
.zoom-in-init { transform: scale(0.95); }
|
|
.animate-on-scroll.animated {
|
|
opacity: 1;
|
|
transform: translateY(0) scale(1);
|
|
}
|
|
</style>
|
|
|
|
{{-- ===================== HERO ===================== --}}
|
|
<section class="hero" role="banner" aria-label="Automobile Engineering Academy Introduction">
|
|
<div class="container h-100">
|
|
<div class="hero-content text-center animate-on-scroll animated fade-up-init">
|
|
<h1 class="display-4">Automobile Engineering Academy</h1>
|
|
<p class="mb-4">Driving Innovation Through Education, Research & Technology</p>
|
|
|
|
<div class="d-flex flex-wrap justify-content-center gap-3" >
|
|
<a href="{{ Route::has('apply') ? route('apply') : '#' }}" class="btn btn-theme" style="background: #822424;">
|
|
<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>
|
|
|
|
{{-- ===================== COURSES SECTION ===================== --}}
|
|
<section class="section courses-section" aria-labelledby="courses-heading">
|
|
<div class="container">
|
|
|
|
<div class="text-center mb-5 animate-on-scroll fade-up-init">
|
|
<span class="text-uppercase fw-bold small d-block mb-2" style="color: var(--secondary); letter-spacing: 0.1em;">Academic Programs</span>
|
|
<h2 id="courses-heading" class="display-5 mb-2">Our Top Courses</h2>
|
|
<p class="text-muted 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 workflows comprehensively.',
|
|
'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 power transmission systems, active suspension, breaking dynamics and diagnostics.',
|
|
'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 Tech Course',
|
|
'desc' => 'Master advanced EV battery management, powertrains, smart networks and electric mobility.',
|
|
'author' => 'EV Research Institute',
|
|
'rating' => '4.8',
|
|
'students' => '640 students',
|
|
'badge' => 'New'
|
|
]
|
|
];
|
|
@endphp
|
|
|
|
<div class="row g-4 mb-5">
|
|
@foreach($courses as $key => $course)
|
|
<div class="col-lg-4 col-md-6 animate-on-scroll fade-up-init" style="transition-delay: {{ $key * 100 }}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">
|
|
</div>
|
|
<div class="card-body d-flex flex-column justify-content-between">
|
|
<div>
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<div>
|
|
<div class="course-meta-row">
|
|
<span class="rating-star">
|
|
<i class="fas fa-star me-1"></i>{{ $course['rating'] }}
|
|
<span class="rating-count">({{ $course['students'] }})</span>
|
|
</span>
|
|
<span class="small fw-bold" style="color: #2ecc71;"><i class="fa-solid fa-circle-check me-1"></i>Active</span>
|
|
</div>
|
|
<a href="/courses" class="read-btn">View Details</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endforeach
|
|
</div>
|
|
|
|
<div class="text-center animate-on-scroll fade-up-init">
|
|
<a href="/courses" class="btn btn-theme">
|
|
View All Courses <i class="fa-solid fa-arrow-right ms-2"></i>
|
|
</a>
|
|
</div>
|
|
|
|
</div>
|
|
</section>
|
|
|
|
{{-- ===================== WHY CHOOSE US ===================== --}}
|
|
<!-- <section class="section why-section text-white" aria-labelledby="why-us-heading">
|
|
<div class="why-overlay"></div>
|
|
<div class="position-absolute top-0 start-0 w-100 h-100">
|
|
<img src="https://images.unsplash.com/photo-1487754180451-c456f719a1fc?auto=format&fit=crop&w=1600&q=80"
|
|
alt="Background Lab" class="w-100 h-100" style="object-fit: cover; opacity: 0.15;">
|
|
</div>
|
|
|
|
<div class="container why-content-wrapper">
|
|
<div class="text-center mb-5 animate-on-scroll fade-up-init">
|
|
<h2 id="why-us-heading" class="display-5 text-white mb-0">Why Choose Us?</h2>
|
|
<div class="section-divider"></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">
|
|
<div class="icon-box"><i class="fa-solid fa-flask-vial fs-4"></i></div>
|
|
<h4 class="text-white fs-5 mb-2">Modern Laboratories</h4>
|
|
<p class="text-white-50 small mb-0">State-of-the-art facilities equipped with latest industrial testing tools.</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-md-6 col-lg-4">
|
|
<div class="custom-feature-card h-100">
|
|
<div class="icon-box"><i class="fa-solid fa-graduation-cap fs-4"></i></div>
|
|
<h4 class="text-white fs-5 mb-2">Qualified Lecturers</h4>
|
|
<p class="text-white-50 small mb-0">Learn directly from veteran automotive engineers and researchers.</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="col-md-6 col-lg-4">
|
|
<div class="custom-feature-card h-100">
|
|
<div class="icon-box"><i class="fa-solid fa-car fs-4"></i></div>
|
|
<h4 class="text-white fs-5 mb-2">Hands-on Training</h4>
|
|
<p class="text-white-50 small mb-0">Gain real-world diagnostics experience inside our dedicated workshop floors.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section> -->
|
|
|
|
<section class="section why-section text-white position-relative overflow-hidden" aria-labelledby="why-us-heading" style="background-attachment: fixed;">
|
|
<div class="why-overlay"></div>
|
|
<div class="position-absolute top-0 start-0 w-100 h-100" style="z-index: 0;">
|
|
<img src="https://images.unsplash.com/photo-1487754180451-c456f719a1fc?auto=format&fit=crop&w=1600&q=80"
|
|
alt="Background Lab" class="w-100 h-100" style="object-fit: cover; opacity: 0.12; filter: grayscale(30%) brightness(80%);">
|
|
</div>
|
|
|
|
<div class="container why-content-wrapper position-relative" style="z-index: 2;">
|
|
<div class="text-center mb-5 animate-on-scroll fade-up-init">
|
|
<h2 id="why-us-heading" class="display-5 text-white mb-0 fw-bold" style="letter-spacing: -0.02em;">Why Choose Us?</h2>
|
|
<!-- <div class="section-divider" style="transform: scaleX(1.2);"></div> -->
|
|
</div>
|
|
|
|
<div class="row g-4 justify-content-center animate-on-scroll fade-up-init">
|
|
{{-- Modern Laboratories --}}
|
|
<div class="col-md-6 col-lg-4">
|
|
<div class="custom-feature-card h-100 d-flex flex-column align-items-center text-center p-4" style="border-radius: 20px; transition: all 0.4s ease;">
|
|
<div class="icon-box d-flex align-items-center justify-content-center" style="box-shadow: 0 10px 20px rgba(0,0,0,0.15); border-radius: 16px;">
|
|
<i class="fa-solid fa-flask-vial fs-3 fa-beat-hover" style="--fa-animation-duration: 1.5s;"></i>
|
|
</div>
|
|
<h4 class="text-white fs-5 mb-3 fw-semibold">Modern Laboratories</h4>
|
|
<p class="text-white-50 small mb-0 lh-base">State-of-the-art facilities equipped with latest industrial testing tools.</p>
|
|
</div>
|
|
</div>
|
|
|
|
{{-- Qualified Lecturers --}}
|
|
<div class="col-md-6 col-lg-4">
|
|
<div class="custom-feature-card h-100 d-flex flex-column align-items-center text-center p-4" style="border-radius: 20px; transition: all 0.4s ease;">
|
|
<div class="icon-box d-flex align-items-center justify-content-center" style="box-shadow: 0 10px 20px rgba(0,0,0,0.15); border-radius: 16px;">
|
|
<i class="fa-solid fa-graduation-cap fs-3 fa-bounce-hover"></i>
|
|
</div>
|
|
<h4 class="text-white fs-5 mb-3 fw-semibold">Qualified Lecturers</h4>
|
|
<p class="text-white-50 small mb-0 lh-base">Learn directly from veteran automotive engineers and researchers.</p>
|
|
</div>
|
|
</div>
|
|
|
|
{{-- Hands-on Training --}}
|
|
<div class="col-md-6 col-lg-4">
|
|
<div class="custom-feature-card h-100 d-flex flex-column align-items-center text-center p-4" style="border-radius: 20px; transition: all 0.4s ease;">
|
|
<div class="icon-box d-flex align-items-center justify-content-center" style="box-shadow: 0 10px 20px rgba(0,0,0,0.15); border-radius: 16px;">
|
|
<i class="fa-solid fa-car fs-3 fa-shake-hover"></i>
|
|
</div>
|
|
<h4 class="text-white fs-5 mb-3 fw-semibold">Hands-on Training</h4>
|
|
<p class="text-white-50 small mb-0 lh-base">Gain real-world diagnostics experience inside our dedicated workshop floors.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
{{-- ===================== CALL TO ACTION ===================== --}}
|
|
<section class="section py-5 text-center animate-on-scroll zoom-in-init">
|
|
<div class="container">
|
|
<h2 class="display-6 mb-3">Join the Future of Automotive Engineering</h2>
|
|
<p class="text-muted mb-4 max-width-600 mx-auto">Shape your technical career through modern innovation, practical mastery, and expert guidance.</p>
|
|
<a href="{{ Route::has('apply') ? route('apply') : '#' }}" class="btn btn-theme" style="background: #822424;">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.1 });
|
|
animatedElements.forEach(el => observer.observe(el));
|
|
});
|
|
</script>
|
|
|
|
@endsection |