forked from Jai-76/My-first-Neo-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.html
More file actions
262 lines (229 loc) · 6.27 KB
/
contact.html
File metadata and controls
262 lines (229 loc) · 6.27 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
<!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>Contact NeoRide</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>
* {
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, h2 {
color: #333;
font-weight: 600;
margin-bottom: 20px;
text-align: center;
}
p {
color: #555;
line-height: 1.8;
margin-bottom: 15px;
text-align: center;
}
/* Contact Form */
.contact-form {
max-width: 600px;
margin: 0 auto 30px auto;
display: flex;
flex-direction: column;
gap: 20px;
}
.contact-form input,
.contact-form textarea {
padding: 15px;
border: 2px solid #ddd;
border-radius: 10px;
font-size: 1em;
transition: all 0.3s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
border-color: #667eea;
box-shadow: 0 0 8px rgba(102, 126, 234, 0.4);
outline: none;
transform: scale(1.02);
}
.contact-form textarea {
resize: none;
min-height: 120px;
}
.contact-form button {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border: none;
padding: 15px;
border-radius: 10px;
font-size: 1.1em;
cursor: pointer;
transition: all 0.3s ease;
}
.contact-form button:hover {
transform: translateY(-3px);
box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}
.contact-form button:active {
transform: scale(0.97);
}
/* Success Message */
#successMessage {
display: none;
text-align: center;
color: #28a745;
font-weight: 600;
margin-top: 10px;
animation: fadeIn 0.6s ease-in-out;
}
/* Contact Details */
.contact-details {
margin-top: 30px;
text-align: center;
}
.contact-details h2 {
margin-bottom: 15px;
color: #444;
}
.contact-item {
margin: 10px 0;
font-size: 1.1em;
color: #333;
}
.contact-item i {
margin-right: 10px;
color: #667eea;
}
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-content p {
color: white;
}
.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-envelope"></i> Contact NeoRide
</header>
<div class="main-content">
<h1>Get in Touch</h1>
<p>Have questions, feedback, or suggestions? We'd love to hear from you!</p>
<form class="contact-form" id="contactForm">
<input type="text" placeholder="Your Name" required>
<input type="email" placeholder="Your Email" required>
<textarea placeholder="Your Message" required></textarea>
<button type="submit">Send Message</button>
</form>
<p id="successMessage">✅ Thank you! Your message has been sent successfully.</p>
<div class="contact-details">
<h2>Contact Details</h2>
<div class="contact-item"><i class="fas fa-map-marker-alt"></i> 123 NeoRide Street, Tech City, India</div>
<div class="contact-item"><i class="fas fa-phone-alt"></i> +91 98765 43210</div>
<div class="contact-item"><i class="fas fa-envelope"></i> support@neoride.com</div>
</div>
</div>
<footer>
<div class="footer-content">
<p>© 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="aboutus.html" title="About Us"><i class="fas fa-info-circle"></i></a>
<a href="contact.html" title="Contact"><i class="fas fa-envelope"></i></a>
</div>
</div>
</footer>
</div>
<script>
document.getElementById("contactForm").addEventListener("submit", function(e) {
e.preventDefault();
const successMessage = document.getElementById("successMessage");
successMessage.style.display = "block";
this.reset();
setTimeout(() => {
successMessage.style.display = "none";
}, 4000);
});
</script>
</body>
</html>