*{
margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: Georgia, 'Times New Roman', Times, serif;
        }

        body {
            background-color: #f5f5f5;
            overflow-x: hidden;
        }

       
        .collections-container {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            gap: 2rem;
            padding: 2rem;
            max-width: 1200px;
            margin: 0 auto;
            justify-content: center;
        }

        .collection {
            position: relative;
            width: 30%;
            min-width: 300px;
            height: 400px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        .collection:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 15px 30px rgba(0,0,0,0.2);
        }

        .collection img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 0;
        }

        .collection::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.5) 100%);
            z-index: 1;
        }

        .collection-content {
            position: relative;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 2rem;
            z-index: 2;
            color: white;
        }

        .collection h1 {
            font-size: 2rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
            animation: fadeInUp 0.8s ease;
        }

        .shop-now {
            display: inline-block;
            padding: 0.8rem 1.5rem;
            background-color: white;
            color: #333;
            text-decoration: none;
            font-weight: bold;
            border-radius: 30px;
            width: fit-content;
            transition: all 0.3s ease;
            animation: fadeInUp 0.8s ease 0.2s forwards;
            opacity: 0;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }

        .shop-now:hover {
            transform: scale(1.05);
            background-color: #f0f0f0;
        }

        .shop-now::after {
            content: ' ©';
        }

        /* Color overlays */
        .laptop-collection::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 50%;
            height: 100%;
            background: rgba(1, 9, 43, 0.7);
            z-index: 1;
        }

        .accessories-collection::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 50%;
            height: 100%;
            background: rgba(255, 107, 74, 0.7);
            z-index: 1;
        }

        .cameras-collection::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 50%;
            height: 100%;
            background: rgba(107, 255, 74, 0.7);
            z-index: 1;
        }

        /* Products Section */
        .products-section {
            max-width: 1200px;
            margin: 3rem auto;
            padding: 0 2rem;
        }

        .section-title {
            font-size: 2rem;
            margin-bottom: 2rem;
            text-align: center;
            color: #333;
            position: relative;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: #01092b;
            margin: 10px auto;
        }

        .category-tabs {
            display: flex;
            justify-content: center;
            margin-bottom: 2rem;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .category-tab {
            padding: 0.8rem 1.5rem;
            background: #fff;
            border: 1px solid #7e7bad;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: bold;
        }

        .category-tab.active, .category-tab:hover {
            background: #01092b;
            color: white;
            border-color: #01092b;
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 2rem;
        }

        .product-card {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: all 0.3s ease;
        }

        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }

        .product-image {
            height: 200px;
            width: 100%;
            object-fit: cover;
        }

        .product-info {
            padding: 1.5rem;
        }

        .product-category {
            color: #01092b;
            font-size: 0.9rem;
            margin-bottom: 0.5rem;
            font-weight: bold;
        }

        .product-name {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            color: #333;
        }

        .product-price {
            font-size: 1.3rem;
            font-weight: bold;
            color: #333;
        }

        .product-old-price {
            text-decoration: line-through;
            color: #999;
            margin-left: 0.5rem;
            font-size: 1rem;
        }

        /* Animations */
        @keyframes slideInLeft {
            from {
                transform: translateX(-50px);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideInRight {
            from {
                transform: translateX(50px);
                opacity: 0;
            }
            to {
                transform: translateX(0);
                opacity: 1;
            }
        }

        @keyframes slideInUp {
            from {
                transform: translateY(50px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        @keyframes fadeInUp {
            from {
                transform: translateY(20px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        /* Responsive adjustments */
        @media (max-width: 1024px) {
            .collection {
                width: 45%;
            }
        }

        @media (max-width: 768px) {
            .collections-container, .products-section {
                padding: 1rem;
            }
            
            .collection {
                width: 100%;
                height: 350px;
            }
            
            .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            }
        }

        @media (max-width: 480px) {
            .collection {
                height: 250px;
                min-width: unset;
            }
            
            .category-tabs {
                justify-content: flex-start;
            }
        }

/* Add to your styles.css */
.top-selling-section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.top-categories {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.top-category {
    padding: 0.8rem 1.5rem;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.top-category.active, .top-category:hover {
    background: #01092b;
    color: white;
    border-color: #01092b;
}

.top-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.top-product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    padding: 1.5rem;
}

.top-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.top-product-image {
    height: 180px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 1rem;
}

.top-product-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: bold;
}

.top-product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #01092b;
    margin-bottom: 0.5rem;
}

.top-product-code {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.add-to-cart {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: #01092b;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: bold;
    width: 100%;
}

.add-to-cart:hover {
    background: #1a237e;
    transform: translateY(-2px);
}

/* Update existing products grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.product-image {
    height: 180px;
    width: 100%;
    object-fit: contain;
    padding: 1rem;
}

.product-category {
    background: #01092b;
    color: white;
    padding: 0.5rem;
    font-size: 0.9rem;
    font-weight: bold;
}

.product-info {
    padding: 1rem;
}

.product-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: bold;
}

.product-price-container {
    margin-bottom: 1rem;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #01092b;
}

.product-old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
    display: block;
}

@media (max-width: 1024px) {
    .top-products-grid, .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-products-grid, .products-grid {
        grid-template-columns: 1fr;
    }
}