-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
458 lines (397 loc) · 9.86 KB
/
Copy pathstyle.css
File metadata and controls
458 lines (397 loc) · 9.86 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
454
455
456
457
458
/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth; /* Yeh line smooth scrolling enable karegi */
}
body {
font-family: 'Poppins', sans-serif;
background-color: #0f172a; /* Deep techy slate/navy background */
color: #e2e8f0; /* Light gray text for readability */
overflow-x: hidden; /* Prevents horizontal scrolling */
}
/* =========================================
Navbar Styles
========================================= */
.navbar {
display: flex;
justify-content: flex-end; /* Pushes the menu to the extreme right */
align-items: center;
padding: 30px 8%;
background-color: transparent;
position: relative; /* Dropdown positioning ke liye zaroori */
}
.nav-links {
list-style: none;
display: flex;
gap: 30px;
}
.nav-links li a {
text-decoration: none;
color: #e2e8f0;
font-weight: 400;
font-size: 16px;
position: relative; /* Needed for hover animation */
transition: color 0.3s ease;
}
.nav-links li a:hover {
color: #ff4d6d;
}
/* Hover Underline Animation */
.nav-links li a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -5px;
left: 0;
background-color: #ff4d6d;
transition: width 0.3s ease;
}
.nav-links li a:hover::after {
width: 100%;
}
/* Hamburger Icon (Hidden on PC) */
.hamburger {
display: none;
flex-direction: column;
cursor: pointer;
gap: 5px;
z-index: 1001; /* Menu ke upar rakhne ke liye */
}
.hamburger span {
width: 25px;
height: 3px;
background-color: #e2e8f0;
border-radius: 5px;
transition: all 0.3s ease;
}
/* =========================================
Hero Section Styles
========================================= */
.hero {
display: flex;
justify-content: space-between;
align-items: center;
padding: 60px 8% 100px;
min-height: 80vh;
gap: 40px; /* Space between left text and right card */
}
.hero-left {
flex: 1;
max-width: 600px;
}
.hero-right {
flex: 1;
display: flex;
justify-content: center;
}
/* The small gradient bar above the text */
.gradient-bar {
width: 250px;
height: 12px;
background: linear-gradient(90deg, #1e90ff, #9b59b6, #ff4d6d);
margin-bottom: 30px;
border-radius: 4px;
}
/* Typography for Hero Left */
.hero-left h1 {
font-size: 65px;
font-weight: 800;
color: #ffffff;
line-height: 1.1;
letter-spacing: -1px;
}
.hero-left .highlight-name {
color: #ff4d6d;
margin-bottom: 25px;
}
.hero-left p {
font-size: 16px;
color: #94a3b8;
line-height: 1.7;
margin-bottom: 40px;
font-weight: 300;
}
/* CTA Button Styles */
.cta-btn {
display: inline-block;
text-decoration: none;
background-color: #ff4d6d;
color: white;
padding: 15px 35px;
font-size: 14px;
font-weight: 600;
border-radius: 30px;
letter-spacing: 1px;
transition: all 0.3s ease;
}
.cta-btn:hover {
background-color: #e63956;
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(255, 77, 109, 0.3);
}
/* =========================================
Substack Floating Card Styles (Right Side)
========================================= */
.substack-card {
background: rgba(255, 255, 255, 0.03); /* Subtle glass effect */
border: 1px solid rgba(255, 255, 255, 0.1);
padding: 30px;
border-radius: 15px;
max-width: 400px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
animation: float 6s ease-in-out infinite; /* Applies the floating animation */
}
.card-header {
margin-bottom: 15px;
}
.badge {
background: linear-gradient(90deg, #ff4d6d, #ff758c);
color: white;
font-size: 12px;
font-weight: 600;
padding: 5px 12px;
border-radius: 20px;
text-transform: uppercase;
}
.substack-card h3 {
color: #ffffff;
font-size: 22px;
margin-bottom: 15px;
line-height: 1.3;
margin-top: 15px;
}
.substack-card p {
color: #94a3b8;
font-size: 14px;
margin-bottom: 25px;
line-height: 1.6;
}
.read-more {
color: #ff4d6d;
text-decoration: none;
font-weight: 600;
font-size: 14px;
transition: color 0.3s ease;
}
.read-more:hover {
color: #ffffff;
}
/* Floating Animation Keyframes */
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-15px); }
100% { transform: translateY(0px); }
}
/* =========================================
Contact Section Styles
========================================= */
.contact {
padding: 80px 8%;
background-color: #111827; /* Slightly darker than hero for contrast */
}
.section-title {
font-size: 40px;
font-weight: 700;
color: #ffffff;
text-align: center;
margin-bottom: 60px;
position: relative;
}
/* Pink underline for the section title */
.section-title::after {
content: '';
display: block;
width: 60px;
height: 4px;
background-color: #ff4d6d;
margin: 15px auto 0;
border-radius: 2px;
}
.contact-container {
display: flex;
justify-content: center; /* space-between ko hatakar center kar diya */
gap: 60px; /* In dono ke beech ka direct gap */
max-width: 950px; /* Container ki width thodi kam kar di taaki dono paas aa jayein */
margin: 0 auto;
}
/* Contact Info (Left Side) */
.contact-info {
flex: 1;
}
.contact-info h3 {
font-size: 26px;
color: #ffffff;
margin-bottom: 15px;
}
.contact-info p {
color: #94a3b8;
line-height: 1.7;
margin-bottom: 30px;
}
.info-list {
list-style: none;
}
.info-list li {
color: #e2e8f0;
font-size: 16px;
margin-bottom: 15px;
display: flex;
align-items: center;
gap: 15px;
}
.info-list li a {
color: #ff4d6d;
text-decoration: none;
transition: color 0.3s ease;
}
.info-list li a:hover {
color: #ffffff;
}
.icon {
font-size: 20px;
}
/* Contact Form (Right Side) */
.contact-form {
flex: 1;
background: rgba(255, 255, 255, 0.03);
padding: 40px;
border-radius: 15px;
border: 1px solid rgba(255, 255, 255, 0.05);
}
.contact-form form {
display: flex;
flex-direction: column;
gap: 20px;
}
.contact-form input,
.contact-form textarea {
width: 100%;
padding: 15px;
background-color: #1e293b; /* Dark input background */
border: 1px solid #334155;
border-radius: 8px;
color: #ffffff;
font-family: 'Poppins', sans-serif;
font-size: 14px;
transition: border-color 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
outline: none;
border-color: #ff4d6d;
}
.submit-btn {
border: none;
cursor: pointer;
width: 100%;
font-size: 16px;
margin-top: 10px;
}
/* Contact Section Profile Photo */
.contact-photo {
width: 120px;
height: 120px;
border-radius: 50%;
object-fit: cover;
border: 3px solid #ff4d6d;
box-shadow: 0 10px 20px rgba(255, 77, 109, 0.2);
margin-bottom: 25px;
transition: transform 0.3s ease;
}
.contact-photo:hover {
transform: scale(1.05); /* Halki si zoom animation hover karne par */
}
.icon svg {
vertical-align: middle; /* Icon ko text ke level par laane ke liye */
margin-right: 5px; /* Icon aur text ke beech thoda space */
color: #e2e8f0; /* Dark theme ke hisaab se light gray color */
}
/* =========================================
📱 RESPONSIVE DESIGN (Mobiles & Tablets)
========================================= */
@media (max-width: 900px) {
/* Hero section ko tablet/mobile pe stack karna */
.hero {
flex-direction: column;
text-align: center;
gap: 50px;
}
.gradient-bar {
margin: 0 auto 30px auto; /* Bar ko center karna */
}
}
/* Tablets aur chhote laptops ke liye (768px tak) */
@media (max-width: 768px) {
/* Show Hamburger Menu */
.hamburger {
display: flex;
}
/* Navbar Dropdown Design */
.nav-links {
display: none; /* By default hide rahega */
flex-direction: column;
position: absolute;
top: 80px; /* Navbar ke neeche */
left: 0;
width: 100%;
background-color: #0f172a;
padding: 20px 0;
text-align: center;
box-shadow: 0px 10px 15px rgba(0,0,0,0.5);
z-index: 1000;
}
/* JS se .active class add hone par menu dikhega */
.nav-links.active {
display: flex;
}
/* Contact section ko column (upar-neeche) mein badalna */
.contact-container {
flex-direction: column;
gap: 40px;
}
/* Info aur Form ko full width (100%) dena */
.contact-info,
.contact-form {
width: 100%;
padding: 0;
}
.contact-form {
padding: 25px;
}
/* Text aur headings ka size thoda chhota karna */
h1 {
font-size: 2.2rem !important; /* Force resize for mobile */
}
h2.section-title {
font-size: 1.8rem;
}
/* Sections ke side ka gap kam karna taaki mobile par jagah bache */
section {
padding: 40px 20px;
}
}
/* Chhote mobile screens ke liye (480px tak) */
@media (max-width: 480px) {
/* Buttons ko screen ki poori width dena */
.cta-btn,
.submit-btn {
width: 100%;
padding: 12px;
}
/* Inputs aur textarea ki padding mobile ke hisaab se adjust karna */
input,
textarea {
padding: 10px;
font-size: 14px;
}
/* Photo ka size thoda chhota karna */
.contact-photo {
max-width: 120px;
height: 120px;
}
}