/* Shared course page: Training Options + tabs */

#TrainingOptions {
  padding-top: 30px !important;
  overflow: visible;
  width: 100%;
  max-width: 100%;
}

#TrainingOptions .training-options-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 0;
}

#TrainingOptions .plan-card {
  width: 100%;
  max-width: 320px;
  flex: 1 1 280px;
  border: 2px solid #e2e8f0 !important;
  border-radius: 24px !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  background: #fff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

#TrainingOptions .plan-card:hover {
  border-color: #f58634 !important;
  box-shadow: 0 14px 32px rgba(245, 134, 52, 0.12);
  transform: translateY(-2px);
}

#TrainingOptions .plan-card.is-popular,
#TrainingOptions #planCToggle {
  border-color: orange !important;
}

#TrainingOptions .plan-card .card-body {
  padding: 22px 20px 24px;
  height: 100%;
}

#TrainingOptions .plan-badge {
  color: #fff;
  background: #f58634;
  border-radius: 20px;
  font-size: 13px;
  width: 94px;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
}

#TrainingOptions .plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 18px;
  flex: 1 1 auto;
}

#TrainingOptions .plan-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: #4b4b4d;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.2px;
}

#TrainingOptions .plan-feature .plan-check {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
}

#TrainingOptions .plan-feature span {
  flex: 1 1 auto;
  min-width: 0;
}

#TrainingOptions .plan-price {
  margin-top: auto;
}

@media screen and (max-width: 767px) {
  #TrainingOptions .training-options-grid {
    gap: 16px;
  }

  #TrainingOptions .plan-card {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

#navbar-example2 {
  position: sticky;
  top: 72px;
  left: 0;
  z-index: 99;
  width: 100%;
  max-width: 100%;
  background: #f8f9fa !important;
  padding: 8px 0 !important;
  overflow-x: auto;
}

#navbar-example2 .nav,
#navbar-example2 .course-tabs-track {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0 1.5rem !important;
  width: 100% !important;
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#navbar-example2 .nav-item {
  margin: 0 !important;
  flex: 0 0 auto !important;
}

#navbar-example2 .nav-item a,
#navbar-example2 .sticky-nav,
#navbar-example2 .nav-pills .nav-link {
  display: inline-block !important;
  border-radius: 0 !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
  color: #4b4b4d !important;
  font-family: Roboto, sans-serif !important;
  font-size: 20px !important;
  line-height: 23px !important;
  font-weight: 400 !important;
  padding: 22px !important;
  margin: 0 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  transition: 0.3s ease-in-out !important;
}

#navbar-example2 .nav-item a.active,
#navbar-example2 .nav-item:hover a,
#navbar-example2 .nav-pills .nav-link.active {
  color: #f58634 !important;
  background: transparent !important;
  border-bottom: 2px solid #d8d8d8 !important;
  box-shadow: none !important;
  transform: none !important;
}

.course-tab-panel {
  display: block !important;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  scroll-margin-top: 168px;
}

#courseTabsContent {
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

@media screen and (max-width: 992px) {
  #navbar-example2 {
    top: 64px;
    padding: 4px 0 !important;
  }

  #navbar-example2 .nav,
  #navbar-example2 .course-tabs-track {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 0 !important;
    overflow: visible;
    padding: 0 8px !important;
  }

  #navbar-example2 {
    overflow-x: visible;
  }

  #navbar-example2 .nav-item a,
  #navbar-example2 .sticky-nav {
    padding: 8px 12px !important;
    font-size: 16px !important;
  }

  #vimeoPlayer,
  #vimeoPlayerLg {
    width: 100% !important;
    max-width: 100% !important;
    border-width: 3px !important;
    border-radius: 18px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .certification-container {
    justify-content: center !important;
    margin-top: 24px !important;
  }

  .certification-container svg {
    display: none !important;
  }

  .certification-img {
    width: 100% !important;
    max-width: 320px !important;
    height: auto !important;
    margin-right: 0 !important;
  }

  #faqAccordion {
    width: 100% !important;
  }

  .faq-icon {
    display: none !important;
  }

  .reviews {
    width: 100% !important;
    padding: 28px 16px !important;
    min-height: 0 !important;
  }

  .reviews-content {
    padding: 24px 8px 16px !important;
  }

  .cer-features {
    position: static !important;
    top: auto !important;
  }

  .cer-feature {
    padding: 16px !important;
    gap: 12px !important;
  }

  .cer-feature h4 {
    font-size: 16px !important;
  }

  .accordion-button {
    height: auto !important;
    min-height: 52px;
    white-space: normal !important;
    align-items: flex-start !important;
    padding-top: 12px !important;
    padding-bottom: 12px !important;
  }

  .accordion-button span {
    white-space: normal !important;
    word-break: break-word;
  }
}

@media screen and (max-width: 575.98px) {
  #TrainingOptions .plan-card .card-body {
    padding: 18px 14px 20px;
  }

  #TrainingOptions .plan-feature {
    font-size: 14px;
  }

  #navbar-example2 {
    top: 56px;
    padding: 4px 0 !important;
  }

  .review-img,
  .review-img-alternative {
    width: 72px !important;
    height: 72px !important;
  }
}

/* Shared dynamic course page */

.course-page .dynamic-para > * {
  color: #4b4b4d;
  font-size: 16px;
  font-family: Roboto, sans-serif;
  font-weight: 300;
  line-height: 1.45;
  letter-spacing: -0.24px;
}

.course-page .blogItemFix img,
.course-page .overview-copy img,
.course-page .certification-copy img {
  max-width: 100%;
  height: auto;
}

.course-page .video-wrapper {
  position: relative;
  height: auto;
  overflow: hidden;
}

.course-page #vimeoPlayer,
.course-page #vimeoPlayerLg {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border: 4px solid #d8d8d8 !important;
  border-radius: 30px;
  overflow: hidden;
  background: #f2f4f6;
}

.course-page #vimeoPlayerLg {
  width: 65%;
  max-width: 900px;
  border: 8px solid #4b4b4d !important;
  margin: 35px auto 0;
}

.course-page #vimeoPlayer iframe,
.course-page #vimeoPlayerLg iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
  max-width: none;
}

.course-page #videoThumb,
.course-page #videoThumbLg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  background: #f2f4f6;
  cursor: pointer;
}

.course-page #videoThumb img,
.course-page #videoThumbLg img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.course-page #videoThumb svg,
.course-page #videoThumbLg svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 98px !important;
  height: 98px !important;
  max-width: 98px !important;
  max-height: 98px !important;
}

.course-page .accordion {
  --bs-accordion-active-color: none !important;
  --bs-accordion-active-bg: none !important;
}

.course-page .accordion-button:focus {
  box-shadow: none !important;
}

.course-page .accordion.example2 {
  box-shadow: none;
  border: 2px solid orange;
  border-radius: 18px;
}

.course-page .accordion.example2::before,
.course-page .accordion.example2::after {
  content: "";
  height: 16px;
  width: 100%;
  display: block;
  background: #f58634;
}

.course-page .accordion.example2::before {
  opacity: 0.1;
  border-radius: 18px 18px 0 0;
}

.course-page .accordion.example2::after {
  border-radius: 0 0 18px 18px;
}

.course-page .accordion.example2 .accordion-item {
  border: none !important;
  border-bottom: 1px solid #f58634 !important;
}

.course-page .accordion-button span:first-of-type,
.course-page .accordion-button span:last-of-type {
  white-space: normal;
}

.course-page .section-title {
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #4b4b4d;
  text-align: center;
}

.course-page .popular {
  background: #f58634 !important;
  color: #fff !important;
}

#Certification.course-tab-panel {
  overflow: hidden;
}

.course-page .certification-title {
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #4b4b4d;
  margin-bottom: 1rem;
  text-align: start;
}

.course-page .certification-container {
  position: relative;
  min-height: 240px;
}

.course-page .certification-container svg {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: min(100%, 397px);
  height: auto;
  max-height: 100%;
  z-index: 1;
}

.course-page .certification-img {
  position: relative;
  z-index: 3;
  width: min(100%, 392px);
  height: auto;
  max-height: 554px;
  object-fit: contain;
  margin-right: 15px;
  background: #fff;
  box-shadow:
    2px 3px 4px 0px rgba(0, 0, 0, 0.25),
    -1px -1px 4px 0px rgba(0, 0, 0, 0.25);
  padding: 10px;
}

.course-page .reviews {
  background: #ffffff;
  border: 2px solid #f2f2f2;
  border-radius: 18px;
  padding: 53px 10%;
  width: 90%;
  margin: 0 auto;
  position: relative;
  min-height: 418px;
  overflow: hidden;
}

.course-page .review-img-alternative {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff4eb;
  color: #f58634;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  font-size: 22px;
}

.course-page .review-comment {
  color: #4b4b4d;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.course-page .middle-line {
  position: absolute;
  left: 50%;
  top: 40%;
  height: 177px;
  width: 2px;
  background: #f2f2f2;
  z-index: -1;
}

.course-page .swiper-pagination-bullet {
  width: 18px;
  height: 18px;
  background: #f2f2f2;
  border: 1px solid #000;
}

.course-page .swiper-pagination-bullet-active {
  border: 2px solid #f58634;
}

.course-page #FAQ {
  position: relative;
  padding-top: 30px;
}

.course-page #faqAccordion {
  width: 70%;
  max-width: 900px;
  margin: 0 auto;
}

.course-page #faqAccordion .accordion-item {
  border: none !important;
  background: transparent;
}

.course-page #faqAccordion .accordion-button {
  background: #f2f2f2;
  border: none;
  border-radius: 14px;
  margin: 13px 0;
  height: auto;
  min-height: 57px;
}

.course-page .empty-course-block {
  color: #6b7280;
  font-family: Roboto, sans-serif;
  text-align: center;
  padding: 2.5rem 1rem;
}

.course-page h1.Roboto {
  font-size: 40px;
  line-height: 48px;
  letter-spacing: 0;
}

.course-page .overview-copy,
.course-page .dynamic-para,
.course-page .certification-copy {
  color: #4b4b4d;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.course-page .overview-copy p,
.course-page .dynamic-para p,
.course-page .certification-copy p {
  margin-bottom: 1rem;
}

.course-page .overview-copy ul {
  margin: 0 0 1rem;
  padding-inline-start: 1.25rem;
}

.course-page .overview-copy li {
  margin-bottom: 0.4rem;
}

.course-page #Overviewes .bg-light {
  background: #f8f9fa !important;
  border-radius: 18px !important;
}

.course-page #Overviewes .form-control {
  background: #fff !important;
  border: 0 !important;
  border-radius: 18px !important;
  height: 50px;
  box-shadow: none !important;
}

.course-page #Overviewes textarea.form-control {
  height: auto;
  min-height: 108px;
  border-radius: 16px !important;
}

.course-page .cer-features {
  position: sticky;
  top: 200px;
}

.course-page .cer-feature {
  border-radius: 11px;
  border: 2px solid #d8d8d8;
  background: #f2f5f6;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 21px;
}

.course-page .cer-feature img {
  width: 78px;
  height: 78px;
  flex: 0 0 78px;
  object-fit: contain;
}

.course-page .cer-feature h4 {
  color: #4b4b4d;
  font-size: 20px;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  letter-spacing: -0.3px;
  margin: 0 0 6px;
}

.course-page .cer-feature p {
  color: #4b4b4d !important;
  text-align: justify;
  font-size: 14px !important;
  font-family: Roboto, sans-serif;
  font-weight: 300 !important;
  line-height: 1.25;
  margin: 0;
}

.course-page .js-open-course-tab,
.course-page #Overviewes .btn.bgorange {
  height: 48px;
  border-radius: 999px !important;
  min-width: 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.course-page #Overviewes .btn.bgorange {
  width: 100%;
}

@media screen and (max-width: 992px) {
  .course-page #faqAccordion {
    width: 100%;
  }

  .course-page .middle-line {
    display: none;
  }

  .course-page #vimeoPlayerLg {
    width: 95%;
    margin-top: 25px;
    border-width: 5px !important;
  }

  .course-page .cer-features {
    position: static;
    margin-top: 24px;
  }

  .course-page #videoThumb svg,
  .course-page #videoThumbLg svg {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
  }

  .course-page h1.Roboto {
    font-size: clamp(1.6rem, 6vw, 2rem) !important;
    line-height: 1.25 !important;
  }
}
