-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
816 lines (697 loc) · 16.9 KB
/
styles.css
File metadata and controls
816 lines (697 loc) · 16.9 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
/* General Styles */
body {
font-family: 'Open Sans', sans-serif; /* Professional and readable sans-serif font */
margin: 0;
padding: 0;
background-color: #f8f9fa; /* Light, clean background */
color: #333; /* Dark gray for good readability */
line-height: 1.7; /* Improved line height for better reading experience */
}
.container {
max-width: 1140px; /* Standard container width for responsiveness */
margin: 0 auto;
padding: 20px;
}
.button {
display: inline-block;
background-color: #007bff; /* Primary blue */
color: white;
padding: 12px 24px; /* Slightly larger padding for better touch targets */
text-decoration: none;
border-radius: 8px; /* More rounded corners for a modern look */
margin-top: 15px;
font-weight: 600; /* Semi-bold for emphasis */
transition: background-color 0.3s ease-in-out; /* Smooth hover transition */
border: 1px solid transparent; /* To prevent layout shift on hover */
}
.button:hover {
background-color: #0056b3; /* Darker shade on hover */
border-color: #0056b3;
}
/* Header Styles */
header {
background-color: #fff; /* White header background */
color: #333;
padding: 1.5em 0;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Subtle shadow for separation */
position: sticky; /* Keep header at the top on scroll */
top: 0;
z-index: 100; /* Ensure it stays above other content */
}
header .logo {
font-size: 1.75em;
font-weight: bold;
padding-left: 20px;
color: #007bff; /* Primary blue for the logo */
}
header nav ul {
list-style: none;
padding: 0;
margin: 0;
text-align: right;
padding-right: 20px;
}
header nav ul li {
display: inline;
margin-left: 25px;
}
header nav ul li a {
color: #555;
text-decoration: none;
font-weight: 500;
transition: color 0.3s ease-in-out;
}
header nav ul li a:hover {
color: #007bff; /* Primary blue on hover */
}
/* Main Content Styles */
main {
padding: 30px 20px; /* Increased padding for more spacing */
}
.hero {
background-color: #e9f0f9; /* Very light blue for the hero section */
padding: 60px 20px;
text-align: center;
border-radius: 8px;
margin-bottom: 40px;
}
.hero h1 {
font-size: 3em;
margin-bottom: 15px;
color: #333;
}
.hero p {
font-size: 1.2em;
color: #555;
margin-bottom: 30px;
}
.featured-services, .featured-products {
margin-bottom: 40px;
}
.featured-services h2, .featured-products h2 {
font-size: 2.2em;
margin-bottom: 20px;
text-align: center;
color: #333;
}
.services-grid, .products-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Increased minmax for wider items */
gap: 20px;
margin-bottom: 20px;
}
.service-item, .product-item {
background-color: white;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08); /* Slightly stronger shadow */
text-align: left; /* Align text to the left for better readability */
transition: transform 0.2s ease-in-out; /* Subtle hover animation */
}
.service-item:hover, .product-item:hover {
transform: translateY(-5px); /* Move up slightly on hover */
}
.service-item h3, .product-item h3 {
font-size: 1.75em;
margin-bottom: 15px;
color: #007bff; /* Primary blue for service headings */
}
.products-list .product-item h3 {
color: #28a745; /* Green for product headings */
}
/* Footer Styles */
footer {
background-color: #2c3e50; /* Darker footer background */
color: white;
text-align: center;
padding: 2em 0;
position: relative; /* Remove sticky for a standard footer */
bottom: auto;
width: 100%;
margin-top: 40px; /* Add some space above the footer */
}
footer p {
margin-bottom: 0;
font-size: 0.9em;
opacity: 0.8;
}
/* Styles for Page Headers (Services, Products, Contact) */
.page-header {
background-color: #e9f0f9;
padding: 40px 20px;
text-align: center;
border-bottom: 1px solid #eee; /* Lighter border */
margin-bottom: 40px;
}
.page-header h1 {
font-size: 3em;
margin-bottom: 15px;
color: #333;
}
.page-header p {
color: #777;
font-size: 1.15em;
}
/* Styles for Services List */
.services-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Wider minmax for service items */
gap: 30px;
margin-bottom: 40px;
}
.services-list .service-item {
background-color: white;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}
.services-list .service-item h3 {
font-size: 2em;
margin-bottom: 15px;
color: #007bff;
}
.services-list .service-item p {
color: #555;
line-height: 1.8;
margin-bottom: 20px;
}
.services-list .service-item ul {
list-style: disc;
padding-left: 20px;
color: #555;
line-height: 1.7;
}
.services-list .service-item ul li {
margin-bottom: 8px;
}
/* Styles for Products List */
.products-list {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin-bottom: 40px;
}
.products-list .product-item {
background-color: white;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}
.products-list .product-item h3 {
font-size: 2em;
margin-bottom: 15px;
color: #007bff;
}
.products-list .product-item p {
color: #555;
line-height: 1.8;
margin-bottom: 20px;
}
.products-list .product-item ul {
list-style: disc;
padding-left: 20px;
color: #555;
line-height: 1.7;
}
.products-list .product-item ul li {
margin-bottom: 8px;
}
/* Styles for Contact Info */
.contact-info {
background-color: white;
padding: 40px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
margin-bottom: 40px;
text-align: left; /* Align contact info to the left */
}
.contact-info h2 {
font-size: 2.2em;
margin-bottom: 20px;
color: #007bff;
}
.contact-info p {
font-size: 1.15em;
margin-bottom: 15px;
color: #555;
}
.contact-info strong {
font-weight: bold;
color: #333;
}
/* Styles for Contact Form */
.contact-form {
background-color: white;
padding: 40px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
margin-bottom: 40px;
}
.contact-form h2 {
font-size: 2.2em;
margin-bottom: 20px;
color: #333;
}
.contact-form .form-group {
margin-bottom: 20px;
}
.contact-form label {
display: block;
margin-bottom: 8px;
font-weight: bold;
color: #333;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
width: 100%;
padding: 12px;
border: 1px solid #ddd; /* Lighter border */
border-radius: 6px;
box-sizing: border-box;
font-size: 1em;
}
.contact-form textarea {
resize: vertical;
min-height: 150px; /* Minimum height for the textarea */
}
.contact-form .button {
margin-top: 25px;
}
/* Styles for Why Choose Us Section */
.why-choose-us {
padding: 60px 20px;
background-color: #f9f9f9; /* Slightly darker background */
margin-bottom: 40px;
text-align: center;
}
.why-choose-us h2 {
font-size: 2.2em;
margin-bottom: 30px;
color: #333;
}
.reasons-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin-top: 30px;
}
.reason-item {
background-color: white;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
text-align: center;
}
.reason-item h3 {
font-size: 1.5em;
margin-bottom: 15px;
color: #007bff;
}
.reason-item p {
color: #555;
line-height: 1.8;
}
/* Styles for Social Media Section */
.social-media {
background-color: white;
padding: 40px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
margin-bottom: 40px;
text-align: center;
}
.social-media h2 {
font-size: 2.2em;
margin-bottom: 20px;
color: #333;
}
.social-media p {
font-size: 1.15em;
margin-bottom: 25px;
color: #555;
}
.social-links {
list-style: none;
padding: 0;
margin: 0;
display: flex;
justify-content: center;
gap: 30px;
}
.social-links li a {
color: #007bff;
text-decoration: none;
display: flex;
align-items: center;
transition: color 0.3s ease-in-out;
}
.social-links li a:hover {
color: #0056b3;
}
.social-links li img {
width: 32px;
height: 32px;
margin-right: 10px;
}
.map-container {
width: 100%;
margin-bottom: 40px;
border-radius: 8px; /* Match map container border */
overflow: hidden; /* Prevent iframe from overflowing rounded corners */
}
.map-container iframe {
width: 100%;
height: 450px; /* Increased map height */
border: 0;
}
/* Back to Top Button */
#back-to-top-btn {
display: none;
position: fixed;
bottom: 30px; /* Increased distance from bottom */
right: 30px; /* Increased distance from right */
z-index: 99;
border: none;
outline: none;
background-color: #007bff;
color: white;
cursor: pointer;
padding: 12px; /* Slightly larger padding */
border-radius: 8px;
font-size: 1em;
opacity: 0.8; /* Slightly more visible */
transition: opacity 0.3s ease-in-out;
}
#back-to-top-btn:hover {
opacity: 1;
}
#back-to-top-btn svg {
display: block;
margin: 0 auto;
width: 20px;
height: 20px;
}
/* Styles for Portfolio Page */
.portfolio-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 30px;
margin-top: 30px;
margin-bottom: 40px;
}
.portfolio-item {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
overflow: hidden; /* Clip images within rounded corners */
transition: transform 0.3s ease-in-out;
}
.portfolio-item:hover {
transform: translateY(-5px);
}
.portfolio-item img {
width: 100%;
height: auto;
display: block;
}
.portfolio-item h3 {
font-size: 1.75em;
margin: 15px 20px 10px;
color: #333;
}
.portfolio-item p {
font-size: 1.1em;
color: #555;
margin: 0 20px 15px;
line-height: 1.6;
}
.portfolio-item .button {
display: inline-block;
background-color: #007bff;
color: white;
padding: 10px 20px;
text-decoration: none;
border-radius: 6px;
margin: 15px 20px 20px;
font-weight: 500;
transition: background-color 0.3s ease-in-out;
}
.portfolio-item .button:hover {
background-color: #0056b3;
}
/* Styles for Blog Post Full Page */
.blog-post-full {
background-color: #fff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
margin-bottom: 40px;
}
.blog-post-full .post-header h1 {
font-size: 2.5em;
color: #333;
margin-bottom: 10px;
}
.blog-post-full .post-header .post-meta {
font-size: 1em;
color: #777;
margin-bottom: 20px;
}
.blog-post-full .post-content {
font-size: 1.15em;
color: #555;
line-height: 1.8;
margin-bottom: 30px;
}
.blog-post-full .post-content p {
margin-bottom: 20px;
}
.blog-post-full .post-footer {
border-top: 1px solid #eee;
padding-top: 20px;
font-size: 0.9em;
color: #777;
}
.blog-post-full .post-footer a {
color: #007bff;
text-decoration: none;
margin-left: 5px;
}
.blog-post-full .post-footer a:hover {
text-decoration: underline;
}
/* Styles for Blog List on Blog Overview Page */
.blog-list {
margin-bottom: 40px;
}
.blog-post {
background-color: #fff;
padding: 30px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
margin-bottom: 30px;
}
.blog-post h2 a {
font-size: 2em;
color: #333;
text-decoration: none;
transition: color 0.3s ease-in-out;
}
.blog-post h2 a:hover {
color: #007bff;
}
.blog-post .post-meta {
font-size: 1em;
color: #777;
margin-bottom: 15px;
}
.blog-post p {
font-size: 1.1em;
color: #555;
line-height: 1.7;
margin-bottom: 20px;
}
.blog-post .button {
display: inline-block;
background-color: #007bff;
color: white;
padding: 10px 20px;
text-decoration: none;
border-radius: 6px;
font-weight: 500;
transition: background-color 0.3s ease-in-out;
}
.blog-post .button:hover {
background-color: #0056b3;
}
/* Styles for Portfolio Page (Detailed) */
.portfolio-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin-top: 30px;
margin-bottom: 40px;
}
.portfolio-item {
background-color: #fff;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Slightly stronger shadow */
overflow: hidden;
transition: transform 0.3s ease-in-out;
}
.portfolio-item:hover {
transform: translateY(-8px); /* More pronounced lift */
}
.portfolio-item img {
width: 100%;
height: auto;
display: block;
border-bottom: 1px solid #eee; /* Subtle separator between image and text */
}
.portfolio-item h3 {
font-size: 1.6em;
margin: 20px 20px 10px;
color: #333;
font-weight: 600;
}
.portfolio-item p {
font-size: 1.1em;
color: #555;
margin: 0 20px 20px;
line-height: 1.7;
}
.portfolio-item .button {
display: inline-block;
background-color: #007bff;
color: white;
padding: 12px 24px;
text-decoration: none;
border-radius: 6px;
margin: 20px;
font-weight: 500;
transition: background-color 0.3s ease-in-out;
}
.portfolio-item .button:hover {
background-color: #0056b3;
}
/* Styles for Individual Blog Post Pages (Detailed) */
.blog-post-full {
background-color: #fff;
padding: 40px;
border-radius: 8px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); /* Slightly stronger shadow */
margin-bottom: 50px;
}
.blog-post-full .post-header h1 {
font-size: 2.8em;
color: #333;
margin-bottom: 15px;
line-height: 1.3;
}
.blog-post-full .post-header .post-meta {
font-size: 1.1em;
color: #777;
margin-bottom: 30px;
}
.blog-post-full .post-content {
font-size: 1.15em;
color: #555;
line-height: 1.9; /* Improved readability for long text */
margin-bottom: 40px;
}
.blog-post-full .post-content h2 {
font-size: 2em;
color: #333;
margin-top: 30px;
margin-bottom: 15px;
}
.blog-post-full .post-content h3 {
font-size: 1.6em;
color: #333;
margin-top: 25px;
margin-bottom: 10px;
}
.blog-post-full .post-content ul,
.blog-post-full .post-content ol {
margin-left: 20px;
margin-bottom: 20px;
}
.blog-post-full .post-content li {
margin-bottom: 10px;
line-height: 1.7;
}
.blog-post-full .post-footer {
border-top: 1px solid #eee;
padding-top: 30px;
font-size: 1em;
color: #777;
display: flex;
justify-content: space-between;
align-items: center;
}
.blog-post-full .post-footer .tags a {
color: #007bff;
text-decoration: none;
margin-left: 8px;
transition: color 0.3s ease-in-out;
}
.blog-post-full .post-footer .tags a:hover {
text-decoration: underline;
color: #0056b3;
}
.blog-post-full .post-footer .share-links a {
color: #555;
text-decoration: none;
margin-left: 15px;
font-size: 1.2em;
transition: color 0.3s ease-in-out;
}
.blog-post-full .post-footer .share-links a:hover {
color: #007bff;
}
/* Styles for Blog List on Blog Overview Page (Detailed - Minor Adjustments) */
.blog-list {
margin-bottom: 50px;
}
.blog-post {
background-color: #fff;
padding: 40px;
border-radius: 8px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
margin-bottom: 30px;
}
.blog-post h2 a {
font-size: 2.2em;
color: #333;
text-decoration: none;
font-weight: 600;
transition: color 0.3s ease-in-out;
}
.blog-post h2 a:hover {
color: #007bff;
}
.blog-post .post-meta {
font-size: 1.1em;
color: #777;
margin-bottom: 20px;
}
.blog-post p {
font-size: 1.15em;
color: #555;
line-height: 1.8;
margin-bottom: 25px;
}
.blog-post .button {
display: inline-block;
background-color: #007bff;
color: white;
padding: 12px 24px;
text-decoration: none;
border-radius: 6px;
font-weight: 500;
transition: background-color 0.3s ease-in-out;
}
.blog-post .button:hover {
background-color: #0056b3;
}