Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
255 changes: 255 additions & 0 deletions faq.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,255 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="NeoRide.jpeg">
<title>NeoRide - FAQ</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
<style>
/* Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
font-family: 'Poppins', sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.container {
background: white;
border-radius: 20px;
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 900px;
margin: 40px auto;
overflow: hidden;
animation: fadeIn 0.7s ease-out;
flex: 1;
display: flex;
flex-direction: column;
}

@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}

header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
padding: 25px;
text-align: center;
font-size: 1.8em;
font-weight: 600;
position: relative;
overflow: hidden;
}

header::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
animation: shine 3s infinite;
}

@keyframes shine {
0% { left: -100%; }
100% { left: 100%; }
}

.main-content {
padding: 40px;
}

h1 {
color: #333;
font-weight: 600;
margin-bottom: 25px;
text-align: center;
}

p {
color: #555;
line-height: 1.8;
margin-bottom: 15px;
}

/* FAQ Accordion */
.faq {
margin-top: 20px;
}

.faq-item {
background: #f9f9fb;
border-radius: 12px;
margin-bottom: 15px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
}

.faq-question {
background: #fff;
padding: 18px 20px;
font-weight: 500;
color: #333;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
transition: background 0.3s ease;
}

.faq-question:hover {
background: #f1f1f9;
}

.faq-question i {
color: #667eea;
transition: transform 0.3s ease;
}

.faq-answer {
max-height: 0;
overflow: hidden;
padding: 0 20px;
background: #f9f9fb;
transition: max-height 0.4s ease, padding 0.3s ease;
color: #555;
line-height: 1.6;
}

.faq-item.active .faq-answer {
max-height: 200px;
padding: 15px 20px;
}

.faq-item.active .faq-question i {
transform: rotate(180deg);
}

/* Footer */
footer {
background: linear-gradient(135deg, #3b56d0 0%, #630eb7 100%);
color: white;
text-align: center;
padding: 20px 15px;
border-radius: 0 0 20px 20px;
}

.footer-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
}

.footer-links {
display: flex;
gap: 20px;
justify-content: center;
}

.footer-links a {
color: white;
font-size: 1.3em;
transition: all 0.3s ease;
text-decoration: none;
}

.footer-links a:hover {
transform: scale(1.2);
color: #ffd700;
}
</style>
</head>
<body>

<div class="container">
<header>
<i class="fas fa-question-circle"></i> Frequently Asked Questions
</header>
<div class="main-content">
<h1>FAQ</h1>
<p>Here are some of the most common questions about NeoRide and their answers.</p>

<div class="faq">
<div class="faq-item">
<div class="faq-question">
<span>What is NeoRide?</span>
<i class="fas fa-chevron-down"></i>
</div>
<div class="faq-answer">
NeoRide is a frontend-only ride-sharing concept designed to show how a clean, modern interface can combine convenience and safety features.
</div>
</div>

<div class="faq-item">
<div class="faq-question">
<span>Does NeoRide require an internet connection?</span>
<i class="fas fa-chevron-down"></i>
</div>
<div class="faq-answer">
Yes, NeoRide runs entirely in your browser and requires an internet connection to function.
</div>
</div>

<div class="faq-item">
<div class="faq-question">
<span>Is there real-time ride tracking?</span>
<i class="fas fa-chevron-down"></i>
</div>
<div class="faq-answer">
Not yet! NeoRide is a frontend-only concept. However, future improvements plan to add backend support and real-time tracking.
</div>
</div>

<div class="faq-item">
<div class="faq-question">
<span>What safety features does NeoRide include?</span>
<i class="fas fa-chevron-down"></i>
</div>
<div class="faq-answer">
Safety comes first with features such as emergency contact lists and a simulated SOS button.
</div>
</div>
</div>
</div>

<footer>
<div class="footer-content">
<p>&copy; 2025 NeoRide - Your Safety First</p>
<div class="footer-links">
<a href="index.html" title="Home"><i class="fas fa-home"></i></a>
<a href="about.html" title="About Us"><i class="fas fa-info-circle"></i></a>
<a href="#" title="Contact"><i class="fas fa-envelope"></i></a>
</div>
</div>
</footer>
</div>

<script>
// Accordion Functionality
const faqs = document.querySelectorAll(".faq-item");

faqs.forEach(faq => {
faq.querySelector(".faq-question").addEventListener("click", () => {
faq.classList.toggle("active");
});
});
</script>

</body>
</html>