* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Figtree", sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.6;
}

h1,
h2 {
  letter-spacing: -0.5px;
}

/* ===== PAGE LAYOUT ===== */
.course-page {
  padding: 30px;
}

.course-layout {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 50px;
  align-items: start;
}

/* ===== LEFT CONTENT ===== */
.course-title {
  font-size: 3rem;
  margin-bottom: 15px;
}

.course-subtext {
  font-size: 1.1rem;
  color: #555;
  max-width: 650px;
}

.course-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 40px 0;
}

.course-meta span {
  background: #f7f7f7;
  padding: 16px;
  border-radius: 10px;
  text-align: center;
  font-size: 0.9rem;
}

.course-content h2 {
  margin-top: 60px;
  margin-bottom: 10px;
  font-size: 1.6rem;
}

.course-content p {
  color: #444;
  max-width: 720px;
  text-align: justify;
}

.course-list {
  margin-top: 10px;
  padding-left: 18px;
  color: #444;
}

.course-list li {
  margin-bottom: 8px;
}

/* ===== RIGHT CARD ===== */
.course-card {
  position: sticky;
  top: 120px;
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.course-card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}

.price {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.course-card button {
  width: 100%;
  align-self: center;
  margin-top: 10px;
  background: #701111;
  color: #fff;
  font-weight: 600;
  border: none;
  padding: 12px 32px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition:
    all 0.3s ease,
    box-shadow 0.4s ease;
  position: relative;
  z-index: 0;
}

.course-card button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.25),
    0 0 12px rgba(255, 255, 255, 0.6);
  /* background: #fefefe; */
}

.course-card button:focus {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(0, 0, 0, 0.1),
    0 0 12px rgba(255, 255, 255, 0.6);
}

.course-card button.closed {
  background: #f3f3f3;
  color: #777;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

.course-card button.closed:hover {
  transform: none;
  box-shadow: none;
  background: #f3f3f3;
}

@media (max-width: 900px) {
  .course-layout {
    grid-template-columns: 1fr;
  }

  .course-card {
    position: static;
    margin-top: 40px;
  }

  .course-meta {
    grid-template-columns: repeat(2, 1fr);
  }

  .course-title {
    font-size: 2.2rem;
  }
}

.speaker-section {
  margin-top: 30px;
}

.speaker-card {
  border: 1px solid rgba(179, 33, 66, 0.12);
  padding: 20px;
  border-radius: 12px;
  background: #faf7f8;
}

.speaker-card h3 {
  margin-bottom: 6px;
  font-size: 20px;
  font-weight: 700;
  color: #8b1538;
}

.speaker-card p {
  margin: 4px 0;
  line-height: 1.6;
  font-size: 15px;
}

