.project-detail {
  padding: 50px 0 50px !important;
}

h2.course-title {
  font-size: 28px !important;
}

.breadcrumb-title .course-description {
  color: #fff;
  text-align: justify;
}

.project-detail .project-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0px !important;
  padding-bottom: 0px !important;
}

.project-detail .project-info li .icon {
  font-size: 12px !important;
  color: #ff7350;
}

.project-detail .project-info li strong,
.project-detail .project-info li span {
  font-size: 12px;
}

.project-detail .project-info li .btn {
  font-size: 12px;
  padding: 4px 10px;
}

.project-detail .project-info li.course-detail-button {
  border-bottom: none !important;
  margin-top: 10px;
}

.project-detail .info-column .inner-column3 {
  padding-bottom: 0px !important;
}

.course-lead-meta {
  margin-top: 15px;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}

.course-lead-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
  color: #fff;
}

.course-lead-rating strong {
  font-size: 18px;
  font-weight: 700;
  margin-right: 8px;
}

.course-lead-rating .stars {
  color: #ffc107;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.course-lead-rating .dot {
  margin: 0 6px;
  color: rgba(255, 255, 255, 0.75);
}

.course-lead-info {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.88);
}

.course-lead-info ol {
  gap: 14px;
  padding-left: 0;
  margin: 0;
  list-style: none;
}

.course-lead-info ol li {
  gap: 10px;
  padding: 3px 0px;
}

.course-lead-info ol li.course-type {
  font-size: 14px;
  color: #fff;
}

.course-lead-rating .stars i {
  color: #ff7350;
}

.course-lead-info a {
  color: #ff7350;
  text-decoration: none;
}

.course-lead-info a:hover {
  color: #ff4f24;
  text-decoration: underline;
}

/* Price Info Centering */
.price-info {
  text-align: center;
}

/* Course Preview Video Section */
.course-preview-section {
  margin-bottom: 0px;
}

.price-info strong {
  font-size: 18px;
  font-weight: 600;
  color: #ff7350;
}

.price-info sub {
  text-decoration: line-through;
}

.preview-video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 8px 0px 0px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  cursor: pointer;
}

.preview-video-container a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.preview-video-container:hover .video-overlay {
  background: rgba(0, 0, 0, 0.6);
}

.play-button {
  position: relative;
  z-index: 2;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.preview-video-container:hover .play-button {
  background: #fff;
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.play-button i {
  color: #ff7350;
  font-size: 32px;
  margin-left: 4px;
}

.preview-text {
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-top: 12px;
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .course-lead-meta {
    font-size: 13px;
  }

  .course-lead-rating strong {
    font-size: 16px;
  }

  .course-lead-info {
    gap: 10px;
  }
}

.course-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 6px;
  background: #fff;
}

.course-tab {
  background: #fff;
  color: #222;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.course-tab:hover {
  background: #ff7350;
  color: #fff;
}

.course-tab.active {
  background: #ff7350;
  color: #fff;
}

.course-tab.active strong,
.course-tab.active {
  font-weight: 900;
}

/* course tag badges */
.course-tags {
  margin-top: 20px;
}

.about-course-tags {
  margin-top: 0px !important;
}

.course-tags .badge {
  background-color: #ff7350;
  color: #fff;
  border: 1px solid #ff7350;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  display: inline-block;
  margin-right: 0.35rem;
  margin-bottom: 0.25rem;
}

.course-tags .badge:hover {
  background-color: #ff7a5d;
  border-color: #ff7a5d;
}

.course-tags .badge-tag-icon {
  font-size: 0.8rem;
  padding: 0.35rem 0.5rem;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

/* About Course Section Styles */
.course-header-section {
  margin-bottom: 40px;
}

.course-header-section h1.course-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a3a52;
  margin-bottom: 20px;
}

.course-header-section .course-short-description {
  font-size: 1.1rem;
  color: #666;
  font-weight: 500;
  margin-bottom: 30px;
}

.course-tags .tag-badge {
  display: inline-block;
  background-color: #ffccbf;
  color: #1a3a52;
  padding: 8px 16px;
  border-radius: 20px;
  margin-right: 10px;
  margin-bottom: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.about-course-tags .tag-badge {
  padding: 0px 10px;
  border-radius: 15px;
  font-size: 10px;
}

.course-tags .tag-badge:hover {
  background-color: #ffb3a0;
  transform: translateY(-2px);
}

.breadcrumb-nav {
  color: #999;
  font-size: 0.95rem;
  margin-bottom: 30px;
}

.about-course-breadcrumb-nav {
  margin-bottom: 0px !important;
}

.breadcrumb-nav span {
  margin: 0 5px;
}

.course-details-box {
  position: relative;
  background-color: #ff7350;
  padding: 20px 30px;
  border-radius: 8px;
  margin-bottom: 0;
}

.course-details-box h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.course-reqirment-box {
  position: relative;
  background: #ffd76a;
  border-radius: 28px;
  padding: 20px 28px;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.course-reqirment-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.12);
}

.course-reqirment-box::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 55%;
  height: 100%;
  background: #ff681f;
  border-top-right-radius: 80px;
  border-bottom-right-radius: 80px;
  transition:
    width 0.25s ease,
    transform 0.25s ease;
}

.course-reqirment-box:hover::before {
  width: 60%;
  transform: translateX(-4px);
}

.project-detail .lower-content h3 {
  margin-bottom: 0px !important;
  font-size: 22px !important;
}

.course-reqirment-box h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.course-details-content {
  background-color: #f8f9fb;
  padding: 30px;
  border-radius: 8px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.course-details-content .course-detail-text {
  color: #333;
  line-height: 1.8;
  font-size: 1rem;
}

/* Curriculum / Course content */
.curriculum-section {
  padding-top: 16px;
}

.curriculum-summary {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
  padding: 22px 24px;
  margin-bottom: 24px;
}

.curriculum-summary-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.curriculum-summary h3 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #1f2a44;
}

.curriculum-summary-meta {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
}

.curriculum-collapse {
  color: #7c3aed;
  background: transparent;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 8px 18px;
  font-weight: 700;
  cursor: pointer;
}

.curriculum-summary-note {
  margin-top: 16px;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
}

.curriculum-chapters {
  display: grid;
  gap: 16px;
}

.curriculum-chapter-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.chapter-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: #f9fafb;
  cursor: pointer;
}

.chapter-card-header:hover {
  background: #f3f4f6;
}

.chapter-label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6b7280;
}

.chapter-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.chapter-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: #6b7280;
  font-size: 0.95rem;
}

.chapter-classes {
  padding: 18px 24px 24px;
}

#features-content .objective-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

#features-content .objective-card {
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  padding: 26px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

#features-content .objective-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  border-color: rgba(79, 70, 229, 0.25);
}

#features-content .objective-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

#features-content .objective-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: rgba(59, 130, 246, 0.08);
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
}

#features-content .objective-content {
  text-align: center;
}

#features-content .objective-content h4 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

#features-content .objective-content p {
  margin: 0;
  color: #475569;
  line-height: 1.8;
  font-size: 0.95rem;
}

#features-content .objective-empty-message {
  grid-column: 1 / -1;
  padding: 24px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  text-align: center;
}

.curriculum-chapter-card.collapsed .chapter-classes {
  display: none;
}

.chapter-class-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #edf2f7;
}

.chapter-class-item:last-child {
  border-bottom: none;
}

.class-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.class-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #eef2ff;
  color: #4338ca;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.class-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.class-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

.class-subtitle {
  margin: 0;
  font-size: 0.92rem;
  color: #6b7280;
}

.class-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  color: #4b5563;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

.class-preview-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #7c3aed;
  background: #f5f3ff;
  color: #7c3aed;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.class-preview-button:hover {
  background: #ede9fe;
}

.no-class-message,
.curriculum-empty-message {
  padding: 20px 0;
  color: #6b7280;
  font-size: 0.95rem;
}

@media (max-width: 768px) {

  .chapter-card-header,
  .chapter-classes,
  .curriculum-summary {
    padding-left: 16px;
    padding-right: 16px;
  }

  .chapter-card-header {
    flex-direction: column;
    align-items: stretch;
  }

  .chapter-meta {
    justify-content: flex-start;
  }
}

/* FAQ Section Styles */
#faq-tab {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 32px;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.faq-button {
  width: 100%;
  padding: 20px 24px;
  background: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  transition: all 0.25s ease;
}

.faq-button:hover {
  background: #f8fafc;
}

.faq-button:not(.collapsed) {
  background: #f0f9ff;
  color: #0369a1;
}

.faq-title {
  flex: 1;
  text-align: left;
  line-height: 1.4;
}

.faq-icon {
  width: 24px;
  height: 24px;
  background: #e0e7ff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: all 0.25s ease;
}

.faq-icon::before {
  content: "+";
  font-weight: 700;
  color: #4f46e5;
  font-size: 1.2rem;
  line-height: 1;
}

.faq-button:not(.collapsed) .faq-icon {
  background: #c7d2fe;
}

.faq-button:not(.collapsed) .faq-icon::before {
  content: "−";
}

.faq-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-collapse.show {
  max-height: 1000px;
}

.faq-content {
  padding: 0 24px 20px;
  color: #475569;
  line-height: 1.8;
  font-size: 0.95rem;
}

/* Review & Ratings */
.review-summary-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.review-score-card,
.review-breakdown-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
}

.review-score-value {
  font-size: 3rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.review-score-label {
  margin-top: 10px;
  color: #475569;
  font-size: 0.95rem;
}

.review-score-stars {
  display: flex;
  gap: 6px;
  margin: 18px 0 10px;
}

.review-score-stars i,
.review-card-stars i {
  color: #94a3b8;
  font-size: 1rem;
}

.review-score-stars i.active,
.review-card-stars i.active {
  color: #f59e0b;
}

.review-score-count {
  color: #64748b;
  font-size: 0.95rem;
}

.review-breakdown-row {
  display: grid;
  grid-template-columns: 28px 1fr 40px;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.breakdown-star {
  color: #0f172a;
  font-weight: 700;
}

.breakdown-bar {
  background: #e2e8f0;
  border-radius: 999px;
  height: 10px;
  overflow: hidden;
}

.breakdown-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #34d399, #22c55e);
}

.breakdown-count {
  color: #475569;
  font-weight: 600;
}

/* Feature Ratings - Circular Progress */
.feature-ratings-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 24px;
  margin-bottom: 26px;
  text-align: center;
}

.feature-ratings-title {
  margin: 0 0 24px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.feature-ratings-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.feature-rating-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.feature-rating-circle {
  position: relative;
  width: 110px;
  height: 110px;
}

.feature-rating-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.feature-ring-bg {
  fill: none;
  stroke: #e8ece8;
  stroke-width: 6;
}

.feature-ring-fill {
  fill: none;
  stroke: #4caf50;
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}

.feature-rating-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 3px;
}

.feature-rating-value span {
  font-size: 1.35rem;
  font-weight: 700;
  color: #333;
}

.feature-rating-value i {
  font-size: 0.85rem;
  color: #555;
}

.feature-rating-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #555;
}

.review-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.review-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 24px;
}

.featured-review-card {
  border-color: #34d399;
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.08);
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.review-card-user {
  display: flex;
  gap: 16px;
  align-items: center;
}

.review-card-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  overflow: hidden;
}

.review-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-card-user-info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.review-card-user-info {
  min-width: 0;
}

.review-card-date {
  color: #64748b;
  font-size: 0.95rem;
  white-space: nowrap;
  align-self: flex-start;
}

.review-card-stars {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.review-card p {
  margin: 0;
  color: #475569;
  line-height: 1.8;
}

.review-empty-message {
  padding: 24px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
  color: #64748b;
  text-align: center;
}

@media (max-width: 991px) {
  .review-summary-grid {
    grid-template-columns: 1fr;
  }

  .review-cards {
    grid-template-columns: 1fr;
  }
}

/* Instructor Social Links */
.instructor-social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  justify-content: center;
}

.instructor-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #f1f5f9;
  color: #64748b;
  border-radius: 50%;
  transition: all 0.25s ease;
  text-decoration: none;
}

.instructor-social-links a:hover {
  background: #0f172a;
  color: #ffffff;
  transform: translateY(-2px);
}

.instructor-social-links a i {
  font-size: 1rem;
}

.about-instructor .instructor-block {
  text-align: justify;
}

.faq-empty-message {
  padding: 32px 24px;
  text-align: center;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  color: #64748b;
  font-size: 0.95rem;
}

.project-detail .lower-content h4 {
  margin-bottom: 0px !important;
}

/* =========================================
   Study Plan Table
   ========================================= */
.course-study-template {
  margin-top: 20px;
  margin-bottom: 10px;
}

.study-plan-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  overflow: hidden;
  font-family: 'Georgia', serif;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.study-plan-table .study-plan-header {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  padding: 18px 20px;
  text-align: center;
  border-bottom: 1px solid rgba(200, 200, 200, 0.4);
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.study-plan-table thead tr:nth-child(2) th {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  padding: 14px 12px;
  text-align: center;
  border: 1px solid rgba(200, 200, 200, 0.35);
  background: rgba(255, 255, 255, 0.25);
}

.study-plan-table tbody td {
  font-size: 0.95rem;
  color: #1a1a1a;
  padding: 16px 12px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid rgba(200, 200, 200, 0.35);
  background: rgba(255, 255, 255, 0.2);
}

.study-plan-table tbody td strong {
  font-weight: 700;
}

@media (max-width: 768px) {
  .study-plan-table .study-plan-header {
    font-size: 1.2rem;
    padding: 14px 12px;
  }

  .study-plan-table thead tr:nth-child(2) th {
    font-size: 0.78rem;
    padding: 10px 6px;
  }

  .study-plan-table tbody td {
    font-size: 0.82rem;
    padding: 10px 6px;
  }
}