/* ===================== TESTIMONI BANNER ===================== */

.testimoni-section {
	position: relative;
	padding: 150px 80px;
	background: url("/finsdemy-ci3/assets/testimoni/testimoni.png") center/cover
		no-repeat;
	overflow: hidden;
	height: 85%;
}

.testimoni-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		90deg,
		rgba(11, 27, 63, 0.45) 0%,
		rgba(2, 48, 97, 0.55) 60%,
		rgba(2, 48, 97, 0.5) 100%
	);
}

.testimoni-wrapper {
	position: relative;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 80px;
	align-items: center;
	z-index: 2;
}
.testimoni-left span {
	color: #bedced;
	letter-spacing: 2px;
	font-size: 13px;
	font-weight: 600;
}

.testimoni-left h1 {
	color: #ffffff;
	font-size: 42px;
	margin: 15px 0;
}

.testimoni-left p {
	color: #bedced;
	max-width: 480px;
	line-height: 1.8;
	font-size: 16px;
}
.testimoni-right {
	position: relative;
	height: 340px;
}
.testimoni-card {
	position: absolute;
	inset: 0;
	background: #ffffff;
	border-radius: 20px;
	padding: 32px;
	box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25);

	opacity: 0;
	transform: translateX(40px) scale(0.95);
	transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimoni-card.active {
	opacity: 1;
	transform: translateX(0) scale(1);
	z-index: 2;
}

.testimoni-card-header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 22px;
}

.testimoni-card-header img {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #bedced;
}

.testimoni-card-header h4 {
	color: #0b1b3f;
	font-size: 16px;
	margin: 0;
}

.testimoni-card-header span {
	font-size: 13px;
	color: #014a8f;
}

.testimoni-card-body p {
	color: #023061;
	font-size: 15px;
	line-height: 1.8;
	margin-bottom: 10px;
}

.testimoni-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.rating {
	color: #014a8f;
	font-size: 24px;
	letter-spacing: 3px;
}

/* ===================== MOBILE RESPONSIVE ===================== */

@media (max-width: 992px) {
	.testimoni-section {
		padding: 170px 40px;
		height: 70%;
	}

	.testimoni-wrapper {
		grid-template-columns: 1fr;
		gap: 60px;
	}

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

	.testimoni-left p {
		margin: 0 auto;
	}

	.testimoni-right {
		height: 250px;
	}
	.testimoni-card {
		background: #ffffff;
		border-radius: 20px;
		padding: 32px;
		box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25);
		opacity: 0;
		transform: translateX(40px) scale(0.95);
		transition: opacity 0.8s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
	}
}

@media (max-width: 420px) {
	.testimoni-section {
		padding: 150px 24px;
		height: 85%;
	}

	.testimoni-left h1 {
		font-size: 30px;
	}

	.testimoni-left p {
		font-size: 14px;
	}

	.testimoni-card {
		padding: 24px;
	}

	.testimoni-card-body p {
		font-size: 14px;
	}

	.testimoni-card-header img {
		width: 52px;
		height: 52px;
	}
	.testimoni-card-header h4 {
		font-size: 14px;
	}
	.testimoni-card-header span {
		font-size: 12px;
	}
	.testimoni-card-body p {
		font-size: 12px;
	}
	.rating {
		font-size: 18px;
	}
}
@media (max-width: 390px) {
	.testimoni-section {
		padding: 150px 24px;
		height: 100%;
	}
	.testimoni-card-header h4 {
		font-size: 12px;
	}
	.testimoni-card-header span {
		font-size: 10px;
	}
	.testimoni-card-body p {
		font-size: 10px;
	}
}

/* ===================== RATING SECTION ===================== */

.rating-section {
	padding: 80px;
	background: #f5f9fc;
	font-family: inherit;
}
.rating-filter {
	display: flex;
	gap: 20px;
	margin-bottom: 40px;
	flex-wrap: wrap;
	background: #ffffff;
	padding: 20px 24px;
	border-radius: 14px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}
.rating-filter select {
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid #bedced;
	font-size: 14px;
	outline: none;
	background: #ffffff;
	color: #023061;
	cursor: pointer;
}

.filter-search input {
	padding: 12px 14px;
	border-radius: 10px;
	font-size: 14px;
	outline: none;
	border: 1px solid transparent;
	background: #ffffff;
	color: #023061;
}

.rating-filter select:focus,
.filter-search input:focus {
	border-color: #014a8f;
}

.filter-search {
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid #bedced;
	padding: 0 14px;
	border-radius: 10px;
	background: #ffffff;
}

.filter-search ion-icon {
	color: #014a8f;
	font-size: 18px;
}

/* ===================== ITEMS ===================== */

.rating-items {
	display: grid;
	gap: 24px;
}

.rating-item {
	background: #ffffff;
	padding: 28px;
	border-radius: 18px;
	display: grid;
	grid-template-columns: 70px 1fr;
	gap: 20px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.06);
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

/* ===================== IMAGE ===================== */

.rating-img img {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #bedced;
}

/* ===================== BIO ===================== */

.rating-bio h4 {
	color: #0b1b3f;
	font-size: 16px;
	margin-bottom: 4px;
}

.rating-bio h5 {
	font-size: 13px;
	color: #014a8f;
	font-weight: 500;
}

/* ===================== DESCRIPTION ===================== */

.rating-desc {
	grid-column: 2 / -1;
}

.rating-desc p {
	color: #023061;
	font-size: 14px;
	line-height: 1.8;
	margin: 12px 0;
}

/* ===================== STAR ===================== */

.rating-star {
	grid-column: 2 / -1;
	color: #014a8f;
}

.rating-star ion-icon {
	font-size: 18px;
	margin-right: 4px;
}

/* ===================== DATE ===================== */

.rating-date {
	grid-column: 2 / -1;
}

.rating-date p {
	font-size: 12px;
	color: #6c7a8a;
}

/* ===================== BOTTOM ===================== */

.rating-bottom {
	margin-top: 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #ffffff;
	padding: 20px 24px;
	border-radius: 14px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.rating-stat h4 {
	color: #023061;
	font-size: 14px;
}

.rating-page {
	display: flex;
	align-items: center;
	gap: 14px;
}

.rating-page ion-icon {
	font-size: 26px;
	color: #014a8f;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.rating-page ion-icon:hover {
	transform: scale(1.15);
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 768px) {
	.rating-section {
		padding: 60px 24px;
	}

	.rating-filter {
		flex-direction: column;
	}

	.rating-item {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.rating-img {
		display: flex;
		justify-content: center;
	}

	.rating-desc,
	.rating-star,
	.rating-date {
		grid-column: 1;
	}

	.rating-bottom {
		flex-direction: column;
		gap: 14px;
		text-align: center;
	}
}
/* ===================== CUSTOM SELECT ===================== */

.custom-select {
	position: relative;
	min-width: 180px;
	user-select: none;
}

.select-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-radius: 10px;
	background: #ffffff;
	border: 1px solid #bedced;
	cursor: pointer;
	transition: all 0.3s ease;
}

.select-trigger span {
	font-size: 14px;
	color: #023061;
	font-weight: 500;
}

.select-trigger ion-icon {
	color: #014a8f;
	font-size: 18px;
	transition: transform 0.3s ease;
}

.custom-select.open .select-trigger {
	border-color: #014a8f;
	box-shadow: 0 10px 30px rgba(1, 74, 143, 0.15);
}

.custom-select.open .select-trigger ion-icon {
	transform: rotate(180deg);
}

/* ===================== OPTIONS ===================== */

.select-options {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	width: 100%;
	background: #ffffff;
	border-radius: 12px;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
	overflow: hidden;
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
	transition: all 0.3s ease;
	z-index: 99;
}

.custom-select.open .select-options {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.select-options .option {
	padding: 12px 16px;
	font-size: 14px;
	color: #023061;
	cursor: pointer;
	transition: background 0.3s ease;
}

.select-options .option:hover {
	background: #f0f6fb;
}

.select-options .option.active {
	background: #014a8f;
	color: #ffffff;
}
.filter-search {
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid #bedced;
	padding: 0 14px;
	border-radius: 10px;
	outline: none;
	background: #ffffff;
}

.filter-search input {
	border: none;
	outline: none;
	box-shadow: none;
}

.filter-search input:focus {
	outline: none;
	box-shadow: none;
}

.filter-search input:focus-visible {
	outline: none;
}
