diff --git a/resources/views/courses.blade.php b/resources/views/courses.blade.php index 6d69e11..4f8b9c5 100644 --- a/resources/views/courses.blade.php +++ b/resources/views/courses.blade.php @@ -25,11 +25,16 @@ } body { - font-family: 'Segoe UI', Arial, sans-serif; + font-family: 'Inter', 'Segoe UI', Arial, sans-serif; color: var(--text-main); background-color: #ffffff; } +h1, h2, h3, h4, h5, h6, +.course-title, .features-section h2, .feature-box h5 { + font-family: 'Poppins', 'Segoe UI', Arial, sans-serif; +} + /* ===== Hero Section ===== */ .hero { background-image: linear-gradient(rgba(207, 220, 238, 0.9), rgba(35, 29, 29, 0.85)), url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?auto=format&fit=crop&w=1600&q=80'); @@ -37,12 +42,30 @@ body { background-position: center; background-repeat: no-repeat; color: #ffffff; - padding: 130px 0; + padding: 92px 0 100px; text-align: center; } +.hero-badge { + display: inline-flex; + align-items: center; + gap: 8px; + background: rgba(255, 255, 255, 0.14); + border: 1px solid rgba(255, 255, 255, 0.28); + backdrop-filter: blur(12px); + -webkit-backdrop-filter: blur(12px); + color: #FFE618; + font-size: 12.5px; + font-weight: 700; + letter-spacing: 0.08em; + text-transform: uppercase; + padding: 8px 18px; + border-radius: 999px; + margin-bottom: 18px; +} + .hero h1 { - font-size: 55px; + font-size: clamp(2.2rem, 4.5vw, 3.4rem); font-weight: 800; text-shadow: 0 2px 15px rgba(0,0,0,0.4); } @@ -50,10 +73,16 @@ body { .hero p { max-width: 700px; margin: auto; - font-size: 19px; + font-size: 17px; color: #F1F5F9; } +.search-results-hint { + margin-top: 14px; + font-size: 13.5px; + color: rgba(255, 255, 255, 0.75); +} + /* --- Premium Search Box Styling --- */ .search-box { max-width: 550px; @@ -65,17 +94,50 @@ body { background: #fff; border-radius: 100px; border: 1px solid rgba(255, 255, 255, 0.1); + transition: box-shadow 0.3s ease; +} + +.search-box:focus-within { + box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 0 4px rgba(255, 230, 24, 0.35); +} + +.search-box-icon { + display: flex; + align-items: center; + padding-left: 24px; + color: #94A3B8; + font-size: 15px; } .search-box input { width: 100%; - padding: 16px 28px; + padding: 16px 12px; border: none; outline: none; font-size: 16px; color: #333; } +.search-box-clear { + display: none; + align-items: center; + padding: 0 14px; + border: none; + background: transparent; + color: #94A3B8; + cursor: pointer; + font-size: 15px; + transition: color 0.2s ease; +} + +.search-box-clear:hover { + color: var(--secondary); +} + +.search-box-clear.visible { + display: flex; +} + .search-box button { background: linear-gradient(135deg, #13141A 0%, #8ca8e9 100%); color: #fff; @@ -94,27 +156,34 @@ body { .course-card { overflow: hidden; background: #fff; - transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); + 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; } .course-card:hover { - transform: translateY(-6px); + transform: translateY(-7px); + box-shadow: 0 22px 48px rgba(62, 81, 184, 0.14); + border-color: rgba(62, 81, 184, 0.25); } .course-image-wrapper { padding: 20px; height: 100%; + overflow: hidden; } .course-card img { height: 220px; width: 100%; object-fit: cover; + border-radius: 16px; transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); } .course-card:hover img { - transform: scale(1.04); + transform: scale(1.05); } .course-card .card-body { @@ -165,6 +234,9 @@ body { } .badge-bestseller { + display: inline-flex; + align-items: center; + gap: 5px; background: linear-gradient(135deg, var(--secondary) 0%, var(--accent-orange) 100%); color: #fff; font-weight: 700; @@ -173,7 +245,14 @@ body { border-radius: 30px; text-transform: uppercase; letter-spacing: 0.05em; - box-shadow: 0 4px 10px rgba(188, 26, 26, 0.2); + box-shadow: 0 4px 10px rgba(188, 26, 26, 0.2), 0 0 0 0 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); } } .rating-star { @@ -182,7 +261,34 @@ body { font-size: 14px; display: flex; align-items: center; - gap: 4px; + gap: 6px; +} + +.star-rating { + position: relative; + display: inline-block; + font-size: 12px; + line-height: 1; + letter-spacing: 2px; +} + +.star-rating-bg { + color: #dde3ea; +} + +.star-rating-fill { + position: absolute; + top: 0; + left: 0; + overflow: hidden; + white-space: nowrap; + width: 0; + color: #f39c12; + transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1); +} + +.star-rating.filled .star-rating-fill { + width: calc(var(--rating) / 5 * 100%); } .rating-count { @@ -193,13 +299,28 @@ body { .course-features { display: flex; - gap: 20px; - font-size: 13.5px; + flex-wrap: wrap; + gap: 10px; + font-size: 12.5px; color: var(--success-green); margin-bottom: 24px; 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; +} + +.course-card:hover .course-features span { + background: rgba(16, 185, 129, 0.14); + transform: translateY(-2px); +} + .course-features span i { margin-right: 6px; } @@ -214,14 +335,21 @@ body { padding: 13px 28px; font-weight: 600; font-size: 15px; + border-radius: 14px; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); border: 2px solid transparent; text-decoration: none; - display: block; - text-align: center; + display: flex; + align-items: center; + justify-content: center; + gap: 8px; box-shadow: 0 4px 12px rgba(10, 103, 223, 0.2); } +.read-btn .read-btn-arrow { + transition: transform 0.3s ease; +} + .read-btn:hover { background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-hover) 100%); color: #fff; @@ -229,6 +357,10 @@ body { box-shadow: 0 6px 18px rgba(188, 26, 26, 0.3); } +.read-btn:hover .read-btn-arrow { + transform: translateX(4px); +} + /* --- Features Section --- */ .features-section { background-color: var(--bg-light); @@ -338,21 +470,27 @@ body {
+ {{ $courses->count() }} Programs Available

Our Courses

Build your future in the automotive industry through practical training and internationally recognized learning experiences.

+

@@ -392,12 +530,16 @@ body {
@if($course->badge) - {{ $course->badge }} + {{ $course->badge }} @endif @if($course->rating) - {{ $course->rating }} + + ★★★★★ + ★★★★★ + + {{ $course->rating }} @endif @@ -414,7 +556,7 @@ body {
@@ -491,30 +633,47 @@ body { diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index 2f9e3f3..f3aa636 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -482,6 +482,15 @@ body { font-weight: 500; } +.status-chip { + display: inline-flex; + align-items: center; + gap: 5px; + background: rgba(46, 204, 113, 0.1); + padding: 4px 10px; + border-radius: 999px; +} + .star-rating { position: relative; display: inline-block; @@ -512,9 +521,9 @@ body { .read-btn { background:#822424; color: white; - padding: 10px 20px; + padding: 12px 20px; font-weight: 700; - border-radius: 8px; + border-radius: 14px; font-size: 14px; transition: all 0.3s ease; text-decoration: none; @@ -613,7 +622,7 @@ body { .cta-card { background: linear-gradient(135deg, var(--primary), #1a3f7a); border-radius: 28px; - padding: 64px 40px; + padding: 40px 40px; position: relative; overflow: hidden; box-shadow: 0 25px 60px rgba(15, 44, 89, 0.25); @@ -628,21 +637,90 @@ body { pointer-events: none; } -.cta-card h2 { - color: #fff; +.cta-glow { + position: absolute; + width: 340px; + height: 340px; + border-radius: 50%; + filter: blur(90px); + pointer-events: none; + opacity: 0.35; +} + +.cta-glow-1 { + top: -120px; + left: -80px; + background: var(--accent-blue); +} + +.cta-glow-2 { + bottom: -140px; + right: -60px; + background: var(--secondary); +} + +.cta-card > *:not(.cta-glow) { position: relative; z-index: 1; } +.cta-eyebrow { + display: inline-flex; + align-items: center; + gap: 8px; + background: rgba(255, 255, 255, 0.12); + border: 1px solid rgba(255, 255, 255, 0.25); + backdrop-filter: blur(12px); + -webkit-backdrop-filter: blur(12px); + color: #FFE618; + font-size: 12px; + font-weight: 700; + letter-spacing: 0.08em; + text-transform: uppercase; + padding: 6px 16px; + border-radius: 999px; + margin-bottom: 14px; +} + +.cta-card h2 { + color: #fff; + font-size: clamp(1.6rem, 3vw, 2.4rem); + margin-bottom: 10px !important; +} + .cta-card p { color: rgba(255, 255, 255, 0.82); - position: relative; - z-index: 1; + margin-bottom: 22px !important; } -.cta-card .btn { - position: relative; - z-index: 1; +.cta-actions { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 14px; +} + +.cta-trust { + display: flex; + flex-wrap: wrap; + justify-content: center; + gap: 26px; + margin-top: 22px; + padding-top: 16px; + border-top: 1px solid rgba(255, 255, 255, 0.14); +} + +.cta-trust-item { + display: inline-flex; + align-items: center; + gap: 8px; + color: rgba(255, 255, 255, 0.85); + font-size: 14px; + font-weight: 600; +} + +.cta-trust-item i { + color: #FFE618; } /* ===== Modal Styling ===== */ @@ -831,7 +909,7 @@ body { {{ $course['rating'] }} ({{ $course['students'] }}) - Active + Active View Details @@ -902,9 +980,27 @@ body {
+ + + + Enrollment Open for 2026

Join the Future of Automotive Engineering

Shape your technical career through modern innovation, practical mastery, and expert guidance.

- Apply Now + + + +
+ Accredited Programs + Flexible Learning + Career Support +