-
Notifications
You must be signed in to change notification settings - Fork 442
/
contactus.html
148 lines (133 loc) · 4.83 KB
/
contactus.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Us</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}
body {
background-color: #f4f7fc; /* Light background color */
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
flex-direction: column;
}
.container {
width: 90%;
max-width: 1200px;
}
.contact-container {
display: flex;
justify-content: space-between;
gap: 20px;
flex-wrap: wrap; /* Ensure responsive layout */
background-color: #ffffff; /* White background for contact container */
padding: 30px;
border-radius: 10px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.form-container,
.map-container {
width: 48%; /* Adjusting to 48% width to place side by side */
}
h2 {
text-align: center;
margin-bottom: 20px;
color: #333; /* Dark text color */
}
.input-field {
margin-bottom: 15px;
}
.input-field label {
display: block;
margin-bottom: 5px;
font-weight: bold;
color: #555; /* Slightly lighter color for labels */
}
.input-field input,
.input-field textarea {
width: 100%;
padding: 12px;
border: 2px solid black;
border-radius: 5px;
font-size: 16px;
transition: border-color 0.3s ease;
}
.input-field input:focus,
.input-field textarea:focus {
border-color: #6c63ff; /* Highlighted border on focus */
outline: none;
box-shadow: 0 0 8px rgba(108, 99, 255, 0.2);
}
textarea {
resize: none;
}
.submit-btn {
background-color: #6c63ff; /* Purple background for button */
color: #fff;
border: none;
padding: 12px;
width: 100%;
border-radius: 5px;
font-size: 18px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.submit-btn:hover {
background-color: #5a54d8; /* Darker purple on hover */
}
.map-container iframe {
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.map-container {
background-color: #f9f9f9; /* Light background for the map */
padding: 100px;
}
</style>
</head>
<body>
<div class="container">
<!-- Contact Section -->
<div class="contact-container">
<!-- Contact Form -->
<div class="form-container">
<h2>Contact Us</h2>
<form action="#" method="post">
<div class="input-field">
<label for="name">Name</label>
<input type="text" id="name" name="name" placeholder="Enter your name" required>
</div>
<div class="input-field">
<label for="email">Email</label>
<input type="email" id="email" name="email" placeholder="Enter your email" required>
</div>
<div class="input-field">
<label for="phone">Phone</label>
<input type="tel" id="phone" name="phone" placeholder="Enter your phone number" required>
</div>
<div class="input-field">
<label for="message">Message</label>
<textarea id="message" name="message" rows="5" placeholder="Your message..." required></textarea>
</div>
<button type="submit" class="submit-btn">Send Message</button>
</form>
</div>
<!-- Map Section inside Contact -->
<div class="map-container">
<h2>Our Location</h2>
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d31109.065519603888!2d77.594563!3d12.971599!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3bae1670cc33f761%3A0x73d7e725a3dcebed!2sBangalore%2C%20Karnataka!5e0!3m2!1sen!2sin!4v1699635202177!5m2!1sen!2sin"
width="100%" height="300" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
</div>
</div>
</div>
</body>
</html>