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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  /* Custom styles for the About page */
2
 
3
  .about-container {
 
1
+ /* Main Stylesheet for Portfolio Website */
2
+
3
+ :root {
4
+ /* Color Scheme */
5
+ --primary-color: #4CAF50;
6
+ --secondary-color: #2196F3;
7
+ --accent-color: #FF9800;
8
+ --text-color: #333333;
9
+ --text-light: #666666;
10
+ --bg-color: #ffffff;
11
+ --bg-light: #f5f5f5;
12
+ --sidebar-bg: #f0f8f0;
13
+ --card-bg: #ffffff;
14
+ --border-color: #e0e0e0;
15
+
16
+ /* Typography */
17
+ --font-main: 'Poppins', sans-serif;
18
+
19
+ /* Spacing */
20
+ --spacing-xs: 0.25rem;
21
+ --spacing-sm: 0.5rem;
22
+ --spacing-md: 1rem;
23
+ --spacing-lg: 1.5rem;
24
+ --spacing-xl: 2rem;
25
+ --spacing-xxl: 3rem;
26
+
27
+ /* Transitions */
28
+ --transition-fast: 0.2s ease;
29
+ --transition-normal: 0.3s ease;
30
+ --transition-slow: 0.5s ease;
31
+
32
+ /* Shadows */
33
+ --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
34
+ --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
35
+ --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
36
+
37
+ /* Border Radius */
38
+ --radius-sm: 4px;
39
+ --radius-md: 8px;
40
+ --radius-lg: 12px;
41
+ --radius-xl: 20px;
42
+ --radius-circle: 50%;
43
+ }
44
+
45
+ /* Dark Theme Variables */
46
+ .dark-theme {
47
+ --primary-color: #66BB6A;
48
+ --secondary-color: #42A5F5;
49
+ --accent-color: #FFA726;
50
+ --text-color: #E0E0E0;
51
+ --text-light: #BDBDBD;
52
+ --bg-color: #121212;
53
+ --bg-light: #1E1E1E;
54
+ --sidebar-bg: #1A1A1A;
55
+ --card-bg: #2D2D2D;
56
+ --border-color: #333333;
57
+ --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
58
+ --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.3);
59
+ --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.4);
60
+ }
61
+
62
+ /* Reset & Base Styles */
63
+ * {
64
+ margin: 0;
65
+ padding: 0;
66
+ box-sizing: border-box;
67
+ }
68
+
69
+ html {
70
+ font-size: 16px;
71
+ scroll-behavior: smooth;
72
+ }
73
+
74
+ body {
75
+ font-family: var(--font-main);
76
+ color: var(--text-color);
77
+ background-color: var(--bg-color);
78
+ line-height: 1.6;
79
+ overflow-x: hidden;
80
+ transition: background-color var(--transition-normal);
81
+ }
82
+
83
+ a {
84
+ text-decoration: none;
85
+ color: var(--primary-color);
86
+ transition: color var(--transition-fast);
87
+ }
88
+
89
+ a:hover {
90
+ color: var(--secondary-color);
91
+ }
92
+
93
+ ul {
94
+ list-style: none;
95
+ }
96
+
97
+ img {
98
+ max-width: 100%;
99
+ height: auto;
100
+ }
101
+
102
+ /* Layout */
103
+ .container {
104
+ display: flex;
105
+ min-height: 100vh;
106
+ }
107
+
108
+ .sidebar {
109
+ width: 280px;
110
+ background-color: var(--sidebar-bg);
111
+ padding: var(--spacing-lg);
112
+ position: fixed;
113
+ height: 100vh;
114
+ overflow-y: auto;
115
+ box-shadow: var(--shadow-md);
116
+ transition: all var(--transition-normal);
117
+ z-index: 100;
118
+ }
119
+
120
+ .content {
121
+ flex: 1;
122
+ margin-left: 280px;
123
+ padding: var(--spacing-lg);
124
+ transition: margin-left var(--transition-normal);
125
+ }
126
+
127
+ /* Logo */
128
+ .logo {
129
+ margin-bottom: var(--spacing-xl);
130
+ }
131
+
132
+ .logo a {
133
+ display: flex;
134
+ align-items: center;
135
+ color: var(--text-color);
136
+ }
137
+
138
+ .logo img {
139
+ width: 50px;
140
+ height: 50px;
141
+ margin-right: var(--spacing-md);
142
+ }
143
+
144
+ .logo-text h2 {
145
+ font-size: 1.8rem;
146
+ font-weight: 600;
147
+ margin-bottom: var(--spacing-xs);
148
+ }
149
+
150
+ .logo-text p {
151
+ font-size: 0.9rem;
152
+ color: var(--text-light);
153
+ }
154
+
155
+ /* Search Box */
156
+ .search-box {
157
+ position: relative;
158
+ margin-bottom: var(--spacing-xl);
159
+ }
160
+
161
+ .search-box input {
162
+ width: 100%;
163
+ padding: var(--spacing-sm) var(--spacing-md);
164
+ padding-right: 2.5rem;
165
+ border: 1px solid var(--border-color);
166
+ border-radius: var(--radius-md);
167
+ background-color: var(--bg-color);
168
+ color: var(--text-color);
169
+ font-family: var(--font-main);
170
+ transition: all var(--transition-fast);
171
+ }
172
+
173
+ .search-box input:focus {
174
+ outline: none;
175
+ border-color: var(--primary-color);
176
+ box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
177
+ }
178
+
179
+ .search-box i {
180
+ position: absolute;
181
+ right: var(--spacing-md);
182
+ top: 50%;
183
+ transform: translateY(-50%);
184
+ color: var(--text-light);
185
+ }
186
+
187
+ /* Navigation */
188
+ .nav-section {
189
+ margin-bottom: var(--spacing-xl);
190
+ }
191
+
192
+ .nav-section h3 {
193
+ font-size: 1rem;
194
+ font-weight: 600;
195
+ margin-bottom: var(--spacing-md);
196
+ color: var(--text-light);
197
+ text-transform: uppercase;
198
+ letter-spacing: 1px;
199
+ }
200
+
201
+ .nav-section ul li {
202
+ margin-bottom: var(--spacing-sm);
203
+ }
204
+
205
+ .nav-section ul li a {
206
+ display: flex;
207
+ align-items: center;
208
+ padding: var(--spacing-sm) var(--spacing-md);
209
+ border-radius: var(--radius-md);
210
+ color: var(--text-color);
211
+ transition: all var(--transition-fast);
212
+ }
213
+
214
+ .nav-section ul li a:hover {
215
+ background-color: rgba(76, 175, 80, 0.1);
216
+ color: var(--primary-color);
217
+ }
218
+
219
+ .nav-section ul li a i {
220
+ margin-right: var(--spacing-md);
221
+ width: 20px;
222
+ text-align: center;
223
+ }
224
+
225
+ /* Social Links */
226
+ .social-links {
227
+ display: flex;
228
+ gap: var(--spacing-md);
229
+ margin-top: var(--spacing-xl);
230
+ }
231
+
232
+ .social-links a {
233
+ display: flex;
234
+ align-items: center;
235
+ justify-content: center;
236
+ width: 36px;
237
+ height: 36px;
238
+ border-radius: var(--radius-circle);
239
+ background-color: var(--bg-light);
240
+ color: var(--text-color);
241
+ transition: all var(--transition-fast);
242
+ }
243
+
244
+ .social-links a:hover {
245
+ background-color: var(--primary-color);
246
+ color: white;
247
+ transform: translateY(-3px);
248
+ }
249
+
250
+ /* Header */
251
+ header {
252
+ margin-bottom: var(--spacing-xl);
253
+ padding-bottom: var(--spacing-md);
254
+ border-bottom: 1px solid var(--border-color);
255
+ }
256
+
257
+ .header-content {
258
+ display: flex;
259
+ justify-content: space-between;
260
+ align-items: center;
261
+ }
262
+
263
+ header h1 {
264
+ font-size: 2.5rem;
265
+ font-weight: 700;
266
+ color: var(--text-color);
267
+ }
268
+
269
+ .theme-toggle {
270
+ cursor: pointer;
271
+ width: 40px;
272
+ height: 40px;
273
+ display: flex;
274
+ align-items: center;
275
+ justify-content: center;
276
+ border-radius: var(--radius-circle);
277
+ background-color: var(--bg-light);
278
+ transition: all var(--transition-fast);
279
+ }
280
+
281
+ .theme-toggle:hover {
282
+ background-color: var(--border-color);
283
+ }
284
+
285
+ /* Hero Section */
286
+ .hero {
287
+ margin-bottom: var(--spacing-xxl);
288
+ }
289
+
290
+ .hero-content {
291
+ display: flex;
292
+ align-items: center;
293
+ gap: var(--spacing-xl);
294
+ }
295
+
296
+ .hero-text {
297
+ flex: 1;
298
+ }
299
+
300
+ .hero-text p {
301
+ font-size: 1.2rem;
302
+ margin-bottom: var(--spacing-lg);
303
+ color: var(--text-light);
304
+ }
305
+
306
+ .hero-image {
307
+ flex: 1;
308
+ display: flex;
309
+ justify-content: center;
310
+ }
311
+
312
+ .profile-image {
313
+ width: 300px;
314
+ height: 300px;
315
+ object-fit: cover;
316
+ border-radius: var(--radius-circle);
317
+ box-shadow: var(--shadow-lg);
318
+ border: 5px solid var(--bg-color);
319
+ transition: all var(--transition-normal);
320
+ }
321
+
322
+ .profile-image:hover {
323
+ transform: scale(1.05);
324
+ box-shadow: var(--shadow-lg), 0 0 0 10px rgba(76, 175, 80, 0.1);
325
+ }
326
+
327
+ /* Buttons */
328
+ .cta-buttons {
329
+ display: flex;
330
+ gap: var(--spacing-md);
331
+ }
332
+
333
+ .btn {
334
+ display: inline-block;
335
+ padding: var(--spacing-sm) var(--spacing-lg);
336
+ border-radius: var(--radius-md);
337
+ font-weight: 500;
338
+ text-align: center;
339
+ cursor: pointer;
340
+ transition: all var(--transition-fast);
341
+ }
342
+
343
+ .btn.primary {
344
+ background-color: var(--primary-color);
345
+ color: white;
346
+ }
347
+
348
+ .btn.secondary {
349
+ background-color: transparent;
350
+ color: var(--primary-color);
351
+ border: 1px solid var(--primary-color);
352
+ }
353
+
354
+ .btn.small {
355
+ padding: var(--spacing-xs) var(--spacing-md);
356
+ font-size: 0.9rem;
357
+ }
358
+
359
+ .btn.primary:hover {
360
+ background-color: var(--secondary-color);
361
+ transform: translateY(-2px);
362
+ }
363
+
364
+ .btn.secondary:hover {
365
+ background-color: rgba(76, 175, 80, 0.1);
366
+ transform: translateY(-2px);
367
+ }
368
+
369
+ /* Featured Sections */
370
+ .featured-section {
371
+ margin-bottom: var(--spacing-xxl);
372
+ }
373
+
374
+ .featured-section h2 {
375
+ font-size: 1.8rem;
376
+ margin-bottom: var(--spacing-lg);
377
+ position: relative;
378
+ padding-bottom: var(--spacing-sm);
379
+ }
380
+
381
+ .featured-section h2::after {
382
+ content: '';
383
+ position: absolute;
384
+ bottom: 0;
385
+ left: 0;
386
+ width: 60px;
387
+ height: 3px;
388
+ background-color: var(--primary-color);
389
+ border-radius: var(--radius-sm);
390
+ }
391
+
392
+ /* Skills Grid */
393
+ .skills-grid {
394
+ display: grid;
395
+ grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
396
+ gap: var(--spacing-lg);
397
+ }
398
+
399
+ .skill-card {
400
+ background-color: var(--card-bg);
401
+ padding: var(--spacing-lg);
402
+ border-radius: var(--radius-lg);
403
+ box-shadow: var(--shadow-md);
404
+ transition: all var(--transition-normal);
405
+ }
406
+
407
+ .skill-card:hover {
408
+ transform: translateY(-5px);
409
+ box-shadow: var(--shadow-lg);
410
+ }
411
+
412
+ .skill-icon {
413
+ width: 60px;
414
+ height: 60px;
415
+ display: flex;
416
+ align-items: center;
417
+ justify-content: center;
418
+ background-color: rgba(76, 175, 80, 0.1);
419
+ color: var(--primary-color);
420
+ border-radius: var(--radius-circle);
421
+ margin-bottom: var(--spacing-md);
422
+ font-size: 1.5rem;
423
+ }
424
+
425
+ .skill-card h3 {
426
+ margin-bottom: var(--spacing-sm);
427
+ }
428
+
429
+ .skill-card p {
430
+ color: var(--text-light);
431
+ }
432
+
433
+ /* Projects Grid */
434
+ .projects-grid {
435
+ display: grid;
436
+ grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
437
+ gap: var(--spacing-lg);
438
+ }
439
+
440
+ .project-card {
441
+ background-color: var(--card-bg);
442
+ border-radius: var(--radius-lg);
443
+ overflow: hidden;
444
+ box-shadow: var(--shadow-md);
445
+ transition: all var(--transition-normal);
446
+ }
447
+
448
+ .project-card:hover {
449
+ transform: translateY(-5px);
450
+ box-shadow: var(--shadow-lg);
451
+ }
452
+
453
+ .project-image {
454
+ height: 200px;
455
+ overflow: hidden;
456
+ }
457
+
458
+ .project-image img {
459
+ width: 100%;
460
+ height: 100%;
461
+ object-fit: cover;
462
+ transition: transform var(--transition-normal);
463
+ }
464
+
465
+ .project-card:hover .project-image img {
466
+ transform: scale(1.05);
467
+ }
468
+
469
+ .project-content {
470
+ padding: var(--spacing-lg);
471
+ }
472
+
473
+ .project-content h3 {
474
+ margin-bottom: var(--spacing-sm);
475
+ }
476
+
477
+ .project-content p {
478
+ color: var(--text-light);
479
+ margin-bottom: var(--spacing-md);
480
+ }
481
+
482
+ /* Footer */
483
+ footer {
484
+ margin-top: var(--spacing-xxl);
485
+ padding-top: var(--spacing-lg);
486
+ border-top: 1px solid var(--border-color);
487
+ display: flex;
488
+ justify-content: space-between;
489
+ align-items: center;
490
+ }
491
+
492
+ footer p {
493
+ color: var(--text-light);
494
+ }
495
+
496
+ /* Responsive Design */
497
+ @media (max-width: 1024px) {
498
+ .sidebar {
499
+ width: 240px;
500
+ }
501
+
502
+ .content {
503
+ margin-left: 240px;
504
+ }
505
+
506
+ .hero-content {
507
+ flex-direction: column-reverse;
508
+ }
509
+
510
+ .hero-text, .hero-image {
511
+ flex: none;
512
+ width: 100%;
513
+ }
514
+ }
515
+
516
+ @media (max-width: 768px) {
517
+ .sidebar {
518
+ transform: translateX(-100%);
519
+ width: 280px;
520
+ }
521
+
522
+ .sidebar.active {
523
+ transform: translateX(0);
524
+ }
525
+
526
+ .content {
527
+ margin-left: 0;
528
+ }
529
+
530
+ .mobile-menu-toggle {
531
+ display: block;
532
+ }
533
+
534
+ .skills-grid, .projects-grid {
535
+ grid-template-columns: 1fr;
536
+ }
537
+
538
+ header h1 {
539
+ font-size: 2rem;
540
+ }
541
+
542
+ .hero-text p {
543
+ font-size: 1rem;
544
+ }
545
+
546
+ .profile-image {
547
+ width: 250px;
548
+ height: 250px;
549
+ }
550
+
551
+ footer {
552
+ flex-direction: column;
553
+ gap: var(--spacing-md);
554
+ text-align: center;
555
+ }
556
+ }
557
+
558
+ @media (max-width: 480px) {
559
+ .content {
560
+ padding: var(--spacing-md);
561
+ }
562
+
563
+ .cta-buttons {
564
+ flex-direction: column;
565
+ gap: var(--spacing-sm);
566
+ }
567
+
568
+ .btn {
569
+ width: 100%;
570
+ }
571
+
572
+ .profile-image {
573
+ width: 200px;
574
+ height: 200px;
575
+ }
576
+ }
577
+
578
+
579
+
580
+
581
+
582
+
583
+
584
+
585
+
586
+
587
+
588
+
589
+
590
+
591
+
592
+
593
  /* Custom styles for the About page */
594
 
595
  .about-container {