/* Custom CSS for Komdigi Clone */

/* Import Google Fonts - Poppins */
@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");

/* Root Variables */
:root {
	--primary-color: #0d6efd;
	--secondary-color: #6c757d;
	--success-color: #198754;
	--info-color: #0dcaf0;
	--warning-color: #ffc107;
	--danger-color: #dc3545;
	--light-color: #f8f9fa;
	--dark-color: #212529;
	--font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI",
		Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Global Styles */
* {
	font-family: var(--font-family) !important;
}

body {
	font-family: var(--font-family);
	line-height: 1.6;
	color: var(--dark-color);
	background: radial-gradient(
			circle at 20% 80%,
			rgba(120, 119, 198, 0.3) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 80% 20%,
			rgba(255, 119, 198, 0.3) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 40% 40%,
			rgba(120, 219, 255, 0.3) 0%,
			transparent 50%
		),
		linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
	margin: 0;
	padding: 40px 20px;
	min-height: 100vh;
	background-attachment: fixed;
	position: relative;
}

/* Pastikan semua heading menggunakan Poppins */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-family) !important;
	font-weight: 600;
}

/* Pastikan semua input dan form menggunakan Poppins */
input,
textarea,
select,
button {
	font-family: var(--font-family) !important;
}

/* Pastikan semua link dan navigasi menggunakan Poppins */
a,
.nav-link,
.navbar-brand {
	font-family: var(--font-family) !important;
}

/* Pastikan semua tabel menggunakan Poppins */
table,
th,
td {
	font-family: var(--font-family) !important;
}

/* Override Bootstrap dan elemen lainnya untuk menggunakan Poppins */
.btn,
.form-control,
.form-select,
.form-check-label,
.form-label {
	font-family: var(--font-family) !important;
}

.navbar,
.navbar-brand,
.nav-link,
.dropdown-menu,
.dropdown-item {
	font-family: var(--font-family) !important;
}

.card,
.card-title,
.card-text,
.card-header,
.card-footer {
	font-family: var(--font-family) !important;
}

.modal,
.modal-title,
.modal-body,
.modal-footer {
	font-family: var(--font-family) !important;
}

.alert,
.badge,
.breadcrumb,
.pagination {
	font-family: var(--font-family) !important;
}

.list-group,
.list-group-item {
	font-family: var(--font-family) !important;
}

/* Pastikan elemen khusus tema menggunakan Poppins */
.hero-title,
.hero-description,
.section-title,
.news-title {
	font-family: var(--font-family) !important;
}

.top-bar,
.main-header,
.footer {
	font-family: var(--font-family) !important;
}

/* Override untuk semua pseudo-elements */
*::before,
*::after {
	font-family: var(--font-family) !important;
}

body::before {
	content: "";
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: radial-gradient(
		circle at 1px 1px,
		rgba(255, 255, 255, 0.15) 1px,
		transparent 0
	);
	background-size: 20px 20px;
	pointer-events: none;
	z-index: -1;
}

/* Top Bar */
.top-bar {
	border-bottom: 1px solid #e9ecef;
	font-size: 0.875rem;
	border-radius: 20px 20px 0 0;
	margin: 0;
	background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
}

.social-links a {
	transition: color 0.3s ease;
}

.social-links a:hover {
	color: rgba(255, 255, 255, 0.8) !important;
}

/* Header */
.header-main {
	border-bottom: 2px solid var(--primary-color);
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo-section {
	display: flex;
	align-items: center;
}

.logo-section img {
	border-radius: 3px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-section h5 {
	color: var(--primary-color);
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0;
}

.logo-section small {
	font-size: 0.75rem;
	line-height: 1.2;
	color: #6c757d;
	font-weight: 500;
}

.search-bar .form-control {
	border-radius: 25px 0 0 25px;
	border-right: none;
	padding: 0.75rem 1rem;
	border: 2px solid #e9ecef;
	transition: all 0.3s ease;
}

.search-bar .form-control:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.search-bar .btn {
	border-radius: 0 25px 25px 0;
	padding: 0.75rem 1.25rem;
	background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
	border: 2px solid var(--primary-color);
	transition: all 0.3s ease;
}

.search-bar .btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.header-actions .btn {
	border-radius: 20px;
	padding: 0.5rem 1rem;
	font-weight: 500;
	transition: all 0.3s ease;
}

.header-actions .btn:hover {
	transform: translateY(-1px);
}

/* Navigation */
.navbar {
	box-shadow: none;
	border-radius: 0;
	margin-bottom: 0;
	background: linear-gradient(
		135deg,
		var(--primary-color) 0%,
		#0056b3 100%
	) !important;
	position: relative;
}

.navbar-dark .navbar-nav .nav-link {
	color: rgba(255, 255, 255, 0.9);
	font-weight: 500;
	padding: 0.75rem 1.2rem;
	transition: all 0.3s ease;
	border-radius: 8px;
	margin: 0 2px;
	position: relative;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
	color: #fff;
	background-color: rgba(255, 255, 255, 0.15);
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.navbar-dark .navbar-nav .nav-link::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	width: 0;
	height: 2px;
	background: #fff;
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover::before,
.navbar-dark .navbar-nav .nav-link.active::before {
	width: 80%;
}

/* Style awal */
.dropdown-menu {
	border: none;
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
	border-radius: 8px;
}

.dropdown-item {
	padding: 0.75rem 1rem;
	transition: background-color 0.3s ease;
}

.dropdown-item:hover {
	background-color: var(--light-color);
	color: var(--primary-color);
}

/* Tampilkan submenu saat .show */
.dropdown-menu.show {
	display: block !important;
}

/* Posisi submenu */
.dropdown-menu .dropdown {
	position: relative;
}

.dropdown-menu .dropdown-menu {
	position: absolute;
	left: 100%;
	top: 0;
	margin-top: 0;
	display: none;
	border-left: 1px solid rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
	.navbar-nav li:hover > .dropdown-menu {
		display: block;
	}
	.dropdown-menu .dropdown-menu {
		display: none;
	}
	.dropdown:hover > .dropdown-menu {
		display: block;
	}
}

/* Mobile (vertical dropdown) */
@media (max-width: 991.98px) {
	.dropdown-menu .dropdown-menu {
		position: static;
		margin: 0;
		border-left: none;
		box-shadow: none;
	}
}

/* Override Bootstrap default hide */
.dropdown-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 1000;
}

/* Submenu level ke-2 dan seterusnya */
.dropdown-menu .dropdown {
	position: relative;
}

.dropdown-menu .dropdown-menu {
	top: 0;
	left: 100%;
	margin-top: -0.1rem;
}

/* Tanda panah kanan untuk item yang punya submenu */
.dropdown-menu .dropdown-toggle::after {
	transform: rotate(-90deg);
	float: right;
	margin-top: 0.3rem;
}

/* Hero Slider */

.bg-gradient-primary {
	background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
}

.bg-gradient-success {
	background: linear-gradient(135deg, var(--success-color) 0%, #146c43 100%);
}

.bg-gradient-info {
	background: linear-gradient(135deg, var(--info-color) 0%, #0aa2c0 100%);
}

.hero-slide h1 {
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-slide p {
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev,
.carousel-control-next {
	width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
	width: 2rem;
	height: 2rem;
}

/* Quick Services */
.service-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid #e9ecef;
}

.service-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1) !important;
}

.service-icon i {
	transition: transform 0.3s ease;
}

.service-card:hover .service-icon i {
	transform: scale(1.1);
}

/* News Cards */
.news-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid #e9ecef;
}

.news-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.news-meta {
	font-size: 0.8rem;
}

.card-title {
	font-size: 1.1rem;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 0.75rem;
}

.card-text {
	font-size: 0.9rem;
	line-height: 1.5;
}

/* Statistics */
.statistics {
	background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
}

.stat-item h2 {
	font-weight: 700;
	margin-bottom: 0.5rem;
}

/* Programs */
.program-card {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid #e9ecef;
}

.program-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.program-icon i {
	transition: transform 0.3s ease;
}

.program-card:hover .program-icon i {
	transform: scale(1.1);
}

/* Footer */
.footer {
	background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
	border-radius: 0 0 20px 20px;
	margin: 0;
}

.footer h5,
.footer h6 {
	color: #fff;
}

.footer .text-muted {
	color: #adb5bd !important;
}

.footer a.text-muted:hover {
	color: var(--primary-color) !important;
}

.contact-info p {
	margin-bottom: 0.5rem;
}

.social-links a {
	display: inline-block;
	transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
	transform: translateY(-2px);
	color: var(--primary-color) !important;
}

/* Buttons */
.btn {
	border-radius: 6px;
	font-weight: 500;
	transition: all 0.3s ease;
}

.btn-lg {
	padding: 0.75rem 2rem;
	font-size: 1.1rem;
}

.btn-primary {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.btn-primary:hover {
	background-color: #0056b3;
	border-color: #0056b3;
	transform: translateY(-1px);
}

.btn-outline-primary:hover {
	transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
	.hero-slide h1 {
		font-size: 2rem;
	}

	.hero-slide p {
		font-size: 1rem;
	}

	.display-4 {
		font-size: 2.5rem;
	}

	.logo-section {
		text-align: center;
		margin-bottom: 1rem;
	}

	.search-bar {
		margin-bottom: 1rem;
	}

	.header-actions {
		text-align: center;
	}

	.stat-item {
		margin-bottom: 2rem;
	}
}

@media (max-width: 576px) {
	.hero-slide {
		text-align: center;
		padding: 2rem 0;
	}

	.hero-slide h1 {
		font-size: 1.75rem;
		margin-bottom: 1rem;
	}

	.hero-slide .btn {
		display: block;
		width: 100%;
		margin-bottom: 0.5rem;
	}

	.service-card,
	.news-card,
	.program-card {
		margin-bottom: 1rem;
	}
}

/* Animation */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in-up {
	animation: fadeInUp 0.6s ease-out;
}

/* Loading Animation */
@keyframes pulse {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
	100% {
		opacity: 1;
	}
}

.loading {
	animation: pulse 1.5s ease-in-out infinite;
}

/* Scroll to Top Button */
.scroll-to-top {
	position: fixed;
	bottom: 2rem;
	right: 2rem;
	background-color: var(--primary-color);
	color: white;
	border: none;
	border-radius: 50%;
	width: 50px;
	height: 50px;
	font-size: 1.2rem;
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease;
	z-index: 1000;
}

.scroll-to-top.show {
	opacity: 1;
	visibility: visible;
}

.scroll-to-top:hover {
	background-color: #0056b3;
	transform: translateY(-2px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
	background: var(--primary-color);
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: #0056b3;
}

/* Focus States */
.form-control:focus {
	border-color: var(--primary-color);
	box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.btn:focus {
	box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Accessibility */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Print Styles */
@media print {
	.navbar,
	.footer,
	.btn,
	.carousel-control-prev,
	.carousel-control-next {
		display: none !important;
	}

	body {
		font-size: 12pt;
		line-height: 1.4;
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		page-break-after: avoid;
	}
}

.news-hero {
	background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
	color: white;
	min-height: 11rem;
}
.news-content {
	font-size: 1.1rem;
	line-height: 1.8;
	color: #333;
}
.news-content p {
	margin-bottom: 1.5rem;
}
.news-content h3 {
	color: #0d6efd;
	margin: 2rem 0 1rem 0;
	font-weight: 600;
}
.news-meta {
	background: #f8f9fa;
	border-radius: 12px;
	padding: 25px;
	margin-bottom: 30px;
}
.news-meta .meta-item {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}
.news-meta .meta-item:last-child {
	margin-bottom: 0;
}
.news-meta .meta-icon {
	width: 40px;
	height: 40px;
	background: #0d6efd;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
}
.share-buttons .btn {
	margin-right: 10px;
	margin-bottom: 10px;
}
.related-news .card {
	border: none;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}
.related-news .card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.related-news .card img {
	height: 200px;
	object-fit: cover;
}
.breadcrumb-item + .breadcrumb-item::before {
	content: ">";
}
.news-image {
	border-radius: 5px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
	margin-bottom: 30px;
}
.quote-highlight {
	background: #e3f2fd;
	border-left: 4px solid #0d6efd;
	padding: 20px;
	margin: 30px 0;
	border-radius: 0 8px 8px 0;
	font-style: italic;
	font-size: 1.2rem;
}
.tags {
	margin-top: 30px;
}
.tag {
	display: inline-block;
	background: #e9ecef;
	color: #495057;
	padding: 5px 15px;
	border-radius: 10px;
	margin-right: 10px;
	margin-bottom: 10px;
	text-decoration: none;
	font-size: 0.9rem;
	transition: all 0.3s ease;
}
.tag:hover {
	background: #0d6efd;
	color: white;
}

.gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
	background: white;
}
.gallery-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.gallery-item img {
	width: 100%;
	height: 250px;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.gallery-item:hover img {
	transform: scale(1.05);
}
.gallery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(
		to bottom,
		transparent 0%,
		rgba(0, 0, 0, 0.7) 100%
	);
	opacity: 0;
	transition: opacity 0.3s ease;
	display: flex;
	align-items: flex-end;
	padding: 20px;
}
.gallery-item:hover .gallery-overlay {
	opacity: 1;
}
.gallery-info h6 {
	color: white;
	margin: 0;
	font-weight: 600;
}
.gallery-info p {
	color: rgba(255, 255, 255, 0.8);
	margin: 5px 0 0 0;
	font-size: 0.9rem;
}
.gallery-meta {
	background: white;
	padding: 15px;
}
.gallery-meta .date {
	color: #6c757d;
	font-size: 0.85rem;
}
.gallery-meta .title {
	font-weight: 600;
	color: #333;
	margin: 8px 0 5px 0;
	line-height: 1.4;
}
.gallery-meta .description {
	color: #6c757d;
	font-size: 0.9rem;
	line-height: 1.5;
}
.breadcrumb-item + .breadcrumb-item::before {
	content: ">";
}
.page-header {
	background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
	color: white;
	padding: 60px 0;
}
.filter-tabs .nav-link {
	color: #6c757d;
	border: none;
	padding: 10px 20px;
	margin-right: 10px;
	border-radius: 15px;
	background: #f8f9fa;
	transition: all 0.3s ease;
}
.filter-tabs .nav-link.active {
	background: #0d6efd;
	color: white;
}
.filter-tabs .nav-link:hover {
	background: #e9ecef;
	color: #495057;
}
.filter-tabs .nav-link.active:hover {
	background: #0d6efd;
	color: white;
}

.gallery-hero {
	background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
	color: white;
	padding: 80px 0;
}
.gallery-detail-img {
	border-radius: 10px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
	transition: transform 0.3s ease;
}
.gallery-detail-img:hover {
	transform: scale(1.02);
}
.photo-grid img {
	width: 100%;
	height: 150px;
	object-fit: cover;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 3px solid transparent;
}
.photo-grid img:hover {
	transform: scale(1.05);
	border-color: #0d6efd;
}
.photo-grid img.active {
	border-color: #0d6efd;
}
.breadcrumb-item + .breadcrumb-item::before {
	content: ">";
}
.detail-meta {
	background: #f8f9fa;
	border-radius: 12px;
	padding: 25px;
}
.detail-meta .meta-item {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}
.detail-meta .meta-item:last-child {
	margin-bottom: 0;
}
.detail-meta .meta-icon {
	width: 40px;
	height: 40px;
	background: #0d6efd;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 15px;
}
.share-buttons .btn {
	margin-right: 10px;
	margin-bottom: 10px;
}
.related-gallery .card {
	border: none;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}
.related-gallery .card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.related-gallery .card img {
	height: 200px;
	object-fit: cover;
}
.photo-counter {
	background: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 5px 15px;
	border-radius: 20px;
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 0.9rem;
}
.main-photo-container {
	position: relative;
}

/* Clean Header Styles */
.top-bar {
	background: var(--primary-color) !important;
	font-size: 0.875rem;
}

.top-bar .social-links a {
	transition: all 0.3s ease;
	padding: 5px;
	border-radius: 3px;
}

.top-bar .social-links a:hover {
	background: rgba(255, 255, 255, 0.2);
}

.main-header {
	border-bottom: 1px solid #e9ecef;
}

.logo-img {
	height: 80px;
	max-width: 100%;
	object-fit: contain;
}

.logo-text h5 {
	color: var(--primary-color);
	font-size: 1.2rem;
	line-height: 1.2;
}

.logo-text small {
	font-size: 0.85rem;
	color: #6c757d;
}

.search-box .form-control {
	border: 1px solid #ddd;
	border-right: none;
	border-radius: 25px 0 0 25px;
	padding: 10px 15px;
	font-size: 0.9rem;
}

.search-box .form-control:focus {
	border-color: var(--primary-color);
	box-shadow: none;
}

.search-box .btn {
	border-radius: 0 25px 25px 0;
	padding: 10px 15px;
	border: 1px solid var(--primary-color);
	background: var(--primary-color);
}

.search-box .btn:hover {
	background: #0056b3;
	border-color: #0056b3;
}

/* Mobile Responsive */
@media (max-width: 991px) {
	.logo-img {
		height: 70px;
	}

	.logo-text h5 {
		font-size: 1.1rem;
	}

	.logo-text small {
		font-size: 0.8rem;
	}
}

@media (max-width: 768px) {
	.logo-img {
		height: 60px;
	}

	.logo-text {
		display: none !important;
	}
}

/* ===== STYLING KONSISTEN UNTUK SECTION PY-4 BG-LIGHT ===== */

/* Pastikan semua section dengan py-4 bg-light memiliki styling yang konsisten */
section.py-4.bg-light {
	background-color: var(--light-color) !important;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Styling khusus untuk konten dalam section bg-light */
section.py-4.bg-light .container {
	position: relative;
}

/* Card styling dalam section bg-light */
section.py-4.bg-light .card {
	background: #ffffff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	transition: all 0.3s ease;
}

section.py-4.bg-light .card:hover {
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

/* Table styling dalam section bg-light */
section.py-4.bg-light .table {
	background: #ffffff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Alert styling dalam section bg-light */
section.py-4.bg-light .alert {
	border: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* ===== PERBAIKAN UKURAN SLIDER DESKTOP - PRIORITAS TINGGI ===== */

/* Desktop Besar - Slider Sangat Besar */
@media (min-width: 1200px) {
	.hero-slide {
		min-height: 70vh !important; /* Sangat besar untuk desktop */
	}

	.hero-title {
		font-size: 4rem !important;
	}

	.hero-description {
		font-size: 1.3rem !important;
	}

	.hero-actions .btn {
		padding: 1rem 2.5rem !important;
		font-size: 1.1rem !important;
	}
}

/* Desktop Sedang */
@media (min-width: 992px) and (max-width: 1199px) {
	.hero-slide {
		min-height: 80vh !important; /* Besar untuk desktop sedang */
	}

	.hero-title {
		font-size: 3.5rem !important;
	}

	.hero-description {
		font-size: 1.2rem !important;
	}

	.hero-actions .btn {
		padding: 0.9rem 2.2rem !important;
		font-size: 1rem !important;
	}
}

/* Override untuk memastikan slider besar di desktop */
@media (min-width: 992px) {
	.hero-slider {
		margin-top: 5px !important; /* Jarak lebih besar di desktop */
	}

	.carousel-indicators {
		bottom: 25px !important;
	}

	.carousel-indicators [data-bs-target] {
		width: 14px !important;
		height: 14px !important;
		margin: 0 5px !important;
	}

	.carousel-control-prev-icon,
	.carousel-control-next-icon {
		width: 3rem !important;
		height: 3rem !important;
	}
}

@media (max-width: 576px) {
	.logo-img {
		height: 50px;
	}

	.btn-sm {
		padding: 0.25rem 0.5rem;
		font-size: 0.8rem;
	}
}
/* Slider Components */
.slider {
	width: 100%;
	margin: 0 0 40px 0;
	position: relative;
	overflow: hidden;
	border-radius: 0;
	box-shadow: none;
	min-height: 550px;
	background-color: #f8f9fa;
	display: block !important;
	visibility: visible !important;
}

/* Main Content Container */
.main-content-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	background: #ffffff;
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2), 0 15px 40px rgba(0, 0, 0, 0.15),
		0 5px 15px rgba(0, 0, 0, 0.1);
	border-radius: 20px;
	overflow: hidden;
	position: relative;
	border: 2px solid rgba(255, 255, 255, 0.8);
	transform: translateY(0);
	transition: all 0.3s ease;
}

.main-content-wrapper:hover {
	transform: translateY(-8px);
	box-shadow: 0 40px 120px rgba(0, 0, 0, 0.3), 0 25px 60px rgba(0, 0, 0, 0.25),
		0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Box Animation */
@keyframes boxFloat {
	0%,
	100% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-3px);
	}
}

.main-content-wrapper {
	animation: boxFloat 6s ease-in-out infinite;
}

/* Container untuk memberikan padding pada slider */
.slider-container {
	padding: 0;
	margin-top: 0;
}

/* Spacing between navbar and slider */
.navbar + .slider-container,
.navbar + * .slider-container {
	margin-top: 0;
}

/* Debug: Make sure slider section is visible */
section.slider {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.main-slider {
	width: 100%;
	height: 550px;
	display: block !important;
	overflow: hidden;
	border-radius: 0;
	position: relative;
}

/* Fallback for when Swiper is not loaded */
.main-slider .swiper-wrapper {
	display: flex;
	width: 100%;
	height: 100%;
}

.main-slider .swiper-slide {
	flex-shrink: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}

/* Show first slide by default when Swiper is not loaded */
.main-slider .swiper-slide:first-child {
	display: flex;
}

.main-slider .swiper-slide:not(:first-child) {
	display: none;
}

/* When Swiper is loaded, show all slides */
.swiper-initialized .swiper-slide {
	display: flex !important;
}

/* Fallback slide styling */
.main-slider .swiper-slide .slide-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	color: white;
}

.main-slider .swiper-slide .slide-description {
	font-size: 1.2rem;
	color: rgba(255, 255, 255, 0.9);
}

.main-slider .swiper-slide img,
.main-slider .swiper-slide .slider-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.6s ease;
	display: block;
}

.slider::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 30%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
	z-index: 1;
	pointer-events: none;
}

/* Slide Content Overlay */
.slide-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
	color: white;
	padding: 40px 0 30px;
	z-index: 2;
}

.slide-text {
	text-align: left;
}

.slide-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	line-height: 1.2;
	color: white;
}

.slide-description {
	font-size: 1.2rem;
	margin-bottom: 1.5rem;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.9);
}

.slide-content .btn {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
	color: white;
	font-weight: 600;
	padding: 12px 24px;
	border-radius: 6px;
	text-decoration: none;
	display: inline-block;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.slide-content .btn:hover {
	background-color: #0056b3;
	border-color: #0056b3;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
	color: white;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
	color: #fff;
	background: rgba(0, 0, 0, 0.4);
	backdrop-filter: blur(10px);
	border-radius: 50%;
	width: 50px;
	height: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: all 0.3s ease;
	z-index: 10;
	margin-top: -25px;
	touch-action: none;
	border: 2px solid rgba(255, 255, 255, 0.2);
}

.swiper-button-next {
	right: 20px;
}

.swiper-button-prev {
	left: 20px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
	background: rgba(0, 0, 0, 0.7);
	transform: scale(1.1);
	border-color: rgba(255, 255, 255, 0.4);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.swiper-button-next:after,
.swiper-button-prev:after {
	font-size: 20px;
	font-weight: bold;
}

.swiper-pagination {
	bottom: 20px !important;
}

.swiper-pagination-bullet {
	background: rgba(255, 255, 255, 0.6);
	opacity: 1;
	width: 12px;
	height: 12px;
	transition: all 0.3s ease;
	margin: 0 4px;
	border-radius: 50%;
}

.swiper-pagination-bullet-active {
	background: var(--primary-color);
	width: 16px;
	height: 16px;
	box-shadow: 0 2px 8px rgba(13, 110, 253, 0.4);
}

/* Skeleton Loading */
.skeleton-slider {
	width: 100%;
	height: 550px;
	background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
	background-size: 200% 100%;
	animation: loading 1.5s infinite;
	display: block !important;
	position: relative;
	z-index: 1;
	border-radius: 0;
}

@keyframes loading {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

/* Performance Optimizations */
.main-slider .swiper-slide {
	transform: translateZ(0);
	will-change: transform;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

/* Modern Animations */
@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInScale {
	from {
		opacity: 0;
		transform: scale(0.95);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.slider {
	animation: fadeInScale 0.6s ease-out;
}

.slide-content {
	animation: slideInUp 0.8s ease-out 0.3s both;
}

/* Hover Effects */
.main-slider .swiper-slide:hover img {
	transform: scale(1.05);
}

.main-slider .swiper-slide img {
	transition: transform 0.6s ease;
}

img.lazy-image,
img.slider-image {
	transition: opacity 0.3s ease;
	opacity: 1;
}

img.lazy-image.loaded,
img.slider-image.loaded {
	opacity: 1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
	body {
		padding: 20px 15px;
		background: radial-gradient(
				circle at 25% 75%,
				rgba(120, 119, 198, 0.4) 0%,
				transparent 50%
			),
			radial-gradient(
				circle at 75% 25%,
				rgba(255, 119, 198, 0.4) 0%,
				transparent 50%
			),
			linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
	}

	.main-content-wrapper {
		max-width: 100%;
		margin: 0 auto;
		border-radius: 16px;
		box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2), 0 15px 40px rgba(0, 0, 0, 0.15),
			0 8px 20px rgba(0, 0, 0, 0.1);
		border: 2px solid rgba(255, 255, 255, 0.8);
	}

	.top-bar {
		border-radius: 16px 16px 0 0;
	}

	.footer {
		border-radius: 0 0 16px 16px;
	}

	.navbar {
		border-radius: 0;
		margin-bottom: 0;
	}

	.slider-container {
		padding: 0;
	}

	.slider {
		width: 100%;
		margin: 0 0 25px 0;
		border-radius: 0;
		box-shadow: none;
	}

	.slider::after {
		height: 40%;
	}

	.main-slider,
	.skeleton-slider {
		height: 220px;
		border-radius: 0;
	}

	.slide-content {
		padding: 15px 0 10px;
		background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
	}

	.slide-title {
		font-size: 1.3rem;
		margin-bottom: 0.5rem;
		line-height: 1.3;
	}

	.slide-description {
		font-size: 0.9rem;
		margin-bottom: 0.8rem;
		line-height: 1.4;
	}

	.slide-content .btn {
		font-size: 0.85rem;
		padding: 8px 16px;
	}

	/* Swiper navigation fixes */
	.swiper-button-next,
	.swiper-button-prev {
		width: 40px;
		height: 40px;
		margin-top: -20px;
	}

	.swiper-button-next {
		right: 15px;
	}

	.swiper-button-prev {
		left: 15px;
	}

	.swiper-button-next:after,
	.swiper-button-prev:after {
		font-size: 16px;
	}

	.swiper-pagination {
		bottom: 15px !important;
	}

	.swiper-pagination-bullet {
		width: 10px;
		height: 10px;
		margin: 0 3px;
	}

	.swiper-pagination-bullet-active {
		width: 12px;
		height: 12px;
	}
}

@media (max-width: 576px) {
	body {
		padding: 15px 10px;
		background: radial-gradient(
				circle at 30% 70%,
				rgba(120, 119, 198, 0.5) 0%,
				transparent 40%
			),
			radial-gradient(
				circle at 70% 30%,
				rgba(255, 119, 198, 0.5) 0%,
				transparent 40%
			),
			linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
	}

	.main-content-wrapper {
		max-width: 100%;
		margin: 0 auto;
		border-radius: 12px;
		box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18), 0 12px 30px rgba(0, 0, 0, 0.12),
			0 6px 15px rgba(0, 0, 0, 0.08);
		border: 2px solid rgba(255, 255, 255, 0.9);
	}

	.top-bar {
		border-radius: 12px 12px 0 0;
	}

	.footer {
		border-radius: 0 0 12px 12px;
	}

	.navbar {
		border-radius: 0;
		margin-bottom: 0;
	}

	.slider-container {
		padding: 0;
	}

	.slider {
		width: 100%;
		margin: 0 0 20px 0;
		border-radius: 0;
	}

	.main-slider,
	.skeleton-slider {
		border-radius: 0;
	}

	.slide-content {
		padding: 10px 0 8px;
		background: linear-gradient(
			to top,
			rgba(0, 0, 0, 0.95),
			rgba(0, 0, 0, 0.4)
		);
	}

	.slide-title {
		font-size: 1.1rem;
		margin-bottom: 0.3rem;
		line-height: 1.2;
	}

	.slide-description {
		font-size: 0.8rem;
		margin-bottom: 0.6rem;
		line-height: 1.3;
	}

	.slide-content .btn {
		font-size: 0.8rem;
		padding: 6px 12px;
		border-radius: 6px;
	}

	/* Hide navigation buttons on very small screens */
	.swiper-button-next,
	.swiper-button-prev {
		display: none;
	}

	/* Make pagination more prominent */
	.swiper-pagination {
		bottom: 10px !important;
	}

	.swiper-pagination-bullet {
		width: 8px;
		height: 8px;
		margin: 0 2px;
	}

	.swiper-pagination-bullet-active {
		width: 10px;
		height: 10px;
	}
}

/* Program Prioritas Section */
.program-prioritas {
	background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
	margin: 0;
	padding: 60px 0;
}

.program-card {
	transition: all 0.3s ease;
	border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.program-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.program-card .icon-circle {
	transition: all 0.3s ease;
}

.program-card:hover .icon-circle {
	transform: scale(1.1);
}

.program-card .btn {
	transition: all 0.3s ease;
}

.program-card:hover .btn {
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

/* Latest News & Berita Dinas */
.latest-news,
.berita-dinas {
	position: relative;
	margin: 0;
	padding: 60px 0;
}

.latest-news::before,
.berita-dinas::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(
		90deg,
		transparent,
		rgba(0, 0, 0, 0.1),
		transparent
	);
}

/* Photo Gallery */
.photo-gallery {
	background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
	margin: 0;
	padding: 60px 0;
}

.gallery-item {
	transition: all 0.3s ease;
	cursor: pointer;
}

.gallery-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery-overlay {
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
	opacity: 1;
}

.gallery-overlay .btn {
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.gallery-overlay .btn:hover {
	transform: scale(1.1);
	background-color: var(--primary-color) !important;
	color: white !important;
}

/* Enhanced Buttons */
.btn.rounded-pill {
	font-weight: 500;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
}

.btn.rounded-pill:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-outline-primary.rounded-pill:hover {
	background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
	border-color: var(--primary-color);
}

/* Section Spacing */
section {
	position: relative;
}

section + section {
	margin-top: 0;
}

/* Typography Enhancements */
h2.fw-bold {
	position: relative;
	display: inline-block;
}

h2.fw-bold::after {
	content: "";
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 50px;
	height: 3px;
	background: linear-gradient(90deg, var(--primary-color), transparent);
	border-radius: 2px;
}

/* Statistics Section Enhancement */
.statistics {
	background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
	position: relative;
	overflow: hidden;
	margin: 0;
	padding: 60px 0;
}

.statistics::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>')
		repeat;
	animation: float 20s linear infinite;
}

@keyframes float {
	0% {
		transform: translate(-50%, -50%) rotate(0deg);
	}
	100% {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

.stat-item {
	position: relative;
	z-index: 1;
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
	.program-prioritas,
	.latest-news,
	.berita-dinas,
	.photo-gallery,
	.statistics {
		padding: 40px 0;
	}

	.program-card {
		margin-bottom: 1rem;
	}

	.gallery-item {
		margin-bottom: 1rem;
	}

	.col-lg-3.col-md-6:last-child .gallery-item:last-child {
		margin-bottom: 0;
	}

	h2.fw-bold {
		font-size: 1.75rem;
	}

	.btn.rounded-pill {
		font-size: 0.9rem;
		padding: 0.5rem 1.5rem;
	}
}

@media (max-width: 576px) {
	.program-prioritas,
	.latest-news,
	.berita-dinas,
	.photo-gallery,
	.statistics {
		padding: 30px 0;
	}

	.program-prioritas .col-lg-3 {
		margin-bottom: 1.5rem;
	}

	.gallery-item img {
		height: 200px !important;
	}

	.col-lg-6.col-md-6 .gallery-item img {
		height: 250px !important;
	}

	h2.fw-bold {
		font-size: 1.5rem;
	}

	.text-lg-end {
		text-align: center !important;
		margin-top: 1rem;
	}
}

/* Produk Hukum Styles */
.produk-hero {
	background: radial-gradient(
			circle at 20% 80%,
			rgba(0, 123, 255, 0.3) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 80% 20%,
			rgba(0, 86, 179, 0.4) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 40% 40%,
			rgba(13, 110, 253, 0.2) 0%,
			transparent 50%
		),
		linear-gradient(
			135deg,
			#1e3a8a 0%,
			#1e40af 25%,
			#2563eb 50%,
			#3b82f6 75%,
			#60a5fa 100%
		);
	position: relative;
	overflow: hidden;
}

.produk-hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image:
        /* Network lines */ linear-gradient(
			45deg,
			rgba(255, 255, 255, 0.08) 1px,
			transparent 1px
		),
		linear-gradient(-45deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
		/* Connection dots */
			radial-gradient(
				circle at 25% 25%,
				rgba(255, 255, 255, 0.15) 2px,
				transparent 2px
			),
		radial-gradient(
			circle at 75% 75%,
			rgba(255, 255, 255, 0.12) 1px,
			transparent 1px
		),
		radial-gradient(
			circle at 50% 10%,
			rgba(255, 255, 255, 0.08) 1px,
			transparent 1px
		),
		radial-gradient(
			circle at 10% 60%,
			rgba(255, 255, 255, 0.08) 1px,
			transparent 1px
		),
		radial-gradient(
			circle at 90% 40%,
			rgba(255, 255, 255, 0.08) 1px,
			transparent 1px
		);
	background-size: 50px 50px, 50px 50px, 80px 80px, 70px 70px, 100px 100px,
		80px 80px, 90px 90px;
	background-position: 0 0, 25px 25px, 0 0, 40px 40px, 80px 0, 0 60px,
		120px 80px;
	animation: digitalFlow 15s linear infinite;
	pointer-events: none;
	opacity: 0.5;
}

.bg-gradient-primary {
	background: radial-gradient(
			circle at 20% 80%,
			rgba(0, 123, 255, 0.3) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 80% 20%,
			rgba(0, 86, 179, 0.4) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 40% 40%,
			rgba(13, 110, 253, 0.2) 0%,
			transparent 50%
		),
		linear-gradient(
			135deg,
			#1e3a8a 0%,
			#1e40af 25%,
			#2563eb 50%,
			#3b82f6 75%,
			#60a5fa 100%
		) !important;
	position: relative;
	overflow: hidden;
}

.bg-gradient-primary::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image:
        /* Network lines */ linear-gradient(
			45deg,
			rgba(255, 255, 255, 0.06) 1px,
			transparent 1px
		),
		linear-gradient(-45deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
		/* Connection dots */
			radial-gradient(
				circle at 25% 25%,
				rgba(255, 255, 255, 0.12) 1px,
				transparent 1px
			),
		radial-gradient(
			circle at 75% 75%,
			rgba(255, 255, 255, 0.1) 1px,
			transparent 1px
		),
		radial-gradient(
			circle at 50% 10%,
			rgba(255, 255, 255, 0.08) 1px,
			transparent 1px
		),
		radial-gradient(
			circle at 10% 60%,
			rgba(255, 255, 255, 0.08) 1px,
			transparent 1px
		),
		radial-gradient(
			circle at 90% 40%,
			rgba(255, 255, 255, 0.08) 1px,
			transparent 1px
		);
	background-size: 40px 40px, 40px 40px, 60px 60px, 50px 50px, 80px 80px,
		60px 60px, 70px 70px;
	background-position: 0 0, 20px 20px, 0 0, 30px 30px, 60px 0, 0 50px,
		100px 60px;
	animation: digitalFlow 12s linear infinite;
	pointer-events: none;
	opacity: 0.4;
	z-index: 1;
}

.bg-gradient-primary > * {
	position: relative;
	z-index: 2;
}

/* Home Page Specific Styles */
.min-vh-50 {
	min-height: 50vh;
}

.hover-lift {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-card:hover,
.service-detail-card:hover,
.news-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
	transition: all 0.3s ease;
}

.pengumuman-item:hover {
	transform: translateX(5px);
	transition: transform 0.3s ease;
}

.contact-section {
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-icon {
	width: 40px;
	height: 40px;
	background: rgba(13, 110, 253, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gallery-overlay {
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
	opacity: 1;
}

/* News Card Enhancements */
.news-date {
	z-index: 2;
}

.news-card {
	transition: all 0.3s ease;
	border: 1px solid rgba(0, 0, 0, 0.05);
}

.news-card:hover {
	border-color: rgba(13, 110, 253, 0.2);
}

/* Button Enhancements */
.btn-outline-primary:hover,
.btn-outline-success:hover,
.btn-outline-info:hover,
.btn-outline-warning:hover {
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Header Enhancements */
.main-header {
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.search-box .form-control {
	border-right: none;
}

.search-box .btn {
	border-left: none;
}

/* Footer Enhancements */
.footer {
	background: linear-gradient(135deg, #212529 0%, #343a40 100%) !important;
}

/* Skeleton Loader Styles */
.skeleton-slider {
	background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
	min-height: 50vh;
	position: relative;
	overflow: hidden;
}

.skeleton-slide {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 50vh;
	padding: 2rem;
}

.skeleton-content {
	text-align: center;
	max-width: 600px;
}

.skeleton-title {
	height: 60px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	margin-bottom: 1.5rem;
	animation: skeleton-loading 1.5s infinite ease-in-out;
}

.skeleton-text {
	height: 20px;
	background: rgba(255, 255, 255, 0.15);
	border-radius: 4px;
	margin-bottom: 2rem;
	animation: skeleton-loading 1.5s infinite ease-in-out 0.2s;
}

.skeleton-buttons {
	height: 50px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 25px;
	animation: skeleton-loading 1.5s infinite ease-in-out 0.4s;
}

@keyframes skeleton-loading {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
}

/* Swiper Slider Styles */
.main-slider {
	position: relative;
	width: 100%;
	height: auto;
}

.main-slider .swiper-slide {
	width: 100%;
	height: auto;
}

.main-slider .swiper-button-next,
.main-slider .swiper-button-prev {
	color: rgba(255, 255, 255, 0.8);
	background: rgba(0, 0, 0, 0.2);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	transition: all 0.3s ease;
}

.main-slider .swiper-button-next:hover,
.main-slider .swiper-button-prev:hover {
	color: white;
	background: rgba(0, 0, 0, 0.4);
	transform: scale(1.1);
}

.main-slider .swiper-button-next::after,
.main-slider .swiper-button-prev::after {
	font-size: 18px;
	font-weight: bold;
}

.main-slider .swiper-pagination {
	bottom: 20px;
}

.main-slider .swiper-pagination-bullet {
	background: rgba(255, 255, 255, 0.5);
	opacity: 1;
	transition: all 0.3s ease;
}

.main-slider .swiper-pagination-bullet-active {
	background: white;
	transform: scale(1.2);
}

/* Hero Section Enhancements */
.hero-section {
	position: relative;
	z-index: 1;
}

.hero-bg-image {
	z-index: -1;
}

.hero-bg-image img {
	filter: blur(1px);
}

/* Responsive Enhancements */
@media (max-width: 768px) {
	.min-vh-50 {
		min-height: 40vh;
	}

	.hero-buttons .btn {
		display: block;
		width: 100%;
		margin-bottom: 1rem;
	}

	.contact-section {
		margin-top: 2rem;
	}

	.skeleton-slider,
	.skeleton-slide {
		min-height: 40vh;
	}

	.skeleton-title {
		height: 40px;
	}

	.main-slider .swiper-button-next,
	.main-slider .swiper-button-prev {
		width: 40px;
		height: 40px;
	}

	.main-slider .swiper-button-next::after,
	.main-slider .swiper-button-prev::after {
		font-size: 14px;
	}
}

.text-white-75 {
	color: rgba(255, 255, 255, 0.75) !important;
}

.backdrop-blur {
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.filter-section {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.filter-card {
	border: 1px solid rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.filter-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Produk Cards */
.produk-card {
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	border: 1px solid rgba(0, 0, 0, 0.05);
	background: #ffffff;
}

.produk-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
	border-color: var(--primary-color);
}

.hover-lift {
	transition: all 0.3s ease;
}

.hover-primary:hover {
	color: var(--primary-color) !important;
}

.line-clamp-2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.4;
	height: calc(1.4em * 2);
}

/* Skeleton Loading */
.skeleton-container {
	animation: fadeIn 0.3s ease-out;
}

.skeleton-card {
	border: 1px solid rgba(0, 0, 0, 0.05);
	background: #ffffff;
}

.skeleton {
	background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
	background-size: 200% 100%;
	animation: loading 1.5s infinite;
	border-radius: 4px;
}

.skeleton-badge {
	width: 120px;
	height: 24px;
	border-radius: 12px;
}

.skeleton-status {
	width: 80px;
	height: 20px;
	border-radius: 10px;
}

.skeleton-title {
	width: 100%;
	height: 20px;
}

.skeleton-text {
	width: 80%;
	height: 14px;
}

.skeleton-meta {
	width: 100px;
	height: 14px;
}

.skeleton-button {
	width: 60px;
	height: 32px;
	border-radius: 16px;
}

@keyframes loading {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

/* Empty State */
.empty-state {
	padding: 4rem 2rem;
}

.empty-icon {
	opacity: 0.3;
}

/* Animations */
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Pagination */
.pagination-wrapper {
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	padding-top: 2rem;
}

.pagination-info {
	font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
	.produk-hero {
		padding: 3rem 0 !important;
	}

	.produk-hero .display-4 {
		font-size: 2rem;
	}

	.filter-card {
		margin-bottom: 1rem;
	}

	.produk-card {
		margin-bottom: 1.5rem;
	}

	.line-clamp-2 {
		-webkit-line-clamp: 3;
		line-clamp: 3;
		height: calc(1.4em * 3);
	}
}

@media (max-width: 576px) {
	.produk-hero {
		padding: 2rem 0 !important;
	}

	.produk-hero .display-4 {
		font-size: 1.75rem;
	}

	.hero-stats {
		margin-top: 2rem;
	}

	.filter-card .row.g-3 > div {
		margin-bottom: 1rem;
	}
}

/* Detail Page Styles */
.detail-hero {
	background: radial-gradient(
			circle at 20% 80%,
			rgba(0, 123, 255, 0.3) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 80% 20%,
			rgba(0, 86, 179, 0.4) 0%,
			transparent 50%
		),
		radial-gradient(
			circle at 40% 40%,
			rgba(13, 110, 253, 0.2) 0%,
			transparent 50%
		),
		linear-gradient(
			135deg,
			#1e3a8a 0%,
			#1e40af 25%,
			#2563eb 50%,
			#3b82f6 75%,
			#60a5fa 100%
		);
	position: relative;
	overflow: hidden;
}

.hero-pattern {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-image:
        /* Network lines */ linear-gradient(
			45deg,
			rgba(255, 255, 255, 0.1) 1px,
			transparent 1px
		),
		linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
		/* Connection dots */
			radial-gradient(
				circle at 25% 25%,
				rgba(255, 255, 255, 0.2) 2px,
				transparent 2px
			),
		radial-gradient(
			circle at 75% 75%,
			rgba(255, 255, 255, 0.15) 1px,
			transparent 1px
		),
		radial-gradient(
			circle at 50% 10%,
			rgba(255, 255, 255, 0.1) 1px,
			transparent 1px
		),
		radial-gradient(
			circle at 10% 60%,
			rgba(255, 255, 255, 0.1) 1px,
			transparent 1px
		),
		radial-gradient(
			circle at 90% 40%,
			rgba(255, 255, 255, 0.1) 1px,
			transparent 1px
		),
		/* Digital mesh pattern */
			url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><defs><pattern id="digitalMesh" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M0 20 L20 0 L40 20 L20 40 Z" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="200" height="200" fill="url(%23digitalMesh)"/></svg>');
	background-size: 60px 60px, 60px 60px, 100px 100px, 80px 80px, 120px 120px,
		90px 90px, 110px 110px, 200px 200px;
	background-position: 0 0, 30px 30px, 0 0, 50px 50px, 100px 0, 0 80px,
		150px 100px, 0 0;
	animation: digitalFlow 20s linear infinite;
	pointer-events: none;
	opacity: 0.6;
}

.hero-pattern::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background:
        /* Floating particles */ radial-gradient(
			circle at 15% 85%,
			rgba(255, 255, 255, 0.1) 1px,
			transparent 1px
		),
		radial-gradient(
			circle at 85% 15%,
			rgba(255, 255, 255, 0.08) 1px,
			transparent 1px
		),
		radial-gradient(
			circle at 70% 70%,
			rgba(255, 255, 255, 0.06) 1px,
			transparent 1px
		),
		radial-gradient(
			circle at 30% 30%,
			rgba(255, 255, 255, 0.08) 1px,
			transparent 1px
		),
		radial-gradient(
			circle at 60% 10%,
			rgba(255, 255, 255, 0.05) 1px,
			transparent 1px
		),
		radial-gradient(
			circle at 10% 40%,
			rgba(255, 255, 255, 0.07) 1px,
			transparent 1px
		),
		radial-gradient(
			circle at 90% 80%,
			rgba(255, 255, 255, 0.06) 1px,
			transparent 1px
		);
	background-size: 300px 300px, 250px 250px, 400px 400px, 350px 350px,
		200px 200px, 280px 280px, 320px 320px;
	animation: particleFloat 25s ease-in-out infinite;
}

@keyframes digitalFlow {
	0% {
		background-position: 0 0, 30px 30px, 0 0, 50px 50px, 100px 0, 0 80px,
			150px 100px, 0 0;
	}
	100% {
		background-position: 60px 60px, 90px 90px, 100px 100px, 150px 150px,
			200px 100px, 100px 180px, 250px 200px, 200px 200px;
	}
}

@keyframes particleFloat {
	0%,
	100% {
		transform: translateY(0px) translateX(0px);
		opacity: 0.6;
	}
	25% {
		transform: translateY(-10px) translateX(5px);
		opacity: 0.8;
	}
	50% {
		transform: translateY(-5px) translateX(-3px);
		opacity: 0.7;
	}
	75% {
		transform: translateY(-15px) translateX(8px);
		opacity: 0.9;
	}
}

.hero-content {
	position: relative;
	z-index: 2;
}

.hero-meta .meta-item {
	font-size: 0.9rem;
}

.action-buttons .btn {
	min-width: 200px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.action-buttons .btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Detail Content */
.detail-content {
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.preview-card,
.details-card {
	border: 1px solid rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.preview-card:hover,
.details-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* Document Preview */
.document-preview {
	height: 300px;
	background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
	border-radius: 0 0 8px 8px;
}

.preview-placeholder {
	height: 100%;
	padding: 2rem;
}

/* Info Sections */
.info-section {
	margin-bottom: 2rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.info-section:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

.section-title {
	color: var(--primary-color);
	font-weight: 600;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--primary-color);
	display: inline-block;
}

.info-item {
	margin-bottom: 1rem;
}

.info-label {
	font-weight: 600;
	color: #6c757d;
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 0.25rem;
	display: block;
}

.info-value {
	color: #212529;
	font-size: 0.95rem;
	line-height: 1.5;
}

.info-value.fw-bold {
	font-weight: 700;
	color: var(--primary-color);
}

.description-text {
	background: #f8f9fa;
	padding: 1rem;
	border-radius: 8px;
	border-left: 4px solid var(--primary-color);
	line-height: 1.6;
}

/* PDF Modal */
.modal-xl {
	max-width: 90vw;
}

.pdf-loading {
	background: #f8f9fa;
}

#pdfFrame {
	border-radius: 8px;
}

/* Toast Notifications */
.toast-container {
	z-index: 9999;
}

.toast {
	min-width: 300px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Share Modal */
#shareModal .modal-content {
	border: none;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

#shareModal .btn {
	transition: all 0.3s ease;
}

#shareModal .btn:hover {
	transform: translateY(-2px);
}

/* Responsive Detail Page */
@media (max-width: 768px) {
	.detail-hero {
		padding: 3rem 0 !important;
	}

	.detail-hero .display-5 {
		font-size: 1.75rem;
	}

	.hero-meta {
		flex-direction: column !important;
		gap: 1rem !important;
	}

	.action-buttons {
		flex-direction: row !important;
		gap: 1rem !important;
	}

	.action-buttons .btn {
		min-width: auto;
		flex: 1;
	}

	.preview-card {
		margin-bottom: 2rem;
	}

	.document-preview {
		height: 250px;
	}

	.info-section {
		margin-bottom: 1.5rem;
		padding-bottom: 1rem;
	}

	.section-title {
		font-size: 1rem;
	}

	.modal-xl {
		max-width: 95vw;
	}

	#pdfFrame {
		height: 400px !important;
	}
}

@media (max-width: 576px) {
	.detail-hero {
		padding: 2rem 0 !important;
	}

	.detail-hero .display-5 {
		font-size: 1.5rem;
		line-height: 1.3;
	}

	.hero-meta .meta-item {
		font-size: 0.8rem;
	}

	.action-buttons {
		flex-direction: column !important;
		gap: 0.75rem !important;
	}

	.action-buttons .btn {
		font-size: 0.9rem;
		padding: 0.75rem 1.5rem;
	}

	.document-preview {
		height: 200px;
	}

	.preview-placeholder {
		padding: 1rem;
	}

	.preview-placeholder .fa-4x {
		font-size: 2.5rem !important;
	}

	.info-item {
		margin-bottom: 0.75rem;
	}

	.description-text {
		padding: 0.75rem;
		font-size: 0.9rem;
	}

	#pdfFrame {
		height: 300px !important;
	}
}

/* Print Styles */
@media print {
	.detail-hero,
	.action-buttons,
	.card-footer,
	.modal {
		display: none !important;
	}

	.detail-content {
		background: white !important;
	}

	.card {
		border: 1px solid #ddd !important;
		box-shadow: none !important;
	}

	.info-value {
		color: black !important;
	}
}

/* ===== FONT AWESOME ICON FIXES - CRITICAL ===== */

/* Override Poppins font untuk semua Font Awesome icons */
.fas,
.far,
.fab,
.fal,
.fad,
.fa,
i.fas,
i.far,
i.fab,
i.fal,
i.fad,
i.fa,
span.fas,
span.far,
span.fab,
span.fal,
span.fad,
span.fa {
	font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro",
		"Font Awesome 6 Brands", "FontAwesome" !important;
	font-style: normal !important;
	font-variant: normal !important;
	text-rendering: auto !important;
	line-height: 1 !important;
	-webkit-font-smoothing: antialiased !important;
	-moz-osx-font-smoothing: grayscale !important;
}

/* Specific Font Awesome weights */
.fas,
.fa-solid {
	font-weight: 900 !important;
}

.far,
.fa-regular {
	font-weight: 400 !important;
}

.fab,
.fa-brands {
	font-family: "Font Awesome 6 Brands", "FontAwesome" !important;
	font-weight: 400 !important;
}

.fal,
.fa-light {
	font-weight: 300 !important;
}

.fad,
.fa-duotone {
	font-weight: 900 !important;
}

/* Force Font Awesome untuk pseudo-elements */
.fas::before,
.far::before,
.fab::before,
.fal::before,
.fad::before,
.fa::before,
i.fas::before,
i.far::before,
i.fab::before,
i.fal::before,
i.fad::before,
i.fa::before {
	font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro",
		"Font Awesome 6 Brands", "FontAwesome" !important;
	font-weight: inherit !important;
	font-style: normal !important;
}

/* Navbar toggler icon fix */
.navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
	width: 1.5em !important;
	height: 1.5em !important;
}

/* Debug mode untuk troubleshooting icons */
.debug-icons .fas::before,
.debug-icons .far::before,
.debug-icons .fab::before {
	content: "?" !important;
	background: red !important;
	color: white !important;
	padding: 2px !important;
	border-radius: 2px !important;
	font-size: 0.8em !important;
}
