:root {
  --primary: #066ac9;
  --primary-dark: #004a72;
  --primary-light: #e8f4ff;
  --dark: #1f2937;
  --text: #6b7280;
  --bg: #f7fbff;
  --border: #e5edf5;
  --white: #fff;
  --success: #22c55e;
  --warning: #f59e0b;
}

body {
  background: var(--bg);
}

a {
  text-decoration: none;
}


.course-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 0;
  background:
    radial-gradient(circle at top left, rgba(6,106,201,.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(0,74,114,.14), transparent 34%),
    linear-gradient(135deg, #e8f4ff 0%, #ffffff 55%, #f3fbff 100%);
}

.hero-deco-left,
.hero-deco-right {
  position: relative;
  min-height: 310px;
}

.hero-deco-img {
  position: relative;
  z-index: 2;
  max-width: 260px;
  width: 100%;
}

.hero-shape {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 290px;
  height: 290px;
  border-radius: 42% 58% 55% 45%;
  background: rgba(6,106,201,.12);
  z-index: 1;
}

.rocket-img {
  position: absolute;
  left: 25px;
  bottom: 20px;
  width: 95px;
  opacity: .9;
  transform: rotate(-18deg);
}

.paper-plane {
  position: absolute;
  right: 20px;
  bottom: 35px;
  width: 120px;
  opacity: .8;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.hero-content h3 {
  color: var(--primary-dark);
  font-size: 34px;
  line-height: 1.25;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-content p {
  color: #1f2937;
  font-weight: 500;
  line-height: 1.7;
  max-width: 720px;
  margin: 0 auto;
}

.hero-counter {
  margin-top: 36px;
}

.counter-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px 16px;
  box-shadow: 0 15px 40px rgba(0,74,114,.08);
  height: 100%;
}

.counter-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 24px;
  margin: 0 auto 12px;
}

.counter-box h5 {
  color: var(--primary-dark);
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 2px;
}

.counter-box span {
  color: var(--text);
  font-weight: 500;
}

@media (max-width: 1199px) {
  .hero-deco-left,
  .hero-deco-right {
    /* display: none; */
  }

  .hero-content h3 {
    font-size: 30px;
  }
}

@media (max-width: 575px) {
  .course-hero {
    padding: 50px 0;
  }

  .hero-content h3 {
    font-size: 24px;
  }

  .hero-content p {
    font-size: 14px;
  }
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.stat-pill {
  background: #fff;
  border: 1px solid var(--border);
  padding: 13px 18px;
  border-radius: 18px;
  min-width: 145px;
  box-shadow: 0 12px 35px rgba(0,74,114,.07);
}

.stat-pill h5 {
  margin: 0;
  font-weight: 600;
  color: var(--primary);
}

.stat-pill small {
  color: var(--text);
  font-weight: 500;
}

.main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  border: 0;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: .3s;
}

.main-btn:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
}

.preview-card {
  background: #fff;
  padding: 14px;
  border-radius: 30px;
  box-shadow: 0 30px 80px rgba(0,74,114,.16);
  position: relative;
}

.preview-card img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  border-radius: 22px;
}

.play-btn {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--primary);
  font-size: 36px;
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

.section-space {
  padding: 70px 0;
}

.course-tabs {
  gap: 12px;
  margin-bottom: 24px;
}

.course-tabs .nav-link {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 50px;
  padding: 12px 22px;
  font-weight: 600;
  color: var(--dark);
  box-shadow: 0 8px 22px rgba(0,74,114,.05);
}

.course-tabs .nav-link.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.content-card,
.buy-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 28px;
  box-shadow: 0 18px 50px rgba(0,74,114,.06);
  margin-bottom: 24px;
}

.section-title {
  font-size: 26px;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 18px;
}

.desc-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--dark);
  text-transform: uppercase;
  margin-top: 24px;
  margin-bottom: 8px;
}

.text-soft {
  color: var(--text);
  line-height: 1.75;
}

.learn-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 16px;
  margin-top: 22px;
}

.learn-card {
  background: #f8fbff;
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 18px;
  display: flex;
  gap: 12px;
  height: 100%;
}

.learn-card i {
  color: var(--primary);
  font-size: 24px;
  margin-top: 2px;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: 16px !important;
  overflow: hidden;
  margin-bottom: 12px;
}

.accordion-button {
  /* font-weight: 900; */
  color: var(--primary-dark);
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.module-line {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text);
  font-weight: 700;
  gap: 12px;
}

.module-line:last-child {
  border-bottom: 0;
}

.instructor-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.instructor-card img {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  object-fit: cover;
  border: 4px solid var(--primary-light);
}

.instructor-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.instructor-stats span {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 900;
}

.rating-big {
  font-size: 58px;
  font-weight: 900;
  color: var(--primary-dark);
  line-height: 1;
}

.progress {
  height: 10px;
  border-radius: 20px;
  background: #e5edf5;
}

.progress-bar {
  background: var(--primary);
}

.buy-card {
  position: sticky;
  top: 95px;
}

.video-box {
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  margin-bottom: 20px;
}

.price {
  font-size: 46px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0;
}

.discount {
  color: var(--success);
  font-weight: 800;
}

.buy-btn {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: 0;
  padding: 15px;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 18px;
  transition: .3s;
}

.buy-btn:hover {
  background: var(--primary-dark);
}

.share-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.share-list a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 18px;
}

.course-includes {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.course-includes li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 800;
}

.course-includes li span:first-child {
  color: var(--text);
}

@media (max-width: 991px) {
  .preview-card img {
    height: 300px;
  }

  .buy-card {
    position: static;
  }
}

@media (max-width: 575px) {
  .course-hero {
    padding: 60px 0 45px;
  }

  .stat-pill {
    width: 100%;
  }

  .learn-grid {
    grid-template-columns: 1fr;
  }

  .course-tabs .nav-item,
  .course-tabs .nav-link {
    width: 100%;
  }

  .content-card,
  .buy-card {
    padding: 22px;
  }

  .instructor-card {
    flex-direction: column;
  }
}