:root {
            --primary-color: #4e54c8;
            --secondary-color: #8f94fb;
            --accent-color: #ff6b6b;
            --light-bg: #f8f9fa;
            --dark-text: #333;
            --light-text: #6c757d;
            --border-radius: 12px;
            --box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            --transition: all 0.3s ease;
        }

        /* small Screen */
        @media screen and (max-width: 600px) {
            #headerFile{width:40%;}
        }
/* large Screen */
        @media screen and (min-width: 768px) {
            #headerFile{width:15%;}
        }
        
        
        body {
            font-family: 'Poppins', sans-serif;
            color: var(--dark-text);
            background-color: #f9fafb;
            padding-top: 76px; /* Account for fixed navbar */
        }
        
        /* Sticky Navigation */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1030;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        /* Header Section */
        .course-category-header {
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 40px 0;
            margin-bottom: 30px;
        }
        
        .breadcrumb-item a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
        }
        
        .breadcrumb-item.active {
            color: white;
        }
        
        .breadcrumb-item+.breadcrumb-item::before {
            color: rgba(255,255,255,0.5);
        }
        
        /* Category Navigation */
        .category-navigation {
            background: white;
            border-radius: var(--border-radius);
            box-shadow: var(--box-shadow);
            padding: 20px;
            margin-bottom: 30px;
            position: sticky;
            top: 86px; /* Below navbar + some spacing */
            z-index: 1020;
        }
        
        .category-tabs {
            display: flex;
            overflow-x: auto;
            gap: 8px;
            padding-bottom: 5px;
        }
        
        .category-tab {
            flex: 0 0 auto;
            padding: 10px 20px;
            border-radius: 30px;
            background: var(--light-bg);
            color: var(--dark-text);
            text-decoration: none;
            font-weight: 500;
            transition: var(--transition);
            white-space: nowrap;
        }
        
        .category-tab:hover, .category-tab.active {
            background: var(--primary-color);
            color: white;
        }
        
        /* Course Cards */
        .course-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }
        
        .course-card {
            background: white;
            border-radius: var(--border-radius);
            overflow: hidden;
            box-shadow: var(--box-shadow);
            transition: var(--transition);
            height: 100%;
            display: flex;
            flex-direction: column;
        }
        
        .course-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }
        
        .course-image {
            height: 180px;
            overflow: hidden;
        }
        
        .course-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .course-card:hover .course-image img {
            transform: scale(1.05);
        }
        
        .course-content {
            padding: 20px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }
        
        .course-level {
            display: inline-block;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 10px;
            text-transform: uppercase;
        }
        
        .course-level.beginner {
            background-color: #e8f5e9;
            color: #2e7d32;
        }
        
        .course-level.intermediate {
            background-color: #e3f2fd;
            color: #1565c0;
        }
        
        .course-level.advanced {
            background-color: #fce4ec;
            color: #c2185b;
        }
        
        .course-title {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 10px;
            line-height: 1.4;
        }
        
        .course-description {
            color: var(--light-text);
            font-size: 0.9rem;
            margin-bottom: 15px;
            flex-grow: 1;
        }
        
        .course-meta {
            display: flex;
            justify-content: space-between;
            font-size: 0.85rem;
            color: var(--light-text);
            margin-bottom: 15px;
        }
        
        .course-price {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 15px;
        }
        
        .course-price .original-price {
            text-decoration: line-through;
            color: var(--light-text);
            font-size: 0.9rem;
            margin-right: 8px;
            font-weight: 400;
        }
        
        .btn-enroll {
            background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
            border: none;
            color: white;
            padding: 10px 20px;
            border-radius: 30px;
            font-weight: 500;
            transition: var(--transition);
            width: 100%;
        }
        
        .btn-enroll:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(78, 84, 200, 0.4);
        }
        
        /* Sort Dropdown */
        .sort-dropdown .dropdown-menu {
            min-width: 200px;
        }
        
        .sort-dropdown .dropdown-item.active {
            background-color: var(--primary-color);
        }
        
        /* Footer */
        footer {
            background: linear-gradient(135deg, #2c3e50, #34495e);
            color: white;
        }
        
        .footer-links a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            transition: var(--transition);
        }
        
        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }
        
        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255,255,255,0.1);
            color: white;
            transition: var(--transition);
        }
        
        .social-links a:hover {
            background: var(--primary-color);
            transform: translateY(-3px);
        }
        
        /* Mobile Optimizations */
        @media (max-width: 768px) {
            body {
                padding-top: 66px; /* Adjust for smaller navbar on mobile */
            }
            
            .category-navigation {
                top: 76px; /* Adjust for smaller navbar on mobile */
            }
            
            .course-category-header {
                padding: 30px 0;
            }
            
            .course-category-header h1 {
                font-size: 1.8rem;
            }
            
            .category-navigation {
                padding: 15px;
                margin-left: -15px;
                margin-right: -15px;
                border-radius: 0;
            }
            
            .category-tab {
                padding: 8px 16px;
                font-size: 0.9rem;
            }
            
            .course-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .course-image {
                height: 160px;
            }
        }
        
        @media (max-width: 576px) {
            .course-category-header {
                padding: 25px 0;
            }
            
            .course-category-header h1 {
                font-size: 1.6rem;
            }
            
            .category-tab {
                padding: 6px 12px;
                font-size: 0.85rem;
            }
        }

        .whatsapp-float {
            position: fixed;
            width: 60px;
            height: 60px;
            bottom: 25px;
            right: 25px;
            background-color: #25d366;
            color: white;
            border-radius: 50px;
            text-align: center;
            font-size: 30px;
            box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            text-decoration:none;
        }
        
        .whatsapp-float:hover {
            background-color: #128c7e;
            transform: scale(1.1);
        }