/* ===============================
GLOBAL
=============================== */

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
}
.single-courses .ast-container {
  max-width: 100% !important;
  padding: 0;
  margin: 0 auto;
  background: #f7f7f7;
}
section.courses-details {
  padding: 60px 0px;
}
.courses-details .container {
  max-width: 1300px;
  margin: auto;
  padding: 0 20px;
}

.courses-details .row {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.col-lg-8 {
  flex: 0 0 65%;
  max-width: 65%;
}

.col-lg-4 {
  flex: 0 0 32%;
  max-width: 32%;
}

@media (max-width: 992px) {
  .col-lg-8,
  .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ===============================
COURSE IMAGE
=============================== */
main.course-main-box {
  width: 100%;
}
.course-banner {
  background: #eeeeee;
  padding: 70px 0;
  text-align: center;
  margin-bottom: 20px;
}

.course-banner-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1d2b44;
}

.course-breadcrumb {
  font-size: 15px;
  color: #555;
}

.course-breadcrumb a {
  color: #2f57ef;
  text-decoration: none;
}

.course-breadcrumb span {
  margin: 0 6px;
}

.course-breadcrumb .active {
  color: #555;
}
.scourse_image {
  position: relative;
}

.scourse_image img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.scourse_image:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 12px;
}

.vid_btn_wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.scbtn {
  width: 80px;
  height: 80px;
  line-height: 80px;
  text-align: center;
  border: 3px dashed #fff;
  border-radius: 50%;
  color: #fff;
  font-size: 26px;
  display: inline-block;
}

/* ===============================
COURSE META
=============================== */

.scourse_meta {
  margin-top: 25px;
  margin-bottom: 25px;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.smeta {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.smeta img {
  width: 55px;
  border-radius: 50%;
}

.smeta span {
  font-size: 14px;
  color: #777;
}
span.rev_icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.smeta p {
  margin: 0;
  font-weight: 600;
	   display: flex;
    align-items: center;
    gap: 4px;
}

.rev_icons {
  color: #ffb608;
}

.rev_icons img {
  max-width: 20px;
}

/* ===============================
TITLE
=============================== */

.scourse-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 25px;
}

/* ===============================
TABS
=============================== */

.cd_tab .nav-tabs {
  display: flex;
  gap: 10px;
  background: #fff;
  border: 1px solid #eee;
  padding: 10px;
  border-radius: 8px;
  margin: 0;
  overflow-x: auto;
}

.nav-link {
  border-radius: 30px;
  padding: 6px 22px;
  font-weight: 500;
  border: none;
  background: none;
  cursor: pointer;
  background: #777;
}
section.courses-details .cd_tab .nav-item {
  list-style-type: none;
}

.nav-link.active {
  background: #4f46e5;
  color: #fff;
}

/* ===============================
TAB CONTENT
=============================== */

.tab-content {
  margin-top: 30px;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* ===============================
DESCRIPTION
=============================== */

.cdtitle {
  font-size: 20px;
  margin-bottom: 15px;
}

/* ===============================
BENEFITS
=============================== */

.benefits-box {
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 40px;
}

.benefits-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 25px;
}

.benefits-list {
  list-style: none;
  padding: 0;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 16px;
  color: #444;
}

.benefits-list i {
  color: #4f46e5;
  font-size: 18px;
  margin-top: 3px;
}

/* ===============================
CURRICULUM ACCORDION
=============================== */

.curriculum-box {
  border: 1px solid #eee;
  padding: 25px;
  border-radius: 8px;
}

.accordion-item {
  border: 1px solid #eee;
  margin-bottom: 10px;
  border-radius: 6px;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  font-size: 18px;
  padding: 15px;
  width: 100%;
  text-align: left;
  border: none;
  background: #f7f7f7;
  cursor: pointer;
  color: #222;
}

.accordion-body {
  padding: 15px;
  display: none;
}

.accordion-item.active .accordion-body {
  display: block;
}
.courses-details .accordion-item.active button.accordion-button {
    background: #fff;
    color: #2f57ef;
    padding-left: 20px;
}
.courses-details .accordion-item.active {
    background: #ffff !important;
    border: 0;
}

/* ===============================
INSTRUCTOR
=============================== */

.instructor-box {
  background: #fff;
  padding: 15px;
  border-radius: 6px;
}
.instructor-box .instructor-image img {
  height: 150px;
}

.instructor-image img {
  width: 100%;
  border-radius: 8px;
}

.instructor-social {
  margin-top: 15px;
}

.instructor-social a {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #eaeaea;
  margin-right: 8px;
  color: #444;
  font-size: 14px;
  text-decoration: none;
}

.instructor-social a:hover {
  background: #4f46e5;
  color: #fff;
}

.instructor-name {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 5px;
}

.instructor-role {
  color: #777;
  display: block;
  margin-bottom: 10px;
}

.instructor-desc {
  color: #555;
  margin-bottom: 15px;
}

.instructor-meta {
  display: flex;
  gap: 30px;
  font-weight: 600;
}

.instructor-meta i {
  color: #4f46e5;
  margin-right: 6px;
}

/* ===============================
SIDEBAR
=============================== */
section.courses-details .sidebar-main aside {
  padding: 10px 20px 20px 20px;
  border-radius: 5px;
}

.course-sidebar {
  background: #fff;
  border: 1px solid #eee;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 25px;
}

.sidebar-sticky {
  position: sticky;
  top: 24px;
}

/* ===============================
COURSE LIST
=============================== */

.scourse_list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  margin-left: 0;
}

.scourse_list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  font-weight: 500;
}

.scourse_list i {
  color: #4f46e5;
  margin-right: 6px;
}

/* ===============================
FORM
=============================== */

.form-label {
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

textarea.form-control {
  resize: none;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.btn-danger {
  background: #e53935;
  color: #fff;
}

.btn-danger:hover {
  background: #c62828;
}
.cd-form-cont textarea {
  max-height: 100px;
}
h4.cd-form-title {
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 20px;
}
.cd-form-cont .join-btn {
  background-image: linear-gradient(
    110deg,
    var(--e-global-color-secondary) 40%,
    var(--e-global-color-accent) 100%
  );
}
.cd-form-cont .join-btn:hover {
  color: white;
  background-image: linear-gradient(
    110deg,
    var(--e-global-color-accent) 40%,
    var(--e-global-color-secondary) 80%
  );
}
/* ===============================
SOCIAL SHARE
=============================== */

.cd_social {
  margin-top: 20px;
}

.cd_social span {
  font-weight: 600;
  margin-right: 8px;
}

.cd_social ul {
  display: inline-flex;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.cd_social a {
  width: 35px;
  height: 35px;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #333;
  text-decoration: none;
}

.cd_social a:hover {
  background: #4f46e5;
  color: #fff;
}

/* ===============================
RESPONSIVE
=============================== */

@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }
	.courses-details .container{padding:0 14px;}

  .smeta {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 45%;
  }

  .instructor-meta {
    flex-direction: column;
    gap: 10px;
  }
	.course-banner-title {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1d2b44;
}
}
