-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcontact.html
399 lines (381 loc) · 14.5 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
<!DOCTYPE html>
<html>
<head>
<!-- Basic -->
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<!-- Mobile Metas -->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<!-- Site Metas -->
<meta name="keywords" content="" />
<meta name="description" content="" />
<meta name="author" content="" />
<title>PTDC</title>
<!-- slider stylesheet -->
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css" />
<!-- bootstrap core css -->
<link rel="stylesheet" type="text/css" href="css/bootstrap.css" />
<!-- font awesome style -->
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css" />
<!-- Custom styles for this template -->
<link href="css/style.css" rel="stylesheet" />
<!-- responsive style -->
<link href="css/responsive.css" rel="stylesheet" />
</head>
<body>
<div class="hero_area">
<!-- header section starts -->
<header class="header_section">
<div class="header_top">
<div class="container-fluid">
<div class="contact_nav">
<a href="tel:+919869478843">
<i class="fa fa-phone" aria-hidden="true"></i>
<span> Call : +91 98694 78843 </span>
</a>
<a href="mailto:[email protected]">
<i class="fa fa-envelope" aria-hidden="true"></i>
<span> Email : [email protected] </span>
</a>
<div class="social_media">
<a href="https://www.facebook.com/profile.php?id=61566824381050" target="_blank" rel="noopener noreferrer">
<i class="fa fa-facebook" aria-hidden="true"></i>
</a>
<a href="https://x.com/Profession72861" target="_blank" rel="noopener noreferrer">
<i class="fa fa-twitter" aria-hidden="true"></i>
</a>
<a href="https://www.youtube.com/@ProfessionalTrainingandDevelop" target="_blank" rel="noopener noreferrer">
<i class="fa fa-youtube" aria-hidden="true"></i>
</a>
<a href="https://www.instagram.com/training1733/" target="_blank" rel="noopener noreferrer">
<i class="fa fa-instagram" aria-hidden="true"></i>
</a>
</div>
</div>
</div>
</div>
<div class="header_bottom">
<div class="container-fluid">
<nav class="navbar navbar-expand-lg custom_nav-container">
<a class="navbar-brand" href="index.html" aria-label="Homepage">
<img src="images/new_logo.png" alt="Professional Training and Development Center Logo" class="logo">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class=""></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="about.html">Programs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="service.html">Services</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="contact.html">Contact Us</a>
</li>
</ul>
</div>
</nav>
</div>
</div>
</header>
<!-- end header section -->
<style>
/* Responsive styles for mobile */
.header_top .contact_nav {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
}
.header_top .contact_nav a {
display: flex;
align-items: center;
font-size: 14px;
margin-right: 15px;
}
.social_media a {
margin-right: 8px;
font-size: 14px;
}
/* Header adjustments for mobile */
.navbar .navbar-brand img.logo {
width: 120px;
height: auto;
}
/* Slider section adjustments */
.slider_section {
opacity: 0;
transform: translateY(20px);
transition: opacity 0.6s ease, transform 0.6s ease;
padding: 20px 0;
}
.slider_section.visible {
opacity: 1;
transform: translateY(0);
}
.slider_section .detail-box h1 {
font-size: 28px;
line-height: 1.2;
}
.slider_section .detail-box p {
font-size: 16px;
}
/* Responsive for smaller screens */
@media (max-width: 768px) {
.slider_section .detail-box h1 {
font-size: 24px;
}
.slider_section .detail-box p {
font-size: 14px;
}
.slider_section .img-box img {
width: 100%;
height: auto;
}
}
@media (max-width: 576px) {
.contact_nav {
flex-direction: column;
align-items: flex-start;
}
.slider_section .detail-box h1 {
font-size: 20px;
}
.slider_section .detail-box p {
font-size: 13px;
}
}
</style>
<script>
// JavaScript for intersection observer on slider
document.addEventListener("DOMContentLoaded", function() {
const sliderSection = document.querySelector(".slider_section");
const observer = new IntersectionObserver((entries) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
sliderSection.classList.add("visible");
observer.unobserve(sliderSection);
}
});
});
observer.observe(sliderSection);
});
</script>
</div>
<!-- contact section -->
<style>
/* Style for input fields and textareas */
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
color: #000;
/* Text color */
background-color: #f2f2f2;
/* Background color */
border: 1px solid #ccc;
/* Border color */
padding: 10px;
/* Padding for input fields */
margin: 10px 0;
/* Spacing between fields */
width: 100%;
/* Full width */
font-size: 16px;
/* Font size */
border-radius: 5px;
/* Rounded borders */
}
/* Change placeholder color */
input::placeholder,
textarea::placeholder {
color: #777;
/* Placeholder text color */
}
/* Focused input field */
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus {
outline: none;
/* Remove default focus outline */
border: 1px solid #555;
/* Border color on focus */
background-color: #ffffff;
/* Background color on focus */
}
/* Style the submit button */
button[type="submit"] {
background-color: #007bff;
/* Button color */
color: #fff;
/* Text color */
border: none;
padding: 15px 32px;
text-align: center;
font-size: 16px;
border-radius: 5px;
cursor: pointer;
}
button[type="submit"]:hover {
background-color: #0056b3;
/* Darker button on hover */
}
</style>
<!-- contact section -->
<section class="contact_section layout_padding">
<div class="container">
<div class="heading_container heading_center">
<h2>Contact Us</h2>
</div>
<form action="https://submit-form.com/NolmFKt43" method="POST" onsubmit="resetFormWithDelay(event, this)">
<div>
<label for="name">Name:</label>
<input type="text" id="name" name="name" placeholder="Name" required />
</div>
<div>
<label for="phone">Phone Number:</label>
<input type="tel" id="phone" name="phone" placeholder="Phone Number" required />
</div>
<div>
<label for="email">Email:</label>
<input type="email" id="email" name="email" placeholder="Email" required />
</div>
<div>
<label for="message">Message:</label>
<textarea id="message" name="message" placeholder="Message" required></textarea>
</div>
<div class="d-flex">
<button type="submit">SEND</button>
</div>
</form>
</div>
<script>
function resetFormWithDelay(event, form) {
event.preventDefault(); // Prevent default form submission temporarily
// Submit the form after a brief delay and reset it
setTimeout(() => {
form.submit(); // Submit the form
form.reset(); // Reset the form fields
}, 1000);
}
// JavaScript for Intersection Observer to add fade-in effect
document.addEventListener("DOMContentLoaded", function() {
const contactSection = document.querySelector(".contact_section");
const observer = new IntersectionObserver((entries) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
contactSection.classList.add("visible"); // Add class when in view
observer.unobserve(contactSection); // Stop observing after adding class
}
});
});
observer.observe(contactSection); // Start observing
});
</script>
<style>
/* CSS for fade-in animation */
.contact_section {
opacity: 0;
/* Start with invisible */
transform: translateY(20px);
/* Move down */
transition: opacity 0.6s ease, transform 0.6s ease;
/* Animation properties */
}
.contact_section.visible {
opacity: 1;
/* Make visible */
transform: translateY(0);
/* Reset position */
}
</style>
</section>
<!-- end contact section -->
<a href="https://wa.me/+919869478843" target="_blank" style="position: fixed; bottom: 20px; right: 20px; width: 60px; height: 60px; background-color: transparent; border-radius: 50%; display: flex; justify-content: center; align-items: center; cursor: pointer; z-index: 1000; transition: transform 0.3s ease-in-out; transform: scale(1);" onmouseover="this.style.transform='scale(1.1)';" onmouseout="this.style.transform='scale(1)';">
<img src="images/whatsapp.png" alt="WhatsApp" style="width: 60px; height: 60px;" data-no-retina="">
</a>
<!-- info section -->
<section class="info_section ">
<div class="container">
<h4> Get In Touch </h4>
<div class="row">
<div class="col-lg-10 mx-auto">
<div class="info_items">
<div class="row">
<div class="col-md-4">
<a href="">
<div class="item ">
<div class="img-box ">
<i class="fa fa-map-marker" aria-hidden="true"></i>
</div>
<p> Bengaluru City in Karnataka </p>
</div>
</a>
</div>
<div class="col-md-4">
<a href="">
<div class="item ">
<div class="img-box ">
<i class="fa fa-phone" aria-hidden="true"></i>
</div>
<p> +91 98694 78843 </p>
</div>
</a>
</div>
<div class="col-md-4">
<a href="">
<div class="item ">
<div class="img-box">
<i class="fa fa-envelope" aria-hidden="true"></i>
</div>
<p> [email protected] </p>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="social-box">
<h4> Follow Us </h4>
<div class="box">
<a href="https://www.facebook.com/profile.php?id=61566824381050" target="_blank" rel="noopener noreferrer">
<i class="fa fa-facebook" aria-hidden="true"></i>
</a>
<a href="https://x.com/Profession72861" target="_blank" rel="noopener noreferrer">
<i class="fa fa-twitter" aria-hidden="true"></i>
</a>
<a href="https://www.youtube.com/@ProfessionalTrainingandDevelop" target="_blank" rel="noopener noreferrer">
<i class="fa fa-youtube" aria-hidden="true"></i>
</a>
<a href="https://www.instagram.com/training1733/" target="_blank" rel="noopener noreferrer">
<i class="fa fa-instagram" aria-hidden="true"></i>
</a>
</div>
</div>
</section>
<!-- end info_section -->
<!-- footer section -->
<footer class="footer_section">
<div class="container">
<p> © <span id="displayDateYear"></span> All Rights Reserved By <a>PTDC</a>
</p>
</div>
</footer>
<!-- footer section -->
<script src="js/jquery-3.4.1.min.js"></script>
<script src="js/bootstrap.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
<script src="js/custom.js"></script>
<!-- Google Map -->
<!-- <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCh39n5U-4IoWpsVGUHWdqB6puEkhRLdmI&callback=myMap"></script> -->
<!-- End Google Map -->
</body>
</html>