|
|
|
:root { |
|
--bg-dark: #121828; |
|
--bg-light: #1b2235; |
|
--primary-accent: #00f5c9; |
|
--secondary-accent: #8b5cf6; |
|
--text-light: #e2e8f0; |
|
--text-dark: #94a3b8; |
|
--font-family: 'Poppins', sans-serif; |
|
} |
|
|
|
* { |
|
margin: 0; |
|
padding: 0; |
|
box-sizing: border-box; |
|
} |
|
|
|
html { |
|
scroll-behavior: smooth; |
|
} |
|
|
|
body { |
|
font-family: var(--font-family); |
|
background-color: var(--bg-dark); |
|
color: var(--text-light); |
|
line-height: 1.6; |
|
} |
|
|
|
.container { |
|
max-width: 1200px; |
|
margin: 0 auto; |
|
padding: 0 20px; |
|
} |
|
|
|
.section-title { |
|
font-size: 2.5rem; |
|
font-weight: 700; |
|
text-align: center; |
|
margin-bottom: 60px; |
|
color: var(--text-light); |
|
} |
|
|
|
|
|
header { |
|
position: fixed; |
|
width: 100%; |
|
top: 0; |
|
left: 0; |
|
z-index: 1000; |
|
padding: 20px 0; |
|
transition: all 0.3s ease; |
|
} |
|
|
|
|
|
header.scrolled { |
|
background-color: rgba(27, 34, 53, 0.8); |
|
backdrop-filter: blur(10px); |
|
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); |
|
} |
|
|
|
header .container { |
|
display: flex; |
|
justify-content: space-between; |
|
align-items: center; |
|
} |
|
|
|
.logo { |
|
height: 45px; |
|
} |
|
|
|
nav ul { |
|
list-style: none; |
|
display: flex; |
|
gap: 30px; |
|
} |
|
|
|
nav a { |
|
color: var(--text-light); |
|
text-decoration: none; |
|
font-weight: 600; |
|
position: relative; |
|
padding-bottom: 5px; |
|
} |
|
|
|
nav a::after { |
|
content: ''; |
|
position: absolute; |
|
bottom: 0; |
|
left: 0; |
|
width: 0; |
|
height: 2px; |
|
background-color: var(--primary-accent); |
|
transition: width 0.3s ease; |
|
} |
|
|
|
nav a:hover::after { |
|
width: 100%; |
|
} |
|
|
|
|
|
.hero { |
|
height: 100vh; |
|
display: flex; |
|
align-items: center; |
|
justify-content: center; |
|
text-align: center; |
|
background: linear-gradient(rgba(18, 24, 40, 0.8), rgba(18, 24, 40, 0.8)), url('./static/images/hero-background.jpg') no-repeat center center/cover; |
|
padding: 0 20px; |
|
} |
|
|
|
.hero-title { |
|
font-size: 3.5rem; |
|
font-weight: 700; |
|
line-height: 1.2; |
|
margin-bottom: 20px; |
|
} |
|
|
|
.highlight-text { |
|
background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent)); |
|
-webkit-background-clip: text; |
|
-webkit-text-fill-color: transparent; |
|
background-clip: text; |
|
text-fill-color: transparent; |
|
} |
|
|
|
.hero-subtitle { |
|
font-size: 1.2rem; |
|
max-width: 700px; |
|
margin: 0 auto 40px auto; |
|
color: var(--text-dark); |
|
} |
|
|
|
.cta-button { |
|
background: linear-gradient(90deg, var(--primary-accent), #00d4ff); |
|
color: var(--bg-dark); |
|
padding: 15px 35px; |
|
border-radius: 50px; |
|
text-decoration: none; |
|
font-weight: 700; |
|
font-size: 1.1rem; |
|
transition: transform 0.3s ease, box-shadow 0.3s ease; |
|
display: inline-block; |
|
} |
|
|
|
.cta-button:hover { |
|
transform: translateY(-5px); |
|
box-shadow: 0 10px 20px rgba(0, 245, 201, 0.2); |
|
} |
|
|
|
.cta-button i { |
|
margin-left: 10px; |
|
} |
|
|
|
|
|
.courses-section { |
|
padding: 100px 0; |
|
} |
|
|
|
.course-grid { |
|
display: grid; |
|
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); |
|
gap: 30px; |
|
} |
|
|
|
.course-card { |
|
background-color: var(--bg-light); |
|
border-radius: 15px; |
|
overflow: hidden; |
|
display: flex; |
|
flex-direction: column; |
|
box-shadow: 0 8px 16px rgba(0,0,0,0.2); |
|
transition: transform 0.3s ease, box-shadow 0.3s ease; |
|
} |
|
|
|
.course-card:hover { |
|
transform: translateY(-10px); |
|
box-shadow: 0 12px 24px rgba(0,0,0,0.3); |
|
} |
|
|
|
.course-image-container img { |
|
width: 100%; |
|
height: 200px; |
|
object-fit: cover; |
|
} |
|
|
|
.course-content { |
|
padding: 25px; |
|
flex-grow: 1; |
|
display: flex; |
|
flex-direction: column; |
|
} |
|
|
|
.course-content h3 { |
|
font-size: 1.4rem; |
|
color: var(--text-light); |
|
margin-bottom: 10px; |
|
} |
|
|
|
.course-content p { |
|
color: var(--text-dark); |
|
flex-grow: 1; |
|
margin-bottom: 20px; |
|
} |
|
|
|
.course-button { |
|
color: var(--primary-accent); |
|
text-decoration: none; |
|
font-weight: 600; |
|
align-self: flex-start; |
|
} |
|
|
|
.course-button:hover { |
|
text-decoration: underline; |
|
} |
|
|
|
|
|
.why-us { |
|
padding: 100px 0; |
|
background-color: var(--bg-light); |
|
} |
|
|
|
.features-grid { |
|
display: grid; |
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); |
|
gap: 30px; |
|
} |
|
|
|
.feature-item { |
|
text-align: center; |
|
padding: 40px 20px; |
|
} |
|
|
|
.feature-icon { |
|
font-size: 3rem; |
|
margin-bottom: 20px; |
|
color: var(--primary-accent); |
|
} |
|
|
|
.feature-item h3 { |
|
font-size: 1.5rem; |
|
margin-bottom: 10px; |
|
color: var(--text-light); |
|
} |
|
|
|
.feature-item p { |
|
color: var(--text-dark); |
|
} |
|
|
|
|
|
|
|
footer { |
|
padding: 40px 0; |
|
background-color: var(--bg-light); |
|
border-top: 1px solid rgba(255,255,255,0.1); |
|
} |
|
|
|
.footer-content { |
|
display: flex; |
|
justify-content: space-between; |
|
align-items: center; |
|
flex-wrap: wrap; |
|
gap: 20px; |
|
} |
|
|
|
.social-links { |
|
list-style: none; |
|
display: flex; |
|
gap: 20px; |
|
} |
|
|
|
.social-links a { |
|
color: var(--text-dark); |
|
font-size: 1.5rem; |
|
transition: color 0.3s ease, transform 0.3s ease; |
|
} |
|
|
|
.social-links a:hover { |
|
color: var(--primary-accent); |
|
transform: scale(1.2); |
|
} |
|
|
|
|
|
@media (max-width: 768px) { |
|
.section-title { |
|
font-size: 2rem; |
|
} |
|
.hero-title { |
|
font-size: 2.5rem; |
|
} |
|
nav ul { |
|
display: none; |
|
} |
|
.footer-content { |
|
flex-direction: column; |
|
text-align: center; |
|
} |
|
} |