forked from apu52/Travel_Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
faq.html
519 lines (442 loc) · 17.5 KB
/
faq.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./loader.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" />
<link rel="stylesheet" href="faq.css">
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css" rel="stylesheet" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="styles.css" />
<!-- <link rel="stylesheet" href="./Image-Gallery/style.css">
<link rel="stylesheet" href="./Image-Gallery/stylecaptions.css">
<link rel="stylesheet" href="explore.css"> -->
<title>Tourguide</title>
<!-- adding a fav-icon -->
<link rel="icon" type="image/x-icon" href="favicon.ico"/>
<script src="index.js" defer></script>
<script src="mouseEffect.js"></script>
<link rel="stylesheet" href="mouseEffect.css">
<script src="Theme.js" defer></script>
<link rel="stylesheet" href="path/to/aos.css">
<script src="path/to/aos.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@emailjs/browser@3/dist/email.min.js">
</script>
<script type="text/javascript">
(function () {
emailjs.init("WB9rAyWwwLZube-er");
})();
function planTrip() {
window.location.href = 'plantrip.html';
}
// const menuButton = document.getElementsByClassName('link');
//function closeNav() {
// let list = document.querySelector('.navLinks');
// list.classList.toggle('activeHamburger');
//}
// menuButton.forEach((button) => (button.onclick = () => closeNav()));
</script>
<style>
html {
scroll-behavior: smooth;
}
</style>
<style>
.active {
color: red !important;
}
@media screen and (max-width:390px){
.nav__logo{
position: relative;
right: 1.9rem;
}
.contact-btn{
position: relative;
right: 2.5rem;
}
.toggle-container{
position: relative;
right: 2.5rem;
}
.toggle{
width: 130%;
}
.line{
width: 130%;
}
.hamburger{
position: relative;
right: 1rem;
}
}
@media screen and (max-width:364px) {
.toggle{
width:190%;
}
.line{
width: 190%;
}
}
.gallery-rotate-image .image-container {
display: flex;
flex-wrap: wrap;
gap: 16px; /* Adjust the gap between images */
}
.gallery-rotate-image .image-container span {
display: inline-block;
}
.trip-gallery-container {
display: flex;
flex-wrap: wrap;
gap: 16px; /* Adjust the gap between images */
}
.trip-gallery-container .image-container {
display: flex;
flex-direction: column;
align-items: center;
}
.trip-gallery-container .image-container img {
max-width: 100%;
height: auto;
}
.btn-container {
display: flex;
justify-content: center;
gap: 8px; /* Adjust the gap between buttons */
}
.circle {
position: absolute;
width: 25px;
height: 25px;
border-radius: 50%;
pointer-events: none;
background: radial-gradient(circle, rgba(71, 240, 255, 0.3), rgba(0, 119, 255, 0.3));
transition: transform 0.1s, left 0.1s, top 0.1s;
}
.circle-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 9999;
}
@media screen and (max-width: 768px){
.circle-container {
display: none;
}
}
body.dark-theme .accordion{
background-color: #040565;
}
body.dark-theme #btn-style{
border: 2px solid red;
color: #fdbb2dbf
}
body.dark-theme .accordion__title{
color: white;
}
body.light-theme .accordion__title{
color: black;
}
body.dark-theme .accordion__question{
color: white;
}
body.light-theme .accordion__question{
color: black;
}
body.dark-theme .accordion__answer{
color: white;
}
body.light-theme .accordion__answer{
color: black;
}
</style>
<link rel="stylesheet" href="imstyle.css">
<link rel="stylesheet" href="jquery.flipster.min.css">
<style>
#progress-container {
position: fixed ;
top: 0px;
left: 0;
width: 100%;
height: 15px;
z-index: 99990;
/* background: #f3f3f3; */
}
#progress-bar {
position: fixed;
top: 0;
left: 0;
width: 0%;
height: 7px;
width: 0;
background: linear-gradient(90deg, rgb(0, 72, 255) 0%, rgb(153, 187, 255) 50%, rgb(0, 184, 250) 100%);
box-shadow: 0 0 4px rgba(0, 166, 255, 0.7), 0 0 10px rgba(255, 255, 255, 0.7);
transition: width 0.09s ease-in-out;
border-radius: 10px;
}
</style>
</head>
<body style="background-color: var(--secondary-color);">
<div id="progress-container">
<div id="progress-bar"></div>
</div>
<script>
window.addEventListener('scroll', function() {
const winScroll = document.body.scrollTop || document.documentElement.scrollTop;
const height = document.documentElement.scrollHeight - document.documentElement.clientHeight;
const scrolled = (winScroll / height) * 100;
document.getElementById('progress-bar').style.width = scrolled + '%';
});
</script>
<body>
<div class="circle-container">
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
</div>
<script>
document.addEventListener("DOMContentLoaded", function () {
const coords = { x: 0, y: 0 };
const circles = document.querySelectorAll(".circle");
circles.forEach(function (circle) {
circle.x = 0;
circle.y = 0;
});
window.addEventListener("mousemove", function (e) {
coords.x = e.pageX;
coords.y = e.pageY - window.scrollY; // Adjust for vertical scroll position
});
function animateCircles() {
let x = coords.x;
let y = coords.y;
circles.forEach(function (circle, index) {
circle.style.left = `${x - 12}px`;
circle.style.top = `${y - 12}px`;
circle.style.transform = `scale(${(circles.length - index) / circles.length})`;
const nextCircle = circles[index + 1] || circles[0];
circle.x = x;
circle.y = y;
x += (nextCircle.x - x) * 0.3;
y += (nextCircle.y - y) * 0.3;
});
requestAnimationFrame(animateCircles);
}
animateCircles();
});
</script>
<div id="bg">
<canvas></canvas>
<canvas></canvas>
<canvas></canvas>
</div>
<div id="progressbar"></div>
<div id="scrollPath"></div>
<div class="nav-container" id="top">
<nav class="newNav">
<img src="./img/A T logo with a white background and a square shape, connected to nature for a travel company.png" style="width:30px;height:30px;border-radius:50%;">
<a href="#" class="nav__logo" data-aos="fade-right">Tourguide<span>.</span></a>
<ul class="navLinks">
<li class="link" data-aos=""><a href="index.html#Home">Home</a></li>
<li class="link" data-aos=""><a href="index.html#AboutUs"> AboutUs</a></li>
<li class="link" data-aos=""><a href="index.html#Destinations">Destinations</a></li>
<li class="link" data-aos=""><a href="index.html#trip">Pricing</a></li>
<li class="link" data-aos=""><a href="index.html#ReviewGallery">Trip Gallery</a></li>
<li class="link" data-aos=""><a href="index.html#testimonials">Testimonials</a></li>
<li class="link" data-aos=""><a href="feedback.html">Rate Us?</a></li>
<li class="link" data-aos=""><a href="index.html#cnt-form">Contact Us</a></li>
</ul>
<a href="newLogin.html" class="contact-btn"><button class="btn but2" id="btn-style" style="margin: 0;"
data-aos="fade-down">Login/SignUp</button></a>
<a href="mapa.html" class="contact-btn"><button class="btn but" id="btn-style" style="margin: 0;"
data-aos="fade-down">view <map name=""></map></button></a>
<a href="loginPage.html" class="contact-btn"><button class="btn" id="logout-btn" style="margin: 0; display: none;"
data-aos="fade-down" disabled>Log Out</button></a>
<!-- <a href="login-modified.html" class="contact-btn"><button class="btn" id="btn-style"
style="margin: 0; box-shadow:1.5px 1.5px 6px red;" data-aos="fade-down">Login</button></a> -->
<div class="toggle-container" data-aos="fade-down">
<input id="themeToggle" class="toggle" type="checkbox">
</div>
<div class="hamburger" data-aos="fade-down">
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
</div>
</nav>
</div>
<header>
<!-- --FAQ-- -->
<div class="accordion__wrapper" id="acc">
<h1 class="accordion__title">Frequently Asked Questions</h1>
<!-- Accordion 1 -->
<div class="accordion faq">
<div class="accordion__header">
<h2 class="accordion__question">How do I book my travel arrangements through your website?</h2>
<span class="accordion__icon">
<i id="accordion-icon" class="ri-add-line"></i>
</span>
</div>
<div class="accordion__content">
<p class="accordion__answer">Booking your travel with us is simple and convenient. Start by entering your destination, travel dates, and other relevant details on our homepage. Browse through the available options, including flights, hotels, and car rentals. Once you find the perfect combination for your trip, follow the easy step-by-step process to confirm your booking. If you encounter any issues or have questions during the booking process, our customer support team is available 24/7 to assist you.</p>
</div>
</div>
<!-- Accordion 2 -->
<div class="accordion faq">
<div class="accordion__header">
<h2 class="accordion__question">What measures are in place to ensure the safety of my personal information?</h2>
<span class="accordion__icon">
<i id="accordion-icon" class="ri-add-line"></i>
</span>
</div>
<div class="accordion__content">
<p class="accordion__answer">We take the security of your personal information seriously. Our website employs state-of-the-art encryption technology to safeguard your data during the booking process. Additionally, we adhere to strict privacy policies and comply with industry standards to protect your information. Rest assured that your details are used solely for the purpose of facilitating your travel arrangements, and we do not share your information with third parties without your consent. For more details, please refer to our Privacy Policy.</p>
</div>
</div>
<!-- Accordion 3 -->
<div class="accordion faq">
<div class="accordion__header">
<h2 class="accordion__question">Can I make changes to my booking or cancel it if needed?</h2>
<span class="accordion__icon">
<i id="accordion-icon" class="ri-add-line"></i>
</span>
</div>
<div class="accordion__content">
<p class="accordion__answer">Yes, we understand that plans can change. Depending on the terms and conditions of your specific booking, you may be able to make modifications or cancel your reservation. Log in to your account on our website, navigate to the "Manage Booking" section, and follow the provided instructions. Keep in mind that there may be associated fees or restrictions depending on the type of booking and the time of the requested changes. For further assistance, feel free to contact our customer support team, and they will guide you through the process.</p>
</div>
</div>
<!-- Accordion 4 -->
<div class="accordion faq">
<div class="accordion__header">
<h2 class="accordion__question">Will I get assistance while on travel?</h2>
<span class="accordion__icon">
<i id="accordion-icon" class="ri-add-line"></i>
</span>
</div>
<div class="accordion__content">
<p class="accordion__answer">Yes, We provide 24X7 support and customer assistance while we are serving you.</p>
</div>
</div>
<!-- Accordion 5 -->
<div class="accordion faq">
<div class="accordion__header">
<h2 class="accordion__question">Can I negotiate the prices?</h2>
<span class="accordion__icon">
<i id="accordion-icon" class="ri-add-line"></i>
</span>
</div>
<div class="accordion__content">
<p class="accordion__answer">Sure! If it's a customized trip, we can negotiate prices based on requirements. However, if on group tours or offers, we cannot negotiate the prices.</p>
</div>
</div>
</div>
<div class="more">
<div>
<h2>Have More questions?</h2>
<p>Feel Free to Email us!</p>
</div>
<div>
<button class="moreemail" onclick="sendEmail()">Send Email</button>
</div>
</div>
<script>
let hamburger = document.querySelector('.hamburger');
hamburger.addEventListener('click', () => {
let list = document.querySelector('.navLinks');
list.classList.toggle('activeHamburger');
})
</script>
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init({
duration: 1500,
offset: 120
});
</script>
<script>
// To highlight active navbar
document.addEventListener("DOMContentLoaded", function () {
const navLinks = document.querySelectorAll('.navLinks a');
function highlightNavLink() {
const scrollPosition = window.scrollY;
navLinks.forEach(link => {
const sectionId = link.getAttribute('href').substring(1);
const section = document.getElementById(sectionId);
// Adjust this value to control when the link should be highlighted
const offsetPercentage = 20;
if (section.offsetTop - window.innerHeight * (offsetPercentage / 100) <= scrollPosition &&
section.offsetTop + section.offsetHeight > scrollPosition) {
link.classList.add('active');
} else {
link.classList.remove('active');
}
});
}
document.addEventListener('scroll', highlightNavLink);
window.addEventListener('resize', highlightNavLink);
// Initialize AOS library
AOS.init();
});</script>
<script src="faq-website.js"></script>
<script>
// Logout Button
document.addEventListener('DOMContentLoaded', function () {
var isLoggedIn = localStorage.getItem('isLoggedIn');
var loginButton = document.getElementById('btn-style');
var logoutButton = document.getElementById('logout-btn');
if (isLoggedIn === 'true') {
loginButton.style.display = 'none';
logoutButton.style.display = 'block';
loginButton.disabled = true ;
logoutButton.disabled = false;
logoutButton.style.cursor = 'pointer';
logoutButton.addEventListener('click', function() {
localStorage.setItem('isLoggedIn', 'false');
window.location.href = './index.html';
});
} else {
loginButton.style.display = 'block';
logoutButton.disabled = true;
}
});
function sendEmail() {
window.location.href = "mailto:[email protected]";
}
</script>
</body>
</html>