   .top-search-container {
            max-width: 500px;
            margin: 0 auto 40px;
        }

        .search-form {
            display: flex;
            gap: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            border-radius: 50px;
            overflow: hidden;
            background: white;
            position: relative;
        }

        .search-input {
            flex: 1;
            border: none;
            padding: 12px 45px 12px 20px;
            font-size: 14px;
            outline: none;
        }

        .search-icon {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: #667eea;
            font-size: 18px;
            pointer-events: none;
        }

        .sidebar {
            background: white;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            padding: 20px;
            position: sticky;
            top: 100px;
            max-height: calc(100vh - 120px);
            overflow-y: auto;
        }

        .sidebar-title {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 20px;
            color: #333;
            padding-bottom: 15px;
            border-bottom: 2px solid #f0f0f0;
        }

        .category-item {
            padding: 15px;
            margin-bottom: 10px;
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid transparent;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .category-item i {
            font-size: 24px;
            color: #667eea;
        }

        .category-item:hover {
            background: #f8f9ff;
            border-color: #667eea;
            transform: translateX(5px);
        }

        .category-item.active {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border-color: #667eea;
        }

        .category-item.active i {
            color: white;
        }

        .category-name {
            font-weight: 600;
            font-size: 15px;
        }

        .category-count {
            margin-left: auto;
            background: rgba(102, 126, 234, 0.1);
            padding: 2px 10px;
            border-radius: 12px;
            font-size: 12px;
            font-weight: 600;
        }

        .category-item.active .category-count {
            background: rgba(255, 255, 255, 0.2);
            color: white;
        }

        .article-card {
            transition: all 0.3s ease;
        }

        .article-card.hidden {
            display: none !important;
        }

        .no-results {
            text-align: center;
            padding: 60px 20px;
            display: none;
        }

        .no-results.show {
            display: block;
        }

        .no-results i {
            font-size: 64px;
            color: #ccc;
            margin-bottom: 20px;
        }

        @media (max-width: 991px) {
            .sidebar {
                position: relative;
                top: 0;
                margin-bottom: 30px;
                max-height: none;
            }
        }



/* code for the card strt fom here  */
        