@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

:root {
	--poppins: "Poppins", sans-serif;
	--quicksand: "Quicksand", sans-serif;
	--primary: #F18F15;
	--secondary: #002147;
}

body {
	font-family: var(--poppins);
}

.site-title {
	font-family: var(--quicksand);
	font-weight: 700;
}

.navbar-custom {
	height: 90px;
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(8px);
	transition: all 0.3s ease;
}

.navbar-custom .nav-link {
	color: #0f2a44;
	font-weight: 500;
	font-size: 14px;
	position: relative;
}

.navbar-custom .nav-link.active::after {
	content: "";
	width: 100%;
	height: 3px;
	background: var(--primary);
	position: absolute;
	left: 0;
	bottom: -6px;
}

/* ===== NAVBAR DROPDOWN OVERRIDE ===== */
.navbar-custom .dropdown-menu {
	background: var(--secondary);
	border: none;
	border-radius: 0;
	/* min-width: 280px; */
	padding: 10px 0;
	margin-top: 0;
	box-shadow: 0 10px 30px rgba(0,0,0,.3);
}

/* item */
.navbar-custom .dropdown-item {
	color: #fff;
	padding: 12px 20px;
	font-size: 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* arrow */
.navbar-custom .dropdown-item::after {
	content: "";
	font-size: 18px;
	opacity: .8;
}

/* hover effect */
.navbar-custom .dropdown-item:hover {
	background: var(--primary);
	color: white;
}

/* ===== HOVER BEHAVIOR ===== */
.navbar-custom .nav-hover:hover > .dropdown-menu {
	display: block;
}

/* hilangkan caret default */
.navbar-custom .dropdown-toggle::after {
	display: none;
}

/* smooth animation */
.navbar-custom .dropdown-menu {
	animation: dropdownFade .2s ease-in-out;
}

@keyframes dropdownFade {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ================================
   HERO SECTION
================================ */
.hero-section {
	height: 100vh;
	background-size: cover;
	background-position: center;
	position: relative;
	padding-top: 100px;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		to right,
		rgba(15, 42, 68, 0.85) 0%,
		rgba(15, 42, 68, 0.65) 40%,
		rgba(15, 42, 68, 0.25) 100%
	);
}

.hero-content {
	position: relative;
	z-index: 2;
}

.hero-title {
	font-family: var(--poppins);
	font-size: 56px;
	font-weight: 700;
	line-height: 1.1;
	color: #ffffff;
}

/* ================================
   HERO CARD (RIGHT)
================================ */
.hero-card {
	position: relative;
	z-index: 2;
	background: rgba(210, 175, 140, 0.75);
	padding: 30px;
	border-radius: 2rem 0 2rem 2rem;
	color: #0f2a44;
}

.hero-card h3 {
	font-family: var(--quicksand);
	font-weight: 700;
	margin-bottom: 15px;
}

.hero-card p {
	font-size: 20px;
	line-height: 1.4;
}

.hero-card .qr-img {
	margin: auto;
	width: 80px;
}

/* ===== RANKING SECTION ===== */
.ranking-stats {
	background: var(--primary);
	position: relative;
	margin-top: -3rem;
}

.stat-item {
	padding: 40px 30px 20px;
}

.stat-item-alt {
	background: rgba(0, 0, 0, 0.05);
}

.stat-content h5 {
	font-weight: 600;
	color: white;
}

.stat-content .btn-warning {
	background: #e6760f;
}

.stat-content ul {
	list-style: none;
	padding-left: 0;
	margin-top: 15px;
}

.stat-content .stat-icon {
	font-size: 2rem;
	color: #fff;
	margin-bottom: 10px;
}

/* MAIN CONTENT */
.ranking-content {
	position: relative;
	background-image: url("../img/bg-building.png");
	background-size: cover;
	background-position: center;
	padding: 60px 0;
}

.ranking-overlay {
	position: absolute;
	inset: 0;
	background: rgba(76, 159, 102, 0.7);
}

.ranking-logo {
	border-radius: 6px;
	max-width: 300px;
}

.ranking-link {
	display: inline-block;
	margin-top: 15px;
	color: #fff;
	font-weight: 600;
	text-decoration: none;
}

/* ============================================================================================= NEWS SECTION ===== */
.news-section {
	position: relative;
	background-image: url("../img/background.png");
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	padding: 80px 0;
	color: #fff;
}

.news-overlay {
	position: absolute;
	inset: 0;
	background: rgba(135, 67, 15, 0.85);
}

/* HEADER */
.news-title {
	font-weight: 700;
	font-size: 26px;
}

.news-more {
	color: #fff;
	text-decoration: none;
	font-weight: 500;
}

/* FEATURED */
.featured-news {
	position: relative;
	overflow: hidden;
	border-radius: 6px;
}

.featured-news img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.featured-content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding:  60px 25px;
	background: linear-gradient(to top, rgba(0,0,0,.9), transparent);
}

.featured-content h3 {
	font-size: 22px;
	font-weight: 600;
	margin-top: 8px;
}

/* DATE */
.news-date {
	font-size: 12px;
	letter-spacing: 1px;
	opacity: .8;
}

/* LIST */
.news-list {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.news-item {
	display: flex;
	gap: 15px;
	align-items: center;
}

.news-item img {
	width: 100px;
	height: 80px;
	object-fit: cover;
	border-radius: 4px;
}

.news-item a {
	color: #fff;
	text-decoration: none;
}

.news-item h6 {
	font-size: 16px;
	line-height: 1.4;
	margin: 5px 0 0;
}

/* Section Contact */
.contact-container {
	background: var(--secondary);
}

.contact-section {
	background: linear-gradient(145deg, rgb(51, 101, 138) 0%, var(--secondary) 100%);
	/* border-radius: 1rem; */
	box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 10px;
	color: #fff;
	padding: 24px;
	margin-top: -3rem;
	position: relative;
	z-index: 2;
}

.contact-title {
	font-size: 24px;
	font-weight: 700;
	margin: 1rem 0 2rem;
}

.contact-item {
	border: 1.5px solid rgba(255, 255, 255, 0.3);
	border-radius: 6px;
	font-size: 16px;
	padding: 16px;
	transition: all 0.2s ease;
	color: #fff;
	text-decoration: none;
	width: 100%;
	display: block;
}

.contact-item:hover {
	background: rgba(255, 255, 255, 0.3);
	border-color: #fff;
	cursor: pointer;
}

/* ANNOUNCEMENT SECTION */
.ann-section {
	background: var(--secondary);
	padding: 20px 0;
	color: white;
}

/* override */
.btn {
	border-radius: 50px;
	font-family: var(--quicksand);
}

.btn-primary {
	background-color: var(--secondary);
	border-color: var(--secondary);
	color: #fff;
}

.btn-primary:hover {
	background-color: #001833;
	border-color: #001833;
	color: #fff;
}

.btn-warning {
	background-color: var(--primary);
	border-color: var(--primary);
	color: #fff;
}

.btn-warning:hover {
	background-color: #e6760f;
	border-color: #e6760f;
	color: #fff;
}

/* custom */
.my-10 {
	margin: 7rem auto !important;
}

.links {
	color: var(--primary);
	text-decoration: none;
	transition: color 0.2s;
}

/* Carousel */
ol.carousel-indicators {
	list-style: none !important;
}

.carousel-caption {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

/* PAGES HEAD */
.head-section {
	position: relative;
	background-image: url("../img/background.png");
	background-size: cover;
	background-position: bottom center;
	background-attachment: fixed;
	padding: 120px 0 40px 0;
	color: #fff;
}

.head-overlay {
	position: absolute;
	inset: 0;
	background: rgba(135, 67, 15, 0.85);
	z-index: 1;
}

.head-title {
	color: white;
	z-index: 2;
}

/* FOOTER */
.landing-footer {
	background: var(--secondary) !important;
	color: white !important;
}

.landing-footer a {
	color: white !important;
}

.landing-footer a:hover {
	color: grey;
	text-decoration: none;
}

ul.list-unstyled li a.footer-link {
	text-decoration: none !important;
}

.landing-footer ul.list-unstyled li a.footer-link {
	color: #bbb !important;
	transition: color 0.2s;
}

.landing-footer ul.list-unstyled li a.footer-link:hover {
	color: #F18F15 !important;
}

/* Scroll to top */
#scrollToTopBtn {
	position: fixed;
	bottom: 40px;
	right: 40px;
	width: 50px;
	height: 50px;
	background-color: var(--primary);
	box-shadow: rgba(0, 0, 0, 0.7) 0px 4px 8px;
	color: #fff;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	font-size: 24px;
	text-align: center;
	padding: 6px auto;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 1000;
	-webkit-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 991px) {
	.hero-title {
		font-size: 40px;
	}

	.navbar-custom {
		height: auto;
		padding: 20px 0;
	}
}
