-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
1285 lines (1137 loc) · 35 KB
/
styles.css
File metadata and controls
1285 lines (1137 loc) · 35 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
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* General Reset and Base */
body {
margin: 0;
font-family: 'Poppins', sans-serif; /* Ensure Poppins is linked in HTML */
color: #e2e2e2; /* Default text color */
}
h1, h2, h3, h4, h5, h6 {
margin: 0;
padding: 0;
}
a {
text-decoration: none;
color: inherit;
}
img {
max-width: 100%;
height: auto;
display: block; /* Removes extra space below images */
}
.section-title {
font-size: 32px;
font-weight: 600;
text-align: center;
margin-bottom: 40px;
color: #e2e2e2;
}
/* --- NAVIGATION BAR STYLES --- */
header {
width: 100%;
display: flex;
justify-content: center;
padding-top: 30px;
position: absolute; /* Position over the hero background */
top: 0;
left: 0;
z-index: 1000;
pointer-events: none; /* Allow clicks to pass through header background */
}
.nav-wrapper {
width: 100%;
background-color: rgba(0, 0, 0, 0.8); /* Slightly transparent black for navbar */
padding: 8px 20px 20px 20px; /* Padding for the navbar */
display: flex;
flex-direction: column;
align-items: center;
position: relative;
box-sizing: border-box;
pointer-events: all; /* Restore pointer events for navbar content */
height: 40px;
}
.nav-top-row {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
position: relative;
}
.left-nav,
.right-nav {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
gap: 58px;
height: 32px;
padding: 0 20px;
}
nav a {
text-decoration: none;
color: #FFFFFF;
font-weight: 300;
font-size: 20px;
line-height: 100%;
letter-spacing: 0.03em;
white-space: nowrap;
}
.logo-area {
display: flex;
flex-direction: column;
align-items: center;
margin-top: 0; /* Adjust this value */
z-index: 10;
position: relative;
}
.logo {
width: 160px;
height: auto;
display: block;
transform: translateY(-50%);
}
.logo-tagline {
color: #FFFFFF;
font-size: 10px;
font-weight: 300;
letter-spacing: 0.05em;
margin-top: -30px; /* Adjust this value */
white-space: nowrap;
}
.hamburger {
display: none;
font-size: 28px;
color: #e2e2e2;
cursor: pointer;
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%);
z-index: 100;
}
.nav-center-spacer {
flex-grow: 1;
}
/* --- HERO SECTION STYLES --- */
.hero-section {
position: relative;
width: 100%;
height: 90vh; /* Adjust height as needed, e.g., 80vh for 80% of viewport height */
display: flex;
flex-direction: column;
justify-content: center; /* Center content vertically */
color: #FFFFFF; /* Space for the navbar */
box-sizing: border-box; /* Include padding in height */
/* Rectangle 4 */
}
/* Gradient Overlay */
.hero-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)); /* Adjust transparency */
z-index: 1;
}
.hero-content {
position: relative;
z-index: 2; /* Ensure content is above the overlay */
display: flex;
flex-direction: column;
align-items: left;
width: 100%;
max-width: 942px; /* Match nav width for consistent layout */
padding: 0 20px;
box-sizing: border-box;
align-items: center; /* Center content horizontally */
text-align: center;
}
.hero-text h1 {
font-size: 72px; /* Large font size for KIIT E-CELL */
font-weight: 700;
margin-bottom: 10px;
letter-spacing: 0.05em;
text-align: left; /* Align text to the left */
}
.hero-text p {
font-size: 24px; /* Smaller font for tagline */
font-weight: 400;
margin-bottom: 50px;
letter-spacing: 0.02em;
text-align: left; /* Align text to the left */
}
.cta-buttons {
display: flex;
gap: 20px;
margin-top: 30px; /* Space between text and buttons */
}
.btn {
padding: 12px 30px;
border: none;
border-radius: 5px;
font-size: 18px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
}
.btn.gradient {
/* Join Us btn */
box-sizing: border-box;
/* Auto layout */
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
padding: 18px;
gap: 10px;
position: relative;
background: linear-gradient(96.68deg, #82A7AD 3.89%, #354547 65.23%);
border: 5px solid #000000;
border-radius: 25px;
}
.btn.login {
color: #FFFFFF;
border: 1px solid #333; /* Slight border for visibility */
/* Log In btn */
box-sizing: border-box;
/* Auto layout */
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
padding: 18px;
gap: 10px;
position: relative;
background: #000000;
border: 5px solid #000000;
border-radius: 25px;
}
.btn:hover {
opacity: 0.8;
}
/* Hero Right Logo */
.hero-right-logo {
position: absolute;
right: -200px; /* Adjust as needed */
top: 50%;
transform: translateY(-50%);
display: flex;
flex-direction: column;
align-items: center;
color: #FFFFFF;
text-align: center;
pointer-events: none; /* Make it unclickable */
}
.hero-logo-ellipse {
width: 200px; /* Diameter of the circle */
height: 200px; /* Diameter of the circle */
border-radius: 50%; /* Makes the container circular */
border: 3px solid black; /* Your desired border */
display: flex; /* Use flexbox to center the image inside */
justify-content: center;
align-items: center;
overflow: hidden; /* Important: Hides parts of the image that extend beyond the circular border */ /* Optional glow */
background-color: black /* Optional: background color for the circle if image doesn't fill it */
}
.hero-logo-border{
width: 250px; /* Diameter of the circle */
height: 250px; /* Diameter of the circle */
border-radius: 50%; /* Makes it a perfect circle */
border: 2px solid #3467E5; /* Solid blue border */
display: flex; /* Use flexbox to center content (logo and text) inside */
justify-content: center; /* Center vertically */
align-items: center;
}
.hero-right-logo img {
width: 150px; /* Adjust size of the logo */
height: auto; /* Blue glow */
opacity: 0.7; /* Make it slightly transparent */
}
.hero-right-logo-text {
font-size: 14px;
font-weight: 300;
letter-spacing: 0.05em;
margin-top: 5px;
}
/* --- ABOUT US SECTION --- */
.about-us-section {
padding: 80px 20px;
background-color: #1a1a1a; /* Slightly lighter dark background */
text-align: center;
}
.about-us-section .section-title {
margin-bottom: 60px;
background-color: #7d7d7d;
}
.about-content {
display: flex;
justify-content: center;
align-items: center;
gap: 50px; /* Space between text and logos */
max-width: 1000px;
margin: 0 auto;
}
.about-content p {
font-size: 18px;
line-height: 1.6;
text-align: left;
max-width: 600px;
color: #ccc; /* Slightly lighter text for readability */
}
.about-logos {
display: flex;
justify-content: center; /* or space-between / flex-start / flex-end */
align-items: center;
gap: 20px; /* spacing between logos */
margin-top: 30px;
filter: grayscale(100%); /* Make logos slightly gray */
}
.about-logo-ecell {
width: 120px; /* Adjust logo size */
filter: brightness(0.8); /* Make it slightly less bright than the nav logo */
}
.about-logo-kiit {
width: 150px; /* Adjust logo size */
}
/* --- QUOTE SECTION --- */
.quote-section {
padding: 60px 20px;
background-color: #121212; /* Darker background */
text-align: center;
}
.quote-section .section-title {
font-size: 28px;
font-weight: 400; /* Lighter font weight */
letter-spacing: 0.08em; /* More letter spacing */
color: #e2e2e2;
margin-bottom: 0; /* No margin bottom if it's just the text */
}
/* --- LIAISON SECTION --- */
.liaison-section {
padding: 80px 20px;
background-color: #1a1a1a; /* Same as about section */
text-align: center;
}
.liaison-officers {
display: flex;
justify-content: center;
flex-wrap: wrap; /* Allow officers to wrap to next line */
gap: 40px;
margin-top: 40px;
}
.officer img {
width: 150px; /* Size of circular images */
height: 150px;
border-radius: 50%; /* Makes image circular */
object-fit: cover; /* Ensures image covers the circle */
border: 3px solid #0072FF; /* Blue border around circles */
box-shadow: 0 0 15px rgba(0, 114, 255, 0.4); /* Subtle blue glow */
}
.section-divider {
width: 80%; /* Adjust width of the line */
max-width: 600px;
border: none;
border-top: 1px solid #333; /* Darker line */
margin: 80px auto 0 auto; /* Space below officers */
}
/* --- Responsive Design --- */
@media (max-width: 992px) {
.hero-section {
height: 70vh;
}
.hero-text h1 {
font-size: 60px;
}
.hero-text p {
font-size: 20px;
}
.hero-right-logo {
position: absolute;
right: 50px; /* Adjust as needed */
top: 50%;
transform: translateY(-50%);
display: flex; /* Flex container to allow alignment if multiple elements were here */
justify-content: center; /* Center the ellipse */
align-items: center; /* Center the ellipse */
pointer-events: none; /* Make it unclickable */
z-index: 2;
}
.hero-logo-ellipse{
width: 250px; /* Diameter of the circle */
height: 250px; /* Diameter of the circle */
border-radius: 50%; /* Makes it a perfect circle */
background-color: #000; /* Solid black background for the circle */
border: 2px solid rgba(0, 114, 255, 0.8); /* Solid blue border */
box-shadow: 0 0 20px 10px rgba(0, 114, 255, 0.4); /* Blue outer glow */
display: flex; /* Use flexbox to center content (logo and text) inside */
flex-direction: column; /* Stack logo and text vertically */
justify-content: center; /* Center vertically */
align-items: center; /* Center horizontally */
text-align: center;
color: #FFFFFF; /* Text color for tagline inside */
position: relative;
}
.hero-logo-ellipse img { /* Target the image INSIDE the ellipse */
width: 120px; /* Size of the logo itself, adjust to fit within the ellipse */
height: auto;
filter: brightness(1.2) drop-shadow(0 0 5px rgba(255,255,255,0.3)); /* Slight brightness/glow for the white logo */
margin-bottom: 5px; /* Space between logo and text */
}
.hero-right-logo img {
width: 100px;
}
.about-content {
flex-direction: column;
}
.about-content p {
text-align: center;
max-width: 90%;
}
}
@media (max-width: 768px) {
/* Navbar responsiveness */
.nav-wrapper {
width: 100%;
padding: 8px 0;
}
.nav-top-row {
flex-direction: column;
align-items: flex-end;
}
.left-nav,
.right-nav {
display: none;
flex-direction: column;
gap: 15px;
width: 100%;
padding: 0;
text-align: center;
}
.nav-center-spacer {
display: none;
}
.hamburger {
display: block;
position: absolute;
transform: none;
margin-right: 20px;
}
.nav-top-row.active .left-nav,
.nav-top-row.active .right-nav {
display: flex;
}
.logo-area {
margin-top: 20px;
position: static;
transform: none;
}
.logo {
transform: none;
}
.logo-tagline {
margin-top: 5px;
}
/* Hero section responsiveness */
.hero-section {
height: 100vh;
padding-top: 100px;
}
.hero-text h1 {
font-size: 48px;
}
.hero-text p {
font-size: 18px;
}
.cta-buttons {
flex-direction: column;
gap: 15px;
}
.btn {
width: 80%;
margin: 0 auto;
}
.hero-right-logo {
display: none;
}
/* About and Liaison sections responsiveness */
.about-us-section{
background: linear-gradient(252.44deg, #B3E6EE 0%, #203A43 50%, #2C5364 100%);
filter: blur(70px);
}
.quote-section, .liaison-section {
padding: 50px 15px;
}
.section-title {
font-size: 28px;
margin-bottom: 30px;
}
.about-content {
gap: 30px;
}
.about-content p {
font-size: 16px;
}
.liaison-officers {
gap: 20px;
}
.officer img {
width: 120px;
height: 120px;
}
}
@media (max-width: 480px) {
.hero-text h1 {
font-size: 40px;
}
.hero-text p {
font-size: 16px;
}
.section-title {
font-size: 24px;
}
}
/* --- LIAISON SECTION --- */
.liaison-section {
padding: 80px 20px;
background-color: #1a1a1a;
text-align: center;
}
.liaison-officers {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 40px;
margin-top: 40px;
}
/* Container for each officer card */
.officer {
position: relative;
width: 150px; /* Initial width of the circle */
height: 150px; /* Initial height of the circle */
border-radius: 50%; /* Initial circular shape */
overflow: hidden; /* Hide overflowing content */
cursor: pointer;
transition: all 0.4s ease-out; /* Smooth transition for all properties */
display: flex; /* Use flexbox to center content */
justify-content: center;
align-items: center;
}
/* Inner card that will transform */
.officer-card {
position: relative;
width: 100%;
height: 100%;
border-radius: 50%; /* Start as a circle */
display: flex;
flex-direction: column; /* For vertical stacking of image and text */
justify-content: flex-start; /* Image at top initially */
align-items: center;
overflow: hidden;
transition: all 0.4s ease-out;
background-color: transparent; /* No background until hover */
}
.officer-details {
position: absolute; /* Position details relative to .officer-card */
bottom: -100%; /* Start hidden below the card */
left: 0;
width: 100%;
padding: 10px 0;
background-color: #000; /* Black background for text area */
color: #fff;
text-align: center;
opacity: 0; /* Hidden by default */
display: flex;
flex-direction: column;
gap: 5px;
justify-content: center;
align-items: center;
}
.officer-name {
font-size: 20px; /* */
font-weight: 600; /* */
color: #fff;
letter-spacing: 0.05em;
text-shadow: 0 0 5px rgba(0,0,0,0.5); /* Optional subtle shadow for text */
}
.officer-role {
font-size: 14px; /* */
font-weight: 300; /* */
color: #ccc;
letter-spacing: 0.02em;
}
/* --- HOVER EFFECTS --- */
.officer:hover {
width: 150px; /* Wider on hover, adjust as needed */
height: 250px; /* Taller on hover, adjust as needed */
border-radius: 100px 100px 0 0; /* Square corners on hover */
border: 5px solid #79A6DD;
background-color: #000; /* Black background for the whole card */
}
.officer:hover .officer-card {
border-radius: 0; /* Remove inner border radius */
justify-content: space-between; /* Push image to top, text to bottom */
}
.officer:hover img {
border-radius: 50%; /* Keep image circular even when container is square */
transform: translateY(-20px); /* Slightly move image up to make space for text */
}
.officer:hover .officer-details {
bottom: 0; /* Reveal details at the bottom */
opacity: 1; /* Make details visible */
}
.section-divider {
width: 80%;
max-width: 600px;
border: none;
border-top: 1px solid #333;
margin: 80px auto 0 auto;
}
/* --- Responsive Design (update relevant sections) --- */
@media (max-width: 768px) {
/* ... other responsive styles ... */
.officer {
width: 120px; /* Smaller initial size on mobile */
height: 120px;
}
.officer:hover {
width: 150px; /* Smaller hover size on mobile */
height: 200px;
}
.officer-name {
font-size: 16px;
}
.officer-role {
font-size: 12px;
}
}
.events-title{
font-family: Porter Sans Block;
font-weight: 400;
font-size: 96px;
line-height: 114.99999999999999%;
letter-spacing: 6%;
text-align: center;
vertical-align: middle;
position: relative;
padding: 0px 120px 0px 120px;
}
.event-name{
font-family: Nunito;
font-weight: 800;
font-size: 60px;
line-height: 114.99999999999999%;
letter-spacing: 6%;
text-align: center;
vertical-align: middle;
position: relative;
}
.event-card{
display: flex; /* Enables Flexbox for the container */
justify-content: center; /* Centers the images horizontally within the container */
align-items: flex-start; /* (Optional) Centers images vertically if container has a height */
flex-wrap: wrap; /* Allows images to wrap to the next line on smaller screens if they don't fit */
gap: 80px; /* Creates space (gap) between the images */
/* Optional: Add some padding around the container */
width: 100%; /* Ensure the container takes full width */
max-width: 1200px; /* Optional: Constrain the max width of the container */
margin: 0 auto;
padding: 20px; /* Optional: Add some padding around the container */
}
.event-image{
max-width: 100%; /* Ensure images are responsive and don't overflow */
height: auto; /* Maintain aspect ratio */
display: block;
flex: 1 1 auto; /* Allows images to grow and shrink, and have a base size */
max-width: calc(25% - 11.25px);
height: auto; /* Maintain aspect ratio */
display: block; /* Removes extra space below images */
object-fit: cover; /* Useful if you set a fixed height for images, crops them to fit */
border-radius: 8px; /* Optional: Soften image corners */;
}
.event-image:hover{
transform: scale(1.33); /* Slightly zoom in on hover */
animation:dissolve 0.6s ease-in-out; /* Smooth transition effect */
opacity: 0.7;
transition: opacity 0.6s ease-in-out;
}
@media (max-width: 992px) {
.event-image {
max-width: calc(50% - 10px); /* Two images per row on tablets */
}
}
/* For mobile devices */
@media (max-width: 576px) {
.event-image {
max-width: 100%; /* One image per row on mobile, stacking them */
}
.event-card {
gap: 10px; /* Smaller gap on mobile */
padding: 10px;
}
}
/* --- Core Styles for the button container --- */
.global-register-button-container {
position: fixed; /* Ensures it stays in the viewport regardless of scroll */
top: -100vh; /* Starts completely off-screen above the viewport */
left: 50%; /* Starts at the horizontal center */
/* Initial animation state: slightly smaller, completely transparent,
and horizontally centered (first part of transform) */
transform: translate(-50%, 0) scale(0.8);
opacity: 0;
z-index: 1000; /* Ensures it's on top of everything (navbar, content, blur) */
box-sizing: border-box;
width: auto; /* Let content define width */
white-space: nowrap; /* Prevent button text wrapping */
padding: 10px 0; /* Padding for the container, if needed around the button */
/* Animation transition properties for smooth in/out */
transition: top 0.6s ease-out, /* Smooth vertical slide */
transform 0.6s ease-out, /* Smooth scaling and vertical centering */
opacity 0.4s ease-out; /* Smooth fade in/out, slightly faster */
}
/* --- Active state when button is visible --- */
.global-register-button-container.active {
top: 50%; /* Moves to the vertical center of the viewport */
/* Final animation state: perfectly centered (horizontally and vertically)
and scales to its normal size (1) */
transform: translate(-50%, -50%) scale(1);
opacity: 1; /* Fully visible */
}
/* --- Styling for the actual button inside the container --- */
/* Assuming your button has class .main-register-button or id="mainRegisterBtn" */
/* If you want to use a class like 'register-btn', update your HTML and this selector */
.register-btn,.register-btn1{ /* Or #mainRegisterBtn if styling by ID, or .register-btn if using that class */
height: 100px;
width: 300px;
font-family: 'Montserrat', sans-serif; /* Ensure Montserrat is linked in HTML if custom font */
font-weight: 900;
font-size: 48px;
line-height: 115%; /* Simplified from 114.999... */
letter-spacing: 0.09em; /* Changed from 9% to 0.09em for more standard usage */
text-align: center;
vertical-align: middle; /* This usually applies to inline/table-cell elements, often not needed on a block button */
background-color: #000;
color: rgba(255, 255, 255, 1);
border-radius: 20px;
border-width: 5px;
border-style: solid;
border-color: rgba(88, 116, 121, 1);
cursor: pointer; /* Indicate it's clickable */
/* Add hover effects for the button itself for better UX */
transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease; /* Smooth hover transition */
}
/* --- NEW STYLES FOR THE BLUR OVERLAY (keep as is from previous correct solution) --- */
.blur-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.7); /* Adjust this alpha for dimming intensity */
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
z-index: 999; /* Below the button (1000) but above content */
opacity: 0;
visibility: hidden;
transition: opacity 0.4s ease-out, visibility 0s linear 0.4s;
}
.blur-overlay.active {
opacity: 1;
visibility: visible;
transition: opacity 0.4s ease-out;
}
/* --- Responsive Adjustments (no changes needed for button positioning here) --- */
@media (max-width: 992px) {
/* ... your other responsive rules ... */
.main-register-button {
font-size: 36px; /* Adjust font size for smaller screens */
height: 80px;
width: 160px;
}
}
@media (max-width: 768px) {
/* ... your other responsive rules ... */
.main-register-button {
font-size: 28px; /* Further adjust font size for mobile */
height: 70px;
width: 140px;
}
}
.contact-container {
display: flex; /* Enables Flexbox for side-by-side layout */
flex-wrap: wrap; /* Allows items to wrap to the next line on smaller screens */
justify-content: center; /* Centers the items horizontally within the container */
align-items: flex-start; /* Aligns items to the top of the flex container */
max-width: 75rem; /* Maximum width for the entire contact component (1200px) */
margin: 0 auto; /* Centers the contact component on the page */
gap: 2.5rem; /* Space between the image area and the form area (40px) */
padding-top: 90px; /* Padding at the top for spacing */
}
/* --- Left Image Area Styles --- */
.contact-image-area {
flex-shrink: 0; /* Prevents the image area from shrinking */
width: 21.875rem; /* Fixed width for the image container (350px) */
height: 21.875rem; /* Fixed height for a square shape (350px) */
background-color: #f2f2f2; /* Light gray background as seen in image_494b62.jpg */
box-shadow: 0 0.3125rem 0.9375rem rgba(0,0,0,0.3); /* Subtle shadow */
display: flex; /* Use flexbox to center the logo inside */
justify-content: center;
align-items: center; /* Ensures the logo stays within bounds if it's too big */
}
.contact-image-area img {
max-width: 80%; /* Logo takes up 80% of its container's width */
max-height: 80%; /* Logo takes up 80% of its container's height */
object-fit: contain; /* Scales logo to fit, maintaining aspect ratio */
}
/* --- Right Contact Form Area Styles --- */
.contact-form-area {
flex-grow: 1; /* Allows the form area to take up available space */
max-width: 43.75rem; /* Maximum width for the form area itself (700px) */
background-color: #2a2a2a; /* Dark background matching your design */
border: 0.0625rem solid #ffffff; /* Thin white border from your design */
padding: 2.5rem; /* 40px */
box-shadow: 0 0.3125rem 0.9375rem rgba(0,0,0,0.3);
}
.contact-form-area h1 {
font-size: 3.75rem; /* 60px, adjust as needed to match "Contact Us" title size */
color: #ffffff;
margin-bottom: 1.875rem; /* 30px */
text-align: center; /* Aligns "Contact Us" title */
}
.contact-form {
display: flex;
flex-direction: column; /* Stacks the main content and button vertically */
}
/* New Flexbox container for inputs and contact details */
.contact-form .form-main-content {
display: flex; /* Arrange input group and info group side-by-side */
flex-wrap: wrap; /* Allow wrapping on smaller inner screens */
gap: 1.875rem; /* 30px space between columns */
justify-content: space-between; /* Push columns to ends, distributing space */
align-items: flex-start; /* Align content to the top */
width: 100%; /* Ensure it takes full width of its parent form */
}
.contact-form .form-inputs-group {
flex: 1; /* Allows inputs to take up more space (e.g., 2/3) */
min-width: 17.5rem; /* Minimum width before wrapping (280px) */
}
.contact-form .contact-info-buttons-group {
flex: 1; /* Allows info/buttons to take up less space (e.g., 1/3) */
min-width: 12.5rem; /* Minimum width before wrapping (200px) */
display: flex;
flex-direction: column; /* Stack details, social, and button vertically */
justify-content: space-between; /* Distribute space vertically */
height: 100%; /* Ensure it fills height available by form-inputs-group */
}
/* Form Group (for input fields) */
.contact-form .form-group {
margin-bottom: 1.5625rem; /* 25px */
position: relative; /* Needed for the floating label effect */
}
/* Floating Label for Inputs */
.contact-form label {
position: relative;
top: 0.625rem; /* 10px */
left: 0;
font-size: 1.125rem; /* 18px */
color: rgba(255, 255, 255, 0.7);
transition: all 0.2s ease-out;
pointer-events: none; /* Allows clicks to pass through to the input */
margin-bottom: 800px;
}
/* Input and Textarea Base Styles */
.contact-form input[type="text"],
.contact-form input[type="email"] {
width: 100%;
padding: 10px; /* 10px 0 */
background: none; /* No background */
border: none; /* No default border */
border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.5); /* The underline */ /* Input text color */
font-size: 1.25rem; /* 20px, closer to the 24px in mockup but scales with rem */
outline: none; /* Remove outline on focus */
transition: border-color 0.3s ease; /* Smooth underline color change */
}
.contact-form textarea {
width: 100%;
padding-top: 100px; /* 10px 0 */
background: none; /* No background */
border: none; /* No default border */
border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.5); /* The underline *//* Input text color */
font-size: 1.25rem; /* 20px, closer to the 24px in mockup but scales with rem */
outline: none; /* Remove outline on focus */
transition: border-color 0.3s ease; /* Smooth underline color change */
position: relative; /* Needed for the floating label effect */
box-sizing: border-box; /* Ensures padding is included in width */
top: 40px;
}
/* Floating Label Effect: Moves label up when input is focused or has content */
/* Input/Textarea Focus Underline Color */
.contact-form input,
.contact-form textarea {
border-bottom-color: #0072FF; /* Accent color for underline on focus */
color:white; /* Change text color to white on focus */
}
/* Specific Styles for the Message Textarea */
.contact-form .message-group textarea {
border: 0.0625rem solid #ffffff; /* Full border for message box */
border-radius: 1.5625rem 1.5625rem 0 0; /* 25px top corners, 0 bottom. Refined based on image. */
height: 10.4375rem; /* Approx. 167px from anima code (overlap-3 height), adjust if needed */
resize: vertical; /* Allow vertical resizing by user */
padding: 1.25rem; /* 20px padding inside the message box */
padding-bottom: 0; /* No bottom padding so line sits at bottom */
color: white; /* Change text color to white for better contrast */
}
/* Adjust label for textarea to align with its padding */
.contact-form .message-group label {