Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
252 lines (220 loc) · 6.92 KB
/
Copy pathstyle.css
File metadata and controls
252 lines (220 loc) · 6.92 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
body {
font-family: 'Inter', sans-serif;
text-align: center;
padding: 10px 0 40px 0;
background-color: #f0f4f8;
color: #333;
margin: 0;
}
/* Branding Box - Clean and Shadowless */
.brand-header {
display: flex;
/* Center the big logo with the entire text block */
align-items: center;
background: white;
padding: 15px 20px;
margin: 15px auto;
max-width: 900px;
width: 92%;
border-radius: 12px;
border: 1px solid #e2e8f0;
box-shadow: 0 4px 6px rgba(0,0,0,0.02);
box-sizing: border-box;
/* Add gap here to ensure space between logo and text */
gap: 15px;
}
.content-wrapper img, a > img {
max-width: 90%;
height: auto;
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
margin-bottom: 10px; /* Keep this for the map only */
cursor: pointer;
}
.brand-text {
display: flex;
flex-direction: column;
text-align: left;
justify-content: center; /* Ensures the whole block is centered */
}
.org-name {
font-size: clamp(1.1rem, 4vw, 1.4rem);
font-weight: 500;
color: #000;
margin: 0;
line-height: 1.2; /* Increased for visual balance */
}
.main-logo, .tfi-logo-small {
margin-bottom: 0 !important; /* This kills the floating issue */
margin-top: 0 !important;
box-shadow: none !important;
filter: none !important;
}
/* 2. Specific size for the big logo */
.main-logo {
height: clamp(48px, 12vw, 55px) !important;
width: clamp(48px, 12vw, 55px) !important;
margin-right: 15px;
}
/* 3. Specific size for the small TFI logo */
.tfi-logo-small {
height: clamp(14px, 3.5vw, 16px) !important;
width: clamp(14px, 3.5vw, 16px) !important;
}
/* 4. The container that forces vertical centering */
.subsidiary-line {
font-size: clamp(0.75rem, 2.5vw, 0.9rem);
color: #475569;
margin-top: 4px;
display: flex !important;
align-items: center !important; /* Mathematically centers the logo */
line-height: 1 !important;
gap: 6px;
white-space: nowrap;
}
.tfi-name {
font-weight: 400;
}
/* Rest of the Content Styles */
.content-wrapper {
text-align: center;
padding: 20px;
}
h1 {
font-size: clamp(1.4rem, 5vw, 1.6rem);
margin-top: 30px;
margin-bottom: 30px;
}
img {
max-width: 90%;
height: auto;
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0,0,0,0.2);
margin-bottom: 10px;
cursor: pointer;
}
.btn {
display: inline-block;
padding: 15px 30px;
background-color: rgb(5, 150, 177);
color: white !important;
text-decoration: none;
font-weight: bold;
border-radius: 50px;
transition: all 0.3s ease;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
margin-top: 20px;
}
.btn:hover {
background-color: rgb(4, 120, 142);
box-shadow: 0 6px 12px rgba(0,0,0,0.2);
transform: translateY(-2px);
}
.upcoming-section {
margin-top: 60px;
padding: 30px 10px;
background: rgba(255, 255, 255, 0.5);
border-radius: 12px;
}
.upcoming-grid {
display: flex;
justify-content: center;
gap: 15px;
flex-wrap: wrap;
margin-top: 15px;
}
.upcoming-item {
background: white;
padding: 15px;
border-radius: 8px;
border: 1px dashed #cbd5e1;
color: #64748b;
font-size: 0.85rem;
min-width: 180px;
text-decoration: none;
display: inline-block;
transition: all 0.2s ease;
}
.upcoming-item:hover {
border-style: solid;
border-color: rgb(5, 150, 177);
color: rgb(5, 150, 177);
background-color: #f8fafc;
transform: translateY(-1px);
}
/* FAQ Section Styles */
.faq-section { max-width: 600px; margin: 40px auto; padding: 0 20px; }
details {
background: white;
border: 1px solid #e2e8f0;
border-radius: 8px;
margin-bottom: 12px;
overflow: hidden;
box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
summary {
padding: 18px 15px;
cursor: pointer;
font-weight: bold;
font-size: 0.9rem;
color: #334155;
display: flex;
align-items: center;
outline: none;
transition: background 0.2s;
}
summary::-webkit-details-marker { display: none; }
summary { list-style: none; }
summary::before {
content: "▶";
color: rgb(5, 150, 177);
font-size: 0.7rem;
margin-right: 12px;
flex-shrink: 0;
transition: transform 0.2s ease;
}
details[open] summary::before {
transform: rotate(90deg);
}
.summary-content {
display: flex;
flex-direction: column;
text-align: left;
line-height: 1.4;
}
.summary-content i {
font-weight: normal;
font-size: 0.8rem;
color: #64748b;
margin-top: 2px;
}
summary:hover { background: #f8fafc; }
.faq-content {
padding: 15px 15px 15px 44px;
border-top: 1px solid #e2e8f0;
font-size: 0.85rem;
line-height: 1.6;
color: #64748b;
background: #fff;
text-align: left;
}
footer {
margin-top: 60px;
font-size: 0.85rem;
color: #777;
line-height: 1.8;
}
.footer-link {
color: rgb(5, 150, 177);
text-decoration: none;
font-weight: bold;
padding: 0 5px;
}
.footer-link:hover {
text-decoration: underline;
color: rgb(4, 120, 142);
}
.divider {
color: #ccc;
user-select: none;
}