
        :root {
            --primary: #8B0000;
            --primary-light: #A52A2A;
            --secondary: #1e7b1e;
            --accent: #D4AF37;
            --light: #F8F5F2;
            --dark: #2C2C2C;
            --text: #333333;
            --gray: #6C757D;
            --premium-gold: #C9A96E;
            --premium-dark: #1a1a1a;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html {
            scroll-behavior: smooth;
        }
        
        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--light);
            color: var(--text);
            overflow-x: hidden;
            -webkit-tap-highlight-color: transparent;
            line-height: 1.6;
        }
        
        h1, h2, h3, h4, h5 {
            font-family: 'Playfair Display', serif;
            font-weight: 600;
            line-height: 1.3;
        }
        
        /* Premium Mobile Header */
        header {
            background: rgba(255, 255, 255, 0.98);
            box-shadow: 0 2px 30px rgba(0,0,0,0.1);
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            backdrop-filter: blur(15px);
            border-bottom: 1px solid rgba(255,255,255,0.2);
        }
        
        .top-bar {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            padding: 12px 0;
            text-align: center;
            font-size: 0.85rem;
            position: relative;
            overflow: hidden;
            transition: all 0.5s ease;
            box-shadow: 0 2px 10px rgba(139, 0, 0, 0.2);
        }
        
        .top-bar.hidden {
            transform: translateY(-100%);
            opacity: 0;
        }
        
        .top-bar::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            animation: shimmer 3s infinite;
        }
        
        @keyframes shimmer {
            0% { left: -100%; }
            100% { left: 100%; }
        }
        
        .halal-badge {
            background: var(--secondary);
            padding: 6px 14px;
            border-radius: 20px;
            font-weight: 600;
            margin-left: 10px;
            display: inline-flex;
            align-items: center;
            animation: pulse 3s infinite;
            box-shadow: 0 2px 10px rgba(34, 139, 34, 0.3);
            font-size: 0.8rem;
            letter-spacing: 0.5px;
        }
        
        .halal-badge i {
            margin-right: 5px;
        }
        
        @keyframes pulse {
            0% { transform: scale(1); box-shadow: 0 2px 10px rgba(34, 139, 34, 0.3); }
            50% { transform: scale(1.05); box-shadow: 0 4px 15px rgba(34, 139, 34, 0.5); }
            100% { transform: scale(1); box-shadow: 0 2px 10px rgba(34, 139, 34, 0.3); }
        }
        
        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 5%;
            transition: all 0.4s ease;
        }
        
        .logo {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--primary);
            display: flex;
            align-items: center;
            text-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .logo span {
            color: var(--secondary);
            position: relative;
        }
        
        .logo span::after {
            content: '';
            position: absolute;
            bottom: 2px;
            left: 0;
            width: 100%;
            height: 2px;
            background: var(--accent);
            transform: scaleX(0);
            transform-origin: right;
            transition: transform 0.3s ease;
        }
        
        .logo:hover span::after {
            transform: scaleX(1);
            transform-origin: left;
        }
        
        .logo i {
            margin-right: 8px;
            font-size: 1.4rem;
            color: var(--accent);
            filter: drop-shadow(0 2px 3px rgba(0,0,0,0.1));
        }
        
        /* Premium Mobile Navigation */
        .mobile-menu-btn {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 28px;
            height: 22px;
            background: transparent;
            border: none;
            cursor: pointer;
            z-index: 1001;
            position: relative;
        }
        
        .mobile-menu-btn span {
            display: block;
            height: 2px;
            width: 100%;
            background: var(--premium-dark);
            border-radius: 2px;
            transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
            transform-origin: center;
        }
        
        .mobile-menu-btn.active span:nth-child(1) {
            transform: translateY(10px) rotate(45deg);
            background: var(--primary);
        }
        
        .mobile-menu-btn.active span:nth-child(2) {
            opacity: 0;
            transform: scale(0);
        }
        
        .mobile-menu-btn.active span:nth-child(3) {
            transform: translateY(-10px) rotate(-45deg);
            background: var(--primary);
        }
        
        nav {
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(20px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transform: translateY(-20px);
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            border-top: 1px solid rgba(0,0,0,0.05);
        }
        
        nav.active {
            transform: translateY(0);
            opacity: 1;
            visibility: visible;
        }
        
        nav ul {
            list-style: none;
            padding: 20px 0;
        }
        
        nav ul li {
            margin: 0;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            position: relative;
            overflow: hidden;
        }
        
        nav ul li:last-child {
            border-bottom: none;
        }
        
        nav ul li a {
            display: block;
            padding: 15px 25px;
            text-decoration: none;
            color: var(--premium-dark);
            font-weight: 500;
            transition: all 0.3s ease;
            font-size: 1rem;
            position: relative;
        }
        
        nav ul li a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(139, 0, 0, 0.05), transparent);
            transition: left 0.5s ease;
        }
        
        nav ul li a:hover::before {
            left: 100%;
        }
        
        nav ul li a:hover {
            color: var(--primary);
            background: rgba(139, 0, 0, 0.03);
            padding-left: 30px;
        }
        
        nav ul li a i {
            margin-right: 10px;
            width: 20px;
            text-align: center;
            color: var(--primary);
        }
        
        .header-actions {
            display: flex;
            align-items: center;
        }
        
        .search-bar {
            position: relative;
            margin-right: 15px;
        }
        
        .search-bar input {
            padding: 10px 15px 10px 40px;
            border: 1px solid rgba(0,0,0,0.1);
            border-radius: 25px;
            width: 150px;
            transition: all 0.4s ease;
            font-size: 0.9rem;
            background: rgba(255,255,255,0.8);
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .search-bar input:focus {
            width: 180px;
            border-color: var(--primary);
            box-shadow: 0 4px 15px rgba(139, 0, 0, 0.15);
            outline: none;
        }
        
        .search-bar i {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray);
            font-size: 0.95rem;
        }
        
        .cart-icon, .user-icon {
            margin-left: 15px;
            font-size: 1.2rem;
            cursor: pointer;
            color: var(--premium-dark);
            transition: all 0.3s ease;
            position: relative;
        }
        
        .cart-icon:hover, .user-icon:hover {
            color: var(--primary);
            transform: translateY(-2px);
        }
        
        .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            font-size: 0.7rem;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: 600;
            box-shadow: 0 2px 5px rgba(139, 0, 0, 0.3);
            animation: bounce 2s infinite;
        }
        
        @keyframes bounce {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }
        
        /* Premium Hero Section with Parallax */
        .hero {
            background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1604503468506-a8da13d82791?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            color: white;
            padding: 180px 5% 120px;
            text-align: center;
            position: relative;
            overflow: hidden;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.6) 100%);
        }
        
        .hero-content {
            position: relative;
            z-index: 2;
            max-width: 800px;
            margin: 0 auto;
            opacity: 0;
            transform: translateY(40px);
            animation: fadeUp 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
        }
        
        @keyframes fadeUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .hero h1 {
            font-size: 2.8rem;
            margin-bottom: 20px;
            line-height: 1.2;
            text-shadow: 0 2px 10px rgba(0,0,0,0.3);
            font-weight: 700;
        }
        
        .hero p {
            font-size: 1.1rem;
            margin: 0 auto 35px;
            max-width: 600px;
            line-height: 1.7;
            opacity: 0.9;
        }
        
        .cta-button {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            border: none;
            padding: 16px 35px;
            font-size: 1.05rem;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            font-weight: 600;
            box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
            position: relative;
            overflow: hidden;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            letter-spacing: 0.5px;
        }
        
        .cta-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.7s ease;
        }
        
        .cta-button:active {
            transform: scale(0.96);
            box-shadow: 0 4px 15px rgba(139, 0, 0, 0.5);
        }
        
        .cta-button:hover::before {
            left: 100%;
        }
        
        /* Premium Features Section */
        .features {
            padding: 100px 5%;
            background: white;
            position: relative;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 60px;
            font-size: 2.2rem;
            color: var(--premium-dark);
            position: relative;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            border-radius: 2px;
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 30px;
        }
        
        .feature-card {
            background: white;
            border-radius: 16px;
            padding: 35px 25px;
            text-align: center;
            transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            opacity: 0;
            transform: translateY(40px);
            border: 1px solid rgba(0,0,0,0.03);
            position: relative;
            overflow: hidden;
        }
        
        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, var(--primary), var(--accent));
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s ease;
        }
        
        .feature-card:hover::before {
            transform: scaleX(1);
        }
        
        .feature-card.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        .feature-card:active {
            transform: scale(0.98);
        }
        
        .feature-icon {
            font-size: 2.8rem;
            color: var(--primary);
            margin-bottom: 20px;
            display: inline-block;
            padding: 15px;
            border-radius: 50%;
            background: rgba(139, 0, 0, 0.05);
            transition: all 0.4s ease;
        }
        
        .feature-card:hover .feature-icon {
            transform: translateY(-5px) scale(1.1);
            background: rgba(139, 0, 0, 0.1);
        }
        
        .feature-card h3 {
            margin-bottom: 15px;
            font-size: 1.4rem;
            color: var(--premium-dark);
        }
        
        .feature-card p {
            color: var(--gray);
            line-height: 1.6;
        }
        
        /* Premium AI Recipe Section */
        .ai-recipe-section {
            padding: 100px 5%;
            background: linear-gradient(135deg, #f8f5f2 0%, #f0ebe6 100%);
            position: relative;
            overflow: hidden;
        }
        
        .ai-recipe-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('https://images.unsplash.com/photo-1556910103-1c02745aae4d?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
            background-size: cover;
            background-position: center;
            opacity: 0.03;
            transform: scale(1.1);
            animation: slowZoom 20s infinite alternate;
        }
        
        @keyframes slowZoom {
            0% { transform: scale(1.1); }
            100% { transform: scale(1.15); }
        }
        
        .recipe-suggestor {
            background: white;
            border-radius: 20px;
            padding: 40px 30px;
            max-width: 900px;
            margin: 0 auto;
            box-shadow: 0 15px 40px rgba(0,0,0,0.1);
            position: relative;
            z-index: 2;
            opacity: 0;
            transform: translateY(40px);
            transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            border: 1px solid rgba(0,0,0,0.03);
        }
        
        .recipe-suggestor.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        .recipe-filters {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
            margin-bottom: 25px;
        }
        
        .filter-select {
            padding: 15px 20px;
            border: 1px solid rgba(0,0,0,0.1);
            border-radius: 12px;
            font-family: 'Poppins', sans-serif;
            transition: all 0.3s ease;
            font-size: 1rem;
            -webkit-appearance: none;
            appearance: none;
            background: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") no-repeat right 20px center/16px;
            background-color: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.03);
        }
        
        .filter-select:focus {
            border-color: var(--primary);
            box-shadow: 0 4px 15px rgba(139, 0, 0, 0.1);
            outline: none;
        }
        
        .suggest-recipe-btn {
            background: linear-gradient(135deg, var(--secondary), #27ae60);
            color: white;
            border: none;
            padding: 16px 25px;
            border-radius: 12px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 6px 20px rgba(34, 139, 34, 0.3);
            font-size: 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            letter-spacing: 0.5px;
        }
        
        .suggest-recipe-btn:active {
            transform: scale(0.98);
            box-shadow: 0 4px 15px rgba(34, 139, 34, 0.4);
        }
        
        .recipe-result {
            margin-top: 30px;
            padding: 25px;
            background: rgba(139, 0, 0, 0.03);
            border-radius: 15px;
            display: none;
            animation: fadeIn 0.6s ease;
            border-left: 4px solid var(--primary);
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .recipe-result h3 {
            color: var(--primary);
            margin-bottom: 10px;
            font-size: 1.4rem;
        }
        
        /* Premium Products Section */
        .featured-products {
            padding: 100px 5%;
            background: white;
            position: relative;
        }
        
        .products-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }
        
        .view-all {
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            display: flex;
            align-items: center;
            transition: all 0.3s ease;
            font-size: 1rem;
            padding: 8px 15px;
            border-radius: 20px;
            background: rgba(139, 0, 0, 0.05);
        }
        
        .view-all i {
            margin-left: 8px;
            transition: transform 0.3s ease;
        }
        
        .view-all:active {
            color: var(--primary-light);
            background: rgba(139, 0, 0, 0.1);
        }
        
        .view-all:active i {
            transform: translateX(5px);
        }
        
        .product-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }
        
        .product-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 10px 25px rgba(0,0,0,0.08);
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            opacity: 0;
            transform: translateY(40px);
            border: 1px solid rgba(0,0,0,0.03);
            position: relative;
        }
        
        .product-card.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        .product-card:active {
            transform: scale(0.98);
        }
        
        .product-image {
            height: 160px;
            background-size: cover;
            background-position: center;
            transition: transform 0.6s ease;
            position: relative;
        }
        
        .product-card:hover .product-image {
            transform: scale(1.05);
        }
        
        .product-info {
            padding: 20px 15px;
        }
        
        .product-badges {
            display: flex;
            gap: 8px;
            margin-bottom: 10px;
            flex-wrap: wrap;
        }
        
        .badge {
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.5px;
        }
        
        .halal-badge {
            background: var(--secondary);
            color: white;
            box-shadow: 0 2px 5px rgba(34, 139, 34, 0.3);
        }
        
        .farmer-badge {
            background: var(--accent);
            color: var(--premium-dark);
            box-shadow: 0 2px 5px rgba(212, 175, 55, 0.3);
        }
        
        .product-title {
            font-weight: 600;
            margin-bottom: 8px;
            font-size: 1rem;
            line-height: 1.3;
            color: var(--premium-dark);
        }
        
        .product-price {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        
       
        
        .add-to-cart-btn {
            width: 100%;
            padding: 12px;
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
            color: white;
            border: none;
            border-radius: 10px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 10px rgba(139, 0, 0, 0.2);
        }
        
        .add-to-cart-btn:active {
            background: var(--primary-light);
            transform: scale(0.98);
            box-shadow: 0 2px 5px rgba(139, 0, 0, 0.3);
        }
        
        /*  Footer */
        footer {
            background: var(--premium-dark);
            color: white;
            padding: 70px 5% 25px;
            position: relative;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }
        
        .footer-column h3 {
            margin-bottom: 20px;
            color: var(--accent);
            font-size: 1.3rem;
            position: relative;
            display: inline-block;
        }
        
        .footer-column h3::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 40px;
            height: 2px;
            background: var(--accent);
        }
        
        .footer-column ul {
            list-style: none;
        }
        
        .footer-column ul li {
            margin-bottom: 12px;
        }
        
        .footer-column a {
            color: rgba(255,255,255,0.7);
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
        }
        
        .footer-column a i {
            margin-right: 10px;
            width: 20px;
            color: var(--accent);
        }
        
        .footer-column a:active {
            color: white;
            padding-left: 5px;
        }
        
        .social-icons {
            display: flex;
            gap: 12px;
            margin-top: 20px;
        }
        
        .social-icon {
            width: 42px;
            height: 42px;
            border-radius: 50%;
            background: rgba(255,255,255,0.1);
            display: flex;
            justify-content: center;
            align-items: center;
            transition: all 0.3s ease;
            color: white;
            font-size: 1.1rem;
        }
        
        .social-icon:active {
            background: var(--primary);
            transform: scale(0.9);
        }
        
        .newsletter-form {
            display: flex;
            margin-top: 15px;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        }
        
        .newsletter-input {
            flex: 1;
            padding: 12px 15px;
            border: none;
            font-family: 'Poppins', sans-serif;
            font-size: 0.95rem;
            background: rgba(255,255,255,0.9);
        }
        
        .newsletter-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 0 20px;
            cursor: pointer;
            transition: background 0.3s;
            font-weight: 600;
        }
        
        .newsletter-btn:active {
            background: var(--primary-light);
        }
        
        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.1);
            font-size: 0.85rem;
            color: rgba(255,255,255,0.5);
        }
        
        /* Premium Mobile Chat Widget */
        .chat-widget {
            position: fixed;
            bottom: 25px;
            right: 25px;
            z-index: 1000;
        }
        
        .chat-btn {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
            box-shadow: 0 6px 20px rgba(0,0,0,0.2);
            margin-bottom: 15px;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            color: white;
            font-size: 1.4rem;
            position: relative;
            overflow: hidden;
        }
        
        .chat-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.7s ease;
        }
        
        .chat-btn:active {
            transform: scale(0.9);
        }
        
        .chat-btn:active::before {
            left: 100%;
        }
        
        .live-chat-btn {
            background: linear-gradient(135deg, var(--primary), var(--primary-light));
        }
        
        .whatsapp-btn {
            background: linear-gradient(135deg, #25D366, #128C7E);
        }
        
        /* Mobile Responsive Design */
        @media (max-width: 768px) {
            .search-bar {
                display: none;
            }
            
            .hero {
                padding: 150px 5% 100px;
                min-height: 90vh;
                background-attachment: scroll;
            }
            
            .hero h1 {
                font-size: 2.2rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
            
            .section-title {
                font-size: 1.8rem;
            }
            
            .features, .ai-recipe-section, .featured-products {
                padding: 80px 5%;
            }
            
            .product-grid {
                grid-template-columns: 1fr;
                gap: 25px;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
                gap: 35px;
            }
            
            .chat-widget {
                bottom: 20px;
                right: 20px;
            }
            
            .chat-btn {
                width: 55px;
                height: 55px;
                font-size: 1.3rem;
            }
        }
        
        @media (min-width: 769px) {
            .mobile-menu-btn {
                display: none;
            }
            
            nav {
                position: static;
                transform: none;
                opacity: 1;
                visibility: visible;
                background: transparent;
                box-shadow: none;
                width: auto;
            }
            
            nav ul {
                padding: 0;
                display: flex;
            }
            
            nav ul li {
                border-bottom: none;
                margin: 0 15px;
            }
            
            nav ul li a {
                padding: 5px 0;
            }
            
            nav ul li a:hover {
                padding-left: 0;
                background: transparent;
            }
            
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .recipe-filters {
                grid-template-columns: repeat(4, 1fr);
            }
            
            .product-grid {
                grid-template-columns: repeat(4, 1fr);
            }
            
            .footer-content {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        
        @media (max-width: 480px) {
            .nav-container {
                padding: 12px 5%;
            }
            
            .logo {
                font-size: 1.4rem;
            }
            
            .hero h1 {
                font-size: 1.9rem;
            }
            
            .section-title {
                font-size: 1.6rem;
            }
            
            .feature-card {
                padding: 25px 20px;
            }
            
            .chat-widget {
                bottom: 15px;
                right: 15px;
            }
        }
        
        /* Performance optimizations */
        .performance-optimized {
            transform: translateZ(0);
            backface-visibility: hidden;
            perspective: 1000;
        }
        
        /* Parallax scrolling effect */
        .parallax {
            background-attachment: fixed;
        }
        
        /* Prevent zoom on input focus for iOS */
        @media screen and (max-width: 768px) {
            input, select, textarea {
                font-size: 16px !important;
            }
        }
/* Enhanced Responsive Design */

/* Tablet Landscape and Small Desktops */
@media (max-width: 1024px) {
    .nav-container {
        padding: 10px 4%;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .nav-container {
        padding: 12px 4%;
    }
    
    .search-bar {
        display: none;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .cart-icon, .user-icon {
        margin-left: 10px;
        font-size: 1.1rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 140px 4% 80px;
        min-height: 80vh;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .cta-button {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    /* Features Section */
    .features, .ai-recipe-section, .featured-products {
        padding: 70px 4%;
    }
    
    .section-title {
        font-size: 1.9rem;
        margin-bottom: 50px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .feature-card {
        padding: 30px 25px;
    }
    
    /* Products Section */
    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-info {
        padding: 18px 15px;
    }
    
    /* AI Recipe Section */
    .recipe-suggestor {
        padding: 30px 25px;
    }
    
    .recipe-filters {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    /* Footer */
    footer {
        padding: 60px 4% 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .newsletter-form {
        max-width: 400px;
        margin: 15px auto 0;
    }
    
    /* Chat Widget */
    .chat-widget {
        bottom: 20px;
        right: 20px;
    }
    
    .chat-btn {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .nav-container {
        padding: 10px 4%;
    }
    
    .top-bar {
        padding: 10px 0;
        font-size: 0.8rem;
    }
    
    .halal-badge {
        padding: 5px 12px;
        font-size: 0.75rem;
    }
    
    .logo {
        font-size: 1.3rem;
    }
    
    .logo i {
        font-size: 1.2rem;
    }
    
    /* Hero Section */
    .hero {
        padding: 120px 4% 60px;
        min-height: 70vh;
    }
    
    .hero h1 {
        font-size: 1.9rem;
    }
    
    .hero p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    /* Sections */
    .features, .ai-recipe-section, .featured-products {
        padding: 50px 4%;
    }
    
    .section-title {
        font-size: 1.7rem;
        margin-bottom: 40px;
    }
    
    .feature-card {
        padding: 25px 20px;
    }
    
    .feature-icon {
        font-size: 2.5rem;
        padding: 12px;
    }
    
    /* Products */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-info {
        padding: 20px;
    }
    
    /* Recipe Section */
    .recipe-suggestor {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .filter-select, .suggest-recipe-btn {
        padding: 14px 18px;
    }
    
    /* Footer */
    .footer-column h3 {
        font-size: 1.2rem;
    }
    
    .footer-column a {
        font-size: 0.9rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        border-radius: 10px;
        overflow: hidden;
    }
    
    .newsletter-input {
        padding: 14px 15px;
        text-align: center;
    }
    
    .newsletter-btn {
        padding: 12px 15px;
    }
    
    /* Chat Widget */
    .chat-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .chat-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.7rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .add-to-cart-btn, .cta-button, .suggest-recipe-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Large Desktops */
@media (min-width: 1440px) {
    .nav-container {
        max-width: 1400px;
        margin: 0 auto;
    }
    
    .hero-content {
        max-width: 1000px;
    }
    
    .features-grid, .product-grid {
        max-width: 1400px;
        margin: 0 auto;
    }
}

/* Ultra-wide screens */
@media (min-width: 1920px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
}

/* High-resolution displays */
@media (min-resolution: 192dpi) and (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
}

/* Orientation-specific styles */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 100px 4% 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}

/* Print styles */
@media print {
    .chat-widget,
    .mobile-menu-btn,
    .header-actions,
    .cta-button,
    .add-to-cart-btn {
        display: none !important;
    }
    
    header {
        position: static;
        box-shadow: none;
    }
    
    .hero {
        background: none !important;
        color: black;
        padding: 50px 4%;
    }
}

/* Enhanced Mobile Menu Improvements */
@media (max-width: 768px) {
    nav {
        max-height: 70vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    nav ul li a {
        padding: 18px 25px;
        font-size: 1.1rem;
    }
    
    /* Improve touch targets */
    .cart-icon, .user-icon {
        padding: 8px;
    }
    
    .add-to-cart-btn, .cta-button, .suggest-recipe-btn {
        min-height: 44px; /* Minimum touch target size */
    }
    
    .filter-select {
        min-height: 44px;
    }
}

/* Prevent horizontal scroll */
@media (max-width: 480px) {
    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .nav-container {
        padding: 10px 15px;
    }
}

/* Smooth animations for mobile */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Enhanced responsive typography */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
}

/* Fix for mobile viewport height */
@media (max-width: 768px) {
    .hero {
        min-height: 100svh; /* Use small viewport height for mobile */
    }
}