:root {
	--color-primary: #07547d;
	--color-primary-hover: #046ea7;

	--color-secondary: #23dab2;
	--color-secondary-hover: #56ebcb;

	--color-dark: #1f1f1f;

	--color-primary-linear-gradient: linear-gradient(to right, #0056d2, #74c0ff);
}

* {
	scroll-behavior: smooth;
}
a {
	color: var(--color-primary);
	transition: all 0.3s;
}
a:hover {
	color: var(--color-primary-hover);
	text-decoration: none;
}
input:focus {
	border: 1px solid var(--color-primary) !important;
	box-shadow: 0 0 6px var(--color-primary-hover) !important;
}
::-webkit-scrollbar {
	width: 10px;
	scrollbar-color: #f0f0f0 #808080;
}

::-webkit-scrollbar-thumb {
	scrollbar-highlight-color: var(--color-primary);
	background-color: var(--color-primary-hover);
	border-radius: 10px;
	border: 2px solid #fff;
}

.hr {
	margin: 0;
	padding: 0;
}

.high-title {
	position: relative;
	color: var(--color-primary);
	text-transform: uppercase;
	font-weight: 700;
}
.high-title span {
	position: absolute;
	bottom: -8px;
	left: 50%;
	transform: translateX(-50%);
	width: 100px;
	height: 4px;
	background: #0056d2;
	display: block;
	border-radius: 50px;
}
.desc-high-title {
	font-size: 1rem;
}

.section-limit {
	margin-top: 8rem;
	margin-bottom: 8rem;
}

.bg-header-popup {
	background-color: var(--color-primary) !important;
	color: #fff !important;
}
.bg-header-popup .close {
	color: #fff !important;
}
.bg-btn-popup {
	background-color: var(--color-primary) !important;
	color: #fff !important;
	transition: all 0.3s;
}
.bg-btn-popup:hover {
	background-color: var(--color-primary-hover) !important;
}

.btn-custom {
	background-color: var(--color-primary-hover);
	color: white;
	border: none;
	transition: background-color 0.2s;
	border-radius: 5px;
	padding: 8px 16px;
	font-size: 0.9rem;
}
.btn-custom:hover {
	background-color: var(--color-primary);
	color: white;
}

.btn-shake {
	animation: shake 2.5s ease-in-out infinite;
	transform-origin: center;
}
.btn-shake:hover {
	transform: scale(1.05);
	filter: brightness(1.05);
}

@keyframes shake {
	0%,
	80%,
	100% {
		transform: translateX(0) rotate(0);
	}
	83% {
		transform: translateX(-4px) rotate(-2deg);
	}
	86% {
		transform: translateX(4px) rotate(2deg);
	}
	89% {
		transform: translateX(-4px) rotate(-2deg);
	}
	92% {
		transform: translateX(4px) rotate(2deg);
	}
	95% {
		transform: translateX(-2px) rotate(-1deg);
	}
}

/* Topbar */
#topbar {
	background-color: #f8f9fa; /* Warna background */
	border-bottom: 1px solid #e9ecef; /* Garis bawah */
	font-size: 14px; /* Ukuran font */
}
#topbar a {
	color: var(--color-primary); /* Warna link */
	text-decoration: none;
}
#topbar a:hover {
	color: var(--color-primary-hover);
	text-decoration: underline;
}
#topbar .container-fluid {
	max-width: 100%;
}

/* Navbar */
.navbar {
	position: sticky;
	top: 0;
	z-index: 1020;
	box-shadow: 3px 3px 15px rgba(0, 0, 0, 0.1);
	z-index: 9990 !important;
}
.navbar-brand,
.navbar-nav {
	color: var(--color-primary) !important;
	text-transform: capitalize;
	font-weight: normal;
}
a.navbar-brand {
	font-family: "Montserrat", sans-serif;
}
.navbar-brand:hover {
	color: var(--color-primary-hover) !important;
}
.navbar-nav .nav-link:hover {
	color: var(--color-primary-hover) !important;
}
.btn-login {
	background-color: var(--color-primary);
	color: #eee !important;
	transition: all 0.3s;
}
.btn-login:hover.nav-link {
	background-color: var(--color-primary-hover) !important;
	color: #fff !important;
	box-shadow: 0 0 3px 3px var(--color-primary-hover) !important;
}

/* Password toggle button */
.input-group .btn-outline-secondary {
	border-color: #ced4da;
	background-color: #fff;
	transition: all 0.3s;
}

.input-group .btn-outline-secondary:hover {
	background-color: #f8f9fa;
	border-color: var(--color-primary);
}

.input-group .btn-outline-secondary:focus {
	box-shadow: none;
}

.modal,
.modal.fade.show,
#waModal,
.swal2-popup {
	z-index: 9998 !important;
}
.modal-backdrop.show,
.swal2-container {
	z-index: 9997 !important;
}

/* ============================================ */
/* TAMBAHKAN: Saat password terbuka (active state) */
/* ============================================ */
.input-group .btn-outline-secondary.active {
	background-color: var(--color-primary) !important;
	border-color: var(--color-primary) !important;
	color: #fff !important;
	box-shadow: none !important;
	border: none !important;
}
.input-group .btn-outline-secondary.active #eyeIcon {
	color: #fff !important;
}
/* Icon mata */
#eyeIcon {
	font-size: 1.1rem;
	color: #999;
	cursor: pointer;
	transition: all 0.3s;
}
#eyeIcon:hover,
.input-group .btn-outline-secondary:hover #eyeIcon {
	color: var(--color-primary);
	font-weight: bold;
}

.navbar-nav .nav-link:focus.btn-login {
	background-color: var(--color-primary) !important;
	color: #fff !important;
}
.navbar-nav .nav-link:visited.btn-login {
	background-color: var(--color-primary) !important;
}
.bg-btn-forgot,
.bg-btn-login,
.bg-btn-register,
.bg-btn-change-password {
	background-color: var(--color-primary) !important;
	color: #fff !important;
	transition: all 0.3s;
}
.bg-btn-forgot:hover,
.bg-btn-login:hover,
.bg-btn-register:hover,
.bg-btn-change-password:hover {
	background-color: var(--color-primary-hover) !important;
}

/* ============ DROPDOWN USER LOGGED ============ */
.elemen-dropdown-logged {
	min-width: 240px;
	border: none;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
	padding: 8px;
	margin-top: 10px;
}
.elemen-dropdown-logged .dropdown-item {
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 14px;
	transition: all 0.2s;
	display: flex;
	align-items: center;
}
.elemen-dropdown-logged .dropdown-item i {
	width: 20px;
	display: inline-block;
	color: #07547d;
	margin-right: 8px;
	font-size: 15px;
}
.elemen-dropdown-logged .dropdown-item:hover {
	background: #f0f7fb;
	color: #07547d;
}
.elemen-dropdown-logged .dropdown-item:hover i {
	color: #07547d;
}
.elemen-dropdown-logged .dropdown-header {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: #6c757d;
	padding: 8px 14px 6px;
	text-transform: uppercase;
}
.elemen-dropdown-logged .dropdown-header i {
	color: #07547d;
	margin-right: 6px;
}
.elemen-dropdown-logged .dropdown-divider {
	margin: 6px 0;
	border-color: #f0f0f0;
}
.elemen-dropdown-logged .dropdown-item.text-danger {
	color: #dc3545 !important;
}
.elemen-dropdown-logged .dropdown-item.text-danger i {
	color: #dc3545 !important;
}
.elemen-dropdown-logged .dropdown-item.text-danger:hover {
	background: #fff5f5;
	color: #dc3545 !important;
}
.elemen-dropdown-logged .dropdown-item.text-danger:hover i {
	color: #dc3545 !important;
}
.dropdown-menu.elemen-dropdown-logged {
	margin-top: 10px;
}

/* Dropdown Biasa */
.nav-item.dropdown:focus,
.dropdown-toggle:focus {
	color: var(--color-primary) !important;
}
.dropdown-menu {
	border: none;
	border-radius: 5px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	margin-top: 10px;
	padding: 5px 15px 5px 5px;
}
.dropdown-menu .dropdown-item:hover {
	background-color: var(--color-primary-hover);
	color: #fff;
	transform: translateX(5px);
}

/* =========================================
   DROPDOWN BIASA (Profil Kami, dll)
   ========================================= */
/* Biarkan Bootstrap default, tidak usah dipaksa static */
.nav-item.dropdown {
	position: relative; /* Default Bootstrap */
}

/* Li tetap relative → jadi patokan posisi */
.nav-item.dropdown:not(.has-mega-menu) {
	position: relative;
}

/* Dropdown-menu center tepat di bawah tombol induknya */
.nav-item.dropdown:not(.has-mega-menu) .dropdown-menu {
	left: 50%;
	right: auto;
	transform: translateX(-50%);

	/* Style */
	min-width: 220px;
	border: none;
	border-radius: 8px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
	padding: 8px;
	margin-top: 10px;
}

/* Item di dropdown biasa */
.nav-item.dropdown:not(.has-mega-menu) .dropdown-item {
	padding: 8px 14px;
	border-radius: 6px;
	transition: all 0.25s ease;
	white-space: nowrap; /* Biar teks gak turun ke bawah */
}

.nav-item.dropdown:not(.has-mega-menu) .dropdown-item:hover {
	background-color: var(--color-primary-hover);
	color: #fff !important;
	transform: translateX(4px);
}

/* Ikon di dropdown biasa */
.nav-item.dropdown:not(.has-mega-menu) .dropdown-item i {
	font-size: 1rem;
	color: var(--color-primary);
	transition: 0.25s ease;
	width: 20px; /* biar rata kiri semua */
	text-align: center;
	flex-shrink: 0; /* biar gak mengecil */
}

/* Ikon berubah putih saat hover */
.nav-item.dropdown:not(.has-mega-menu) .dropdown-item:hover i {
	color: #fff;
}

/* Teks tetap di tengah secara vertikal */
.nav-item.dropdown:not(.has-mega-menu) .dropdown-item {
	display: flex;
	align-items: center;
	gap: 4px; /* jarak ikon ke teks */
}

/* Item dengan deskripsi (2 baris) di dropdown biasa */
.nav-item.dropdown:not(.has-mega-menu) .dropdown-item small {
	font-size: 12px;
	line-height: 1.3;
	transition: 0.25s ease;
}

/* Saat hover, warna deskripsi jadi putih transparan */
.nav-item.dropdown:not(.has-mega-menu) .dropdown-item:hover small {
	color: rgba(255, 255, 255, 0.8) !important;
}

/* Ikon sejajar atas kalau ada deskripsi */
.nav-item.dropdown:not(.has-mega-menu) .dropdown-item .bi {
	flex-shrink: 0;
}

/* Override nowrap kalau item pakai struktur d-flex + small */
/* .nav-item.dropdown:not(.has-mega-menu) .dropdown-item:has(small),
.nav-item.dropdown:not(.has-mega-menu) .dropdown-item .d-block {
	white-space: normal;
} */

.badge-exclusive {
	background-color: #2ecc71;
	color: #fff;
	font-size: 10px;
	padding: 2px 8px;
	border-radius: 20px;
	margin-left: 5px;
	text-transform: uppercase;
	font-weight: 600;
}

/* =========================================
   MEGA DROPDOWN (Khusus "Program")
   ========================================= */

/* HANYA li yang punya has-mega-menu yang jadi static */
.nav-item.dropdown.has-mega-menu {
	position: static !important;
}

/* Kotak mega dropdown */
.dropdown-menu.my-dropdown {
	position: absolute !important;
	left: 50% !important;
	top: 100% !important;
	transform: translateX(-50%) !important;
	right: auto !important;
	bottom: auto !important;

	min-width: 950px;
	max-width: calc(100vw - 40px);
	max-height: 80vh;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;

	border: none;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	padding: 25px;
	margin-top: 10px;
}

/* Scrollbar custom (opsional) */
.dropdown-menu.my-dropdown::-webkit-scrollbar {
	width: 6px;
}
.dropdown-menu.my-dropdown::-webkit-scrollbar-thumb {
	background: var(--color-primary);
	border-radius: 3px;
}
.dropdown-menu.my-dropdown::-webkit-scrollbar-track {
	background: #f1f1f1;
	border-radius: 3px;
}

/* =========================================
   KONTEN DALAM MEGA DROPDOWN
   ========================================= */

.my-dropdown .dropdown-title {
	font-weight: bold;
	color: var(--color-primary);
	margin-bottom: 10px;
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 0.5px;
}

.my-dropdown .dropdown-divider {
	border-top: 1px solid #e9ecef;
	margin-bottom: 15px;
}

.dropdown-menu.my-dropdown .dropdown-item {
	padding: 10px 12px;
	border-radius: 6px;
	transition: all 0.3s ease;
	white-space: normal;
}

.dropdown-menu.my-dropdown .dropdown-item i {
	font-size: 1.2rem;
	color: var(--color-primary);
	transition: 0.3s;
	margin-top: 2px;
}

.dropdown-menu.my-dropdown .dropdown-item small {
	font-size: 12px;
	line-height: 1.3;
	transition: 0.3s;
}

.dropdown-menu.my-dropdown .dropdown-item:hover {
	background-color: var(--color-primary-hover);
	color: #fff !important;
	transform: translateX(5px);
}
.dropdown-menu.my-dropdown .dropdown-item:hover i {
	color: #fff;
}
.dropdown-menu.my-dropdown .dropdown-item:hover small {
	color: rgba(255, 255, 255, 0.8) !important;
}

/* =========================================
   COMING SOON
   ========================================= */

.dropdown-menu.my-dropdown .dropdown-item.is-coming-soon {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
	filter: grayscale(100%);
}
.dropdown-menu.my-dropdown .dropdown-item.is-coming-soon:hover {
	background-color: transparent !important;
	transform: none !important;
	color: inherit !important;
}

.badge-coming-soon {
	display: inline-block;
	font-size: 10px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	padding: 2px 8px;
	margin-left: 6px;
	background-color: #f39c12;
	color: #fff;
	border-radius: 20px;
	vertical-align: middle;
	position: relative;
	top: -1px;
}

/* Banner */
.jumbotron {
	background:
		linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)),
		url("../image/banner/banner.png") no-repeat center center;
	background-size: cover;
	background-position: center;
	padding: 100px 0;
	min-height: 500px; /* tambah tinggi */
	display: flex; /* agar isi tetap rapi */
	align-items: center; /* konten vertical center */
}
.jumbotron .col-jumbotron {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.say-hello {
	color: #fff;
	/* font-weight: bold; */
	font-size: 1rem;
	margin-bottom: 5px;
}
.text-banner {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 2rem;
	color: #fff;
}
.subtext-banner {
	font-size: 1.3rem;
	color: #eee;
}
section#banner .img-banner {
	width: 350px;
}

/* General Section */
section#mySection {
	padding-top: 80px;
	padding-bottom: 80px;
}

/* About US */
.aboutUs .content-teks,
.aboutUs .content-teks p {
	font-size: 1rem !important;
	line-height: 2 !important;
	color: #333333;
	text-align: justify;
}

/* Contact Us */
section#contact {
	padding-top: 80px;
	padding-bottom: 80px;
}
section#contact .iconSosmed a {
	font-size: 30px;
	padding: 5px;
	display: inline-block;
	transition: all 0.3s; /* Pindahkan transition ke sini */
}
section#contact .iconSosmed a.instagram {
	color: #e1306c !important;
}
section#contact .iconSosmed a.instagram:hover {
	color: #fa6294 !important;
	transform: scale(1.1);
}
section#contact .iconSosmed a.whatsapp {
	color: rgb(18, 140, 126) !important;
}
section#contact .iconSosmed a.whatsapp:hover {
	color: rgb(35, 216, 195) !important;
	transform: scale(1.1);
}
section#contact .iconSosmed a.email {
	color: #c71610 !important;
}
section#contact .iconSosmed a.email:hover {
	color: #f13d37 !important;
	transform: scale(1.1);
}
section#contact .iconSosmed a.web {
	color: #0056b3 !important;
}
section#contact .iconSosmed a.web:hover {
	color: #007bff !important;
	transform: scale(1.1);
}
section#contact .maps-contact {
	width: 100%;
	height: 400px;
	border: 0;
}

/* =========================
   Footer Modern Style
   ========================= */
#footer {
	background: var(--color-dark);
	color: #eee;
	padding: 60px 0 30px 0;
}
#footer a {
	color: #fff;
	text-decoration: none;
	transition: color 0.3s;
}
#footer a:hover {
	color: var(--color-primary-hover);
}
.footer-title {
	font-weight: bold;
	font-size: 18px;
	text-transform: uppercase;
	margin-bottom: 20px;
	color: #fff;
}
.footer-info,
.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}
.footer-info li,
.footer-links li {
	margin-bottom: 12px;
	font-size: 14px;
	color: #ccc;
}
.footer-info li i,
.footer-links li i {
	margin-right: 8px;
	color: var(--color-primary-hover);
}
.footer-links li a {
	font-weight: 500;
}
.footer-divider {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	margin: 30px 0 20px 0;
}
#footer p {
	margin: 0;
	font-size: 14px;
	color: #ccc;
}
#footer .text-center a {
	font-weight: bold;
	color: #fff;
}
#footer .text-center a:hover {
	color: var(--color-primary-hover);
}

.icon-to-top {
	display: none;
	position: fixed;
	right: 25px;
	bottom: 15px;
	z-index: 10;
	transition: opacity 0.3s ease;
}
.icon-to-top i {
	font-size: 2.3rem;
	filter: invert(100%);
	color: #333;
	opacity: 0.8;
	transition: all 0.3s;
}
.icon-to-top i:hover {
	text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}
/* End Footer */

/* MEDIA QUERY */
/* Desktop */
@media screen and (min-width: 980px) {
	.btn-login,
	.elemen-dropdown-logged {
		margin-left: 30px;
	}
}

.topbar .col-left {
	text-align: left;
}
.topbar .col-right {
	text-align: right;
}

/* ============ RESPONSIVE MOBILE ============ */
@media screen and (max-width: 975px) {
	#topbar {
		display: none;
	}
	.topbar .col-left,
	.topbar .col-right {
		text-align: center !important;
	}

	/* Balikin kedua jenis dropdown jadi normal di mobile */
	.nav-item.dropdown,
	.nav-item.dropdown.has-mega-menu {
		position: relative !important;
	}

	/* Dropdown biasa di mobile */
	.nav-item.dropdown:not(.has-mega-menu) .dropdown-menu {
		min-width: 100%;
		max-width: 100%;
		left: 0 !important;
		right: 0 !important;
		transform: none !important;
		margin-top: 0;
		box-shadow: none;
		border: 1px solid #eee;
		border-radius: 0;
	}

	/* Mega dropdown di mobile */
	.dropdown-menu.my-dropdown {
		position: static !important;
		min-width: 100% !important;
		max-width: 100% !important;
		max-height: 60vh;
		left: 0 !important;
		transform: none !important;
		right: 0 !important;
		border-radius: 0;
		padding: 15px;
		margin-top: 0 !important;
		box-shadow: none;
		border: 1px solid #eee;
	}

	/* Jarak antar kolom mega menu di mobile */
	.my-dropdown .col-md-4 + .col-md-4 .dropdown-title {
		margin-top: 25px;
	}

	/* Matikan efek geser di mobile */
	.dropdown-menu .dropdown-item:hover {
		transform: none;
	}

	/* Coming soon tetap abu-abu di mobile */
	.dropdown-menu .dropdown-item.is-coming-soon,
	.dropdown-menu .dropdown-item.is-coming-soon:hover {
		background-color: transparent !important;
		transform: none !important;
	}

	.badge-coming-soon {
		font-size: 9px;
		padding: 2px 6px;
	}

	/* Elemen lain (tetap seperti sebelumnya) */
	.btn-login {
		margin-top: 12px;
	}
	.dropdown-menu.elemen-dropdown-logged {
		margin-top: 10px !important;
	}
	.jumbotron .row {
		justify-content: center;
	}
	.text-banner {
		text-align: center;
		font-size: 1.5rem;
	}
	.subtext-banner {
		text-align: center;
		font-size: 18px;
	}
	section#banner .img-banner {
		margin-top: 10px;
		width: 240px;
	}
	.high-title {
		font-size: 1.3rem;
	}
}
