
  @media (max-width: 991.98px) {

        .col h1{
          margin-top: 0px !important;
        }
        .col strong{
         font-size: 12px;
          padding: 15px !important;
        }
        
        .col p{
            font-size: 12px !important;
            padding: 15px !important;
            line-height: 22px !important;
        }
        
         .courses-section{
          margin: 0px !important;
        }
        
       
    }
    
    
   
    
    
    @media (max-width: 676px) {
        .courses-container {
            flex-direction: column;
            align-items: center;
        }
    
        .course {
            width: 100% !important;
            max-width: 100% !important;
            margin-bottom: 15px;
        }
    }

      body {
            font-family: Arial, sans-serif;
            background-color: #f8f9fa;
            margin: 0;
            padding: 0;
            display: flex;
        }
        .sidebar {
            width: 250px;
            min-height: 100vh;
            background-color: #fff;
            box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.1);
            position: fixed;
            left: 0;
            top: 0;
        }
        .main-content {
            /*margin-left: 75px;*/
            padding: 20px;
            flex-grow: 1;
        }
        .main-header {
            background-color: white;
            padding: 15px;
            border-radius: 10px;
            box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
            text-align: left;
            margin-bottom: 20px;
             
        }
        .courses-section, .paid-courses-section {
            /*margin-left: 105px;*/
        }
        .courses-container {
            display: flex;
            gap: 21px;
            flex-wrap: wrap;
            /*justify-content: space-between;*/
        }
        .course {
            background-color: white;
            padding: 15px;
            border-radius: 10px;
            box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
            width: calc(33.333% - 15px);
            min-width: 250px;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: space-between;
        }
        .course img {
          
            object-fit: cover;
            border-radius: 10px;
        }
        .course h4, .course p {
            margin: 10px 0;
            color: #333;
            text-align: center;
        }
        .course p {
            
            color: #333;
            font-size: 20px;
        }
        .course button {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 5px;
            cursor: pointer;
            width: 100%;
        }
        .course button:hover {
            background-color: #0056b3;
        }
        .course a {
            text-decoration: none;
            color: inherit;
            display: block;
            width: 100%;
        }
       .course .show_price {
  font-size: 20px;
  font-weight: bold;
  color: #16a34a !important; /* add !important if needed */
  margin-top: 10px;
}

.course .show_price s {
  color: #9ca3af !important;
  font-weight: normal;
  margin-right: 8px;
}
.course:hover .show_price {
  color: #22c55e; /* Tailwind green-500 - brighter */
}
 :root {
      --primary: #6C63FF;
      --accent: #FF6584;
      --secondary: #f2f2f2;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      margin: 0;
      padding: 20px;
      background: var(--secondary);
    }

    .categories-wrapper {
      max-width: 960px;
      margin: auto;
      background: white;
      padding: 20px;
      border-radius: 16px;
      box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }

    /* Half-width category dropdown */
    .main-category-dropdown {
      margin-bottom: 20px;
      width: 50%;
    }

    .main-category-dropdown select {
      width: 100%;
      padding: 12px 16px;
      font-size: 1rem;
      border-radius: 10px;
      border: 2px solid var(--primary);
      background: linear-gradient(135deg, #f0f0ff, #e5e5ff);
      color: #333;
      appearance: none;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(108,99,255,0.1);
      transition: all 0.3s ease;
    }

    .main-category-dropdown select:focus {
      outline: none;
      box-shadow: 0 0 0 3px rgba(108,99,255,0.2);
    }

    /* Subcategories Scroll (unchanged) */
    .subcategory-scroll {
      display: flex;
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      gap: 12px;
      padding-bottom: 10px;
      scrollbar-width: thin;
      scrollbar-color: #ddd transparent;
    }

    .subcategory-scroll::-webkit-scrollbar {
      height: 6px;
    }

    .subcategory-scroll::-webkit-scrollbar-thumb {
      background: #ccc;
      border-radius: 4px;
    }

    .subcategory-item {
      flex-shrink: 0;
      white-space: nowrap;
      padding: 10px 18px;
      border-radius: 40px;
      font-size: 0.95rem;
      font-weight: 500;
      color: #fff;
      background: linear-gradient(135deg, #6c63ff, #857aff);
      box-shadow: 0 4px 12px rgba(108,99,255,0.2);
      transition: 0.3s;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }

    .subcategory-item:hover {
      transform: scale(1.05);
      box-shadow: 0 6px 14px rgba(108,99,255,0.3);
    }

    .subcategory-count {
      background: rgba(255,255,255,0.2);
      padding: 2px 8px;
      border-radius: 10px;
      font-size: 0.8rem;
    }
    
    .subcategory-item.active {
          background: linear-gradient(135deg, #ff7e5f, #feb47b);
          color: #fff;
    }
    /* Highlight selected pill */
.subcategory-item.selected {
  background: linear-gradient(135deg, #ff8a00, #e52e71);
  color: white;
  box-shadow: 0 6px 14px rgba(255, 138, 0, 0.3);
}


    @media (max-width: 768px) {
      .main-category-dropdown {
        width: 100%;
      }
    }

    @media (max-width: 600px) {
      .subcategory-item {
        font-size: 0.85rem;
        padding: 8px 14px;
      }
    }
    