/* DreamsLMS overrides — layout, overflow, buttons */

:root {
  --primary: #392C7D !important;
  --primary-hover: #241B4B !important;
  --secondary: #FF4667 !important;
  --secondary-hover: #ED1143 !important;
}

/* Single page scrollbar — keep AOS scroll detection working */
html {
  max-width: 100%;
  overflow-x: clip;
  overflow-y: auto;
  margin: 0 !important;
  padding: 0 !important;
}

body {
  font-family: "Inter", sans-serif !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  /* Keep overflow visible so position:sticky sidebars work; clip X on html instead */
  overflow-x: visible !important;
  overflow-y: visible !important;
  /* DreamsLMS bootstrap sets body{display:flex} which can leave a top gap */
  display: block !important;
}

.main-wrapper,
.home-3 {
  max-width: 100%;
  overflow: visible;
  position: relative;
  margin: 0;
  padding: 0;
  /* Prevent fixed-header from being trapped by transformed ancestors */
  transform: none !important;
  filter: none !important;
  perspective: none !important;
}

/* Flush header to top of viewport */
header.header-three,
header.header-three.position-fixed,
header.header-three.fixed {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  z-index: 1050 !important;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  animation: none !important;
}
header.header-three > .container {
  padding-top: 4px;
  padding-bottom: 4px;
}

/* AOS: real scroll animations; reduced-motion users see content instantly */
@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Stats cards — soft entrance polish (works with AOS) */
.home-3 .student-course .expert-item {
  transition: transform .35s ease, box-shadow .35s ease;
}
.home-3 .student-course .expert-item:hover {
  transform: translateY(-4px);
}
.home-3 .student-course .counterup {
  display: inline-block;
  min-width: 0.6em;
}

/* Never show theme / language / currency leftovers */
.theme-toggle,
.flag-dropdown,
.header-btn .icon-btn,
.header-three .dropdown.flag-dropdown,
.header-three .header-btn > .dropdown:not(.user-dropdown) {
  display: none !important;
}

/* ── Brand ── */
.pd-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  margin-left: 10px;
  min-width: 0;
}
.pd-brand-text strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--gray-900, #191919);
  white-space: nowrap;
}
.pd-brand-text small {
  font-size: 0.65rem;
  color: #6D6D6D;
  font-weight: 500;
  white-space: nowrap;
}
@media (max-width: 1399.98px) {
  .pd-brand-text strong { font-size: 0.82rem; }
  .pd-brand-text small { display: none; }
}
.header-three .navbar-logo a,
.footer-logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  max-width: 100%;
}
.header-three .navbar-logo .brand-mark,
.footer-logo .brand-mark,
.menu-logo .brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, #392C7D, #FF4667);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Header nav must not overflow */
.header-three .header-nav {
  flex-wrap: nowrap;
  gap: 8px;
}
.header-three .main-nav {
  flex-wrap: nowrap;
}

/* ── Buttons (force DreamsLMS pill style over Bootstrap) ── */
.btn {
  border-radius: 1.5rem !important;
  font-weight: 500;
  transition: all 0.35s ease;
  line-height: 1.4;
}
.btn.btn-primary,
a.btn.btn-primary,
button.btn.btn-primary {
  color: #fff !important;
  background-color: #392C7D !important;
  border-color: #392C7D !important;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active,
a.btn.btn-primary:hover {
  color: #fff !important;
  background-color: #241B4B !important;
  border-color: #241B4B !important;
}
.btn.btn-secondary,
a.btn.btn-secondary,
button.btn.btn-secondary {
  color: #fff !important;
  background-color: #FF4667 !important;
  border-color: #FF4667 !important;
  width: auto;
  margin: 0 auto;
}
.btn.btn-secondary:hover,
.btn.btn-secondary:focus,
.btn.btn-secondary:active,
a.btn.btn-secondary:hover {
  color: #fff !important;
  background-color: #ED1143 !important;
  border-color: #ED1143 !important;
}
.btn-dl-xl { padding: 12px 28px; font-size: 16px; }
.btn-dl-sm { padding: 6px 14px; font-size: 13px; }
.btn-dl-primary.w-100,
.btn-dl-secondary.w-100,
.btn-dl-outline.w-100,
a.btn-dl-primary.w-100,
a.btn-dl-secondary.w-100,
a.btn-dl-outline.w-100 {
  width: 100%;
  display: inline-flex;
  justify-content: center;
}

/* Extra safety for course detail sidebar */
.dl-sidebar-card {
  max-width: 100%;
  box-sizing: border-box;
}
.dl-course-detail-grid {
  max-width: 100%;
  align-items: start;
}
.dl-course-detail-grid > aside,
.dl-course-detail-grid > .dl-course-sidebar {
  position: sticky;
  top: 90px;
  align-self: start;
  z-index: 5;
  /* max-height: calc(100vh - 130px); */
  overflow-y: auto;
}
.dl-course-detail-grid .dl-sidebar-card {
  position: relative;
  top: auto;
}
.dl-content-section,
.dl-course-detail-grid,
.dl-inner-page {
  overflow: visible !important;
}

/* Instructor profile — sticky left column while courses scroll */
.instructor-detail-grid {
  overflow: visible !important;
}
.instructor-profile-col {
  position: sticky;
  top: 110px;
  align-self: flex-start;
  z-index: 5;
}
.instructor-profile-sticky {
  margin-bottom: 0;
}
@media (max-width: 991.98px) {
  .instructor-profile-col {
    position: static;
    top: auto;
  }
}
@media (max-width: 991.98px) {
  .dl-course-detail-grid > aside,
  .dl-course-detail-grid > .dl-course-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }
}
.dl-inner-page {
  max-width: 100%;
}

/* Header Sign In / Register — keep visible on tablet+ */
header .header-btn .btn {
  border-radius: 55px !important;
  padding: 7px 16px !important;
  font-size: 14px !important;
  white-space: nowrap;
  display: inline-flex !important;
  align-items: center;
}
@media (max-width: 991.98px) {
  header .header-btn .btn {
    display: none !important;
  }
}

/* Fixed header → push content */
.home-3 .banner-section-three {
  padding-top: 100px;
  overflow-x: clip;
  /* overflow-y: visible; */
}
.home-3 .breadcrumb-bar {
  padding-top: 130px;
  padding-bottom: 48px;
  overflow-x: clip;
  overflow-y: visible;
}

header.header-three.fixed {
  background: #fff;
  box-shadow: 0 4px 24px rgba(57, 44, 125, 0.1);
}

/* Stars */
.rating .fa-star.filled,
.rating i.fas.fa-star.filled,
.rating .fa-star-half-alt.filled,
.course-rating .fa-star.filled,
.course-rating .fa-star-half-alt.filled,
.trusted-stars .fa-star.filled,
.trusted-stars .fa-star-half-alt.filled {
  color: #FFC107;
}
.rating .far.fa-star,
.course-rating .far.fa-star {
  color: #CBD5E1;
}

/* ── Banner search (Bootstrap input-group conflict) ── */
.home-3 .banner-content .form-inner {
  overflow: visible;
}
.home-3 .banner-content .input-group {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  width: 100%;
  gap: 0;
}
.home-3 .banner-content .input-group > .form-control {
  flex: 1 1 auto;
  min-width: 0;
  width: auto !important;
  box-shadow: none !important;
}
.home-3 .banner-content .input-group > .search-icon {
  flex: 0 0 auto;
}
.home-3 .banner-content .input-group > .drop-detail {
  flex: 0 0 160px;
  width: 160px;
  margin: 0 10px;
}
.home-3 .banner-content .input-group > .sub-btn {
  flex: 0 0 44px;
  width: 44px !important;
  height: 44px;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50px !important;
  background: #FF4667 !important;
  border-color: #FF4667 !important;
  color: #fff !important;
}
.home-3 .banner-content .input-group > .sub-btn:hover {
  background: #392C7D !important;
  border-color: #392C7D !important;
}
.home-3 .drop-detail .form-select {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 50px !important;
  background-color: #FFDAE0;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23392C7D' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 12px;
  padding-right: 2rem;
  font-size: 14px;
  box-shadow: none !important;
}
@media (max-width: 575.98px) {
  .home-3 .banner-content .input-group {
    flex-wrap: wrap !important;
    display: block !important;
  }
  .home-3 .banner-content .input-group > .drop-detail {
    width: 100%;
    flex: 1 1 100%;
    margin: 8px 0;
  }
  .home-3 .banner-content .input-group > .sub-btn {
    width: 100% !important;
    flex: 1 1 100%;
    margin-top: 8px;
  }
}

/* ── Decorative BG images — contain overflow ── */
.banner-section-three .banner-bg-01,
.banner-section-three .banner-bg-02,
.home-3 .new-course .home-three-sec-bg .sec-bg-01,
.home-3 .new-course .home-three-sec-bg .sec-bg-02 {
  max-width: none;
  pointer-events: none;
}
.home-3 .new-course,
.home-3 .trend-course,
.home-3 .master-skill,
.home-3 .share-knowledge,
.home-3 .latest-blog,
.home-3 .become-instructors,
.home-3 .trusted-testimonials {
  overflow: visible;
  position: relative;
}
.home-3 .home-three-sec-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.home-3 .new-course > .container,
.home-3 .trend-course > .container,
.home-3 .share-knowledge > .container,
.home-3 .latest-blog > .container {
  position: relative;
  z-index: 1;
}
.home-3 .master-skill .career-img {
  max-width: 100%;
  overflow: hidden;
}
.home-3 .master-skill .career-img img {
  max-width: 100%;
}

/* Owl dots shared */
.home-3 .owl-dots {
  text-align: center;
  margin-top: 20px;
}
.home-3 .owl-dot span {
  width: 10px;
  height: 10px;
  background: #D1D1D1;
  display: inline-block;
  border-radius: 50%;
  margin: 0 4px;
}
.home-3 .owl-dot.active span {
  background: var(--secondary);
  width: 28px;
  border-radius: 50px;
}

/* Instructor cards */
.home-3 .instructors-course .instructor-item-two {
  height: 100%;
}
.home-3 .instructors-img {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
.home-3 .instructors-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

/* Lead logos */
.home-3 .lead-img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}
.home-3 .lead-img img,
.home-3 .lead-group-slider .owl-item img {
  max-height: 40px !important;
  width: auto !important;
  height: auto !important;
  display: inline-block !important;
}

/* Lab / client icon strip */
.home-3 .client-slider .slick-slide img {
  width: auto !important;
  max-height: 36px !important;
  margin: 0 auto;
  display: block !important;
}

/* ── Trusted testimonials (They Trusted us) ── */
.trusted-testimonials {
  position: relative;
  overflow: hidden;
  background: #0B1B33;
  padding: 50px 0 40px;
  color: #fff;
}
.trusted-map {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(120, 160, 210, .22) 1.2px, transparent 1.3px);
  background-size: 18px 18px;
  mask-image: radial-gradient(ellipse 70% 60% at 55% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 55% 45%, #000 20%, transparent 75%);
  opacity: .55;
  pointer-events: none;
}
.trusted-blob {
  position: absolute;
  left: -80px;
  top: 18%;
  width: 150px;
  height: 160px;
  background: #1FA97A;
  border-radius: 60% 40% 55% 45%;
  filter: blur(2px);
  opacity: .85;
  pointer-events: none;
}
.trusted-copy h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff !important;
  margin: 0 0 14px;
  line-height: 1.15;
}
.trusted-copy p {
  color: rgba(255, 255, 255, .82) !important;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 360px;
  margin: 0 0 28px;
}
.trusted-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  background: #fff;
  color: #111 !important;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none !important;
  transition: .2s;
}
.trusted-cta:hover {
  background: #FF4667;
  color: #fff !important;
}
.trusted-slider-wrap {
  position: relative;
  padding: 12px 48px 56px 0;
  max-width: 520px;
  margin-left: auto;
}
.trusted-stack-bg {
  position: absolute;
  inset: 28px 20px 72px 36px;
  background: rgba(255, 255, 255, .92);
  border-radius: 18px;
  transform: translate(18px, 14px) scale(.96);
  z-index: 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}
.trusted-stack-bg-2 {
  inset: 40px 8px 84px 48px;
  background: rgba(255, 255, 255, .75);
  transform: translate(34px, 28px) scale(.92);
  z-index: 0;
}
.trusted-slider {
  position: relative;
  z-index: 2;
}
.trusted-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 28px 22px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
  color: #334155;
}
.trusted-quote-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(57, 44, 125, .1);
  color: #392C7D;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.trusted-text {
  color: #475569 !important;
  font-size: .98rem;
  line-height: 1.7;
  margin: 0 0 16px;
  min-height: 46px;
}
.trusted-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.trusted-stars {
  color: #F5B301;
  letter-spacing: 1px;
  font-size: .9rem;
}
.trusted-stars .far { color: #CBD5E1; }
.trusted-rating-label {
  color: #64748B;
  font-size: .85rem;
  font-weight: 600;
}
.trusted-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #EEF0F4;
}
.trusted-author img {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50%;
  object-fit: cover;
}
.trusted-author strong {
  display: block;
  color: #192335;
  font-size: .95rem;
  font-weight: 700;
}
.trusted-author span {
  display: block;
  color: #94A3B8;
  font-size: .8rem;
}
.trusted-nav {
  position: absolute;
  right: 48px;
  bottom: 0;
  display: flex;
  gap: 10px;
  z-index: 3;
}
.trusted-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
  cursor: pointer;
  transition: .2s;
}
.trusted-arrow:hover {
  background: #392C7D;
  color: #fff;
}
.trusted-slider .slick-list,
.trusted-slider .slick-track {
  overflow: visible;
}
@media (max-width: 991.98px) {
  .trusted-blob { display: none; }
  .trusted-slider-wrap {
    max-width: 100%;
    margin: 0;
    padding: 0 0 56px;
  }
  .trusted-stack-bg,
  .trusted-stack-bg-2 { display: none; }
  .trusted-nav { right: 0; }
}
@media (max-width: 575.98px) {
  .trusted-testimonials { padding: 64px 0 72px; }
  .trusted-card { padding: 22px 18px 18px; }
  .trusted-text { min-height: 0; }
}
.home-3 .categories-item-two {
  text-align: center;
  border-radius: 12px;
}

/* ── Top Categories — images + hover text ── */
.home-3 .top-category-slider {
  position: relative;
  margin-top: 24px;
  padding: 0 8px;
}
.home-3 .category-arrow {
  position: absolute;
  top: 42%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #E7E7E7;
  background: #fff;
  color: #392C7D;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(57, 44, 125, 0.12);
  cursor: pointer;
  transition: .2s;
}
.home-3 .category-arrow:hover {
  background: #392C7D;
  border-color: #392C7D;
  color: #fff;
}
.home-3 .category-prev { left: -6px; }
.home-3 .category-next { right: -6px; }
.home-3 .mentoring-course {
  margin-top: 0;
}
.home-3 .mentoring-course .categories-item-two {
  text-align: center;
  border-radius: 12px;
  height: 100%;
  border: 1px solid var(--gray-100, #E7E7E7);
  background: #fff !important;
  margin: 0 8px;
  padding: 16px 14px 20px;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.home-3 .mentoring-course .categories-item-two .pd-category-link {
  display: block;
  text-decoration: none !important;
  color: inherit;
}
.home-3 .mentoring-course .pd-category-thumb {
  display: block;
  width: 100%;
  margin: 0 auto 16px;
  border-radius: 12px;
  overflow: hidden;
  background: #F5F5F5;
  /* aspect-ratio: 1 / 1; */
  /* max-width: 140px; */
}
.home-3 .mentoring-course .pd-category-thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  transition: transform 0.35s ease;
}
.home-3 .mentoring-course .categories-item-two .custom-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #191919 !important;
  line-height: 1.35;
  min-height: 1.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-3 .mentoring-course .categories-item-two p {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0;
  color: #6D6D6D !important;
}
.home-3 .mentoring-course .categories-item-two:hover {
  /* background: #392C7D !important;
  border-color: #392C7D !important;
  box-shadow: 0 10px 28px rgba(57, 44, 125, 0.22); */
}
.home-3 .mentoring-course .categories-item-two:hover .custom-title,
.home-3 .mentoring-course .categories-item-two:hover .custom-title a,
.home-3 .mentoring-course .categories-item-two:hover p,
.home-3 .mentoring-course .categories-item-two:hover .pd-category-link {
  /* color: #fff !important; */
}
.home-3 .mentoring-course .categories-item-two:hover .pd-category-thumb img {
  transform: scale(1.06);
}
.home-3 .mentoring-course .slick-slide {
  height: auto;
}
.home-3 .mentoring-course .slick-track {
  display: flex !important;
  align-items: stretch;
}
.home-3 .mentoring-course .slick-slide > div,
.home-3 .mentoring-course .slick-slide .categories-item-two {
  height: 100%;
}
@media (max-width: 991.98px) {
  .home-3 .top-category-slider { padding: 0 28px; }
  .home-3 .category-prev { left: 0; }
  .home-3 .category-next { right: 0; }
}

/* ── Course cards — equal height, CTA row pinned to the bottom ── */
.course-item.course-item-three {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.course-item-three .course-img {
  overflow: hidden;
  border-radius: 10px;
  flex-shrink: 0;
}
.course-item-three .course-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.course-item-three .course-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.course-item-three .title {
  min-height: 2.7em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.course-item-three .course-footer,
.course-item-three .d-flex.align-items-center.justify-content-between {
  flex-wrap: nowrap !important;
  gap: 10px;
  align-items: center !important;
  margin-top: auto;
}
.course-item-three .rating {
  margin-left: 0 !important;
  margin-bottom: 0 !important;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 13px;
  white-space: nowrap;
}
.course-item-three .rating .average-rating {
  font-size: 12px;
  white-space: nowrap;
}
.course-item-three .btn.btn-xl,
.course-item-three a.btn.btn-primary {
  flex: 0 0 auto;
  padding: 8px 12px !important;
  font-size: 13px !important;
  white-space: nowrap;
}
.course-item-three .btn.btn-xl .isax,
.course-item-three a.btn .isax {
  font-size: 14px;
}
.course-item-three .fav-icon {
  border: 0;
  cursor: pointer;
  background: var(--light-500, #F5F5F5);
  flex-shrink: 0;
  color: #64748B;
  transition: .2s;
}
.course-item-three .fav-icon.is-active,
.course-item-three .fav-icon.is-active i,
.js-wishlist-toggle.is-active {
  color: #FF4667 !important;
}
.btn-dl-outline.js-wishlist-toggle.is-active {
  border-color: #FF4667 !important;
  color: #FF4667 !important;
}

/* Blog detail */
.blog-detail-card {
  background: #fff;
  border: 1px solid #E9ECEF;
  border-radius: 16px;
  padding: 28px;
}
.blog-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: .9rem;
}
.blog-detail-meta .blog-category {
  color: #392C7D;
  font-weight: 600;
  text-decoration: underline;
}
.blog-detail-meta .blog-date {
  margin: 0;
  color: #64748B;
}
.blog-detail-cover img {
  max-height: 420px;
  object-fit: cover;
}
.blog-detail-body {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #334155;
}
.latest-blog .blog-wrap,
.dl-inner-page .blog-wrap {
  height: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

/* Courses list — sticky filter column */
.course-list-content {
  background: #F8F9FC;
  padding-left: 0;
  padding-right: 0;
}
.course-list-content .container {
  padding-left: 24px;
  padding-right: 24px;
}
.course-list-content,
.course-list-content .container,
.course-list-row,
.course-filter-col {
  overflow: visible !important;
}
.course-list-row {
  align-items: stretch !important;
}
.course-filter-col {
  align-self: stretch;
}
.course-filter-sticky {
  /* position: sticky !important;
  top: 110px !important;
  z-index: 20;
  max-height: calc(100vh - 130px);
  overflow-y: auto; */
}

/* Course filters panel (image-style) */
.course-filters-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.course-filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.course-filters-head h5 {
  font-weight: 700;
  color: #192335;
  font-size: 1.1rem;
}
.course-filters-clear {
  color: #FF4667 !important;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}
.course-filters-clear:hover { opacity: .85; }
.course-filter-block {
  background: #fff;
  border: 1px solid #E9ECEF;
  border-radius: 12px;
  padding: 14px;
}
.course-filter-card {
  background: #fff;
  border: 1px solid #E9ECEF;
  border-radius: 12px;
  overflow: hidden;
}
.course-filter-card-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 14px 16px;
  font-weight: 700;
  color: #192335;
  text-align: left;
}
.course-filter-card-toggle i {
  color: #64748B;
  font-size: 0.8rem;
}
.course-filter-card.is-collapsed .course-filter-card-body {
  display: none;
}
.course-filter-card-body {
  padding: 0 10px 14px;
}
.course-filter-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  font-size: 0.82rem;
  color: #45556c;
  user-select: none;
  padding: 6px 8px;
  border-radius: 8px;
}
.course-filter-check.is-active,
.course-filter-check:has(input:checked) {
  background: #FFF1F4;
}
.course-filter-check:last-child { margin-bottom: 0; }
.course-filter-check input {
  width: 16px;
  height: 16px;
  accent-color: #FF4667;
  flex-shrink: 0;
  pointer-events: none;
}
.course-filter-stars .stars {
  display: inline-flex;
  gap: 2px;
  color: #FFC107;
  pointer-events: none;
}
.course-filter-stars .stars .far {
  color: #CBD5E1;
}
.course-filter-stars-caption {
  color: #64748B;
  font-size: 0.78rem;
  white-space: nowrap;
  pointer-events: none;
}
.course-filter-more {
  background: none;
  border: 0;
  padding: 0;
  color: #FF4667;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 4px;
}
.course-range-label {
  font-weight: 600;
  color: #192335;
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.course-range-wrap {
  padding: 4px 2px;
}
.course-range-input {
  width: 100%;
  accent-color: #FF4667;
  cursor: pointer;
}

/* Course results toolbar */
.course-results-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.course-results-eyebrow {
  display: block;
  color: #FF4667;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
}
.course-results-title {
  font-size: clamp(1.5rem, 2vw, 1.85rem);
  font-weight: 800;
  color: #192335;
  margin: 0 0 4px;
  line-height: 1.25;
}
.course-results-meta {
  color: #64748B;
  font-size: 0.92rem;
}
.course-results-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.course-sort-select,
.course-search-input {
  height: 48px;
  border: 1px solid #E9ECEF;
  border-radius: 10px;
  background: #fff;
  color: #192335;
  font-size: 0.95rem;
}
.course-sort-select {
  min-width: 180px;
  padding: 0 36px 0 14px;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748B' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.course-search-wrap {
  position: relative;
  min-width: 220px;
}
.course-search-wrap > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 0.9rem;
  pointer-events: none;
}
.course-search-input {
  width: 100%;
  padding: 0 14px 0 40px;
  outline: none;
}
.course-search-input:focus,
.course-sort-select:focus {
  border-color: #392C7D;
  box-shadow: 0 0 0 3px rgba(57, 44, 125, 0.1);
}
@media (max-width: 767.98px) {
  .course-results-controls,
  .course-sort-wrap,
  .course-search-wrap {
    width: 100%;
  }
  .course-sort-select,
  .course-search-input {
    width: 100%;
  }
}
@media (max-width: 991.98px) {
  .course-filter-sticky {
    position: static !important;
    top: auto !important;
    max-height: none;
    overflow: visible;
  }
}
.course-item-three .title,
.course-item-three .title a {
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Trending / slick */
.trending-course {
  overflow: hidden;
}

/* Mobile menu */
.main-menu-wrapper.menu-opened {
  right: 0 !important;
}
body.menu-overlay::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1040;
}

/* Auth pages */
.dl-auth-section,
.content.login-content {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 70vh;
}
.login-wrap,
.dl-auth-card {
  max-width: 460px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--gray-100, #E7E7E7);
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 10px 40px rgba(57, 44, 125, 0.08);
}

.toast-container { z-index: 3000 !important; }

/* Google sign-in */
.btn-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 50px;
  border: 1px solid #E7E7E7;
  background: #fff;
  color: #191919 !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  transition: box-shadow .2s ease, background .2s ease;
}
.btn-google:hover {
  background: #F8F9FC;
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  color: #191919 !important;
}
.btn-google-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
}
.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 20px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E7E7E7;
}

.content {
  padding: 60px 0;
}

/* Section headers + View all buttons */
.home-3 .section .d-flex.justify-content-between {
  gap: 12px;
}
.home-3 .section .btn.btn-secondary.btn-xl {
  white-space: nowrap;
}

/* Inner page images */
.dl-inner-page img,
.about-section-two img,
.contact-section img {
  max-width: 100%;
  height: auto;
}

/* Course list grid cards */
.course-feature .row > [class*="col-"] {
  min-width: 0;
}

/* Prevent absolute price badge clipping issues */
.course-item-three .price {
  z-index: 2;
}

.course-item-three .price h3 {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.course-item-three .price span {
  text-decoration: line-through;
  opacity: 0.8;
  font-weight: 500;
  font-size: 0.85em;
}

/* Student sidebar: neutralize DreamsLMS .profile-card (white card + ::after) */
.student-sidebar .profile-card {
  background: transparent !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #fff !important;
}
.student-sidebar .profile-card::after {
  display: none !important;
  content: none !important;
}
.student-sidebar .sidebar-profile {
  margin: 0;
  border-radius: 0;
}

/* CTA banner: DreamsLMS forces dark p / btn-outline-light on purple bg */
.cta-banner,
.cta-banner h2,
.cta-banner h3,
.cta-banner p {
  color: #fff !important;
}
.cta-banner p {
  opacity: .9;
}
.cta-banner .btn-outline-light {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .8) !important;
  background: transparent !important;
}
.cta-banner .btn-outline-light:hover,
.cta-banner .btn-outline-light:focus,
.cta-banner .btn-outline-light:active {
  color: #392C7D !important;
  background: #fff !important;
  border-color: #fff !important;
}

/* Resources page */
.resource-cat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 12px;
  border: 1px solid #E7E7E7;
  border-radius: 12px;
  background: #fff;
  color: #191919 !important;
  text-align: center;
  height: 100%;
  transition: .2s;
}
.resource-cat-pill i {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(57, 44, 125, .1);
  color: #392C7D;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.resource-cat-pill:hover {
  border-color: #392C7D;
  box-shadow: 0 8px 24px rgba(57, 44, 125, .1);
  color: #392C7D !important;
}
.resource-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(57, 44, 125, .1);
  color: #392C7D;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.resource-card {
  display: flex;
  flex-direction: column;
}
.resource-card .btn-outline-primary {
  color: #392C7D !important;
  border-color: #392C7D !important;
  background: transparent !important;
}
.resource-card .btn-outline-primary:hover {
  color: #fff !important;
  background: #392C7D !important;
  border-color: #392C7D !important;
}

#courseResultsBody.is-searching {
  opacity: .55;
  pointer-events: none;
  transition: opacity .15s ease;
}
