.elementor-50448 .elementor-element.elementor-element-5248d1c3{--display:flex;}.elementor-50448 .elementor-element.elementor-element-45d3727f{--spacer-size:97px;}.elementor-50448 .elementor-element.elementor-element-ad52eb{--display:flex;}/* Start custom CSS for html, class: .elementor-element-6caa0c80 *//* =========================
   LAYOUT
========================= */
.course-layout {
  display: flex;
  gap: 40px;
  max-width: 1100px;
  margin: 80px auto;
  padding: 0 24px;
  font-family: 'Montserrat', system-ui, sans-serif;
}

/* =========================
   SIDEBAR
========================= */
.course-sidebar {
  width: 220px;
  position: sticky;
  top: 80px;
  height: fit-content;
}

.sidebar-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #020617;
}

.unit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.unit-item {
  font-size: 14px;
  padding: 10px 14px;
  margin-bottom: 6px;
  border-radius: 8px;
  color: #475569;
  cursor: pointer;
  transition: all 0.25s ease;
}

.unit-item:hover {
  background: #f1f5f9;
}

.unit-item.active {
  background-color: #16abe2;
  color: #ffffff;
}

/* =========================
   CONTENT
========================= */
.course-wrapper {
  flex: 1;
  max-width: 620px;
}

/* =========================
   PROGRESS BAR
========================= */
.course-progress {
  margin-bottom: 36px;
}

.progress-text {
  font-size: 13px;
  font-weight: 500;
  color: #16abe2;
  margin-bottom: 8px;
}

.progress-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 14%;
  background-color: #16abe2;
  transition: width 0.4s ease;
}

/* =========================
   UNITS
========================= */
.course-unit-section {
  display: none;
  animation: fadeSlide 0.4s ease;
}

.course-unit-section.active {
  display: block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   TITLES & TEXT
========================= */
.course-title {
  font-size: 30px;
  font-weight: 700;
  margin: 10px 0;
  color: #000000;
}

.course-section {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: #000000;
}

.course-unit {
  font-size: 13px;
  font-weight: 500;
  color: #000000;
}

.course-image {
  width: 100%;
  border-radius: 14px;
  margin: 28px 0;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.course-unit-section p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  color: #334155;
}

/* =========================
   NAVIGATION BUTTONS
========================= */
.course-navigation {
  margin-top: 36px;
  display: flex;
  justify-content: space-between;
}

.nav-btn {
  padding: 12px 28px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #16abe2;
  color: #16abe2;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.25s ease;
}

.nav-btn:hover {
  background: #16abe2;
  color: #ffffff;
}

/* =========================
   FORCE REMOVE BACKGROUNDS
========================= */
.course-title *,
.course-section *,
.course-unit * {
  background: transparent !important;
  box-shadow: none !important;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 900px) {
  .course-layout {
    flex-direction: column;
  }

  .course-sidebar {
    width: 100%;
    position: relative;
    top: 0;
  }
}
/* === FORCE BLACK TITLES (override theme & Elementor) === */
.course-wrapper .course-title,
.course-wrapper .course-title *,
.course-wrapper h1.course-title,
.course-wrapper h2.course-title {
  color: #000000 !important;
  background: transparent !important;
  -webkit-text-fill-color: #000000 !important;
}

/* === SECTION + UNIT TEXT === */
.course-wrapper .course-section,
.course-wrapper .course-unit {
  color: #000000 !important;
  background: transparent !important;
  -webkit-text-fill-color: #000000 !important;
}
/* ===============================
   Match NEXT UNIT button with START TRADING
=============================== */
.course-navigation .nav-btn {
  background: linear-gradient(135deg, #16abe2, #0ea5e9) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 14px 32px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(22, 171, 226, 0.35);
  transition: all 0.3s ease;
}

/* Hover effect (نفس زر الهيدر) */
.course-navigation .nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(22, 171, 226, 0.45);
  opacity: 0.95;
}

/* Active / Click */
.course-navigation .nav-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(22, 171, 226, 0.35);
}/* End custom CSS */