-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
424 lines (360 loc) · 13.3 KB
/
contact.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MF Website - Contact Us</title>
<link rel="stylesheet" href="css/styles.css">
<style>
/* Remove any padding/margin from the body and main content */
body, html {
margin: 0;
padding: 0;
}
/* Navigation styling */
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
background-color: #333;
}
nav ul li {
padding: 14px 20px;
}
nav ul li a {
color: white;
text-decoration: none;
font-size: 16px;
}
nav ul li a:hover {
background-color: #575757;
}
/* Carousel section - Full width and right below the navbar */
.carousel {
position: relative;
background-image: url('IMAGES/home_page_image.jpg');
background-size: cover; /* Ensure the image covers the entire carousel */
background-position: center; /* Center the image */
width: 100%;
height: 300px; /* Height remains unchanged */
color: white;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
font-size: 2em;
margin: 0; /* Ensures there's no margin between carousel and navbar */
padding: 0;
font-weight: bold;
}
.carousel-content {
display: none;
width: 100%;
text-align: center;
background-color: rgba(0, 0, 0, 0);
}
.carousel-content.active {
display: block;
}
/* Buttons for carousel navigation */
.carousel-button {
position: absolute;
top: 50%;
transform: translateY(-50%);
background-color: #333;
color: white;
border: none;
padding: 10px;
cursor: pointer;
}
.carousel-button.prev {
left: 0;
}
.carousel-button.next {
right: 0;
}
/* Contact form styling */
.contact-form {
max-width: 800px;
margin: 40px auto;
padding: 20px;
background-color: #f9f9f9;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.contact-form h2 {
font-size: 2em;
margin-bottom: 20px;
color: #333;
}
.contact-form label {
display: block;
margin: 10px 0 5px;
font-weight: bold;
}
.contact-form input, .contact-form textarea {
width: 100%;
padding: 10px;
margin-bottom: 15px;
border: 1px solid #ddd;
border-radius: 5px;
box-sizing: border-box;
}
.contact-form textarea {
resize: vertical;
}
.contact-form button {
background-color: #04AA6D;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 1.2em;
}
.contact-form button:hover {
background-color: #028a57;
}
/* Footer styling */
footer {
background-color: #333;
color: white; /* Set footer text color to white */
padding: 20px;
text-align: center;
position: relative;
width: 100%;
margin-top: 50px; /* Add spacing above the footer */
}
.footer-container {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
max-width: 1200px;
margin: 0 auto;
}
.footer-about, .footer-quick-links, .footer-contact {
flex: 1;
min-width: 250px;
margin: 10px;
text-align: left;
}
.footer-about p {
margin-bottom: 10px;
}
.footer-quick-links ul {
list-style-type: none;
padding: 0;
}
.footer-quick-links ul li {
margin-bottom: 10px;
}
.footer-quick-links ul li a {
color: white; /* Ensure links in the footer are white */
text-decoration: none;
}
.footer-quick-links ul li a:hover {
text-decoration: underline;
}
.footer-contact a {
color: white; /* Ensure links in the footer are white */
text-decoration: none;
}
.footer-contact a:hover {
text-decoration: underline;
}
header {
display: flex; /* Use flexbox for the header */
align-items: center; /* Center items vertically */
padding: 10px; /* Add padding for aesthetics */
width: 100%; /* Ensure header spans the full width */
box-sizing: border-box; /* Include padding in width calculation */
}
.logo {
margin-right: 450px; /* Push the logo slightly to the right */
margin-left: 30px;
}
.logo img {
width: 110px; /* Maintain original logo width */
height: auto; /* Maintain aspect ratio */
}
.contact-info {
display: flex; /* Use flexbox for contact info to align elements */
flex-grow: 1; /* Allow contact info to grow to fill space */
justify-content: space-around; /* Evenly space child elements */
}
.contact-details {
display: flex; /* Use flexbox for contact details */
flex-direction: column; /* Stack contact details vertically */
align-items: center; /* Center items horizontally */
}
.contact-info p {
margin: 0; /* No margin for paragraph */
font-size: 16px; /* Font size */
}
.call-info {
display: flex; /* Align button and text in a row */
flex-direction: column; /* Stack button and text vertically */
align-items: right; /* Center items horizontally */
}
.call-button {
display: inline-block; /* Ensure it behaves like a block element */
background-color: #007bff; /* Button color */
color: white; /* Text color */
text-decoration: none; /* Remove underline from anchor */
border: none; /* No border */
padding: 10px 20px; /* Padding for button */
cursor: pointer; /* Pointer on hover */
margin-top: 5px; /* Space above the button */
border-radius: 4px; /* Optional: add border radius for rounded corners */
}
.call-button:hover {
background-color: #0056b3; /* Darker blue on hover */
}
/* Axis Bank logo styling */
.axis-logo {
width: 50px; /* Set the size of the Axis Bank logo */
height: auto; /* Maintain aspect ratio */
margin-bottom: 5px; /* Add some spacing below the logo */
}
/* Authorised person text styling */
.authorised-person {
display: flex;
flex-direction: column; /* Stack logo and text vertically */
align-items: center; /* Center align the items */
}
/* Adjust for small screens */
@media (max-width: 768px) {
header {
flex-direction: column;
align-items: center;
}
.contact-info {
text-align: center;
margin-top: 10px;
}
.footer-container {
flex-direction: column;
align-items: center;
}
}
</style>
</head>
<body>
<header>
<div class="logo">
<img src="IMAGES/images.jpg" alt="Logo">
</div>
<div class="contact-info">
<div class="contact-details">
<p>Support: +91-9830022067</p>
<p>Email: [email protected]</p>
</div>
<div class="call-info">
<a href="contact.html" class="call-button">Book A Call</a>
</div>
<div class="authorised-person">
<img src="IMAGES/axis_bank.png" alt="Axis Bank Logo" class="axis-logo">
<p>Authorised</p>
<p>Person</p>
</div>
</div>
</header>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="why-choose-us.html">Why Choose Us</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="contact.html">Contact Us</a></li>
<li><a href="privacy-policy.html">Privacy Policy</a></li>
<li><a href="graphs.html">Stock Graphs</a></li>
</ul>
</nav>
<!-- Contact Form -->
<div class="contact-form">
<h2>Contact Us</h2>
<form action="php/contact-form-handler.php" method="post">
<label for="name">Full Name:</label>
<input type="text" id="name" name="name" required>
<label for="email">Email Address:</label>
<input type="email" id="email" name="email" required>
<label for="phone">Phone Number:</label>
<input type="tel" id="phone" name="phone">
<label for="message">Your Message:</label>
<textarea id="message" name="message" rows="6" required></textarea>
<button type="submit">Send Message</button>
</form>
</div>
<!-- Footer -->
<footer>
<div class="footer-container">
<div class="footer-about">
<p><strong>Moolance Finance</strong></p>
<p>Moonlance Finance is a dynamic stock broking company dedicated to empowering investors with a comprehensive range of financial solutions. With a focus on innovation and customer service, we provide advanced tools, expert insights, and personalized support to help you navigate the complexities of the financial markets. Our diverse offerings, from equities and mutual funds to life insurance and retirement planning, cater to the unique needs of every investor. At Moonlance Finance, we strive to be your trusted partner on your journey to financial success.</p>
</div>
<div class="footer-quick-links">
<p><strong>Quick Links</strong></p>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="why-choose-us.html">Why Choose Us</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="contact.html">Contact Us</a></li>
<li><a href="privacy-policy.html">Privacy Policy</a></li>
<li><a href="graphs.html">Stock Graphs</a></li>
</ul>
</div>
<div class="footer-contact">
<p><strong>Get in Touch</strong></p>
<p>19, Rn Mukherjee Road, Mezzanine Floor Between 2nd And 1st, Hanuman Estate, Kolkata – 700001, West Bengal</p>
<p>Email: <a href="mailto:[email protected]">[email protected]</a></p>
<p>Phone: <a href="tel:9830022067">9830022067</a></p>
<p>Business Hours: 09:00 AM – 06:00 PM</p>
</div>
</div>
<p>© 2024 MF Website. All rights reserved.</p>
</footer>
<script>
function updateAmountValue() {
document.getElementById('amount-value').innerText = document.getElementById('amount').value;
}
function updateRateValue() {
document.getElementById('rate-value').innerText = document.getElementById('rate').value;
}
function updateYearsValue() {
document.getElementById('years-value').innerText = document.getElementById('years').value;
}
function calculateSIP() {
const amount = parseFloat(document.getElementById('amount').value);
const rate = parseFloat(document.getElementById('rate').value) / 100 / 12;
const years = parseInt(document.getElementById('years').value);
const months = years * 12;
let futureValue = 0;
for (let i = 0; i < months; i++) {
futureValue = (futureValue + amount) * (1 + rate);
}
document.getElementById('sip-result').innerHTML = `Future Value: ₹${futureValue.toFixed(2)}`;
}
// Carousel functionality
let slideIndex = 0;
function showSlide(index) {
const slides = document.getElementsByClassName('carousel-content');
if (index >= slides.length) slideIndex = 0;
if (index < 0) slideIndex = slides.length - 1;
for (let slide of slides) {
slide.classList.remove('active');
}
slides[slideIndex].classList.add('active');
}
function nextSlide() {
showSlide(++slideIndex);
}
function prevSlide() {
showSlide(--slideIndex);
}
// Initialize carousel
showSlide(slideIndex);
setInterval(nextSlide, 5000); // Change slide every 5 seconds
</script>
</body>
</html>