<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Halal World - Your Guide to a Halal Lifestyle</title>
    <!-- Use Tailwind CSS for rapid styling -->
    <script src="https://cdn.tailwindcss.com"></script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
        body {
            font-family: 'Inter', sans-serif;
            background-color: #f0fdf4;
        }
    </style>
</head>
<body class="antialiased text-gray-800">

    <!-- Navigation Bar -->
    <header class="bg-white shadow-sm sticky top-0 z-50">
        <div class="container mx-auto px-4 py-4 flex justify-between items-center">
            <!-- Logo and Site Name -->
            <a href="#" class="flex items-center space-x-2">
                <!-- A placeholder for the logo -->
                <div class="w-8 h-8 bg-green-600 rounded-full flex items-center justify-center">
                    <svg class="w-5 h-5 text-white" fill="currentColor" viewBox="0 0 20 20">
                        <path d="M10 2a8 8 0 100 16 8 8 0 000-16zM5.5 10a4.5 4.5 0 019 0h-2.5a2 2 0 00-4 0H5.5z"/>
                    </svg>
                </div>
                <span class="text-xl font-bold text-gray-900">Halal World</span>
            </a>
           
            <!-- Navigation Links - Hidden on small screens -->
            <nav class="hidden md:flex space-x-6">
                <a href="#" class="text-gray-600 hover:text-green-600 transition-colors">Home</a>
                <a href="#" class="text-gray-600 hover:text-green-600 transition-colors">Topics</a>
                <a href="#" class="text-gray-600 hover:text-green-600 transition-colors">Directory</a>
                <a href="#" class="text-gray-600 hover:text-green-600 transition-colors">Community</a>
                <a href="#" class="text-gray-600 hover:text-green-600 transition-colors">About</a>
            </nav>

            <!-- Mobile Menu Button -->
            <button class="md:hidden p-2 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500" id="mobile-menu-button">
                <svg class="w-6 h-6 text-gray-600" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                    <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16m-7 6h7"></path>
                </svg>
            </button>
        </div>
        <!-- Mobile Menu - hidden by default -->
        <div id="mobile-menu" class="hidden md:hidden bg-white px-4 py-2 border-t border-gray-200">
            <a href="#" class="block py-2 text-gray-600 hover:text-green-600 transition-colors">Home</a>
            <a href="#" class="block py-2 text-gray-600 hover:text-green-600 transition-colors">Topics</a>
            <a href="#" class="block py-2 text-gray-600 hover:text-green-600 transition-colors">Directory</a>
            <a href="#" class="block py-2 text-gray-600 hover:text-green-600 transition-colors">Community</a>
            <a href="#" class="block py-2 text-gray-600 hover:text-green-600 transition-colors">About</a>
        </div>
    </header>

    <!-- Hero Section -->
    <main class="container mx-auto px-4 py-12 md:py-24">
        <section class="text-center">
            <h1 class="text-4xl md:text-6xl font-extrabold text-gray-900 mb-4 leading-tight">Your Trusted Source for a <span class="text-green-600">Halal Lifestyle</span></h1>
            <p class="text-lg md:text-xl text-gray-600 max-w-2xl mx-auto mb-8">Halal World is a comprehensive platform providing authentic knowledge, resources, and a trusted directory of Halal-certified products and services.</p>
            <div class="flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-4">
                <button class="bg-green-600 text-white font-bold py-3 px-6 rounded-lg shadow-lg hover:bg-green-700 transition-colors">Explore Topics</button>
                <button class="bg-white text-green-600 font-bold py-3 px-6 rounded-lg shadow-lg border border-green-600 hover:bg-green-50 transition-colors">Find Halal Products</button>
            </div>
        </section>
    </main>

    <!-- Featured Topics Section -->
    <section class="bg-white py-12 md:py-16">
        <div class="container mx-auto px-4">
            <h2 class="text-3xl font-bold text-center text-gray-900 mb-8">Featured Topics</h2>
            <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
                <!-- Topic Card 1 -->
                <div class="bg-gray-50 rounded-lg p-6 shadow-md hover:shadow-xl transition-shadow">
                    <h3 class="text-xl font-bold text-gray-900 mb-2">The Pillars of Islam</h3>
                    <p class="text-gray-600">An in-depth guide to the fundamental principles that form the foundation of our faith.</p>
                </div>
                <!-- Topic Card 2 -->
                <div class="bg-gray-50 rounded-lg p-6 shadow-md hover:shadow-xl transition-shadow">
                    <h3 class="text-xl font-bold text-gray-900 mb-2">Halal and Ethical Finance</h3>
                    <p class="text-gray-600">Understand the rules and best practices for managing your wealth according to Islamic principles.</p>
                </div>
                <!-- Topic Card 3 -->
                <div class="bg-gray-50 rounded-lg p-6 shadow-md hover:shadow-xl transition-shadow">
                    <h3 class="text-xl font-bold text-gray-900 mb-2">A Guide to Halal Nutrition</h3>
                    <p class="text-gray-600">Everything you need to know about Halal food, ingredients, and certification processes.</p>
                </div>
            </div>
        </div>
    </section>

    <!-- Newsletter Section -->
    <section class="bg-green-600 py-12 md:py-16">
        <div class="container mx-auto px-4 text-center">
            <h2 class="text-3xl font-bold text-white mb-4">Stay Connected</h2>
            <p class="text-white text-lg max-w-2xl mx-auto mb-6">Join our community and receive the latest articles, updates, and resources directly in your inbox.</p>
            <form class="flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-4">
                <input type="email" placeholder="Enter your email address" class="w-full sm:w-80 px-4 py-3 rounded-lg text-gray-800 placeholder-gray-500 focus:outline-none focus:ring-2 focus:ring-white">
                <button type="submit" class="bg-white text-green-600 font-bold py-3 px-6 rounded-lg hover:bg-gray-100 transition-colors">Subscribe Now</button>
            </form>
        </div>
    </section>

    <!-- Footer -->
    <footer class="bg-gray-900 text-white py-8">
        <div class="container mx-auto px-4 text-center">
            <p>&copy; 2025 Halal World. All rights reserved.</p>
        </div>
    </footer>

    <script>
        // JavaScript for mobile menu toggle
        const mobileMenuButton = document.getElementById('mobile-menu-button');
        const mobileMenu = document.getElementById('mobile-menu');

        mobileMenuButton.addEventListener('click', () => {
            mobileMenu.classList.toggle('hidden');
        });
    </script>

</body>
</html>