/* ============ Premium Courses Section ============ */
.pt-courses {
  position: relative;
  overflow: hidden;
  padding: 85px 0;
}

.pt-section-head {
  max-width: 760px;
  margin: 0 auto 32px;
}

.pt-title {
  font-size: clamp(26px, 2.4vw, 45px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.pt-subtitle {
  color: #6c757d;
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0 auto;
}

/* soft background blob */
.pt-courses-bg {
  position: absolute;
  inset: -20%;
  /* background:
    radial-gradient(closest-side, rgba(13,110,253,.10), transparent 65%),
    radial-gradient(closest-side, rgba(13,110,253,.08), transparent 62%); */
  filter: blur(10px);
  z-index: -1;
}

/* grid spacing */
.pt-course-grid {
  margin-top: 14px;
}

/* Card */
.pt-course-card {
  height: 100%;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 20px 18px 18px;
  box-shadow: 0 10px 30px rgba(2, 8, 23, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
  backdrop-filter: blur(8px);
}

.pt-course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(2, 8, 23, 0.12);
  border-color: rgba(13, 110, 253, 0.22);
}

/* Top row */
.pt-course-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.pt-icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    180deg,
    rgba(13, 110, 253, 0.12),
    rgba(13, 110, 253, 0.06)
  );
  border: 1px solid rgba(13, 110, 253, 0.18);
}

.pt-icon-badge img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* Seat chip */
.pt-seat {
  font-size: 13px;
  color: #334155;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  padding: 8px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

/* .pt-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #0d6efd;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(13,110,253,.15);
} */

.pt-course-name {
  /* font-size: 18px; */
  font-weight: 800;
  margin-bottom: 8px;
  color: #0f172a;
}

.pt-course-desc {
  color: #64748b;
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 14px;
  min-height: 48px;
}

.ptc-meta1 {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
}

.ptc-pill1 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(11, 27, 43, 0.03);
  border: 1px solid rgba(11, 27, 43, 0.06);
  font-size: 13px;
}

.pt-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.pt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
  width: 100%;
}

.pt-btn-primary {
  /* background: #0d6efd; */
  background: linear-gradient(135deg, #00d68f, #0aa6ff);
  color: black;
}

.pt-btn-primary:hover {
  /* transform: translateY(-2px); */
  background: linear-gradient(135deg, #00d68f, #0aa6ff);
  color: #fff;
}

.pt-btn-ghost {
  background: rgba(15, 23, 42, 0.04);
  color: #0f172a;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

.pt-btn-ghost:hover {
  transform: translateY(-2px);
  background: rgba(15, 23, 42, 0.06);
}

/* ------------------------------------------------------------------------------------- */
.pt-submodules {
  margin-top: 12px;
}

.pt-sub-item {
  margin-bottom: 10px;
}

.pt-sub-item h6 {
  /* font-size: 14px; */
  font-weight: 700;
  margin-bottom: 4px;
  color: #0d6efd;
}

.pt-sub-item p {
  font-size: 15px;
  line-height: 1.5;
  color: #555;
  margin-bottom: 0;
}

/* ------------------------------------------------------------------------------------- */
/* Responsive tweaks */
@media (max-width: 991px) {
  .pt-courses {
    padding: 85px 20px !important;
  }
}

@media (max-width: 575px) {
  .pt-course-card {
    padding: 18px 16px 16px;
    border-radius: 16px;
  }
  .pt-meta {
    grid-template-columns: 1fr;
  }
  .pt-course-desc {
    min-height: auto;
  }
  .pt-actions {
    flex-direction: column;
  }
}
