/* 
	CSS FOR INDEX PAGE
	1. BANNER SECTION
	2. BIDANG SECTION
	3. WHY CHOOSE US SECTION
	4. REKOMENDASI SECTIN

*/

/* ==================== BANNER SECTION ================================ */
.bg-pic {
	position: absolute;
	right: 0;
	top: 50%;
	z-index: 5;
}

.banner-section {
	background-color: #bedced;
	padding: 120px 60px;
	overflow: hidden;
	position: relative;
	height: 700px;
}

.banner-wrapper {
	max-width: 1300px;
	height: 100%;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.banner-left {
	width: 100%;
	padding-left: 30px;
	padding-bottom: 40px;
	margin-top: 0px;
}

.banner-text h1 {
	font-size: 48px;
	font-weight: 800;
	color: #023061;
	margin-bottom: 16px;
	margin-top: 80px;
}

.banner-text h1 span {
	color: #0b1b3f;
}

.banner-text p {
	font-size: 20px;
	line-height: 1.6;
	color: #0b1b3f;
	margin-bottom: 18px;
	max-width: 520px;
}

.banner-text h4 {
	font-size: 16px;
	font-weight: 600;
	color: #0b1b3f;
	margin-bottom: 28px;
}

.banner-btn {
	display: flex;
	gap: 16px;
}

.banner-subtext {
	margin-top: 50px;
	width: 60%;
}

.btn-kelas {
	background-color: #023061;
	color: #fff;
	padding: 12px 22px;
	border-radius: 24px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: background 0.2s ease;
}

.btn-kelas:hover {
	background-color: #023061;
}

.btn-portofolio {
	border: 2px solid #023061;
	color: #023061;
	padding: 12px 22px;
	border-radius: 24px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.2s ease;
}

.btn-portofolio:hover {
	background-color: #023061;
	color: #fff;
}

.banner-right {
	width: 45%;
	position: relative;
}

.banner-pic {
	position: relative;
	width: 100%;
	height: 100%;
	margin-left: -100px;
	margin-top: -20px;
}

.person-pic {
	position: relative;
	z-index: 10;
	max-width: 380px;
	display: block;
	margin-left: 0px;
}

.bg-pic {
	position: absolute;
	right: -40px;
	top: 0;
	z-index: 1;
	max-width: 520px;
}
@media (max-width: 884px) {
	.banner-section {
		padding: 20px 30px;
		height: 900px;
	}
	.banner-pic {
		display: none;
	}

	.banner-wrapper {
		flex-direction: column;
		justify-content: center;
		text-align: center;
	}

	.banner-left {
		padding-left: 0;
		padding-bottom: 30px;
		margin-top: 0;
	}

	.banner-text h1 {
		font-size: 50px;
		margin-top: 0;
	}

	.banner-text p {
		font-size: 24px;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
	}

	.banner-text h4 {
		font-size: 20px;
	}

	.banner-btn {
		justify-content: center;
		flex-wrap: wrap;
	}

	.banner-subtext {
		width: 100%;
		margin-top: 30px;
	}

	.banner-right {
		width: 100%;
		margin-top: 40px;
		display: flex;
		justify-content: center;
	}

	.banner-pic {
		margin-left: 0;
		margin-top: 0;
		text-align: center;
	}

	.person-pic {
		max-width: 300px;
		margin: auto;
	}

	.bg-pic {
		max-width: 420px;
		right: 50%;
		transform: translateX(50%);
		top: 20px;
		opacity: 0.6;
	}
}
@media screen and (max-width: 414px) {
	.banner-section {
		padding: 20px 16px;
		height: auto;
	}

	.banner-wrapper {
		flex-direction: column;
		justify-content: center;
		text-align: center;
	}

	.banner-left {
		padding: 0;
		margin-top: 0;
	}

	.banner-text h1 {
		font-size: 32px;
		line-height: 1.25;
		margin-top: 20px;
	}

	.banner-text p {
		font-size: 16px;
		line-height: 1.6;
		max-width: 100%;
	}

	.banner-text h4 {
		font-size: 14px;
		margin-bottom: 20px;
	}

	.banner-btn {
		flex-direction: column;
		gap: 12px;
		align-items: center;
	}

	.btn-kelas,
	.btn-portofolio {
		width: 100%;
		max-width: 260px;
		text-align: center;
		font-size: 14px;
		padding: 12px 0;
	}

	.banner-subtext {
		width: 100%;
		margin-top: 24px;
	}

	/* Gambar dimatikan total biar fokus konten */
	.banner-right,
	.banner-pic,
	.person-pic {
		display: none;
	}

	/* Background decorative disederhanakan */
	.bg-pic {
		max-width: 280px;
		top: 10px;
		right: 50%;
		transform: translateX(50%);
		opacity: 0.35;
	}
}

/* ==================== BANNER SECTION ================================ */

/* ==================== BIDANG SECTION ================================ */

.bidang-section {
	padding: 80px 20px;
	background: #ffffff;
}

.bidang-wrapper {
	max-width: 1200px;
	margin: auto;
}

.bidang-title {
	text-align: center;
	margin-bottom: 50px;
}

.bidang-title h1 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 10px;
	color: #023061;
}

.bidang-title p {
	color: #0b1b3f;
	font-size: 16px;
}

.bidang-wrapper {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.bidang-card {
	background: #bedced;
	border-radius: 12px;
	padding: 30px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	cursor: pointer;
	text-align: center;
}

.bidang-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

.bidang-card ion-icon {
	font-size: 38px;
	color: #023061;
	margin-bottom: 15px;
}

.bidang-card h3 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 10px;
	color: #023061 !important;
}

.bidang-card p {
	font-size: 14px;
	line-height: 1.6;
	color: #0b1b3f;
}

@media (max-width: 992px) {
	.bidang-wrapper {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 576px) {
	.bidang-wrapper {
		grid-template-columns: 1fr;
	}
}

/* ==================== BIDANG SECTION ================================ */
/* ====================  WHY SECTION ================================ */

.why-section {
	padding: 90px 20px;
	max-width: 1200px;
	margin: auto;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 60px;
	align-items: center;
}

/* LEFT */
.why-title h1 {
	font-size: 36px;
	font-weight: 800;
	color: #023061;
	margin-bottom: 24px;
	line-height: 1.2;
}

.why-title h1 span {
	color: #0b1b3f;
	/* aksen brand */
}

.why-subtitle {
	font-size: 15.5px;
	line-height: 1.9;
	color: #444;
	max-width: 560px;
}

/* RIGHT */
.why-right {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

/* CARD */
.why-card {
	background: #cfe8f7;
	border-radius: 14px;
	padding: 22px 26px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
	border-left: 5px solid #023061;

	transition: all 0.25s ease;
}

.why-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
}

/* CARD TITLE */
.why-card h2 {
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 6px;
	color: #023061;
}

.why-card p {
	font-size: 14px;
	line-height: 1.6;
	color: #333;
	margin: 0;
}

@media (max-width: 992px) {
	.why-section {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.why-left {
		text-align: center;
	}

	.why-subtitle {
		margin: auto;
	}
}

/* ====================  WHY SECTION ================================ */

/* ====================  REKOMENDASI SECTION ================================ */

.rekomendasi-section {
	padding: 80px;
	background: #bedced;
}
.rekomendasi-top {
	display: flex;
	flex-direction: column;
}
.rekomendasi-title {
	text-align: left;
	margin-bottom: 20px;
	width: 60%;
}
.rekomendasi-title h1 {
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 10px;
	color: #023061;
}
.rekomendasi-title p {
	color: #0b1b3f;
	font-size: 16px;
	width: 100%;
	line-height: 1.5;
}

.rekomendasi-menu {
	display: flex;
	justify-content: flex-start;
	margin-bottom: 30px;
}
.rekomendasi-menu-wrapper {
	display: flex;
}
.rekomendasi-menu-item,
.rekomendasi-menu-itemss {
	background-color: #fff;
	padding: 12px 20px;
	display: flex;
	border: 1px solid #ddd;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
#rekomen-left {
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
}
#rekomen-right {
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
}
.rekomendasi-menu-item img,
.rekomendasi-menu-itemss img {
	width: 20px;
	height: 20px;
	transition: transform 0.3s ease;
}
.rekomendasi-menu-item img:hover,
.rekomendasi-menu-itemss img:hover {
	transform: scale(1.2);
}
.rekomendasi-menu-item h2,
.rekomendasi-menu-itemss h2 {
	margin-left: 8px;
	font-size: 14px;
	color: #023061;
	font-weight: 600;
	text-decoration: none;
	cursor: pointer;
}
.rekomendasi-menu-item:hover,
.rekomendasi-menu-itemss:hover {
	background-color: #bedced;
	transition: background-color 0.3s ease;
}
.rekomendasi-menu-item,
.rekomendasi-menu-itemss {
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.rekomendasi-menu-item.active,
.rekomendasi-menu-itemss.active {
	background-color: #bedced;
}

.rekomendasi-menu-item.active h2 a,
.rekomendasi-menu-itemss.active h2 a {
	color: #023061;
	font-weight: 700;
}

.rekomendasi-bot {
	width: 100%;
}
#rekomendasi-bot {
	display: flex;
	gap: 20px;
}
.rekomendasi-course-item {
	background-color: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
	position: relative;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rekomendasi-course-item:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.rekomendasi-course-img img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}

.rekomendasi-course-desc {
	padding: 16px 18px;
	flex: 1;
}
.rekomendasi-course-desc h3 {
	font-size: 18px;
	font-weight: 700;
	color: #023061;
	margin-bottom: 6px;
	line-height: 1.4;
}
.rekomendasi-course-desc h4 {
	font-size: 13px;
	font-weight: 500;
	color: #6b7a90;
	margin-bottom: 14px;
}

.rekomendasi-course-title h3 {
	font-size: 18px;
	font-weight: 700;
	color: #023061;
	margin-bottom: 6px;
	line-height: 1.4;
}

.rekomendasi-course-author h4 {
	font-size: 13px;
	font-weight: 500;
	color: #6b7a90;
	margin-bottom: 14px;
}

.rekomendasi-course-info {
	display: flex;
	gap: 16px;
	justify-content: space-between;
}
.rekomendasi-course-info p {
	display: flex;
	align-items: center;
	font-size: 14px;
	color: #023061;
}
.rekomendasi-course-info p ion-icon {
	margin-right: 5px;
}

.rekomendasi-course-info div {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #0b1b3f;
}

.rekomendasi-course-info ion-icon {
	font-size: 18px;
	color: #023061;
}

.rekomendasi-course-status {
	padding: 6px 12px;
	position: absolute;
	top: 12px;
	left: 12px;
	background-color: #1c8c4c;
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
	border-radius: 8px;
}

.rekomendasi-course-status h3 {
	font-size: 12px;
	font-weight: 700;
	color: #ffffff;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* BUTTON */
.rekomendasi-course-btn {
	padding: 14px 18px 18px;
}

.btn-join-course {
	display: block;
	width: 100%;
	text-align: center;
	padding: 10px 0;
	background-color: #023061;
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-join-course:hover {
	background-color: #014a8f;
	transform: translateY(-2px);
}
.course-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	width: 100%;
}

@media (max-width: 1024px) {
	.rekomendasi-bot {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.rekomendasi-section {
		padding: 40px 20px;
	}

	.rekomendasi-title {
		width: 100%;
	}

	.rekomendasi-bot {
		grid-template-columns: 1fr;
	}
}

/* ====================  REKOMENDASI SECTION ================================ */

@media (max-width: 834px) {
	.course-grid {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
		width: 100%;
	}
	#rekomendasi-bot {
		display: grid;
		flex-direction: 1fr 1fr;
	}
}
@media (max-width: 414px) {
	.course-grid {
		display: grid;
		grid-template-columns: 1fr;
		gap: 24px;
		width: 100%;
	}
	#rekomendasi-bot {
		display: grid;
		flex-direction: 1fr;
	}
}

.continue-study {
	padding: 60px 5%;
	background-color: #fff;
}

.continue-study-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 40px;
	gap: 20px;
}

.continue-study-title h1 {
	color: #023061;
	font-size: 2.2rem;
	font-weight: 800;
	margin-bottom: 10px;
	letter-spacing: -0.5px;
}

.continue-study-title p {
	color: #64748b;
	font-size: 1.05rem;
	max-width: 500px;
}

.continue-selengkapnya a {
	color: #014a8f;
	text-decoration: none;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: all 0.3s ease;
	padding: 10px 20px;
	border-radius: 8px;
	background: rgba(1, 74, 143, 0.05);
}

.continue-selengkapnya a:hover {
	background: #014a8f;
	color: #fff;
	transform: translateX(5px);
}

/* Grid Layout */
.continue-courses-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
	gap: 30px;
}

/* Card Styling */
.continue-course-card {
	display: flex;
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid rgba(11, 27, 63, 0.08);
	box-shadow: 0 4px 20px rgba(11, 27, 63, 0.04);
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	cursor: pointer;
	border-color: #014a8f;
}

.continue-course-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(11, 27, 63, 0.12);
	border-color: #014a8f;
}

/* Image Wrapper */
.course-image-wrapper {
	position: relative;
	width: 160px;
	min-width: 160px;
	overflow: hidden;
}

.course-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.course-overlay {
	position: absolute;
	inset: 0;
	background: rgba(11, 27, 63, 0.6);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.continue-course-card:hover .course-overlay {
	opacity: 1;
}

.continue-course-card:hover .course-image-wrapper img {
	transform: scale(1.1);
}

.play-badge {
	color: #fff;
	font-weight: 600;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	gap: 5px;
	background: #014a8f;
	padding: 8px 15px;
	border-radius: 50px;
}

/* Info Section */
.continue-course-info {
	padding: 25px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.brand-tag {
	color: #014a8f;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 8px;
}

.course-name {
	color: #023061;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 20px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 3.2rem;
}

/* Progress Styling */
.progress-container {
	margin-top: auto;
}

.progress-stats {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
	font-size: 0.85rem;
	color: #64748b;
	font-weight: 600;
}

.progress-stats ion-icon {
	font-size: 1.1rem;
	vertical-align: middle;
	color: #014a8f;
}

.percent-text {
	color: #023061;
}

.progress-bar-bg {
	width: 100%;
	height: 6px;
	background: #f1f5f9;
	border-radius: 10px;
	overflow: hidden;
}

.progress-bar-fill {
	height: 100%;
	background: linear-gradient(90deg, #014a8f, #023061);
	border-radius: 10px;
	transition: width 1s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
	.continue-study-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.continue-courses-grid {
		grid-template-columns: 1fr;
	}

	.continue-course-card {
		flex-direction: column;
	}

	.course-image-wrapper {
		width: 100%;
		height: 180px;
	}
}
