* {
  box-sizing: border-box;
}

html {
  /* quy đổi 1rem = 10px */
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-size: 1.6rem;
  font-family: "Poppins", sans-serif;
}

/* ===== Common ===== */
a {
  text-decoration: none;
}

.container {
  width: 1170px;
  margin: 0 auto;
  max-width: calc(100% - 48px);
}

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

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

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

.btn:hover {
  opacity: 1;
}

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

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

/* ===== End common ===== */

/*----------------------------------
# Header
-----------------------------------*/
.header,
.hero {
  background: #fffcf4;
}

.header.fixed {
  /* position: fixed;
  top: 0;
  left: 0;
  right: 0; */
  position: sticky;
  top: -28px;
  z-index: 999;
}

.header__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 0 8px;
}

.header__navbar {
  margin-left: auto;
}

.header__list {
  display: flex;
  min-width: 359px;
  gap: 42px;
}

.header__link {
  position: relative;
  color: #5f5b53;
  text-align: center;
  font-size: 1.6rem;
  padding: 8px 0;
}

.header__link:hover,
.header__active {
  color: #171100;
  /* font-weight: 600; */
  text-shadow: 1px 0 0 currentColor; /* thay cho fw=600 để k bị giật*/
}

.header__active .header__link::after {
  display: inline-block;
  position: absolute;
  content: "";
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background: #171100;
  bottom: 6px;
  left: 0;
}

.header__cta {
  margin-left: 70px;
}

.header__sign-up {
  min-width: 144px;
}

/*-----------------------------------
# Section Hero
-----------------------------------*/
.hero {
  padding: 56px 0 65px;
}

.hero__body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 130px;
}

.hero__media {
  width: 570px;
  position: relative;
  display: flex;
}

.hero__img {
  width: 470px;
  height: 685px;
}

.hero__avt {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  background: url(<path-to-image>) lightgray -448.75px 0px / 218.672% 100% no-repeat;
}

.hero__summary {
  display: flex;
  gap: 14px;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  min-width: 244px;
  min-height: 270px;
  position: absolute;
  bottom: 48px;
  right: 0;
  border-radius: 12px;
  background: #fff;
  padding: 24px;
  box-shadow: 0px 16px 32px 0px rgba(0, 0, 0, 0.05);
}

.hero__summary-item {
  min-width: 183px;
  display: flex;
  align-items: center;
}

.hero__summary-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  color: #a13fb9;
  background: #fcefff;
  border: 1px solid transparent;
}

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

.hero__summary-desc {
  color: #5f5b53;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.86; /* 185.714% */
}

.hero__content {
  width: 470px;
}

.hero__title {
  color: #171100;
  font-family: Sen;
  font-size: 5.8rem;
  font-weight: 700;
  line-height: 1.17; /* 117.241% */
  letter-spacing: -1.16px;
  --line-clamp: 3;
}

.hero__desc {
  margin-top: 22px;
  color: #5f5b53;
  font-family: Poppins;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.66; /* 166.667% */
  --line-clamp: 3;
}

.hero__cta {
  margin-top: 38px;
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
  /* gap: 28px; */
}

.hero__see-courses {
  min-width: 180px;
  height: 64px;
  border: none;
  background: #ffb900;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.67; /* 166.667% */
}

.hero__see-courses {
  cursor: pointer;
}

.hero__watch-video {
  margin-left: 28px;
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.hero__play {
  display: inline-block;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 40px;
  background: #fff;
  color: #ffb900;
  border: 1px solid #fff;
  box-shadow: 0px 8px 16px 0px #00000012;
}

.hero__recent {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: space-between;
  gap: 8px;
}

.hero__list {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
}

.hero__item {
  min-width: 173px;
  display: flex;
  justify-content: space-between;
  align-items: end;
}

.hero__number-big {
  color: #171100;
  font-family: Sen;
  font-size: 4.4rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.23; /* 122.727% */
}

.hero__number-small {
  color: #5f5b53;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 30px;
  margin-bottom: 5px;
}

/*-----------------------------------
# Section Popular
----------------------------------- */
.popular {
  margin-top: 100px;
  padding: 100px 0;
}

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

.popular__head-left {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  gap: 18px;
}

.popular__heading {
  color: #171100;
  font-family: Sen;
  font-size: 38px;
  font-weight: 700;
  line-height: 1.26; /* 126.316% */
  letter-spacing: -0.76px;
}

.popular__desc {
  color: #5f5b53;
  font-family: Poppins;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px; /* 166.667% */
  width: 458px;
}

.popular__controls {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.popular__control {
  width: 40px;
  height: 40px;
  border-radius: 40px;
  border: 1px solid #ffb900;
  color: #ffb900;
  background: #fff;
}

.popular__control:hover {
  background: #ffb900;
  color: #fff;
}

.popular__list {
  margin-top: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.popular__item {
  width: 370px;
  border-radius: 12px;
  border: 1px solid #e2dfda;
  background: #fff;
}

.popular__item:hover {
  box-shadow: 0px 18px 36px 0px rgba(0, 0, 0, 0.05);
  border: 1px solid transparent;
}

.popular__img {
  width: 370px;
  height: 278px;
  border-radius: 12px 12px 0px 0px;
  background: url(<path-to-image>) lightgray 50% / cover no-repeat;
  object-fit: cover;
}

.popular__item-content {
  padding: 16px 24px 24px;
}

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

.popular__heading3 {
  color: #171100;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.67; /* 166.667% */
  padding-right: 5px;
}

.popular__stars {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.popular__desc-bottom {
  margin-top: 6px;
  color: #5f5b53;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.86; /* 185.714% */
}

.popular__cta {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.popular__btn {
  border: none;
  font-size: 1.4rem;
}

.popular__btn:hover {
  background: #ffb900;
}

/*----------------------------------
# feedback section
---------------------------------- */
.feedback {
  margin-top: 100px;
  background: #2e2100;
}

.feedback__img {
  width: 72px;
  height: 72px;
  border-radius: 72px;
  object-fit: cover;
}

.feedback__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 96px 0;
  gap: 241px;
}

.feedback__heading {
  margin-top: 18px;
  color: #f7f7f7;
  font-family: Sen;
  font-size: 24px;
  font-weight: 700;
  line-height: 34px; /* 141.667% */
}

.feedback__desc {
  margin-top: 4px;
  width: 159px;
  color: #bfbcb2;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.86; /* 185.714% */
}

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

.feedback__dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 6px;
  background: #634700;
}

.feedback__dot:hover,
.feedback__active {
  background: #ffb900;
  cursor: pointer;
}

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

.feedback__icon {
  width: 30px;
  height: 28px;
  flex-shrink: 0;
}

.feedback__content-desc {
  min-width: 740px;
  margin-top: 28px;
  color: #fff;
  font-size: 2.6rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.54; /* 153.846% */
  --line-clamp: 4;
}

/*----------------------------------
# Feature section
---------------------------------- */
.features {
  margin-top: 100px;
  padding: 100px 0;
}

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

.features__images {
  display: flex;
  gap: 30px;
}

.features__img {
  width: 270px;
  height: 404px;
  object-fit: cover;
  /* flex-shrink: 0; */
}

.features__img:first-child {
  margin-top: 34px;
}

.features__content {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.features__heading,
.feature-two__heading {
  color: #171100;
  font-family: Sen;
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.26;
  letter-spacing: -0.76px;
}

.features__desc {
  margin-top: 16px;
  color: #5f5b53;
  font-family: Poppins;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px; /* 175% */
  --line-clamp: 3;
}

.features .act {
  margin-top: 32px;
}

.btn-act {
  background: #ffb900;
  min-width: 137px;
}

/* feature tow */
.feature-two {
  margin-top: 100px;
}

.feature-two__body {
  display: flex;
  justify-content: space-between;
  gap: 130px;
}

.feature-two__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 48.72%;
}

.feature-two__desc {
  margin-top: 16px;
  color: #5f5b53;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 28px; /* 175% */
}

.feature-two__cta {
  margin-top: 32px;
}

.feature-two__img {
  width: 470px;
  height: 440px;
  object-fit: cover;
}

/*--------------------------------
# Blog section
/*--------------------------------*/
.blog {
  margin-top: 200px;
  padding: 96px 0;
  background: #fffcf4;
}

.blog__heading {
  color: #130606;
  font-family: Sen;
  font-size: 38px;
  font-style: normal;
  font-weight: 700;
  line-height: 48px; /* 126.316% */
  letter-spacing: -0.76px;
}

.blog__top {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin: 16px auto;
  width: 448px;
  /* background: orange; */
}

.blog__desc {
  color: #696262;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 28px; /* 175% */
}

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

.blog__thumb {
  width: 370px;
  height: 250px;
}

.blog__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px 16px 0px 0px;
  /* background: url(<path-to-image>) lightgray 50% / cover no-repeat; */
}

.blog__item {
  width: 33.3%;
  border-radius: 16px;
  background: #fff;
}

.blog__item .btn:hover {
  background: #ffb900;
}

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

.blog__item .heading {
  margin-top: 25px;
}

.blog__item .act {
  margin-top: 12px;
}

.blog__item .blog.dot {
  width: 6px;
  height: 6px;
  background: #ffb900;
  border-radius: 50%;
}

.blog__item .blog-date {
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-date .desc {
  color: #5f5b53;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 26px; /* 185.714% */
}

.blog__info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog__dots {
  display: flex;
  gap: 6px;
  width: 30px;
  margin: 38px auto 0;
}

.blog__dot {
  width: 6px;
  height: 6px;
  background: #5f5b53;
  border-radius: 50%;
}

.blog__dot.active {
  background: var(--primary-color);
}

/*---------------------------------------
# Footer
/*---------------------------------------*/
footer {
  background: #2e2100;
  height: 428px;
  color: #fff;
}

.footer__body {
  display: flex;
  justify-content: space-between;
  padding-top: 96px;
  gap: 145px;
  width: 100%;
}

.footer__item-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 22.82%;
  gap: 18px;
}

.footer__desc {
  font-weight: 400;
  font-size: 14px;
  line-height: 26px;
  letter-spacing: 0%;
}

.footer__desc,
.contact .link {
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 26px;
  color: #bfbcb2;
}

footer .social {
  display: flex;
  gap: 18px;
}

footer .social .social-link {
  color: #fff;
}

.contact {
  display: flex;
  justify-content: space-between;
  width: 77.18%;
  gap: 30px;
}

.contact .heading {
  color: #fff;
}

.contact .links {
  margin-top: 28px;
}

.contact .link {
  display: block;
  margin-bottom: 12px;
}

.hr {
  display: block;
  background: #59554b;
  height: 1px;
}
.hr-130 {
  width: 130px;
  margin-top: 14px;
}

.hr-end {
  margin-top: 38px;
}
