:root {
            --primary-color: #6C63FF;
            --secondary-color: #4A44C6;
            --accent-color: #FF6584;
            --success-color: #4CAF50;
            --warning-color: #FF9800;
            --text-color: #2D3748;
            --text-light: #718096;
            --bg-color: #F7FAFC;
            --card-bg: #FFFFFF;
            --border-color: #E2E8F0;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --radius: 12px;
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --header-height: 70px;
        }

        .dark-mode {
            --primary-color: #8B85FF;
            --secondary-color: #6C63FF;
            --accent-color: #FF7B9C;
            --success-color: #66BB6A;
            --warning-color: #FFB74D;
            --text-color: #E2E8F0;
            --text-light: #A0AEC0;
            --bg-color: #1A202C;
            --card-bg: #2D3748;
            --border-color: #4A5568;
            --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
        }

       
       .dropdown_search {
            
            z-index: 2;
            margin:0px;
            width: 83%;
            border-radius: 10px;
            background: #fff;
            border:1px #eee solid;
            position: absolute;
            margin-top: 54px;
            min-height: 50px;
            max-height:400px;
            overflow-y: auto;
            overflow-x: hidden;
            /*transform: translateX(-50%);*/
            display:none;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
            
            
        }
       .dropdown_search.active {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        .theme-toggle, .search-btn {
            background: none;
            border: none;
            font-size: 20px;
            color: var(--text-color);
            cursor: pointer;
            transition: var(--transition);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .theme-toggle:hover, .search-btn:hover {
            background-color: rgba(0, 0, 0, 0.05);
        }

        .dark-mode .theme-toggle:hover, .dark-mode .search-btn:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

        /* Page Header */
        .page-header {
            padding: 25px 0;
            margin-bottom: 20px;
            text-align: center;
        }

        .page-header h1 {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .page-header p {
            font-size: 14px;
            color: var(--text-light);
        }
        
        .row_w100
        {
            width:100%;
            margin:0px;
        }
        
        /* Search Bar */
        .search-bar {
        
           background-color: var(--card-bg);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            padding-right: 20px;
            padding-left: 20px;
            height: fit-content;
            padding-bottom: 20px;
            margin-top: -30px;
        }

        .search-input-group {
            display: flex;
            gap: 10px;
            width:100%;
        }

        .search-input {
            flex: 1;
            padding: 12px 16px;
            border: 1px solid var(--border-color);
            border-radius: 12px;
            background-color: var(--bg-color);
            color: var(--text-color);
            font-size: 14px;
            transition: var(--transition);
        }

        .search-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
        }

        .search-btn-main {
            padding: 12px 24px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: white;
            border: none;
            border-radius: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            white-space: nowrap;
            width: fit-content;
            margin-top: 1px;
            height: 49px;
            margin-right: -50px;
            border-top-right-radius: 0px;
            border-bottom-right-radius: 0px;
        }

        .search-btn-main:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(108, 99, 255, 0.3);
        }

        /* Categories Section */
        .categories-section {
            height: 60px;
        }

        .categories-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .categories-title i {
            color: var(--primary-color);
        }

        .categories-container {
            display: flex;
            gap: 12px;
            overflow-x: auto;
            padding: 5px 0 15px;
            scrollbar-width: thin;
        }

        .categories-container::-webkit-scrollbar {
            height: 6px;
        }

        .categories-container::-webkit-scrollbar-track {
            background: var(--bg-color);
            border-radius: 10px;
        }

        .categories-container::-webkit-scrollbar-thumb {
            background: var(--border-color);
            border-radius: 10px;
        }

        .category-item {
            flex: 0 0 auto;
            background-color: var(--card-bg);
            border-radius: var(--radius);
            padding: 12px 18px;
            box-shadow: var(--shadow);
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            min-width: 100px;
        }

        .category-item:hover {
            transform: translateY(-3px);
        }

        .category-item.active {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
        }

        .category-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            background-color: rgba(108, 99, 255, 0.1);
            color: var(--primary-color);
        }

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

        .category-name {
            font-size: 13px;
            font-weight: 600;
            text-align: center;
        }

        .category-count {
            font-size: 11px;
            background-color: rgba(0, 0, 0, 0.05);
            padding: 2px 8px;
            border-radius: 10px;
        }

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

        /* Filters and Sort Section */
        .filters-section {
            display: flex;
            gap: 15px;
            align-items: center;
            height: 90px;
            overflow: auto;
            width: 100%;
            flex-direction: column;
            padding: 10px;
        }
        .margin_0 
        {
            margin-right:0px;
            margin-left:0px;
        }

        .filter-group {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .filter-label {
            font-size: 14px;
            color: var(--text-light);
        }

        .filter-select {
            padding: 8px 12px;
            border: 1px solid var(--border-color);
            border-radius: 8px;
            background-color: var(--bg-color);
            color: var(--text-color);
            font-size: 14px;
            cursor: pointer;
        }

        .active-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 20px;
        }

        .active-filter {
            background-color: var(--primary-color);
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 13px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .remove-filter {
            background: none;
            border: none;
            color: white;
            cursor: pointer;
            font-size: 12px;
        }

        /* Courses Section */
        .courses-section {
            margin-bottom: 40px;
        }

        .courses-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }

        .courses-title {
            font-size: 18px;
            font-weight: 600;
        }

        .courses-count {
            font-size: 14px;
            color: var(--text-light);
        }

        .courses-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
        }

        .course-card {
           width:100%;
            background-color: var(--card-bg);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: var(--shadow);
            transition: var(--transition);
            cursor: pointer;
            display: flex;
            flex-direction: column;
            padding:0px;

        }

        .course-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .course-image {
            height: 140px;
            width: 100%;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 28px;
            position: relative;
        }

        .course-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background: var(--accent-color);
            color: white;
            padding: 4px 8px;
            border-radius: 12px;
            font-size: 10px;
            font-weight: 600;
        }

        .course-content {
            padding: 15px;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .course-title {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 8px;
            line-height: 1.4;
        }

        .course-description {
            font-size: 13px;
            color: var(--text-light);
            margin-bottom: 12px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            flex: 1;
        }

        .course-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 12px;
        }

        .course-meta-item {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 12px;
            color: var(--text-light);
        }

        .course-meta-icon {
            color: var(--primary-color);
            font-size: 12px;
        }

        .course-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto;
        }

        .course-price {
            font-weight: 700;
            color: var(--primary-color);
            font-size: 15px;
        }

        .course-rating {
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .rating-stars {
            color: #FFC107;
            font-size: 12px;
        }

        .rating-value {
            font-size: 12px;
            color: var(--text-light);
        }

        /* No Results */
        .no-results {
            text-align: center;
            padding: 40px 20px;
            grid-column: 1 / -1;
        }

        .no-results-icon {
            font-size: 48px;
            color: var(--text-light);
            margin-bottom: 15px;
        }

        .no-results-title {
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 10px;
        }

        .no-results-description {
            font-size: 14px;
            color: var(--text-light);
        }

        /* Responsive Design */
        @media (min-width: 768px) {
            .container {
                max-width: 750px;
                padding: 0 20px;
            }
        }

        @media (min-width: 992px) {
            .container {
                max-width: 970px;
            }
            
            .categories-container {
                flex-wrap: wrap;
                overflow-x: visible;
            }
        }

        @media (min-width: 1200px) {
            .container {
                max-width: 1140px;
            }
        }

        @media (max-width: 768px) {
            .courses-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
            
            .filters-section {
                /*align-items: flex-start;*/
            }
        }

        @media (max-width: 576px) {
            .courses-grid {
                grid-template-columns: 1fr;
            }
            
            .courses-header {
                flex-direction: column;
                gap: 10px;
                align-items: flex-start;
            }
            
            .search-input-group {
            }
        }
        
        @keyframes fadeIn {
            from { opacity: 0;  }
            to { opacity: 1;  }
        }