-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
928 lines (831 loc) · 25.1 KB
/
style.css
File metadata and controls
928 lines (831 loc) · 25.1 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
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;700&display=swap');
:root {
--ai-purple: #7E57C2; /* Softer purple */
--ai-purple-dark: #5E35B1; /* Slightly deeper dark purple */
--ai-purple-soft: #AB47BC; /* More vibrant soft purple */
--ai-purple-light: #EDE7F6; /* Lighter, more subtle light purple */
--ai-gradient: linear-gradient(100deg, var(--ai-purple) 0%, var(--ai-purple-dark) 100%);
--neon-accent: #CE93D8; /* Softer neon for accents */
--background: #1A1A2E; /* Darker, richer background */
--surface: #2A2A4E; /* Slightly lighter surface for cards */
--surface-alt: #3A3A6E; /* Alternative surface for depth */
--white: #F5F5F5; /* Off-white for softer text */
--text-secondary: #BDBDBD; /* For less important text */
--shadow-sm: 0 2px 8px rgba(0,0,0,0.15);
--shadow-md: 0 6px 16px rgba(0,0,0,0.1);
--shadow-lg: 0 12px 32px rgba(94, 53, 177, 0.2);
--border-radius-sm: 12px;
--border-radius-md: 20px;
--border-radius-lg: 30px;
--transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
--section-space: 80px;
--blur-effect: blur(10px); /* Softer blur */
}
body {
margin: 0;
background-color: var(--background);
font-family: 'Prompt', sans-serif;
color: var(--white);
font-size: 17px; /* Slightly smaller base for better scaling */
line-height: 1.75;
min-height: 100vh;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
box-sizing: border-box; /* Added for consistent box model */
}
*, *::before, *::after { /* Apply box-sizing to all elements */
box-sizing: inherit;
}
nav {
background: rgba(32, 20, 58, 0.85); /* Darker, semi-transparent */
backdrop-filter: var(--blur-effect);
-webkit-backdrop-filter: var(--blur-effect);
color: var(--white);
padding: 20px 6vw; /* Adjusted padding */
display: flex;
align-items: center;
justify-content: space-between;
box-shadow: var(--shadow-md);
border-bottom: 1px solid rgba(171, 71, 188, 0.2); /* Subtle border */
animation: fadeInDownNav 0.9s ease-out; /* Renamed animation to avoid conflict */
position: sticky;
top: 0;
z-index: 1000;
}
nav h1 {
font-size: 1.9rem; /* Slightly adjusted */
font-weight: 700;
letter-spacing: 1.5px; /* Reduced letter spacing */
margin: 0;
text-shadow: 0 2px 10px rgba(0,0,0,0.2);
background: linear-gradient(90deg, var(--white) 60%, var(--neon-accent) 100%);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
-webkit-text-fill-color: transparent;
}
nav a {
color: var(--neon-accent);
text-decoration: none;
margin-left: 1.5vw;
font-size: 1.05rem; /* Adjusted */
font-weight: 500;
padding: 8px 18px;
border-radius: var(--border-radius-sm);
transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
position: relative;
letter-spacing: 0.5px;
}
nav a:hover, nav a:focus {
background: var(--ai-purple-soft);
color: var(--white);
box-shadow: 0 2px 10px 0 rgba(171, 71, 188, 0.5);
transform: translateY(-2px);
}
.hero {
background: radial-gradient(ellipse at 70% 30%, rgba(171, 71, 188, 0.15) 0%, transparent 60%),
radial-gradient(ellipse at 30% 70%, rgba(94, 53, 177, 0.2) 0%, transparent 60%),
var(--background); /* More subtle radial gradients on darker base */
color: var(--white);
text-align: center;
padding: 100px 6vw 90px 6vw; /* Adjusted padding */
border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg); /* Smoother radius */
box-shadow: var(--shadow-lg);
position: relative;
min-height: 380px;
margin-bottom: var(--section-space);
overflow: hidden;
}
.hero:before {
content: "";
position: absolute;
left: -120px; top: -80px;
width: 350px; height: 350px;
background: radial-gradient(circle, rgba(171, 71, 188, 0.25) 0%, transparent 70%);
filter: blur(18px); /* Increased blur */
z-index: 0;
opacity: 0.7;
}
.hero:after {
content: "";
position: absolute;
right: -100px; bottom: -80px;
width: 280px; height: 280px;
background: radial-gradient(circle, rgba(237, 231, 246, 0.15) 0%, transparent 70%);
filter: blur(20px); /* Increased blur */
z-index: 0;
opacity: 0.6;
}
.hero-content {
display: flex;
align-items: center;
justify-content: center;
gap: 60px; /* Adjusted gap */
flex-wrap: wrap;
position: relative;
z-index: 2;
}
.hero-img {
width: 300px !important; /* Slightly smaller */
height: 300px !important;
object-fit: cover; /* Changed to cover for better framing */
border-radius: 50%;
box-shadow: 0 10px 50px 0 rgba(171, 71, 188, 0.35); /* Softer, more spread shadow */
background: rgba(255,255,255,0.1); /* More subtle background */
margin-bottom: 0;
animation: floating 5s infinite alternate ease-in-out; /* Smoother animation */
border: 3px solid var(--ai-purple-soft);
}
@keyframes floating {
0% { transform: translateY(0) scale(1); }
100% { transform: translateY(-15px) scale(1.03); } /* Subtler movement */
}
.hero-content > div {
min-width: 280px;
text-align: left;
max-width: 520px;
}
.hero h2 {
font-size: 2.5rem; /* Adjusted */
font-weight: 700; /* Changed from bold */
margin-bottom: 20px;
letter-spacing: 1px;
text-shadow: 0 3px 18px rgba(126, 87, 194, 0.3);
background: linear-gradient(90deg, var(--white) 65%, var(--neon-accent) 100%);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
-webkit-text-fill-color: transparent;
}
.hero p {
font-size: 1.15rem; /* Adjusted */
opacity: 0.9;
margin-bottom: 30px;
color: var(--text-secondary); /* Softer text color */
text-shadow: 0 1px 8px rgba(32, 20, 58, 0.2);
}
.cta-btn {
background: var(--ai-purple-soft);
color: var(--white);
padding: 12px 38px; /* Adjusted padding */
font-size: 1.1rem; /* Adjusted */
font-weight: 700;
border: none;
border-radius: 50px; /* Fully rounded */
box-shadow: 0 4px 18px 0 rgba(171, 71, 188, 0.4);
cursor: pointer;
transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform .15s ease-out;
text-decoration: none;
display: inline-block;
letter-spacing: 1px;
border: 2px solid transparent; /* Prepare for hover border */
}
.cta-btn:hover, .cta-btn:focus {
background: var(--white);
color: var(--ai-purple);
box-shadow: 0 6px 24px 0 rgba(126, 87, 194, 0.5);
transform: scale(1.05) translateY(-2px); /* Added translateY */
border-color: var(--ai-purple-soft);
}
.glow-on-hover {
box-shadow: 0 0 28px 8px rgba(171, 71, 188, 0.5), 0 2px 15px 0 rgba(126, 87, 194, 0.7);
animation: glowPulse 2.5s infinite alternate ease-in-out;
}
@keyframes glowPulse {
0% { box-shadow: 0 0 28px 8px rgba(171, 71, 188, 0.5), 0 2px 15px 0 rgba(126, 87, 194, 0.7); }
100% { box-shadow: 0 0 50px 20px rgba(171, 71, 188, 0.7), 0 5px 30px 0 rgba(126, 87, 194, 0.9); }
}
/* Section Title */
.section-title {
font-size: 2rem; /* Adjusted */
font-weight: 700;
color: var(--ai-purple-soft);
margin-bottom: 35px;
text-align: center;
margin-top: var(--section-space); /* Use variable */
letter-spacing: 1px;
text-shadow: 0 3px 12px rgba(171, 71, 188, 0.3);
background: linear-gradient(90deg, var(--white) 55%, var(--neon-accent) 100%);
background-clip: text;
-webkit-background-clip: text;
color: transparent;
-webkit-text-fill-color: transparent;
}
.section-title-wrapper {
margin-bottom: 30px;
}
.section-title-wrapper p {
font-size: 1.05rem;
color: var(--text-secondary);
margin-top: -20px;
text-align: center; /* Added for consistency */
}
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Slightly smaller min */
gap: 30px; /* Adjusted gap */
max-width: 1200px;
margin: 0 auto var(--section-space) auto;
padding: 0 5vw; /* Adjusted padding */
}
.project-card {
background: var(--surface);
border-radius: var(--border-radius-md);
box-shadow: var(--shadow-md);
padding: 30px 24px; /* Adjusted padding */
min-height: 290px;
border-left: 5px solid var(--ai-purple-soft);
position: relative;
overflow: hidden;
animation: fadeInPopGeneral 0.8s ease-out; /* Renamed animation */
transition: transform var(--transition), box-shadow var(--transition), border-left-color var(--transition);
}
.project-card:hover {
transform: translateY(-8px) scale(1.03);
box-shadow: var(--shadow-lg);
border-left-color: var(--ai-purple);
}
.project-img {
width: 90px !important;
height: 90px !important;
object-fit: cover;
border-radius: var(--border-radius-sm);
background: rgba(255,255,255,0.08);
box-shadow: 0 2px 10px 0 rgba(171, 71, 188, 0.2);
margin-bottom: 18px;
display: block;
margin-left: auto;
margin-right: auto;
border: 2px solid var(--ai-purple-soft);
}
.project-card h4 {
color: var(--neon-accent);
font-size: 1.18rem;
font-weight: 700;
margin-top: 0;
margin-bottom: 12px;
letter-spacing: 0.1px;
text-align: center;
}
.project-card ul {
padding-left: 18px;
margin: 0;
color: var(--text-secondary);
font-size: 1rem;
line-height: 1.65;
}
.project-card ul li::marker {
color: var(--ai-purple-soft);
}
.roadmap-img,
.roadmap-image,
.roadmap {
width: 100%;
max-width: 1100px;
height: auto;
display: block;
margin: 30px auto var(--section-space) auto;
box-shadow: var(--shadow-lg);
border-radius: var(--border-radius-md);
background: var(--surface-alt);
padding: 10px;
}
.learning-path {
background: linear-gradient(120deg, var(--surface) 0%, var(--surface-alt) 100%);
max-width: 900px;
margin: 0 auto var(--section-space) auto;
border-radius: var(--border-radius-md);
box-shadow: var(--shadow-md);
padding: 40px 35px;
display: flex;
align-items: center;
gap: 45px;
flex-wrap: wrap;
border: 1px solid rgba(171, 71, 188, 0.25);
}
.learning-img {
width: 140px !important;
height: 140px !important;
object-fit: cover;
border-radius: var(--border-radius-sm);
background: rgba(255,255,255,0.1);
box-shadow: 0 2px 10px 0 rgba(171, 71, 188, 0.15);
border: 2px solid var(--ai-purple-soft);
}
.learning-path ol {
padding-left: 20px;
color: var(--text-secondary);
font-size: 1.1rem;
margin: 0;
line-height: 2;
}
.learning-path li {
margin-bottom: 10px;
font-weight: 400;
}
.learning-path li::marker {
color: var(--ai-purple-soft);
font-size: 1.1em;
font-weight: 700;
}
.learn-block {
background: var(--surface);
border-radius: var(--border-radius-lg);
box-shadow: var(--shadow-lg);
margin: 0 auto var(--section-space) auto;
padding: 50px 4vw;
max-width: 1300px;
border: 1px solid rgba(171, 71, 188, 0.2);
}
.learn-list {
display: flex;
flex-wrap: wrap;
gap: 30px;
justify-content: center;
}
.learn-card {
background: var(--surface-alt);
border-radius: var(--border-radius-md);
box-shadow: var(--shadow-md);
max-width: 320px;
min-width: 260px;
flex: 1 1 260px;
display: flex;
flex-direction: column;
align-items: center;
padding: 28px 18px;
position: relative;
transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
animation: fadeInPopGeneral 0.9s ease-out; /* Renamed animation */
z-index: 2;
border: 2px solid transparent;
}
.learn-card:hover {
box-shadow: 0 12px 30px 0 rgba(126, 87, 194, 0.3);
transform: translateY(-6px) scale(1.03);
border-color: var(--ai-purple-soft);
}
.learn-card-img {
width: 90px !important;
height: 90px !important;
object-fit: cover;
margin-bottom: 15px;
border-radius: var(--border-radius-sm);
background: rgba(255,255,255,0.1);
box-shadow: 0 2px 8px 0 rgba(171, 71, 188, 0.15);
border: 2px solid var(--ai-purple-soft);
}
.learn-card h4 {
color: var(--neon-accent);
font-size: 1.1rem;
font-weight: 700;
margin: 0 0 10px 0;
text-align: center;
letter-spacing: 0.3px;
}
.learn-card p {
color: var(--text-secondary);
font-size: 0.95rem;
margin: 0 0 5px 0;
text-align: center;
line-height: 1.6;
}
.faculty-category-block {
background: var(--surface);
border-radius: var(--border-radius-lg);
box-shadow: var(--shadow-lg);
margin: 0 auto var(--section-space) auto;
padding: 40px 4vw;
max-width: 1300px;
border: 1px solid rgba(171, 71, 188, 0.2);
}
.faculty-category-block .section-title-wrapper p { /* This was the original p inside faculty-category-block */
color: var(--text-secondary);
font-size: 1rem;
margin-top: -25px;
margin-bottom: 25px;
text-align: center;
}
.program-list {
display: flex;
flex-wrap: nowrap;
gap: 30px;
margin-top: 10px;
overflow-x: auto;
padding: 10px 5px 25px 5px;
scrollbar-width: thin;
scrollbar-color: var(--ai-purple-soft) var(--surface);
-webkit-mask-image: linear-gradient(to right, transparent, black 20px, black 95%, transparent);
mask-image: linear-gradient(to right, transparent, black 20px, black 95%, transparent);
}
.program-list::-webkit-scrollbar {
height: 8px;
}
.program-list::-webkit-scrollbar-track {
background: var(--surface);
border-radius: 4px;
}
.program-list::-webkit-scrollbar-thumb {
background-color: var(--ai-purple-soft);
border-radius: 4px;
}
.program-list::-webkit-scrollbar-thumb:hover {
background-color: var(--ai-purple);
}
.program-card-new {
background: var(--surface-alt);
border-radius: var(--border-radius-md);
box-shadow: var(--shadow-md);
flex: 0 0 380px;
max-width: 480px;
min-width: 320px;
display: flex;
flex-direction: column;
margin-bottom: 18px;
position: relative;
overflow: hidden; /* Changed from visible to hidden, then to visible for popup, now back to hidden for card itself */
animation: fadeInPopGeneral 1s ease-out; /* Renamed animation */
min-height: auto;
border: 2px solid transparent;
transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
z-index: 1;
}
.program-card-new.mahidol {
z-index: 0;
}
.program-card-new:hover {
box-shadow: var(--shadow-lg);
border-color: var(--ai-purple-soft);
transform: translateY(-5px) scale(1.02);
}
.program-card-new-header {
display: flex;
align-items: center;
gap: 18px;
padding: 24px 20px 15px 24px;
background: linear-gradient(110deg, rgba(171, 71, 188, 0.15) 0%, var(--surface-alt) 100%);
min-height: auto;
border-bottom: 1px solid rgba(171, 71, 188, 0.15);
}
.program-card-logo {
width: 75px !important;
height: 75px !important;
object-fit: contain;
border-radius: var(--border-radius-sm);
box-shadow: 0 2px 8px 0 rgba(171, 71, 188, 0.1);
background: var(--white);
padding: 5px;
border: 1px solid rgba(171, 71, 188, 0.2);
}
.uni-program-name h5 {
margin: 0 0 3px 0;
font-weight: 700;
color: var(--white);
font-size: 1.15rem;
}
.program-card-subheader {
color: var(--neon-accent);
font-size: 1rem;
opacity: 0.9;
font-weight: 400;
}
.program-card-new-body {
padding: 20px 24px;
flex: 1 1 auto;
display: flex;
flex-direction: column;
}
.requirements-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 12px 18px;
margin-bottom: 18px;
}
.requirement-block h6 {
margin: 0 0 4px 0;
color: var(--neon-accent);
font-size: 1rem;
font-weight: 500;
}
.requirement-block p {
margin:0;
font-size: 1rem;
color: var(--text-secondary);
}
.score {
color: var(--white);
font-weight: 700;
font-size: 1.05em;
text-shadow: 0 1px 4px var(--ai-purple-soft);
}
.popular-majors-info {
margin: auto 0 0 0;
font-size: 1rem;
position: relative;
z-index: 2;
padding-top: 15px;
}
/* === POPUP STYLES === */
.popular-majors-trigger {
display: inline-block;
color: var(--white, #F5F5F5);
cursor: pointer;
background: var(--ai-purple-soft, #AB47BC);
border-radius: var(--border-radius-sm, 12px);
padding: 10px 20px;
font-weight: 500;
box-shadow: 0 3px 12px 0 rgba(171, 71, 188, 0.25);
position: relative;
transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
z-index: 10;
border: 1px solid transparent;
letter-spacing: 0.3px;
margin-bottom: 10px;
margin-top: 10px;
}
.popular-majors-trigger:hover {
background: var(--ai-purple, #7E57C2);
box-shadow: 0 4px 16px 0 rgba(171, 71, 188, 0.35);
transform: translateY(-1px);
}
.popular-majors-popup {
display: none;
position: absolute;
left: 50%;
transform: translateX(-50%);
bottom: calc(100% + 15px);
z-index: 3000;
min-width: 360px;
max-width: calc(100vw - 40px);
max-height: 350px;
overflow-y: auto;
background: var(--background, #1A1A2E);
color: var(--white, #F5F5F5);
border-radius: var(--border-radius-md, 20px);
box-shadow: 0 15px 60px 0 rgba(26, 26, 46, 0.3), 0 4px 15px 0 rgba(94, 53, 177, 0.2);
/* Adjusted padding: top/bottom, left/right */
padding: 25px 35px 25px 28px; /* Increased right padding */
font-size: 1.05rem;
text-align: left;
border: 1px solid var(--ai-purple-soft, #AB47BC);
animation: fadeInPopupAnimation 0.3s cubic-bezier(.4,0,.2,1);
}
.popular-majors-trigger.open .popular-majors-popup {
display: block;
}
@media (hover: hover) and (pointer: fine) {
.popular-majors-trigger:hover .popular-majors-popup {
/* display: block; */
}
}
@keyframes fadeInPopupAnimation {
from {
opacity: 0;
transform: translateX(-50%) translateY(10px) scale(0.95);
}
to {
opacity: 1;
transform: translateX(-50%) translateY(0) scale(1);
}
}
.popular-majors-popup::before {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
border-width: 10px;
border-style: solid;
border-color: var(--ai-purple-soft, #AB47BC) transparent transparent transparent;
}
/* === END OF POPUP STYLES === */
.popular-majors-popup h5 {
color: var(--neon-accent);
margin-top: 0;
margin-bottom: 15px;
font-size: 1.2rem;
}
.popular-majors-popup ul {
list-style-type: disc;
padding-left: 20px; /* Default left padding for ul */
margin-bottom: 15px;
}
.popular-majors-popup ul li {
margin-bottom: 8px;
color: var(--text-secondary);
/* Ensure li takes full width or has enough space */
word-break: break-word; /* Break long words if necessary */
}
.popular-majors-popup ul li strong {
color: var(--white);
}
.popular-majors-popup .general-criteria-heading,
.popular-majors-popup .rounds-info-heading {
font-weight: 700;
color: var(--neon-accent);
margin-top: 15px;
margin-bottom: 8px;
font-size: 1.1rem;
}
.popular-majors-popup .rounds-info-list li {
font-style: italic;
}
.popular-majors-popup p { /* General paragraphs inside popup */
word-break: break-word;
}
.popular-majors-popup p em {
font-size: 0.8rem;
opacity: 0.7;
display: block;
margin-top: 15px;
}
.close-popup-btn {
margin: 15px 0 0 0;
padding: 8px 22px;
background: var(--ai-purple-soft);
color: var(--white);
border: none;
border-radius: var(--border-radius-sm);
font-size: 0.95rem;
font-family: inherit;
cursor: pointer;
float: right;
font-weight: 500;
box-shadow: var(--shadow-sm);
transition: background var(--transition);
}
.close-popup-btn:hover {
background: var(--ai-purple);
}
.program-card-new-footer {
padding: 18px 24px;
background: linear-gradient(270deg, rgba(171, 71, 188, 0.1) 0%, var(--surface-alt) 100%);
border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
text-align: right;
margin-top: auto;
border-top: 1px solid rgba(171, 71, 188, 0.15);
}
.program-card-link {
color: var(--neon-accent);
font-weight: 500;
text-decoration: none;
transition: color 0.19s;
font-size: 0.95rem;
}
.program-card-link:hover {
color: var(--white);
text-decoration: underline;
}
.footer-main {
background: var(--ai-gradient);
color: var(--white);
padding: 40px 0 25px 0;
text-align: center;
border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
margin-top: var(--section-space);
box-shadow: 0 -6px 25px 0 rgba(126, 87, 194, 0.25);
}
.footer-logos-container {
display: flex;
align-items: center;
justify-content: center;
gap: 35px;
margin-bottom: 18px;
}
.footer-logo img, .partner-logo img {
width: 80px !important;
height: 80px !important;
min-width: 80px !important;
min-height: 80px !important;
object-fit: contain;
background: rgba(255,255,255,0.9);
border-radius: var(--border-radius-sm);
box-shadow: var(--shadow-sm);
padding: 5px;
transition: transform var(--transition), box-shadow var(--transition);
}
.footer-logo img:hover, .partner-logo img:hover {
transform: scale(1.05);
box-shadow: var(--shadow-md);
}
footer p {
margin: 6px 0;
color: var(--text-secondary);
font-size: 1rem;
text-shadow: 0 1px 8px rgba(32, 20, 58, 0.3);
}
footer p:last-of-type {
color: var(--white);
font-weight: 500;
}
footer a {
color: var(--neon-accent);
font-weight: 500;
text-decoration: none;
transition: color 0.18s;
}
footer a:hover {
color: var(--white);
text-decoration: underline;
}
/* Animations */
@keyframes fadeInDownNav { from { opacity: 0; transform: translateY(-30px);} to { opacity: 1; transform: translateY(0);} }
@keyframes fadeInUpGeneral { from { opacity: 0; transform: translateY(40px);} to { opacity: 1; transform: translateY(0);} } /* Renamed */
@keyframes fadeInGeneral { from { opacity: 0;} to { opacity: 1;} } /* Renamed */
@keyframes fadeInPopGeneral { from { opacity: 0; transform: scale(.95) translateY(30px);} to { opacity: 1; transform: scale(1) translateY(0);} } /* Renamed */
.fade-in-down { animation: fadeInDownNav 0.7s ease-out .1s backwards; }
.fade-in-up { animation: fadeInUpGeneral 0.8s ease-out .2s backwards; }
.fade-in { animation: fadeInGeneral 1s ease-out .1s backwards; }
.animate-pop { animation: fadeInPopGeneral 0.8s ease-out .3s backwards; }
/* Responsive Adjustments */
@media (max-width: 1200px) {
.hero-content { gap: 40px; }
.program-card-new { flex: 0 0 340px; }
}
@media (max-width: 992px) {
:root {
--section-space: 60px;
}
body { font-size: 16px; }
nav { padding: 15px 4vw; }
nav h1 { font-size: 1.7rem; }
nav a { font-size: 1rem; margin-left: 1vw; padding: 7px 15px; }
.hero { padding: 80px 4vw 70px 4vw; }
.hero h2 { font-size: 2.2rem; }
.hero p { font-size: 1.1rem; }
.hero-img { width: 250px !important; height: 250px !important; }
.cta-btn { font-size: 1rem; padding: 10px 30px; }
.section-title { font-size: 1.8rem; margin-bottom: 30px; }
.projects-grid { gap: 25px; padding: 0 4vw; }
.project-card { padding: 25px 20px; }
.roadmap-img, .roadmap-image, .roadmap { max-width: 90vw; }
.learning-path { padding: 30px 25px; gap: 30px; }
.learning-img { width: 120px !important; height: 120px !important; }
.learning-path ol { font-size: 1rem; }
.learn-block, .faculty-category-block { padding: 40px 3vw; }
.learn-list { gap: 25px; }
.learn-card { max-width: 300px; flex-basis: 240px; }
.program-list { gap: 20px; }
.program-card-new { flex: 0 0 320px; }
.program-card-logo { width: 65px !important; height: 65px !important; }
.uni-program-name h5 { font-size: 1.1rem; }
.program-card-subheader { font-size: 0.95rem; }
.requirement-block p, .requirement-block h6 { font-size: 0.95rem; }
.popular-majors-popup {
min-width: 320px;
padding: 25px 30px 25px 20px; /* Adjusted padding for tablets */
font-size: 1rem;
}
}
@media (max-width: 768px) {
.hero-content, .learning-path { flex-direction: column !important; text-align: center; }
.hero-content > div { text-align: center; max-width: 100%;}
.hero-img { margin-bottom: 20px; }
.projects-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.program-list {
padding: 10px 15px 25px 15px;
-webkit-mask-image: linear-gradient(to right, transparent, black 10px, black 90%, transparent);
mask-image: linear-gradient(to right, transparent, black 10px, black 90%, transparent);
}
.program-card-new {
flex: 0 0 85vw;
max-width: 300px; /* Max width for cards on smaller screens */
}
.popular-majors-popup {
left: 10px; /* Adjust for smaller screens */
right: 10px;
transform: translateX(0); /* Override centering */
min-width: calc(100vw - 40px); /* Take more width */
max-width: calc(100vw - 40px);
bottom: calc(100% + 10px);
padding: 20px 25px 20px 20px; /* Further adjust padding for mobile */
}
}
@media (max-width: 600px) {
body { font-size: 15px; }
nav { flex-direction: column; gap: 10px; padding: 15px 5vw; }
nav h1 { font-size: 1.5rem; text-align: center; }
nav div { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
nav a { font-size: 0.9rem; padding: 6px 12px; margin-left: 5px; }
.hero { padding: 60px 5vw 50px 5vw; }
.hero h2 { font-size: 1.8rem; }
.hero p { font-size: 1rem; }
.hero-img { width: 200px !important; height: 200px !important; }
.section-title { font-size: 1.6rem; }
.projects-grid { gap: 20px; }
.project-img { width: 70px !important; height: 70px !important; }
.learning-img { width: 100px !important; height: 100px !important; }
.learn-card-img { width: 70px !important; height: 70px !important; }
.program-card-logo { width: 55px !important; height: 55px !important; }
.footer-logo img, .partner-logo img { width: 65px !important; height: 65px !important; }
}
@media (max-width: 400px) {
nav h1 { font-size: 1.3rem; }
.hero h2 { font-size: 1.6rem; }
.section-title { font-size: 1.4rem; }
.program-card-new { flex-basis: 90vw; max-width: none; /* Allow to take full width if needed */ }
.popular-majors-trigger { width: 100%; text-align: center; }
.popular-majors-popup {
padding: 15px 20px 15px 15px; /* Fine-tune padding for very small screens */
}
}