.truncate-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    text-align: justify;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0;
}

.truncate-text p {
    line-height: 2;
}

/* CKE Editor */
.description-list a{
    color: var(--main-color); 
}
.description-list ul li{
    list-style: initial;
}

/* Container grid for Masonry layout */
/* .masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.masonry-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.masonry-item:hover {
    transform: scale(1.05);
}

.masonry-item img {
    width: 100%;
    display: block;
    height: auto;
    border-radius: 10px;
} */

 .gallery-item {
   margin-bottom: 15px;
 }

 .gallery-img {
   width: 100%;
   display: block;
   border-radius: 10px;
 }

/* Floating action Buttton */
.float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 40px;
    cursor: pointer;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
  }
  
  .float:hover {
    color: #FFF;
  }
  
  .my-float {
    margin-top: 16px;
  }
  
  .bounce {
    animation: bounce 2s infinite;
  }
  
  @keyframes bounce {
  
    0%,
    25%,
    50%,
    75%,
    100% {
      transform: translateY(0);
    }
  
    40% {
      transform: translateY(-20px);
    }
  
    60% {
      transform: translateY(-12px);
    }
  }

  /* Go To Top */
#button-goto-top {
    display: inline-block;
    background-color: #0255A3;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 40px;
    right: 40px;
    transition: background-color .3s,
      opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
  }
  
  #button-goto-top::after {
    content: "\f077";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 1em;
    line-height: 50px;
    color: #fff;
  }
  
  #button-goto-top:hover {
    cursor: pointer;
    background-color: #333;
  }
  
  #button-goto-top:active {
    background-color: #555;
  }
  
  #button-goto-top.show {
    opacity: 1;
    visibility: visible;
  }

  /* Background Image */
.section-background1 {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.section-background1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../../../images/lain-lain/background-keunggulan.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    z-index: -1;
   opacity:0.07;
}

/* Keunggulan */

.feature-img::after {
  filter: brightness(0) invert(1); /* Warna putih */
  position: relative;
  z-index: 10;
}

/* Pastikan lightbox menggunakan 100% dari lebar viewport pada perangkat mobile */
@media (max-width: 768px) {
  .lightbox {
      width: 100% !important;
      height: auto !important;
  }
  .lightbox img {
      max-width: 100% !important;
      height: auto !important;
  }
  .lb-dataContainer {
      width: 100% !important;
  }
}

/* Menyelaraskan gambar galeri */
.gallery-item a img {
  width: 100%;
  height: auto;
  display: block;
}


/* Gallery */
.gallery-item {
  position: relative;
  overflow: hidden; /* Agar gambar tidak keluar dari batas kotak */
}

.gallery-link {
  display: block;
  position: relative;
}

.gallery-img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  width: 100%;
  height: auto;
}

.gallery-link:hover .gallery-img {
  /* transform: scale(1.1);  */
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3); /* Menambahkan shadow */
}

.gallery-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5); /* Overlay transparan */
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.gallery-link:hover::before {
  opacity: 1;
}


