.card {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 220px;
    border-radius: 10px;
    cursor: pointer;
    transition: box-shadow 0.3s;
  }
  
  .card:hover {
    box-shadow: 0 0 5px 5px  #ffc107 ;
    color: #000;
    font-weight: 500;
  
  }
  
  .card:hover .card-body h5 {
    font-weight: 500;
    background:  #ffc107;
    }
  
  .logo-loader {
    width: 50px;
    height: 50px;
    background-image: url("images/logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
  }
  
  /* logo partner */
  .brand-partner {
    background-color: #ffffff;
    padding: 50px 0;
    overflow: hidden;
  }
  
  .brand-partner h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333333;
  }
  
  .slider {
    height: 100px;
    margin: auto;
    overflow: hidden;
    position: relative;
  }
  
  .slide-track {
    display: flex;
    animation: scroll 60s linear infinite;
  }
  
  .logo-container {
    display: flex;
    align-items: center;
    gap: 50px; /* Jarak antara logo */
  }
  
  .logo-container img {
    height: 50px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s;
    margin-left: 45px;
  }
  
  .logo-container img:hover {
    filter: none;
    transform: scale(1.1);
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-100%);
    }
  }
  
  /* foto galeri */
  
  .photo-details {
    padding: 30px;
    margin: 10px;
    background-color: transparent;
    border: 1px solid #fd7e14;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
  }
  
  .photo-details figure {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.5s ease-in-out;
  }
  
  .photo-details figure div {
    flex: 1 0 70%;
    margin-right: 20px;
  }
  
  .photo-details figure img {
    width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
  }
  #main-image {
    opacity: 1;
    max-height: 400px;
    transition: opacity 0.3s ease-in-out;
  }
  
  #main-image.fade-out {
    opacity: 0.5;
  }
  
  
  .year-overlay,
  #caption {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 10px;
    font-size: 24px;
    font-weight: bold;
    opacity: 0.8;
    color: #fff;
  }
  
  .arrow {
    transform: translateY(-50%);
    border: none;
    background-color: #fd7e14;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
  }
  
  .arrow:hover {
    color: #000;
  }
  
  .arrow-prev {
    left: 5px;
  }
  
  .arrow-next {
    right: 5px;
  }
  
  .carousel__thumbnails {
    margin-top: 20px;
    overflow: hidden;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
  
  }
  
  .carousel__thumbnails ul {
    list-style-type: none;
    padding: 0;
    display: flex;
    transition: transform 0.3s ease-in-out;
    display: inline-flexbox;
    animation: thumbnailLoop 20s linear infinite; /* Tambahkan animasi thumbnailLoop */
  
  }
  
  
  .carousel__thumbnails li {
    margin-right: 5px;
    padding: 5px;
  }
  
  .carousel__thumbnails img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    border: 3px solid transparent;
    cursor: pointer;
    
  }
  
  .carousel__thumbnails img:hover,
  .carousel__thumbnails img.active {
    border-color: #fd7e14;
    transform: scale(1.1);
    transition: transform 0.3s ease-in-out;
  }
  
  /* Animasi Slide */
  .carousel__slide--active {
    transform: translateX();
  }
  
  .carousel__slide--next {
    transform: translateX(100%);
  }
   
  .carousel__slide--prev {
    transform: translateX(-100%);
  }
  
  @keyframes thumbnailLoop {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-100px * '<?php echo count($thumbnails); ?>')); /* Ganti jumlah thumbnail yang sesuai */
    }
  }
  