/*** Spinner Start ***/

#spinner {
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.8s ease-out, visibility 0s linear 0.5s;
	z-index: 99999;
}

#spinner.show {
	transition: opacity 0.8s ease-out, visibility 0s linear 0s;
	visibility: visible;
	opacity: 1;
}

.wow,
.animated {
	animation-duration: 2s !important;
}

/*** Spinner End ***/

.back-to-top {
	position: fixed;
	right: 30px;
	bottom: 120px;
	display: flex;
	width: 50px;
	height: 50px;
	align-items: center;
	justify-content: center;
	transition: 0.5s;
	z-index: 99;
}

.back-to-top:hover {
	background: var(--bs-dark);
	color: var(--bs-primary);
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
	font-weight: 700 !important;
	font-family: "Open", sans-serif !important;
}

h4,
h5,
h6,
.h4,
.h5,
.h6 {
	font-weight: 600 !important;
	font-family: "Open", sans-serif !important;
}

.py-6 {
	padding-top: 6rem;
	padding-bottom: 6rem;
}

/*** Button Start ***/

.btn {
	font-weight: 600;
	transition: 0.5s;
}

.btn-square {
	width: 38px;
	height: 38px;
}

.btn-sm-square {
	width: 32px;
	height: 32px;
}

.btn-md-square {
	width: 46px;
	height: 46px;
}

.btn-lg-square {
	width: 58px;
	height: 58px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: normal;
}

.btn.btn-primary:hover {
	color: var(--bs-primary) !important;
	background: var(--bs-dark) !important;
	border-color: var(--bs-dark) !important;
}

.btn.btn-dark:hover {
	color: var(--bs-dark) !important;
	background: var(--bs-primary) !important;
	border-color: var(--bs-primary) !important;
}
/*** Button End ***/

/*** Topbar Start ***/
.topbar .topbar-inner {
	height: 45px;
	padding: 10px 15px;
	background: rgba(255, 255, 255, 0.5);
}

.topbar a,
.topbar a i {
	transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
	color: var(--bs-primary) !important;
}
/*** Topbar End ***/

/*** Navbar Start ***/
.fixed-top {
	transition: 0.5s;
}

.navbar {
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.navbar .navbar-nav .nav-link {
	padding: 12px;
	color: var(--bs-dark);
	font-size: 17px;
	font-weight: 600;
	transition: 0.5s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
	color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
	border: none;
	content: "\f107";
	font-family: "Font Awesome 5 Free";
	font-weight: 700;
	vertical-align: middle;
	margin-left: 8px;
}

@media (min-width: 992px) {
	.navbar-collapse {
		background: transparent !important;
	}

	.navbar .nav-item .dropdown-menu {
		display: block;
		visibility: hidden;
		top: 100%;
		transform: rotateX(-75deg);
		transform-origin: 0% 0%;
		border: 0;
		transition: 0.5s;
		opacity: 0;
	}

	.navbar .nav-item:hover .dropdown-menu {
		transform: rotateX(0deg);
		visibility: visible;
		background: var(--bs-light) !important;
		transition: 0.5s;
		opacity: 1;
	}
}

.navbar-toggler {
	background: var(--bs-secondary);
	color: var(--bs-light) !important;
	padding: 10px 20px;
	border: 2px solid var(--bs-primary) !important;
	box-shadow: none !important;
}
/*** Navbar End ***/

/** Member Modal Start ***/
.memberModal .modal-content {
	border-radius: 10px;
	overflow: hidden;
	transition: all 0.3s ease-in-out;
}

.memberModal .modal-header {
	border-radius: 10px 10px 0 0;
	border-bottom: none;
}

.memberModal .modal-body {
	padding: 20px;
}

.memberModal .modal-footer {
	border-top: none;
	padding-bottom: 20px;
}

/* Icon Profil */
.memberModal .member-icon i {
	font-size: 70px;
	color: var(--bs-primary);
}

/* Tombol Close */
.memberModal .btn-close-white {
	filter: invert(1);
}

.memberModal .btn-close-white:hover {
	color: var(--bs-dark) !important;
}
/** Member Modal End ***/

/*** Hero Header with Carousel ***/
.hero-header {
	position: relative;
	height: 95vh;
	overflow: hidden;
}

.hero-header .carousel-item img {
	height: 100%;
	object-fit: cover;
}

/* Overlay untuk teks */
.hero-header .carousel-caption {
	position: absolute;
	top: 50%;
	left: 10%;
	transform: translateY(-50%);
	text-align: left;
	background: rgba(255, 255, 255, 0.5);
	padding: 2.5rem;
	border-radius: 10px;
}

.hero-header .carousel-caption h1 {
	font-size: 3rem;
	font-weight: bold;
}

.hero-header .carousel-caption p {
	font-size: 1.5rem;
}

/* Responsiveness */
@media (max-width: 992px) {
	.hero-header {
		height: 75vh;
	}

	.hero-header .carousel-caption {
		left: 5%;
		right: 5%;
		padding: 1.5rem;
	}

	.hero-header .carousel-caption h1 {
		font-size: 2rem;
	}
}

@media (max-width: 768px) {
	.hero-header {
		height: 50vh;
	}

	.hero-header .carousel-caption {
		padding: 1rem;
	}

	.hero-header .carousel-caption h1 {
		font-size: 1.8rem;
	}
}
/*** Hero Header ***/

/*** About Start ***/
.about a.btn.btn-light:hover {
	background: var(--bs-dark) !important;
	color: var(--bs-primary) !important;
	border: 0;
}
/*** About End ***/

/*** Activities Start ***/
.activities .activities-card {
	position: relative;
}

.activities .activities-item {
	height: 96%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 45px rgba(12, 18, 20, 0.08);
	transition: all 0.5s ease-in-out;
	overflow: hidden;
	cursor: pointer;
	position: relative;
}

.activities .activities-item:hover {
	background: var(--bs-primary) !important;
	color: var(--bs-dark) !important;
}

.activities .activities-item:hover a {
	background: var(--bs-light) !important;
	color: var(--bs-dark) !important;
}

.activities .activities-item:hover a:hover {
	background: var(--bs-dark) !important;
	color: var(--bs-primary) !important;
}

.activities .read-more:hover {
	transform: scale(1.1);
}

/* Efek Expand */
.activities-item.expanded {
	position: absolute;
	width: 98%;
	height: 96%;
	min-height: 96%;
	left: 10px;
	top: 25px;
	z-index: 10;
	padding: 30px;
	transition: all 0.5s ease-in-out;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	background: #fff;
	box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.2);
	border-radius: 10px;
}

/* Hilangkan Read More */
.activities-item.expanded .read-more {
	display: none;
}

/* Expanded Content */
.expanded-content {
	display: none;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
	margin-top: 15px;
	padding-left: 100px;
	padding-right: 100px;
	text-align: justify;
}

.activities-item.expanded .expanded-content {
	display: block;
	opacity: 1;
}

/* Tombol Close */
.close-btn {
	display: none;
	position: absolute;
	/*
	top: 20px;
	right: 30px;
	font-size: 32px;
	*/
	cursor: pointer;
	z-index: 1001;
}

.activities-item.expanded:hover .close-btn {
	background: var(--bs-light) !important;
	color: var(--bs-dark) !important;
}

.activities-item.expanded:hover .close-btn:hover {
	background: var(--bs-dark) !important;
	color: var(--bs-primary) !important;
	transform: scale(1.1);
}

.activities-item.expanded .close-btn {
	display: block;
}
/*** Activities End ***/

/*** Teams Start ***/
.teams .teams-card {
	position: relative;
}
.teams .teams-item {
	height: 100%;
	display: flex;
	flex-direction: column; /* Pastikan isi dalam item tersusun vertikal */
	align-items: center;
	justify-content: start; /* Agar tidak tertengah otomatis */
	box-shadow: 0 0 45px rgba(12, 18, 20, 0.08);
	transition: all 0.5s ease-in-out;
	overflow: hidden;
	cursor: pointer;
	position: relative;
	padding: 20px; /* Tambahkan padding agar lebih proporsional */
	text-align: center; /* Pastikan teks judul rata tengah */
}

.teams .teams-item h5 {
	width: 100%;
	text-align: center;
	min-height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.teams .teams-item .team-content {
	display: flex;
	align-items: center;
	width: 100%;
	gap: 15px;
	min-height: 180px;
}

.teams .teams-item .icon {
	font-size: 3rem;
	flex-shrink: 0;
}

.teams .teams-item .description {
	flex-grow: 1;
	text-align: left;
}

.teams .teams-item:hover {
	background: var(--bs-primary) !important;
	color: var(--bs-dark) !important;
}

.teams .teams-item:hover a {
	background: var(--bs-light) !important;
	color: var(--bs-dark) !important;
}

.teams .teams-item:hover a:hover {
	background: var(--bs-dark) !important;
	color: var(--bs-primary) !important;
}

.teams .read-more:hover {
	transform: scale(1.1);
}

/** Teams Modal Start ***/
.teamsModal .modal-content {
	border-radius: 10px;
	overflow: hidden;
	transition: all 0.3s ease-in-out;
}

.teamsModal .modal-header {
	border-radius: 10px 10px 0 0;
	border-bottom: none;
}

.teamsModal .modal-body {
	padding: 20px;
}

.teamsModal .modal-footer {
	border-top: none;
	padding-bottom: 20px;
}

.teamsModal .teams-icon i {
	font-size: 70px;
	color: var(--bs-primary);
}

.teamsModal .btn-close-white {
	filter: invert(1);
}

.teamsModal .btn-close-white:hover {
	color: var(--bs-dark) !important;
}

/* Hilangkan bullet default */
#modalListContent {
	list-style-type: none;
	padding-left: 0;
}

/* Pastikan setiap item tetap terlihat rapi */
#modalListContent li {
	display: flex;
	align-items: center;
	text-align: justify;
	padding-top: 3px;
}

/** Teams Modal End ***/
/*** Teams End ***/

/*** Events Start ***/
.event-item img {
	transition: 0.5s;
}

.event .event-item a {
	transition: 0.5s;
}

.event-item:hover img {
	transition: 0.5s;
	transform: scale(1.1);
}

.event-item a:hover {
	background: var(--bs-dark);
	color: var(--bs-primary);
	opacity: 0.5s;
}
/*** Events End ***/

/*** Blog Start ***/
.blog-item {
	display: flex;
	flex-direction: column;
	height: 100%;
	box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
	transition: 0.5s;
}

.blog-item:hover {
	transform: scale(1.05);
}

.blog-item .p-4 {
	display: flex;
	flex-direction: column;
	flex-grow: 1; /* Memastikan konten utama mengisi ruang */
}

.blog-item p {
	padding: 5px;
	flex-grow: 1; /* Memastikan paragraf mengisi ruang */
	height: 250px; /* Atur tinggi tetap sesuai kebutuhan Anda */
	overflow: auto;
	scrollbar-width: thin;
}

.blog-item .btn-primary {
	margin-top: auto; /* Memaksa tombol berada di bagian bawah */
}

.blog-item img {
	height: 350px;
	transition: 0.5s;
}

.blog-item:hover img {
	transform: scale(1.1);
}

.blog-item .blog-meta a,
.blog-item .blog-meta a i {
	transition: 0.5s;
}

.blog-item .blog-meta a:hover,
.blog-item .blog-meta a i:hover {
	color: var(--bs-primary) !important;
}
/*** Blog End ***/

/*** Team Start ***/
.team .team-img {
	height: 100%;
	padding: 25px;
	border-radius: 10px;
	background: var(--bs-white);
	overflow: hidden;
	box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.team .team-img img {
	width: 100%;
	height: 100%;
	border-radius: 10px;
	object-fit: cover;
}

.team .team-item {
	position: relative;
	overflow: hidden;
	padding: 10px;
	border-radius: 10px;
}

.team .team-item img {
	width: 100%;
	height: 100%;
	border-radius: 10px;
	object-fit: cover;
	transition: 0.5s;
	background: var(--bs-light);
	box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.team .team-item:hover img {
	transform: scale(1.2);
}

.team .team-item .team-content {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	padding: 15px;
	transform: translateX(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: 0.5s;
}

.team .team-item:hover .team-content {
	opacity: 1;
	background: rgba(241, 193, 82, 0.7);
}
/*** Team End ***/

/*** testimonial Start ***/
.testimonial-item {
	background: var(--bs-light);
	padding: 40px;
}

.testimonial-carousel .owl-item img {
	width: 100px;
	height: 100px;
}

.testimonial-carousel {
	position: relative;
	padding-left: 60px;
	padding-right: 60px;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	width: 60px;
	height: 40px;
	background: var(--bs-primary);
	color: var(--bs-dark);
	font-size: 22px;
	top: 50%;
	left: 0px;
	transform: translateY(-50%);
	transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover {
	background: var(--bs-dark) !important;
	color: var(--bs-primary) !important;
}

.testimonial-carousel .owl-nav .owl-next {
	left: auto;
	right: 0px;
}

.testimonial-carousel .owl-nav .owl-next:hover {
	background: var(--bs-dark) !important;
	color: var(--bs-primary) !important;
}
/*** testimonial End ***/

/*** Footer Start ***/
.footer {
	margin-top: 6rem;
	background: var(--bs-dark);
}

.footer .footer-item p {
	font-size: 16px;
	line-height: 35px;
}

.footer .border-top,
.footer .border-bottom {
	border-color: rgba(255, 255, 255, 0.08) !important;
}

.footer button {
	border: 0;
	transition: 0.5s;
}

.footer button:hover {
	background: var(--bs-dark);
	color: var(--bs-primary);
}

.footer-item a.btn.btn-light:hover {
	background: var(--bs-primary);
	color: var(--bs-dark) !important;
	border: var(--bs-primary);
}

.footer-item a,
.footer-item a i {
	transition: 0.5s;
}

.footer-item a:hover,
.footer-item a i:hover {
	color: var(--bs-primary) !important;
}
/*** Footer End ***/
