-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.html
More file actions
369 lines (332 loc) · 15 KB
/
contact.html
File metadata and controls
369 lines (332 loc) · 15 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Us - BlogVibe</title>
<style>
/* Global Resets & Base Styles (Consistent with BlogVibe theme) */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
line-height: 1.7;
color: #4A5568;
background-color: #f9fafb;
display: flex;
flex-direction: column;
min-height: 100vh;
overflow-x: hidden;
}
.container {
width: 90%;
max-width: 1100px;
margin: 0 auto;
padding: 0 20px;
}
a {
text-decoration: none;
color: #5D3FD3;
transition: color 0.2s ease-in-out;
}
a:hover {
color: #4a2fa3;
}
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; border-radius: 8px; }
h1, h2, h3, h4 { margin-bottom: 0.75em; color: #2D3748; font-weight: 700; line-height: 1.3; }
h1 { font-size: 2.8rem; text-align: center; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; color: #4A5568; margin-top: 1.5em; }
p { margin-bottom: 1.2em; color: #4A5568; font-size: 1rem; }
/* Navbar Styles (Consistent with BlogVibe theme) */
.navbar {
background-color: #fff;
padding: 15px 0;
border-bottom: 1px solid #e2e8f0;
position: sticky;
top: 0;
z-index: 1000;
box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: bold; color: #5D3FD3; }
.logo span { color: #2D3748; }
.navbar nav ul { display: flex; align-items: center; }
.navbar nav ul li { margin-left: 30px; }
.navbar nav ul li a {
color: #4A5568; font-weight: 500; padding: 10px 0px; text-decoration: none;
display: block; border-bottom: 3px solid transparent;
transition: color 0.3s ease, border-bottom-color 0.3s ease;
}
.navbar nav ul li a:hover { color: #5D3FD3; border-bottom-color: #5D3FD3; }
.navbar nav ul li a.active { color: #5D3FD3; font-weight: 700; border-bottom-color: #5D3FD3; }
.search-icon a { font-size: 1.2rem; color: #4A5568; }
/* Contact Page Specific Styles */
.contact-page-main {
flex-grow: 1;
padding: 50px 0;
}
.page-hero {
text-align: center;
margin-bottom: 50px;
padding: 40px 20px;
background-color: #f0eaff;
border-radius: 12px;
animation: fadeInElement 0.8s ease-out forwards;
}
.page-hero h1 {
color: #2D3748;
font-size: 2.5rem;
margin-bottom: 0.4em;
}
.page-hero p {
font-size: 1.15rem;
color: #4A5568;
max-width: 700px;
margin: 0 auto;
}
.contact-layout-grid {
display: grid;
grid-template-columns: 1fr 1.5fr;
gap: 40px;
animation: fadeInElement 0.8s ease-out 0.2s forwards;
opacity: 0;
}
.contact-details, .contact-form-section {
padding: 30px;
background-color: #fff;
border-radius: 12px;
box-shadow: 0 8px 25px rgba(0,0,0,0.07);
}
.contact-details h2, .contact-form-section h2 {
color: #5D3FD3;
margin-top: 0;
margin-bottom: 1em;
font-size: 1.8rem;
}
.contact-details p {
line-height: 1.8;
margin-bottom: 1.5em;
}
.contact-details strong {
color: #2D3748;
}
.map-container {
margin-top: 20px;
border-radius: 8px;
overflow: hidden;
border: 1px solid #e2e8f0;
}
/* Styling for the <p> tag if it remains around the iframe */
.map-container p {
margin: 0; /* Remove default paragraph margins */
line-height: 0; /* Remove extra space if iframe is the only content */
}
.map-container iframe {
width: 100%; /* Makes the iframe responsive within its container */
height: 300px; /* Your specified height */
border: 0; /* Ensured by inline style and CSS */
display: block; /* Remove extra space below iframe */
}
/* Form Styling */
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: #2D3748;
font-size: 0.95rem;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
width: 100%;
padding: 12px 15px;
border: 1px solid #cbd5e0;
border-radius: 6px;
font-size: 1rem;
color: #4A5568;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
border-color: #5D3FD3;
box-shadow: 0 0 0 3px rgba(93, 63, 211, 0.15);
outline: none;
}
.form-group textarea {
min-height: 120px;
resize: vertical;
}
button[type="submit"] {
background-color: #5D3FD3;
color: #fff;
border: none;
padding: 12px 25px;
border-radius: 25px;
font-weight: 600;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
box-shadow: 0 4px 15px rgba(93, 63, 211, 0.2);
}
button[type="submit"]:hover {
background-color: #4a2fa3;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(93, 63, 211, 0.3);
}
/* Footer Styles (Consistent with BlogVibe theme) */
.footer { background-color: #1A202C; color: #A0AEC0; padding: 60px 0 20px; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-about .logo { color: #fff; }
.footer-about .logo span { color: #718096; }
.footer-about p { font-size: 0.9rem; margin: 15px 0; line-height: 1.7; max-width: none; }
.social-icons a { color: #A0AEC0; margin-right: 18px; font-size: 1.5rem; transition: color 0.3s ease, transform 0.3s ease; }
.social-icons a:hover { color: #fff; transform: translateY(-3px); }
.footer h4 { font-size: 1.1rem; margin-bottom: 1em; color: #CBD5E0; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links ul li, .footer-categories ul li { margin-bottom: 12px; }
.footer-links ul li a, .footer-categories ul li a { color: #A0AEC0; font-size: 0.95rem; transition: color 0.2s ease; }
.footer-links ul li a:hover, .footer-categories ul li a:hover { color: #fff; padding-left: 5px; }
.footer-bottom { border-top: 1px solid #2D3748; padding-top: 30px; display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; }
.footer-bottom p { margin-bottom: 0; }
.footer-bottom div a { margin-left: 25px; color: #A0AEC0; }
.footer-bottom div a:hover { color: #fff; }
/* Animations */
@keyframes fadeInElement {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
/* Responsive Adjustments */
@media (max-width: 992px) {
.contact-layout-grid {
grid-template-columns: 1fr; /* Stack columns on tablets and below */
}
}
@media (max-width: 768px) {
.navbar .container { flex-direction: column; }
.navbar nav { margin-top: 15px; }
.navbar nav ul { justify-content: center; flex-wrap: wrap; }
.navbar nav ul li { margin: 5px 12px; }
.page-hero h1 { font-size: 2rem; }
.page-hero p { font-size: 1rem; }
.contact-details, .contact-form-section {
padding: 20px; /* Reduced padding on mobile */
}
.contact-details h2, .contact-form-section h2 {
font-size: 1.6rem;
}
.footer-grid { grid-template-columns: 1fr; text-align: center; }
.footer-about p, .social-icons { margin-left: auto; margin-right: auto; justify-content: center; }
.footer-bottom { flex-direction: column; text-align: center; }
.footer-bottom div { margin-top: 15px; }
.footer-bottom div a { margin: 0 12px; }
}
</style>
</head>
<body>
<header class="navbar">
<div class="container">
<a href="index.html" class="logo">Blog<span>Vibe</span></a>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="blog.html">Blog</a></li>
<li><a href="about.html">About</a></li>
<li><a href="team.html">Team</a></li>
<li><a href="contact.html" class="active">Contact</a></li> </ul>
</nav>
<div class="search-icon"><a href="#">🔍</a></div>
</div>
</header>
<main class="contact-page-main">
<div class="container">
<section class="page-hero">
<h1>Get In Touch</h1>
<p>We're here to help and answer any question you might have. We look forward to hearing from you!</p>
</section>
<div class="contact-layout-grid">
<section class="contact-details">
<h2>Have Any Questions?</h2>
<p>Please feel free to call or email us, or use our contact form to get in touch. Our team is ready to assist you.</p>
<h3>Emergency? Call Us:</h3>
<p>For immediate assistance, call: <strong>+1 123-456-7890</strong> (Sample)</p>
<h3>Send Us Mail:</h3>
<p>Email: <strong>info@blogvibe.com</strong> (Sample)</p>
<h3>Find Us:</h3>
<p>123 Inspiration Ave, Suite 100<br>Creativity City, CS 54321</p>
<div class="map-container">
<p><iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3887.0171591566204!2d77.56442807496936!3d13.034579187286612!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3bae17e0b0a41551%3A0xecd17a996841dfc8!2sM.S.%20Ramaiah%20Institute%20of%20Technology%20Ground!5e0!3m2!1sen!2sin!4v1702675881133!5m2!1sen!2sin" width="400" height="300" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe></p>
</div>
</section>
<section class="contact-form-section">
<h2>Send Us a Message</h2>
<form action="#" method="post"> <div class="form-group">
<label for="name">Full Name:</label>
<input type="text" id="name" name="name" required placeholder="e.g., Jane Doe">
</div>
<div class="form-group">
<label for="email">Email Address:</label>
<input type="email" id="email" name="email" required placeholder="e.g., jane.doe@example.com">
</div>
<div class="form-group">
<label for="subject">Subject:</label>
<input type="text" id="subject" name="subject" required placeholder="e.g., Inquiry about a blog post">
</div>
<div class="form-group">
<label for="message">Your Message:</label>
<textarea id="message" name="message" rows="6" required placeholder="Write your message here..."></textarea>
</div>
<button type="submit">Send Message</button>
</form>
</section>
</div>
</div>
</main>
<footer class="footer">
<div class="container">
<div class="footer-grid">
<div class="footer-about">
<a href="index.html" class="logo">Blog<span>Vibe</span></a>
<p>Discover compelling stories, expert insights, and fresh perspectives from our community of passionate writers. Join the conversation.</p>
<div class="social-icons">
<a href="#" title="Facebook">f</a> <a href="#" title="Twitter">t</a>
<a href="#" title="LinkedIn">in</a> <a href="#" title="Email">✉</a>
</div>
</div>
<div class="footer-links">
<h4>Quick Links</h4>
<ul>
<li><a href="about.html">About Us</a></li>
<li><a href="blog.html">Blog</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
<div class="footer-categories">
<h4>Explore</h4>
<ul>
<li><a href="#">Technology</a></li> <li><a href="#">Lifestyle</a></li>
<li><a href="#">Design</a></li> <li><a href="#">Business</a></li>
</ul>
</div>
</div>
<div class="footer-bottom">
<p>© <span id="currentYear"></span> BlogVibe. All rights reserved.</p>
<div> <a href="#">Privacy Policy</a> <a href="#">Terms of Service</a></div>
</div>
</div>
</footer>
<script>
document.getElementById('currentYear').textContent = new Date().getFullYear();
document.addEventListener('DOMContentLoaded', function() {
// CSS animations handle this, no specific JS needed here for fade-ins
});
</script>
</body>
</html>