/*-----------------------
  course details start
-------------------------*/
.course__det-section{
  padding-top: 30px;
}

/* course details video */

.course__det-thumb{
  position: relative;
  margin-bottom: 30px;
}
.course__det-thumb::before{
  position: absolute;
  inset: 0;
  content: '';
  background-color: rgba(13, 21, 53, 0.404);
  border-radius: 23px;
  z-index: 9;
}
.course__det-thumb .det__thumb-img{
  border-radius: 23px;
  background-color: aqua;
  height: 378px;
  width: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
}

.course__det-thumb .det__video-play{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.course__det-thumb .det__video-play-btn{
  position: relative;
  border: none;
  outline: none;
  width: 87px;
  height: 87px;
  border-radius: 50%;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.course__det-thumb .det__video-play-btn::before{
	position: absolute;
	content: "";
	width: 70px;
	height: 70px;
	background: #ffffff;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	top:50%;
	left: 50%;
	transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	animation: animate 2s infinite;
	-webkit-animation: animate 2s infinite;
	z-index: -1;	
}

@keyframes animate{
	0%{
		width: 87px;
		height: 87px;
	}
	100%{
		width: 160px;
		height: 160px;
		opacity: 0.1;
	}
}
.course__det-thumb .det__video-play-btn::after{
	position: absolute;
	content: "";
	width: 70px;
	height: 70px;
	background: #ffffff;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	top:50%;
	left: 50%;
	transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	animation: animate2 2s infinite;
	-webkit-animation: animate2 2s infinite;
	z-index: -1;	
}

@keyframes animate2{
	20%{
		width: 87px;
		height: 87px;
	}
	100%{
		width: 125px;
		height: 125px;
		opacity: 0.1;
	}
}


/* course details right */

.course__det-right{
  border: 1.5px solid #E4E5E7;
  border-radius: 8px;
  padding: 20px;
  position: sticky;
  top: 25px;
  overflow-y: auto;
  margin-bottom: 58px;
}

.course__det-right .det__title{
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}
.course__det-right .det__desc{
  color: #000;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 14px;
}
.course__det-right .det__rating{
  display: flex;
  align-items: center;
  grid-column-gap: 8px;
  margin-bottom: 10px;
}
.course__det-right .det__rating-star{
  display: flex;
  align-items: center;
  padding-bottom: 4px;
  grid-column-gap: 2px;
}
.course__det-right .det__rating-star i{
  color: #f99d18;
  font-size: 16px;
}
.course__det-right .det__rating{
  display: flex;
  align-items: center;
}
.course__det-right .det__rating-rat{
  color: #262626;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2
}
.course__det-right .det__rating-user{
  color:  #959CA3;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2
}
.course__det-stud-total{
  display: flex;
  align-items: center;
  grid-column-gap: 10px;
  margin-bottom: 20px;
}
.course__det-stud-total .std__avatar{
  background-color: #d0dce9;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.course__det-stud-total .std__text{
  color: #262626;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2
}

.course__det-price{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1.5px solid #E4E5E7;
}
.course__det-price--black{
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2
}
.course__det-price--green{
  color: #00A34A;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2
}
.course__det-pay-btns{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.course__det-pay-btns .buy-now__btn {
  border: none;
  outline: none;
  background-color: #00A34A;
  border-radius: 10px;
  height: 55px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  width: calc(50% - 10px);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.course__det-pay-btns .add-to-cart__btn{
  border: none;
  outline: none;
  background-color: white;
  border-radius: 10px;
  height: 64px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
  width: calc(50% - 10px);
  border: 1px solid #262626;
  color: #262626;
}

/* course tabs */
.course__tab-btns{
  display: flex;
  align-items: center;
  width: 100%;
  border-radius: 8px;
  overflow-x: hidden;
  margin-bottom: 30px;
} 
.course__tab-btns li{
  width: 50%;
}
.course__tab-btn{
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  border: none;
  outline: none;
  height: 48px;
  width: 100%;
  display: block;
  color: #262626;
}
.course__tab-btn.active{
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: #FFF;
  background-color: #00A34A;
}
/* what will you learn */
.course__item-title{
  color: #262626;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 18px;
}
.course__item-card{
  border-radius: 8px;
  border: 1.5px solid #E4E5E7;
  padding: 24px 28px;
 margin-bottom: 30px;
}
.course__item-card-list{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  grid-row-gap: 15px;
}
.card__list-single{
  width: calc(50% - 10px);
  color:  #262626;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  display: flex;
  align-items: start;
  grid-column-gap: 8px;
}
.card__list-single svg{
  margin-top: 3px;
  min-width: 16px;
}
.course__inside-wrap .card__list-single{
  align-items: center;
}
.card__list-single-icon{
  width: 24px;
  height: 24px;
}
/* course instructor */
.course__inside-wrap .course__instr-wrap{
  text-align: center;
}
.course__instr-avatar{
  width: 130px;
  height: 130px;
  object-fit: cover;
  object-position: center;
  margin: 0 auto 16px;
}
.course__instr-name{
  color: #4099D4;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 4px;
}
.course__instr-prof{
  color: #646464;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  position: relative;
  margin-bottom: 25px;
}
.course__instr-prof::after{
  content: '';
  position: absolute;
  width: 50px;
  height: 2px;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4099D4;
}
.course__instr-meta{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  grid-column-gap: 10px;
}
.course__instr-meta-item{
  color: #000;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  display: flex;
  align-items: center;
  grid-column-gap: 4px;
}
.course__instr-desc{
  color: #262626;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

/* others courses  */

.others__course{
  margin-bottom: 30px;
}
.others__course-title{
  color: #262626;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 22px;
}
.others__course-title span{
  color: #00A34A;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.others__course-card{
  border-radius: 20px;
  border: 1.5px solid #E4E5E7;
  margin: 0 10px;
}
.others__course-card-img{
  border-radius: 20px 20px 0 0;
  object-fit: cover;
  object-position: center;
  width: 100%;
  aspect-ratio: 4/2.8;
}
.course__card-content{
  padding: 16px;
}
.course__card-title{
  color: #171100;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-bottom: 6px;
}
.course__card-name{
  color: #959CA3;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 10px;
}
.course__card-rating{
  display: flex;
  align-items: center;
  grid-column-gap: 10px;
  margin-bottom: 8px;
}
.course__card-rating-star{
  display: flex;
  align-items: center;
  margin-top: -4px;
  grid-column-gap: 1px;
}
.course__card-rating-rat{
  color: #262626;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}
.course__card-rating-user{
  color: #959CA3;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}
.course__card-meta{
  display: flex;
  align-items: center;
  grid-column-gap: 18px;
  margin-bottom: 10px;
}
.course__card-meta-item{
  color:  #959CA3;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  position: relative;
}
.course__card-meta-item::before{
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #4099D4;
  top: 4px;
  left: -10px;
}
.course__card-meta-item:first-child::before{
  display: none;
}
.course__card-price{
  color: #00A34A;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}
.others__course-slider{
  margin: 0 -10px;
}

/* testimonial */
.course__testimonial{
  margin-bottom: 30px;
}
.course__testimonial-title{
  color: #262626;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 22px;
}
.course__testimonial-card{
  border-radius: 10px;
  border: 1.5px solid #E4E5E7;
  background: #FFF;
  padding: 22px 19px;
  margin: 0 10px;
}

.testimonial__img{
  width: 47px;
  height: 47px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 12px;
  border-radius: 50%;
}

.testimonial__rating{
  display: flex;
  align-items: center;
  grid-column-gap: 4px;
  margin-bottom: 8px;
}
.testimonial__rating i{
  font-size: 16px;
  color: #f99d18;
}
.testimonial__comment{
  color: #646464;
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 18px;
}
.testimonial__name{
  color:#262626;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 4px;
}
.testimonial__prof{
  color: #646464;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
}
.course__testimonial-slider{ 
  margin: 0 -10px !important;
}
.splide__arrows{
  display: none;
}
.splide__pagination{
  grid-column-gap: 14px;
  margin-top: 25px;
}
.splide__pagination__page{
  border-radius: 50%;
  background: #E4E5E7;
  width: 16px;
  height: 16px;
  border: none;
  outline: none;
}
.splide__pagination__page.is-active{
  background: #00A34A;
}

/* FAQn  */

.course__faq{
  margin-bottom: 60px;
}
.course__faq .course__faq-title{
  color: #262626;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
}
.course__faq .accordion-body{
  color: #262626;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}

.course__faq .accordion-button:focus{
  border: 0.5px solid #E4E5E7;
  box-shadow: none;
}
.course__faq .accordion-button:not(.collapsed) {
  color: #000000;
  border: 0.5px solid #E4E5E7;
  background:  #F2F6F9;
}
.course__faq .accordion-button{
  outline: none;
  border-radius: 4px;
  border: 0.5px solid #E4E5E7;
  background:  #F2F6F9;
  color:  #000;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
  padding: 20px 30px;
  text-align: left;
}

/* syllabus */

.course__syll-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
.course__syll-meta-item {
  color: #4099D4;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  position: relative;
}
.course__syll-meta-item::after {
  position: absolute;
  content: '';
  top: 7px;
  left: -12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #4099D4;
}
.course__syllabus .course__syllabus-title{
  color: #262626;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
}
.course__syllabus .syllabus__body.accordion-body{
  padding: 16px 0;
}

.course__syllabus .syllabus__btn.accordion-button:focus{
  border: 0.5px solid #E4E5E7;
  box-shadow: none;
}
.course__syllabus .syllabus__btn.accordion-button:not(.collapsed) {
  color: #000000;
  border: 0.5px solid #E4E5E7;
  background:  #F2F6F9;
}
.course__syllabus .syllabus__btn.accordion-button{
  outline: none;
  border-radius: 4px;
  border: 0.5px solid #E4E5E7;
  background:  #F2F6F9;
  color:  #000;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  padding: 18px 16px;
  display: flex;
  align-items: center;
  text-align: left;
}

/* syllabus body */
.syllabus__body .accordion-button:focus{
  border: 0;
  box-shadow: none;
}
.syllabus__body .accordion-button:not(.collapsed) {
  color: #000000;
  border: 0;
  background:  transparent;
  
}
.syllabus__body .accordion-button{
  outline: none;
  border: 0;
  background: transparent;
  color:  #262626;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  padding: 10px 30px;
  display: flex;
  align-items: center;
  text-align: left;
}
.syllabus__body .accordion-button svg{
  margin-top: -6px;
  margin-right: 8px;
}

.accordion-header .accordion-button .time {
  font-size: 16px;
  white-space: nowrap;
  color: #917b7b;
  padding: 0 10px;
  margin-left: auto;
}
.course__syllabus .accordion-body {
  padding: 0;
}
.course__syllabus .accordion-button::after {
  margin-left: unset;
}
.syll__body-list{
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}
.syll__body-list-item{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}
.syll__body-list-item .list__item-title{
  color: #262626;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  display: flex;
  align-items: start;
}
.syll__body-list-item .list__item-title svg{
  margin-right: 8px;
  margin-top: -4px;
}
.syll__body-list-item .item__right{
  display: flex;
  align-items: center;
  column-gap: 14px;
  height: 22px;
}
.syll__body-list-item .item__right .view__text{
 color: #00A34A;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration-line: underline;
}
.syll__body-list-item .item__right .view__text:hover {
  color: #2F90D0;
}
.syll__body-list-item .item__right .time{
  color: #959CA3;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
}
.accordion-body .accordion-collapse{
  border: 0;
}
.syllabus__body .accordion-body{
  padding: 12px 20px 12px 26px;
}
/*-----------------------
  course details end
-------------------------*/

/*-----------------------
  course contact us start
-------------------------*/
.contact-us__section{
  background: #2F90D0;
  padding: 80px 0;
}
.contact-us__form{
  background-color: white;
  border-radius: 20px;
  padding: 32px 40px;
  display: flex;
  flex-direction: column;
  grid-row-gap: 20px;
}
.contact-us__form-title{
  color: #262626;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}
.contact-us__input{
  width: 100%;
  height: 64px;
  border-radius: 8px;
  border: 1px solid #E4E5E7;
  background: #F2F3F5;
  padding: 0 24px;
  color: #000;
  font-size: 20px;
  font-weight: 400;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number]{
  -moz-appearance: textfield;
}
.contact-us__submit{
  color: #FFF;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  background-color:  #9A9A9A;
  height: 64px;
  border: none;
  outline: none;
  border-radius: 8px;
}
.contact-us__select {
  position: relative;
}

.contact-us__select select {
  display: none; 
}

.select-selected {
  background: #F2F3F5;
  height: 64px;
  width: 100%;
  border: 1px solid #E4E5E7;
  padding: 0 24px;
  display: flex;
  align-items: center;
}

.select-selected:after {
  position: absolute;
  content: "";
  top: 21px;
  right: 24px;
  width: 14px;
  height: 14px;
  border-bottom: 2px solid #171100;
  border-left: 2px solid #171100;
  transform: rotate(-45deg);
}

.select-selected.select-arrow-active:after {
  top: 28px;
  transform: rotate(135deg);
}

.select-items div,.select-selected {
  color: #262626;
  padding: 0 24px;
  cursor: pointer;
  color: #000;
  font-size: 20px;
  font-weight: 400;
  border-radius: 8px;
}

.select-items {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  background: #F2F3F5;
  width: 100%;
  border: 1px solid #E4E5E7;
  border-radius: 8px;
}

.select-hide {
  display: none;
}

.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}

.contact-us__content{
  margin-left: 30px;
}
.contact-us__title{
  color: #FFF;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.84px;
  margin-bottom: 24px;
}
.contact-us__desc{
  color:  #E4E5E7;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
}


/*-----------------------
  course contact us end
-------------------------*/


/* ----------------------------------------- */
/* ---------- RESPONSIVE ---------- */
/* ------------------------------------------*/

/* -------- details -------- */

@media only screen and (max-width: 1199px) {
  .course__tab-btn.active {
    font-size: 16px;
  }
  .course__tab-btn {
    height: 44px;
  }
  .course__item-title {
    font-size: 24px;
  }
  .card__list-single {
    font-size: 16px;
  }
  .course__syll-meta-item {
    font-size: 18px;
  }
  .card__list-single-icon {
    width: 20px;
    height: 20px;
  }
  .course__syllabus .syllabus__btn.accordion-button {
    font-size: 20px;
  }
  .course__instr-meta {
    flex-wrap: wrap;
    row-gap: 10px;
  }
  .course__card-title {
    font-size: 20px;
  }
  .course__testimonial-title {
    font-size: 24px;
  }
  .others__course-title {
    font-size: 24px;
  }
  .course__faq .course__faq-title {
    font-size: 24px;
  }
  .course__faq .accordion-button {
    font-size: 20px;
  }
  .contact-us__form-title {
    font-size: 24px;
  }
  .contact-us__input {
    padding: 0 18px;
    font-size: 18px;
    height: 54px;
  }
  .select-items div, .select-selected {
    padding: 0 18px;
    font-size: 18px;
  }
  .select-selected {
    height: 54px;
  }
  .select-selected:after {
    top: 18px;
    right: 18px;
    width: 12px;
    height: 12px;
  }
  .select-selected.select-arrow-active:after {
    top: 24px;
  }
  .contact-us__submit {
    font-size: 18px;
    height: 54px;
  }
  .contact-us__title {
    font-size: 36px;
  }
  .contact-us__desc {
    font-size: 18px;
  }
  .course__det-right .det__title {
    font-size: 36px;
  }
  .course__det-right .det__desc {
    font-size: 16px;
  }
  .course__det-pay-btns .buy-now__btn {
    height: 54px;
  }
  .course__det-pay-btns .add-to-cart__btn {
    height: 54px;
  }
}
@media only screen and (max-width: 991px) {
  .contact-us__form {
    margin-bottom: 30px;
  }
}

/* --------------------------------- */

.course__details .modal-dialog {
  max-width: 800px;
}

.course__details .modal-body video{
  width: 100%;
  aspect-ratio: 4/2.2;
}
.course__details .modal-body iframe{
  width: 100%;
  aspect-ratio: 4/2.2;
}

.course__details .modal-content {
  background-color: transparent;
}
.course__details .modal-body {
  padding: 0;
}

.course__details .modal-header {
  justify-content: end;
  padding: 0px;
  border-bottom: none;
}

.course__details .modal-content {
  border: none;
}
.course__details-modal-close{
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: transparent;
}
.course__details-modal-close span {
  font-size: 44px;
  color: #fff;
}