/* Body styling */
body {
  font-family: Georgia, 'Times New Roman', Times, serif;
  margin: 0;
  padding: 0;
  margin-top: 102px;
  background-color: #f4f4f4;
  color: #333;
}

/* Container */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  background-color: #ffffff;
}

/* Sections */
section {
  margin-bottom: 40px;
  padding: 20px;
}



/* Container styling */
.filters {
  padding: 20px;
  max-width: 700px;
  margin: 0 auto;
}

/* Search wrapper with icon */
.search-wrapper {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 20px;
}

#searchInput {
  width: 100%;
  padding: 12px 16px 12px 40px; /* extra left padding for icon */
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  outline: none;
  transition: 0.3s;
  background-color: #fff;
}

#searchInput:focus {
  border-color: #6c5ce7;
  box-shadow: 0 0 6px rgba(108, 92, 231, 0.3);
}

/* Search icon styling */
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #999;
  pointer-events: none;
}

/* Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tags button {
  padding: 10px 16px;
  font-size: 15px;
  border: 1px solid #ccc; 
  border-radius: 6px;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tags button:hover {
  background-color: #6c5ce71a;
  color: #3e2dc4;
  border-color: #3e2dc4;
}






/* Course Cards Grid */
.courses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.course-card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.course-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}


.c-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 6px 10px;
  color: #6c5ce7; 
  background: none;
  border: none;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border-radius: 4px;
  transition: color 0.3s ease;
}


/* Button */
.btn {
  display: inline-block;
  padding: 10px 16px;
  background: #6c5ce7;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 10px;
}

/* Extras Section */
.extras {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  background: #fff;
  padding: 40px 20px;
  border-radius: 10px;
}

.extras h2 {
  font-size: 20px;
  color: #6c5ce7;
  margin-bottom: 15px;
}

.extras ul {
  list-style-type: none;
  padding: 0;
}

.extras li {
  margin: 10px 0;
}

.testimonials img {
  width: 100%;          
  max-width: 260px;     
  height: auto;         
  display: block;       
  margin: 0 auto;       
  border-radius: 8px;   
}

