Elite English ContactUs Template
Preview
Edit
Download
Run
Download Options
HTML File
Download as .html file
CSS File
Download as .css file
JavaScript File
Download as .js file
Combined HTML
All code in one HTML file
Project ZIP
All files in a ZIP archive
Cancel
HTML
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Contact Us - Elite English Academy</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> </head> <body> <!-- Header Section --> <header class="header"> <div class="logo"> <i class="fas fa-language"></i> <span>Elite English</span> </div> </header> <!-- Hero Section --> <section class="hero"> <div class="hero-content"> <h1 class="velvet-caption" data-text="Contact Us">Contact Us</h1> <p>Ready to take your English to the next level? Get in touch with our team today and start your journey to fluency.</p> <a href="#contact-form" class="cta-button">Send a Message</a> </div> </section> <!-- Contact Form Section --> <section class="contact-section" id="contact-form"> <div class="section-title"> <h2>Get In Touch</h2> </div> <div class="contact-container"> <div class="contact-info"> <div class="info-item"> <div class="info-icon"> <i class="fas fa-map-marker-alt"></i> </div> <div class="info-content"> <h3>Our Location</h3> <p>123 Language Street, Education District, London, UK</p> </div> </div> <div class="info-item"> <div class="info-icon"> <i class="fas fa-phone-alt"></i> </div> <div class="info-content"> <h3>Phone Number</h3> <p>+44 123 456 7890<br>+44 987 654 3210</p> </div> </div> <div class="info-item"> <div class="info-icon"> <i class="fas fa-envelope"></i> </div> <div class="info-content"> <h3>Email Address</h3> <p>info@eliteenglish.com<br>support@eliteenglish.com</p> </div> </div> <div class="info-item"> <div class="info-icon"> <i class="fas fa-clock"></i> </div> <div class="info-content"> <h3>Working Hours</h3> <p>Monday - Friday: 9:00 - 18:00<br>Saturday: 10:00 - 15:00</p> </div> </div> </div> <form class="contact-form"> <div class="form-group"> <label for="name">Your Name</label> <input type="text" id="name" class="form-control" required> </div> <div class="form-group"> <label for="email">Your Email</label> <input type="email" id="email" class="form-control" required> </div> <div class="form-group"> <label for="subject">Subject</label> <input type="text" id="subject" class="form-control" required> </div> <div class="form-group"> <label for="message">Your Message</label> <textarea id="message" class="form-control" required></textarea> </div> <button type="submit" class="submit-btn">Send Message</button> </form> </div> </section> <!-- Features Section --> <section class="features"> <div class="section-title"> <h2>Why Choose Elite English</h2> </div> <div class="features-container"> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-chalkboard-teacher"></i> </div> <div class="feature-content"> <h3>Expert Instructors</h3> <p>Our teachers are certified professionals with years of experience teaching English as a second language.</p> </div> </div> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-users"></i> </div> <div class="feature-content"> <h3>Small Class Sizes</h3> <p>Maximum 8 students per class ensures personalized attention and faster progress.</p> </div> </div> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-certificate"></i> </div> <div class="feature-content"> <h3>Recognized Certification</h3> <p>Receive internationally recognized certificates upon course completion.</p> </div> </div> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-laptop"></i> </div> <div class="feature-content"> <h3>Flexible Learning</h3> <p>Choose from in-person or online classes to fit your schedule and learning preferences.</p> </div> </div> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-globe-americas"></i> </div> <div class="feature-content"> <h3>Cultural Immersion</h3> <p>Our programs include cultural activities to help you understand English in real-world contexts.</p> </div> </div> <div class="feature-card"> <div class="feature-icon"> <i class="fas fa-briefcase"></i> </div> <div class="feature-content"> <h3>Career Support</h3> <p>Get help with CV writing, interview preparation, and professional communication skills.</p> </div> </div> </div> </section> <!-- Map Section --> <section class="map-section"> <div class="section-title"> <h2>Find Us</h2> </div> <div class="map-container"> <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2483.5404230563876!2d-0.127758323455708!3d51.50073297181339!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x487604c38c8cd1d9%3A0xb78f2474b9a45aa9!2sBig%20Ben!5e0!3m2!1sen!2suk!4v1686146780111!5m2!1sen!2suk" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe> <div class="map-overlay"> <div> <h3>Our Campus</h3> <p>123 Language Street, London, UK</p> </div> <button class="directions-btn"> <i class="fas fa-directions"></i> Get Directions </button> </div> </div> </section> <!-- Footer --> <footer class="footer"> <div class="footer-content"> <div class="footer-logo">Elite English</div> <div class="footer-links"> <a href="#" class="footer-link">Home</a> <a href="#" class="footer-link">Courses</a> <a href="#" class="footer-link">About Us</a> <a href="#" class="footer-link">Contact</a> <a href="#" class="footer-link">Blog</a> <a href="#" class="footer-link">FAQ</a> </div> <div class="social-links"> <a href="#" class="social-link"><i class="fab fa-facebook-f"></i></a> <a href="#" class="social-link"><i class="fab fa-twitter"></i></a> <a href="#" class="social-link"><i class="fab fa-instagram"></i></a> <a href="#" class="social-link"><i class="fab fa-linkedin-in"></i></a> <a href="#" class="social-link"><i class="fab fa-youtube"></i></a> </div> <p class="copyright">© 2023 Elite English Academy. All rights reserved.</p> </div> </footer> </body> </html>
CSS
:root { --primary: #FFD700; --primary-dark: #FFC000; --primary-light: #FFF9C4; --dark: #212121; --light: #f5f5f5; --glass: rgba(255, 255, 255, 0.15); } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { background: linear-gradient(135deg, #f9f9f9, #f0f0f0); color: var(--dark); overflow-x: hidden; } /* Header Section */ .header { background: linear-gradient(90deg, var(--primary), var(--primary-dark)); padding: 1.5rem 5%; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); position: relative; z-index: 100; } .logo { font-size: 1.8rem; font-weight: 700; color: white; display: flex; align-items: center; } .logo i { margin-right: 10px; font-size: 2rem; } /* Hero Section */ .hero { height: 60vh; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; } .hero::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: url('https://images.unsplash.com/photo-1546410531-bb4caa6b424d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1471&q=80') center/cover; filter: brightness(0.7); z-index: -1; } .hero-content { text-align: center; color: white; padding: 0 5%; max-width: 800px; position: relative; transform: translateY(20px); opacity: 0; animation: elegantReveal 1s forwards 0.5s; } @keyframes elegantReveal { to { transform: translateY(0); opacity: 1; } } .hero h1 { font-size: 3.5rem; margin-bottom: 1rem; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); } .hero p { font-size: 1.2rem; margin-bottom: 2rem; line-height: 1.6; } .cta-button { display: inline-block; background: white; color: var(--primary-dark); padding: 12px 30px; border-radius: 50px; font-weight: 600; text-decoration: none; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); } .cta-button:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); } /* Contact Form Section */ .contact-section { padding: 5rem 5%; background: white; } .section-title { text-align: center; margin-bottom: 3rem; position: relative; } .section-title h2 { font-size: 2.5rem; color: var(--dark); display: inline-block; position: relative; } .section-title h2::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: var(--primary); border-radius: 2px; } .contact-container { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; } .contact-info { flex: 1; min-width: 300px; background: var(--glass); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 20px; padding: 2rem; box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); transition: all 0.3s ease; } .contact-info:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); } .info-item { display: flex; align-items: flex-start; margin-bottom: 1.5rem; } .info-icon { width: 50px; height: 50px; background: var(--primary-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 1rem; color: var(--primary-dark); font-size: 1.2rem; } .info-content h3 { font-size: 1.2rem; margin-bottom: 0.3rem; color: var(--dark); } .info-content p { color: #555; line-height: 1.5; } .contact-form { flex: 1; min-width: 300px; background: white; border-radius: 20px; padding: 2rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); position: relative; overflow: hidden; } .contact-form::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 10px; background: linear-gradient(90deg, var(--primary), var(--primary-dark)); } .form-group { margin-bottom: 1.5rem; position: relative; } .form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: #555; } .form-control { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 8px; font-size: 1rem; transition: all 0.3s ease; } .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); outline: none; } textarea.form-control { min-height: 150px; resize: vertical; } .submit-btn { background: linear-gradient(90deg, var(--primary), var(--primary-dark)); color: white; border: none; padding: 12px 30px; border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease; width: 100%; } .submit-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(255, 200, 0, 0.3); } /* Testimonials Section */ .testimonials { padding: 5rem 5%; background: var(--light); } .testimonial-carousel { max-width: 1000px; margin: 0 auto; position: relative; } .carousel-container { display: flex; overflow: hidden; border-radius: 20px; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); } .testimonial-slide { min-width: 100%; padding: 3rem; background: white; transition: transform 0.5s ease; text-align: center; position: relative; } .testimonial-slide::before { content: '\201C'; font-size: 5rem; color: var(--primary-light); position: absolute; top: 20px; left: 20px; line-height: 1; opacity: 0.5; } .testimonial-content { font-size: 1.1rem; line-height: 1.8; color: #555; margin-bottom: 2rem; position: relative; } .testimonial-author { display: flex; flex-direction: column; align-items: center; } .author-avatar { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; border: 3px solid var(--primary); margin-bottom: 1rem; } .author-name { font-weight: 700; color: var(--dark); margin-bottom: 0.3rem; } .author-title { color: #777; font-size: 0.9rem; } .carousel-nav { display: flex; justify-content: center; margin-top: 2rem; gap: 10px; } .carousel-dot { width: 12px; height: 12px; border-radius: 50%; background: #ddd; cursor: pointer; transition: all 0.3s ease; } .carousel-dot.active { background: var(--primary); transform: scale(1.2); } /* Features Section */ .features { padding: 5rem 5%; background: white; } .features-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; } .feature-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); transition: all 0.3s ease; position: relative; z-index: 1; } .feature-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 255, 255, 0.1)); z-index: -1; } .feature-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); } .feature-icon { width: 80px; height: 80px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 2rem auto 1.5rem; color: white; font-size: 2rem; } .feature-content { padding: 0 2rem 2rem; text-align: center; } .feature-content h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--dark); } .feature-content p { color: #666; line-height: 1.6; } /* Map Section */ .map-section { padding: 0 5% 5rem; } .map-container { height: 500px; border-radius: 20px; overflow: hidden; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); position: relative; } .map-container iframe { width: 100%; height: 100%; border: none; } .map-overlay { position: absolute; bottom: 20px; left: 20px; right: 20px; background: rgba(255, 255, 255, 0.9); padding: 1.5rem; border-radius: 15px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; } .map-overlay h3 { color: var(--dark); margin-bottom: 0.5rem; } .map-overlay p { color: #666; } .directions-btn { background: linear-gradient(90deg, var(--primary), var(--primary-dark)); color: white; border: none; padding: 10px 25px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; white-space: nowrap; } .directions-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(255, 200, 0, 0.3); } /* Footer */ .footer { background: var(--dark); color: white; padding: 3rem 5%; text-align: center; } .footer-content { max-width: 1200px; margin: 0 auto; } .footer-logo { font-size: 1.8rem; font-weight: 700; margin-bottom: 1.5rem; display: inline-block; } .footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem; margin-bottom: 2rem; } .footer-link { color: #bbb; text-decoration: none; transition: color 0.3s ease; } .footer-link:hover { color: var(--primary); } .social-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 2rem; } .social-link { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; color: white; transition: all 0.3s ease; } .social-link:hover { background: var(--primary); transform: translateY(-3px); } .copyright { color: #777; font-size: 0.9rem; } /* Velvet Caption Effect */ .velvet-caption { position: relative; display: inline-block; overflow: hidden; } .velvet-caption::after { content: attr(data-text); position: absolute; top: 0; left: 0; color: var(--primary); clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%); transition: clip-path 0.8s cubic-bezier(0.19, 1, 0.22, 1); } .velvet-caption:hover::after { clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); } /* Responsive Styles */ @media (max-width: 992px) { .hero h1 { font-size: 2.8rem; } } @media (max-width: 768px) { .hero { height: 50vh; } .hero h1 { font-size: 2.2rem; } .hero p { font-size: 1rem; } .section-title h2 { font-size: 2rem; } .testimonial-slide { padding: 2rem; } .map-overlay { flex-direction: column; align-items: flex-start; } } @media (max-width: 576px) { .hero { height: 60vh; } .hero h1 { font-size: 1.8rem; } .contact-info, .contact-form { min-width: 100%; } .footer-links { flex-direction: column; gap: 1rem; } }
JavaScript
// Testimonial Carousel const carousel = document.getElementById('testimonial-carousel'); const slides = document.querySelectorAll('.testimonial-slide'); const dots = document.querySelectorAll('.carousel-dot'); let currentIndex = 0; const slideCount = slides.length; function showSlide(index) { carousel.style.transform = `translateX(-${index * 100}%)`; // Update dots dots.forEach(dot => dot.classList.remove('active')); dots[index].classList.add('active'); currentIndex = index; } // Auto slide setInterval(() => { currentIndex = (currentIndex + 1) % slideCount; showSlide(currentIndex); }, 5000); // Dot navigation dots.forEach(dot => { dot.addEventListener('click', () => { const index = parseInt(dot.getAttribute('data-index')); showSlide(index); }); }); // Velvet Caption Effect const velvetCaptions = document.querySelectorAll('.velvet-caption'); velvetCaptions.forEach(caption => { caption.setAttribute('data-text', caption.textContent); }); // Form submission const contactForm = document.querySelector('.contact-form'); contactForm.addEventListener('submit', (e) => { e.preventDefault(); alert('Thank you for your message! We will get back to you soon.'); contactForm.reset(); }); // Directions button const directionsBtn = document.querySelector('.directions-btn'); directionsBtn.addEventListener('click', () => { window.open('https://www.google.com/maps/dir//123+Language+Street,+London,+UK/@51.500733,-0.127758,16z/data=!4m8!4m7!1m0!1m5!1m1!1s0x487604c38c8cd1d9:0xb78f2474b9a45aa9!2m2!1d-0.1277583!2d51.5007327', '_blank'); });
Output Preview
Desktop
Mobile
Fullscreen