/* -------------------------
main-search-wrapper Page css Start
------------------------- */

.main-search-wrapper {
  background-color: #f5f5f5;
  height: 315px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  margin: 70px 0 0;
}

.main-search-wrapper .search-meta {
  text-align: center;
}

.main-search-wrapper .search-meta span {
  color: #252b42;
  font-family: Montserrat;
  font-size: 24px;
  font-weight: 700;
}

.main-search-wrapper .search-meta p {
  color: #3a4367;
  margin: 0;
  font-family: Montserrat;
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 26px;
}
.main-search-wrapper .search-meta a {
  border-radius: 4px;
  border: none;
  outline: none;
  text-transform: uppercase;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: background-color 0.3s ease;
  background-color: #e35d11;
  padding: 10px 11px;
}

.library-message-p{
  font-size: 16px;
    font-weight: 600;
    color: #252b42;
    line-height: 22px;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0 0 20px;
    text-align: center;
}

.main-search-wrapper .search-meta p strong {
  font-size: 15px;
  font-weight: 700;
}

.main-search-wrap {
  max-width: 560px;
  width: 100%;
  margin: 25px auto 0;
  position: relative;
  z-index: 1;
}

.main-search-wrap .form-control {
  color: #969696;
  font-size: 14px;
  height: 44px;
  border-radius: 4px;
  padding: 0 40px 0px 14px;
  outline: none;
  border: none;
  background: #fff;
  border: 1px solid #dbdbdb;
}

.main-search-wrap .form-control:focus {
  border-color: #e35d11 !important;
  outline: 0;
  box-shadow: 0px 0px 0px 3px rgb(216 94 26 / 25%);
}

.main-search-wrap .icon-search {
  position: absolute;
  top: 0;
  z-index: 9;
  right: 14px;
  top: 13px;
  counter-reset: unset;
  cursor: pointer;
}

/* -------------------------------------------
Filtter Search Bar overlay
------------------------------------------- */

.search-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  z-index: 999;
  opacity: 0;
  background: rgba(0, 0, 0, 0.5) !important;
  transition: all 0.3s linear;
}

body.search-overlay .search-backdrop {
  opacity: 1;
  visibility: visible;
}

body.search-overlay {
  overflow: hidden !important;
}

body.search-overlay .main-search-wrap {
  z-index: 999;
}

/* -------------------------------------------
Course Listing Page   Start css
------------------------------------------- */

.content-wrapper {
  margin: 40px 0 0;
}

/* .course-listing ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
} */

/* .course-listing ul li {
  display: flex;
    flex-wrap: wrap;
  margin: 0 0 30px;
} */

.course-listing ul li a {
  text-decoration: none;
  outline: none !important;
}

.course-listing ul li .course-wrap {
  background-color: #32384a;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  position: relative;
  transition: all 0.2s ease-in-out;
  overflow: hidden;
}

.course-listing ul li .course-wrap .course-thumb {
  overflow: hidden;
}

.course-listing ul li .course-wrap .course-thumb img {
  max-width: 100%;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.course-listing ul li .course-wrap .course-meta {
  min-height: 60px;
  background-color: #252b42;
  border-radius: 0 0 4px 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 15px;
  transition: all 0.6s ease-in-out;
}

.course-listing ul li .course-wrap .course-meta > .leftbar span {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
}

.course-listing ul li .course-wrap .course-meta > .rightbar p {
  /* color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0; */
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  background: #e35d11;
  border-radius: 4px;
  padding: 4px 7px;
}

.course-listing ul li:hover .course-wrap .course-thumb img {
  transform: scale(1.1);
}

.course-listing ul li:hover .course-wrap {
  box-shadow: 0px 1px 20px 0px rgb(0 0 0 / 12%);
  /* transform: translateY(-5px); */
}

/* .course-listing ul li:hover .course-wrap .course-meta {
    background-color: #000;
} */

/* -------------------------------------------
Course Listing Details Page  Start Css
------------------------------------------- */

.course-detail-page {
  background-color: #f5f5f5;
  margin: 70px 0 0;
}

.course-detail-body {
  padding: 60px 0;
}

.course-price-wrap {
  position: relative;
  margin: 25px 0 0;
}

.course-price-wrap .off-price {
  color: #e20000;
  margin: 0;
  font-size: 24px;
  font-weight: 600;
}

.course-price-wrap h2 {
  font-size: 65px;
  font-weight: 400;
  color: #252b42;
  position: relative;
  margin: 0;
  padding: 0 0 0 18px;
}

.course-price-wrap h2 small {
  font-size: 24px;
  font-weight: 500;
  position: absolute;
  top: 15px;
  left: 0;
}

.course-price-wrap h2 span {
  color: #888a8b;
  font-size: 18px;
  font-weight: 400;
  position: relative;
  margin: 0 -7px 0;
  top: -5px;
}

.course-price-wrap h2 span::before {
  content: "";
  position: absolute;
  background-color: #888a8b;
  height: 2px;
  width: 100%;
  top: 10px;
}

.course-info-meta {
  margin: 25px 0 40px;
}

.course-info-meta ul {
  margin: 0;
  padding: 0;
}

.course-info-meta ul li {
  color: #3a4367;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px;
}

.course-info-wrap .btn {
  border-radius: 4px;
  padding: 16px 35px;
  outline: none;
  border: none;
  box-shadow: none;
}

.course-info-wrap .btn-anchor {
  background-color: #e35d11;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-transform: none;
}

.main-course-thumb {
  box-shadow: 0px 4px 16px 0px #00000038;
  background-color: #252b42;
  border-radius: 4px;
  height: 405px;
  position: relative;
  overflow: hidden;
}

.main-course-thumb .main-course-thumb-img img {
  max-width: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  height: 405px;
  border-radius: 8px;
}

.main-course-thumb .main-course-thumb-tittle {
  min-height: 60px;
  background-color: #252b42;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 15px;
  justify-content: space-between;
  position: absolute;
  bottom: 0;
  width: 100%;
  border-radius: 0 0 8px 8px;
}

.main-course-thumb-tittle .left span {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
}

.main-course-thumb-tittle .right .course-badge {
  background-color: #e35d11;
  border-radius: 4px;
  padding: 3px 7px;
}

.main-course-thumb-tittle .right .course-badge span {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

/* -------------------------------------------
Custom tabs css Course Details
------------------------------------------- */

.custom-tabs {
  display: flex;
  justify-content: center;
}

.custom-tabs .nav-tabs {
  border: 0;
}

.custom-tabs .nav-tabs a {
  color: #3a4367 !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: none;
  border: none;
  margin: 0;
  padding: 11px 25px;
}

.custom-tabs .nav-tabs .nav-item.show .nav-link,
.custom-tabs .nav-tabs .nav-link.active {
  background-color: #fff;
  color: #e35d11 !important;
  border-bottom: 2px solid #e35d11;
  border-radius: 4px 4px 0 0;
}

.custom-tabs > .tab-content {
  margin: 60px 0 0;
  width: 100%;
}

/* ===========================================
Course Listing Details Page  tab 1 Start Css
-------------------------------------------  */

.course-deatils-wrap h4 {
  color: #000;
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 10px;
}

.course-deatils-wrap p {
  color: #596289;
  font-size: 13px;
  font-weight: 500;
  line-height: 25px;
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* Show only 3 lines */
  overflow: hidden;

}

/* ===========================================
Course Listing Details Page  tab 2 Start Css
-------------------------------------------  */

.course-block-list h2 {
  color: #252b42;
  margin: 0 0 5px;
  font-size: 34px;
  font-weight: 700;
}

.course-list-box {
  background-color: #f5f5f5;
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  padding: 15px;
  margin: 0 0 15px;
}

.course-list-box > span {
  color: #596289;
  margin: 5px 0 10px;
  font-size: 18px;
  font-weight: 600;
}

.course-option-list {
  background-color: #fff;
  border-radius: 4px;
  padding: 0 15px;
}

.course-option-list ul {
  margin: 0;
  padding: 0;
}

.course-option-list ul li {
  border-bottom: 1px solid #d9d9d9;
}

.course-option-list ul li a {
  display: flex;
  gap: 10px;
  text-decoration: none;
  align-items: center;
  min-height: 55px;
  padding: 10px 0px;
}

.course-option-list ul li a > .left {
  width: 25px;
}

.course-option-list ul li a > .right {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex: 1;
}

.course-option-list ul li a > .right p {
  color: #252b42;
  font-size: 16px;
  font-weight: 500;
  margin: 0;
}

.course-option-list ul li a > .right span {
  color: #596289;
  font-size: 14px;
  font-weight: 500;
}

.course-block-btn {
  text-align: center;
  margin: 40px 0 35px;
}

.course-block-btn a {
  background-color: #e35d11;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  border-radius: 4px;
  padding: 14px 41px;
  text-decoration: none;
  display: inline-block;
}

/* -------------------------------------------
Features Area css Course Details
------------------------------------------- */

.features-area {
  background-color: #f5f5f5;
  padding: 60px 0;
  margin: 20px 0 0;
}

.features-area-tittle {
  margin: 0 0 50px;
  text-align: center;
}

.features-area-tittle h2 {
  color: #252b42;
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.features-info-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.features-info-wrap img {
  margin: 0 0 15px;
}

.features-info-wrap p {
  color: #3a4367;
  font-size: 24px;
  font-weight: 500;
  margin: 0;
}

/* -------------------------
Course SEARCH Page css Start
------------------------- */

.course-back-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px;
}

.course-back-btn .left {
  background-color: #f5f5f5;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course-back-btn .right span {
  color: #252b42;
  font-size: 20px;
  font-weight: 600;
}

.course-search-wrap .card-header {
  background-color: #f5f5f5;
  border: none;
}

.course-search-wrap .card {
  border: 1px solid #d9d9d9;
  margin: 0 0 20px;
}

.course-search-wrap .card-body {
  background-color: #f5f5f5;
  padding: 0 15px 15px;
}

.course-search-wrap .card-header {
  padding: 15px;
}

.course-search-wrap .course-search-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}

.course-search-wrap .course-search-header .leftside .course-video {
  display: flex;
  gap: 15px;
  align-items: center;
}

.course-search-wrap .course-search-header .leftside .course-video .left {
  width: 120px;
  height: 73px;
  border-radius: 4px;
  border: 1px solid #dbdbdb;
}

.course-search-wrap .course-search-header .leftside .course-video .left img {
  border-radius: 3px;
  height: 100%;
}

.course-search-wrap .course-search-header .leftside .course-video .right h2 {
  margin: 0;
  color: #3a4367;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 3px;
}

.course-search-wrap .course-search-header .leftside .course-video .right p {
  margin: 0;
  color: #252b42;
  font-size: 24px;
  font-weight: 600;
}

.course-search-wrap .course-search-header .rightside {
  display: flex;
  gap: 15px;
  align-items: center;
}

.course-search-wrap .course-search-header .rightside span {
  color: #252b42;
  font-size: 14px;
  font-weight: 500;
}

.course-search-wrap .course-search-header .rightside .course-arrow {
  background-color: #d9d9d9;
  border-radius: 4px;
  width: 40px;
  height: 40px;
}

.course-search-wrap .course-option-list ul li:last-child {
  border: none;
}

/* new course design */
.course-card {
  background-color: #fff;
  border-radius: 4px;
  border: 1px solid #d9d9d9;
  overflow: hidden;
  /* margin: 0 0 30px; */
  transition: all 0.6s;
  top: 0;
  position: relative;
  height: 100%;
}
.course-card .course-img {
  width: 100%;
  height: auto;
  border-bottom: 1px solid #d9d9d9;
}
.course-card .course-img img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 16 / 9;
}
.course-card .course-content-wrap {
  padding: 15px;
}
.course-content-wrap h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #252b42;
  line-height: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 60px;
  margin: 0 0 10px;
  height: 44px;
}
.course-content-wrap ul {
  margin: 0 0 10px;
  padding: 0;
}
.course-content-wrap ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  gap: 10px;
}
.course-content-wrap ul li span {
  color: #3a4367;
  font-size: 14px;
  font-weight: 400;
}
.course-content-wrap ul li span.cme-value {
  color: #3a4367;
  font-weight: 500;
}
.course-content-wrap .buy-now {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  border-radius: 4px;
  border: none;
  outline: none;
  text-transform: uppercase;
  cursor: pointer;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
  transition: background-color 0.3s ease;
  background-color: #e35d11;
  padding: 10px 11px;
}

.buy-buttons-courses{
  display: flex;
  flex-direction: column;
}

.course-block-btn a{
  margin: 10px;
}


.buy-now .buy-now_title {
  white-space: nowrap;
  flex-grow: 10;
  flex-shrink: 10;
  display: flex;
  gap: 8px;
  align-items: baseline;
  justify-content: center;
}
.buy-now .buy-now_title span {
  font-size: 13px;
  font-weight: 600;
}
.buy-now .buy-now_price {
  flex-shrink: 0;
  flex-grow: 0;
  border-left: 1px solid #fff;
}
.buy-now .buy-now_price span {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 0 7px;
}
.course-card:hover {
  top: -10px;
  -webkit-box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.2);
}

.course-card-col {
  margin: 0 0 30px;
}

.right > .row {
  padding: 0px 12px;
  flex-direction: column;
}

/* -------------------------------------------
Responsive  css Course
------------------------------------------- */

/*===================================================================
	Max 1199px
===================================================================*/

@media (max-width: 1199px) {
  .course-info-wrap .course-tittle {
    font-size: 20px;
  }
  .course-price-wrap h2 {
    font-size: 50px;
  }
  .main-course-thumb {
    height: 365px;
  }
  .main-course-thumb img {
    height: 365px;
  }
  .features-info-wrap p {
    font-size: 16px;
  }
}

/*===================================================================
	Max 991px  
===================================================================*/

@media (max-width: 991px) {
  .reverse-columns {
    display: flex;
    flex-direction: column-reverse;
  }
  .main-course-thumb {
    margin: 0 0 30px;
  }
  .course-deatils-wrap h4 {
    font-size: 20px;
  }
  .course-block-list h2 {
    font-size: 20px;
  }
  .course-option-list ul li a > .right p {
    font-size: 14px;
  }
  .course-option-list ul li a > .right span {
    font-size: 12px;
  }
  .course-list-box > span {
    font-size: 14px;
  }
  .features-info-wrap img {
    width: 35px;
    height: 35px;
  }
  .features-info-wrap p {
    text-align: center;
  }
  .course-info-wrap {
    margin: 0 0 30px;
  }
  .course-price-wrap {
    margin: 0;
  }
  .main-course-thumb-tittle .left span {
    font-size: 20px;
    -webkit-line-clamp: 2;
  }
  .course-listing > .row {
    padding: 0px;
  }
}

/*===================================================================
	Max 768px  
===================================================================*/

@media (max-width: 768px) {
  .main-course-thumb {
    height: 250px;
  }
  .main-course-thumb img {
    height: 250px;
  }
  .course-option-list ul li a {
    padding: 10px 0px;
  }
  .course-option-list ul li a > .right span {
    font-size: 12px;
    text-align: end;
    width: 40%;
  }
  .course-option-list ul li a > .right > .row span {
    text-align: start;
    width: 100%;
  }
  .features-area-tittle {
    margin: 0 0 25px;
  }
  .features-info-wrap img {
    width: 35px;
    height: 35px;
  }
  .features-info-wrap {
    margin: 0 0 25px;
  }
  .course-info-wrap .btn-anchor {
    font-size: 16px;
  }
  .course-info-meta ul li {
    font-size: 14px;
  }
  .course-info-wrap {
    margin: 0 0 30px;
  }
  .course-detail-body {
    padding: 60px 0 15px;
  }
  .main-course-thumb-tittle .left span {
    font-size: 16px;
    -webkit-line-clamp: 2;
  }
  .main-course-thumb-tittle .right .course-badge span {
    font-size: 12px;
  }
  .course-price-wrap {
    margin: 0;
  }
  .main-search-wrapper {
    height: 230px;
  }
  .course-listing ul li .course-wrap .course-meta > .leftbar span {
    font-size: 15px;
  }
  .course-content-wrap h2 {
    height: auto;
  }
}

@media (min-width: 1450px) {
  .container {
    max-width: 1430px;
    margin: auto;
  }
}

/* CSS for buy buttons on detail page */

.buy-btn-detail {
  display: flex;
  justify-content: center;
  align-items: center;
}

.buy-buttons{
  padding: 16px 40px;
  border-radius: 4px;
background: #E35D11;
color: #FFF;
text-align: center;
font-family: Montserrat;
font-size: 18px;
font-style: normal;
font-weight: 700;
line-height: normal;
border: none;
margin: 20px 0 20px;
}

@media (max-width: 768px) {
  .buy-btn-detail{
    flex-direction: column;
  }

  .buy-buttons{
    margin:10px 0;
  }
}

.course-desc-detail{
  color: #596289;
  font-size: 13px;
  font-weight: 500;
  line-height: 25px;
  margin: 0 0 20px; 
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* Show only 3 lines */
  overflow: hidden;
}

.text-expanded {
  -webkit-line-clamp: unset; /* Show all lines when expanded */
}

.toggle-btn-more {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  margin-top: 10px;
}

.toggle-btn-more:hover {
  background-color: #0056b3;
}

.user-package{
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 16px;
}

.courses-ul{
  padding-left: 0px;
}

.right > .row > .cme{
  text-align: end;
}
