/* Course Details Page Styles */
.course-detail-card {
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  border: none;
  overflow: hidden;
  background-color: var(--bs-body-bg);
}

.course-image {
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 12px;
}

.course-image:hover {
  transform: scale(1.02);
}

.course-badge {
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

.course-stats {
  background: linear-gradient(135deg, #696cff15 0%, #f8f9fa 100%);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(105, 108, 255, 0.1);
}

.course-stats .stat-item {
  text-align: center;
  padding: 0.5rem;
}

.course-stats .stat-value {
  font-size: 1.75rem;
  font-weight: bold;
  color: #696cff;
  margin-bottom: 0.25rem;
}

.course-stats .stat-label {
  font-size: 0.875rem;
  color: #6c757d;
  font-weight: 500;
}

.section-py {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin-bottom: 2rem;
}

.breadcrumb-item a {
  color: #696cff;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-item.active {
  color: #6c757d;
}

.course-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bs-dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.course-price {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.course-price.free {
  color: #71dd37;
}

.course-price.paid {
  color: #696cff;
}

.rating-stars {
  font-size: 1.2rem;
}

.btn-course-action {
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-course-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(105, 108, 255, 0.2);
}

.btn-primary {
  background-color: #696cff !important;
  border-color: #696cff !important;
}

.btn-primary:hover {
  background-color: #5a5dff !important;
  border-color: #5a5dff !important;
}

.btn-outline-primary {
  color: #696cff !important;
  border-color: #696cff !important;
}

.btn-outline-primary:hover {
  background-color: #696cff !important;
  border-color: #696cff !important;
}

.course-description {
  background-color: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid #696cff;
}

.prerequisites-list,
.objectives-list {
  list-style: none;
  padding: 0;
}

.prerequisites-list li,
.objectives-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.prerequisites-list li:last-child,
.objectives-list li:last-child {
  border-bottom: none;
}

.prerequisites-list li i,
.objectives-list li i {
  color: #71dd37;
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

.related-courses {
  background-color: #f8f9fa;
  border-radius: 16px;
  padding: 2rem;
  margin-top: 3rem;
}

.related-course-card {
  border-radius: 12px;
  overflow: hidden;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(105, 108, 255, 0.15);
}

.related-course-image {
  height: 160px;
  object-fit: cover;
}

.course-image-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.featured-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 10;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.badge.bg-primary {
  background-color: #696cff !important;
}

.badge.bg-info {
  background-color: #03c3ec !important;
}

.badge.bg-warning {
  background-color: #ffab00 !important;
}

.text-primary {
  color: #696cff !important;
}

.bg-primary {
  background-color: #696cff !important;
}
