/*** 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;
}

.event-item {
  border-bottom: 1px solid #ccc; /* Garis pembatas antar event */
  padding-bottom: 10px; /* Jarak antara setiap item event */
}

.event-item h5,
.event-item p {
  font-size: 10px; /* Ukuran teks */
  margin: 0; /* Menghapus margin default */
}

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  display: flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  z-index: 99;
}
/*** Spinner End ***/

/* .square-wrapper {
    width: 600px;
    height: 400px;
    overflow: hidden;
    border-radius: 10px; 
}

.square-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.square-menu {
    width: 310px;
    height: 300px;
    overflow: hidden;
    border-radius: 10px; 
}

.square-menu img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

/*** Button Start ***/
.btn {
  font-weight: 600;
  transition: 0.5s;
}

.btn-square {
  width: 32px;
  height: 32px;
}

.btn-sm-square {
  width: 34px;
  height: 34px;
}

.btn-md-square {
  width: 44px;
  height: 44px;
}

.btn-lg-square {
  width: 56px;
  height: 56px;
}

.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.border-secondary {
  transition: 0.5s;
}

.btn.border-secondary:hover {
  background: var(--bs-secondary) !important;
  color: var(--bs-white) !important;
}

/*** Topbar Start ***/
.fixed-top {
  transition: 0.5s;
  background: var(--bs-white);
  border: 0;
}

.topbar {
  padding: 20px;
  border-radius: 230px 100px;
  background-color: rgb(3, 100, 66); /* Ubah dengan warna yang Anda inginkan */
}

.topbar .top-info {
  font-size: 15px;
  line-height: 0;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.topbar .top-link {
  font-size: 15px;
  line-height: 0;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}

.topbar .top-link a {
  letter-spacing: 1px;
}

.topbar .top-link a small:hover {
  color: var(--bs-secondary) !important;
  transition: 0.5s;
}

.topbar .top-link a small:hover i {
  color: var(--bs-primary) !important;
}
/*** Topbar End ***/

.sponsor-logo {
  max-width: 50px; /* Mengatur maksimum lebar gambar */
  height: auto; /* Mengatur tinggi gambar secara otomatis sesuai proporsi */
}

.card-img {
  width: 100%;
  height: auto;
}
/* NAVBAR START */
/* Gaya untuk tampilan desktop atau tablet */
.mobile-navbar {
  display: none;
}

.event-thumbnail {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; /* center the image */
}

.rounded-corner {
  border-radius: 10px; /* Sesuaikan dengan kebutuhan Anda */
}

/* Gaya untuk tampilan mobile */
@media only screen and (max-width: 600px) {
  .mobile-navbar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-image: url('../img/hijau.webp'); /* Ganti path dengan URL atau path lokal gambar Anda */
    background-size: cover;
    background-position: center;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: block; /* Menampilkan navigasi untuk tampilan mobile */
    border-top-left-radius: 50px; /* Melengkungkan sudut kiri atas */
    border-top-right-radius: 50px; /* Melengkungkan sudut kanan atas */
  }

  .mobile-navbar ul {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-navbar .list {
    text-align: center;
    padding: 10px;
    position: relative;
  }

  .mobile-navbar .list.active .icon {
    /* background-color: #007bff; */
    color: #ffffff;
    /* border-radius: 50%; */
    &:after {
      content: "";
      display: block; 
      position: absolute; 
      left: 0;
      bottom: 12px; 
      width: 100%;
      height: 2px; 
      background-color: #fff; 
    }
  }

  .mobile-navbar .icon {
    display: block;
    font-size: 24px;
    margin-bottom: 5px;
  }

  .mobile-navbar .text {
    font-size: 12px;
  }

  .mobile-navbar .indicator {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background-color: #007bff;
    border-radius: 50%;
    display: none;
  }
}

/* NAVBAR END */

/*** Navbar Start ***/
.navbar .navbar-nav .nav-link {
  padding: 10px 15px;
  font-size: 16px;
  transition: 0.5s;
}

.navbar {
  height: 100px;
  border-bottom: 1px solid rgb(1, 129, 101);
}

.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: 1200px) {
  .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;
  }
}

.footer {
  /* background-image: url('../img/footer.webbg-banner.webp');  */
  background-size: cover; /* Untuk memastikan gambar memenuhi seluruh area footer */
  background-position: center; /* Untuk menempatkan gambar di tengah footer */
  background-repeat: no-repeat; /* Untuk mencegah gambar diulang */
  color: white; /* Warna teks di atas gambar */
  padding: 50px; /* Sesuaikan dengan padding yang diinginkan */
}

.dropdown .dropdown-menu a:hover {
  background: var(--bs-secondary);
  color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
  transform: rotateX(0deg);
  visibility: visible;
  background: var(--bs-light) !important;
  border-radius: 10px !important;
  transition: 0.5s;
  opacity: 1;
}

#searchModal .modal-content {
  background: rgba(255, 255, 255, 0.8);
}
/*** Navbar End ***/

.card1 {
  width: 70px; /* Atur lebar sesuai kebutuhan Anda */
  height: 70px; /* Atur tinggi sesuai kebutuhan Anda */
  background-image: url('../img/8844492.webp');
  background-size: cover;
  background-position: center;
  border-radius: 10px; /* Atur sudut melengkung sesuai kebutuhan Anda */
  overflow: hidden;
}

.card2 {
  width: 70px; /* Atur lebar sesuai kebutuhan Anda */
  height: 70px; /* Atur tinggi sesuai kebutuhan Anda */
  background-image: url('../img/8851974.webp');
  background-size: cover;
  background-position: center;
  border-radius: 10px; /* Atur sudut melengkung sesuai kebutuhan Anda */
  overflow: hidden;
}

.card3 {
  width: 70px; /* Atur lebar sesuai kebutuhan Anda */
  height: 70px; /* Atur tinggi sesuai kebutuhan Anda */
  background-image: url('../img/8844507.webp');
  background-size: cover;
  background-position: center;
  border-radius: 10px; /* Atur sudut melengkung sesuai kebutuhan Anda */
  overflow: hidden;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio (h/w * 100%) */
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*** Hero Header ***/
.hero-header {
  background: linear-gradient(
      rgba(248, 223, 173, 0.1),
      rgba(248, 223, 173, 0.1)
    ),
    url(../img/hijau.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom-left-radius: 50% 20px;
  border-bottom-right-radius: 50% 20px;
  position: relative; /* Add this line to ensure absolute positioning works relative to this container */
}

@media (max-width: 767px) {
  .sponsored-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Full-width image */
    z-index: 9999; /* Ensure it's above other content */
  }
}

@media (min-width: 768px) {
  .sponsored-image {
    position: absolute;
    top: 0;
    left: 50%; /* Position it at the center horizontally */
    transform: translateX(-50%); /* Adjust to center it properly */
    width: calc(
      100% - 40px
    ); /* Set width to 100% minus the padding or margin of the hero header */
    max-width: 1200px; /* Set maximum width as needed */
    z-index: 9999;
  }
}

@media (max-width: 768px) {
  .hero-header {
    border-bottom-left-radius: 50% 50px;
    border-bottom-right-radius: 50% 50px;
  }
}

.carousel-item {
  position: relative;
}

.carousel-item a {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 25px;
  background: linear-gradient(rgba(255, 181, 36, 0.7), rgba(255, 181, 36, 0.7));
}

.carousel-control-next,
.carousel-control-prev {
  width: 48px;
  height: 48px;
  border-radius: 48px;
  border: 1px solid var(--bs-white);
  background: var(--bs-primary);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-next {
  margin-right: 20px;
}

.carousel-control-prev {
  margin-left: 20px;
}

.page-header {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../img/bg-banner.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* @media (min-width: 992px) {
    .hero-header,
    .page-header {
        margin-top: 152px !important;
    }
}

@media (max-width: 992px) {
    .hero-header,
    .page-header {
        margin-top: 97px !important;
    }
} */
/*** Hero Header end ***/

/*** featurs Start ***/
.featurs .featurs-item .featurs-icon {
  position: relative;
  width: 120px;
  height: 120px;
}

.featurs .featurs-item .featurs-icon::after {
  content: '';
  width: 35px;
  height: 35px;
  background: var(--bs-secondary);
  position: absolute;
  bottom: -10px;
  transform: translate(-50%);
  transform: rotate(45deg);
  background: var(--bs-secondary);
}
/*** featurs End ***/

@media (max-width: 768px) {
  .card {
    min-width: 75px; /* Sesuaikan dengan ukuran yang diinginkan */
  }
}

/*** service Start ***/
.service .service-item .service-content {
  position: relative;
  width: 250px;
  height: 130px;
  top: -50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/*** service End ***/

.vesitable-item {
  position: relative;
  /* transform: scale(0.5);  */
}

.vesitable-item .p-4 {
  background-image: url('../img/hijau.webp'); /* Ganti path_to_your_image dengan path atau URL gambar yang Anda inginkan */
  background-size: cover; /* Untuk memastikan gambar memenuhi seluruh area background */
  border: none; /* Hilangkan border */
}

/*** Fruits Start ***/

@media (max-width: 768px) {
  /* Atur lebar maksimum untuk layar yang dianggap sebagai layar kecil */
  .fruite-item {
    flex-basis: 100%; /* Setiap produk mengambil 50% lebar dari container pada layar kecil */
    max-width: 100%; /* Maksimum lebar setiap produk adalah 50% */
  }
}

.button-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.fruite-item {
  position: relative;
}

.fruite-item .p-4 {
  background-image: url('../img/hijau.webp'); /* Ganti path_to_your_image dengan path atau URL gambar yang Anda inginkan */
  background-size: cover; /* Untuk memastikan gambar memenuhi seluruh area background */
  border: none; /* Hilangkan border */
}

.fruite .tab-class .nav-item a.active {
  background: var(--bs-secondary) !important;
}

.fruite .tab-class .nav-item a.active span {
  color: var(--bs-white) !important;
}

.fruite .fruite-categorie .fruite-name {
  line-height: 40px;
}

.fruite .fruite-categorie .fruite-name a {
  transition: 0.5s;
}

.fruite .fruite-categorie .fruite-name a:hover {
  color: var(--bs-secondary);
}

.fruite .fruite-item {
  height: 100%;
  transition: 0.5s;
}
.fruite .fruite-item:hover {
  box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.fruite .fruite-item .fruite-img {
  overflow: hidden;
  transition: 0.5s;
  border-radius: 10px 10px 0 0;
}

.fruite .fruite-item .fruite-img img {
  transition: 0.5s;
}

.fruite .fruite-item .fruite-img img:hover {
  transform: scale(1.3);
}
/*** Fruits End ***/

/*** vesitable Start ***/

.vesitable .vesitable-item {
  height: 100%;
  transition: 0.5s;
}

.vesitable .vesitable-item:hover {
  box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
}

.vesitable .vesitable-item .vesitable-img {
  overflow: hidden;
  transition: 0.5s;
  border-radius: 10px 10px 0 0;
}

.owl-carousel .item img {
  border-radius: 10px; /* Mengatur sudut melengkung */
}

.vesitable .vesitable-item .vesitable-img img {
  transition: 0.5s;
}

.vesitable .vesitable-item .vesitable-img img:hover {
  transform: scale(1.2);
}

.vesitable .owl-stage {
  margin: 50px 0;
  position: relative;
}

.vesitable .owl-nav .owl-prev {
  position: absolute;
  top: -8px;
  right: 0;
  color: var(--bs-primary);
  padding: 5px 25px;
  border: 1px solid var(--bs-secondary);
  border-radius: 20px;
  transition: 0.5s;
}

.vesitable .owl-nav .owl-prev:hover {
  background: var(--bs-secondary);
  color: var(--bs-white);
}

.vesitable .owl-nav .owl-next {
  position: absolute;
  top: -8px;
  right: 88px;
  color: var(--bs-primary);
  padding: 5px 25px;
  border: 1px solid var(--bs-secondary);
  border-radius: 20px;
  transition: 0.5s;
}

.vesitable .owl-nav .owl-next:hover {
  background: var(--bs-secondary);
  color: var(--bs-white);
}
/*** vesitable End ***/

.banner {
  background-image: url('../img/bg-banner.webp'); /* Ganti path_to_your_image dengan path atau URL gambar yang Anda inginkan */
  background-size: cover; /* Untuk memastikan gambar memenuhi seluruh area div */
  background-position: center; /* Untuk menempatkan gambar di tengah div */
  background-repeat: no-repeat; /* Untuk mencegah gambar diulang */
}

/*** Banner Section Start ***/
.banner .banner-btn:hover {
  background: var(--bs-primary);
}
/*** Banner Section End ***/

/*** Facts Start ***/
.counter {
  height: 100%;
  text-align: center;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.counter i {
  font-size: 60px;
  margin-bottom: 25px;
}

.counter h4 {
  color: var(--bs-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.counter h1 {
  margin-bottom: 0;
}
/*** Facts End ***/

/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
  position: absolute;
  top: -58px;
  right: 0;
  color: var(--bs-primary);
  padding: 5px 25px;
  border: 1px solid var(--bs-secondary);
  border-radius: 20px;
  transition: 0.5s;
}

.testimonial .owl-nav .owl-prev:hover {
  background: var(--bs-secondary);
  color: var(--bs-white);
}

.testimonial .owl-nav .owl-next {
  position: absolute;
  top: -58px;
  right: 88px;
  color: var(--bs-primary);
  padding: 5px 25px;
  border: 1px solid var(--bs-secondary);
  border-radius: 20px;
  transition: 0.5s;
}

.testimonial .owl-nav .owl-next:hover {
  background: var(--bs-secondary);
  color: var(--bs-white);
}
/*** testimonial End ***/

/*** Single Page Start ***/
.pagination {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.pagination li {
  margin: 0 5px; /* Atur jarak antara tautan */
}

.pagination li a {
  display: block;
  padding: 5px 10px; /* Atur padding untuk tautan */
  background-color: #f0f0f0;
  color: #333;
  border-radius: 5px;
  text-decoration: none;
}

.pagination li.active a {
  background-color: #885200; /* Atur warna latar belakang untuk tautan aktif */
  color: #fff;
}

.pagination li a:hover {
  background-color: #ccc; /* Atur warna latar belakang saat tautan dihover */
}
/* 
.pagination {
    display: inline-block;
}
  
.pagination a {
    color: var(--bs-dark);
    padding: 10px 16px;
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid var(--bs-secondary);
    margin: 0 4px;
}
  
.pagination a.active {
    background-color: var(--bs-primary);
    color: var(--bs-light);
    border: 1px solid var(--bs-secondary);
}
  
.pagination a:hover:not(.active) {background-color: var(--bs-primary)}

.nav.nav-tabs .nav-link.active {
    border-bottom: 2px solid var(--bs-secondary) !important;
} */
/*** Single Page End ***/

/*** Footer Start ***/
.footer .footer-item .btn-link {
  line-height: 35px;
  color: rgba(255, 255, 255, 0.5);
  transition: 0.5s;
}

.footer .footer-item .btn-link:hover {
  color: var(--bs-secondary) !important;
}

.footer .footer-item p.mb-4 {
  line-height: 35px;
}
/*** Footer End ***/

.badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 500;
  line-height: 9px;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.125rem;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);
}

.badge-pill {
  padding-right: 0.6em;
  padding-left: 0.6em;
  border-radius: 10rem;
}

.badge-success {
  background-color: #81c408;
}

.photo-pill {
  position: absolute !important;
  top: 12px;
  right: 12px;
}

.bg-pattern-primary {
  background-image: url('../img/hijau.webp'); /* Ganti path_to_your_image dengan path atau URL gambar yang Anda inginkan */
  background-size: cover; /* Untuk memastikan gambar memenuhi seluruh area background */
  border: none; /* Hilangkan border */
}

.limited-height-news {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shadow-box {
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}
