-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
453 lines (403 loc) · 21 KB
/
style.css
File metadata and controls
453 lines (403 loc) · 21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary-color: #4ecdc4;
--secondary-color: #8a2be2;
--accent-color: #ff6b6b;
}
body {
font-family: 'Arial', sans-serif;
background: linear-gradient(135deg, #0a0a0a 0%, #1a0b2e 30%, #2d1b69 60%, #0f0f23 100%);
color: white;
overflow-x: hidden;
scroll-behavior: smooth;
position: relative;
cursor: none; /* Hide the default cursor */
}
/* --- New Bouncy Ball Cursor --- */
#custom-cursor {
position: fixed;
width: 30px;
height: 30px;
border: 2px solid var(--primary-color);
border-radius: 50%;
pointer-events: none;
transform: translate(-50%, -50%);
z-index: 9999;
transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
backdrop-filter: blur(2px);
}
#custom-cursor.hover {
width: 50px;
height: 50px;
background-color: rgba(78, 205, 196, 0.2);
}
/* Animated Background */
.animated-background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -2;
overflow: hidden;
}
.animated-background::before {
content: '';
position: fixed;
top: var(--y, 50vh);
left: var(--x, 50vw);
transform: translate(-50%, -50%);
width: 600px;
height: 600px;
background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, rgba(138, 43, 226, 0) 60%);
pointer-events: none;
z-index: -1;
transition: top 0.2s ease-out, left 0.2s ease-out;
}
.bg-grid {
position: absolute;
top: 0;
left: 0;
width: 120%;
height: 120%;
background-image:
linear-gradient(rgba(138, 43, 226, 0.1) 1px, transparent 1px),
linear-gradient(90deg, rgba(138, 43, 226, 0.1) 1px, transparent 1px);
background-size: 50px 50px;
animation: gridMove 20s linear infinite;
}
.bg-waves {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 320"><path fill="%23ff6b6b" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,149.3L1200,139L1200,320L1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') repeat-x;
background-size: 1200px 320px;
animation: waveMove 15s ease-in-out infinite;
opacity: 0.3;
}
.bg-orbs {
position: absolute;
width: 100%;
height: 100%;
}
.orb {
position: absolute;
border-radius: 50%;
background: radial-gradient(circle at 30% 30%, rgba(255, 107, 107, 0.3), rgba(78, 205, 196, 0.1));
animation: orbFloat 25s ease-in-out infinite;
filter: blur(1px);
}
.orb:nth-child(1) { width: 200px; height: 200px; top: 10%; left: 10%; animation-delay: 0s; }
.orb:nth-child(2) { width: 150px; height: 150px; top: 60%; right: 15%; animation-delay: -8s; }
.orb:nth-child(3) { width: 100px; height: 100px; bottom: 20%; left: 20%; animation-delay: -15s; }
.orb:nth-child(4) { width: 120px; height: 120px; top: 30%; right: 40%; animation-delay: -20s; }
#bg-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.main-header {
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 15px 40px;
z-index: 1001;
display: flex;
justify-content: space-between;
align-items: center;
opacity: 0;
transform: translateY(-30px);
pointer-events: none;
transition: all 0.5s ease-in-out;
}
.main-header.scrolled {
opacity: 1;
transform: translateY(0);
pointer-events: auto;
background: rgba(10, 10, 10, 0.7);
backdrop-filter: blur(15px);
border-bottom: 1px solid rgba(138, 43, 226, 0.2);
}
.main-header .logo {
font-size: 1.8rem;
font-weight: bold;
background: linear-gradient(45deg, var(--secondary-color), var(--accent-color), var(--primary-color), #45b7d1, #9d4edd);
background-size: 400% 400%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: gradientShift 6s ease-in-out infinite;
}
.main-header nav { display: flex; gap: 20px; }
.nav-btn {
padding: 10px 20px;
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
border-radius: 25px;
color: white;
text-decoration: none;
backdrop-filter: blur(10px);
transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
cursor: none; /* Inherit none from body */
transform: translateY(0) scale(1);
}
.nav-btn:hover {
background: rgba(255, 255, 255, 0.2);
transform: translateY(-5px) scale(1.05);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}
.hero {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
position: relative;
perspective: 1000px;
overflow: hidden;
transition: opacity 0.8s ease;
}
.hero-content {
text-align: center;
transform-style: preserve-3d;
animation: heroFloat 6s ease-in-out infinite;
transition: all 0.8s ease;
}
.hero.scrolled .hero-content {
opacity: 0;
transform: translateY(50px) scale(0.9);
pointer-events: none;
}
.hero h1 {
font-size: 4rem;
margin-bottom: 1rem;
background: linear-gradient(45deg, var(--secondary-color), var(--accent-color), var(--primary-color), #45b7d1, #9d4edd);
background-size: 400% 400%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
animation: gradientShift 6s ease-in-out infinite;
transform: translateZ(50px);
text-shadow: 0 0 50px rgba(138, 43, 226, 0.4);
}
.hero p { font-size: 1.2rem; opacity: 0.8; margin-bottom: 2rem; transform: translateZ(30px); min-height: 1.5em; /* Prevent layout shift */ }
#typing-text::after {
content: '|';
animation: blink 0.7s infinite;
color: var(--primary-color);
font-weight: bold;
}
@keyframes blink {
50% { opacity: 0; }
}
.cta-button {
padding: 15px 30px;
background: linear-gradient(45deg, var(--secondary-color), var(--accent-color), var(--primary-color));
border: none;
border-radius: 30px;
color: white;
font-size: 1.1rem;
cursor: none; /* Inherit none from body */
transform: translateZ(20px);
transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
box-shadow: 0 10px 30px rgba(138, 43, 226, 0.4);
animation: pulse 2s infinite;
position: relative;
overflow: hidden;
}
.cta-button::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); transition: left 0.8s ease; }
.cta-button:hover::before { left: 100%; }
.cta-button:hover { transform: translateZ(40px) scale(1.1) rotateX(10deg); box-shadow: 0 20px 50px rgba(138, 43, 226, 0.6); }
#about { padding: 150px 20px; }
.about-container {
display: grid;
grid-template-columns: 1fr 2fr;
gap: 60px;
max-width: 1200px;
margin: 0 auto;
align-items: center;
}
.about-image {
width: 100%;
max-width: 350px;
height: 400px;
border-radius: 30px;
background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
display: flex;
align-items: center;
justify-content: center;
font-size: 5rem;
color: rgba(255,255,255,0.8);
box-shadow: 0 20px 50px rgba(0,0,0,0.4);
transition: all 0.5s ease;
}
.about-image:hover { transform: translateY(-10px) scale(1.03); }
.about-content h3 { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 20px; }
.about-content p { font-size: 1.1rem; line-height: 1.7; opacity: 0.9; margin-bottom: 30px; }
.about-highlights { display: flex; gap: 30px; }
.highlight { background: rgba(255,255,255,0.1); padding: 20px; border-radius: 15px; text-align: center; border: 1px solid rgba(255,255,255,0.2); flex-grow: 1; }
.highlight span { font-size: 2rem; font-weight: bold; color: var(--accent-color); display: block; }
.highlight p { margin: 0; opacity: 0.8; }
.section-header { text-align: center; margin-bottom: 80px; opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
.section-header.animate-in { opacity: 1; transform: translateY(0); }
.section-header h2 { font-size: 3.5rem; margin-bottom: 20px; background: linear-gradient(45deg, var(--accent-color), var(--primary-color), #45b7d1); background-size: 300% 300%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: gradientShift 4s ease-in-out infinite; transform: rotateX(10deg); }
.section-header p { font-size: 1.2rem; opacity: 0.8; max-width: 600px; margin: 0 auto; }
.skills, .projects, .contact, .experience, .services { padding: 150px 20px; }
.projects { background: rgba(0, 0, 0, 0.2); }
.experience { background: rgba(0, 0, 0, 0.1); }
.contact { background: rgba(0, 0, 0, 0.3); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto; }
.service-card { background: rgba(255, 255, 255, 0.05); border-radius: 20px; padding: 40px; text-align: center; border: 1px solid rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); transition: all 0.4s ease; position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.service-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.15), transparent, transparent); transform: rotate(0deg); transition: transform 0.8s ease; }
.service-card:hover::before { transform: rotate(180deg); }
.service-icon { font-size: 3rem; margin-bottom: 20px; color: var(--primary-color); text-shadow: 0 0 20px var(--primary-color); }
.service-card h3 { font-size: 1.5rem; margin-bottom: 15px; }
.service-card p { opacity: 0.8; line-height: 1.6; }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 50px; max-width: 1400px; margin: 0 auto; }
.project-card { background: rgba(255, 255, 255, 0.05); border-radius: 25px; backdrop-filter: blur(15px); border: 1px solid rgba(255, 255, 255, 0.1); transform: translateY(100px) rotateX(-30deg) scale(0.7); opacity: 0; transition: all 1s cubic-bezier(0.68, -0.55, 0.265, 1.55); overflow: hidden; cursor: none; }
.project-card.animate-in { transform: translateY(0) rotateX(0deg) scale(1); opacity: 1; }
.project-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6); }
.project-image {
height: 200px;
background-size: cover;
background-position: center;
transition: transform 0.4s ease;
}
.project-card:hover .project-image {
transform: scale(1.05);
}
.project-content { padding: 25px; }
.project-content h3 { font-size: 1.4rem; margin-bottom: 15px; color: var(--primary-color); }
.project-content p { opacity: 0.9; line-height: 1.6; }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.4s ease; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { background: rgba(20, 10, 40, 0.8); backdrop-filter: blur(20px); border-radius: 20px; padding: 40px; width: 90%; max-width: 800px; border: 1px solid rgba(255,255,255,0.2); position: relative; transform: scale(0.8); transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); }
.modal-overlay.active .modal-content { transform: scale(1); }
.modal-close { position: absolute; top: 15px; right: 20px; font-size: 2rem; color: white; cursor: none; background: none; border: none; }
#modal-image {
width: 100%;
height: 300px;
border-radius: 15px;
margin-bottom: 20px;
background-size: cover;
background-position: center;
}
#modal-title { font-size: 2.2rem; color: var(--primary-color); margin-bottom: 15px; }
#modal-description { line-height: 1.7; opacity: 0.9; margin-bottom: 25px; }
#modal-link { color: white; background: var(--secondary-color); padding: 10px 20px; border-radius: 20px; text-decoration: none; transition: all 0.3s ease; display: inline-block; }
#modal-link:hover { background: var(--accent-color); }
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 40px; max-width: 1000px; margin: 0 auto; }
.skill-item { background: rgba(255, 255, 255, 0.1); border-radius: 20px; padding: 30px; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); transform: translateY(80px) rotateX(-20deg) scale(0.8); opacity: 0; transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55); text-align: center; }
.skill-item.animate-in { transform: translateY(0) rotateX(0deg) scale(1); opacity: 1; }
.skill-item:hover { transform: translateY(-10px) scale(1.05); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); }
.skill-icon { width: 80px; height: 80px; background: linear-gradient(45deg, var(--accent-color), var(--primary-color)); border-radius: 50%; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; font-size: 2rem; }
.skill-item h4 { font-size: 1.2rem; color: var(--primary-color); }
.timeline-container { max-width: 800px; margin: 0 auto; position: relative; }
.timeline-container::after { content: ''; position: absolute; width: 4px; background: rgba(255, 255, 255, 0.15); top: 0; bottom: 0; left: 50%; margin-left: -2px; border-radius: 2px; }
.timeline-item { padding: 10px 40px; position: relative; background-color: inherit; width: 50%; opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
.timeline-item.animate-in { opacity: 1; transform: translateY(0); }
.timeline-item::after { content: ''; position: absolute; width: 20px; height: 20px; right: -10px; background-color: var(--primary-color); border: 4px solid var(--secondary-color); top: 25px; border-radius: 50%; z-index: 1; }
.left { left: 0; text-align: right; }
.right { left: 50%; }
.left::before { content: " "; height: 0; position: absolute; top: 30px; width: 0; z-index: 1; right: 30px; border: medium solid rgba(255,255,255,0.2); border-width: 10px 0 10px 10px; border-color: transparent transparent transparent rgba(255,255,255,0.2); }
.right::before { content: " "; height: 0; position: absolute; top: 30px; width: 0; z-index: 1; left: 30px; border: medium solid rgba(255,255,255,0.2); border-width: 10px 10px 10px 0; border-color: transparent rgba(255,255,255,0.2) transparent transparent; }
.right::after { left: -10px; }
.timeline-content { padding: 20px 30px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); position: relative; border-radius: 15px; border: 1px solid rgba(255,255,255,0.2); }
.timeline-content h3 { color: var(--primary-color); margin-bottom: 5px; }
.timeline-content span { font-style: italic; opacity: 0.7; font-size: 0.9em; }
.timeline-content p { margin-top: 10px; font-size: 0.95em; line-height: 1.5; }
.social-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 50px; }
.social-link { width: 60px; height: 60px; background: rgba(255, 255, 255, 0.1); border: 2px solid rgba(138, 43, 226, 0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; text-decoration: none; color: #9d4edd; font-size: 1.5rem; backdrop-filter: blur(10px); transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55); opacity: 0; transform: translateY(20px); }
.social-link.animate-in { opacity: 1; transform: translateY(0); }
.social-link:hover { transform: translateY(-10px) scale(1.2); background: rgba(138, 43, 226, 0.2); border-color: rgba(138, 43, 226, 0.6); box-shadow: 0 15px 40px rgba(138, 43, 226, 0.4); color: #fff; }
.contact-form { max-width: 600px; margin: 0 auto; display: grid; gap: 25px; }
.form-group { position: relative; opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.form-group.animate-in { opacity: 1; transform: translateY(0); }
.form-group input, .form-group textarea { width: 100%; padding: 20px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 15px; color: white; font-size: 1rem; backdrop-filter: blur(10px); transition: all 0.4s ease; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 30px rgba(78, 205, 196, 0.4); transform: translateY(-5px); }
.submit-btn { padding: 20px; background: linear-gradient(45deg, var(--accent-color), var(--primary-color)); border: none; border-radius: 15px; color: white; font-size: 1.1rem; cursor: none; transition: all 0.4s ease; opacity: 0; transform: translateY(20px); }
.submit-btn.animate-in { opacity: 1; transform: translateY(0); }
.submit-btn:hover { transform: translateY(-8px) scale(1.05); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4); }
.scroll-progress { position: fixed; top: 0; left: 0; width: 0%; height: 4px; background: linear-gradient(90deg, var(--accent-color), var(--primary-color), #45b7d1); z-index: 1002; transition: width 0.3s ease; }
#back-to-top { position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px; background: rgba(138, 43, 226, 0.5); color: white; border: 2px solid rgba(138, 43, 226, 0.8); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; cursor: none; backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.4s ease; z-index: 1000; }
#back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { transform: scale(1.1) translateY(-5px); background: rgba(138, 43, 226, 0.8); box-shadow: 0 0 20px rgba(138, 43, 226, 0.6); }
@keyframes heroFloat { 0%, 100% { transform: translateY(0px) rotateX(0deg); } 50% { transform: translateY(-20px) rotateX(5deg); } }
@keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 25% { background-position: 100% 0%; } 50% { background-position: 100% 100%; } 75% { background-position: 0% 100%; } }
@keyframes gridMove { 0% { transform: translate(0, 0); } 100% { transform: translate(50px, 50px); } }
@keyframes waveMove { 0%, 100% { transform: translateX(0) scaleY(1); } 50% { transform: translateX(-100px) scaleY(1.1); } }
@keyframes orbFloat { 0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; } 50% { transform: translate(50px, -100px) scale(1.1); opacity: 0.5; } }
@keyframes pulse { 0%, 100% { transform: translateZ(20px) scale(1); } 50% { transform: translateZ(25px) scale(1.05); } }
@media (max-width: 900px) {
.about-container { grid-template-columns: 1fr; text-align: center; }
.about-image { margin: 0 auto 40px; }
.about-highlights { justify-content: center; }
}
@media screen and (max-width: 600px) {
.timeline-container::after { left: 20px; }
.timeline-item { width: 100%; padding-left: 60px; padding-right: 15px; }
.timeline-item.left, .timeline-item.right { text-align: left; left: 0%; }
.timeline-item::after, .right::after { left: 10px; }
.right::before { left: 50px; border-width: 10px 10px 10px 0; border-color: transparent rgba(255,255,255,0.2) transparent transparent; }
.left::before { right: auto; left: 50px; border-width: 10px 10px 10px 0; border-color: transparent rgba(255,255,255,0.2) transparent transparent; }
}
@media (max-width: 768px) {
#custom-cursor { display: none; } /* Hide custom cursor on mobile for better usability */
body { cursor: auto; } /* Restore default cursor on mobile */
.hero h1 { font-size: 2.8rem; }
.hero p { font-size: 1.1rem; }
.section-header h2 { font-size: 2.5rem; }
.main-header { padding: 10px 20px; flex-direction: column; gap: 15px; }
.main-header nav { gap: 8px; flex-wrap: wrap; justify-content: center; }
.nav-btn { padding: 6px 12px; font-size: 0.85rem; cursor: pointer; }
.skills, .projects, .contact, .experience, .services, #about { padding: 100px 20px; }
#back-to-top { width: 45px; height: 45px; font-size: 1.2rem; bottom: 20px; right: 20px; cursor: pointer; }
.project-card, .modal-close, .submit-btn { cursor: pointer; }
}
/* --- Added styles for smaller mobile screens --- */
@media (max-width: 480px) {
.hero h1 {
font-size: 2.2rem; /* Further reduce font size for very small screens */
}
.section-header h2 {
font-size: 2rem;
}
.skills, .projects, .contact, .experience, .services, #about {
padding: 80px 15px; /* Reduce vertical and horizontal padding */
}
.about-content h3 {
font-size: 2rem;
}
.about-highlights {
flex-direction: column; /* Stack highlights vertically */
gap: 15px;
}
.projects-grid, .services-grid {
gap: 30px; /* Reduce gap between cards */
}
.skills-grid {
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Allow more flexible skill items */
gap: 20px;
}
.skill-item {
padding: 20px;
}
.skill-icon {
width: 60px;
height: 60px;
font-size: 1.5rem;
}
.modal-content {
padding: 25px;
width: 95%;
}
#modal-title {
font-size: 1.8rem;
}
#modal-image {
height: 200px;
}
}