﻿/* Course category + course details (eduthink layout, purple theme) */
.edu-page {
  --edu-primary: #6b42a3;
  --edu-primary-700: #5a368c;
  --edu-primary-800: #45256e;
  --edu-primary-900: #2a1b45;
  --edu-accent: #d2b6ff;
  --edu-dark: #2b2238;
  --edu-muted: #6f6680;
  --edu-bg: #f5f2fa;
  --edu-line: rgba(42, 27, 69, 0.08);
  --edu-shadow: 0 2px 1px rgba(42, 27, 69, 0.05), 0 10px 20px rgba(42, 27, 69, 0.06);
  display: block;
  background: var(--edu-bg);
  color: var(--edu-dark);
  font-family: inherit;
}

.edu-i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-style: normal;
  line-height: 1;
}

.edu-i svg {
  width: 1em;
  height: 1em;
}

.edu-view-btn .edu-i {
  font-size: 18px;
}

.edu-page .m-b30 {
  margin-bottom: 30px;
}

.edu-page .container {
  max-width: 1240px;
}

/* Buttons */
.edu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 6px 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.edu-btn--primary {
  background: linear-gradient(135deg, var(--edu-primary) 0%, var(--edu-primary-800) 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(90, 54, 140, 0.28);
}

.edu-btn--primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(90, 54, 140, 0.36);
}

.edu-btn--primary .edu-btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-inline-start: -10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 17px;
}

.edu-btn--white {
  background: #fff;
  color: var(--edu-primary-700);
}

.edu-btn--white:hover {
  background: var(--edu-accent);
  color: var(--edu-primary-900);
}

.edu-btn--outline {
  background: transparent;
  border-color: var(--edu-primary);
  color: var(--edu-primary);
}

.edu-btn--outline:hover {
  background: var(--edu-primary);
  color: #fff;
}

.edu-btn--block {
  display: flex;
  width: 100%;
}

/* Page banner */
.edu-banner {
  --banner-height: 420px;
  position: relative;
  margin-top: -92px;
  padding-top: 92px;
  height: calc(var(--banner-height) + 92px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse 60% 80% at 15% 20%, rgba(210, 182, 255, 0.22), transparent 60%),
    radial-gradient(ellipse 50% 60% at 95% 110%, rgba(155, 107, 214, 0.35), transparent 60%),
    linear-gradient(160deg, #6b42a3 0%, #5a368c 45%, #3b2160 100%);
}

.edu-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%, #000 70%, transparent 100%);
  pointer-events: none;
}

.edu-banner .container,
.edu-banner .row {
  position: relative;
  height: 100%;
}

.edu-banner__entry {
  position: relative;
  padding-bottom: 30px;
}

.edu-banner h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1px;
  color: #fff;
}

.edu-banner--detail h1 {
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.35;
}

.edu-banner p {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.82);
}

.edu-banner__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.edu-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.edu-breadcrumb a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.edu-breadcrumb a:hover {
  color: var(--edu-accent);
}

.edu-banner__img {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  height: var(--banner-height);
  margin-inline-start: auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.edu-banner__img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url(../assets/courses/shape.svg) no-repeat center bottom / 62%;
  opacity: 0.85;
}

.edu-banner__img img {
  max-width: 100%;
  max-height: calc(var(--banner-height) - 30px);
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(20, 8, 40, 0.35));
}

.edu-page .animted-star {
  position: absolute;
  transition: opacity 1s ease-in-out;
}

.edu-page .animted-star.star1 {
  top: -30px;
  right: -60px;
  animation: eduStar1 1.5s infinite alternate;
}

.edu-page .animted-star.star2 {
  top: 20px;
  right: -110px;
  opacity: 0;
  animation: eduStar2 2s infinite alternate;
}

@keyframes eduStar1 {
  0% { opacity: 1; }
  100% { opacity: 0.1; }
}

@keyframes eduStar2 {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

/* Section */
.edu-area {
  position: relative;
  padding: 50px 0 90px;
}

.edu-area--detail {
  padding-bottom: 40px;
}

.edu-area--related {
  padding-top: 20px;
}

/* Sidebar */
.edu-sidebar {
  position: sticky;
  top: 110px;
  padding: 24px 22px 6px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--edu-shadow);
}

.edu-sidebar .widget {
  margin-bottom: 22px;
}

.edu-sidebar .widget-title {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--edu-line);
  font-size: 16px;
  font-weight: 800;
  color: var(--edu-primary-900);
}

.edu-sidebar .form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding: 0;
}

.edu-sidebar .form-check-input {
  float: none;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 0;
  border: 1.5px solid rgba(90, 54, 140, 0.35);
  border-radius: 6px;
  cursor: pointer;
}

.edu-sidebar .form-check-input:checked {
  background-color: var(--edu-primary);
  border-color: var(--edu-primary);
}

.edu-sidebar .form-check-input:focus {
  box-shadow: 0 0 0 3px rgba(107, 66, 163, 0.18);
}

.edu-sidebar .form-check-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--edu-dark);
  cursor: pointer;
}

.edu-sidebar .form-check-label small {
  color: var(--edu-muted);
}

.edu-filter-toggle {
  display: none;
}

/* Search box */
.edu-page .search-filter-bx {
  position: relative;
  z-index: 5;
  margin: -150px 0 70px;
  padding: 15px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(42, 27, 69, 0.08);
}

.edu-page .search-filter-bx::before,
.edu-page .search-filter-bx::after {
  content: "";
  position: absolute;
  z-index: -1;
  background: #fff;
  opacity: 0.45;
}

.edu-page .search-filter-bx::before {
  right: 30px;
  left: 30px;
  bottom: -20px;
  height: 20px;
  border-radius: 0 0 15px 15px;
}

.edu-page .search-filter-bx::after {
  right: 15px;
  left: 15px;
  bottom: -10px;
  height: 10px;
  border-radius: 0 0 15px 15px;
}

.edu-page .search-filter-bx .form-control {
  height: 48px;
  border: 0;
  background-color: transparent;
  box-shadow: none;
  font-size: 15px;
  color: var(--edu-dark);
}

.edu-page .search-filter-bx .form-select {
  background-position: left 0.75rem center;
}

.edu-page .search-filter-bx .border-start {
  border-color: var(--edu-line) !important;
}

/* Results bar */
.edu-results-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.edu-results-count {
  font-weight: 600;
  color: var(--edu-dark);
}

.edu-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--edu-muted);
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.edu-view-btn.is-active,
.edu-view-btn:hover {
  background: #fff;
  color: var(--edu-primary);
  box-shadow: var(--edu-shadow);
}

.course-sort-select {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 500;
  color: var(--edu-muted);
}

.course-sort-select .form-select {
  width: auto;
  padding: 4px 4px 4px 28px;
  border: 0;
  background-color: transparent;
  background-position: left 4px center;
  box-shadow: none;
  font-weight: 700;
  color: var(--edu-primary-700);
  cursor: pointer;
}

/* Course card */
.edu-page .course-card {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--edu-shadow);
  transition: transform 0.4s, box-shadow 0.4s;
}

.edu-page .course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(42, 27, 69, 0.14);
}

.edu-page .course-card .course-title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.6;
}

.edu-page .course-card .course-title a {
  color: var(--edu-primary-900);
  text-decoration: none;
}

.edu-page .course-card .course-media {
  position: relative;
  z-index: 1;
  height: 190px;
  flex-shrink: 0;
}

.edu-page .course-card .course-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edu-page .course-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(42, 27, 69, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.edu-page .course-card .course-content {
  flex: 1;
  padding: 20px 22px;
}

.edu-page .course-card .rating-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--edu-muted);
}

.edu-page .course-card .rating-wrap i {
  font-size: 18px;
  color: var(--edu-primary);
}

.edu-page .course-card .course-price {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 22px;
  font-size: 19px;
  font-weight: 800;
  color: var(--edu-primary);
}

.edu-page .course-price__soon {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(107, 66, 163, 0.1);
  font-size: 14px;
  font-weight: 700;
  color: var(--edu-primary-700);
}

.edu-page .course-card > .course-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 22px;
  border-top: 1px solid var(--edu-line);
  font-size: 14px;
  font-weight: 600;
  color: var(--edu-dark);
}

.edu-page .course-card > .course-footer .meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.edu-page .course-card > .course-footer i {
  font-size: 18px;
  color: var(--edu-primary);
}

.edu-page .course-card .course-hover {
  position: absolute;
  right: 0;
  bottom: -200px;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  background: conic-gradient(from 146deg at 75% 85%, var(--edu-primary-900) 0deg, var(--edu-primary-800) 209deg, var(--edu-primary) 360deg);
  transition: bottom 0.3s, opacity 0.3s;
}

.edu-page .course-card .course-hover .course-title a {
  color: #fff;
}

.edu-page .course-card .course-hover .rating-wrap {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.edu-page .course-card .course-hover .rating-wrap i {
  color: var(--edu-accent);
}

.edu-page .course-card .course-hover p {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
}

.edu-page .course-card .course-hover .course-price {
  margin: 0 12px 16px;
  color: var(--edu-accent);
}

.edu-page .course-card .course-hover .course-price__soon {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.edu-page .course-card .course-hover .course-footer {
  padding: 10px;
}

.edu-page .course-card:hover .course-hover,
.edu-page .course-card:focus-within .course-hover {
  bottom: 0;
  opacity: 1;
}

/* List view */
.edu-course-grid.is-list > [data-edu-item],
.edu-course-grid.is-list > [data-wiki-item] {
  flex: 0 0 100%;
  max-width: 100%;
}

.edu-course-grid.is-list .course-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  grid-template-rows: 1fr auto;
}

.edu-course-grid.is-list .course-card .course-media {
  grid-row: 1 / 3;
  height: 100%;
  min-height: 210px;
}

.edu-course-grid.is-list .course-card .course-hover {
  display: none;
}

@media (max-width: 767.98px) {
  .edu-course-grid.is-list .course-card {
    display: flex;
  }

  .edu-course-grid.is-list .course-card .course-media {
    height: 190px;
    min-height: 0;
  }
}

/* Wiki knowledge base landing */
.wiki-page .wiki-sidebar-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
  color: var(--edu-mute, #6b5b85);
}

.wiki-page .wiki-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #5a368c, #45256e);
  color: #fff;
}

.wiki-page .wiki-stat strong {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.wiki-page .wiki-stat span {
  font-size: 13px;
  opacity: 0.9;
}

.wiki-page .wiki-card__excerpt {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--edu-mute, #6b5b85);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Empty + pagination */
.edu-empty {
  padding: 50px 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--edu-shadow);
  text-align: center;
}

.edu-empty i {
  font-size: 46px;
  color: var(--edu-primary);
}

.edu-empty h3 {
  margin: 12px 0 18px;
  font-size: 18px;
  font-weight: 700;
}

.edu-pagination .pagination {
  justify-content: center;
  gap: 8px;
  margin: 10px 0 0;
}

.edu-pagination .page-link {
  min-width: 44px;
  height: 44px;
  line-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: 12px !important;
  background: #fff;
  box-shadow: var(--edu-shadow);
  text-align: center;
  font-weight: 700;
  color: var(--edu-primary-700);
}

.edu-pagination .page-item.active .page-link,
.edu-pagination .page-link:hover {
  background: var(--edu-primary);
  color: #fff;
}

.edu-pagination .sr-only {
  display: none;
}

/* Course details: features card */
.edu-page .course-features-detail {
  position: sticky;
  top: 110px;
  z-index: 3;
  margin-top: -300px;
  padding: 20px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--edu-shadow);
}

.edu-page .course-video-bx {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  border-radius: 14px;
  aspect-ratio: 16 / 11;
}

.edu-page .course-video-bx::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(42, 27, 69, 0) 55%, rgba(42, 27, 69, 0.7) 100%);
}

.edu-page .course-video-bx img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.edu-page .course-video-bx .video-btn {
  position: absolute;
  top: 50%;
  right: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.25);
  transform: translate(50%, -50%);
  font-size: 24px;
  color: var(--edu-primary);
  text-decoration: none;
  transition: transform 0.25s;
}

.edu-page .course-video-bx .video-btn:hover {
  transform: translate(50%, -50%) scale(1.08);
}

.edu-page .course-features-title {
  position: absolute;
  right: 15px;
  bottom: 14px;
  z-index: 2;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.edu-page .course-features-detail .divider {
  width: 100%;
  height: 1px;
  background: var(--edu-line);
}

.edu-page .featured-title {
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 800;
  color: var(--edu-primary-900);
}

.edu-page .course-features-list ul {
  margin: 14px 0;
  padding: 0;
  list-style: none;
}

.edu-page .course-features-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--edu-dark);
}

.edu-page .course-features-list li span {
  font-weight: 600;
  color: var(--edu-muted);
  text-align: left;
}

.edu-page .course-features-list li span.is-open {
  color: #1b8a5a;
}

.edu-page .course-features-list li span.is-soon {
  color: var(--edu-primary);
}

.edu-page .course-features-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin: 18px 0;
}

.edu-page .course-features-footer .price {
  margin: 0 0 4px;
  font-size: 24px;
  font-weight: 800;
  color: var(--edu-primary-900);
}

.edu-page .course-features-footer p {
  max-width: 200px;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--edu-muted);
}

.edu-share {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  color: var(--edu-dark);
  text-decoration: none;
}

.edu-share i {
  font-size: 17px;
  color: var(--edu-primary);
}

.edu-share:hover {
  color: var(--edu-primary);
}

.edu-share.is-copied::after {
  content: "کپی شد";
  margin-inline-start: 4px;
  font-size: 12px;
  color: #1b8a5a;
}

/* Course details: main column */
.edu-page .instructor-card-bar {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: -95px 0 40px;
  padding: 16px 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--edu-shadow);
}

.edu-page .instructor-card-bar .profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.edu-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--edu-primary) 0%, var(--edu-primary-900) 100%);
}

.edu-avatar img {
  width: 44px;
  height: auto;
  object-fit: contain;
}

.edu-page .instructor-card-bar .name {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  color: var(--edu-primary-900);
}

.edu-page .instructor-card-bar .profile p {
  margin: 0;
  font-size: 14px;
  color: var(--edu-muted);
}

.edu-page .instructor-card-bar .feed {
  display: flex;
}

.edu-page .instructor-card-bar .rating,
.edu-page .instructor-card-bar .user-student {
  position: relative;
  margin: 0 26px;
  text-align: center;
}

.edu-page .instructor-card-bar .rating::after,
.edu-page .instructor-card-bar .user-student::after {
  content: "";
  position: absolute;
  top: 0;
  right: -26px;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(42, 27, 69, 0.2) 50%, transparent 100%);
}

.edu-page .instructor-card-bar .feed i {
  display: flex;
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1;
  color: var(--edu-primary);
}

.edu-page .instructor-card-bar .number {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--edu-primary-900);
}

.edu-page .instructor-card-bar .feed p {
  margin: 0;
  font-size: 14px;
  line-height: 1;
  color: var(--edu-muted);
}

.edu-page .instructor-card {
  margin-bottom: 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--edu-shadow);
}

.edu-page .instructor-card .card-head {
  padding: 26px 30px 18px;
  border-bottom: 1px solid var(--edu-line);
}

.edu-page .instructor-card .card-head .title {
  position: relative;
  margin: 0;
  padding-right: 16px;
  font-size: 22px;
  font-weight: 800;
  color: var(--edu-primary-900);
}

.edu-page .instructor-card .card-head .title::before {
  content: "";
  position: absolute;
  top: 15%;
  right: 0;
  width: 5px;
  height: 70%;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--edu-accent), var(--edu-primary));
}

.edu-page .instructor-card .card-body {
  padding: 24px 30px 28px;
}

.edu-page .check-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

.edu-page .check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 7px 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.7;
  color: var(--edu-dark);
}

.edu-page .check-list.list-grid-2 li {
  width: 50%;
  padding-left: 12px;
}

.edu-page .check-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--edu-primary);
}

.edu-notes {
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--edu-bg);
  font-size: 15px;
  line-height: 1.9;
  color: var(--edu-dark);
}

.edu-notes p:last-child {
  margin-bottom: 0;
}

.edu-register-card {
  scroll-margin-top: 110px;
}

.edu-register-card .hdl-course-form {
  padding: 0;
  border: 0;
  background: transparent;
}

.edu-register-card .hdl-course-form__title {
  display: none;
}

.edu-register-card .hdl-course-form__course {
  margin-bottom: 18px;
  font-weight: 600;
  color: var(--edu-muted);
}

.edu-register-card .hdl-course-form__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 18px;
}

.edu-register-card .hdl-course-form__field:nth-of-type(5),
.edu-register-card .hdl-course-form__submit,
.edu-register-card .hdl-course-form__msg {
  grid-column: 1 / -1;
}

.edu-register-card .hdl-course-form__field label {
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--edu-dark);
}

.edu-register-card .hdl-course-form__field input,
.edu-register-card .hdl-course-form__field textarea {
  padding: 11px 14px;
  border: 1px solid rgba(90, 54, 140, 0.18);
  border-radius: 12px;
  background: var(--edu-bg);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.edu-register-card .hdl-course-form__field input:focus,
.edu-register-card .hdl-course-form__field textarea:focus {
  outline: 0;
  border-color: var(--edu-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(107, 66, 163, 0.14);
}

.edu-register-card .hdl-course-form__submit {
  min-height: 50px;
  margin-top: 6px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--edu-primary) 0%, var(--edu-primary-800) 100%);
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(90, 54, 140, 0.25);
}

.edu-page .heading-bx {
  margin-bottom: 26px;
}

.edu-page .title-head-xs {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  color: var(--edu-primary-900);
}

/* Responsive */
@media (max-width: 1479.98px) {
  .edu-banner {
    --banner-height: 380px;
  }

  .edu-page .instructor-card-bar {
    margin-top: -70px;
  }
}

@media (max-width: 1280px) {
  .edu-page .search-filter-bx {
    margin: -110px 0 50px;
  }
}

@media (max-width: 1199.98px) {
  .edu-banner {
    --banner-height: 330px;
  }

  .edu-page .animted-star {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .edu-banner {
    --banner-height: 280px;
    margin-top: -156px;
    padding-top: 84px;
    height: calc(var(--banner-height) + 84px);
  }

  .edu-banner--detail {
    height: auto;
    min-height: calc(var(--banner-height) + 84px);
    padding-bottom: 40px;
  }

  .edu-banner--detail .edu-banner__entry {
    padding: 20px 0 0;
  }

  .edu-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 20px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--edu-shadow);
    font-size: 15px;
    font-weight: 800;
    color: var(--edu-primary-900);
  }

  .edu-filter-toggle .edu-i {
    font-size: 18px;
    color: var(--edu-primary);
    transition: transform 0.25s;
  }

  .edu-filter-toggle[aria-expanded="true"] .edu-i {
    transform: rotate(90deg);
  }

  .edu-sidebar {
    display: none;
    margin-top: 12px;
  }

  .edu-sidebar.is-open {
    display: block;
  }

  .edu-sidebar,
  .edu-page .course-features-detail {
    position: relative;
    top: 0;
  }

  .edu-page .search-filter-bx {
    margin: 0 0 30px;
  }

  .edu-page .course-features-detail {
    margin-top: 0;
  }

  .edu-page .instructor-card-bar {
    margin: 0 0 30px;
  }
}

@media (max-width: 767.98px) {
  .edu-banner {
    --banner-height: 270px;
  }

  .edu-banner p {
    font-size: 15px;
  }

  .edu-page .search-filter-bx .border-start {
    border-right: 0 !important;
  }

  .edu-page .check-list.list-grid-2 li {
    width: 100%;
  }

  .edu-register-card .hdl-course-form__inner {
    grid-template-columns: 1fr;
  }

  .edu-results-bar > .d-flex {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 575.98px) {
  .edu-page .search-filter-bx button {
    width: 100%;
  }

  .edu-page .instructor-card-bar {
    flex-direction: column;
    gap: 24px;
  }

  .edu-page .instructor-card .card-head,
  .edu-page .instructor-card .card-body {
    padding-right: 20px;
    padding-left: 20px;
  }

  .edu-page .check-list li {
    font-size: 15px;
  }
}
