fix: footer
This commit is contained in:
parent
42739a8f03
commit
b1b5fd7f4f
147
index.html
147
index.html
@ -41,13 +41,10 @@
|
|||||||
.cube-faces {
|
.cube-faces {
|
||||||
transform-style: preserve-3d;
|
transform-style: preserve-3d;
|
||||||
height: 80px;
|
height: 80px;
|
||||||
/* $size */
|
|
||||||
width: 80px;
|
width: 80px;
|
||||||
/* $size */
|
|
||||||
position: relative;
|
position: relative;
|
||||||
transform-origin: 0 0;
|
transform-origin: 0 0;
|
||||||
transform: translateX(0) translateY(0) translateZ(-40px);
|
transform: translateX(0) translateY(0) translateZ(-40px);
|
||||||
/* -$size/2 */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.cube-face {
|
.cube-face {
|
||||||
@ -257,6 +254,12 @@
|
|||||||
<img src="https://repo.dhanu.cloud/ico/jbl.svg" alt="jbl">
|
<img src="https://repo.dhanu.cloud/ico/jbl.svg" alt="jbl">
|
||||||
<img src="https://repo.dhanu.cloud/ico/ust.svg" alt="ust">
|
<img src="https://repo.dhanu.cloud/ico/ust.svg" alt="ust">
|
||||||
<img src="https://repo.dhanu.cloud/ico/accenture.svg" alt="accenture">
|
<img src="https://repo.dhanu.cloud/ico/accenture.svg" alt="accenture">
|
||||||
|
<img class="image-hcl" src="https://repo.dhanu.cloud/ico/hcl.svg" alt="hcl">
|
||||||
|
<img src="https://repo.dhanu.cloud/ico/ebmpapst.svg" alt="ebmpapst">
|
||||||
|
<img src="https://repo.dhanu.cloud/ico/infosys.svg" alt="infosys">
|
||||||
|
<img src="https://repo.dhanu.cloud/ico/jbl.svg" alt="jbl">
|
||||||
|
<img src="https://repo.dhanu.cloud/ico/ust.svg" alt="ust">
|
||||||
|
<img src="https://repo.dhanu.cloud/ico/accenture.svg" alt="accenture">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -271,19 +274,19 @@
|
|||||||
<div class="slide1">
|
<div class="slide1">
|
||||||
<div class="slide1-box">
|
<div class="slide1-box">
|
||||||
<div class="image-container">
|
<div class="image-container">
|
||||||
<img src="assets/images/hai1/qa.jpg"
|
<img src="assets/images/hai1/qa.jpg" alt="Business Meeting">
|
||||||
alt="Business Meeting">
|
|
||||||
<div class="image-overlay">
|
<div class="image-overlay">
|
||||||
<h4>QA & Testing</h4>
|
<h4>QA & Testing</h4>
|
||||||
<p>A close-up of a developer's screen showing a green 'Tests Passed' status and a successful performance report graph.</p>
|
<p>A close-up of a developer's screen showing a green 'Tests Passed' status and
|
||||||
|
a successful performance report graph.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="image-container">
|
<div class="image-container">
|
||||||
<img src="assets/images/hai1/hai12.jpg"
|
<img src="assets/images/hai1/hai12.jpg" alt="Architecture">
|
||||||
alt="Architecture">
|
|
||||||
<div class="image-overlay">
|
<div class="image-overlay">
|
||||||
<h4>Software Dev</h4>
|
<h4>Software Dev</h4>
|
||||||
<p>A sleek image of a professional wireframe/design on a large monitor, with a split view showing the finished product on a mobile phone.</p>
|
<p>A sleek image of a professional wireframe/design on a large monitor, with a
|
||||||
|
split view showing the finished product on a mobile phone.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -293,19 +296,20 @@
|
|||||||
<div class="slide1">
|
<div class="slide1">
|
||||||
<div class="slide1-box">
|
<div class="slide1-box">
|
||||||
<div class="image-container">
|
<div class="image-container">
|
||||||
<img src="assets/images/hai1/ai.jpg"
|
<img src="assets/images/hai1/ai.jpg" alt="Analytics">
|
||||||
alt="Analytics">
|
|
||||||
<div class="image-overlay">
|
<div class="image-overlay">
|
||||||
<h4>AI & Data</h4>
|
<h4>AI & Data</h4>
|
||||||
<p>A stunning, large-scale data visualization or chart (like a complex network graph) displayed on a screen, hinting at discovery and high-level strategy.</p>
|
<p>A stunning, large-scale data visualization or chart (like a complex network
|
||||||
|
graph) displayed on a screen, hinting at discovery and high-level strategy.
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="image-container">
|
<div class="image-container">
|
||||||
<img src="assets/images/hai1/cyber.jpg"
|
<img src="assets/images/hai1/cyber.jpg" alt="Technology">
|
||||||
alt="Technology">
|
|
||||||
<div class="image-overlay">
|
<div class="image-overlay">
|
||||||
<h4>Cybersecurity</h4>
|
<h4>Cybersecurity</h4>
|
||||||
<p>A digital shield or lock icon overlaid on a dark, technical background with green/blue code lines, symbolizing protection.</p>
|
<p>A digital shield or lock icon overlaid on a dark, technical background with
|
||||||
|
green/blue code lines, symbolizing protection.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -313,19 +317,19 @@
|
|||||||
<div class="slide1">
|
<div class="slide1">
|
||||||
<div class="slide1-box">
|
<div class="slide1-box">
|
||||||
<div class="image-container">
|
<div class="image-container">
|
||||||
<img src="assets/images/hai1/qa.jpg"
|
<img src="assets/images/hai1/qa.jpg" alt="Analytics">
|
||||||
alt="Analytics">
|
|
||||||
<div class="image-overlay">
|
<div class="image-overlay">
|
||||||
<h4>QA & Testing</h4>
|
<h4>QA & Testing</h4>
|
||||||
<p>A close-up of a developer's screen showing a green 'Tests Passed' status and a successful performance report graph.</p>
|
<p>A close-up of a developer's screen showing a green 'Tests Passed' status and
|
||||||
|
a successful performance report graph.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="image-container">
|
<div class="image-container">
|
||||||
<img src="assets/images/hai1/cyber.jpg"
|
<img src="assets/images/hai1/cyber.jpg" alt="Technology">
|
||||||
alt="Technology">
|
|
||||||
<div class="image-overlay">
|
<div class="image-overlay">
|
||||||
<h4>Cybersecurity</h4>
|
<h4>Cybersecurity</h4>
|
||||||
<p>A digital shield or lock icon overlaid on a dark, technical background with green/blue code lines, symbolizing protection.</p>
|
<p>A digital shield or lock icon overlaid on a dark, technical background with
|
||||||
|
green/blue code lines, symbolizing protection.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -333,19 +337,19 @@
|
|||||||
<div class="slide1">
|
<div class="slide1">
|
||||||
<div class="slide1-box">
|
<div class="slide1-box">
|
||||||
<div class="image-container">
|
<div class="image-container">
|
||||||
<img src="assets/images/hai1/hai12.jpg"
|
<img src="assets/images/hai1/hai12.jpg" alt="Analytics">
|
||||||
alt="Analytics">
|
|
||||||
<div class="image-overlay">
|
<div class="image-overlay">
|
||||||
<h4>Software Dev</h4>
|
<h4>Software Dev</h4>
|
||||||
<p>A sleek image of a professional wireframe/design on a large monitor, with a split view showing the finished product on a mobile phone.</p>
|
<p>A sleek image of a professional wireframe/design on a large monitor, with a
|
||||||
|
split view showing the finished product on a mobile phone.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="image-container">
|
<div class="image-container">
|
||||||
<img src="assets/images/hai1/qa.jpg"
|
<img src="assets/images/hai1/qa.jpg" alt="Technology">
|
||||||
alt="Technology">
|
|
||||||
<div class="image-overlay">
|
<div class="image-overlay">
|
||||||
<h4>QA & Testing</h4>
|
<h4>QA & Testing</h4>
|
||||||
<p>A close-up of a developer's screen showing a green 'Tests Passed' status and a successful performance report graph.</p>
|
<p>A close-up of a developer's screen showing a green 'Tests Passed' status and
|
||||||
|
a successful performance report graph.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -353,19 +357,21 @@
|
|||||||
<div class="slide1">
|
<div class="slide1">
|
||||||
<div class="slide1-box">
|
<div class="slide1-box">
|
||||||
<div class="image-container">
|
<div class="image-container">
|
||||||
<img src="assets/images/hai1/ai.jpg"
|
<img src="assets/images/hai1/ai.jpg" alt="Analytics">
|
||||||
alt="Analytics">
|
|
||||||
<div class="image-overlay">
|
<div class="image-overlay">
|
||||||
<h4>AI & Data</h4>
|
<h4>AI & Data</h4>
|
||||||
<p>A stunning, large-scale data visualization or chart (like a complex network graph) displayed on a screen, hinting at discovery and high-level strategy.</p>
|
<p>A stunning, large-scale data visualization or chart (like a complex network
|
||||||
|
graph) displayed on a screen, hinting at discovery and high-level strategy.
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="image-container">
|
<div class="image-container">
|
||||||
<img src="assets/images/hai1/aws..jpg"
|
<img src="assets/images/hai1/aws..jpg" alt="Technology">
|
||||||
alt="Technology">
|
|
||||||
<div class="image-overlay">
|
<div class="image-overlay">
|
||||||
<h4>Cloud & DevOps</h4>
|
<h4>Cloud & DevOps</h4>
|
||||||
<p>An abstract, interconnected graphic of servers and data pipelines with subtle logos (AWS/Azure/GCP-style icons, if usage is permitted) to symbolize powerful infrastructure.</p>
|
<p>An abstract, interconnected graphic of servers and data pipelines with subtle
|
||||||
|
logos (AWS/Azure/GCP-style icons, if usage is permitted) to symbolize
|
||||||
|
powerful infrastructure.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -373,19 +379,20 @@
|
|||||||
<div class="slide1">
|
<div class="slide1">
|
||||||
<div class="slide1-box">
|
<div class="slide1-box">
|
||||||
<div class="image-container">
|
<div class="image-container">
|
||||||
<img src="assets/images/hai1/ai.jpg"
|
<img src="assets/images/hai1/ai.jpg" alt="Analytics">
|
||||||
alt="Analytics">
|
|
||||||
<div class="image-overlay">
|
<div class="image-overlay">
|
||||||
<h4>AI & Data</h4>
|
<h4>AI & Data</h4>
|
||||||
<p>A stunning, large-scale data visualization or chart (like a complex network graph) displayed on a screen, hinting at discovery and high-level strategy.</p>
|
<p>A stunning, large-scale data visualization or chart (like a complex network
|
||||||
|
graph) displayed on a screen, hinting at discovery and high-level strategy.
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="image-container">
|
<div class="image-container">
|
||||||
<img src="assets/images/hai1/cyber.jpg"
|
<img src="assets/images/hai1/cyber.jpg" alt="Technology">
|
||||||
alt="Technology">
|
|
||||||
<div class="image-overlay">
|
<div class="image-overlay">
|
||||||
<h4>Cybersecurity</h4>
|
<h4>Cybersecurity</h4>
|
||||||
<p>A digital shield or lock icon overlaid on a dark, technical background with green/blue code lines, symbolizing protection.</p>
|
<p>A digital shield or lock icon overlaid on a dark, technical background with
|
||||||
|
green/blue code lines, symbolizing protection.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -394,19 +401,20 @@
|
|||||||
<div class="slide1">
|
<div class="slide1">
|
||||||
<div class="slide1-box">
|
<div class="slide1-box">
|
||||||
<div class="image-container">
|
<div class="image-container">
|
||||||
<img src="assets/images/hai1/hai12.jpg"
|
<img src="assets/images/hai1/hai12.jpg" alt="Creativity">
|
||||||
alt="Creativity">
|
|
||||||
<div class="image-overlay">
|
<div class="image-overlay">
|
||||||
<h4>Software Dev</h4>
|
<h4>Software Dev</h4>
|
||||||
<p>A sleek image of a professional wireframe/design on a large monitor, with a split view showing the finished product on a mobile phone.</p>
|
<p>A sleek image of a professional wireframe/design on a large monitor, with a
|
||||||
|
split view showing the finished product on a mobile phone.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="image-container">
|
<div class="image-container">
|
||||||
<img src="assets/images/hai1/aws..jpg"
|
<img src="assets/images/hai1/aws..jpg" alt="Beach">
|
||||||
alt="Beach">
|
|
||||||
<div class="image-overlay">
|
<div class="image-overlay">
|
||||||
<h4>Cloud & DevOps</h4>
|
<h4>Cloud & DevOps</h4>
|
||||||
<p>An abstract, interconnected graphic of servers and data pipelines with subtle logos (AWS/Azure/GCP-style icons, if usage is permitted) to symbolize powerful infrastructure.</p>
|
<p>An abstract, interconnected graphic of servers and data pipelines with subtle
|
||||||
|
logos (AWS/Azure/GCP-style icons, if usage is permitted) to symbolize
|
||||||
|
powerful infrastructure.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -533,14 +541,12 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
<section>
|
||||||
|
|
||||||
<section class="practice-cards-container">
|
|
||||||
|
|
||||||
<!-- <div class="practice-cards-container"> -->
|
<!-- <div class="practice-cards-container"> -->
|
||||||
<div class="practice-container">
|
<div class="practice-container">
|
||||||
<h1 class="practice-title">Practice Coding & Ace Hiring Assessments</h1>
|
<h1 class="practice-title">Practice Coding & Ace Hiring Assessments</h1>
|
||||||
<p class="practice-subtitle">Level up your coding skills by practicing the hiring assessments of your dream companies & ace your placement game!</p>
|
<p class="practice-subtitle">Level up your coding skills by practicing the hiring assessments of your
|
||||||
|
dream companies & ace your placement game!</p>
|
||||||
|
|
||||||
<div class="practice-cards-wrapper">
|
<div class="practice-cards-wrapper">
|
||||||
<!-- Coding Practice Card -->
|
<!-- Coding Practice Card -->
|
||||||
@ -613,7 +619,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<section class="card-simple">
|
<section class="card-simple">
|
||||||
<div class="card-easy">
|
<div class="card-easy">
|
||||||
<div class="card-easy-left">
|
<div class="card-easy-left">
|
||||||
@ -678,26 +683,25 @@
|
|||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="footer-container">
|
<div class="footer-container">
|
||||||
<div class="footer-section company-section">
|
<div class="footer-section company-section">
|
||||||
<div class="logo">Kode Pilot</div>
|
<div class="logo">Kodepilot</div>
|
||||||
<p class="tagline">Built with <span class="heart">❤</span> in India for the world</p>
|
<p class="tagline">Built with <span class="heart">❤</span> in India for the world</p>
|
||||||
|
|
||||||
<div class="contact-info">
|
<div class="contact-info">
|
||||||
<h4>Stay Connected</h4>
|
<h4>Stay Connected</h4>
|
||||||
|
|
||||||
<div style="margin-bottom: 20px;">
|
<div style="margin-bottom: 20px; line-height: 23px;">
|
||||||
<strong style="color: white; font-size: 14px;">Sales Inquiries</strong>
|
|
||||||
<div class="contact-item">
|
<div class="contact-item">
|
||||||
<i class="fas fa-envelope"></i>
|
<i class="fas fa-envelope"></i>
|
||||||
sales@kodepilot.com
|
sales@kodepilot.com
|
||||||
</div>
|
</div>
|
||||||
<div class="contact-item">
|
<div class="contact-item">
|
||||||
<i class="fas fa-phone"></i>
|
<i class="fas fa-phone"></i>
|
||||||
+91-9311777388 <span style="font-size: 12px;">(Mon to Fri, 9 AM to 6 PM)</span>
|
+91-9311777388 <span style="font-size: 12px;"> </span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<strong style="color: white; font-size: 14px;">Support Inquiries</strong>
|
<strong style="color: white; font-size: 14px; line-height: 30px;">Support Inquiries</strong>
|
||||||
<div class="contact-item">
|
<div class="contact-item">
|
||||||
<i class="fas fa-envelope"></i>
|
<i class="fas fa-envelope"></i>
|
||||||
support@kodepilot.com
|
support@kodepilot.com
|
||||||
@ -733,19 +737,15 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Courses Section -->
|
|
||||||
<div class="footer-section">
|
<div class="footer-section">
|
||||||
<h3>Courses</h3>
|
<h3>Courses</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#">Web Development</a></li>
|
<li><a href="#">Software Development</a></li>
|
||||||
<li><a href="#">Full Stack Development</a></li>
|
<li><a href="#">Cloud & DevOps</a></li>
|
||||||
<li><a href="#">Frontend Development</a></li>
|
<li><a href="#">AI & Data</a></li>
|
||||||
<li><a href="#">Backend Development</a></li>
|
<li><a href="#">Cybersecurity</a></li>
|
||||||
<li><a href="#">JavaScript Mastery</a></li>
|
<li><a href="#">Quality & Testing</a></li>
|
||||||
<li><a href="#">React & Next.js</a></li>
|
<li><a href="#">Enterprise Tech</a></li>
|
||||||
<li><a href="#">Node.js & Express</a></li>
|
|
||||||
<li><a href="#">Database Management</a></li>
|
|
||||||
<li><a href="#">API Development</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h3 style="margin-top: 30px;">Learning Paths</h3>
|
<h3 style="margin-top: 30px;">Learning Paths</h3>
|
||||||
@ -771,22 +771,19 @@
|
|||||||
|
|
||||||
<h3 style="margin-top: 30px;">Community</h3>
|
<h3 style="margin-top: 30px;">Community</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#">Student Forum</a></li>
|
<li><a href="#">Forums & Study Groups</a></li>
|
||||||
<li><a href="#">Code Reviews</a></li>
|
<li><a href="#">Code Reviews</a></li>
|
||||||
<li><a href="#">Study Groups</a></li>
|
<li><a href="#">Mentorship & Alumni</a></li>
|
||||||
<li><a href="#">Success Stories</a></li>
|
|
||||||
<li><a href="#">Mentorship Program</a></li>
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="footer-bottom">
|
<div class="footer-bottom">
|
||||||
<div style="max-width: 1200px; margin: 0 auto; padding: 0 20px;">
|
<div style="max-width: 1200px; margin: 0 auto; padding: 0 20px;">
|
||||||
<div class="footer-bottom-links">
|
<p style="margin-top: 20px 0px; padding: 10px 0px; font-size: 15px; margin-bottom : 30px">
|
||||||
<p style="margin-top: 20px;">
|
Copyright © 2025 <a href="#" style="color: #120ee2;">Kodepilot</a> - All
|
||||||
<p style="color:#000;">
|
rights
|
||||||
Copyright © 2025 <a href="#" style="color:#000; text-decoration:none;">Kode Pilot Learning Pvt Ltd</a> - All rights reserved.
|
reserved.
|
||||||
</p>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
435
main.css
435
main.css
@ -1,3 +1,8 @@
|
|||||||
|
:root {
|
||||||
|
--course-max-width: 1200px;
|
||||||
|
--course-max-width-small: 1000px;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: Arial, sans-serif;
|
font-family: Arial, sans-serif;
|
||||||
@ -9,15 +14,19 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 12px 30px;
|
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-bottom: 1px solid #eee;
|
border-bottom: 1px solid #eee;
|
||||||
|
position: fixed;
|
||||||
|
width: 100%;
|
||||||
|
height: 56px;
|
||||||
|
z-index: 9999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
color: #003366;
|
color: #003366;
|
||||||
|
margin-left: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search {
|
.search {
|
||||||
@ -40,6 +49,10 @@
|
|||||||
top: 19px;
|
top: 19px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.buttons {
|
||||||
|
margin-right: 26px;
|
||||||
|
}
|
||||||
|
|
||||||
.buttons button {
|
.buttons button {
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
padding: 8px 15px;
|
padding: 8px 15px;
|
||||||
@ -89,7 +102,7 @@
|
|||||||
.hero_container {
|
.hero_container {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 40px;
|
gap: 40px;
|
||||||
max-width: 1200px;
|
max-width: var(--course-max-width);
|
||||||
margin: auto;
|
margin: auto;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
@ -187,7 +200,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.users_box {
|
.users_box {
|
||||||
max-width: 1200px;
|
max-width: var(--course-max-width);
|
||||||
}
|
}
|
||||||
|
|
||||||
.know-cards {
|
.know-cards {
|
||||||
@ -295,7 +308,7 @@
|
|||||||
gap: 40px;
|
gap: 40px;
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
max-width: 1200px;
|
max-width: var(--course-max-width);
|
||||||
}
|
}
|
||||||
|
|
||||||
.mnc h2 {
|
.mnc h2 {
|
||||||
@ -339,7 +352,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.our-numbers {
|
.our-numbers {
|
||||||
max-width: 1200px;
|
max-width: var(--course-max-width);
|
||||||
margin: 50px auto 50px auto;
|
margin: 50px auto 50px auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -576,72 +589,6 @@
|
|||||||
color: #1f2937;
|
color: #1f2937;
|
||||||
}
|
}
|
||||||
|
|
||||||
.corces {
|
|
||||||
display: flex;
|
|
||||||
/* makes children in a row */
|
|
||||||
flex-wrap: wrap;
|
|
||||||
/* wrap to next line if overflow */
|
|
||||||
justify-content: center;
|
|
||||||
/* center overall row */
|
|
||||||
align-items: flex-start;
|
|
||||||
/* align items at top */
|
|
||||||
text-align: start;
|
|
||||||
max-width: 1200px;
|
|
||||||
margin: 0 auto 47px auto;
|
|
||||||
gap: 20px;
|
|
||||||
/* spacing between boxes */
|
|
||||||
}
|
|
||||||
|
|
||||||
.course-card {
|
|
||||||
height: 300px;
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: 8px;
|
|
||||||
overflow: hidden;
|
|
||||||
width: 300px;
|
|
||||||
font-family: Arial, sans-serif;
|
|
||||||
background: #fff;
|
|
||||||
}
|
|
||||||
|
|
||||||
.course-card a {
|
|
||||||
text-decoration: none;
|
|
||||||
color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
.course-image {
|
|
||||||
width: 100%;
|
|
||||||
height: 152px;
|
|
||||||
background-size: cover;
|
|
||||||
background-position: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.course-content {
|
|
||||||
padding: 17px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.course-category {
|
|
||||||
font-size: 12px;
|
|
||||||
color: #888;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.course-name {
|
|
||||||
display: block;
|
|
||||||
font-weight: bold;
|
|
||||||
margin-bottom: 5px;
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
|
|
||||||
.course-description {
|
|
||||||
display: -webkit-box;
|
|
||||||
-webkit-box-orient: vertical;
|
|
||||||
-webkit-line-clamp: 3;
|
|
||||||
overflow: hidden;
|
|
||||||
text-overflow: ellipsis;
|
|
||||||
display: block;
|
|
||||||
max-height: 4.5em;
|
|
||||||
line-height: 1.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.hover-slider {
|
.hover-slider {
|
||||||
display: none;
|
display: none;
|
||||||
padding: 0 0 50px 0;
|
padding: 0 0 50px 0;
|
||||||
@ -664,7 +611,7 @@
|
|||||||
|
|
||||||
.slide1r-container {
|
.slide1r-container {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
max-width: 1000px;
|
max-width: var(--course-max-width-small);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: relative;
|
position: relative;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
@ -752,7 +699,6 @@
|
|||||||
opacity: 0.9;
|
opacity: 0.9;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Navigation buttons */
|
|
||||||
.nav-button {
|
.nav-button {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
outline: solid rgba(166, 166, 166, 0.485) 1px;
|
outline: solid rgba(166, 166, 166, 0.485) 1px;
|
||||||
@ -761,8 +707,8 @@
|
|||||||
background: rgba(255, 255, 255, 0.95);
|
background: rgba(255, 255, 255, 0.95);
|
||||||
backdrop-filter: blur(10px);
|
backdrop-filter: blur(10px);
|
||||||
border: none;
|
border: none;
|
||||||
width: 60px;
|
width: 50px;
|
||||||
height: 60px;
|
height: 50px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -780,11 +726,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.prev-btn {
|
.prev-btn {
|
||||||
left: -50px;
|
left: -70px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.next-btn {
|
.next-btn {
|
||||||
right: -50px;
|
right: -70px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-button::before {
|
.nav-button::before {
|
||||||
@ -919,7 +865,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.footer-container {
|
.footer-container {
|
||||||
max-width: 1200px;
|
max-width: var(--course-max-width);
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
display: grid;
|
display: grid;
|
||||||
@ -1194,7 +1140,7 @@
|
|||||||
.move-slider-container {
|
.move-slider-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
max-width: 1200px;
|
max-width: var(--course-max-width);
|
||||||
}
|
}
|
||||||
|
|
||||||
.move-slider-animation-box {
|
.move-slider-animation-box {
|
||||||
@ -1317,13 +1263,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.card-simple {
|
.card-simple {
|
||||||
max-width: 1200px;
|
max-width: var(--course-max-width);
|
||||||
margin: 70px auto 70px auto;
|
margin: 70px auto 70px auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-easy {
|
.card-easy {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 1200px;
|
|
||||||
background-color: #F6F8FA;
|
background-color: #F6F8FA;
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
@ -1477,49 +1422,162 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.corces-s {
|
||||||
|
margin: 40px 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.course-category-title {
|
||||||
|
font-size: 22px;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-bottom: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.course-slider {
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.course-track {
|
||||||
|
display: flex;
|
||||||
|
gap: 20px;
|
||||||
|
overflow-x: hidden;
|
||||||
|
scroll-behavior: smooth;
|
||||||
|
flex: 1;
|
||||||
|
max-width: 100%;
|
||||||
|
padding: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.course-card {
|
||||||
|
min-width: 309px;
|
||||||
|
background: #fff;
|
||||||
|
border-radius: 8px;
|
||||||
|
padding: 12px;
|
||||||
|
height: 258px;
|
||||||
|
outline: solid gray 0.1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.course-image {
|
||||||
|
width: 100%;
|
||||||
|
height: 150px;
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center;
|
||||||
|
border-radius: 6px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.course-content {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
}
|
||||||
|
|
||||||
|
.course-name {
|
||||||
|
font-weight: 600;
|
||||||
|
margin-bottom: 5px;
|
||||||
|
color: #1e3a8a;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.course-name:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
.course-description {
|
||||||
|
font-size: 14px;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
|
||||||
|
.corces {
|
||||||
|
display: flex;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: flex-start;
|
||||||
|
align-items: flex-start;
|
||||||
|
text-align: start;
|
||||||
|
max-width: var(--course-max-width);
|
||||||
|
margin: 0 auto 47px auto;
|
||||||
|
gap: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.course-section {
|
||||||
|
max-width: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1360px) {
|
||||||
|
:root {
|
||||||
|
--course-max-width: 1000px;
|
||||||
|
--course-max-width-small: 800px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1000px) {
|
||||||
|
:root {
|
||||||
|
--course-max-width: 800px;
|
||||||
|
--course-max-width-small: 600px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mnc h2 {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 680px) {
|
||||||
|
.search {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hero p {
|
||||||
|
width: 400px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*----------------------------------------------------------------------------------------------------------------------*/
|
/*----------------------------------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
||||||
/* Practice Cards Component CSS - Unique class names to prevent conflicts */
|
/* Practice Cards Component CSS - Unique class names to prevent conflicts */
|
||||||
.practice-cards-container * {
|
.practice-cards-container * {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
font-family: 'Segoe UI', system-ui, sans-serif;
|
font-family: 'Segoe UI', system-ui, sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-cards-container {
|
.practice-cards-container {
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
color: #1f2937;
|
color: #1f2937;
|
||||||
padding: 40px 20px;
|
padding: 40px 20px;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-container {
|
.practice-container {
|
||||||
max-width: 1300px;
|
max-width: 1300px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-title {
|
.practice-title {
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
color: #111827;
|
color: #111827;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-subtitle {
|
.practice-subtitle {
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
color: #6b7280;
|
color: #6b7280;
|
||||||
max-width: 700px;
|
max-width: 700px;
|
||||||
/* margin: 0 auto 40px; */
|
/* margin: 0 auto 40px; */
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-cards-wrapper {
|
.practice-cards-wrapper {
|
||||||
margin: 30px 0;
|
margin: 30px 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
height: 380px;
|
height: 380px;
|
||||||
@ -1530,9 +1588,9 @@
|
|||||||
gap: 1px;
|
gap: 1px;
|
||||||
background-color: #d1d5db;
|
background-color: #d1d5db;
|
||||||
padding: 1px;
|
padding: 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-card {
|
.practice-card {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
|
transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
|
||||||
@ -1542,17 +1600,17 @@
|
|||||||
transform-origin: center;
|
transform-origin: center;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-card:first-child {
|
.practice-card:first-child {
|
||||||
border-radius: 11px 0 0 11px;
|
border-radius: 11px 0 0 11px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-card:last-child {
|
.practice-card:last-child {
|
||||||
border-radius: 0 11px 11px 0;
|
border-radius: 0 11px 11px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-card-content {
|
.practice-card-content {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
padding: 24px;
|
padding: 24px;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -1562,21 +1620,35 @@
|
|||||||
min-width: 0;
|
min-width: 0;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Color changes for active and hover states */
|
/* Color changes for active and hover states */
|
||||||
.practice-card.active { background-color: #c6e0f1; }
|
.practice-card.active {
|
||||||
.practice-card:nth-child(1):hover,
|
background-color: #c6e0f1;
|
||||||
.practice-card:nth-child(1).active { background-color: #89CFF0; }
|
}
|
||||||
.practice-card:nth-child(2):hover,
|
|
||||||
.practice-card:nth-child(2).active { background-color: #FEB4CF; }
|
|
||||||
.practice-card:nth-child(3):hover,
|
|
||||||
.practice-card:nth-child(3).active { background-color: #DFC5FE; }
|
|
||||||
.practice-card:nth-child(4):hover,
|
|
||||||
.practice-card:nth-child(4).active { background-color: #FFE186; }
|
|
||||||
|
|
||||||
/* SVG Container */
|
.practice-card:nth-child(1):hover,
|
||||||
.practice-card-svg {
|
.practice-card:nth-child(1).active {
|
||||||
|
background-color: #89CFF0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.practice-card:nth-child(2):hover,
|
||||||
|
.practice-card:nth-child(2).active {
|
||||||
|
background-color: #FEB4CF;
|
||||||
|
}
|
||||||
|
|
||||||
|
.practice-card:nth-child(3):hover,
|
||||||
|
.practice-card:nth-child(3).active {
|
||||||
|
background-color: #DFC5FE;
|
||||||
|
}
|
||||||
|
|
||||||
|
.practice-card:nth-child(4):hover,
|
||||||
|
.practice-card:nth-child(4).active {
|
||||||
|
background-color: #FFE186;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* SVG Container */
|
||||||
|
.practice-card-svg {
|
||||||
width: 0;
|
width: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -1586,17 +1658,17 @@
|
|||||||
opacity: 0;
|
opacity: 0;
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-card-svg svg {
|
.practice-card-svg svg {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
max-width: 180px;
|
max-width: 180px;
|
||||||
max-height: 180px;
|
max-height: 180px;
|
||||||
filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
|
filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-card-icon {
|
.practice-card-icon {
|
||||||
width: 48px;
|
width: 48px;
|
||||||
height: 48px;
|
height: 48px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
@ -1606,40 +1678,55 @@
|
|||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
transition: transform 0.5s ease;
|
transition: transform 0.5s ease;
|
||||||
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-card:nth-child(1) .practice-card-icon { background-color: #1268f3; color: white; }
|
.practice-card:nth-child(1) .practice-card-icon {
|
||||||
.practice-card:nth-child(2) .practice-card-icon { background-color: #ef4444; color: white; }
|
background-color: #1268f3;
|
||||||
.practice-card:nth-child(3) .practice-card-icon { background-color: #8b5cf6; color: white; }
|
color: white;
|
||||||
.practice-card:nth-child(4) .practice-card-icon { background-color: #f59e0b; color: white; }
|
}
|
||||||
|
|
||||||
.practice-card h3 {
|
.practice-card:nth-child(2) .practice-card-icon {
|
||||||
|
background-color: #ef4444;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.practice-card:nth-child(3) .practice-card-icon {
|
||||||
|
background-color: #8b5cf6;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.practice-card:nth-child(4) .practice-card-icon {
|
||||||
|
background-color: #f59e0b;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
|
.practice-card h3 {
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
color: #111827;
|
color: #111827;
|
||||||
transition: transform 0.5s ease;
|
transition: transform 0.5s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-card p {
|
.practice-card p {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
color: #6b7280;
|
color: #6b7280;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
transition: transform 0.5s ease;
|
transition: transform 0.5s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-meta-info {
|
.practice-meta-info {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #4b5563;
|
color: #4b5563;
|
||||||
transition: transform 0.5s ease;
|
transition: transform 0.5s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-meta-logo {
|
.practice-meta-logo {
|
||||||
width: 24px;
|
width: 24px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
background-color: #3b82f6;
|
background-color: #3b82f6;
|
||||||
@ -1651,17 +1738,17 @@
|
|||||||
color: white;
|
color: white;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-footer-text {
|
.practice-footer-text {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #374151;
|
color: #374151;
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
transition: transform 0.5s ease;
|
transition: transform 0.5s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-cta-btn {
|
.practice-cta-btn {
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
background-color: #111827;
|
background-color: #111827;
|
||||||
color: white;
|
color: white;
|
||||||
@ -1679,95 +1766,95 @@
|
|||||||
transform: translateY(15px);
|
transform: translateY(15px);
|
||||||
position: relative;
|
position: relative;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-cta-btn::before {
|
.practice-cta-btn::before {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: -100%;
|
left: -100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
|
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
|
||||||
transition: left 0.8s;
|
transition: left 0.8s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-cta-btn:hover::before {
|
.practice-cta-btn:hover::before {
|
||||||
left: 100%;
|
left: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-cta-btn:hover {
|
.practice-cta-btn:hover {
|
||||||
background-color: #374151;
|
background-color: #374151;
|
||||||
transform: translateY(-2px);
|
transform: translateY(-2px);
|
||||||
box-shadow: 0 6px 12px rgba(0,0,0,0.15);
|
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Active card styles */
|
/* Active card styles */
|
||||||
.practice-card.active {
|
.practice-card.active {
|
||||||
flex: 3.5;
|
flex: 3.5;
|
||||||
transform: translateY(-8px) scale(1.02);
|
transform: translateY(-8px) scale(1.02);
|
||||||
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
|
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-card.active .practice-card-svg {
|
.practice-card.active .practice-card-svg {
|
||||||
width: 45%;
|
width: 45%;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-card.active .practice-cta-btn {
|
.practice-card.active .practice-cta-btn {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
transform: translateY(0);
|
transform: translateY(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-card.active .practice-card-icon {
|
.practice-card.active .practice-card-icon {
|
||||||
transform: scale(1.1) rotate(5deg);
|
transform: scale(1.1) rotate(5deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-card.active h3 {
|
.practice-card.active h3 {
|
||||||
transform: translateY(-3px);
|
transform: translateY(-3px);
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-card.active p,
|
.practice-card.active p,
|
||||||
.practice-card.active .practice-meta-info,
|
.practice-card.active .practice-meta-info,
|
||||||
.practice-card.active .practice-footer-text {
|
.practice-card.active .practice-footer-text {
|
||||||
transform: translateY(-2px);
|
transform: translateY(-2px);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hover effects for non-active cards */
|
/* Hover effects for non-active cards */
|
||||||
.practice-card:hover:not(.active) {
|
.practice-card:hover:not(.active) {
|
||||||
flex: 1.3;
|
flex: 1.3;
|
||||||
transform: translateY(-4px) scale(1.01);
|
transform: translateY(-4px) scale(1.01);
|
||||||
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
|
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
|
||||||
z-index: 5;
|
z-index: 5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-card:hover:not(.active) .practice-card-svg {
|
.practice-card:hover:not(.active) .practice-card-svg {
|
||||||
width: 25%;
|
width: 25%;
|
||||||
opacity: 0.8;
|
opacity: 0.8;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Subtle overlay effect */
|
/* Subtle overlay effect */
|
||||||
.practice-card::after {
|
.practice-card::after {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
background: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
|
background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
transition: opacity 0.6s ease;
|
transition: opacity 0.6s ease;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.practice-card.active::after,
|
.practice-card.active::after,
|
||||||
.practice-card:hover::after {
|
.practice-card:hover::after {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 992px) {
|
@media (max-width: 992px) {
|
||||||
.practice-cards-wrapper {
|
.practice-cards-wrapper {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
height: auto;
|
height: auto;
|
||||||
@ -1801,4 +1888,4 @@
|
|||||||
.practice-card:hover:not(.active) {
|
.practice-card:hover:not(.active) {
|
||||||
transform: translateY(-3px) scale(1.005);
|
transform: translateY(-3px) scale(1.005);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
67
main.js
67
main.js
@ -387,10 +387,7 @@ document.addEventListener('DOMContentLoaded', async () => {
|
|||||||
|
|
||||||
function renderCourses(allCourses) {
|
function renderCourses(allCourses) {
|
||||||
const container = document.querySelector('.corces');
|
const container = document.querySelector('.corces');
|
||||||
if (!container) {
|
if (!container) return;
|
||||||
console.error("⚠️ No .corces container found in DOM");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
container.innerHTML = '';
|
container.innerHTML = '';
|
||||||
|
|
||||||
@ -401,23 +398,53 @@ function renderCourses(allCourses) {
|
|||||||
grouped[course.category].push(course);
|
grouped[course.category].push(course);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Render each category section
|
// Convert grouped object to array for merging
|
||||||
Object.keys(grouped).forEach(category => {
|
let sections = Object.entries(grouped).map(([category, courses]) => ({ category, courses }));
|
||||||
|
|
||||||
|
// Merge sections with less than 4 courses
|
||||||
|
let mergedSections = [];
|
||||||
|
let temp = { category: '', courses: [] };
|
||||||
|
|
||||||
|
sections.forEach(section => {
|
||||||
|
if (section.courses.length >= 4) {
|
||||||
|
mergedSections.push(section);
|
||||||
|
} else {
|
||||||
|
// Merge into temp
|
||||||
|
if (temp.category) temp.category += '/' + section.category;
|
||||||
|
else temp.category = section.category;
|
||||||
|
temp.courses.push(...section.courses);
|
||||||
|
|
||||||
|
// If merged has 4 or more, push it
|
||||||
|
if (temp.courses.length >= 4) {
|
||||||
|
mergedSections.push({ category: temp.category, courses: temp.courses });
|
||||||
|
temp = { category: '', courses: [] };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// If temp still has >= 4, push it
|
||||||
|
if (temp.courses.length >= 4) {
|
||||||
|
mergedSections.push(temp);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Render sections
|
||||||
|
mergedSections.forEach(sectionData => {
|
||||||
const section = document.createElement('div');
|
const section = document.createElement('div');
|
||||||
section.className = 'course-section';
|
section.className = 'course-section';
|
||||||
|
|
||||||
section.innerHTML = `
|
section.innerHTML = `
|
||||||
<h2 class="course-category-title">${category}</h2>
|
<h2 class="course-category-title">${sectionData.category}</h2>
|
||||||
|
<div class="course-slider-box">
|
||||||
<div class="course-slider">
|
<div class="course-slider">
|
||||||
<button class="prev-btn">◀</button>
|
<button class="prev-btn nav-button"></button>
|
||||||
<div class="course-track"></div>
|
<div class="course-track"></div>
|
||||||
<button class="next-btn">▶</button>
|
<button class="next-btn nav-button"></button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const track = section.querySelector('.course-track');
|
const track = section.querySelector('.course-track');
|
||||||
|
|
||||||
grouped[category].forEach(course => {
|
sectionData.courses.forEach(course => {
|
||||||
const courseDiv = document.createElement('div');
|
const courseDiv = document.createElement('div');
|
||||||
courseDiv.className = 'course-card';
|
courseDiv.className = 'course-card';
|
||||||
courseDiv.innerHTML = `
|
courseDiv.innerHTML = `
|
||||||
@ -432,10 +459,10 @@ function renderCourses(allCourses) {
|
|||||||
track.appendChild(courseDiv);
|
track.appendChild(courseDiv);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Slider buttons
|
||||||
const prevBtn = section.querySelector('.prev-btn');
|
const prevBtn = section.querySelector('.prev-btn');
|
||||||
const nextBtn = section.querySelector('.next-btn');
|
const nextBtn = section.querySelector('.next-btn');
|
||||||
|
|
||||||
let scrollAmount = 0;
|
|
||||||
prevBtn.addEventListener('click', () => {
|
prevBtn.addEventListener('click', () => {
|
||||||
track.scrollBy({ left: -300, behavior: 'smooth' });
|
track.scrollBy({ left: -300, behavior: 'smooth' });
|
||||||
});
|
});
|
||||||
@ -447,6 +474,7 @@ function renderCourses(allCourses) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
statItems.forEach(item => observer.observe(item));
|
statItems.forEach(item => observer.observe(item));
|
||||||
|
|
||||||
|
|
||||||
@ -472,3 +500,18 @@ function stepScroll() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setInterval(stepScroll, 3000);
|
setInterval(stepScroll, 3000);
|
||||||
|
|
||||||
|
|
||||||
|
document.querySelectorAll('.course-slider').forEach(slider => {
|
||||||
|
const track = slider.querySelector('.course-track');
|
||||||
|
const prev = slider.querySelector('.prev-btn');
|
||||||
|
const next = slider.querySelector('.next-btn');
|
||||||
|
|
||||||
|
prev.addEventListener('click', () => {
|
||||||
|
track.scrollBy({ left: -300, behavior: 'smooth' });
|
||||||
|
});
|
||||||
|
|
||||||
|
next.addEventListener('click', () => {
|
||||||
|
track.scrollBy({ left: 300, behavior: 'smooth' });
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user