.robodemy_course_main {
  background: #000;
}
.robodemy-header {
  text-align: center;
  margin-bottom: 20px;
}

.robodemy-header h1 {
  font-size: 2rem;
  font-family: "Poppins", Sans-serif;
  font-weight: 700;
  color: #4568e8;
  text-transform: capitalize;
}

#robodemy-category-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.robodemy-category-tab {
  padding: 20px;
  background-color: #4d88e02e;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  font-family: "Poppins", Sans-serif;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.robodemy-category-tab:hover,
.robodemy-category-tab.active {
  background-color: #4d88dd;
  color: #fff;
  /* transform: scale(1.05); */
}

#robodemy-courses-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  justify-content: center;
}

.robodemy-course-card {
  box-sizing: border-box;
  padding: 15px;
  border: 5px solid #fff;
  border-radius: 20px;
  /* margin: 15px; */
  background-color: transparent;
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.robodemy-course-card:hover {
  transform: translateY(-5px);
}

.robodemy-course-card .robodemy-course-image {
  width: 100%;
  height: 230px;
  /* object-fit: cover; */
  border-radius: 4px;
  margin-bottom: 10px;
}

.robodemy-course-card h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: #fff;
  font-family: "Poppins", Sans-serif;
  font-size: 30px;
  font-weight: 700;
}
.robodemy-course-title {
  color: #fff;
}
.robodemy-course-card p {
  line-height: 1.5;
  margin-bottom: 10px;
  font-family: "Poppins", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5em;
  color: #c1c4c9;
}
.robodemy-course-card .robodemy-course-price {
  font-family: "Poppins", Sans-serif;
  font-weight: 400;
  color: #fff;
  font-size: 20px;
}

.robodemy-course-card a {
  margin-top: auto;
  display: inline-block;
  text-align: center;
  padding: 12px 20px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 18px;
  font-family: "Poppins", Sans-serif;
  font-weight: 600;
  background-color: #007bff;
  color: #fff;
  border-style: none;
  border-radius: 20px;
  width: auto;
  max-width: fit-content;
}

.robodemy-course-card a:hover {
  background-color: #0056b3;
}

@media (max-width: 600px) {
  .robodemy-header h1 {
    font-size: 1.5rem;
  }

  .robodemy-category-tab {
    padding: 8px 14px;
    font-size: 0.9rem;
  }

  .robodemy-course-card h2 {
    font-size: 1.1rem;
  }
}
