ui3
This commit is contained in:
parent
86a00cb09e
commit
f4e4c45f5f
|
|
@ -154,74 +154,100 @@ h1, h2, h3, h4, h5, h6,
|
||||||
|
|
||||||
/* ===== HORIZONTAL COURSE CARDS ===== */
|
/* ===== HORIZONTAL COURSE CARDS ===== */
|
||||||
.course-card {
|
.course-card {
|
||||||
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: #fff;
|
background: #ffffff;
|
||||||
border: 1px solid var(--card-border);
|
border: 1px solid rgba(226, 232, 240, 0.9);
|
||||||
border-radius: 22px;
|
border-radius: 26px;
|
||||||
box-shadow: 0 8px 24px var(--shadow-color);
|
box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06);
|
||||||
transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
|
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
||||||
|
}
|
||||||
|
|
||||||
|
.course-card::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
height: 4px;
|
||||||
|
background: linear-gradient(90deg, #3E51B8 0%, #FFE618 50%, #BC1A1A 100%);
|
||||||
|
opacity: 0.35;
|
||||||
|
transition: opacity 0.4s ease, height 0.4s ease;
|
||||||
|
z-index: 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
.course-card:hover::before {
|
||||||
|
opacity: 1;
|
||||||
|
height: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card:hover {
|
.course-card:hover {
|
||||||
transform: translateY(-7px);
|
transform: translateY(-8px);
|
||||||
box-shadow: 0 22px 48px rgba(62, 81, 184, 0.14);
|
box-shadow: 0 25px 50px -10px rgba(62, 81, 184, 0.18);
|
||||||
border-color: rgba(62, 81, 184, 0.25);
|
border-color: rgba(62, 81, 184, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-image-wrapper {
|
.course-image-wrapper {
|
||||||
padding: 20px;
|
padding: 16px;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card img {
|
.course-card img {
|
||||||
height: 220px;
|
height: 240px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
border-radius: 16px;
|
border-radius: 20px;
|
||||||
transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
|
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.08);
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card .card-body {
|
.course-card .card-body {
|
||||||
padding: 32px 32px 32px 10px;
|
padding: 28px 32px 28px 12px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 767px) {
|
@media (max-width: 767px) {
|
||||||
.course-card .card-body {
|
.course-card .card-body {
|
||||||
padding: 0 24px 24px 24px;
|
padding: 16px 24px 24px 24px;
|
||||||
|
}
|
||||||
|
.course-image-wrapper {
|
||||||
|
padding: 16px 16px 0 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-title {
|
.course-title {
|
||||||
font-size: 23px;
|
font-size: 22px;
|
||||||
font-weight: 750;
|
font-weight: 750;
|
||||||
line-height: 1.3;
|
line-height: 1.35;
|
||||||
color:#2B2B2B;
|
color: #0F172A;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 6px;
|
||||||
transition: color 0.3s ease;
|
transition: color 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card:hover .course-title {
|
.course-card:hover .course-title {
|
||||||
color: var(--secondary);
|
color: #3E51B8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-author {
|
.course-author {
|
||||||
font-size: 14px;
|
font-size: 13.5px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #910909;
|
color: #3085C3;
|
||||||
margin-bottom: 14px;
|
margin-bottom: 12px;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-short-desc {
|
.course-short-desc {
|
||||||
font-size: 14.5px;
|
font-size: 14.5px;
|
||||||
color: #556575;
|
color: #64748B;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 18px;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -234,30 +260,34 @@ h1, h2, h3, h4, h5, h6,
|
||||||
}
|
}
|
||||||
|
|
||||||
.badge-bestseller {
|
.badge-bestseller {
|
||||||
|
position: absolute;
|
||||||
|
top: 28px;
|
||||||
|
left: 28px;
|
||||||
|
z-index: 3;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 5px;
|
gap: 6px;
|
||||||
background: linear-gradient(135deg, var(--secondary) 0%, var(--accent-orange) 100%);
|
background: linear-gradient(135deg, #BC1A1A 0%, #E11D48 100%);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-weight: 700;
|
font-weight: 800;
|
||||||
font-size: 10.5px;
|
font-size: 11px;
|
||||||
padding: 4px 12px;
|
padding: 6px 14px;
|
||||||
border-radius: 30px;
|
border-radius: 999px;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 0.05em;
|
letter-spacing: 0.06em;
|
||||||
box-shadow: 0 4px 10px rgba(188, 26, 26, 0.2), 0 0 0 0 rgba(188, 26, 26, 0.4);
|
box-shadow: 0 4px 14px rgba(188, 26, 26, 0.4);
|
||||||
animation: badgePulse 2.4s ease-out infinite;
|
animation: badgePulse 2.4s ease-out infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes badgePulse {
|
@keyframes badgePulse {
|
||||||
0% { box-shadow: 0 4px 10px rgba(188, 26, 26, 0.2), 0 0 0 0 rgba(188, 26, 26, 0.4); }
|
0% { box-shadow: 0 4px 14px rgba(188, 26, 26, 0.4), 0 0 0 0 rgba(188, 26, 26, 0.45); }
|
||||||
70% { box-shadow: 0 4px 10px rgba(188, 26, 26, 0.2), 0 0 0 7px rgba(188, 26, 26, 0); }
|
70% { box-shadow: 0 4px 14px rgba(188, 26, 26, 0.4), 0 0 0 8px rgba(188, 26, 26, 0); }
|
||||||
100% { box-shadow: 0 4px 10px rgba(188, 26, 26, 0.2), 0 0 0 0 rgba(188, 26, 26, 0); }
|
100% { box-shadow: 0 4px 14px rgba(188, 26, 26, 0.4), 0 0 0 0 rgba(188, 26, 26, 0); }
|
||||||
}
|
}
|
||||||
|
|
||||||
.rating-star {
|
.rating-star {
|
||||||
color: #f39c12;
|
color: #f59e0b;
|
||||||
font-weight: 700;
|
font-weight: 750;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
@ -283,7 +313,7 @@ h1, h2, h3, h4, h5, h6,
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
width: 0;
|
width: 0;
|
||||||
color: #f39c12;
|
color: #f59e0b;
|
||||||
transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
|
transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -292,7 +322,7 @@ h1, h2, h3, h4, h5, h6,
|
||||||
}
|
}
|
||||||
|
|
||||||
.rating-count {
|
.rating-count {
|
||||||
color: var(--text-muted);
|
color: #64748B;
|
||||||
font-size: 13.5px;
|
font-size: 13.5px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
@ -301,49 +331,58 @@ h1, h2, h3, h4, h5, h6,
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
font-size: 12.5px;
|
font-size: 13px;
|
||||||
color: var(--success-green);
|
margin-bottom: 22px;
|
||||||
margin-bottom: 24px;
|
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-features span {
|
.course-features span {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background: rgba(16, 185, 129, 0.08);
|
background: rgba(62, 81, 184, 0.08);
|
||||||
padding: 5px 12px;
|
color: #3E51B8;
|
||||||
border-radius: 8px;
|
padding: 6px 14px;
|
||||||
transition: transform 0.3s ease, background-color 0.3s ease;
|
border-radius: 10px;
|
||||||
|
border: 1px solid rgba(62, 81, 184, 0.15);
|
||||||
|
transition: all 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card:hover .course-features span {
|
.course-card:hover .course-features span {
|
||||||
background: rgba(16, 185, 129, 0.14);
|
background: rgba(62, 81, 184, 0.15);
|
||||||
transform: translateY(-2px);
|
transform: translateY(-2px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-features span i {
|
.course-features span i {
|
||||||
margin-right: 6px;
|
margin-right: 6px;
|
||||||
|
color: #3085C3;
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-footer {
|
.course-footer {
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
gap: 14px;
|
||||||
|
padding-top: 18px;
|
||||||
|
border-top: 1px dashed #E2E8F0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.read-btn {
|
.read-btn {
|
||||||
background: #822424;
|
background: linear-gradient(135deg, #0F2C59 0%, #3E51B8 100%);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
padding: 13px 28px;
|
padding: 12px 28px;
|
||||||
font-weight: 600;
|
font-weight: 700;
|
||||||
font-size: 15px;
|
font-size: 14.5px;
|
||||||
border-radius: 14px;
|
border-radius: 999px;
|
||||||
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
|
||||||
border: 2px solid transparent;
|
border: none;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
display: flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
box-shadow: 0 4px 12px rgba(10, 103, 223, 0.2);
|
box-shadow: 0 6px 18px rgba(62, 81, 184, 0.25);
|
||||||
}
|
}
|
||||||
|
|
||||||
.read-btn .read-btn-arrow {
|
.read-btn .read-btn-arrow {
|
||||||
|
|
@ -351,14 +390,14 @@ h1, h2, h3, h4, h5, h6,
|
||||||
}
|
}
|
||||||
|
|
||||||
.read-btn:hover {
|
.read-btn:hover {
|
||||||
background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-hover) 100%);
|
background: linear-gradient(135deg, #BC1A1A 0%, #822424 100%);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
transform: translateY(-2px);
|
transform: translateY(-2px);
|
||||||
box-shadow: 0 6px 18px rgba(188, 26, 26, 0.3);
|
box-shadow: 0 10px 24px rgba(188, 26, 26, 0.35);
|
||||||
}
|
}
|
||||||
|
|
||||||
.read-btn:hover .read-btn-arrow {
|
.read-btn:hover .read-btn-arrow {
|
||||||
transform: translateX(4px);
|
transform: translateX(5px);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* --- Features Section --- */
|
/* --- Features Section --- */
|
||||||
|
|
@ -609,8 +648,11 @@ h1, h2, h3, h4, h5, h6,
|
||||||
<div class="row g-0 align-items-center">
|
<div class="row g-0 align-items-center">
|
||||||
|
|
||||||
{{-- Course Image --}}
|
{{-- Course Image --}}
|
||||||
<div class="col-md-4">
|
<div class="col-md-4 position-relative">
|
||||||
<div class="course-image-wrapper">
|
<div class="course-image-wrapper">
|
||||||
|
@if($course->badge)
|
||||||
|
<span class="badge-bestseller"><i class="fa-solid fa-bolt"></i> {{ $course->badge }}</span>
|
||||||
|
@endif
|
||||||
<img src="{{ $course->image }}" alt="{{ $course->title }}">
|
<img src="{{ $course->image }}" alt="{{ $course->title }}">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -618,45 +660,46 @@ h1, h2, h3, h4, h5, h6,
|
||||||
{{-- Course Details --}}
|
{{-- Course Details --}}
|
||||||
<div class="col-md-8">
|
<div class="col-md-8">
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<h4 class="course-title">{{ $course->title }}</h4>
|
<div class="d-flex align-items-center justify-content-between flex-wrap gap-2 mb-1">
|
||||||
|
<h4 class="course-title mb-0">{{ $course->title }}</h4>
|
||||||
|
@if($course->status)
|
||||||
|
<span class="small fw-bold status-chip" style="background: rgba(16, 185, 129, 0.1); color: #10B981; padding: 4px 12px; border-radius: 999px;"><i class="fa-solid fa-circle-check"></i> {{ ucfirst($course->status) }}</span>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
|
||||||
@if($course->author)
|
@if($course->author)
|
||||||
<div class="course-author">
|
<div class="course-author">
|
||||||
<i class="fa-solid fa-user-gear me-1"></i> {{ $course->author }}
|
<i class="fa-solid fa-graduation-cap me-1"></i> {{ $course->author }}
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<p class="course-short-desc">{{ $course->desc }}</p>
|
<p class="course-short-desc">{{ $course->desc }}</p>
|
||||||
|
|
||||||
<div class="course-meta-row">
|
|
||||||
@if($course->badge)
|
|
||||||
<span class="badge-bestseller"><i class="fa-solid fa-bolt"></i> {{ $course->badge }}</span>
|
|
||||||
@endif
|
|
||||||
|
|
||||||
@if($course->rating)
|
|
||||||
<span class="rating-star">
|
|
||||||
<span class="star-rating" style="--rating: {{ $course->rating }};">
|
|
||||||
<span class="star-rating-bg">★★★★★</span>
|
|
||||||
<span class="star-rating-fill">★★★★★</span>
|
|
||||||
</span>
|
|
||||||
{{ $course->rating }}
|
|
||||||
</span>
|
|
||||||
@endif
|
|
||||||
|
|
||||||
@if($course->student)
|
|
||||||
<span class="rating-count">({{ $course->student }} students enrolled)</span>
|
|
||||||
@endif
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="course-features">
|
<div class="course-features">
|
||||||
<span><i class="fas fa-tools"></i> Level: {{ $course->level ?? 'General' }}</span>
|
<span><i class="fa-solid fa-layer-group"></i> Level: {{ $course->level ?? 'General' }}</span>
|
||||||
@if($course->duration)
|
@if($course->duration)
|
||||||
<span><i class="fas fa-certificate"></i> Duration: {{ $course->duration }}</span>
|
<span><i class="fa-solid fa-clock"></i> Duration: {{ $course->duration }}</span>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="course-footer" style="max-width: 200px;">
|
<div class="course-footer">
|
||||||
<a href="/apply" class="read-btn">Apply Course <i class="fa-solid fa-paper-plane read-btn-arrow"></i></a>
|
<div class="d-flex align-items-center gap-2 flex-wrap">
|
||||||
|
@if($course->rating)
|
||||||
|
<span class="rating-star">
|
||||||
|
<span class="star-rating" style="--rating: {{ $course->rating }};">
|
||||||
|
<span class="star-rating-bg">★★★★★</span>
|
||||||
|
<span class="star-rating-fill">★★★★★</span>
|
||||||
|
</span>
|
||||||
|
{{ $course->rating }}
|
||||||
|
</span>
|
||||||
|
@endif
|
||||||
|
|
||||||
|
@if($course->student)
|
||||||
|
<span class="rating-count">({{ $course->student }} students enrolled)</span>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<a href="/apply" class="read-btn">Apply Course <i class="fa-solid fa-arrow-right read-btn-arrow"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -317,39 +317,51 @@ body {
|
||||||
|
|
||||||
.course-card {
|
.course-card {
|
||||||
position: relative;
|
position: relative;
|
||||||
border: 1px solid var(--card-border);
|
border: 1px solid rgba(226, 232, 240, 0.9);
|
||||||
border-radius: 18px;
|
border-radius: 26px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
background: #fff;
|
background: #ffffff;
|
||||||
transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.4s ease;
|
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
||||||
box-shadow: 0 5px 15px var(--shadow-color);
|
box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06);
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card::after {
|
.course-card::before {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
inset: 0;
|
top: 0;
|
||||||
z-index: 3;
|
left: 0;
|
||||||
pointer-events: none;
|
right: 0;
|
||||||
background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, 0.35) 50%, transparent 60%);
|
height: 4px;
|
||||||
transform: translateX(-120%);
|
background: linear-gradient(90deg, #3E51B8 0%, #FFE618 50%, #BC1A1A 100%);
|
||||||
transition: transform 0.9s ease;
|
opacity: 0.35;
|
||||||
|
transition: opacity 0.4s ease, height 0.4s ease;
|
||||||
|
z-index: 4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card:hover::after {
|
.course-card:hover::before {
|
||||||
transform: translateX(120%);
|
opacity: 1;
|
||||||
|
height: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card:hover {
|
.course-card:hover {
|
||||||
transform: translateY(-8px);
|
transform: translateY(-10px);
|
||||||
box-shadow: 0 24px 45px rgba(15, 44, 89, 0.16);
|
box-shadow: 0 25px 50px -10px rgba(62, 81, 184, 0.18);
|
||||||
border-color: rgba(48, 133, 195, 0.25);
|
border-color: rgba(62, 81, 184, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-image-wrapper {
|
.course-image-wrapper {
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
height: 210px;
|
height: 220px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.course-image-wrapper::after {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
inset: 0;
|
||||||
|
background: linear-gradient(to top, rgba(15, 23, 42, 0.55) 0%, transparent 60%);
|
||||||
|
pointer-events: none;
|
||||||
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card img {
|
.course-card img {
|
||||||
|
|
@ -360,7 +372,7 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card:hover img {
|
.course-card:hover img {
|
||||||
transform: scale(1.12);
|
transform: scale(1.09);
|
||||||
}
|
}
|
||||||
|
|
||||||
.courses-section .row.g-4 > div {
|
.courses-section .row.g-4 > div {
|
||||||
|
|
@ -369,32 +381,32 @@ body {
|
||||||
|
|
||||||
.badge-floating {
|
.badge-floating {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 15px;
|
top: 16px;
|
||||||
left: 15px;
|
left: 16px;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 5px;
|
gap: 6px;
|
||||||
background: #BC1A1A;
|
background: linear-gradient(135deg, #BC1A1A 0%, #E11D48 100%);
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-weight: 700;
|
font-weight: 800;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
padding: 5px 12px;
|
padding: 6px 14px;
|
||||||
border-radius: 30px;
|
border-radius: 999px;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
letter-spacing: 0.05em;
|
letter-spacing: 0.06em;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
box-shadow: 0 4px 10px rgba(0,0,0,0.15), 0 0 0 0 rgba(188, 26, 26, 0.45);
|
box-shadow: 0 4px 14px rgba(188, 26, 26, 0.4);
|
||||||
animation: badgePulse 2.4s ease-out infinite;
|
animation: badgePulse 2.4s ease-out infinite;
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes badgePulse {
|
@keyframes badgePulse {
|
||||||
0% { box-shadow: 0 4px 10px rgba(0,0,0,0.15), 0 0 0 0 rgba(188, 26, 26, 0.45); }
|
0% { box-shadow: 0 4px 14px rgba(188, 26, 26, 0.4), 0 0 0 0 rgba(188, 26, 26, 0.45); }
|
||||||
70% { box-shadow: 0 4px 10px rgba(0,0,0,0.15), 0 0 0 8px rgba(188, 26, 26, 0); }
|
70% { box-shadow: 0 4px 14px rgba(188, 26, 26, 0.4), 0 0 0 8px rgba(188, 26, 26, 0); }
|
||||||
100% { box-shadow: 0 4px 10px rgba(0,0,0,0.15), 0 0 0 0 rgba(188, 26, 26, 0); }
|
100% { box-shadow: 0 4px 14px rgba(188, 26, 26, 0.4), 0 0 0 0 rgba(188, 26, 26, 0); }
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card .card-body {
|
.course-card .card-body {
|
||||||
padding: 24px;
|
padding: 26px 24px 22px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
|
@ -402,21 +414,21 @@ body {
|
||||||
|
|
||||||
.course-title {
|
.course-title {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: 700;
|
font-weight: 750;
|
||||||
color: var(--primary);
|
color: #0F172A;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
line-height: 1.4;
|
line-height: 1.35;
|
||||||
transition: color 0.3s ease;
|
transition: color 0.3s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card:hover .course-title {
|
.course-card:hover .course-title {
|
||||||
color: #914040;
|
color: #3E51B8;
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-author {
|
.course-author {
|
||||||
font-size: 13.5px;
|
font-size: 13.5px;
|
||||||
font-weight: 500;
|
font-weight: 600;
|
||||||
color: var(--accent-blue);
|
color: #3085C3;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
@ -425,25 +437,29 @@ body {
|
||||||
|
|
||||||
.course-short-desc {
|
.course-short-desc {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #556575;
|
color: #64748B;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 16px;
|
||||||
|
display: -webkit-box;
|
||||||
|
-webkit-line-clamp: 2;
|
||||||
|
-webkit-box-orient: vertical;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-features-container {
|
.course-features-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.feature-pill {
|
.feature-pill {
|
||||||
background: rgba(48, 133, 195, 0.08);
|
background: rgba(62, 81, 184, 0.08);
|
||||||
color: var(--accent-blue);
|
color: #3E51B8;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
padding: 4px 10px;
|
padding: 5px 12px;
|
||||||
border-radius: 6px;
|
border-radius: 8px;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
|
|
@ -451,26 +467,26 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card:hover .feature-pill {
|
.course-card:hover .feature-pill {
|
||||||
background: rgba(48, 133, 195, 0.15);
|
background: rgba(62, 81, 184, 0.15);
|
||||||
transform: translateY(-2px);
|
transform: translateY(-2px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-footer {
|
.course-footer {
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
padding-top: 15px;
|
padding-top: 16px;
|
||||||
border-top: 1px solid rgba(15, 44, 89, 0.08);
|
border-top: 1px dashed #E2E8F0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-meta-row {
|
.course-meta-row {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin-bottom: 15px;
|
margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.rating-star {
|
.rating-star {
|
||||||
color: #f39c12;
|
color: #f59e0b;
|
||||||
font-weight: 700;
|
font-weight: 750;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
@ -478,17 +494,21 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.rating-count {
|
.rating-count {
|
||||||
color: var(--text-muted);
|
color: #64748B;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.status-chip {
|
.status-chip {
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 5px;
|
gap: 5px;
|
||||||
background: rgba(46, 204, 113, 0.1);
|
background: rgba(16, 185, 129, 0.1);
|
||||||
padding: 4px 10px;
|
color: #10B981;
|
||||||
|
padding: 4px 12px;
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
|
font-size: 12px;
|
||||||
|
font-weight: 700;
|
||||||
}
|
}
|
||||||
|
|
||||||
.star-rating {
|
.star-rating {
|
||||||
|
|
@ -510,7 +530,7 @@ body {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
width: 0;
|
width: 0;
|
||||||
color: #f39c12;
|
color: #f59e0b;
|
||||||
transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
|
transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -519,11 +539,11 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.read-btn {
|
.read-btn {
|
||||||
background:#822424;
|
background: linear-gradient(135deg, #0F2C59 0%, #3E51B8 100%);
|
||||||
color: white;
|
color: #ffffff;
|
||||||
padding: 12px 20px;
|
padding: 12px 24px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
border-radius: 14px;
|
border-radius: 999px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
@ -531,6 +551,7 @@ body {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
|
box-shadow: 0 6px 18px rgba(62, 81, 184, 0.25);
|
||||||
}
|
}
|
||||||
|
|
||||||
.read-btn .read-btn-arrow {
|
.read-btn .read-btn-arrow {
|
||||||
|
|
@ -538,13 +559,13 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card:hover .read-btn {
|
.course-card:hover .read-btn {
|
||||||
background: #6a1c1c;
|
background: linear-gradient(135deg, #BC1A1A 0%, #822424 100%);
|
||||||
color: #fff;
|
color: #ffffff;
|
||||||
box-shadow: 0 8px 18px rgba(130, 36, 36, 0.3);
|
box-shadow: 0 10px 24px rgba(188, 26, 26, 0.35);
|
||||||
}
|
}
|
||||||
|
|
||||||
.course-card:hover .read-btn .read-btn-arrow {
|
.course-card:hover .read-btn .read-btn-arrow {
|
||||||
transform: translateX(4px);
|
transform: translateX(5px);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ===== Why Choose Us ===== */
|
/* ===== Why Choose Us ===== */
|
||||||
|
|
@ -554,7 +575,7 @@ body {
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: linear-gradient(rgba(17, 17, 39, 0.9), rgba(0, 9, 15, 0.6)), url('https://images.unsplash.com/photo-1581093803931-46e730e7622e?auto=format&fit=crop&w=1600&q=80');
|
background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(30, 41, 59, 0.88) 50%, rgba(15, 23, 42, 0.95) 100%), url('https://images.unsplash.com/photo-1581093803931-46e730e7622e?auto=format&fit=crop&w=1600&q=80');
|
||||||
background-position: center;
|
background-position: center;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
|
@ -566,43 +587,64 @@ body {
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-feature-card {
|
.custom-feature-card {
|
||||||
background: rgba(255, 255, 255, 0.43);
|
position: relative;
|
||||||
backdrop-filter: blur(10px);
|
background: rgba(255, 255, 255, 0.08);
|
||||||
-webkit-backdrop-filter: blur(10px);
|
backdrop-filter: blur(18px);
|
||||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
-webkit-backdrop-filter: blur(18px);
|
||||||
border-radius: 20px;
|
border: 1px solid rgba(255, 255, 255, 0.15);
|
||||||
padding: 36px 30px;
|
border-radius: 26px;
|
||||||
transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
padding: 44px 30px 38px;
|
||||||
|
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
||||||
|
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
|
||||||
|
overflow: hidden;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-feature-card::before {
|
||||||
|
content: '';
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
height: 4px;
|
||||||
|
background: linear-gradient(90deg, #3E51B8 0%, #FFE618 50%, #BC1A1A 100%);
|
||||||
|
opacity: 0.35;
|
||||||
|
transition: opacity 0.4s ease, height 0.4s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
.custom-feature-card:hover::before {
|
||||||
|
opacity: 1;
|
||||||
|
height: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-feature-card:hover {
|
.custom-feature-card:hover {
|
||||||
transform: translateY(-8px);
|
transform: translateY(-12px);
|
||||||
background: rgba(0, 0, 0, 0.07);
|
background: rgba(255, 255, 255, 0.14);
|
||||||
border-color: rgb(255, 255, 255);
|
border-color: rgba(255, 255, 255, 0.35);
|
||||||
box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
|
box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 30px rgba(62, 81, 184, 0.3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.icon-box {
|
.icon-box {
|
||||||
background: #6a2525;
|
width: 68px;
|
||||||
color: #FFE618;
|
height: 68px;
|
||||||
width: 64px;
|
background: linear-gradient(135deg, rgba(62, 81, 184, 0.35) 0%, rgba(10, 103, 223, 0.2) 100%);
|
||||||
height: 64px;
|
color: #60A5FA;
|
||||||
border-radius: 16px;
|
border-radius: 22px;
|
||||||
|
border: 1px solid rgba(96, 165, 250, 0.35);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin-bottom: 22px;
|
margin-bottom: 26px;
|
||||||
box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
|
||||||
transition: all 0.35s ease;
|
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-feature-card:hover .icon-box {
|
.custom-feature-card:hover .icon-box {
|
||||||
transform: scale(1.08) rotate(-4deg);
|
background: linear-gradient(135deg, #3E51B8 0%, #BC1A1A 100%);
|
||||||
}
|
color: #ffffff;
|
||||||
|
border-color: transparent;
|
||||||
.custom-feature-card:hover .icon-box {
|
transform: scale(1.12) rotate(6deg);
|
||||||
background: #6a2525;
|
box-shadow: 0 15px 30px rgba(188, 26, 26, 0.4), 0 0 20px rgba(62, 81, 184, 0.6);
|
||||||
color: #faf9f5;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ===== Animations ===== */
|
/* ===== Animations ===== */
|
||||||
|
|
@ -1002,38 +1044,38 @@ body {
|
||||||
|
|
||||||
<div class="container why-content-wrapper position-relative" style="z-index: 2;">
|
<div class="container why-content-wrapper position-relative" style="z-index: 2;">
|
||||||
<div class="text-center mb-5 animate-on-scroll fade-up-init">
|
<div class="text-center mb-5 animate-on-scroll fade-up-init">
|
||||||
<span class="section-eyebrow" style="background: rgba(255,255,255,0.12); color: #FFE618;"><i class="fa-solid fa-star"></i> Our Advantage</span>
|
<span class="section-eyebrow" style="background: linear-gradient(135deg, rgba(255, 230, 24, 0.18) 0%, rgba(227, 100, 20, 0.22) 100%); border: 1px solid rgba(255, 230, 24, 0.45); color: #FFE618; padding: 8px 22px; border-radius: 999px;"><i class="fa-solid fa-star"></i> Our Advantage</span>
|
||||||
<h2 id="why-us-heading" class="display-5 text-white mb-0 fw-bold" style="letter-spacing: -0.02em;">Why Choose Us?</h2>
|
<h2 id="why-us-heading" class="display-5 text-white mb-0 fw-bold mt-3" style="letter-spacing: -0.02em;">Why Choose Us?</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row g-4 justify-content-center animate-on-scroll fade-up-init">
|
<div class="row g-4 justify-content-center animate-on-scroll fade-up-init">
|
||||||
<div class="col-md-6 col-lg-4">
|
<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="custom-feature-card h-100 d-flex flex-column align-items-center text-center">
|
||||||
<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;">
|
<div class="icon-box">
|
||||||
<i class="fa-solid fa-flask-vial fs-3 fa-beat-hover"></i>
|
<i class="fa-solid fa-flask-vial fs-3"></i>
|
||||||
</div>
|
</div>
|
||||||
<h4 class="text-white fs-5 mb-3 fw-semibold">Modern Laboratories</h4>
|
<h4 class="text-white fs-5 mb-3 fw-bold">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>
|
<p class="small mb-0 lh-base" style="color: #CBD5E1;">State-of-the-art facilities equipped with latest industrial testing tools & high-voltage rigs.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-6 col-lg-4">
|
<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="custom-feature-card h-100 d-flex flex-column align-items-center text-center">
|
||||||
<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;">
|
<div class="icon-box">
|
||||||
<i class="fa-solid fa-graduation-cap fs-3 fa-bounce-hover"></i>
|
<i class="fa-solid fa-graduation-cap fs-3"></i>
|
||||||
</div>
|
</div>
|
||||||
<h4 class="text-white fs-5 mb-3 fw-semibold">Qualified Lecturers</h4>
|
<h4 class="text-white fs-5 mb-3 fw-bold">Qualified Lecturers</h4>
|
||||||
<p class="text-white-50 small mb-0 lh-base">Learn directly from veteran automotive engineers and researchers.</p>
|
<p class="small mb-0 lh-base" style="color: #CBD5E1;">Learn directly from veteran automotive engineers, researchers, and TVEC certified instructors.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-6 col-lg-4">
|
<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="custom-feature-card h-100 d-flex flex-column align-items-center text-center">
|
||||||
<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;">
|
<div class="icon-box">
|
||||||
<i class="fa-solid fa-car fs-3 fa-shake-hover"></i>
|
<i class="fa-solid fa-car fs-3"></i>
|
||||||
</div>
|
</div>
|
||||||
<h4 class="text-white fs-5 mb-3 fw-semibold">Hands-on Training</h4>
|
<h4 class="text-white fs-5 mb-3 fw-bold">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>
|
<p class="small mb-0 lh-base" style="color: #CBD5E1;">Gain real-world diagnostics experience inside our dedicated workshop floors & EV testing bays.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue