forked from ML-Fusion-Lab/ML-Fusion-Lab-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.html
278 lines (235 loc) · 7.77 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="icon" href="ml-fusion-lab-logo.png">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Us - ML Fusion Labs</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css" integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="scroll.css">
<style>
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4;
}
header {
padding: 10px 0;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo img {
height: 50px;
}
nav ul {
list-style: none;
margin-left: auto;
padding: 0;
display: flex;
align-items: center;
}
nav ul li {
margin-left: 20px;
}
nav ul li a {
text-decoration: none;
color: white;
font-size: 18px;
font-weight: 500;
padding: 10px 15px;
transition: background 0.3s ease, color 0.3s ease;
border-radius: 5px;
}
nav ul li a:hover {
background-color: white;
color: #007BFF;
}
.contact-hero {
color: white;
padding: 60px 20px;
text-align: center;
}
.contact-hero h2 {
margin: 0;
font-size: 36px;
}
.contact-hero p {
font-size: 18px;
}
/* Contact form card styling */
.contact-container {
display: flex;
justify-content: center;
align-items: center;
padding: 40px 20px;
}
.contact-card {
background-color: white;
padding: 30px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 10px;
max-width: 600px;
width: 100%;
}
.contact-card h2 {
margin-bottom: 20px;
font-size: 28px;
color: #333;
}
.contact-card form label {
display: block;
margin-bottom: 5px;
font-size: 16px;
color: #555;
}
.contact-card form input,
.contact-card form textarea {
width: 100%;
padding: 10px;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
color: #333;
}
.contact-card form button {
background-color: #007BFF;
color: white;
border: none;
padding: 12px 20px;
font-size: 16px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
.contact-card form button:hover {
background-color: #0056b3;
}
footer {
background: #333;
color: white;
text-align: center;
padding: 20px 0;
}
.footer-container {
max-width: 800px;
margin: auto;
padding: 0 20px;
}
.footer-links a,
.footer-socials a {
color: white;
text-decoration: none;
margin: 0 10px;
transition: color 0.3s;
}
.footer-links a:hover,
.footer-socials a:hover {
color: #007BFF;
}
.footer-contact a {
color: white;
}
/* Hover effect CSS for form */
.contact-card form input:hover,
.contact-card form textarea:hover {
border-color: #007BFF;
background-color: #f0f8ff;
}
.contact-card form input:focus,
.contact-card form textarea:focus {
border-color: #007BFF;
box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
outline: none;
}
.contact-card form button {
background-color: #007BFF;
color: white;
border: none;
padding: 12px 20px;
font-size: 16px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s, transform 0.2s ease;
}
.contact-card form button:hover {
background-color: #0056b3;
transform: scale(1.05);
}
.contact-card form button:focus {
outline: none;
box-shadow: 0 0 5px rgba(0, 123, 255, 0.7);
}
/* Grow the entire form on hover */
.contact-card {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-card:hover {
transform: scale(1.05);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
</style>
</head>
<body>
<header>
<div class="logo">
<img src="ml-fusion-lab-logo.png" alt="ML Fusion Lab Logo">
</div>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="courses.html">Courses</a></li>
<li><a href="projects.html">Projects</a></li>
<li><a href="about.html">About Us</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
</header>
<section class="contact-hero">
<div class="hero-content">
<h2>Contact ML Fusion Labs</h2>
<p>Have questions or feedback? We’d love to hear from you!</p>
</div>
</section>
<section class="contact-container">
<div class="contact-card">
<h2>Get in Touch</h2>
<form action="submit_form.php" method="post">
<label for="name">Name</label>
<input type="text" id="name" name="name" placeholder="Your Name" required>
<label for="email">Email</label>
<input type="email" id="email" name="email" placeholder="Your Email" required>
<label for="message">Message</label>
<textarea id="message" name="message" rows="5" placeholder="Your Message" required></textarea>
<button type="submit">Send Message</button>
</form>
</div>
</section>
<footer>
<div class="footer-container">
<p>© 2024 ML Fusion Labs | All Rights Reserved</p>
<div class="footer-links">
<a href="privacy.html">Privacy Policy</a> |
<a href="terms.html">Terms of Service</a> |
<a href="about.html">About Us</a> |
<a href="contact.html">Contact</a>
</div>
<div class="footer-socials">
Follow us on:
<a href="https://facebook.com" target="_blank"><i class="fab fa-facebook-f"></i></a>
<a href="https://twitter.com" target="_blank"><i class="fa-brands fa-x-twitter"></i></a>
<a href="https://linkedin.com" target="_blank"><i class="fab fa-linkedin-in"></i></a>
</div>
<div class="footer-contact">
<p>Contact us: <a href="mailto:[email protected]">[email protected]</a> | Phone: +1 (555) 123-4567</p>
</div>
</div>
</footer>
<button id="scrollTopBtn" onclick="scrollToTop()"> <i class="fas fa-arrow-up"></i></button>
<script src="scroll.js"></script>
<script src="script.js"></script>
</body>
</html>