<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>HomeXpert - Providers Showcase</title>
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link href="https://fonts.googleapis.com/css2?family=Segoe+UI&display=swap" rel="stylesheet" />
<!-- Font Awesome for icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
<!-- CSS Styles -->
<style>
/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: #f1f5f9;
    color: #1e293b;
    padding-bottom: 80px;
}

/* Top Navigation */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 900;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    width: 100%;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.brand-logo {
    width: 38px;
    height: 38px;
    background: #1d4ed8;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    font-size: 18px;
    font-weight: 700;
}
.brand-name {
    font-weight: 700;
    font-size: 1rem;
    color: #1e293b;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-icon-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #475569;
    padding: 8px;
    cursor: pointer;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.nav-icon-btn:hover {
    background: #eff6ff;
    color: #1d4ed8;
}
.badge-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ef4444;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}
.nav-desktop-links {
    display: none;
}
.nav-desktop-links a {
    margin: 0 10px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    transition: color 0.2s;
    white-space: nowrap;
}
.nav-desktop-links a:hover,
.nav-desktop-links a.active {
    color: #1d4ed8;
}
.menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}
.menu-toggle:hover {
    background: #eff6ff;
}

/* Provider Cards Section */
.providers-list {
    padding: 12px 16px;
}
.result-count {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 12px;
}
.provider-card {
    background: #fff;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.25s ease;
}
.provider-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}
.provider-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 12px 14px 0;
}
.badge-featured,
.badge-premium,
.badge-verified {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    background: #f0f4f8;
}
.provider-card-body {
    display: flex;
    gap: 14px;
    padding: 14px;
}
.provider-avatar {
    width: 68px;
    height: 68px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 1.55rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(29, 78, 216, 0.15);
}
.provider-info {
    flex: 1;
    min-width: 0;
}
.provider-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 3px;
    line-height: 1.3;
    color: #1e293b;
}
.provider-cat {
    color: #1d4ed8;
    font-size: 0.83rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.provider-location {
    color: #64748b;
    font-size: 0.8rem;
    margin-bottom: 6px;
}
.provider-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #64748b;
    flex-wrap: wrap;
}
.rating-badge {
    background: #1d4ed8;
    color: #fff;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Footer Buttons - Unified Style for Call, WhatsApp, Profile */
.provider-card-footer {
    display: flex;
    gap: 8px;
    padding: 12px 14px 16px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    flex-wrap: wrap;
}
.btn-footer {
    flex: 1;
    min-width: 110px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.93rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.btn-footer i {
    font-size: 1.2rem;
}
/* Colors for buttons */
.btn-call {
    background: #10b981;
}
.btn-call:hover {
    background: #059669;
}
.btn-whatsapp {
    background: #25D366;
}
.btn-whatsapp:hover {
    background: #20ba5a;
}
.btn-profile {
    background: #3b82f6;
}
.btn-profile:hover {
    background: #2563eb;
}

/* Responsive adjustments for mobile */
@media(max-width:480px){
    .provider-card-body {
        padding:12px 12px 8px;
        gap:12px;
    }
    .provider-avatar {
        width:62px;
        height:62px;
        font-size:1.4rem;
    }
    .provider-name {
        font-size:1rem;
    }
    .btn-footer {
        padding:10px;
        font-size:0.9rem;
        min-width:0;
    }
    .btn-footer span {
        display:none;
    }
}

/* Larger screens layout */
@media(min-width:640px){
    .products-grid {
        grid-template-columns:repeat(3,1fr);
    }
}
@media(min-width:992px){
    body {
        padding-bottom:0;
    }
    .bottom-nav { display:none !important; }
    .nav-desktop-links {
        display:flex;
        align-items:center;
        position:absolute;
        left:50%;
        transform:translateX(-50%);
    }
    .top-nav { padding:0 32px; height:64px; }
    .page-content { max-width:1200px; margin:0 auto; padding-bottom:0; }
    .providers-list {
        display:grid;
        grid-template-columns:repeat(auto-fill,minmax(340px,1fr));
        gap:20px;
        padding:20px 24px;
    }
}
#notifications { scroll-margin-top:90px; }
</style>
</head>
<body>

<!-- Header -->
<header class="top-nav">
  <div style="width:100%; max-width:1200px; margin:auto; display:flex; align-items:center; justify-content:space-between;">
    <!-- Logo & Brand -->
    <a href="#" class="nav-brand">
      <div class="brand-logo">🏠</div>
      <span class="brand-name">HomeXpert</span>
    </a>
    <!-- Desktop Links Hidden on mobile -->
    <div class="nav-desktop-links" style="display:none;">
      <a href="#">Home</a>
      <a href="#">Find Services</a>
      <a href="#">Shops</a>
      <a href="#">Products</a>
      <a href="#">Scrap Pickup</a>
      <a href="#">Subscriptions</a>
      <a href="#">Maintenance</a>
      <a href="#" style="padding:8px 12px; background:#3b82f6; color:#fff; border-radius:8px;">Login</a>
    </div>
    <!-- Mobile menu toggle -->
    <button class="menu-toggle" aria-label="Menu" onclick="toggleMobileMenu()">☰</button>
  </div>
</header>
<!-- Mobile Menu -->
<div id="mobileMenu" style="display:none; background:#fff; border-top:1px solid #e2e8f0; padding:10px;">
  <a href="#" style="display:block; padding:10px; color:#374151;">Home</a>
  <a href="#" style="display:block; padding:10px; color:#374151;">Find Services</a>
  <a href="#" style="display:block; padding:10px; color:#374151;">Shops</a>
  <a href="#" style="display:block; padding:10px; color:#374151;">Products</a>
  <a href="#" style="display:block; padding:10px; color:#374151;">Scrap Pickup</a>
  <a href="#" style="display:block; padding:10px; color:#374151;">Subscriptions</a>
  <a href="#" style="display:block; padding:10px; color:#374151;">Maintenance</a>
  <a href="#" style="display:block; padding:10px; background:#3b82f6; color:#fff; border-radius:8px; margin-top:10px; text-align:center;">Login</a>
</div>

<!-- Main Content -->
<main style="max-width:1200px; margin:auto; padding:20px;">
  <!-- Hero Section -->
  <section style="text-align:center; margin-bottom:40px;">
    <h1 style="font-size:2.5rem; font-weight:700; margin-bottom:20px;">Shop Local, Support Your Community</h1>
    <p style="font-size:1.25rem; color:#6b7280;">Thousands of local shops near you. Fresh products, fair prices, quick delivery.</p>
    <!-- Search -->
    <form style="margin-top:20px; display:flex; max-width:600px; margin:auto;">
      <input type="text" placeholder="Search products, shops..." style="flex:1; padding:14px 20px; border:1px solid #d1d5db; border-radius:8px 0 0 8px; font-size:1rem;" />
      <button type="submit" style="padding:14px 24px; background:#f59e0b; border:none; border-radius:0 8px 8px 0; font-weight:600;">Search</button>
    </form>
    <!-- CTA Buttons -->
    <div style="margin-top:20px; display:flex; gap:20px; justify-content:center;">
      <a href="#" style="background:#3b82f6; color:#fff; padding:10px 20px; border-radius:8px; font-weight:600;">Browse Shops</a>
      <a href="#" style="background:#3b82f6; color:#fff; padding:10px 20px; border-radius:8px; font-weight:600;">View Products</a>
    </div>
  </section>

  <!-- Providers List with 3 providers: Shopkeeper, Scrap Buyer, Tech -->
  <section class="providers-list">
    <div class="result-count">Showing 1-3 of 20 providers</div>
    <!-- Provider Card Example -->
    <div class="provider-card">
      <div class="provider-card-badges">
        <div class="badge-featured">Featured</div>
        <div class="badge-verified">Verified</div>
      </div>
      <div class="provider-card-body">
        <div class="provider-avatar">🛍️</div>
        <div class="provider-info">
          <div class="provider-name">Local Shopkeeper</div>
          <div class="provider-cat">Shopkeeper</div>
          <div class="provider-location">Delhi, India</div>
          <div class="provider-meta">
            <div class="rating-badge">4.9 ★</div>
            <div>150 reviews</div>
          </div>
        </div>
      </div>
      <!-- Buttons -->
      <div class="provider-card-footer">
        <button class="btn-footer btn-call"><i class="fas fa-phone"></i> Call</button>
        <button class="btn-footer btn-whatsapp"><i class="fab fa-whatsapp"></i> WhatsApp</button>
        <button class="btn-footer btn-profile"><i class="fas fa-user"></i> Profile</button>
      </div>
    </div>
    <!-- Scrap Buyer Card -->
    <div class="provider-card">
      <div class="provider-card-badges">
        <div class="badge-premium">Premium</div>
        <div class="badge-verified">Verified</div>
      </div>
      <div class="provider-card-body">
        <div class="provider-avatar">♻️</div>
        <div class="provider-info">
          <div class="provider-name">ScrapCollectorX</div>
          <div class="provider-cat">Scrap Buyer</div>
          <div class="provider-location">Mumbai, India</div>
          <div class="provider-meta">
            <div class="rating-badge">4.7 ★</div>
            <div>80 reviews</div>
          </div>
        </div>
      </div>
      <!-- Buttons -->
      <div class="provider-card-footer">
        <button class="btn-footer btn-call"><i class="fas fa-phone"></i> Call</button>
        <button class="btn-footer btn-whatsapp"><i class="fab fa-whatsapp"></i> WhatsApp</button>
        <button class="btn-footer btn-profile"><i class="fas fa-user"></i> Profile</button>
      </div>
    </div>
    <!-- Technician Provider -->
    <div class="provider-card">
      <div class="provider-card-badges">
        <div class="badge-verified">Verified</div>
      </div>
      <div class="provider-card-body">
        <div class="provider-avatar">🔧</div>
        <div class="provider-info">
          <div class="provider-name">TechFix</div>
          <div class="provider-cat">Technician</div>
          <div class="provider-location">Bangalore, India</div>
          <div class="provider-meta">
            <div class="rating-badge">4.5 ★</div>
            <div>120 reviews</div>
          </div>
        </div>
      </div>
      <!-- Buttons -->
      <div class="provider-card-footer">
        <button class="btn-footer btn-call"><i class="fas fa-phone"></i> Call</button>
        <button class="btn-footer btn-whatsapp"><i class="fab fa-whatsapp"></i> WhatsApp</button>
        <button class="btn-footer btn-profile"><i class="fas fa-user"></i> Profile</button>
      </div>
    </div>
  </section>
</main>

<!-- JS for menu toggle -->
<script>
function toggleMobileMenu() {
  const menu = document.getElementById('mobileMenu');
  if (menu.style.display === 'none' || !menu.style.display) {
    menu.style.display='block';
  } else {
    menu.style.display='none';
  }
}
window.addEventListener('resize', () => {
  if (window.innerWidth >= 992) {
    document.getElementById('mobileMenu').style.display='none';
  }
});
</script>

</body>
</html>