From 4f3a79c114d789e7d88a8bd7388446478e92ae5e Mon Sep 17 00:00:00 2001 From: imadhigp Date: Thu, 16 Jul 2026 19:20:24 +0530 Subject: [PATCH] 7/16 push home --- resources/views/welcome.blade.php | 359 ++++++++++++++++++++---------- 1 file changed, 236 insertions(+), 123 deletions(-) diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index a695a29..028627f 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -18,9 +18,15 @@ --light:#F8F4F7; --dark:#2F1027; --gold:#FFC107; - --card-border: #efeff4; + --card-border: rgba(94, 36, 78, 0.06); --text-muted: #6a6f73; --success-green: #1f8a4c; + --accent-blue: #17a2b8; + + /* Why Choose Us Premium Theme Colors */ + --why-primary: #1A052E; + --why-gold: #FFC107; + --why-dark: #0F031C; } /* ===== Font & Base ===== */ @@ -117,39 +123,66 @@ body{ max-width:700px; } +/* ===== PREMIUM COURSES SECTION (NEW CONCEPT) ===== */ +.courses-section { + background-color: #fbfafc; +} + .course-card { border: 1px solid var(--card-border); - /* border-radius: 20px; */ + /* border-radius: 24px; */ overflow: hidden; - /* background: #fff; */ - transition: transform 0.3s ease, box-shadow 0.3s ease; - + background: #fff; + 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 { - transform: translateY(-5px); - box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08); + transform: translateY(-8px); + box-shadow: 0 20px 40px rgba(94, 36, 78, 0.08); + border-color: rgba(94, 36, 78, 0.15); } .course-image-wrapper { - padding: 16px 16px 0 16px; + position: relative; + padding: 12px; overflow: hidden; } .course-card img { - height: 190px; + height: 200px; width: 100%; object-fit: cover; - /* border-radius: 14px; */ - transition: 0.5s; + /* border-radius: 18px; */ + transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); } .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 { - padding: 20px 24px 24px 24px; + padding: 24px; + padding-top: 12px; display: flex; flex-direction: column; text-align: left; @@ -157,45 +190,65 @@ body{ .course-title { font-size: 21px; - font-weight: 700; + font-weight: 800; line-height: 1.3; - color: #1c1d1f; - margin-bottom: 6px; + color: var(--dark); + margin-bottom: 8px; + transition: color 0.3s ease; +} + +.course-card:hover .course-title { + color: var(--secondary); } .course-author { - font-size: 14px; + font-size: 13px; + font-weight: 500; color: var(--text-muted); - margin-bottom: 8px; + margin-bottom: 16px; + display: flex; + align-items: center; + gap: 6px; } .course-short-desc { font-size: 14px; - color: #4f5357; - margin-bottom: 12px; - line-height: 1.5; + color: #55595d; + margin-bottom: 20px; + 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 { display: flex; align-items: center; - flex-wrap: wrap; - gap: 8px; - margin-bottom: 14px; -} - -.badge-bestseller { - background-color: #ece3f1; - color: var(--primary); - font-weight: 700; - font-size: 11px; - padding: 3px 10px; - border-radius: 4px; - text-transform: uppercase; + justify-content: space-between; + padding-top: 15px; + border-top: 1px dashed rgba(94, 36, 78, 0.1); + margin-bottom: 20px; } .rating-star { - color: #b4690e; + color: #e5981d; font-weight: 700; font-size: 14px; display: flex; @@ -206,95 +259,115 @@ body{ .rating-count { color: var(--text-muted); font-size: 13px; -} - -.course-features { - display: flex; - gap: 15px; - font-size: 13px; - color: var(--success-green); - margin-bottom: 18px; font-weight: 500; } -.course-features span i { - margin-right: 4px; -} - .course-footer { margin-top: auto; } +/* Clean Premium Action Button */ .read-btn { - background: var(--primary); - color: #fff; - padding: 10px 25px; - font-weight: 600; + background: transparent; + color: var(--primary); + border: 2px solid var(--primary); + padding: 11px 30px; + font-weight: 700; border-radius: 30px; - font-size: 15px; - transition: 0.2s; - border: none; + font-size: 14px; + transition: all 0.3s ease; text-decoration: none; display: inline-block; + text-align: center; + width: 100%; } .read-btn:hover { - background: var(--secondary); + background: var(--primary); color: #fff; + box-shadow: 0 8px 20px rgba(94, 36, 78, 0.2); + transform: translateY(-2px); } -/* ===== Why Choose Us ===== */ +/* ===== WHY CHOOSE US ===== */ .why-section { - background: #F8F4F7; + background: var(--why-primary); overflow-x: hidden; } -.why-section li { - font-size: 18px; - margin-bottom: 18px; +.why-section h2 { + color: #fff !important; } -.why-section i { - color: #5E244E; +.backdrop-blur { + 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 { opacity: 0; transition: all 1s ease-out; } - .fade-up-init { transform: translateY(40px); } - .fade-left-init { transform: translateX(50px); } - .fade-right-init { transform: translateX(-50px); } - .zoom-in-init { transform: scale(0.9); } - .animate-on-scroll.animated { opacity: 1; transform: translateY(0) translateX(0) scale(1); } + +.z-2 { z-index: 2; } +.fw-extrabold { font-weight: 800; } +.tracking-wider { letter-spacing: 0.15em; } {{-- ===================== HERO ===================== --}} {{-- ===================== OUR COURSES ===================== --}} -
- +
-

Our Courses

-

- Explore our professional automotive engineering courses. + Academic Programs +

+ Our Top Courses +

+

+ Explore our professional, industry-recognized automotive engineering curriculums.

@@ -367,35 +441,40 @@ body{
@foreach($courses as $index => $course) - -
+
+ {{ $course['badge'] }} {{ $course['title'] }}

{{ $course['title'] }}

-
{{ $course['author'] }}
+
+ {{ $course['author'] }} +

{{ $course['desc'] }}

-
- {{ $course['badge'] }} - - {{ $course['rating'] }} - - ({{ $course['students'] }}) + +
+ Practical Labs + Accredited
-
- Practical Labs - Verified Course +
+ + {{ $course['rating'] }} + ({{ $course['students'] }}) + + Active
@@ -414,44 +493,79 @@ body{
{{-- ===================== WHY CHOOSE US ===================== --}} -
-
-
+
+
+ Automotive Engineering Lab +
+
+
- -
- Automotive Engineering Lab +
+
+
+

+ Why Choose Us? + +

+
+
+ +
+ +
+
+
+ +
+

Modern Laboratories

+

State-of-the-art facilities equipped with the latest technology for practical learning.

+
- -
-

- Why Choose Us? -

+
+
+
+ +
+

Qualified Lecturers

+

Learn from experienced industry professionals and academic experts.

+
+
-
    -
  • - Modern Laboratories -
  • -
  • - Industry Qualified Lecturers -
  • -
  • - Hands-on Vehicle Training -
  • -
  • - Hybrid & Electric Vehicle Research Center -
  • -
  • - Internship Opportunities -
  • -
+
+
+
+ +
+

Hands-on Training

+

Gain real-world experience through direct practical training on vehicles.

+
+
+ +
+
+
+ +
+

EV Research Center

+

Advanced research center dedicated to Hybrid and Electric Vehicle technologies.

+
+
+ +
+
+
+ +
+

Internship Opportunities

+

Guaranteed industrial placements to kickstart your professional career.

+
@@ -474,7 +588,6 @@ body{
-