/* ===== Section Wrapper ===== */
.student-course {
  padding: 3rem 1rem;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

/* ===== Cards Grid ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* ===== Card ===== */
.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  text-align: left;
  position: relative;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* Image Thumbnail */
.card img.thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Tag */
.card .tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #25A3A6;
  color: #fff;
  font-size: 0.8rem;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: 600;
}

.card .tagC {
  position: static;
  width: fit-content;
  margin: 0.25rem 0;
}

/* Content */
.card-content {
  padding: 1rem;
}

.card-company {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #555;
}

.card-company img {
  width: 20px;
  margin-right: 6px;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #08334C;
}

.card-description {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.75rem;
}

/* Rating & Meta */
.card-meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 0.85rem;
  color: #444;
  margin-bottom: 0.25rem;
}

.card-meta .star {
  color: #f39c12;
  margin-right: 4px;
}

.card-meta span {
  margin-right: 8px;
}
