Mission Vission Section Yoga
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 - Serenity Yoga Studio</title> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Dancing+Script:wght@400;500;600;700&display=swap" rel="stylesheet"> </head> <body> <!-- Hero Section --> <section class="hero-section"> <div class="floating-elements"> <div class="floating-circle circle-1"></div> <div class="floating-circle circle-2"></div> <div class="floating-circle circle-3"></div> </div> <div class="hero-content"> <h1 class="hero-title">Contact Serenity Yoga</h1> <p class="typing-text" id="typingText"></p> </div> </section> <!-- About Section --> <section class="about-section"> <div class="container"> <div class="row align-items-center"> <div class="col-lg-6 fade-in"> <h2 class="section-tagline">Connect With Your Inner Peace</h2> <p class="lead mb-4">At Serenity Yoga Studio, we believe that yoga is more than just physical exercise—it's a journey of self-discovery, healing, and transformation.</p> <p class="mb-4">Our experienced instructors guide you through ancient practices adapted for modern life, helping you find balance, strength, and serenity in every breath.</p> <p>Whether you're a beginner taking your first steps or an advanced practitioner deepening your practice, we're here to support your unique journey.</p> </div> <div class="col-lg-6 fade-in"> <img src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400'><defs><linearGradient id='bg' x1='0%' y1='0%' x2='100%' y2='100%'><stop offset='0%' stop-color='%23667eea'/><stop offset='100%' stop-color='%23764ba2'/></linearGradient></defs><rect width='600' height='400' fill='url(%23bg)'/><g fill='white' opacity='0.9'><circle cx='300' cy='200' r='80' fill='none' stroke='white' stroke-width='3'/><path d='M300,120 Q250,160 300,200 Q350,160 300,120' fill='white' opacity='0.7'/><text x='300' y='320' text-anchor='middle' font-family='Arial' font-size='24' fill='white'>Yoga Practice</text></g></svg>" alt="Yoga Practice" class="img-fluid about-image"> </div> </div> </div> </section> <!-- Mission Section --> <section class="mission-section"> <div class="container"> <h2 class="professional-headline fade-in">Our Mission</h2> <div class="row"> <div class="col-lg-8 mx-auto fade-in"> <p class="lead text-center mb-5">To create a welcoming sanctuary where individuals of all backgrounds and abilities can explore the transformative power of yoga, fostering physical wellness, mental clarity, and spiritual growth in a supportive community environment.</p> </div> </div> <div class="row"> <div class="col-md-4 fade-in"> <div class="text-center mb-4"> <h4 class="mb-3">Inclusive Community</h4> <p>We welcome practitioners of all levels, ages, and backgrounds, creating a space where everyone feels valued and supported on their yoga journey.</p> </div> </div> <div class="col-md-4 fade-in"> <div class="text-center mb-4"> <h4 class="mb-3">Holistic Wellness</h4> <p>Our approach integrates physical postures, breathing techniques, and mindfulness practices to nurture complete well-being.</p> </div> </div> <div class="col-md-4 fade-in"> <div class="text-center mb-4"> <h4 class="mb-3">Authentic Teaching</h4> <p>We honor traditional yoga wisdom while making it accessible and relevant for contemporary life and modern challenges.</p> </div> </div> </div> </div> </section> <!-- Vision Section --> <section class="vision-section"> <div class="container"> <h2 class="animated-headline">Our Vision</h2> <div class="row align-items-center"> <div class="col-lg-6 fade-in"> <img src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400'><defs><linearGradient id='sunset' x1='0%' y1='0%' x2='100%' y2='100%'><stop offset='0%' stop-color='%23ffecd2'/><stop offset='100%' stop-color='%23fcb69f'/></linearGradient></defs><rect width='600' height='400' fill='url(%23sunset)'/><g fill='white' opacity='0.8'><circle cx='300' cy='150' r='60' fill='none' stroke='white' stroke-width='4'/><path d='M240,200 Q300,160 360,200' fill='none' stroke='white' stroke-width='3'/><path d='M220,220 Q300,180 380,220' fill='none' stroke='white' stroke-width='2'/><text x='300' y='320' text-anchor='middle' font-family='Arial' font-size='20' fill='white'>Mindful Living</text></g></svg>" alt="Vision" class="img-fluid vision-image mb-4"> </div> <div class="col-lg-6 fade-in"> <h3 class="mb-4">Transforming Lives Through Yoga</h3> <p class="mb-4">We envision a world where yoga serves as a bridge to inner peace, physical vitality, and conscious living. Our studio aims to be a beacon of light in our community, inspiring positive change that ripples outward.</p> <p class="mb-4">Through our classes, workshops, and community events, we strive to cultivate mindfulness, compassion, and connection—both with ourselves and with others.</p> <p>Together, we're building a more peaceful, healthy, and harmonious world, one breath at a time.</p> </div> </div> </div> </section> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script> <script>(function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'976d43ea40e817d4',t:'MTc1NjQ4MzI2OC4wMDAwMDA='};var a=document.createElement('script');a.nonce='';a.src='/cdn-cgi/challenge-platform/scripts/jsd/main.js';document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script></body> </html>
CSS
* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Poppins', sans-serif; line-height: 1.6; color: #333; overflow-x: hidden; } /* Hero Section */ .hero-section { height: 100vh; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; } .hero-content { text-align: center; color: white; z-index: 2; } .hero-title { font-size: 4rem; font-weight: 700; margin-bottom: 1rem; font-family: 'Dancing Script', cursive; } .typing-text { font-size: 1.5rem; font-weight: 300; border-right: 3px solid white; padding-right: 5px; animation: blink 1s infinite; } @keyframes blink { 0%, 50% { border-color: white; } 51%, 100% { border-color: transparent; } } .floating-elements { position: absolute; width: 100%; height: 100%; overflow: hidden; } .floating-circle { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.1); animation: float 6s ease-in-out infinite; } .circle-1 { width: 80px; height: 80px; top: 20%; left: 10%; animation-delay: 0s; } .circle-2 { width: 120px; height: 120px; top: 60%; right: 15%; animation-delay: 2s; } .circle-3 { width: 60px; height: 60px; bottom: 30%; left: 20%; animation-delay: 4s; } @keyframes float { 0%, 100% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-20px) rotate(180deg); } } /* About Section */ .about-section { padding: 100px 0; background: linear-gradient(45deg, #f8f9fa, #e9ecef); } .about-image { border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); transition: transform 0.3s ease; } .about-image:hover { transform: translateY(-10px); } .section-tagline { font-size: 3rem; font-weight: 700; color: #667eea; margin-bottom: 2rem; font-family: 'Dancing Script', cursive; } /* Mission Section */ .mission-section { padding: 100px 0; background: white; } .professional-headline { font-size: 2.5rem; font-weight: 600; color: #333; margin-bottom: 3rem; text-align: center; position: relative; } .professional-headline::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 100px; height: 4px; background: linear-gradient(90deg, #667eea, #764ba2); border-radius: 2px; } /* Vision Section */ .vision-section { padding: 100px 0; background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); } .animated-headline { font-size: 2.5rem; font-weight: 600; color: #333; margin-bottom: 3rem; text-align: center; opacity: 0; transform: translateY(50px); animation: slideUp 1s ease forwards; } @keyframes slideUp { to { opacity: 1; transform: translateY(0); } } .vision-image { border-radius: 15px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); transition: all 0.3s ease; } .vision-image:hover { transform: scale(1.05); box-shadow: 0 25px 50px rgba(0,0,0,0.15); } /* Responsive Design */ @media (max-width: 768px) { .hero-title { font-size: 2.5rem; } .typing-text { font-size: 1.2rem; } .section-tagline { font-size: 2rem; } .professional-headline, .animated-headline { font-size: 1.8rem; } .contact-form { padding: 30px; } } /* Scroll Animations */ .fade-in { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; } .fade-in.visible { opacity: 1; transform: translateY(0); }
JavaScript
// Typing Effect const texts = [ "Find your inner balance and strength", "Transform your body, mind, and spirit", "Join our peaceful yoga community", "Discover the power of mindful movement" ]; let textIndex = 0; let charIndex = 0; let isDeleting = false; const typingElement = document.getElementById('typingText'); function typeText() { const currentText = texts[textIndex]; if (isDeleting) { typingElement.textContent = currentText.substring(0, charIndex - 1); charIndex--; } else { typingElement.textContent = currentText.substring(0, charIndex + 1); charIndex++; } let typeSpeed = isDeleting ? 50 : 100; if (!isDeleting && charIndex === currentText.length) { typeSpeed = 2000; isDeleting = true; } else if (isDeleting && charIndex === 0) { isDeleting = false; textIndex = (textIndex + 1) % texts.length; typeSpeed = 500; } setTimeout(typeText, typeSpeed); } // Start typing effect typeText(); // Scroll animations function isElementInViewport(el) { const rect = el.getBoundingClientRect(); return ( rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && rect.right <= (window.innerWidth || document.documentElement.clientWidth) ); } function handleScrollAnimations() { const elements = document.querySelectorAll('.fade-in'); elements.forEach(element => { if (isElementInViewport(element)) { element.classList.add('visible'); } }); } // Trigger animations on scroll window.addEventListener('scroll', handleScrollAnimations); window.addEventListener('load', handleScrollAnimations); // Form submission document.getElementById('contactForm').addEventListener('submit', function(e) { e.preventDefault(); // Get form data const formData = { firstName: document.getElementById('firstName').value, lastName: document.getElementById('lastName').value, email: document.getElementById('email').value, phone: document.getElementById('phone').value, interest: document.getElementById('interest').value, message: document.getElementById('message').value }; // Simulate form submission const submitBtn = e.target.querySelector('button[type="submit"]'); const originalText = submitBtn.textContent; submitBtn.textContent = 'Sending...'; submitBtn.disabled = true; setTimeout(() => { alert('Thank you for your message! We\'ll get back to you within 24 hours.'); this.reset(); submitBtn.textContent = originalText; submitBtn.disabled = false; }, 2000); }); // Smooth scrolling for any internal links document.querySelectorAll('a[href^="#"]').forEach(anchor => { anchor.addEventListener('click', function (e) { e.preventDefault(); const target = document.querySelector(this.getAttribute('href')); if (target) { target.scrollIntoView({ behavior: 'smooth', block: 'start' }); } }); });
Output Preview
Desktop
Mobile
Fullscreen