/* KS LP CTA 5 - Modern Hero with Highlighted Title, Styled Subtitles, Height Control & Floating Features */

.kslp-cta5-section {
	position: relative;
	width: 100%;
	box-sizing: border-box;
	overflow: hidden;
	background-size: cover;
	background-repeat: no-repeat;
	display: flex;
	flex-direction: column;
}

.kslp-cta5-bg-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	pointer-events: none;
	z-index: 1;
}

.kslp-cta5-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 2;
}

.kslp-cta5-container,
.kslp-cta5-inner {
	position: relative;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	z-index: 3;
	display: flex;
	box-sizing: border-box;
	flex: 1 0 auto;
}

.kslp-cta5-inner.layout-split-left {
	justify-content: space-between;
	align-items: center;
}

.kslp-cta5-inner.layout-center {
	justify-content: center;
	align-items: center;
}

.kslp-cta5-content-col {
	display: flex;
	flex-direction: column;
	width: 100%;
	box-sizing: border-box;
	justify-content: flex-start;
	height: auto;
}

.kslp-cta5-inner.layout-split-left .kslp-cta5-content-col {
	align-items: flex-start;
	text-align: left;
	margin-left: 0;
	margin-right: auto;
	justify-content: flex-start;
}

.kslp-cta5-inner.layout-center .kslp-cta5-content-col {
	align-items: center;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	justify-content: flex-start;
}

.kslp-cta5-media-col {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-sizing: border-box;
}

.kslp-cta5-media-img {
	max-width: 100%;
	height: auto;
	display: block;
	filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.25));
}

.kslp-cta5-container.valign-center,
.kslp-cta5-inner.valign-center {
	align-items: center;
}
.kslp-cta5-container.valign-flex-start,
.kslp-cta5-inner.valign-flex-start {
	align-items: flex-start;
}
.kslp-cta5-container.valign-flex-end,
.kslp-cta5-inner.valign-flex-end {
	align-items: flex-end;
}
.kslp-cta5-container.valign-space-between,
.kslp-cta5-inner.valign-space-between {
	align-items: center;
	justify-content: space-between;
}

/* 1. Logo Cover Top */
.kslp-cta5-logo-wrap {
	width: 100%;
	display: flex;
	box-sizing: border-box;
}
.kslp-cta5-logo-wrap.align-left {
	justify-content: flex-start;
}
.kslp-cta5-logo-wrap.align-center {
	justify-content: center;
}
.kslp-cta5-logo-wrap.align-right {
	justify-content: flex-end;
}
.kslp-cta5-logo-img {
	height: auto;
	object-fit: contain;
	display: block;
}

/* 2. Header Texts (Judul Utama & Sub Judul 1 & 2) */
.kslp-cta5-header {
	width: 100%;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.kslp-cta5-title {
	margin: 0;
	padding: 0;
	word-break: break-word;
	letter-spacing: -0.01em;
	line-height: 1.2;
}
.kslp-cta5-title.align-left {
	text-align: left;
}
.kslp-cta5-title.align-center {
	text-align: center;
}
.kslp-cta5-title.align-right {
	text-align: right;
}

.kslp-cta5-title-highlight {
	display: inline;
	box-decoration-break: clone;
	-webkit-box-decoration-break: clone;
	transition: all 0.2s ease;
}

/* Sub Judul 1 */
.kslp-cta5-sub1-wrap {
	width: 100%;
	display: flex;
	box-sizing: border-box;
}
.kslp-cta5-sub1-wrap.align-left {
	justify-content: flex-start;
	text-align: left;
}
.kslp-cta5-sub1-wrap.align-center {
	justify-content: center;
	text-align: center;
}
.kslp-cta5-sub1-wrap.align-right {
	justify-content: flex-end;
	text-align: right;
}
.kslp-cta5-sub1 {
	display: inline-block;
	max-width: 100%;
	box-sizing: border-box;
	word-break: break-word;
}

/* Sub Judul 2 (Pill Badge) */
.kslp-cta5-sub2-wrap {
	width: 100%;
	display: flex;
	box-sizing: border-box;
}
.kslp-cta5-sub2-wrap.align-left {
	justify-content: flex-start;
	text-align: left;
}
.kslp-cta5-sub2-wrap.align-center {
	justify-content: center;
	text-align: center;
}
.kslp-cta5-sub2-wrap.align-right {
	justify-content: flex-end;
	text-align: right;
}
.kslp-cta5-sub2 {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
	box-sizing: border-box;
	word-break: break-word;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

/* 3. Bottom CTA Button */
.kslp-cta5-cta-wrap {
	width: 100%;
	display: flex;
	justify-content: center;
	z-index: 5;
	box-sizing: border-box;
}
.kslp-cta5-cta-wrap.align-left {
	justify-content: flex-start;
}
.kslp-cta5-cta-wrap.align-center {
	justify-content: center;
}
.kslp-cta5-cta-wrap.align-right {
	justify-content: flex-end;
}

.kslp-cta5-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none !important;
	box-shadow: 0 8px 24px rgba(6, 64, 40, 0.35);
	transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
	box-sizing: border-box;
	text-align: center;
	max-width: 100%;
	position: relative;
	overflow: hidden;
}

.kslp-cta5-btn:hover {
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 12px 32px rgba(6, 64, 40, 0.45);
}

.kslp-cta5-btn-icon-wrap {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1.5px solid rgba(255, 255, 255, 0.65);
	box-sizing: border-box;
}

.kslp-cta5-btn-divider {
	display: inline-block;
	width: 1.5px;
	height: 1.3em;
	background-color: rgba(255, 255, 255, 0.4);
	margin: 0 14px 0 12px;
	flex-shrink: 0;
}

.kslp-cta5-btn-content {
	display: inline-flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	text-align: left;
}

.kslp-cta5-btn-text {
	display: block;
	letter-spacing: 0.2px;
	word-break: break-word;
}

.kslp-cta5-btn-subtext {
	display: block;
	font-size: 0.75em;
	opacity: 0.9;
	font-weight: 500;
	margin-top: 2px;
}

.kslp-cta5-btn-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-left: 14px;
	font-size: 1.1em;
	font-weight: bold;
	line-height: 1;
	transition: transform 0.2s ease;
}

.kslp-cta5-btn:hover .kslp-cta5-btn-arrow {
	transform: translateX(3px);
}

/* Mode Image Button */
.kslp-cta5-btn--image {
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
	box-shadow: none !important;
	overflow: visible !important;
}

.kslp-cta5-btn--image:hover {
	transform: translateY(-2px) scale(1.03);
	box-shadow: none !important;
}

.kslp-cta5-btn-img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: contain;
	filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.2));
	transition: transform 0.3s ease, filter 0.3s ease;
}

.kslp-cta5-btn-img:hover {
	filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.28));
}

/* CTA Hover & Micro Animations */
.kslp-cta5-btn.anim-pulse {
	animation: kslp-cta5-pulse 2s infinite ease-in-out;
}
.kslp-cta5-btn.anim-glow-gold {
	box-shadow: 0 0 22px rgba(223, 168, 61, 0.65), 0 8px 24px rgba(0, 0, 0, 0.25);
}
.kslp-cta5-btn.anim-glow-gold:hover {
	box-shadow: 0 0 32px rgba(223, 168, 61, 0.95), 0 12px 32px rgba(0, 0, 0, 0.35);
}
.kslp-cta5-btn.anim-scale-lift:hover {
	transform: translateY(-4px) scale(1.03);
}

/* Continuous Loop Animations for Features & Visuals */
@keyframes kslp-cta5-float {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-8px);
	}
}

@keyframes kslp-cta5-pulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.04);
	}
}

@keyframes kslp-cta5-swing {
	0%, 100% {
		transform: rotate(0deg);
	}
	25% {
		transform: rotate(-2.5deg);
	}
	75% {
		transform: rotate(2.5deg);
	}
}

@keyframes kslp-cta5-bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-8px);
	}
	60% {
		transform: translateY(-4px);
	}
}

@keyframes kslp-cta5-shine {
	0% {
		filter: brightness(1) drop-shadow(0 0 0 rgba(223, 168, 61, 0));
	}
	50% {
		filter: brightness(1.15) drop-shadow(0 4px 16px rgba(223, 168, 61, 0.5));
	}
	100% {
		filter: brightness(1) drop-shadow(0 0 0 rgba(223, 168, 61, 0));
	}
}

.kslp-cta5-loop-floating {
	animation: kslp-cta5-float 3.5s ease-in-out infinite !important;
}
.kslp-cta5-loop-pulse {
	animation: kslp-cta5-pulse 2.8s ease-in-out infinite !important;
}
.kslp-cta5-loop-swing {
	transform-origin: center top;
	animation: kslp-cta5-swing 4s ease-in-out infinite !important;
}
.kslp-cta5-loop-bounce {
	animation: kslp-cta5-bounce 2.5s ease infinite !important;
}
.kslp-cta5-loop-shine {
	animation: kslp-cta5-shine 3s ease-in-out infinite !important;
}

/* Background Animations */
@keyframes kslp-cta5-kenburns {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.08) translate(-1%, -1%);
	}
	100% {
		transform: scale(1);
	}
}
@keyframes kslp-cta5-zoom {
	0% {
		transform: scale(1);
	}
	100% {
		transform: scale(1.12);
	}
}
@keyframes kslp-cta5-pan {
	0% {
		transform: scale(1.05) translate(0, 0);
	}
	50% {
		transform: scale(1.05) translate(-2%, 1%);
	}
	100% {
		transform: scale(1.05) translate(0, 0);
	}
}

.kslp-cta5-bg-anim--ken-burns {
	animation: kslp-cta5-kenburns 22s ease-in-out infinite alternate !important;
}
.kslp-cta5-bg-anim--zoom {
	animation: kslp-cta5-zoom 18s ease-in-out infinite alternate !important;
}
.kslp-cta5-bg-anim--pan {
	animation: kslp-cta5-pan 24s ease-in-out infinite alternate !important;
}

/* Editor Placeholders */
.kslp-cta5-btn-img-placeholder {
	border: 2px dashed #d4a03c;
	background-color: rgba(255, 255, 255, 0.95);
	border-radius: 14px;
	padding: 16px 28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: #8c6508;
	cursor: pointer;
	transition: all 0.2s ease;
	width: 100%;
	max-width: 380px;
	box-sizing: border-box;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.kslp-cta5-btn-img-placeholder:hover {
	border-color: #085034;
	color: #085034;
	transform: scale(1.02);
}

/* Responsif Mobile Sesuai Mockup (Header di Atas, CTA di Dasar Layar) */
@media (max-width: 767px) {
	.kslp-cta5-section {
		display: flex;
		flex-direction: column;
	}
	.kslp-cta5-container {
		display: flex;
		flex-direction: column;
		width: 100%;
		height: 100%;
		flex: 1 0 auto;
	}
	.kslp-cta5-inner.layout-split-left,
	.kslp-cta5-inner.layout-center,
	.kslp-cta5-inner {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		text-align: center;
		width: 100%;
		height: 100%;
		flex: 1 0 auto;
	}
	.kslp-cta5-content-col {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		align-items: center;
		text-align: center;
		margin-left: auto;
		margin-right: auto;
		width: 100%;
		height: 100%;
		flex: 1 0 auto;
	}
	.kslp-cta5-header {
		margin-top: 0;
		margin-bottom: auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		width: 100%;
	}
	.kslp-cta5-title {
		text-align: center !important;
	}
	.kslp-cta5-sub1-wrap {
		justify-content: center !important;
		text-align: center !important;
	}
	.kslp-cta5-sub1 {
		text-align: center;
	}
	.kslp-cta5-sub2-wrap {
		justify-content: center !important;
		text-align: center !important;
	}
	.kslp-cta5-cta-wrap {
		margin-top: auto !important;
		margin-bottom: 24px !important;
		width: 100%;
		display: flex;
		justify-content: center !important;
	}
	.kslp-cta5-btn:not(.kslp-cta5-btn--image) {
		width: 100%;
		max-width: 360px;
		box-sizing: border-box;
		justify-content: center;
	}
	.kslp-cta5-media-col {
		margin-top: 20px;
		width: 100%;
	}
}
