/*---------------------------------------
	HOME HERO
-----------------------------------------*/
.home_hero_section {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: var(--color-bg);
	--hero-mask-height: 300px;
	--hero-mask-bg: var(--color-bg);
}

.home_hero_section picture,
.home_hero_section img {
	display: block;
	width: 100%;
}

.home_hero_section img {
	min-height: calc(100vh - var(--header-height));
	object-fit: cover;
	object-position: center top;
}

.home_hero_section::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -4px;
	z-index: 2;
	height: var(--hero-mask-height);
	background-color: var(--hero-mask-bg);
	pointer-events: none;

	-webkit-mask-image: url("../../img/banner/kv_mask.png");
	mask-image: url("../../img/banner/kv_mask.png");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center bottom;
	mask-position: center bottom;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
}

@media (max-width: 768px) {
	.home_hero_section {
		--hero-mask-height: 180px;
	}

	.home_hero_section img {
		min-height: unset;
		aspect-ratio: 780 / 1450;
		object-position: center top;
	}
}

/*---------------------------------------
	HOME NEWS
-----------------------------------------*/
.home_news_section {
	--topM: -300px;
	position: relative;
	padding: 80px 0;
	color: #257982;
	margin-top: var(--topM);
	z-index: 99;
	background: none !important;
}

.home_news_section::before{
	content: '';
	position: absolute;
	width: 100%;
	height: 350px;
	top: calc(-1 * -300px);
	background: linear-gradient(to bottom, var(--color-bg), rgba(0,0,0,0));
	z-index: -1;
}


.home_news_section .container{
	width: min(90vw, var(--container-width));
}

.home_news_section .section_title_heading {
	color: #ffffff;
	text-shadow: 0 3px 8px rgba(18, 94, 104, 0.35);
}

.home_news_section .section_title_subtitle {
	color: rgba(255, 255, 255, 0.35);
}

.home_news_layout {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.9fr);
	gap: 24px;
	align-items: start;
	padding: 22px;
	background: linear-gradient(to right, rgba(220, 250, 255, 0.5), rgba(248, 255, 255, 0.65)), url("../../img/news/newsbg.png") left / cover no-repeat;
}

.home_news_layout::before{
	content: '';
	position: absolute;
	top: 50%;
 	left: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 20px);
	height: calc(100% - 20px);
	border: 2px solid rgba(128, 210, 226, 0.85);
	background:linear-gradient(to right, rgba(220, 250, 255, 0.95), rgba(248, 255, 255, 0.65));
}
.home_news_layout::after{
	content: '';
	position: absolute;
 	left: 0;
	bottom: 0;
	transform: rotate(-1.5deg) translateX(-2%);
	width: 100%;
	height: 100%;
	background:linear-gradient(to left bottom, rgba(144, 238, 255, 0.65), rgba(144, 238, 255, 0.05));
	z-index: -1;
}

.home_news_side {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	order: 2;
}

.home_news_list {
	margin-top: 15px;
	display: grid;
	gap: 0;
}

.home_news_item{
	position: relative;
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 5px 18px;
	align-items: center;
	padding: 16px 0;
	color: #2a7d86;
	transition: color 0.25s ease, transform 0.25s ease;
}
.home_news_item:not(:last-child) {
	border-bottom: 1px solid rgba(66, 157, 166, 0.35);
}

.home_news_item:hover {
	color: #0b9dad;
	background: linear-gradient(to left, rgba(0,0,0,0), rgb(255, 255, 255), rgba(0,0,0,0));
	transform: translateX(4px);
}

.home_news_item_meta {
	display: contents;
}

.home_news_item_meta span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 26px;
	border-radius: 999px;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	background: var(--grey);
}

.home_news_item_meta time {
	grid-column: 2;
	display: block;
	margin-top: 4px;
	color: #21838f;
	font-size: 13px;
	order: 3;
}

.home_news_item h3 {
	grid-column: 2;
	font-family: var(--font-main);
	font-size: 17px;
	line-height: 1.45;
	font-weight: 500;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.home_news_banner {
	position: relative;
	min-width: 0;
	min-height: 350px;
	order: 1;
	margin-top: 15px;
}

.home_news_banner_swiper {
	width: 100%;
	aspect-ratio: 16 / 9;

	overflow: hidden;
	border-radius: 15px;
}

.home_news_banner_slide,
.home_news_banner_link {
	display: block;
	width: 100%;
	height: 100%;
}

.home_news_banner_slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home_news_banner_pagination {
	position: absolute;
	left: auto !important;
	right: 24px !important;
	bottom: 18px !important;
	width: auto !important;
}

.home_news_banner_pagination .swiper-pagination-bullet {
	width: 5px;
	height: 5px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.85);
	opacity: 1;
	transition: width 0.25s ease, background 0.25s ease;
}

.home_news_banner_pagination .swiper-pagination-bullet-active {
	width: 48px;
	background: var(--active);
}

.home_news_section .section_more {
	width: fit-content;
	margin: 15px 0;
	text-align: right;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	align-self: flex-end;
	gap: 5px;
}

.home_news_section .secondary_btn {
	min-width: unset;
	color: var(--grey);
	border-color: transparent;
	background: transparent;
	box-shadow: none;
	font-family: var(--font-title);
	font-size: 20px;
	padding: 0;
	text-align: right;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 20px;
}

.section_more .secondary_btn span {
	position: relative;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	transform-origin: center;
	border: 1px solid var(--grey);
	border-radius: 5px;
	transition: transform .5s;
}
.section_more .secondary_btn  span::before, .section_more .secondary_btn  span::after {
	content: '';
	width: 10px;
	height: 2px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	background: var(--grey);
}
.section_more .secondary_btn span::after {
	transform: translate(-50%, -50%) rotate(90deg);
}
.section_more .secondary_btn:hover span {
	transform: rotate(90deg);
}
.secondary_btn:hover span::before, .secondary_btn:hover span::after {
	background: white;
}
.section_more:has(.secondary_btn:hover) span{
	background: var(--grey);
}

@media (max-width: 1024px) {
	.home_news_section .section_more {
		margin: 0;
		width: 100%;
		border-bottom: 1px solid var(--grey);
	}
	.home_news_section .secondary_btn {
		margin: 0;
		justify-content: flex-end;
	}
	.home_news_layout {
		grid-template-columns: 1fr;
		gap: 15px;
		padding: 28px;
	}
	.home_news_list {
		margin-top: 0;
		order: 2;
	}
	.home_news_banner {
		margin-top: 0;
		order: 1;
	}
}

@media (max-width: 600px) {
	.home_news_section {
		--topM: -50%;
		padding: 70px 0;
		padding-bottom: 0;
	}
	.home_news_item {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 0 12px;
	}
	.home_news_item_meta span {
		width: 60px;
		height: 24px;
		font-size: 13px;
	}
	.home_news_item h3 {
		font-size: 15px;
	}
	.home_news_banner_swiper {
		border-width: 8px;
		border-radius: 14px;
	}
}

@media (max-width: 450px) {
	.home_news_layout {
		padding: 18px;
	}
}

/*---------------------------------------
	HOME FEATURES
-----------------------------------------*/
.home_feature_section {
	position: relative;
	/* padding: 90px 0 0; */
	overflow: hidden;
	color: #ffffff;
}

.home_feature_section .container_wide {
	position: relative;
	z-index: 1;
}

.home_feature_section .section_title {
	margin-bottom: 36px;
}

.home_feature_section .section_title_heading {
	color: #ffffff;
	text-shadow: 0 4px 14px rgba(22, 124, 164, 0.38);
}

.home_feature_slider {
	position: relative;
	width: min(100%, 1280px);
	margin: 0 auto;
	padding: 0 72px 54px;
	overflow: hidden;
}

.home_feature_swiper {
	width: 100%;
	overflow: visible;
}

.home_feature_slide {
	position: relative;
	width: min(62vw, 790px);
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: rgba(255, 255, 255, 1);
	transform-origin: center;
}

.home_feature_slide::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(180deg, rgba(255,255,255,0.12), transparent 32%, rgba(0, 71, 102, 0.12));
	pointer-events: none;
}

.home_feature_slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.home_feature_swiper .swiper-slide {
	opacity: 0.42;
	filter: brightness(0.78) saturate(0.88);
	transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease;
}

.home_feature_swiper .swiper-slide-active {
	opacity: 1;
	filter: none;
}

.home_feature_arrow {
	border: none !important;
	position: absolute;
	z-index: 5;
	top: 43%;
	width: 58px;
	height: 78px;
	transform: translateY(-50%);
	background: url("../../img/button/btn_next.png") center / contain no-repeat;
	transition: transform 0.25s ease, filter 0.25s ease;
}

.home_feature_arrow::before,
.home_feature_arrow::after {
	display: none;
}

.home_feature_arrow_prev {
	left: 16px;
	transform: translateY(-50%) scaleX(-1);
}

.home_feature_arrow_next {
	right: 16px;
}

.home_feature_arrow:hover {
	filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.58));
}

.home_feature_arrow_prev:hover {
	transform: translate(-6px, -50%) scaleX(-1);
}

.home_feature_arrow_next:hover {
	transform: translate(6px, -50%);
}

.home_feature_arrow.is_disabled {
	filter: saturate(0);
	opacity: .35;
	cursor: default;
	pointer-events: none;
}
.home_feature_arrow.is_disabled:hover {
	transform: translateY(-50%);
	filter: saturate(0);
}
.home_feature_arrow_prev.is_disabled {
	transform: translateY(-50%) scaleX(-1);
}
.home_feature_arrow_prev.is_disabled:hover {
	transform: translateY(-50%) scaleX(-1);
}

.home_feature_pagination {
	position: absolute;
	left: 50% !important;
	bottom: 10px !important;
	width: auto !important;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 38px;
	transform: translateX(-50%);
}

.home_feature_pagination .swiper-pagination-bullet {
	position: relative;
	width: 10px;
	height: 10px;
	margin: 0 !important;
	border: 1px solid rgba(142, 115, 73, 0.78);
	border-radius: 0;
	background: transparent;
	opacity: 1;
	transform: rotate(45deg);
	transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}


.home_feature_pagination .swiper-pagination-bullet-active {
	border-color: #ffffff;
	background: var(--highlight);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

/*---------------------------------------
	HOME FEATURES RESPONSIVE
-----------------------------------------*/
@media (max-width: 1024px) {
	.home_feature_slider {
		padding: 0 48px 50px;
	}

	.home_feature_slide {
		width: min(72vw, 720px);
	}

	.home_feature_arrow {
		width: 44px;
		height: 68px;
	}
}

@media (max-width: 768px) {
	.home_feature_slider {
		padding: 0 24px 48px;
	}

	.home_feature_slide {
		width: 82vw;
		aspect-ratio: 16 / 9;
	}

	.home_feature_arrow {
		display: none;
	}

	.home_feature_pagination {
		gap: 26px;
	}
}

@media (max-width: 520px) {
	.home_feature_slider {
		padding: 0 14px 42px;
	}

	.home_feature_slide {
		width: 86vw;
		aspect-ratio: 16 / 9;
	}

	.home_feature_pagination {
		gap: 22px;
	}

	.home_feature_pagination .swiper-pagination-bullet {
		width: 11px;
		height: 11px;
	}

	.home_feature_pagination .swiper-pagination-bullet::before {
		left: -24px;
		width: 18px;
	}
}

.home_download_section {
	padding: 90px 0;
	background:
		linear-gradient(180deg, rgba(5, 8, 16, 0.9), rgba(5, 8, 16, 0.98)),
		url("../../img/bg/download-bg.jpg") center / cover no-repeat;
}

.home_download_box {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	align-items: center;
	gap: 48px;
	padding: 56px;
	border: 1px solid var(--card-border);
	background:
		radial-gradient(circle at 20% 20%, rgba(216, 184, 106, 0.18), transparent 32%),
		rgba(255, 255, 255, 0.045);
}

.home_download_label {
	margin-bottom: 12px;
	color: var(--color-primary-light);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.home_download_content h2 {
	font-size: clamp(32px, 5vw, 58px);
	line-height: 1.15;
	font-weight: 900;
}

.home_download_content p {
	max-width: 560px;
	margin-top: 18px;
	color: var(--color-muted);
	font-size: 17px;
	line-height: 1.8;
}

.home_download_actions {
	margin-top: 32px;
}

.home_download_info {
	display: grid;
	gap: 14px;
}

.download_info_card {
	padding: 20px;
	border: 1px solid var(--color-border);
	background: rgba(255, 255, 255, 0.05);
}

.download_info_card span {
	display: block;
	margin-bottom: 8px;
	color: var(--color-primary-light);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.download_info_card strong {
	display: block;
	font-size: 20px;
	line-height: 1.4;
}

@media (max-width: 900px) {
	.home_download_box {
		grid-template-columns: 1fr;
		padding: 36px 24px;
	}

	.home_download_info {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.home_download_actions .primary_btn {
		width: 100%;
	}
}

