/* ===== Home Hero Section ===== */
#ce-hm-hi-sec {
  background: var(--theme-color-1);
  overflow: hidden;
}

.ce-hm-hi-left {
  padding: 4rem 3rem;
}

.ce-hm-hi-content {
  max-width: 460px;
}

.ce-hm-hi-heading {
  font-size: var(--h1-font-size);
  font-weight: 400;
  color: var(--primary-color);
  line-height: 1.15;
}

.ce-hm-hi-heading strong {
  font-weight: 700;
}

.ce-hm-hi-divider {
  width: 160px;
  height: 3px;
  background: var(--primary-color);
  margin: 1.5rem 0;
}

.ce-hm-hi-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--primary-font-size);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* Search bar */
.ce-hm-hi-search-container {
  background: var(--theme-color-2);
  border-radius: 8px;
  padding: 0.3rem 0.3rem 0.3rem 1.1rem;
  max-width: 340px;
}

.ce-hm-hi-search-input {
  flex: 1;
  background: transparent !important;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.ce-hm-hi-search-input:focus {
  outline: none;
  box-shadow: none;
  background: transparent;
  color: var(--primary-color);
}

.ce-hm-hi-search-input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.ce-hm-hi-search-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  border: none;
  background: var(--theme-color-1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease;
}

.ce-hm-hi-search-btn:hover {
  background: var(--theme-color-5);
}

/* Rating */
.ce-hm-hi-rating {
  margin-top: 1.5rem;
}

.ce-hm-hi-rating-stars {
  color: var(--theme-color-4);
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.ce-hm-hi-rating-text {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 0.85rem;
  margin-top: 0.35rem;
  margin-bottom: 0;
}

/* Image */
.ce-hm-hi-right {
  min-height: 360px;
}

.ce-hm-hi-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .ce-hm-hi-left {
    padding: 3rem 1.5rem;
  }

  .ce-hm-hi-content {
    max-width: 100%;
  }

  .ce-hm-hi-right {
    min-height: 320px;
  }
}

@media (max-width: 575.98px) {
  .ce-hm-hi-left {
    padding: 2.5rem 1.25rem;
  }

  .ce-hm-hi-right {
    min-height: 240px;
  }
}

/* ===== Popular Courses Section ===== */
#ce-hm-ppcrs-sec {
  background: var(--bg-gradient-theme-10_11);
  padding: 4rem 0;
}

.ce-hm-ppcrs-main-title {
  font-size: var(--h3-font-size);
  font-weight: 400;
  color: var(--theme-color-1);
  margin-bottom: 2.5rem;
}

.ce-hm-ppcrs-main-title strong {
  font-weight: 700;
}

/* Course card */
.ce-hm-ppcrs-card {
  display: flex;
  flex-direction: column;
  background: var(--primary-color);
  border-radius: 24px;
  padding: 1.1rem 1.6rem;
  /* box-shadow: 0 4px 16px rgba(48, 66, 121, 0.06);
            border: 1px solid var(--theme-color-10); */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.ce-hm-ppcrs-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(48, 66, 121, 0.14);
}

.ce-hm-ppcrs-thumb-wrap {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.9rem;
  background: var(--theme-color-9);
}

.ce-hm-ppcrs-thumb {
  width: 100%;
  height: auto;
  display: block;
}

.ce-hm-ppcrs-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--theme-color-2);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.ce-hm-ppcrs-meta {
  justify-content: space-between;
  gap: 0.7rem;
  margin: 0.6rem 0;
  font-size: 1rem;
}

.ce-hm-ppcrs-rating {
  color: var(--theme-color-7);
  letter-spacing: 1px;
}

.ce-hm-ppcrs-students i {
  color: var(--theme-color-3);
}

.ce-hm-ppcrs-students {
  color: var(--theme-color-2);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.ce-hm-ppcrs-price {
  gap: 0.55rem;
  margin: 1rem 0;
}

.ce-hm-ppcrs-price-new {
  font-size: 2.15rem;
  font-weight: 800;
  color: var(--theme-color-2);
}

.ce-hm-ppcrs-price-old {
  font-size: 1.95rem;
  color: #9a9a9a;
  text-decoration: line-through;
}

.ce-hm-ppcrs-off-badge {
  background: var(--theme-color-7);
  color: var(--theme-color-2);
  font-size: 1.3rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  margin-left: auto;
}

/* Countdown timer */
.ce-hm-ppcrs-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.ce-hm-ppcrs-timer-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-gradient-theme-12_13);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Action buttons */
.ce-hm-ppcrs-actions {
  gap: 0.6rem;
  margin-top: auto;
}

.ce-hm-ppcrs-details-btn {
  border: 1.5px solid var(--theme-color-2) !important;
  border-radius: 200px;
  font-size: 1.3rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  flex: 1;
}

.ce-hm-ppcrs-cart-btn {
  font-size: 1.3rem;
  padding: 0.5rem 1.1rem;
  flex: 1;
  text-align: center;
}

.ce-hm-ppcrs-smc-btn {
  width: fit-content;
  padding-inline: 2rem;
}
/* ===== Responsive ===== */
@media (max-width: 575.98px) {
  .ce-hm-ppcrs-timer-circle {
    width: 58px;
    height: 58px;
    font-size: 1.72rem;
  }
}
