
  body {
  font-family: Arial, sans-serif;
  margin: 5px;
  padding: 0;
  background: linear-gradient(to bottom, #000000, #ffffff);
}

header {
  position: relative;
  z-index: 3000; /* lebih tinggi dari modal (default 1050) */
}

.modal { z-index: 2000 !important; }
.modal-backdrop { z-index: 1900 !important; }

  
  h6 {
  font-size: 14px;
    }
      h4 {
      font-family: 'Great Vibes', cursive; 
      font-size: 28px;
    }
      section {
        margin-top: 55px;
        margin-bottom: 0;
        padding-bottom: 0;
      }
    .container1 {
      width: 102%;
      margin-top: -5px;
      padding-left: 0;
      padding-right: 0;
      max-width: 1300px;
      background-image: url('img/BG2.png');
      background-size: cover;
      background-position: left;
      background-repeat: no-repeat;
    }
.container {
  max-width: 1320px;   /* batas maksimal */
  width: 100%;         /* isi penuh layar */
  margin: 0 auto;      /* rata tengah */
  padding: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.main-content {
  flex-grow: 1;
  transition: margin-left 0.3s ease;
}

#toggleBtn {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  cursor: pointer;
}
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16 / 9;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0px;
}
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Gunakan aspect-ratio agar otomatis menyesuaikan */
.video-wrapper video {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;   /* rasio standar video */
  object-fit: cover;
  border-radius: 8px;
}

/* Tablet portrait/landscape */
@media (max-width: 992px) {
  .video-wrapper video {
    aspect-ratio: 16 / 9;
  }
}

/* HP portrait/landscape */
@media (max-width: 576px) {
  .video-wrapper video {
    aspect-ratio: 16 / 9;
  }
}
.fullscreen-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: rgba(249, 244, 244, 0.17);
  color: white;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 10;
}
.fixed-carousel-img {
  height: 400px; /* Atur tinggi tetap */
  object-fit: cover; /* Potong gambar agar proporsional */
  object-position: center; /* Fokus di tengah */
}
  .bg-video {
    width: 1000px;
    max-height: 500px;
    margin-left: 0px;
    object-fit: cover;
    border-radius: 12px;
    z-index: 1;
  }
  .bg-video {
    height: auto;
    max-height: 80vh; /* agar tidak terlalu tinggi di layar HP */
    object-fit: cover;
    display: block;
  }
  .lokasi_foto {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
  }
  .lokasi_foto {
    position: relative;
    display: inline-block;
    }

  @media (max-width: 768px) {
    .container {
      background-size: contain;
    }
  }
  .fullscreen-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    z-index: 10;
    transition: background-color 0.3s ease;
  }

  .fullscreen-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  @keyframes goyang {
    0% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    50% { transform: translateX(3px); }
    75% { transform: translateX(-3px); }
    100% { transform: translateX(0); }
  }

  .goyang-jalan {
    animation: goyang 0.6s ease-in-out infinite;
  }
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }

  .media-item img,
  .media-item video {
    width: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease;
  }

  .media-item:hover img,
  .media-item:hover video {
    transform: scale(2.5);
  }
  .custom-bg {
    position: relative;
    background-color: rgba(197, 204, 249, 0.2);
    border-radius: 0px 5px 5px 0px;
    overflow: hidden;
    font-size: 16px;
  }
  .custom-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(253, 251, 251, 0), rgba(0, 213, 255, 0.26));
    pointer-events: none;
    border-color: rgba(247, 247, 250, 0.95);
    
  }

  .custom-bg1 {
    background: linear-gradient(to right, rgba(0, 213, 255, 0)), rgba(253, 251, 251, 0); /* transparan kanan*/
    border-radius: 7px 0px 0px 7px;
    border-color: grey;
    margin-right: 0px;
  }
 .ga-nav {
    border-radius: 50px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: #80f6f8ff;
    transition: background-color 0.3s ease;
  }

  .ga-nav:hover {
    background-color: transparent;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* opsional: efek bayangan saat hover */
  }
  .ga-nav1 {
      background-color: #ffffffff;
      border-radius: 5px 5px 0 0;
      color: #073bd6ff;
      padding: 8px 12px;
      text-decoration: none;
      transition: background-color 0.4s ease, color 0.4s ease, transform 0.3s ease;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
.ga-navx:hover {
    background-color: #ffffff;
    color: #ffffff;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1); /* opsional: efek bayangan saat hover */
  }
.group-list {
  display: flex;
  justify-content: center; /* Rata tengah horizontal */
  align-items: center;     /* Rata tengah vertikal */
  gap: 1px;               /* Jarak antar item */
  flex-wrap: wrap;         /* Supaya responsif di layar kecil */
  padding: 1px;
  background: transparent;
  border-radius: 0px;
}

.group-item {
  display: flex;
  flex-direction: column;  /* Icon dan info ditumpuk vertikal */
  align-items: center;
  background: #1e1e1e00;
  padding: 1px;
  border-radius: 5px;
  width: 80px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.group-item:hover {
  transform: scale(1.5);
  background: #1e1e1e00;
}

.group-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-bottom: 2px;
}

.group-info h3 {
  font-size: 14px;
  margin: 0;
  text-align: center;
}

.group-info p {
  font-size: 12px;
  color: #777;
  margin: 4px 0 0;
  text-align: center;
}
.group-item {
  text-decoration: none;
  color: inherit;
}
.group-item h3, 
.group-item p {
  text-decoration: none;
  color: inherit;
}
.group-item h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
  color: #333;
  text-align: center;
}
.sifinter-overlay {
  position: fixed;
  top: 25px;       /* rapat ke atas */
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle at center, rgba(255,255,255,1) 0%, rgba(40,246,229,0.52) 100%);
  padding: 3px 0px;
  border-radius: 50%;
}

/* bulatan putih di belakang logo */
.sifinter-overlay a::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  animation: crystalGlow 5s infinite alternate;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* === Responsive === */
@media (max-width: 768px) {
  .sifinter-overlay {
    width: 20px;
    height: 20px;
    top: 20px;
  }
  .sifinter-overlay a::before {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .sifinter-overlay {
    width: 30px;
    height: 30px;
    top: 8px;
  }
  .sifinter-overlay a::before {
    width: 30px;
    height: 30px;
  }
}

@keyframes gerakKiriKanan {
      0%, 10% { transform: translate(0); }              /* diam */
      15% { transform: translate(-2px, 2px); }          /* mulai getar */
      16% { transform: translate(-5px, -5px); }
      17% { transform: translate(5px, 5px); }
      18% { transform: translate(-5px, 5px); }
      19% { transform: translate(5px, 5px); }
      20% { transform: translate(-15px, 15px); }
      21% { transform: translate(5px, 5px); }
      22% { transform: translate(5px, -5px); }
      25% { transform: translate(2px, -2px); }
      26% { transform: translate(-15px, -15px); }
      27% { transform: translate(5px, 5px); }
      28% { transform: translate(-5px, -5px); }
      29% { transform: translate(2px, -2px); }
      30% { transform: translate(2px, -2px); }
      35% { transform: translate(0); }                  /* kembali diam */
      100% { transform: translate(0); }                 /* tetap diam sampai siklus ulang */
    }

.animasi-kiri{
  animation: gerakKiriKanan 1.8s infinite ease-in-out;
  display: inline-block;
}
.animasi-kanan {
  animation: gerakKiriKanan 1.2s infinite ease-in-out;
  display: inline-block;
}

.row.carousel-row {
  margin-top: -20px; /* geser ke atas */
}

/* posisi awal item */
.carousel-item {
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}

/* item aktif muncul dari bawah */
.carousel-item.active {
  transform: translateY(0);
  opacity: 1;
}

/* item keluar naik ke atas */
.carousel-item-next,
.carousel-item-prev {
  transform: translateY(-100%);
  opacity: 0;
}

.fixed-carousel-img {
  transition: transform 1.5s ease;
}

.carousel-item.active .fixed-carousel-img {
  transform: scale(2);
}
.carousel-caption {
  background: transparent;
  padding: 10px;
  border-radius: 0px;
}
.carousel-caption h5 {
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
  .dropdown-hover {
    position: relative;
    display: inline-block;
  }

  .dropdown-menu-custom {
    display: none;
    position: absolute;
    z-index: 1;
    min-width: 180px;
    margin-left: 10px;
  }

.dropdown-menu-custom li {
  text-align: left;   /* pastikan setiap li rata kiri */
  list-style-position: inside; /* bullet/nomor di dalam area teks */
  
}

  .dropdown-hover:hover .dropdown-menu-custom {
    display: block; 
  }
  /* animasi bergetar */
.shake-logo {
  animation: shake 0.8s infinite;
}

@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  10% { transform: translate(-2px, -4px) rotate(-1deg); }
  20% { transform: translate(-3px, 0px) rotate(1deg); }
  30% { transform: translate(5px, 4px) rotate(0deg); }
  40% { transform: translate(1px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-1deg); }
  60% { transform: translate(-5px, 4px) rotate(0deg); }
  70% { transform: translate(3px, 1px) rotate(-1deg); }
  80% { transform: translate(-1px, -1px) rotate(1deg); }
  90% { transform: translate(1px, 2px) rotate(0deg); }
  100% { transform: translate(1px, -2px) rotate(-1deg); }
}
.sifinter-overlay {
  position: relative;
  display: inline-block;
}

/* animasi warna bola kristal */
@keyframes crystalGlow {
  0%   { box-shadow: 0 0 15px 5px rgba(0, 123, 255, 0.92); }   
  25%  { box-shadow: 0 0 15px 5px rgba(40, 167, 70, 0.87); }   
  50%  { box-shadow: 0 0 15px 5px rgba(23, 163, 184, 0.86); }  
  75%  { box-shadow: 0 0 15px 5px rgba(240, 39, 8, 0.77); } 
  100% { box-shadow: 0 0 15px 5px rgba(255, 193, 7, 0.97); }    
} 
.shake-logo {
  filter: brightness(350%) saturate(5%);
}
/* Samakan gaya link aktif di semua halaman */
.ga-nav.active,
.dropdown-toggle.active {
  color: var(--accent-color);   /* atau warna highlight */
  line-height: 34px;            /* samakan tinggi baris */
  padding: 8px 12px;            /* konsisten dengan link lain */
  border-radius: 4px;
}

/* Pastikan container sejajar vertikal */
.nav-right,
#subtopnav {
  display: flex;
  align-items: center; /* ini yang menjaga semua item rata tengah */
  gap: 8px;
}

.color-cycle {
  animation: colorChange 5s infinite;
    }

    @keyframes colorChange {
      0%   { color: var(--bs-primary); }
      20%  { color: var(--bs-success); }
      40%  { color: var(--bs-info); }
      60%  { color: var(--bs-dark); }
      75%  { color: var(--bs-yellow); }
      90% { color: var(--bs-danger); }
      100% { color: var(--bs-secondary); }
    }
    
    /* Default untuk laptop/desktop */
    .container {
      font-size: 14px;
      padding: 20px;
    }
    
    /* Tablet (<=768px) */
    @media (max-width: 768px) {
      .container {
        font-size: 13px;
        padding: 15px;
      }
    }
    
    /* HP kecil (<=480px) */
    @media (max-width: 480px) {
      .container {
        font-size: 12px;
        padding: 10px;
      }
    }


    /* Default untuk laptop/desktop */
    .container1 {
      font-size: 14px;
      padding: 20px;
    }
    
    /* Tablet (<=768px) */
    @media (max-width: 768px) {
      .container1 {
        font-size: 13px;
        padding: 15px;
      }
    }
    
    /* HP kecil (<=480px) */
    @media (max-width: 480px) {
      .container1 {
        font-size: 12px;
        padding: 10px;
      }
    }
    
    .group-listx {
      position: fixed;        /* Biar statis */
      bottom: 12%;           /* Posisi di bawah layar */
      left: 15%;              /* Pusat horizontal */
      transform: translateX(-50%); /* Supaya benar-benar center */
      display: flex;
      flex-direction: row;    /* Susun icon ke samping */
      gap: 0px;              /* Jarak antar icon */
      z-index: 999;           /* Di atas elemen lain */
    }
    
    .group-item img.group-icon {
      width: 25px;
      height: 25px;
      border-radius: 10px;     /* Bulat */
      transition: transform 0.3s ease;
    }
    
    .group-item img.group-icon:hover {
      transform: scale(1.1);  /* Efek hover membesar */
    }

.visitor-info {
  position: relative;
  display: inline-block;
  cursor: pointer;
  color: #ffffff; /* abu-abu Bootstrap */
  font-size: 10px;
}

.visitor-info .tooltip-detail {
  visibility: hidden;
  width: 180px;
  background-color: #f8f9fa;
  color: #212529;
  text-align: left;
  border-radius: 5px;
  padding: 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* muncul di atas teks */
  right: 0;
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.visitor-info:hover .tooltip-detail {
  visibility: visible;
  opacity: 1;
}

.col md-6 {
  margin-bottom: 8px; /* rapatkan jarak vertikal card*/
}
.row {
  --bs-gutter-x: 0.25rem; /* rapatkan jarak horizontal antar kolom card*/
}

.fixed-carousel-img {
  position: relative;
  border-radius: 8px;
}

.carousel-item {
  position: relative;
}

.carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none; /* biar tidak ganggu klik */
}
.fixed-carousel-img {
  display: block;
  margin-left: auto;
  margin-right: auto; /* gambar otomatis ke tengah */
  max-width: 100%;    /* biar tidak melewati kolom */
  object-fit: contain; /* gambar tetap proporsional */
}
/* Overlay logo */
.sifinter-overlay {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -55px; /* sedikit naik, bisa disesuaika5 */
}

/* Logo default */
.sifinter-logo {
  width: 65px;
  height: auto;
}

/* Tablet */
@media (max-width: 768px) {
  .sifinter-logo {
    width: 55px;
  }
  .sifinter-overlay {
    margin-top: -30px;
  }
}

/* HP kecil */
@media (max-width: 480px) {
  .sifinter-logo {
    width: 45px;
  }
  .sifinter-overlay {
    margin-top: -20px;
  }
}

