/* SECTION / SLIDERS */
section.block {
  padding-block: 4rem 0;
  background: white;
}

section.block h2 {
  font-weight: 600;
  color: #2f3847;
  font-size: 2.125rem !important;
  margin-bottom: 32px;
}
section.block .section-container {
  max-width: 1320px;
  margin: 0 auto;
  padding-block: 0 0;
  position: relative;
  /* padding-inline: 48px; */
  /* padding-inline: 0; */
}

section.block .course-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-button-next,
.swiper-rtl .swiper-button-prev,
.swiper-button-prev {
  top: 22px;
  border: 1px solid #003d2157 !important;
  border-radius: 2px !important;
  width: 44px !important;
  height: 44px !important;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-weight: 500 !important;
  font-size: 16px !important;
  color: #6a8655;
}
.swiper-button-prev {
  left: 0;
  left: unset;
  right: 60px;
}
.swiper-slide {
  text-align: left;
  font-size: 18px;
  background: #fff;
  border-radius: 2px;
  border: 1px solid #d5ddea;
  border: 1px solid #03192c26;
  overflow: hidden;
  height: auto;
  display: flex;
  flex-direction: column;
}
.swiper-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* .available-courses .title a:hover {
  color: #0073aa;
} */

.swiper-slide .badges-container {
  margin-bottom: 12px;
}

.swiper-slide .badge,
.swiper-slide .current-badge {
  font-size: 11px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 12px !important;
  border-radius: 2px !important;
  /* box-shadow: 1px 1px 8px 1px #2f384733; */
  padding: 7px 12px;
}

.swiper-slide .course-title a {
  display: block;
  text-decoration: none;
  color: #313848;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 12px;
}

.swiper-slide .course-category {
  font-size: 13px;
  color: #50565a;
  font-weight: 400;
  margin-bottom: 8px;
}

.swiper-slide .course-date,
.course-sections-count,
.course-enrolled-count,
.course-tutor {
  color: #50565a;
  font-size: 12px;
  font-weight: 400;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.course-tutor a {
  color: #6a8655;
  text-decoration: green underline;
  text-decoration-thickness: auto;
  text-decoration-thickness: 0.5px;
}
.course-enrolled-count.hidden {
  display: none;
}

.swiper-slide .course-date svg,
.course-sections-count svg,
.course-enrolled-count svg {
  width: 18px;
  height: 18px;
}

.swiper-slide .course-certificate {
  position: absolute;
  color: #313848;
  background-color: #ebf0f9;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  padding: 4px 8px;
  border-radius: 2px 0 0 2px;
  right: 0px;
  top: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 30px;
  display: none;
}

.swiper-slide .course-certificate img {
  width: auto;
  height: 28px;
  position: absolute;
  right: 0;
  top: -1px;
}
.swiper-slide .course-summary {
  color: #747c82;
  font-size: 12px;
  margin-top: 10px;
}

.swiper-slide .btn {
  margin-top: 28px;
  width: fit-content;
  line-height: 12px;
  background: none;
  color: #003d21;
  border-color: #003d21;
  font-weight: 500;
  font-size: 12px;
  width: 64%;
  width: 100%;
  margin-inline: auto;
  padding: 13px;
  border-radius: 2px !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid #003d2157;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
@media screen and (max-width: 767.5px) {
  section.block h2 {
    font-size: 24px !important;
  }
}

.block_my_courses.block {
  padding-bottom: 4rem;
}

progress::-moz-progress-bar {
  background: #11c26d;
  height: 10px;
  margin-bottom: 6px;
}
progress::-webkit-progress-value {
  background: #11c26d;
  height: 10px;
  margin-bottom: 6px;
}
progress {
  color: #11c26d;
  height: 10px;
  margin-bottom: 6px;
}
/* HERO SECTION */
.block_homepage_hero .block-header-wrapper {
  display: none !important;
}
section.block .homepage-hero {
  max-width: 1320px;
  margin: 0 auto;
  padding-block: 4rem 6rem;
  display: flex;
  align-items: center;
  /* flex-direction: column;
  align-items: center; */
}

.homepage-hero h1 {
  font-weight: 600;
  max-width: 850px;
  /* line-height: 60px; */
  padding-right: 150px;
}
.homepage-hero h1 span {
  color: #6a8655;
}
.homepage-hero p {
  max-width: 580px;
  margin-top: 20px;
  font-size: 18px;
  padding-right: 80px;
}
.homepage-hero .hero-btn-group {
  margin-top: 60px;
  padding-right: 152px;
}
.homepage-hero .hero-btn-group input:focus {
  outline: 1px solid #6a8655;
}
.homepage-hero .hero-btn {
  padding: 14px 32px;
  border-radius: 2px;
  background: #003d21;
  color: white;
  font-size: 17px;
  font-weight: 400;
  width: fit-content;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.homepage-hero .hero-btn:hover {
  text-decoration: none;
}
.homepage-hero .text-container {
  flex: 1;
}
.homepage-hero .featured-images-container {
  /* display: flex;
  justify-content: space-between;
  gap: 32px;
  width: 100%;
  margin-top: 60px; */
  gap: 20px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  flex: 1;
}
.homepage-hero .featured-course {
  position: relative;
  flex: 1;
  /* border: 1px solid; */
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
}
.homepage-hero .featured-course .featured-course-overlay {
  background: black;
  position: absolute;
  bottom: 0;
  width: 100%;
  /* opacity: 0.6; */
  height: 104px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.46) 100%
  );
  background: rgba(0, 0, 0, 0.1) 0%;
}
.homepage-hero .featured-course img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.homepage-hero .featured-course .featured-course-title {
  text-transform: capitalize;
  position: absolute;

  z-index: 999;
  bottom: 12px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  display: none;
}
.homepage-hero .featured-course h3 {
  color: white;
  font-weight: 300;
  font-size: 16px;
  padding-right: 40px;
  line-height: 20px;
  margin: 0;
}
.homepage-hero .featured-course .featured-course-title div {
  background-color: #1ead6c;
  height: 40px;
  width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.homepage-hero #search_course {
  background-color: red;
}

/* ******** SEARCH PAGE ********* */
#page-blocks-homepage_hero-search #maincontent {
  display: none !important;
}
#page-blocks-homepage_hero-search div[role="main"] {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
#page-blocks-homepage_hero-search .course-details {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.swiper {
  width: 100%;
  height: 100%;
}

#page-blocks-homepage_hero-search .swiper-slide {
  text-align: left;
  font-size: 18px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #d5ddea;
  overflow: hidden;
  height: auto;
  display: flex;
  flex-direction: column;
  max-width: 299px;
}
#page-blocks-homepage_hero-search .swiper-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

#page-blocks-homepage_hero-search .title a:hover {
  color: #0073aa;
}

#page-blocks-homepage_hero-search .badges-container {
  position: absolute;
  top: 10px;
  left: 16px;
}

#page-blocks-homepage_hero-search .badge,
#page-blocks-homepage_hero-search .current-badge {
  font-size: 13px !important;
  line-height: 18px !important;
}

#page-blocks-homepage_hero-search .course-title a {
  display: block;
  text-decoration: none;
  color: #313848;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 12px;
}
#page-blocks-homepage_hero-search .course-category,
#page-blocks-homepage_hero-search .course-date,
.course-sections-count,
.course-enrolled-count,
.course-tutor {
  color: #50565a;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.course-tutor a {
  color: #6a8655;
  text-decoration: green underline;
  text-decoration-thickness: auto;
  text-decoration-thickness: 0.5px;
}
.course-enrolled-count.hidden {
  display: none;
}
#page-blocks-homepage_hero-search .course-date svg,
.course-sections-count svg,
.course-enrolled-count svg {
  width: 18px;
  height: 18px;
}
#page-blocks-homepage_hero-search .course-certificate {
  position: absolute;
  color: #313848;
  background-color: #ebf0f9;
  font-size: 13px;
  line-height: 18px;
  font-weight: 400;
  padding: 4px 8px;
  border-radius: 6px 0 0 6px;
  right: 0px;
  top: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 30px;
}
#page-blocks-homepage_hero-search .course-certificate img {
  width: auto;
  height: 28px;
  position: absolute;
  right: 0;
  top: -1px;
}
#page-blocks-homepage_hero-search .course-summary {
  color: #747c82;
  font-size: 12px;
  margin-top: 10px;
}

#page-blocks-homepage_hero-search .btn-bordered {
  display: inline-block;
  user-select: none;
  border: 1px solid;
  padding: 11.5px 16px;
  line-height: 17px;
  border-radius: 5px;
  margin-top: 28px;
  width: fit-content;
  line-height: 6px;
  background: none;
  color: #003d21;
  border-color: #003d21;
  font-weight: 500;
  font-size: 12px;
  text-decoration: none;
}

.separator {
  width: 100%;
  max-width: 1320px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(227, 227, 227, 0.5) 25%,
    rgba(227, 227, 227, 1) 50%,
    rgba(227, 227, 227, 1) 75%,
    rgba(255, 255, 255, 0.8869748583026961) 100%
  );
  height: 1px;
  margin-inline: auto;
}
.search-section {
  max-width: 800px;
  margin: 0 auto;
  padding-block: 3rem 4rem;
  margin-inline: auto;
}

.suggestions {
  padding: 0;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
  position: absolute;
  width: 100%;
  border-radius: 4px;
  top: 52px;
  background: white;
  border: 1px solid white;
}
.suggestions .search-row {
  padding-inline: 28px;
  border-bottom: 1px solid #eaeff4;
  padding-block: 14px;
  display: grid;
  transition: 0.5s;
  cursor: pointer;
  position: relative;
  padding-left: 48px;
}
.suggestions .search-row i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
}
.suggestions .search-row i::before {
  content: "";
}
.suggestions .search-row:last-child {
  border-bottom: none;
}
.suggestions .search-row:hover .search-title,
.suggestions .search-row:hover i::before {
  color: #6a8655;
}
.suggestions .search-row .search-title {
  color: #2f3847;
  font-weight: 300;
}
.suggestions .search-row .search-type {
  color: #747c82;
  font-size: 14px;
  font-weight: 300;
}

@media screen and (max-width: 1320px) {
  .section-container {
    padding-inline: 16px;
  }
}
@media screen and (max-width: 1080px) {
  .homepage-hero {
    flex-direction: column;
  }
  .homepage-hero h1 {
    max-width: unset;
    padding-right: 0;
  }
  .homepage-hero p {
    max-width: unset;
  }
  .homepage-hero .hero-btn-group {
    margin-block: 40px 100px;
  }
  .homepage-hero .featured-images-container {
    grid-template-columns: repeat(4, 1fr);
  }
  .homepage-hero .featured-course h3 {
    padding-right: 0;
  }
}
@media screen and (max-width: 767.5px) {

  section.block .homepage-hero {
    text-align: center;
    padding-block: 1rem 3rem;
    padding-inline: 16px;
  }
  .homepage-hero h1 {
    font-size: 28px;
  }
  .homepage-hero h1,
  .homepage-hero p {
    padding-right: 0;
  }
  .homepage-hero p {
    font-size: 15px;
    line-height: 20px;
  }
  .homepage-hero .featured-images-container {
    display: none;
  }
  .homepage-hero .hero-btn-group {
    padding-right: 0;
    margin-block: 52px 12px;
    display: flex;
    justify-content: center;
  }
  .search-section {
    padding-inline: 16px;
  }
}

/* CATEGORY SECTION */
.block_courses_categories.block {
  padding-block: 4rem;
}
.category-name {
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.block_courses_categories .block-header-wrapper {
  background-image: var(--crops), var(--farm);
  background-size: 64px;
  background-repeat: no-repeat, no-repeat;
  background-position: 70% center, 20% 110%;
  /* background-color: #ededed; */
  background-color: #f8fafc;
}
.block_courses_categories .block-content-area {
  background-image: var(--farm2), var(--beekeeper), var(--aquaculture);
  background-size: 60px;
  background-repeat: no-repeat, no-repeat;
  background-position: 40px 100%, bottom, 98% center;
}
.block_courses_categories,
.block_courses_categories .block-body-wrapper,
.block_courses_categories .block-content-area {
  /* background-color: #ededed !important; */
  /* background-color: #f8fafc !important; */
  background-color: #f1f8f8 !important;
}
.block_courses_categories h4 {
  width: 100%;
  text-align: center;
  color: #2f3847;
  font-size: 2.125rem !important;
  margin-top: 60px;
}
.courses-categories {
  max-width: 1320px;
  margin: 0 auto;
  padding-block: 3rem 4rem;
  /* display: flex;
  justify-content: space-between; */
}
.categories-list {
  gap: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.courses-categories .course-category {
  flex: 1;
  background-color: white;
  /* box-shadow: 1px 1px 8px -2px rgba(0, 0, 0, 0.1); */
  /*  box-shadow: 0 0 23px #0000000a; */
  box-shadow: 0 6px 40px -5px hsla(0, 0%, 55%, 0.129);
  border-radius: 2px;
  /* padding: 42px 28px; */
  transition: 0.5s;
}
.courses-categories .course-category a {
  text-decoration: none;
  display: block;
  padding: 24px;
  padding-bottom: 4px;
}
.courses-categories .course-category h2 {
  font-size: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.courses-categories .course-category .course-category-count {
  color: #50565a;
  font-size: 14px;
  font-weight: 500;
}

@media screen and (max-width: 767.5px) {
  .categories-list {
    grid-template-columns: repeat(1, 1fr);
  }
  .block_courses_categories h4 {
    font-size: 24px !important;
    margin-top: 40px;
  }
  .courses-categories .course-category a {
    padding: 20px 16px;
  }
  .courses-categories .course-category h2 {
    font-size: 13px;
    margin-bottom: 4px;
  }
  .courses-categories .course-category .course-category-count {
    font-size: 10px;
    font-weight: 400;
  }
}

/* TABS */
/* :root {
  --tabs-bg: #f9f9f9;
  --tabs-color: rgb(168, 168, 168);
  --tabs-accent: #6a8655;
  --tabs-padding: 0.75rem 1.5rem;
  --tabs-font-size: 1rem;
}

.tabs {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  border-radius: 0.5rem;
  max-width: 70%;
  margin-inline: auto;
}

.tabs > [role="tab"] {
  all: unset;
  padding: 8px 16px;
  font-size: var(--tabs-font-size);
  color: var(--tabs-color);
  cursor: pointer;
  position: relative;
  z-index: 1;
  border: 1px solid rgb(200, 200, 200);
  border-radius: 50px;
  transition: 0.1s;
}

.tabs > [role="tab"][aria-selected="true"] {
  color: #2f3847;
  background: var(--tabs-bg);
  border-color: #2f3847;
  border-width: 2px;
}

.tabs__indicator {
  position: absolute;
  bottom: 0;
  height: 3px;
  background: var(--tabs-accent);
  transition: transform 0.3s ease, width 0.3s ease;
  will-change: transform, width;
  z-index: 999;
}

div > [role="tabpanel"] {
  margin-top: 28px;
}
 */
