* {
  box-sizing: border-box;
}

:root {
  --fontHeading: "Sen", "sans-serif";
  --primaryColor: #ffb900;
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  font-family: "Poppins", sans-serif;
}
/* ========== common - thuộc tính chung cho cả website ========== */
a {
  text-decoration: none;
}

.mainContent {
  width: 1170px;
  max-width: calc(100% - 48px);
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  min-width: 118px;
  padding: 0px 16px;
  line-height: 50px;
  color: #fff;
  text-align: center;
  font-size: 1.6rem;
  border-radius: 999px;
  background: #171100;
}

.btn:hover {
  cursor: pointer;
  opacity: 0.9;
}

.headingLv2 {
  color: #171100;
  font-family: var(--fontHeading);
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.27; /* 126.316% */
  letter-spacing: -0.76px;
}

.lineClamp {
  display: -webkit-box;
  -webkit-line-clamp: var(--line-clamp, 1);
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.lineClamp.line2 {
  --line-clamp: 2;
}

.breakAll {
  word-break: break-all;
}

/* ==================== Header ==================== */

.header {
  background: #fffcf4;
}

.header.fix {
  z-index: 1;
  position: sticky;
  top: -28px;
}

.header .body {
  display: flex;
  align-items: center;
  padding: 36px 0px 8px 0px;
}

.nav {
  margin-left: auto;
}

.nav ul {
  display: flex;
}

.nav a {
  position: relative;
  color: #5f5b53;
  font-size: 1.6rem;
  /* padding tăng tương tác với người dùng */
  padding: 8px 21px;
}

.nav li.active a,
.nav a:hover {
  color: #171100;
  /* font-weight: 600; */
  text-shadow: 1px 0 0 #5f5b53;
}

.nav li.active a::after {
  position: absolute;
  left: 21px;
  bottom: 6px;
  display: block;
  content: "";
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background: #171100;
}

.header .btnSignUp {
  min-width: 144px;
}

.header .action {
  margin-left: 49px;
}

/* ==================== hero ==================== */
.hero {
  padding: 56px 0 65px;
  background-color: #fffcf4;
}

.hero .body {
  display: flex;
}

/* ==================== media block ==================== */

.hero .mediaBlock {
  position: relative;
  width: 48%;
}

.hero .mediaBlock .img {
  width: 470px;
  height: 685px;
  object-fit: cover;
  border-radius: 20px;
}

.hero .heroSummary {
  position: absolute;
  width: 270px;
  padding: 24px;
  bottom: 48px;
  right: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 32px 0 rgba(0, 0, 0, 0.05);
}

.heroSummary .item {
  display: flex;
  align-items: center;
}

.heroSummary .item + .item {
  margin-top: 22px;
}

.heroSummary .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff9e8;
}

.heroSummary .icon2 {
  background-color: #fcefff;
}

.heroSummary .icon3 {
  background-color: #ebeaff;
}

.heroSummary .info {
  margin-left: 16px;
}

.heroSummary .label {
  color: #5f5b53;
  font-size: 1.4rem;
  line-height: 1.86; /* 185.714% */
}

.heroSummary .title {
  color: #171100;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.6; /* 166.667% */
}

/* ==================== content block ==================== */

.hero .contentBlock {
  width: 52%;
  padding-left: 130px;
  padding-top: 64px;
}

.hero .heading {
  color: #171100;
  font-family: var(--fontHeading);
  font-size: 5.8rem;
  font-weight: 700;
  line-height: 1.17; /* 117.241% */
  letter-spacing: -1.16px;
}

.hero .desc {
  color: #5f5b53;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.67; /* 166.667% */
}

.hero .ctaGroup {
  margin-top: 38px;
  display: flex;
  align-items: center;
}

.heroCta {
  min-width: 180px;
  line-height: 64px;
  background-color: var(--primaryColor);
}

.hero .watchVideo {
  margin-left: 28px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.hero .watchVideo .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 40px;
  background: #fff;
  box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.07);
}

.hero .watchVideo span {
  margin-left: 14px;
  color: #171100;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.67; /* 166.667% */
}

.hero .descRecent {
  margin-top: 48px;
}

.hero .stats {
  margin-top: 8px;
}

.hero .stats strong {
  margin-right: 15px;
  color: #171100;
  font-family: var(--fontHeading);
  font-size: 4.4rem;
  font-weight: 700;
  line-height: 1.23; /* 122.727% */
}

.hero .stats strong:nth-child(2) {
  margin-left: 28px;
}

/* ==================== popular ==================== */
.popular {
  padding: 65px 0px;
  margin-top: 135px;
}

.popularTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popularTop .desc {
  margin-top: 16px;
  width: 458px;
  color: #5f5b53;
  font-size: 1.8rem;
  line-height: 1.67; /* 166.667% */
}

.popularTop .controls {
  display: flex;
  gap: 18px;
}

.popularTop .controlBtn {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--primaryColor);
  border: 1px solid var(--primaryColor);
}

.popularTop .controlBtn:hover {
  background-color: var(--primaryColor);
  color: #fff;
  cursor: pointer;
}

.popular .courseList {
  margin-top: 55px;
  display: flex;
  gap: 30px;
}

.popular .courseItem {
  flex: 1;
  border-radius: 12px;
  border: 1px solid #e2dfda;
  background: #fff;
}

.popular .courseItem:hover {
  border-radius: 12px;
  border: 1px solid transparent;
  background: #fff;
  box-shadow: 0 18px 36px 0 rgba(0, 0, 0, 0.05);
}

.popular .courseItem .thumb {
  width: 100%;
  border-radius: 12px 12px 0 0;
  height: 278px;
  object-fit: cover;
}

.popular .courseItem .info {
  padding: 16px 22px 22px;
}

.popular .courseItem .foot,
.popular .courseItem .rating,
.popular .courseItem .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.popular .courseItem .title a {
  color: #171100;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.67; /* 166.667% */
}

.popular .rating .value {
  margin-left: 6px;
  color: #fea31b;
  font-size: 1.6rem;
  line-height: 1.75; /* 175% */
}

.popular .courseItem .desc {
  margin-top: 6px;
  color: #5f5b53;
  font-size: 1.4rem;
  line-height: 1.86; /* 185.714% */
}

.popular .courseItem .foot {
  margin-top: 12px;
}

.popular .courseItem .price {
  color: #171100;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.67; /* 166.667% */
}

.popular .courseItem .btnBook {
  border: none;
}

.popular .courseItem .btnBook:hover {
  background-color: var(--primaryColor);
}

/* ===================== feedback =================== */
.feedback {
  margin-top: 135px;
  padding: 96px 0;
  background: #2e2100;
}

.feedbackList {
  display: flex;
  overflow: hidden;
}

.feedbackItem {
  width: 100%;
  display: flex;
  flex-shrink: 0;
}

.feedbackItem .avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.feedbackItem .info .memberName {
  margin-top: 18px;
  color: #f7f7f7;
  font-family: var(--fontHeading);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.42; /* 141.667% */
}

.feedbackItem .info .desc {
  margin-top: 4px;
  color: #bfbcb2;
  font-size: 1.4rem;
  line-height: 1.86; /* 185.714% */
}

.feedbackItem .dots {
  display: flex;
  gap: 6px;
  margin-top: 28px;
}

.feedbackItem .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #634700;
  cursor: pointer;
}
.feedbackItem .dot.active {
  background: var(--primaryColor);
  cursor: default;
}

.feedbackItem .content {
  width: 68%;
  margin-left: auto;
}

.feedbackItem blockquote {
  color: #fff;
  font-size: 2.6rem;
  font-style: italic;
  line-height: 1.54; /* 153.846% */
}

/* ===================== features 1 =================== */

.features {
  margin-top: 65px;
  padding: 65px 0px;
}

.features .body {
  display: flex;
  justify-content: space-between;
}

.features .images {
  display: flex;
  gap: 30px;
}

.features .images img {
  width: 270px;
  height: 405px;
  object-fit: cover;
  border-radius: 16px;
}

.features .lower {
  margin-top: 34px;
}

.features .content {
  width: 41%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.features .desc {
  margin-top: 16px;
  color: #5f5b53;
  font-size: 1.6rem;
  line-height: 1.75; /* 175% */
}

.features .ctaBtn {
  margin-top: 32px;
  width: 137px;
  height: 50px;
  background: var(--primaryColor);
}

/* ===================== features 2 =================== */

.features2 {
  margin-top: 70px;
}
.features2 .body {
  flex-direction: row-reverse;
}

.features2 .content {
  width: 49%;
}

.features2 .images img {
  width: 470px;
  height: 440px;
  border-radius: 20px;
}

/* ===================== blog =================== */

.blogs {
  margin-top: 135px;
  padding: 96px 0px;
  background: #fffcf4;
}

.blogs .blogTop {
  text-align: center;
}

.blogs .blogTop .desc {
  margin: 16px auto 0;
  color: #696262;
  width: 448px;
  font-size: 1.6rem;
  line-height: 1.75; /* 175% */
}

.blogs .blogList {
  display: flex;
  margin-top: 55px;
  gap: 30px;
  overflow: hidden;
}

.blogs .item {
  width: calc(33.33% - 20px);
  border-radius: 16px;
  background: #fff;
  flex-shrink: 0;
}

.blogs .item:hover {
  box-shadow: 0 16px 32px 0 rgba(0, 0, 0, 0.05);
}

.blogs .item .thumb {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.blogs .item .info {
  padding: 20px 20px 28px;
}

.blogs .item .date {
  display: inline-flex;
  align-items: center;
  color: #5f5b53;
  font-size: 1.4rem;
  line-height: 1.86; /* 185.714% */
  position: relative;
  padding-bottom: 12px;
}

.blogs .item .date::before {
  content: "";
  margin-right: 4px;
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primaryColor);
}

.blogs .item .date::after {
  position: absolute;
  left: 0;
  bottom: 0;
  content: "";
  display: inline-block;
  right: -27px;
  height: 1px;
  border-radius: 0.5px;
  background: #e2dfda;
}

.blogs .item .title {
  margin-top: 12px;
  color: #171100;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.75; /* 175% */
}

.blogs .item .btn {
  margin-top: 12px;
}

.blogs .item .btn:hover {
  background: var(--primaryColor);
}

.blogs .dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 38px;
}

.blogs .dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5f5b53;
  cursor: pointer;
}

.blogs .dot.active {
  background: var(--primaryColor);
  cursor: default;
}

/* ===================== footer =================== */
.footer {
  background: #2e2100;
  padding: 96px 135px 0;
}

.footer .row {
  display: flex;
  padding-bottom: 38px;
  border-bottom: 1px solid #59554b;
}

.footer .row .column {
  width: 21.6%;
}

.footer .row .column:first-child {
  width: 35%;
}

.footer .desc {
  margin-top: 18px;
  max-width: 267px;
  color: #bfbcb2;
  font-size: 1.4rem;
  line-height: 1.86; /* 185.714% */
}

.footer .socials {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

.footer .title {
  display: inline-block;
  color: #fff;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.75; /* 175% */
  padding-bottom: 14px;
  padding-right: 48px;
  border-bottom: 1px solid #59554b;
}

.footer .list {
  margin-top: 28px;
}

.footer .list a {
  display: inline-block;
  margin-bottom: 12px;
  color: #bfbcb2;
  font-size: 1.4rem;
  line-height: 1.86; /* 185.714% */
}

.footer .list li:last-child a {
  margin-bottom: 0;
}

.footer .list strong {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.86; /* 185.714% */
}

.footer .copyright {
  padding: 28px 0;
  color: #807d74;
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.86; /* 185.714% */
}
