diff --git a/resources/views/courses.blade.php b/resources/views/courses.blade.php index 312f010..498751f 100644 --- a/resources/views/courses.blade.php +++ b/resources/views/courses.blade.php @@ -154,74 +154,100 @@ h1, h2, h3, h4, h5, h6, /* ===== HORIZONTAL COURSE CARDS ===== */ .course-card { + position: relative; overflow: hidden; - background: #fff; - border: 1px solid var(--card-border); - border-radius: 22px; - box-shadow: 0 8px 24px var(--shadow-color); - 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; + background: #ffffff; + border: 1px solid rgba(226, 232, 240, 0.9); + border-radius: 26px; + box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06); + 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 { - transform: translateY(-7px); - box-shadow: 0 22px 48px rgba(62, 81, 184, 0.14); - border-color: rgba(62, 81, 184, 0.25); + transform: translateY(-8px); + box-shadow: 0 25px 50px -10px rgba(62, 81, 184, 0.18); + border-color: rgba(62, 81, 184, 0.3); } .course-image-wrapper { - padding: 20px; + padding: 16px; height: 100%; + position: relative; overflow: hidden; } .course-card img { - height: 220px; + height: 240px; width: 100%; object-fit: cover; - border-radius: 16px; + border-radius: 20px; transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); } .course-card:hover img { - transform: scale(1.05); + transform: scale(1.08); } .course-card .card-body { - padding: 32px 32px 32px 10px; + padding: 28px 32px 28px 12px; display: flex; flex-direction: column; } @media (max-width: 767px) { .course-card .card-body { - padding: 0 24px 24px 24px; + padding: 16px 24px 24px 24px; + } + .course-image-wrapper { + padding: 16px 16px 0 16px; } } .course-title { - font-size: 23px; + font-size: 22px; font-weight: 750; - line-height: 1.3; - color:#2B2B2B; - margin-bottom: 8px; + line-height: 1.35; + color: #0F172A; + margin-bottom: 6px; transition: color 0.3s ease; } .course-card:hover .course-title { - color: var(--secondary); + color: #3E51B8; } .course-author { - font-size: 14px; + font-size: 13.5px; font-weight: 600; - color: #910909; - margin-bottom: 14px; + color: #3085C3; + margin-bottom: 12px; + display: flex; + align-items: center; + gap: 6px; } .course-short-desc { font-size: 14.5px; - color: #556575; - margin-bottom: 20px; + color: #64748B; + margin-bottom: 18px; line-height: 1.6; } @@ -234,30 +260,34 @@ h1, h2, h3, h4, h5, h6, } .badge-bestseller { + position: absolute; + top: 28px; + left: 28px; + z-index: 3; display: inline-flex; align-items: center; - gap: 5px; - background: linear-gradient(135deg, var(--secondary) 0%, var(--accent-orange) 100%); + gap: 6px; + background: linear-gradient(135deg, #BC1A1A 0%, #E11D48 100%); color: #fff; - font-weight: 700; - font-size: 10.5px; - padding: 4px 12px; - border-radius: 30px; + font-weight: 800; + font-size: 11px; + padding: 6px 14px; + border-radius: 999px; text-transform: uppercase; - letter-spacing: 0.05em; - box-shadow: 0 4px 10px rgba(188, 26, 26, 0.2), 0 0 0 0 rgba(188, 26, 26, 0.4); + letter-spacing: 0.06em; + box-shadow: 0 4px 14px rgba(188, 26, 26, 0.4); animation: badgePulse 2.4s ease-out infinite; } @keyframes badgePulse { - 0% { box-shadow: 0 4px 10px rgba(188, 26, 26, 0.2), 0 0 0 0 rgba(188, 26, 26, 0.4); } - 70% { box-shadow: 0 4px 10px rgba(188, 26, 26, 0.2), 0 0 0 7px 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); } + 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 14px rgba(188, 26, 26, 0.4), 0 0 0 8px 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 { - color: #f39c12; - font-weight: 700; + color: #f59e0b; + font-weight: 750; font-size: 14px; display: flex; align-items: center; @@ -283,7 +313,7 @@ h1, h2, h3, h4, h5, h6, overflow: hidden; white-space: nowrap; width: 0; - color: #f39c12; + color: #f59e0b; transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1); } @@ -292,7 +322,7 @@ h1, h2, h3, h4, h5, h6, } .rating-count { - color: var(--text-muted); + color: #64748B; font-size: 13.5px; font-weight: 500; } @@ -301,49 +331,58 @@ h1, h2, h3, h4, h5, h6, display: flex; flex-wrap: wrap; gap: 10px; - font-size: 12.5px; - color: var(--success-green); - margin-bottom: 24px; + font-size: 13px; + margin-bottom: 22px; font-weight: 600; } .course-features span { display: inline-flex; align-items: center; - background: rgba(16, 185, 129, 0.08); - padding: 5px 12px; - border-radius: 8px; - transition: transform 0.3s ease, background-color 0.3s ease; + background: rgba(62, 81, 184, 0.08); + color: #3E51B8; + padding: 6px 14px; + border-radius: 10px; + border: 1px solid rgba(62, 81, 184, 0.15); + transition: all 0.3s ease; } .course-card:hover .course-features span { - background: rgba(16, 185, 129, 0.14); + background: rgba(62, 81, 184, 0.15); transform: translateY(-2px); } .course-features span i { margin-right: 6px; + color: #3085C3; } .course-footer { 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 { - background: #822424; + background: linear-gradient(135deg, #0F2C59 0%, #3E51B8 100%); color: #fff; - padding: 13px 28px; - font-weight: 600; - font-size: 15px; - border-radius: 14px; + padding: 12px 28px; + font-weight: 700; + font-size: 14.5px; + border-radius: 999px; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); - border: 2px solid transparent; + border: none; text-decoration: none; - display: flex; + display: inline-flex; align-items: center; justify-content: center; 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 { @@ -351,14 +390,14 @@ h1, h2, h3, h4, h5, h6, } .read-btn:hover { - background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-hover) 100%); + background: linear-gradient(135deg, #BC1A1A 0%, #822424 100%); color: #fff; 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 { - transform: translateX(4px); + transform: translateX(5px); } /* --- Features Section --- */ @@ -609,8 +648,11 @@ h1, h2, h3, h4, h5, h6,
{{ $course->desc }}
- -State-of-the-art facilities equipped with latest industrial testing tools.
+State-of-the-art facilities equipped with latest industrial testing tools & high-voltage rigs.
Learn directly from veteran automotive engineers and researchers.
+Learn directly from veteran automotive engineers, researchers, and TVEC certified instructors.
Gain real-world diagnostics experience inside our dedicated workshop floors.
+Gain real-world diagnostics experience inside our dedicated workshop floors & EV testing bays.