/* Course Search styling */
.course-search-container {
  margin-bottom: 30px;
  position: relative;
}

.course-search-box {
  width: 100%;
  display: flex;
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.course-search-input {
  width: 100%;
  height: 54px;
  border-radius: 50px;
  padding: 0 60px 0 25px;
  border: 2px solid #ecf1f9;
  background-color: #fff;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  font-size: 16px;
  transition: all 0.3s ease;
}

.course-search-input:focus {
  outline: none;
  border-color: #6c00ba;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.course-search-button {
  position: absolute;
  right: 6px;
  top: 6px;
  height: 42px;
  width: 42px;
  border-radius: 50%;
  border: none;
  background-color: #6c00ba;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-search-button:hover {
  background-color: #3868e0;
}

.course-search-button i {
  line-height: 1;
}

.course-search-results {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.course-search-title {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #6c00ba;
}

.course-search-count {
  font-size: 14px;
  color: #7585a5;
  margin-bottom: 20px;
}

/* Original course styles */
.course-style2 {
  margin-bottom: 30px;
  transition: all 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.course-style2:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.course-style2 .course-img {
  position: relative;
  overflow: hidden;
}

.course-style2 .course-img img {
  width: 100%;
  transition: all 0.5s ease;
  vertical-align: middle;
}

.course-style2:hover .course-img img {
  transform: scale(1.05);
}

.course-style2 .course-price {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: #6c00ba;
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 14px;
}

.course-style2 .course-content {
  background-color: #fff;
  padding: 20px;
}

.course-style2 .course-name {
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.course-style2 .course-name a {
  color: #283c50;
  transition: color 0.3s ease;
}

.course-style2 .course-name a:hover {
  color: #6c00ba;
}

.course-style2 .course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 13px;
  color: #7585a5;
}

.course-style2 .course-meta span {
  display: flex;
  align-items: center;
}

/* Icon styling for course meta */
.course-style2 .course-meta i {
  margin-right: 5px;
  font-size: 14px;
  color: #6c00ba;
  width: 16px;
  text-align: center;
  display: inline-block;
}

.course-style2 .course-meta i.fal.fa-user-circle {
  font-size: 13px;
}

.course-style2 .course-meta i.fas.fa-history {
  font-size: 12px;
}

.course-style2 .course-meta i.far.fa-calendar {
  font-size: 12px;
}

.course-style2 .course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid #ecf1f9;
}

.course-style2 .course-teacher {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
}

.course-style2 .course-teacher img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 8px;
  object-fit: cover;
}

.course-style2 .course-teacher a {
  color: #283c50;
  transition: color 0.3s ease;
}

.course-style2 .course-teacher a:hover {
  color: #6c00ba;
}

/* Star rating styling */
.course-style2 .course-review {
  color: #ffb800;
  font-size: 12px;
  letter-spacing: 1px;
  display: flex;
}

.course-style2 .course-review i {
  margin: 0 1px;
}

/* Star icon specific styling */
.course-style2 .course-review i.fas.fa-star {
  color: #ffb800;
}

.course-style2 .course-review i.fas.fa-star-half {
  color: #ffb800;
}

.course-style2 .course-review i.far.fa-star {
  color: #ffb800;
  opacity: 0.4;
}

/* Additional styles */
.course-style2 .course-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.fa-ticket-alt {
  color: #6c00ba;
}

.course-style2 .course-badge {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.85);
  color: #6c00ba;
  font-weight: 600;
}

.course-style2 .course-badge.level {
  background-color: rgba(72, 127, 255, 0.15);
}

.course-style2 .course-label {
  font-size: 12px;
  color: #7585a5;
  display: block;
  margin-bottom: 2px;
  font-weight: 500;
}

.course-style2 .course-value {
  font-size: 13px;
  font-weight: 600;
  color: #283c50;
  margin-bottom: 8px;
  display: block;
}

.course-style2 .course-detail-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #ecf1f9;
}

.course-style2 .course-seats {
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-style2 .course-seat-progress {
  height: 4px;
  width: 100px;
  background-color: #ecf1f9;
  border-radius: 10px;
  overflow: hidden;
}

.course-style2 .course-seat-bar {
  height: 100%;
  background-color: #6c00ba;
}

.course-style2 .course-credit {
  background-color: #f8f9fa;
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  margin-right: 5px;
  font-size: 12px;
}

.course-style2 .course-schedule {
  margin-top: 12px;
  padding: 8px 10px;
  background-color: #f8f9fa;
  border-radius: 6px;
  font-size: 12px;
}

.course-style2 .course-schedule-item {
  display: flex;
  align-items: center;
  margin-bottom: 3px;
  color: #283c50;
}

.course-style2 .course-schedule-item i {
  width: 16px;
  margin-right: 5px;
  color: #6c00ba;
}

.course-style2 .course-detail-link {
  display: block;
  text-align: center;
  margin-top: 15px;
  font-weight: 600;
  color: #6c00ba;
  font-size: 14px;
  padding: 8px;
  border-radius: 6px;
  background-color: rgba(72, 127, 255, 0.1);
  transition: all 0.3s ease;
}

.course-style2 .course-detail-link:hover {
  background-color: rgba(72, 127, 255, 0.2);
}

/* Course details styling - isolated from bootstrap */
.course-details {
  padding: 60px 0 80px;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  color: #333;
}

.course-details *,
.course-details *:before,
.course-details *:after {
  box-sizing: border-box;
}

.course-details .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.course-details .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.course-details .col-sm-6 {
  width: 50%;
  padding: 0 15px;
  position: relative;
}

.course-details .col-lg-4 {
  width: 33.333333%;
  padding: 0 15px;
  position: relative;
}

.course-details .col-lg-8 {
  width: 66.666667%;
  padding: 0 15px;
  position: relative;
}

@media (max-width: 992px) {
  .course-details .col-lg-4,
  .course-details .col-lg-8 {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .course-details .col-sm-6 {
    width: 100%;
  }
}

.course-details .flex-row-reverse {
  flex-direction: row-reverse;
}

/* Course image */
.course-details .mega-hover {
  position: relative;
  overflow: hidden;
  display: block;
}

.course-details .course-img {
  margin-bottom: 30px;
}

.course-details .course-img img {
  width: 100%;
  transition: all 0.5s ease;
  height: auto;
  max-height: 600px;
  display: block;
}

.course-details .mega-hover:hover img {
  transform: scale(1.05);
}

/* Course meta box */
.course-details .course-meta-box {
  background-color: #f8f9fb;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 110px;
}

.course-details .course-meta-box table {
  width: 100%;
  margin-bottom: 25px;
  border-collapse: collapse;
}

.course-details .course-meta-box th {
  font-weight: 600;
  padding: 12px 0;
  color: #333;
  text-align: left;
}

.course-details .course-meta-box td {
  text-align: right;
  padding: 12px 0;
  color: #666;
}

.course-details .course-meta-box i {
  margin-right: 10px;
  color: #6c00ba;
}

.course-details .course-meta-box .vs-btn {
  display: block;
  width: 100%;
  text-align: center;
  background-color: #6c00ba;
  color: #fff;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  outline: none;
  cursor: pointer;
}

.course-details .course-meta-box .vs-btn:hover {
  background-color: #5a00a0;
}

/* Course content */
.course-details .course-category {
  margin-bottom: 10px;
}

.course-details .course-category a {
  display: inline-block;
  background-color: rgba(108, 0, 186, 0.1);
  color: #6c00ba;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.course-details .course-category a:hover {
  background-color: rgba(108, 0, 186, 0.2);
}

.course-details .course-title {
  font-size: 32px;
  margin-bottom: 15px;
  margin-top: 0;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
}

.course-details .course-review {
  display: flex;
  margin-bottom: 20px;
  color: #ffb800;
  font-size: 16px;
}

.course-details .course-review i {
  margin-right: 3px;
}

.course-details .border-title2 {
  font-size: 24px;
  margin-bottom: 15px;
  margin-top: 30px;
  padding-bottom: 15px;
  position: relative;
  font-weight: 600;
  color: #333;
}

.course-details .border-title2:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 2px;
  background-color: #6c00ba;
}

.course-details h5 {
  font-size: 18px;
  margin-top: 25px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #333;
}

.course-details p {
  margin-bottom: 20px;
  margin-top: 0;
  line-height: 1.7;
  color: #666;
}

/* List styles */
.course-details .list-style1.vs-list ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 30px;
  margin-top: 0;
}

.course-details .list-style1.vs-list ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #666;
}

.course-details .list-style1.vs-list ul li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: #6c00ba;
  font-size: 14px;
}

/* Video box */
.course-details .inner-video-box {
  position: relative;
  margin: 30px 0;
  border-radius: 10px;
  overflow: hidden;
}

.course-details .inner-video-box img {
  width: 100%;
  height: auto;
  display: block;
}

.course-details .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c00ba;
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.course-details .play-btn:hover {
  background-color: #6c00ba;
  color: #fff;
}

.course-details .position-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Accordion styling */
.course-details .accordion-style4 {
  margin-bottom: 30px;
}

.course-details .accordion-style4 .accordion-item {
  background-color: transparent;
  border: 1px solid #e5e8ec;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.course-details .accordion-style4 .accordion-item.active {
  border-color: #6c00ba;
}

.course-details .accordion-style4 .accordion-header {
  margin: 0;
}

.course-details .accordion-style4 .accordion-button {
  background-color: #f8f9fb;
  color: #333;
  font-weight: 600;
  padding: 15px 20px;
  text-align: left;
  width: 100%;
  display: flex;
  align-items: center;
  border: none;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  font-size: 16px;
}

.course-details .accordion-style4 .accordion-button:not(.collapsed) {
  background-color: #6c00ba;
  color: #fff;
}

.course-details .accordion-style4 .accordion-button:after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 400;
}

.course-details .accordion-style4 .accordion-button:not(.collapsed):after {
  content: "-";
  color: #fff;
}

.course-details .accordion-style4 .button-label {
  display: inline-block;
  padding: 5px 15px;
  background-color: rgba(108, 0, 186, 0.1);
  color: #6c00ba;
  border-radius: 50px;
  margin-right: 15px;
  font-size: 14px;
}

.course-details .accordion-style4 .accordion-button:not(.collapsed) .button-label {
  background-color: #fff;
  color: #6c00ba;
}

.course-details .accordion-style4 .accordion-collapse {
  display: none;
}

.course-details .accordion-style4 .accordion-collapse.show {
  display: block;
}

.course-details .accordion-style4 .accordion-body {
  padding: 20px;
  background-color: #fff;
}

/* Syllabus styling */
.course-details .syllabus-list {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.course-details .syllabus-img {
  flex: 0 0 80px;
}

.course-details .syllabus-img img {
  width: 100%;
  border-radius: 5px;
  display: block;
}

.course-details .syllabus-content {
  flex: 1;
}

.course-details .syllabustitle {
  margin-bottom: 10px;
  margin-top: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.course-details .syllabustext {
  margin-bottom: 5px;
  margin-top: 0;
  color: #666;
  line-height: 1.6;
}

/* Additional elements */
.course-details .available-badge {
  display: inline-block;
  padding: 5px 15px;
  background-color: #28a745;
  color: #fff;
  border-radius: 50px;
  margin-left: 15px;
  font-size: 14px;
}

.course-details .mt-4 {
  margin-top: 1.5rem;
}

.course-details .pt-lg-2 {
  padding-top: 0.5rem;
}

/* Team styling */
.course-details .team-style1 {
  margin-bottom: 30px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.course-details .team-style1:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.course-details .team-img {
  position: relative;
  overflow: hidden;
}

.course-details .team-img img {
  width: 100%;
  height: auto;
  display: block;
}

.course-details .team-content {
  padding: 20px;
  text-align: center;
}

.course-details .team-name {
  font-size: 20px;
  margin-bottom: 5px;
  margin-top: 0;
  font-weight: 600;
  color: #333;
}

.course-details .team-name a {
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
}

.course-details .team-name a:hover {
  color: #6c00ba;
}

.course-details .team-degi {
  color: #6c00ba;
  margin-bottom: 10px;
  margin-top: 0;
  font-size: 14px;
  font-weight: 500;
}

.course-details .team-text {
  color: #666;
  line-height: 1.6;
  font-size: 14px;
  margin-top: 0;
  margin-bottom: 0;
}

.course-details .team-review {
  color: #ffb800;
  font-size: 14px;
  margin-bottom: 10px;
}

/* Carousel styling */
.course-details .vs-carousel {
  position: relative;
  margin: 0 -15px;
}

.course-details .gx-40 {
  margin-left: -20px;
  margin-right: -20px;
}

.course-details .gx-40 > [class*="col-"] {
  padding-left: 20px;
  padding-right: 20px;
}

.course-details .vs-carousel:after {
  content: "";
  display: table;
  clear: both;
}

.course-details .vs-carousel [data-slide-show="2"] .col-sm-6,
.course-details .vs-carousel [data-lg-slide-show="2"] .col-sm-6,
.course-details .vs-carousel [data-md-slide-show="2"] .col-sm-6,
.course-details .vs-carousel [data-sm-slide-show="2"] .col-sm-6 {
  width: 50%;
  float: left;
}

@media (max-width: 768px) {
  .course-details .vs-carousel [data-slide-show="2"] .col-sm-6,
  .course-details .vs-carousel [data-lg-slide-show="2"] .col-sm-6,
  .course-details .vs-carousel [data-md-slide-show="2"] .col-sm-6,
  .course-details .vs-carousel [data-sm-slide-show="2"] .col-sm-6 {
    width: 100%;
  }
}
