


.filter-container {
    margin: 20px;
    text-align: center;
}

#category-filter {
    padding: 3px 10px!important;
    font-size: 16px;
}

.courses-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.course-card {
    width: 250px;
    margin: 10px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.course-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.course-info {
    padding: 15px;
    text-align: center;
}

.course-price {
    color: #4CAF50;
    font-weight: bold;
}

.buy-now-btn {
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.buy-now-btn:hover {
    background-color: #45a049;
}


/* Basic styles for categories */
#category-filter {
    width: 300px;
    padding: 10px;
    font-size: 16px;
}

.option-indent {
    padding-left: 20px;
}
.form-row {
  display: flex
;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 6px;
}

/* Filter container styling */
.filter-container {
 display: flex;
  flex-direction: row;
  align-items: anchor-center;
  gap: 0.4rem;
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, #fdfbfb, #ebedee);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 80%;
  margin: 1.5rem auto;
  font-family: "Segoe UI", sans-serif;
   justify-content: space-between;
}


/* Label styling */
.filter-container label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #222;
}

/* Stylish pill-shaped dropdown */
#category-filter {
  width: 90%;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 50px;
  background-color: #fff;
  color: #333;
  transition: all 0.3s ease;
  cursor: pointer;
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

/* Focus and hover states */
#category-filter:focus,
#category-filter:hover {
  outline: none;
  border-color: #2F6228;
  box-shadow: 0 0 0 3px rgb(47 98 40);
}

/* Mobile responsive tweaks */
@media (max-width: 480px) {
  .filter-container {
    width: 90%;
    padding: 1rem;
  }

  #category-filter {
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem;
  }
}
.filter-container label {
    font-weight: 600;
    font-size: 1.95rem;
    color: #222;
    float: none;
    margin: 0 0;
}

#duration-filter {
	width: 80px;
	padding: 3px 10px;
	font-size: 16px;
	border: 1px solid #ddd;
	border-radius: 40px;
	background-color: #fff;
	color: #333;
	transition: all 0.3s ease;
	cursor: pointer;
	 appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;

}

#mode-filter {
	width: 80px;
	padding: 3px 10px;
	font-size: 16px;
	border: 1px solid #ddd;
	border-radius: 40px;
	background-color: #fff;
	color: #333;
	transition: all 0.3s ease;
	cursor: pointer;
	 appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;

}

#location-filter {
	width: 80px;
	padding: 3px 10px;
	font-size: 16px;
	border: 1px solid #ddd;
	border-radius: 40px;
	background-color: #fff;
	color: #333;
	transition: all 0.3s ease;
	cursor: pointer;
	 appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
	
}

#feature-filter {
	width: 80px;
	padding: 3px 10px;
	font-size: 16px;
	border: 1px solid #ddd;
	border-radius: 50px;
	background-color: #fff;
	color: #333;
	transition: all 0.3s ease;
	cursor: pointer;
	 appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
	
}
@media (max-width: 768px) {
  .filter-container {
    flex-direction: column;
  }
}
#feature-filter:hover {
    outline: none;
    border-color: #2F6228;
    box-shadow: 0 0 0 3px rgb(47 98 40);
}
#location-filter:hover {
    outline: none;
    border-color: #2F6228;
    box-shadow: 0 0 0 3px rgb(47 98 40);
}
#mode-filter:hover {
    outline: none;
    border-color: #2F6228;
    box-shadow: 0 0 0 3px rgb(47 98 40);
}
#duration-filter:hover {
    outline: none;
    border-color: #2F6228;
    box-shadow: 0 0 0 3px rgb(47 98 40);
}
#price-filter:hover {
    outline: none;
    border-color: #2F6228;
    box-shadow: 0 0 0 3px rgb(47 98 40);
}
    .filter-container {
      display: flex;
      flex-wrap: wrap;
      gap: 0.8rem;
      padding: 1rem;
      background: linear-gradient(135deg, #fdfbfb, #ebedee);
      border-radius: 16px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      max-width: 95%;
      margin: 1.5rem auto;
      font-family: "Segoe UI", sans-serif;
      justify-content: space-between;
    }
    .filter-container label {
      font-weight: 600;
      color: #222;
    }
    .filter-container select {
      padding: 10px;
      font-size: 14px;
      border: 1px solid #ccc;
      border-radius: 20px;
      background-color: #fff;
      cursor: pointer;
      appearance: none;
      background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
      background-repeat: no-repeat;
      background-position: right 1rem center;
      background-size: 1rem;
      min-width: 80px;
    }
    .filter-container select:hover {
      outline: none;
      border-color: #2F6228;
      box-shadow: 0 0 0 3px rgb(47 98 40 / 20%);
    }
    #price-filter {
	width: 80px;
	padding: 3px 10px;
	font-size: 16px;
	border: 1px solid #ddd;
	border-radius: 50px;
	background-color: #fff;
	color: #333;
	transition: all 0.3s ease;
	cursor: pointer;
	 appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
	
}
.filter-container label {
    font-weight: 600;
    font-size: 16px;
    }
        .filter-container select {
      padding: 10px;
      font-size: 14px;
      border: 1px solid #ccc;
      border-radius: 20px;
      background-color: #fff;
      cursor: pointer;
      appearance: none;
      background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
      background-repeat: no-repeat;
      background-position: right 1rem center;
      background-size: 1rem;
      min-width: 80px;
    }
    .filter-container select:hover {
      outline: none;
      border-color: #2F6228;
      box-shadow: 0 0 0 3px rgb(47 98 40 / 20%);
    }

.filter-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem; /* spacing between filters */
}

.filter-group label {
  margin-bottom: 0.3rem;
  font-weight: 500;
}