* {
	box-sizing: border-box;
}

html {
	font-size: 62.5%;
}

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

:root {
	--font-heading: "Sen", sans-serif;
	--primary-color: #ffb900;
	--text-color: #171100;
}

a {
	text-decoration: none;
}

button {
	border: none;
	background: none;
	cursor: pointer;
}

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

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

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

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

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

.nav {
	margin-left: auto;
}

.nav ul {
	display: flex;
}

.nav a {
	position: relative;
	padding: 8px 21px;
	font-size: 1.6rem;
	color: #5f5b53;
}
.nav a:hover,
.nav li.active {
	color: #171100;
	/* font-weight: 600; */
	text-shadow: 1px 0 0 currentColor;
}

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

.header .sign-up-btn {
	min-width: 144px;
}

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

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

.hero .body {
	display: flex;
}

/* Left */
.hero .media-block {
	position: relative;
	width: 48%;
}

.hero .media-block .hero-img {
	width: 470px;
	height: 685px;
	object-fit: cover;
	object-position: -450px;
	border-radius: 20px;
}

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

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

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

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

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

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

.hero-summary .item .info .title {
	color: var(--text-color);
	font-size: 1.8rem;
	font-weight: 600;
	line-height: 1.67;
}

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

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

/* Right */
.hero .content-block {
	width: 52%;
	padding: 64px 0 0 130px;
}
.hero .content-block .heading {
	font-family: var(--font-heading);
	font-size: 5.8rem;
	font-weight: 700;
	line-height: 1.17;
	letter-spacing: -0.02em;
	color: #171100;
}

.hero .desc {
	margin-top: 22px;
	font-size: 1.8rem;
	line-height: 1.67;
	color: #5f5b53;
}

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

.hero-cta {
	min-width: 180px;
	line-height: 64px;
	background-color: var(--primary-color);
}

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

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

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

.hero .stats {
	margin: 8px 0 0 -28px;
}

.hero .stats strong {
	padding: 0 8px 0 28px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 4.4rem;
	line-height: 1.23;
	color: #171100;
}

/* Course */
.course {
	padding: 65px 0;
	margin-top: 135px;
}

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

.heading.lv2 {
	font-family: var(--font-heading);
	font-size: 3.8rem;
	font-weight: 700;
	line-height: 1.26;
	letter-spacing: -0.76px;
	color: var(--text-color);
}

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

.course-top .controls {
	display: flex;
	gap: 18px;
}

.course-top .control-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	color: var(--primary-color);
	border: 1px solid var(--primary-color);
	background: transparent;
}

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

/* Course */
.course-list {
	display: flex;
	margin-top: 55px;
	gap: 30px;
}

.course-item {
	flex: 1;
	background: #ffffff;
	border: 1px solid #e2dfda;
	border-radius: 12px;
	box-shadow: 0 18px 36px 0 rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease;
}

.course-item:hover {
	transform: scale(1.1);
}

.course-item .thumb {
	width: calc(100% + 2px);
	height: 278px;
	margin: -1px;
	object-fit: cover;
	border-radius: 12px 12px 0px 0px;
}

.course-info {
	padding: 16px 22px 22px;
}

.course-info .head {
	display: flex;
	justify-content: space-between;
}

.course-info .head .rating {
	display: flex;
	color: #fea31b;
	align-items: center;
}

.course-info .head .rating span {
	margin-left: 6px;
	font-size: 1.6rem;
	line-height: 1.75;
}

.course-info .title a {
	padding-right: 6px;
	font-weight: 600;
	font-size: 1.8rem;
	line-height: 1.67;
	color: var(--text-color);
}

.course-info .desc {
	margin-top: 6px;
	color: #5f5b53;
	font-size: 1.4rem;
	line-height: 1.85;
}

.course-info .foot {
	margin-top: 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.course-info .foot .price {
	color: var(--text-color);
	font-size: 1.8rem;
	font-weight: 600;
	line-height: 1.67;
}

.course-info .book-btn:hover {
	background: var(--primary-color);
	color: #fff;
}

/* Feedback */

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

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

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

.feedback-item .avatar {
	width: 72px;
	height: 72px;
	border-radius: 72px;
}

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

.feedback-item .desc {
	margin-top: 4px;
	color: #bfbcb2;
	font-size: 1.4rem;
	line-height: 1.85;
}

.feedback-item .dots {
	display: flex;
	gap: 12px;
	margin-top: 28px;
}

.feedback-item .dots .dot {
	width: 6px;
	height: 6px;
	border-radius: 6px;
	background: #634700;
	cursor: pointer;
}

.feedback-item .dots .dot.active {
	background: var(--primary-color);
	cursor: none;
}

.feedback-item .content {
	width: 66%;
	margin-left: auto;
}

.feedback-item .content blockquote {
	margin-left: 30px;
	font-style: italic;
	font-size: 2.6rem;
	line-height: 1.54;
	color: #ffffff;
}

/* Feature */

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

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

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

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

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

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

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

.features .content .cta-btn {
	margin-top: 32px;
	min-width: 137px;
	color: #fff;
	transition: background 0.3s ease;
}

.features .content .cta-btn:hover {
	background: var(--primary-color);
}

.features-2nd {
	margin-top: 70px;
}

.features-2nd .container {
	display: flex;
	flex-direction: row-reverse;
}

.features-2nd .images img {
	width: 470px;
	height: 440px;
}

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

.blog .blog-top {
	text-align: center;
}

.blog .blog-top .desc {
	margin: 16px auto auto;
	width: 448px;
	font-size: 1.6rem;
	line-height: 1.75;
	color: #696262;
}

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

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

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

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

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

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

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

.blog-list .blog-item .title a {
	display: inline-block;
	margin: 12px 0;
	font-weight: 600;
	font-size: 1.6rem;
	line-height: 1.75;
	color: #171100;
}

.blog-list .blog-item .btn:hover {
	background: var(--primary-color);
	transition: background 0.3s ease;
}

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

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

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

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

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

.footer .row .col {
	flex: 1.2;
}

.footer .row .col:first-child {
	flex: 1.85;
}

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

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

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

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

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

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

.footer .list strong {
	color: #fff;
	font-weight: 600;
}

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