Our 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="https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80" alt="Professional Yoga Practice" class="img-fluid about-image" onerror="this.src=''; this.alt='Image failed to load'; this.style.display='none';"> </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"> <img src="https://images.unsplash.com/photo-1571019613454-1cb2f99b2d8b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=400&q=80" alt="Inclusive Community" class="img-fluid mb-3" style="border-radius: 15px; height: 250px; object-fit: cover; width: 100%;" onerror="this.style.display='none';"> <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"> <img src="https://images.unsplash.com/photo-1545389336-cf090694435e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=400&q=80" alt="Holistic Wellness" class="img-fluid mb-3" style="border-radius: 15px; height: 250px; object-fit: cover; width: 100%;" onerror="this.style.display='none';"> <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"> <img src="https://images.unsplash.com/photo-1599901860904-17e6ed7083a0?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=400&q=80" alt="Authentic Teaching" class="img-fluid mb-3" style="border-radius: 15px; height: 250px; object-fit: cover; width: 100%;" onerror="this.style.display='none';"> <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="https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1000&q=80" alt="Peaceful Meditation" class="img-fluid vision-image mb-4" onerror="this.src=''; this.alt='Image failed to load'; this.style.display='none';"> </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:'976d52c8c5a94427',t:'MTc1NjQ4Mzg3Ny4wMDAwMDA='};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, #d4ea66 0%, #4ba295 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, #f8ffd2 0%, #9ffcdd 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); // 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