/* ==========================================================
   CUSTOM PAGINATION - THEME COLOR (#5c9f24)
   ========================================================== */

/* 1. Style Dasar & Hover Halaman Biasa */
.custom-pagination-wrapper .page-item .page-link {
  /* Variable Warna Teks & Hover */
  --bs-pagination-color: #495057;
  --bs-pagination-bg: #ffffff;
  --bs-pagination-border-width: 1px;
  --bs-pagination-border-color: #e9ecef;
  
  /* Warna saat kursor diarahkan (Hover) */
  --bs-pagination-hover-color: #5c9f24;
  --bs-pagination-hover-bg: #f2f8ed; /* Background hijau sangat muda saat hover */
  --bs-pagination-hover-border-color: #5c9f24;
  --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(92, 159, 36, 0.25);

  /* Shape & Alignment Lingkaran */
  width: 40px;
  height: 40px;
  padding: 0 !important;
  border-radius: 50% !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* 2. Tombol Navigasi Teks (Jika Menggunakan Class .nav-btn) */
.custom-pagination-wrapper .page-item.nav-btn .page-link {
  width: auto;
  min-width: 40px;
  padding: 0 16px !important;
  border-radius: 20px !important;
}

/* 3. Hover Effect */
.custom-pagination-wrapper .page-item:not(.active) .page-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(92, 159, 36, 0.15);
}

/* 4. State AKTIF (Halaman yang Sedang Dipilih - Warna Utama #5c9f24) */
.custom-pagination-wrapper .page-item.active .page-link {
  --bs-pagination-active-color: #ffffff;
  --bs-pagination-active-bg: #5c9f24;
  --bs-pagination-active-border-color: #5c9f24;

  font-weight: 600;
  box-shadow: 0 4px 10px rgba(92, 159, 36, 0.35); /* Shadow halus bernuansa hijau */
}

/* 5. State DISABLED */
.custom-pagination-wrapper .page-item.disabled .page-link {
  --bs-pagination-disabled-color: #adb5bd;
  --bs-pagination-disabled-bg: #f8f9fa;
  --bs-pagination-disabled-border-color: #e9ecef;

  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}
/* Spacing Tambahan khusus Pagination FAQ */
#faq .custom-pagination-wrapper {
  padding-top: 15px;
}

/* Menggunakan Ikon Boxicons bawaan template (bx bx-chevron-left/right) */
.custom-pagination-wrapper .page-item .page-link i {
  font-size: 1.25rem;
  line-height: 1;
}

/* Menjaga warna teks & ikon tetap konsisten (mengabaikan style link template) */
.custom-pagination-wrapper .page-item .page-link,
.custom-pagination-wrapper .page-item .page-link:visited {
  color: #495057 !important;
}

.custom-pagination-wrapper .page-item.active .page-link {
  color: #ffffff !important;
}

.custom-pagination-wrapper .page-item:not(.active) .page-link:hover {
  color: #5c9f24 !important;
}

.box-body {
    transition: opacity 0.25s ease-in-out;
    will-change: opacity;
}

.portfolio-container {
    transition: opacity 0.4s ease-in-out;
}
.youtube-pagination-block {
    clear: both !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    display: block !important;
    margin-top: 30px !important;
}

.youtube-pagination-block ul.pagination {
    display: flex !important;
    justify-content: center !important;
}

.portfolio-video-grid {
    width: 100%;
}

.portfolio-video {
    position: relative;
    width: 100%;
    aspect-ratio: 600 / 365;
    overflow: hidden;
}

.portfolio-video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.portfolio-pagination {
    display: block;
    width: 100%;
    clear: both;
    margin-top: 2rem;
    position: static;
}

/* Custom CSS agar Pagination diperlakukan sebagai baris penuh di dalam Isotope */
.portfolio .portfolio-item.portfolio-item-pagination {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  position: relative !important;
  clear: both !important;
  margin-top: 20px;
  margin-bottom: 0;
}

.portfolio .portfolio-item.portfolio-item-pagination .portfolio-wrap-pagination {
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.portfolio .portfolio-item.portfolio-item-pagination .portfolio-wrap-pagination::before {
  display: none !important; /* Matikan efek overlay hover bawaan template */
}

#mymessage {
    position: fixed;
    top: 60px; /* Diturunkan sedikit agar tidak tertutup header AdminLTE */
    right: 20px;
    min-width: 300px;
    max-width: 500px;
    z-index: 999999 !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
#myinner-message {
    margin: 0 auto;
}

#fountainTextG{
  position:fixed;
	top:50%;
	left:40%;
	z-index:10000000;
	filter: alpha(opacity=40); /* For IE8 and earlier */
}
/* Mobile */
@media only screen and (max-width: 767px) {
	.fountainTextG{
		font-size:30px;
	}
}

/* Tablet */
@media only screen and (min-width: 768px) and (max-width: 979px) {
	.fountainTextG{
		font-size:35px;
	}
}

/* Computer */
@media only screen and (min-width: 980px) {
	.fountainTextG{
		font-size:65px;
	}
}
.fountainTextG{
	color:#F00;
	font-family:Arial;
	text-decoration:none;
	font-weight:bold;
	font-style:normal;
	float:left;
	animation-name:bounce_fountainTextG;
		-o-animation-name:bounce_fountainTextG;
		-ms-animation-name:bounce_fountainTextG;
		-webkit-animation-name:bounce_fountainTextG;
		-moz-animation-name:bounce_fountainTextG;
	animation-duration:1.82s;
		-o-animation-duration:1.82s;
		-ms-animation-duration:1.82s;
		-webkit-animation-duration:1.82s;
		-moz-animation-duration:1.82s;
	animation-iteration-count:infinite;
		-o-animation-iteration-count:infinite;
		-ms-animation-iteration-count:infinite;
		-webkit-animation-iteration-count:infinite;
		-moz-animation-iteration-count:infinite;
	animation-direction:normal;
		-o-animation-direction:normal;
		-ms-animation-direction:normal;
		-webkit-animation-direction:normal;
		-moz-animation-direction:normal;
	transform:scale(.5);
		-o-transform:scale(.5);
		-ms-transform:scale(.5);
		-webkit-transform:scale(.5);
		-moz-transform:scale(.5);
}#fountainTextG_1{
	animation-delay:0.65s;
		-o-animation-delay:0.65s;
		-ms-animation-delay:0.65s;
		-webkit-animation-delay:0.65s;
		-moz-animation-delay:0.65s;
}
#fountainTextG_2{
	animation-delay:0.78s;
		-o-animation-delay:0.78s;
		-ms-animation-delay:0.78s;
		-webkit-animation-delay:0.78s;
		-moz-animation-delay:0.78s;
}
#fountainTextG_3{
	animation-delay:0.91s;
		-o-animation-delay:0.91s;
		-ms-animation-delay:0.91s;
		-webkit-animation-delay:0.91s;
		-moz-animation-delay:0.91s;
}
#fountainTextG_4{
	animation-delay:1.04s;
		-o-animation-delay:1.04s;
		-ms-animation-delay:1.04s;
		-webkit-animation-delay:1.04s;
		-moz-animation-delay:1.04s;
}
#fountainTextG_5{
	animation-delay:1.17s;
		-o-animation-delay:1.17s;
		-ms-animation-delay:1.17s;
		-webkit-animation-delay:1.17s;
		-moz-animation-delay:1.17s;
}
#fountainTextG_6{
	animation-delay:1.3s;
		-o-animation-delay:1.3s;
		-ms-animation-delay:1.3s;
		-webkit-animation-delay:1.3s;
		-moz-animation-delay:1.3s;
}
#fountainTextG_7{
	animation-delay:1.43s;
		-o-animation-delay:1.43s;
		-ms-animation-delay:1.43s;
		-webkit-animation-delay:1.43s;
		-moz-animation-delay:1.43s;
}
#fountainTextG_8{
	animation-delay:1.56s;
		-o-animation-delay:1.56s;
		-ms-animation-delay:1.56s;
		-webkit-animation-delay:1.56s;
		-moz-animation-delay:1.56s;
}
#fountainTextG_9{
	animation-delay:1.69s;
		-o-animation-delay:1.69s;
		-ms-animation-delay:1.69s;
		-webkit-animation-delay:1.69s;
		-moz-animation-delay:1.69s;
}
#fountainTextG_10{
	animation-delay:1.82s;
		-o-animation-delay:1.82s;
		-ms-animation-delay:1.82s;
		-webkit-animation-delay:1.82s;
		-moz-animation-delay:1.82s;
}

@keyframes bounce_fountainTextG{
	0%{
		transform:scale(1);
		color:#000000;
	}

	100%{
		transform:scale(.5);
		color:#FFFFFF;
	}
}

@-o-keyframes bounce_fountainTextG{
	0%{
		-o-transform:scale(1);
		color:#000000;
	}

	100%{
		-o-transform:scale(.5);
		color:#FFFFFF;
	}
}

@-ms-keyframes bounce_fountainTextG{
	0%{
		-ms-transform:scale(1);
		color:#000000;
	}

	100%{
		-ms-transform:scale(.5);
		color:#48A5FF;
	}
}

@-webkit-keyframes bounce_fountainTextG{
	0%{
		-webkit-transform:scale(1);
		color:#000000;
	}

	100%{
		-webkit-transform:scale(.5);
		color:#48A5FF;
	}
}

@-moz-keyframes bounce_fountainTextG{
	0%{
		-moz-transform:scale(1);
		color:#000000;
	}

	100%{
		-moz-transform:scale(.5);
		color:#48A5FF;
	}
}

.contact button[type=submit] {
  background: #5c9f24;
  border: 0;
  padding: 10px 30px 12px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

/* Kelas untuk dibungkus pada tag <img> kartu berita */
.news-img-thumb {
    width: 100%;
    height: 220px; /* Tentukan tinggi seragam yang diinginkan (misal: 200px - 250px) */
    object-fit:contain; /* Otomatis melakukan cropping rapi di tengah tanpa memipihkan/gepengkan gambar */
    object-position: center; /* Memastikan fokus potongan gambar tepat di tengah */
    border-radius: 8px 8px 0 0; /* Membuat sudut atas gambar melengkung rapi (opsional) */
}

#team.team .member-img-wrapper {
    width: 100%;
    height: 250px; /* Ukuran tinggi tetap yang Anda inginkan */
    overflow: hidden;
}

#team.team .member-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Trik Pamungkas */
    object-position: center top;
}