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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* --- 1. VARIABLES Y ESTILOS GLOBALES --- */
|
2 |
+
:root {
|
3 |
+
--bg-dark: #121828;
|
4 |
+
--bg-light: #1b2235;
|
5 |
+
--primary-accent: #00f5c9;
|
6 |
+
--secondary-accent: #8b5cf6;
|
7 |
+
--text-light: #e2e8f0;
|
8 |
+
--text-dark: #94a3b8;
|
9 |
+
--font-family: 'Poppins', sans-serif;
|
10 |
+
}
|
11 |
+
|
12 |
+
* {
|
13 |
+
margin: 0;
|
14 |
+
padding: 0;
|
15 |
+
box-sizing: border-box;
|
16 |
+
}
|
17 |
+
|
18 |
+
html {
|
19 |
+
scroll-behavior: smooth;
|
20 |
+
}
|
21 |
+
|
22 |
+
body {
|
23 |
+
font-family: var(--font-family);
|
24 |
+
background-color: var(--bg-dark);
|
25 |
+
color: var(--text-light);
|
26 |
+
line-height: 1.6;
|
27 |
+
}
|
28 |
+
|
29 |
+
.container {
|
30 |
+
max-width: 1200px;
|
31 |
+
margin: 0 auto;
|
32 |
+
padding: 0 20px;
|
33 |
+
}
|
34 |
+
|
35 |
+
.section-title {
|
36 |
+
font-size: 2.5rem;
|
37 |
+
font-weight: 700;
|
38 |
+
text-align: center;
|
39 |
+
margin-bottom: 60px;
|
40 |
+
color: var(--text-light);
|
41 |
+
}
|
42 |
+
|
43 |
+
/* --- 2. HEADER Y NAVEGACIÓN --- */
|
44 |
+
header {
|
45 |
+
position: fixed;
|
46 |
+
width: 100%;
|
47 |
+
top: 0;
|
48 |
+
left: 0;
|
49 |
+
z-index: 1000;
|
50 |
+
padding: 20px 0;
|
51 |
+
transition: all 0.3s ease;
|
52 |
+
}
|
53 |
+
|
54 |
+
/* Efecto Glassmorphism */
|
55 |
+
header.scrolled {
|
56 |
+
background-color: rgba(27, 34, 53, 0.8);
|
57 |
+
backdrop-filter: blur(10px);
|
58 |
+
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
|
59 |
+
}
|
60 |
+
|
61 |
+
header .container {
|
62 |
+
display: flex;
|
63 |
+
justify-content: space-between;
|
64 |
+
align-items: center;
|
65 |
+
}
|
66 |
+
|
67 |
+
.logo {
|
68 |
+
height: 45px;
|
69 |
+
}
|
70 |
+
|
71 |
+
nav ul {
|
72 |
+
list-style: none;
|
73 |
+
display: flex;
|
74 |
+
gap: 30px;
|
75 |
+
}
|
76 |
+
|
77 |
+
nav a {
|
78 |
+
color: var(--text-light);
|
79 |
+
text-decoration: none;
|
80 |
+
font-weight: 600;
|
81 |
+
position: relative;
|
82 |
+
padding-bottom: 5px;
|
83 |
+
}
|
84 |
+
|
85 |
+
nav a::after {
|
86 |
+
content: '';
|
87 |
+
position: absolute;
|
88 |
+
bottom: 0;
|
89 |
+
left: 0;
|
90 |
+
width: 0;
|
91 |
+
height: 2px;
|
92 |
+
background-color: var(--primary-accent);
|
93 |
+
transition: width 0.3s ease;
|
94 |
+
}
|
95 |
+
|
96 |
+
nav a:hover::after {
|
97 |
+
width: 100%;
|
98 |
+
}
|
99 |
+
|
100 |
+
/* --- 3. SECCIÓN HERO --- */
|
101 |
+
.hero {
|
102 |
+
height: 100vh;
|
103 |
+
display: flex;
|
104 |
+
align-items: center;
|
105 |
+
justify-content: center;
|
106 |
+
text-align: center;
|
107 |
+
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;
|
108 |
+
padding: 0 20px;
|
109 |
+
}
|
110 |
+
|
111 |
+
.hero-title {
|
112 |
+
font-size: 3.5rem;
|
113 |
+
font-weight: 700;
|
114 |
+
line-height: 1.2;
|
115 |
+
margin-bottom: 20px;
|
116 |
+
}
|
117 |
+
|
118 |
+
.highlight-text {
|
119 |
+
background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
|
120 |
+
-webkit-background-clip: text;
|
121 |
+
-webkit-text-fill-color: transparent;
|
122 |
+
background-clip: text;
|
123 |
+
text-fill-color: transparent;
|
124 |
+
}
|
125 |
+
|
126 |
+
.hero-subtitle {
|
127 |
+
font-size: 1.2rem;
|
128 |
+
max-width: 700px;
|
129 |
+
margin: 0 auto 40px auto;
|
130 |
+
color: var(--text-dark);
|
131 |
+
}
|
132 |
+
|
133 |
+
.cta-button {
|
134 |
+
background: linear-gradient(90deg, var(--primary-accent), #00d4ff);
|
135 |
+
color: var(--bg-dark);
|
136 |
+
padding: 15px 35px;
|
137 |
+
border-radius: 50px;
|
138 |
+
text-decoration: none;
|
139 |
+
font-weight: 700;
|
140 |
+
font-size: 1.1rem;
|
141 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
142 |
+
display: inline-block;
|
143 |
+
}
|
144 |
+
|
145 |
+
.cta-button:hover {
|
146 |
+
transform: translateY(-5px);
|
147 |
+
box-shadow: 0 10px 20px rgba(0, 245, 201, 0.2);
|
148 |
+
}
|
149 |
+
|
150 |
+
.cta-button i {
|
151 |
+
margin-left: 10px;
|
152 |
+
}
|
153 |
+
|
154 |
+
/* --- 4. SECCIÓN CURSOS --- */
|
155 |
+
.courses-section {
|
156 |
+
padding: 100px 0;
|
157 |
+
}
|
158 |
+
|
159 |
+
.course-grid {
|
160 |
+
display: grid;
|
161 |
+
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
|
162 |
+
gap: 30px;
|
163 |
+
}
|
164 |
+
|
165 |
+
.course-card {
|
166 |
+
background-color: var(--bg-light);
|
167 |
+
border-radius: 15px;
|
168 |
+
overflow: hidden;
|
169 |
+
display: flex;
|
170 |
+
flex-direction: column;
|
171 |
+
box-shadow: 0 8px 16px rgba(0,0,0,0.2);
|
172 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
173 |
+
}
|
174 |
+
|
175 |
+
.course-card:hover {
|
176 |
+
transform: translateY(-10px);
|
177 |
+
box-shadow: 0 12px 24px rgba(0,0,0,0.3);
|
178 |
+
}
|
179 |
+
|
180 |
+
.course-image-container img {
|
181 |
+
width: 100%;
|
182 |
+
height: 200px;
|
183 |
+
object-fit: cover;
|
184 |
+
}
|
185 |
+
|
186 |
+
.course-content {
|
187 |
+
padding: 25px;
|
188 |
+
flex-grow: 1;
|
189 |
+
display: flex;
|
190 |
+
flex-direction: column;
|
191 |
+
}
|
192 |
+
|
193 |
+
.course-content h3 {
|
194 |
+
font-size: 1.4rem;
|
195 |
+
color: var(--text-light);
|
196 |
+
margin-bottom: 10px;
|
197 |
+
}
|
198 |
+
|
199 |
+
.course-content p {
|
200 |
+
color: var(--text-dark);
|
201 |
+
flex-grow: 1;
|
202 |
+
margin-bottom: 20px;
|
203 |
+
}
|
204 |
+
|
205 |
+
.course-button {
|
206 |
+
color: var(--primary-accent);
|
207 |
+
text-decoration: none;
|
208 |
+
font-weight: 600;
|
209 |
+
align-self: flex-start;
|
210 |
+
}
|
211 |
+
|
212 |
+
.course-button:hover {
|
213 |
+
text-decoration: underline;
|
214 |
+
}
|
215 |
+
|
216 |
+
/* --- 5. SECCIÓN POR QUÉ ELEGIRNOS --- */
|
217 |
+
.why-us {
|
218 |
+
padding: 100px 0;
|
219 |
+
background-color: var(--bg-light);
|
220 |
+
}
|
221 |
+
|
222 |
+
.features-grid {
|
223 |
+
display: grid;
|
224 |
+
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
225 |
+
gap: 30px;
|
226 |
+
}
|
227 |
+
|
228 |
+
.feature-item {
|
229 |
+
text-align: center;
|
230 |
+
padding: 40px 20px;
|
231 |
+
}
|
232 |
+
|
233 |
+
.feature-icon {
|
234 |
+
font-size: 3rem;
|
235 |
+
margin-bottom: 20px;
|
236 |
+
color: var(--primary-accent);
|
237 |
+
}
|
238 |
+
|
239 |
+
.feature-item h3 {
|
240 |
+
font-size: 1.5rem;
|
241 |
+
margin-bottom: 10px;
|
242 |
+
color: var(--text-light);
|
243 |
+
}
|
244 |
+
|
245 |
+
.feature-item p {
|
246 |
+
color: var(--text-dark);
|
247 |
+
}
|
248 |
+
|
249 |
+
|
250 |
+
/* --- 6. FOOTER --- */
|
251 |
+
footer {
|
252 |
+
padding: 40px 0;
|
253 |
+
background-color: var(--bg-light);
|
254 |
+
border-top: 1px solid rgba(255,255,255,0.1);
|
255 |
+
}
|
256 |
+
|
257 |
+
.footer-content {
|
258 |
+
display: flex;
|
259 |
+
justify-content: space-between;
|
260 |
+
align-items: center;
|
261 |
+
flex-wrap: wrap;
|
262 |
+
gap: 20px;
|
263 |
+
}
|
264 |
+
|
265 |
+
.social-links {
|
266 |
+
list-style: none;
|
267 |
+
display: flex;
|
268 |
+
gap: 20px;
|
269 |
+
}
|
270 |
+
|
271 |
+
.social-links a {
|
272 |
+
color: var(--text-dark);
|
273 |
+
font-size: 1.5rem;
|
274 |
+
transition: color 0.3s ease, transform 0.3s ease;
|
275 |
+
}
|
276 |
+
|
277 |
+
.social-links a:hover {
|
278 |
+
color: var(--primary-accent);
|
279 |
+
transform: scale(1.2);
|
280 |
+
}
|
281 |
+
|
282 |
+
/* --- 7. RESPONSIVE DESIGN --- */
|
283 |
+
@media (max-width: 768px) {
|
284 |
+
.section-title {
|
285 |
+
font-size: 2rem;
|
286 |
+
}
|
287 |
+
.hero-title {
|
288 |
+
font-size: 2.5rem;
|
289 |
+
}
|
290 |
+
nav ul {
|
291 |
+
display: none; /* En un proyecto real, aquí implementarías un menú hamburguesa */
|
292 |
+
}
|
293 |
+
.footer-content {
|
294 |
+
flex-direction: column;
|
295 |
+
text-align: center;
|
296 |
+
}
|
297 |
+
}
|