|
17 | 17 | <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> |
18 | 18 | <script src="https://www.gstatic.com/firebasejs/7.14.6/firebase-app.js"></script> |
19 | 19 | <script src="https://www.gstatic.com/firebasejs/7.14.6/firebase-database.js"></script> |
20 | | - <style> |
21 | | - body{margin:0;padding:0;font-family: Poppins,sans-serif;} |
22 | | - * {box-sizing: border-box;} |
23 | | - |
24 | | - input, select, textarea { |
25 | | - width: 100%; |
26 | | - padding: 8px; |
27 | | - border: 1px solid #ccc; |
28 | | - border-radius: 4px; |
29 | | - box-sizing: border-box; |
30 | | - margin-top: 6px; |
31 | | - margin-bottom: 16px; |
32 | | - resize: vertical; |
33 | | - outline:none; |
34 | | - |
35 | | - } |
36 | | - |
37 | | - input[type=submit] { |
38 | | - background-color: #0D92F4; |
39 | | - color: white; |
40 | | - padding: 10px 20px; |
41 | | - border: 2px solid #0D92F4;; |
42 | | - border-radius: 10px; |
43 | | - cursor: pointer; |
44 | | - font-weight: bold; |
45 | | - } |
46 | | - |
47 | | - input[type=submit]:hover { |
48 | | - border:2px solid #075d9c; |
49 | | - background-color:#F4F4F4;; |
50 | | - color:#075d9c; |
51 | | - } |
52 | | - |
53 | | - .container { |
54 | | - |
55 | | - display: flex; |
56 | | - justify-content: center; |
57 | | - align-items: center; |
58 | | - height: 100vh; |
59 | | - } |
60 | | - form{ |
61 | | - width:70%; |
62 | | - padding-block: 10px; |
63 | | - padding-inline: 20px; |
64 | | - background-image: radial-gradient( circle 311px at 8.6% 27.9%, rgba(62,147,252,0.57) 12.9%, rgba(242, 232, 234, 0) 91.2% ); |
65 | | - box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px; |
66 | | - border-radius: 10px;; |
67 | | - display: flex; |
68 | | - flex-direction: column; |
69 | | - gap:20px; |
70 | | - } |
71 | | - h3{ |
72 | | - text-align: center; |
73 | | - font-size: 32px; |
74 | | - margin-bottom:0; |
75 | | - color:#091057; |
76 | | - |
77 | | - } |
78 | | - p{ |
79 | | - text-align: center; |
80 | | - font-size:14px; |
81 | | - } |
82 | | - label{ |
83 | | - font-weight: bold; |
84 | | - color:#091057; |
85 | | - font-size:small; |
86 | | - |
87 | | - } |
88 | | - |
89 | | - |
90 | | - .form0{ |
91 | | - display:flex; |
92 | | - gap:32px; |
93 | | - } |
94 | | - .form2{ |
95 | | - width:50%; |
96 | | - text-align: left; |
97 | | - } |
98 | | - .form1{ |
99 | | - text-align: left; |
100 | | - width:50%; |
101 | | - } |
102 | | - </style> |
| 20 | + |
103 | 21 | </head> |
104 | 22 | <body> |
105 | 23 |
|
@@ -232,96 +150,6 @@ <h2>Frequently Asked Questions</h2> |
232 | 150 | }); |
233 | 151 |
|
234 | 152 | </script> |
235 | | - <style> |
236 | | - /* FAQ Section Styling */ |
237 | | -.faq-section { |
238 | | - margin: 20px; |
239 | | -} |
240 | | - |
241 | | -.faq-header h2 { |
242 | | - font-family: "San Francisco", sans-serif; |
243 | | - font-size: 28px; |
244 | | - text-align: center; |
245 | | - margin-bottom: 20px; |
246 | | - color: #000; /* Black for light mode */ |
247 | | - transition: color 0.3s ease; |
248 | | -} |
249 | | - |
250 | | -body.dark-mode .faq-header h2 { |
251 | | - color: #fff; /* White for dark mode */ |
252 | | -} |
253 | | - |
254 | | -/* FAQ Question Styling */ |
255 | | -.faq-question { |
256 | | - background-color: #f1f1f1; /* Lighter for questions */ |
257 | | - padding: 15px 20px; |
258 | | - border: none; |
259 | | - border-radius: 10px; |
260 | | - font-family: "San Francisco", sans-serif; |
261 | | - font-size: 18px; |
262 | | - color: #333; |
263 | | - display: flex; |
264 | | - justify-content: space-between; |
265 | | - align-items: center; |
266 | | - cursor: pointer; |
267 | | - margin-bottom: 10px; |
268 | | - transition: background-color 0.3s ease, transform 0.3s ease; |
269 | | - text-align: center; |
270 | | - width: 60%; |
271 | | - margin-left: auto; |
272 | | - margin-right: auto; |
273 | | -} |
274 | | - |
275 | | -.faq-question:hover { |
276 | | - transform: translateY(-3px); |
277 | | - background-color: #e8e8e8; |
278 | | -} |
279 | | - |
280 | | -/* FAQ Answer Styling - Different background from questions */ |
281 | | -.faq-answer { |
282 | | - max-height: 0; |
283 | | - overflow: hidden; |
284 | | - padding: 0 20px; |
285 | | - background-color: #ffffff; /* Different from question background */ |
286 | | - border-radius: 10px; |
287 | | - margin: 10px auto; /* Centers the answer */ |
288 | | - width: 60%; /* Matches question width */ |
289 | | - transition: max-height 0.6s ease-in-out, padding 0.3s ease, background-color 0.3s ease; |
290 | | - font-family: "San Francisco", sans-serif; |
291 | | - font-size: 16px; |
292 | | - color: #555; |
293 | | - opacity: 0; |
294 | | -} |
295 | | - |
296 | | -.faq-question.active + .faq-answer { |
297 | | - max-height: 500px; |
298 | | - padding: 15px 20px; |
299 | | - opacity: 1; |
300 | | -} |
301 | | - |
302 | | -/* Dark Mode Styling */ |
303 | | -body.dark-mode { |
304 | | - background-color: #121212; |
305 | | - color: white; |
306 | | -} |
307 | | - |
308 | | -body.dark-mode .faq-question { |
309 | | - background-color: #333; /* Darker for questions */ |
310 | | - color: #f1f1f1; |
311 | | -} |
312 | | - |
313 | | -body.dark-mode .faq-answer { |
314 | | - background-color: #222; /* Slightly lighter than question background */ |
315 | | - color: #f1f1f1; |
316 | | -} |
317 | | - |
318 | | -/* Additional transition for smoother effects */ |
319 | | -.faq-question, .faq-answer { |
320 | | - transition: all 0.3s ease; |
321 | | -} |
322 | | - |
323 | | - |
324 | | -</style> |
325 | 153 |
|
326 | 154 | <footer id="Contact" class="footer-2"> |
327 | 155 | <div class="footer-container"> |
|
0 commit comments