
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>German Learning Education Center</title>
    <style>
        :root {
            --primary: #FFCB05;
            --secondary: #E63946;
            --dark: #292F36;
            --light: #F8F9FA;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: #333;
            background-color: var(--light);
        }

        header {
            background-color: var(--dark);
            padding: 1rem 5%;
            color: white;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background-color 0.3s;
        }

        header.scrolled {
            background-color: rgba(41, 47, 54, 0.95);
            padding: 0.6rem 5%;
        }

        .logo {
            font-weight: 700;
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-icon {
            color: var(--primary);
        }

        nav ul {
            display: flex;
            list-style: none;
        }

        nav ul li {
            margin-left: 2rem;
        }

        nav ul li a {
            color: white;
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 4px;
            transition: background-color 0.3s;
        }

        nav ul li a:hover, nav ul li a.active {
            background-color: rgba(255, 203, 5, 0.2);
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }

        .hero {
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="600" viewBox="0 0 1200 600"><rect width="1200" height="600" fill="%23000000"/><path d="M0,200 Q400,100 800,200 T1200,200 L1200,600 L0,600 Z" fill="%23E63946"/></svg>');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: white;
            padding: 0 20%;
        }

        .hero-content {
            max-width: 800px;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .hero p {
            font-size: 1.3rem;
            margin-bottom: 2rem;
        }

        .btn {
            display: inline-block;
            background-color: var(--primary);
            color: var(--dark);
            padding: 12px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            margin: 0 10px;
            transition: all 0.3s;
            border: 2px solid var(--primary);
        }

        .btn:hover {
            background-color: transparent;
            color: var(--primary);
        }

        .section {
            padding: 80px 0;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section-title {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-title h2 {
            font-size: 2.5rem;
            color: var(--dark);
            position: relative;
            display: inline-block;
            margin-bottom: 1rem;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            width: 80px;
            height: 4px;
            background-color: var(--primary);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }

        .section-title p {
            font-size: 1.2rem;
            color: #666;
            max-width: 800px;
            margin: 0 auto;
        }

        .features-container {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
        }

        .feature-box {
            flex: 1 1 calc(33.333% - 30px);
            min-width: 300px;
            background: white;
            padding: 30px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .feature-box:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }

        .feature-icon {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 15px;
        }

        .why-us, .testimonials {
            background-color: rgba(230, 57, 70, 0.03);
        }

        .testimonial {
            text-align: center;
            padding: 20px;
            margin: 20px;
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            position: relative;
        }

        .testimonial-text {
            font-style: italic;
            margin-bottom: 20px;
            font-size: 1.1rem;
            color: #555;
        }

        .testimonial-author {
            font-weight: bold;
            color: var(--dark);
        }

        .cta-section {
            background-color: var(--dark);
            color: white;
            text-align: center;
            padding: 80px 0;
        }

        .cta-section h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }

        .cta-section p {
            max-width: 600px;
            margin: 0 auto 30px;
            font-size: 1.2rem;
        }

        .btn-outline {
            display: inline-block;
            background-color: transparent;
            color: white;
            padding: 12px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            border: 2px solid var(--primary);
            margin: 0 10px;
            transition: all 0.3s;
        }

        .btn-outline:hover {
            background-color: var(--primary);
            color: white;
        }

        footer {
            background-color: var(--dark);
            color: white;
            padding: 40px 0;
            text-align: center;
        }

        .footer-text {
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
        }

        .social-icons {
            display: flex;
            justify-content: center;
            margin: 20px 0;
        }

        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: white;
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 0 10px;
            color: var(--dark);
            text-decoration: none;
            transition: all 0.3s;
        }

        .social-icon:hover {
            background-color: var(--primary);
            color: white;
        }

        /* Touch device menu */
        .mobile-menu {
            position: fixed;
            top: 0;
            right: -300px;
            height: 100%;
            width: 300px;
            background-color: var(--dark);
            z-index: 1001;
            transition: right 0.3s ease-in-out;
            box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
            padding: 20px;
            overflow-y: auto;
        }

        .mobile-menu.active {
            right: 0;
        }

        .mobile-menu ul {
            list-style: none;
        }

        .mobile-menu ul li {
            margin: 20px 0;
        }

        .mobile-menu ul li a {
            color: white;
            text-decoration: none;
            font-size: 1.2rem;
            display: block;
            padding: 10px 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            transition: all 0.3s;
        }

        .mobile-menu ul li a:hover, .mobile-menu ul li a.active {
            color: var(--primary);
        }

        .close-menu {
            position: absolute;
            top: 15px;
            right: 15px;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }

        /* Menu colors on mobile view */
        .mobile-menu-btn, .close-menu {
            display: none;
        }

        @media (max-width: 1024px) {
            .hero h1 {
                font-size: 2.8rem;
            }

            .hero p {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 768px) {
            .logo {
                font-size: 1.2rem;
            }

            nav {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }

            .hero h1 {
                font-size: 2.3rem;
            }

            .hero p {
                font-size: 1rem;
            }

            .hero-content {
                padding: 120px 20px;
                max-width: none;
            }

            .mobile-menu {
                height: 100vh;
            }

            .feature-box {
                flex: 1 1 100%;
            }
        }

        @media (max-width: 576px) {
            .hero {
                height: auto;
                min-height: 100vh;
                padding: 20px 0;
            }

            .section {
                padding: 60px 0;
            }

            .section-title h2 {
                font-size: 2rem;
            }

            .btn, .btn-outline {
                padding: 10px 20px;
                display: block;
                margin: 10px auto;
                width: 80%;
                font-size: 1rem;
            }
        }
    </style>
</head>
<body>
    <header id="header">
        <div class="logo">
            <span class="logo-icon">🇩🇪</span>
            <span>German Learning Center</span>
        </div>
        <nav>
            <ul>
                <li><a href="#home" class="active">Home</a></li>
                <li><a href="#about">About</a></li>
                <li><a href="#courses">Courses</a></li>
                <li><a href="#testimonials">Testimonials</a></li>
                <li><a href="#contact">Contact</a></li>
            </ul>
        </nav>
        <button class="mobile-menu-btn">☰</button>
    </header>

    <div class="mobile-menu" id="mobile-menu">
        <button class="close-menu" id="close-menu">×</button>
        <ul>
            <li><a href="#home" class="active">Home</a></li>
            <li><a href="#about">About</a></li>
            <li><a href="#courses">Courses</a></li>
            <li><a href="#testimonials">Testimonials</a></li>
            <li><a href="#contact">Contact</a></li>
        </ul>
    </div>

    <section id="home" class="hero">
        <div class="hero-content">
            <h1>Herzlich Willkommen!</h1>
            <p>Welcome to your premier German Learning Education Center – your gateway to mastering the German language and immersing yourself in its rich culture. Whether you're a complete beginner eager to say 'Guten Tag,' a student preparing for academic or professional pursuits, or an enthusiast seeking deeper cultural understanding, our center is designed to guide you every step of the way.</p>
            <p>We believe that learning German should be an engaging and rewarding journey, and we've crafted our programs to make it just that.</p>
            <div>
                <a href="#courses" class="btn">Start Learning</a>
                <a href="#contact" class="btn btn-outline">Contact Us</a>
            </div>
        </div>
    </section>

    <section id="unlock-potential" class="section">
        <div class="container">
            <div class="section-title">
                <h2>Unlock Your German Potential</h2>
                <p>Our comprehensive curriculum spans all proficiency levels, from foundational A1 to advanced C2, ensuring a tailored learning path for everyone.</p>
            </div>
            <div class="features-container">
                <div class="feature-box">
                    <div class="feature-icon">🎯</div>
                    <h3>Dynamische Intensive Kurse</h3>
                    <p>Intensive courses designed to accelerate your language learning with focused, practical instruction.</p>
                </div>
                <div class="feature-box">
                    <div class="feature-icon">🌙</div>
                    <h3>Flexible Abendkurse</h3>
                    <p>Catering to busy schedules, our evening courses provide quality learning without disrupting your day.</p>
                </div>
                <div class="feature-box">
                    <div class="feature-icon">💼</div>
                    <h3>Spezialisierte Geschäftsdeutsch</h3>
                    <p>Business German programs to enhance your professional communication in international settings.</p>
                </div>
                <div class="feature-box">
                    <div class="feature-icon">📝</div>
                    <h3>Exam Preparation</h3>
                    <p>Specialized preparation for certificates like Goethe-Zertifikat and TestDaF for academic and professional success.</p>
                </div>
            </div>
        </div>
    </section>

    <section id="why-us" class="section why-us">
        <div class="container">
            <div class="section-title">
                <h2>Why Choose Our German Learning Center?</h2>
                <p>We stand out as a beacon of German language education, driven by a passion for teaching and a commitment to your success.</p>
            </div>
            <div class="features-container">
                <div class="feature-box">
                    <div class="feature-icon">👩‍🏫</div>
                    <h3>Native-Sprecher Lehrkräfte</h3>
                    <p>Highly qualified, native-speaking instructors with years of experience and enthusiasm, ensuring authentic language exposure.</p>
                </div>
                <div class="feature-box">
                    <div class="feature-icon">👥</div>
                    <h3>Kleine Klassengrößen</h3>
                    <p>Maintaining small class sizes so every student receives individual attention and ample practice opportunities.</p>
                </div>
                <div class="feature-box">
                    <div class="feature-icon">🌎</div>
                    <h3>Kulturelle Aktivitäten</h3>
                    <p>Beyond the classroom, we organize cultural events and workshops to experience Germany's vibrant spirit firsthand.</p>
                </div>
                <div class="feature-box">
                    <div class="feature-icon">📖</div>
                    <h3>Interaktive Methodik</h3>
                    <p>Using interactive and communicative teaching methodologies, we make learning effective and enjoyable.</p>
                </div>
            </div>
        </div>
    </section>

    <section id="testimonials" class="section testimonials">
        <div class="container">
            <div class="section-title">
                <h2>Hear From Our Happy Learners</h2>
                <p>The success stories of our students are what drive us to continually improve our curriculum and teaching methods.</p>
            </div>
            <div class="features-container">
                <div class="testimonial">
                    <p class="testimonial-text">"Learning German felt daunting, but this center made it incredibly fun and manageable. I passed my B1 exam with confidence and made wonderful friends!"</p>
                    <p class="testimonial-author">— Sarah M.</p>
                </div>
                <div class="testimonial">
                    <p class="testimonial-text">"The teachers are truly fantastic, and the small class size really helped me improve my speaking skills quickly. Highly recommend!"</p>
                    <p class="testimonial-author">— David L.</p>
                </div>
            </div>
        </div>
    </section>

    <section class="section">
        <div class="container">
            <div class="section-title">
                <h2>Begin Your German Adventure Today</h2>
                <p>Ready to embark on your journey to fluency? Explore our diverse course offerings and find the perfect program that fits your goals and schedule.</p>
            </div>
        </div>
    </section>

    <section id="cta" class="cta-section">
        <div class="container">
            <h2>Join Our Vibrant Community</h2>
            <p>Beyond our structured courses, become part of a dynamic network of German learners and enthusiasts.</p>
            <a href="#contact" class="btn btn-outline">Contact Us</a>
        </div>
    </section>

    <footer id="contact">
        <div class="container">
            <p class="footer-text">
                German Learning Education Center<br>
                Your gateway to mastering the German language.<br>
                Email: info@german-learning-center.com<br>
                Phone: +123 456 7890<br>
            </p>
            <div class="social-icons">
                <a href="#" class="social-icon">f</a>
                <a href="#" class="social-icon">t</a>
                <a href="#" class="social-icon">in</a>
                <a href="#" class="social-icon">ig</a>
            </div>
            <p>© 2023 German Learning Education Center. All rights reserved.</p>
        </div>
    </footer>

    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // Header scroll effect
            const header = document.getElementById('header');
            const mobileMenuBtn = document.querySelector('.mobile-menu-btn');
            const closeMenuBtn = document.getElementById('close-menu');
            const mobileMenu = document.getElementById('mobile-menu');
            const navLinks = document.querySelectorAll('nav a, .mobile-menu a');
            const smoothScrollLinks = document.querySelectorAll('a[href^="#"]');
            
            window.addEventListener('scroll', () => {
                if (window.scrollY > 100) {
                    header.classList.add('scrolled');
                } else {
                    header.classList.remove('scrolled');
                }
            });
            
            // Mobile menu toggle
            mobileMenuBtn.addEventListener('click', () => {
                mobileMenu.classList.add('active');
                document.body.style.overflow = 'hidden';
                
                // Highlight active nav link on mobile
                updateActiveLink();
            });
            
            closeMenuBtn.addEventListener('click', () => {
                mobileMenu.classList.remove('active');
                document.body.style.overflow = '';
            });
            
            function updateActiveLink() {
                const sections = document.querySelectorAll('section');
                const navHeight = header.offsetHeight;
                
                let currentSection = '';
                
                sections.forEach(section => {
                    const sectionTop = section.offsetTop - navHeight;
                    const sectionHeight = section.offsetHeight;
                    const sectionId = section.getAttribute('id');
                    
                    if (window.scrollY >= sectionTop && window.scrollY < sectionTop + sectionHeight) {
                        currentSection = sectionId;
                    }
                });
                
                navLinks.forEach(link => {
                    link.classList.remove('active');
                    if (link.getAttribute('href') === '#' + currentSection) {
                        link.classList.add('active');
                    }
                });
            }
            
            // Smooth scrolling for in-page anchor links
            smoothScrollLinks.forEach(link => {
                link.addEventListener('click', function(e) {
                    if (this.getAttribute('href') === '#') return;
                    
                    e.preventDefault();
                    
                    // Close mobile menu if open
                    mobileMenu.classList.remove('active');
                    
                    // Record active navigation
                    updateActiveLink();
                    
                    const targetId = this.getAttribute('href');
                    if (targetId === '#') return;
                    
                    const targetElement = document.querySelector(targetId);
                    if (targetElement) {
                        // Ensure the target element is in view after scrolling
                        const targetPosition = targetElement.getBoundingClientRect().top + window.pageYOffset;
                        const offsetPosition = targetPosition - window.innerHeight + 100;
                        
                        window.scrollTo({
                            top: offsetPosition,
                            behavior: 'smooth'
                        });
                    }
                });
            });
            
            // Highlight active nav links based on scroll position
            window.addEventListener('scroll', updateActiveLink);
            
            // Initial call to set active link
            updateActiveLink();
        });
    </script>
</body>
</html>
