* {
    box-sizing: border-box;
    text-decoration: none;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

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

:root {
    --font-heading: "Sen", sans-serif;
    --common-font: "Poppins", sans-serif;
    --primary-color: #ffb900;
    --common-bgc: #fffcf4;
}

/* Common */
.main-content {
    width: 1170px;
    max-width: 100%;
    margin: 0 auto;
}

.btn {
    display: inline-block;
    padding: 0 16px;
    min-width: 118px;
    border-radius: 24.5px;
    background: #171100;
}

.btn:hover {
    background-color: rgb(24, 23, 23);
    opacity: 0.9;
}

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

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

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

/* ============== Header ============== */
.header {
    background: var(--common-bgc);
}

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

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

.header .menu-item {
    display: flex;
}

.nav {
    margin-left: auto;
}

.nav .menu-item {
    margin-right: 49px;
}

.nav .menu-item a {
    position: relative;
    color: #5f5b53;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.75;
}

.nav li.active a,
.nav .menu-item a:hover {
    text-shadow: 1px 0 0 currentColor;
    color: #171100;
}

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

.nav .menu-item a {
    padding: 8px 21px;
}

.header .sign-up-btn {
    color: #fff;
    padding: 11px 41px;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.75;
}

/* ============== Hero ============== */
.hero {
    height: 90vh;
    padding: 56px 0 65px;
    background: #fffcf4;
}

.hero .body {
    display: flex;
}

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

/* Media block */
.hero .media-block {
    width: 49%;
    position: relative;
}

.hero .media-block .img {
    width: 470px;
    height: 685px;
    object-fit: cover;
    border-radius: 20px;
    vertical-align: bottom; /* Loaị bỏ đường cơ sở (mặc định các item sẽ đc căn nằm trên đó hoặc dùng tính chất của thẻ block (img mặc định là inline) thì sẽ chuẩn 65px như ảnh trong bài */
}

.hero-summary .items {
    display: flex;
    align-items: center;
}

/* Hero items */

.hero-summary .items .icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.hero-summary .items:nth-of-type(1) .icon {
    background-color: #fff9e8;
}

.hero-summary .items:nth-of-type(2) .icon {
    background-color: #fcefff;
}

.hero-summary .items:nth-of-type(3) .icon {
    background-color: #ebeaff;
}

.hero-summary .items:not(:last-child) {
    margin-bottom: 22px;
}

.hero-summary .info {
    margin-left: 16px;
}

.hero-summary .info .label {
    color: #5f5b53;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.86;
}

.hero-summary .info .title {
    color: #171100;
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.66;
}

/* End of Hero items */

/* Content-block */
.hero .content-block {
    width: 51%;
}

.hero .content-block {
    padding: 64px 0 64px 130px;
}

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

.heading.lv1 {
    width: 470px;
    font-size: 5.8rem;
    line-height: 1.17;
}

.heading.lv2 {
    font-size: 3.8rem;
    line-height: 1.26;
}

.heading.lv3 {
    font-family: var(--common-font);
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.67;
}

.hero .content-block .desc {
    color: #5f5b53;
    margin-top: 22px;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.66; /* 166.667% */
}

.content-block .cta-group {
    display: flex;
    align-items: center;
    margin: 38px 0 48px;
}

.content-block .hero-btn {
    min-width: 180px;
    color: #fff;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 64px;
    padding: 0 34px;
    border-radius: 32px;
    background: var(--primary-color);
}

.content-block .watch-vid {
    display: flex;
    align-items: center;
    border: none;
    background-color: transparent;
    margin-left: 28px;
    cursor: pointer;
}

.content-block .watch-vid .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);
}

.content-block .watch-vid span {
    margin-left: 14px;
    color: #171100;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.67;
}

.content-block strong.number {
    color: #171100;
    padding-right: 8px;
    font-family: var(--font-heading);
    font-size: 4.4rem;
    font-weight: 700;
    line-height: 1.23;
}

.content-block .content-stats {
    display: flex;
    margin-top: 8px;
}

.content-stats .stats-desc {
    color: #5f5b53;
    font-family: var(--common-font);
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 400;
    line-height: 30px;
}

.content-stats .stats-desc + .stats-desc {
    margin-left: 28px;
}

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

/* Popular top */
.popular-top .main-title {
    color: #171100;
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.27;
}

.popular-top .info .desc {
    width: 458px;
    color: #5f5b53;
    font-size: 1.8rem;
    font-weight: 400;
    margin-top: 16px;
    line-height: 1.67;
}

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

.popular-top .ctrl-btn {
    background: transparent;
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
}

.popular-top .ctrl-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.popular-top .ctrl-btn + .ctrl-btn {
    margin-left: 14px;
}

/* Popular bottom */
.popular-bottom {
    margin-top: 55px;
}

.popular-bottom .body {
    display: flex;
    flex: 1;
    gap: 30px;
}

.popular-bottom .list-item {
    border-radius: 12px;
    border: 1px solid #e2dfda;
    background: #fff;
}

.popular-bottom .list-item:hover {
    background: #fff;
    border-color: transparent;
    box-shadow: 0 18px 36px 0 rgba(0, 0, 0, 0.05);
}

.popular-bottom .item .img-thumb {
    width: calc(100% + 2px);
    height: 278px;
    margin: -1px;
    object-fit: cover;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.popular-bottom .list-item .row-bottom {
    padding: 16px 22px 22px;
}

.popular-bottom .row-bottom .title h3 {
    padding-right: 6px;
}

.popular-bottom .row-bottom .title,
.popular-bottom .row-bottom .rating {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.popular-bottom .list-item .item-desc {
    color: #5f5b53;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.85;
    margin-top: 6px;
}

.popular-bottom .rating .value {
    color: #fea31b;
    margin-left: 6px;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.75;
}

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

.popular-bottom .foot .price {
    color: #171100;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.67;
}

.popular-bottom .foot .popular-btn {
    background: #000;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.86;
    padding: 12px 24px;
    border-radius: 25px;
}

.foot .popular-btn:hover {
    background: var(--primary-color);
}

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

.feedback .feedback-list {
    display: flex;
    overflow: hidden;
}

.feedback .feedback-items {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
}

.feedback-items {
    width: 100%;
    transform: translateX(-100%);
    transition: all ease 0.3s;
}

.feedback-items .content {
    width: 66%;
}

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

.feedback-items .info .name {
    color: #f7f7f7;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.42;
    margin-top: 18px;
}

.feedback-items .info .desc {
    color: #bfbcb2;
    font-family: var(--common-font);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.86;
    margin-top: 4px;
}

.feedback-items .dots {
    display: flex;
    margin-top: 28px;
}

.feedback-items .dots .dot {
    margin-right: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #634700;
    cursor: pointer;
}

.feedback-items .dot.active {
    background: var(--primary-color);
    cursor: default;
}

.feedback-items .content blockquote {
    margin-left: 30px;
    color: #fff;
    font-family: var(--common-font);
    font-size: 2.6rem;
    font-style: italic;
    font-weight: 400;
    line-height: 1.54;
}

/* ============== Features ============== */
.features {
    padding: 50px 0;
    margin-top: 150px;
}

/* feature top */
.features .feature-top {
    display: flex;
    align-items: center;
}

.feature-top .left-page {
    width: 49%;
    display: flex;
    gap: 0 30px;
}

.feature-top .left-page .img {
    width: 270px;
    height: 404px;
    object-fit: cover;
    border-radius: 16px;
}

.feature-top .left-page .img:first-of-type {
    margin-top: 33px;
}

.feature-top .right-page {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 130px;
}

.feature-top .right-page .desc {
    width: 458px;
    margin-top: 16px;
    color: #5f5b53;
    font-family: var(--common-font);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.75;
}

.feature-top .right-page .report-title {
    color: #5f5b53;
    margin-top: 16px;
    font-family: var(--common-font);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.75;
}

.feature-top .right-page .top-btn {
    margin-top: 32px;
    min-width: 137px;
    padding: 11px 37px;
    background: var(--primary-color);
    color: #fff;
    font-family: var(--common-font);
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.75;
    border-radius: 26px;
}

/* feature bottom */
.feature-bottom {
    display: flex;
    align-items: center;
    padding: 50px 0;
    margin-top: 150px;
}

.feature-bottom .left-page {
    width: 49%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-bottom .left-page .desc {
    margin-top: 16px;
    color: #5f5b53;
    font-family: var(--common-font);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.75;
}

.feature-bottom .left-page .bottom-btn {
    color: #fff;
    background: var(--primary-color);
    text-align: center;
    font-family: var(--common-font);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.75;
    padding: 12px 32px;
    margin-top: 44px;
}

.feature-bottom .right-page {
    margin-left: 130px;
}

.feature-bottom .right-page .img {
    width: 470px;
    height: 440px;
    border-radius: 20px;
    object-fit: cover;
}

/* ============== Blog ============== */
.blog {
    padding: 96px 0;
    margin-top: 104px;
    background: var(--common-bgc);
}

/* Top blog */
.blog .top-blog {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blog .top-blog .desc {
    width: 440px;
    margin-top: 16px;
    color: #696262;
    text-align: center;
    font-family: var(--common-font);
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.75;
}

/* Bottom blog */
.blog .bottom-blog {
    margin-top: 55px;
}

.bottom-blog .blog-list {
    display: flex;
    gap: 0 30px;
    overflow: hidden;
}

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

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

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

.bottom-blog .blog-item .item-info {
    padding: 20px 20px 28px;
}

.blog-item .top-row {
    /* date row*/
    display: flex;
    align-items: center;
}

.blog-item .item-info .dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ffb900;
}

.blog-item .item-info .date {
    margin-left: 4px;
    color: #5f5b53;
    font-family: var(--common-font);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.86;
}

.blog-item .item-info .seperate-line {
    width: 160px;
    height: 1px;
    margin-top: 12px;
    border-radius: 0.5px;
    background: #e2dfda;
}

.blog-item .item-info .desc {
    margin-top: 12px;
    color: #171100;
    font-family: var(--common-font);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.75;
}

.blog-item .item-info .item-btn {
    padding: 12px 21px;
    margin-top: 12px;
    color: #fff;
    text-align: center;
    font-family: var(--common-font);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.85;
}

.item-info .item-btn:hover {
    background-color: var(--primary-color);
}

.bottom-blog .nav-dot {
    margin-top: 38px;
    display: flex;
    justify-content: center;
}

.nav-dot .dot {
    width: 6px;
    height: 6px;
    background: #5f5b53;
    border-radius: 6px;
    cursor: pointer;
}

.nav-dot .dot:nth-child(even) {
    background: var(--primary-color);
}

.nav-dot .dot + .dot {
    margin-left: 6px;
}

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

.footer .row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

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

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

.footer .row .desc {
    margin-top: 18px;
    max-width: 267px;
    color: #bfbcb2;
    font-family: var(--common-font);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.86;
}

.footer .row .social-list {
    margin-top: 18px;
}

.footer .social-list .social-icon + .social-icon {
    margin-left: 18px;
}

.footer .social-list .social-icon:hover {
    opacity: 0.8;
}

.footer .column .heading.lv3 {
    position: relative;
    margin-bottom: 43px;
    color: #fff;
    font-family: var(--common-font);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.75;
}

.footer .column .heading.lv3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -14px;
    width: 130px;
    height: 1px;
    background: #59554b;
}

.footer .column ul li {
    margin-top: 12px;
}

.footer .column a {
    color: #bfbcb2;
    font-family: var(--common-font);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.86;
}

.footer .column a:hover {
    color: #d1d0d0;
    text-decoration: underline;
}

.footer .column:nth-child(4) {
    max-width: 234px;
    align-self: flex-start;
}

.footer .column:nth-child(4) .info + .info {
    margin-top: 12px;
}

.footer .column:nth-child(4) .info {
    color: #bfbcb2;
    font-family: var(--common-font);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 26px;
}

.footer .column:nth-child(4) strong {
    color: #fff;
}

.footer .copyright {
    position: relative;
    margin-top: 67px;
    color: #807d74;
    text-align: center;
    font-family: var(--common-font);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.86;
}

.footer .copyright::after {
    content: "";
    width: 1170px;
    height: 1px;
    background: #59554b;
    position: absolute;
    left: 0;
    top: -28px;
}
