Compare commits

...

1 Commits

Author SHA1 Message Date
imadhigp 4f3a79c114 7/16 push home 2026-07-16 19:20:24 +05:30
1 changed files with 236 additions and 123 deletions

View File

@ -18,9 +18,15 @@
--light:#F8F4F7; --light:#F8F4F7;
--dark:#2F1027; --dark:#2F1027;
--gold:#FFC107; --gold:#FFC107;
--card-border: #efeff4; --card-border: rgba(94, 36, 78, 0.06);
--text-muted: #6a6f73; --text-muted: #6a6f73;
--success-green: #1f8a4c; --success-green: #1f8a4c;
--accent-blue: #17a2b8;
/* Why Choose Us Premium Theme Colors */
--why-primary: #1A052E;
--why-gold: #FFC107;
--why-dark: #0F031C;
} }
/* ===== Font & Base ===== */ /* ===== Font & Base ===== */
@ -117,39 +123,66 @@ body{
max-width:700px; max-width:700px;
} }
/* ===== PREMIUM COURSES SECTION (NEW CONCEPT) ===== */
.courses-section {
background-color: #fbfafc;
}
.course-card { .course-card {
border: 1px solid var(--card-border); border: 1px solid var(--card-border);
/* border-radius: 20px; */ /* border-radius: 24px; */
overflow: hidden; overflow: hidden;
/* background: #fff; */ background: #fff;
transition: transform 0.3s ease, box-shadow 0.3s ease; 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 { .course-card:hover {
transform: translateY(-5px); transform: translateY(-8px);
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08); box-shadow: 0 20px 40px rgba(94, 36, 78, 0.08);
border-color: rgba(94, 36, 78, 0.15);
} }
.course-image-wrapper { .course-image-wrapper {
padding: 16px 16px 0 16px; position: relative;
padding: 12px;
overflow: hidden; overflow: hidden;
} }
.course-card img { .course-card img {
height: 190px; height: 200px;
width: 100%; width: 100%;
object-fit: cover; object-fit: cover;
/* border-radius: 14px; */ /* border-radius: 18px; */
transition: 0.5s; transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
} }
.course-card:hover img { .course-card:hover img {
transform: scale(1.05); 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 { .course-card .card-body {
padding: 20px 24px 24px 24px; padding: 24px;
padding-top: 12px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
text-align: left; text-align: left;
@ -157,45 +190,65 @@ body{
.course-title { .course-title {
font-size: 21px; font-size: 21px;
font-weight: 700; font-weight: 800;
line-height: 1.3; line-height: 1.3;
color: #1c1d1f; color: var(--dark);
margin-bottom: 6px; margin-bottom: 8px;
transition: color 0.3s ease;
}
.course-card:hover .course-title {
color: var(--secondary);
} }
.course-author { .course-author {
font-size: 14px; font-size: 13px;
font-weight: 500;
color: var(--text-muted); color: var(--text-muted);
margin-bottom: 8px; margin-bottom: 16px;
display: flex;
align-items: center;
gap: 6px;
} }
.course-short-desc { .course-short-desc {
font-size: 14px; font-size: 14px;
color: #4f5357; color: #55595d;
margin-bottom: 12px; margin-bottom: 20px;
line-height: 1.5; 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 { .course-meta-row {
display: flex; display: flex;
align-items: center; align-items: center;
flex-wrap: wrap; justify-content: space-between;
gap: 8px; padding-top: 15px;
margin-bottom: 14px; border-top: 1px dashed rgba(94, 36, 78, 0.1);
} margin-bottom: 20px;
.badge-bestseller {
background-color: #ece3f1;
color: var(--primary);
font-weight: 700;
font-size: 11px;
padding: 3px 10px;
border-radius: 4px;
text-transform: uppercase;
} }
.rating-star { .rating-star {
color: #b4690e; color: #e5981d;
font-weight: 700; font-weight: 700;
font-size: 14px; font-size: 14px;
display: flex; display: flex;
@ -206,95 +259,115 @@ body{
.rating-count { .rating-count {
color: var(--text-muted); color: var(--text-muted);
font-size: 13px; font-size: 13px;
}
.course-features {
display: flex;
gap: 15px;
font-size: 13px;
color: var(--success-green);
margin-bottom: 18px;
font-weight: 500; font-weight: 500;
} }
.course-features span i {
margin-right: 4px;
}
.course-footer { .course-footer {
margin-top: auto; margin-top: auto;
} }
/* Clean Premium Action Button */
.read-btn { .read-btn {
background: var(--primary); background: transparent;
color: #fff; color: var(--primary);
padding: 10px 25px; border: 2px solid var(--primary);
font-weight: 600; padding: 11px 30px;
font-weight: 700;
border-radius: 30px; border-radius: 30px;
font-size: 15px; font-size: 14px;
transition: 0.2s; transition: all 0.3s ease;
border: none;
text-decoration: none; text-decoration: none;
display: inline-block; display: inline-block;
text-align: center;
width: 100%;
} }
.read-btn:hover { .read-btn:hover {
background: var(--secondary); background: var(--primary);
color: #fff; color: #fff;
box-shadow: 0 8px 20px rgba(94, 36, 78, 0.2);
transform: translateY(-2px);
} }
/* ===== Why Choose Us ===== */ /* ===== WHY CHOOSE US ===== */
.why-section { .why-section {
background: #F8F4F7; background: var(--why-primary);
overflow-x: hidden; overflow-x: hidden;
} }
.why-section li { .why-section h2 {
font-size: 18px; color: #fff !important;
margin-bottom: 18px;
} }
.why-section i { .backdrop-blur {
color: #5E244E; 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 { .animate-on-scroll {
opacity: 0; opacity: 0;
transition: all 1s ease-out; transition: all 1s ease-out;
} }
.fade-up-init { .fade-up-init {
transform: translateY(40px); transform: translateY(40px);
} }
.fade-left-init { .fade-left-init {
transform: translateX(50px); transform: translateX(50px);
} }
.fade-right-init { .fade-right-init {
transform: translateX(-50px); transform: translateX(-50px);
} }
.zoom-in-init { .zoom-in-init {
transform: scale(0.9); transform: scale(0.9);
} }
.animate-on-scroll.animated { .animate-on-scroll.animated {
opacity: 1; opacity: 1;
transform: translateY(0) translateX(0) scale(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> </style>
{{-- ===================== HERO ===================== --}} {{-- ===================== HERO ===================== --}}
<section class="hero" role="banner" aria-label="Automobile Engineering Academy introduction"> <section class="hero" role="banner" aria-label="Automobile Engineering Academy introduction">
<div class="container"> <div class="container">
<div class="hero-content text-center animate-on-scroll animated fade-up-init"> <div class="hero-content text-center animate-on-scroll animated fade-up-init">
<h1 class="display-4 fw-bold"> <h1 class="display-4 fw-bold">
Automobile Engineering Academy Automobile Engineering Academy
@ -321,15 +394,16 @@ body{
</section> </section>
{{-- ===================== OUR COURSES ===================== --}} {{-- ===================== OUR COURSES ===================== --}}
<section class="section py-5" aria-labelledby="courses-heading" > <section class="section py-5 courses-section" aria-labelledby="courses-heading">
<!-- style=" background: linear-gradient(rgba(177, 155, 185, 0.65),rgba(133, 118, 129, 0.65)),
url('https://images.unsplash.com/photo-1517524206127-48bbd363f3d7?auto=format&fit=crop&w=1600&q=80');" -->
<div class="container py-5"> <div class="container py-5">
<div class="text-center mb-5 animate-on-scroll fade-up-init"> <div class="text-center mb-5 animate-on-scroll fade-up-init">
<h2 id="courses-heading">Our Courses</h2> <span class="text-uppercase tracking-wider fw-bold small mb-2 d-block" style="color: var(--primary) !important;">Academic Programs</span>
<p class="text-muted"> <h2 id="courses-heading" class="display-5 fw-extrabold mb-3 position-relative d-inline-block">
Explore our professional automotive engineering courses. Our Top Courses
</h2>
<p class="text-muted mt-3 fs-5">
Explore our professional, industry-recognized automotive engineering curriculums.
</p> </p>
</div> </div>
@ -367,35 +441,40 @@ body{
<div class="row g-4 mb-5"> <div class="row g-4 mb-5">
@foreach($courses as $index => $course) @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="col-lg-4 col-md-6 " style="transition-delay: {{ $index * 150 }}ms;">
<div class="card course-card h-100"> <div class="card course-card h-100">
<div class="course-image-wrapper"> <div class="course-image-wrapper">
<span class="badge-floating">{{ $course['badge'] }}</span>
<img src="{{ $course['image'] }}" alt="{{ $course['title'] }}" loading="lazy" decoding="async"> <img src="{{ $course['image'] }}" alt="{{ $course['title'] }}" loading="lazy" decoding="async">
</div> </div>
<div class="card-body"> <div class="card-body">
<h4 class="course-title">{{ $course['title'] }}</h4> <h4 class="course-title">{{ $course['title'] }}</h4>
<div class="course-author">{{ $course['author'] }}</div> <div class="course-author">
<i class="fa-solid fa-graduation-cap"></i> {{ $course['author'] }}
</div>
<p class="course-short-desc">{{ $course['desc'] }}</p> <p class="course-short-desc">{{ $course['desc'] }}</p>
<div class="course-meta-row"> <!-- Modern Soft Pill Badges -->
<span class="badge-bestseller">{{ $course['badge'] }}</span> <div class="course-features-container">
<span class="rating-star"> <span class="feature-pill"><i class="fas fa-tools"></i> Practical Labs</span>
<i class="fas fa-star"></i> {{ $course['rating'] }} <span class="feature-pill"><i class="fas fa-certificate"></i> Accredited</span>
</span>
<span class="rating-count">({{ $course['students'] }})</span>
</div> </div>
<div class="course-features"> <div class="course-meta-row">
<span><i class="fas fa-tools"></i> Practical Labs</span> <span class="rating-star">
<span><i class="fas fa-certificate"></i> Verified Course</span> <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>
<div class="course-footer"> <div class="course-footer">
<a href="/courses" class="read-btn">View Course</a> <a href="/courses" class="read-btn">
View Details <i class="fa-solid fa-arrow-right ms-1 small"></i>
</a>
</div> </div>
</div> </div>
@ -414,44 +493,79 @@ body{
</section> </section>
{{-- ===================== WHY CHOOSE US ===================== --}} {{-- ===================== WHY CHOOSE US ===================== --}}
<section class="section py-5 why-section" aria-labelledby="why-us-heading"> <section class="why-section position-relative overflow-hidden text-white" aria-labelledby="why-us-heading" style="min-height: 600px;">
<div class="container"> <div class="position-absolute top-0 start-0 w-100 h-100" style="z-index: 1;">
<div class="row align-items-center g-5"> <img src="https://images.unsplash.com/photo-1487754180451-c456f719a1fc?auto=format&fit=crop&w=1600&q=80"
<!-- Image: Slides from Left -->
<div class="col-lg-6 animate-on-scroll fade-right-init">
<img src="https://images.unsplash.com/photo-1487754180451-c456f719a1fc?auto=format&fit=crop&w=900&q=80"
alt="Automotive Engineering Lab" alt="Automotive Engineering Lab"
class="img-fluid rounded shadow-sm" class="w-100 h-100"
width="900" style="object-fit: cover;"
height="600"
loading="lazy" loading="lazy"
decoding="async"> 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>
<!-- Content: Slides from Right --> <div class="container position-relative py-5 z-2">
<div class="col-lg-6 animate-on-scroll fade-left-init"> <div class="row justify-content-center text-center mb-5">
<h2 id="why-us-heading" class="fw-bold mb-4"> <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? 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> </h2>
</div>
</div>
<ul class="list-unstyled"> <div class="row g-4 justify-content-center animate-on-scroll fade-up-init">
<li class="mb-3">
<i class="fa-solid fa-check text-success me-2"></i> Modern Laboratories <div class="col-md-6 col-lg-4">
</li> <div class="custom-feature-card h-100 p-4 rounded-4 shadow-sm border backdrop-blur">
<li class="mb-3"> <div class="icon-box mb-3 rounded-3 p-3 d-inline-block">
<i class="fa-solid fa-check text-success me-2"></i> Industry Qualified Lecturers <i class="fa-solid fa-flask-vial fs-3"></i>
</li> </div>
<li class="mb-3"> <h4 class="fs-5 fw-bold mb-2 text-white">Modern Laboratories</h4>
<i class="fa-solid fa-check text-success me-2"></i> Hands-on Vehicle Training <p class="small text-white-50 mb-0">State-of-the-art facilities equipped with the latest technology for practical learning.</p>
</li> </div>
<li class="mb-3"> </div>
<i class="fa-solid fa-check text-success me-2"></i> Hybrid &amp; Electric Vehicle Research Center
</li> <div class="col-md-6 col-lg-4">
<li class="mb-3"> <div class="custom-feature-card h-100 p-4 rounded-4 shadow-sm border backdrop-blur">
<i class="fa-solid fa-check text-success me-2"></i> Internship Opportunities <div class="icon-box mb-3 rounded-3 p-3 d-inline-block">
</li> <i class="fa-solid fa-graduation-cap fs-3"></i>
</ul> </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> </div>
@ -474,7 +588,6 @@ body{
</div> </div>
</section> </section>
<script> <script>
document.addEventListener('DOMContentLoaded', function () { document.addEventListener('DOMContentLoaded', function () {
const animatedElements = document.querySelectorAll('.animate-on-scroll'); const animatedElements = document.querySelectorAll('.animate-on-scroll');