@font-face {
  font-family: 'DIN';
  src: url('../fonts/DINNextLTPro-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'DIN';
  src: url('../fonts/DINNextLTPro-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'DIN';
  src: url('../fonts/DINNextLTPro-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
}

@font-face {
  font-family: 'DIN';
  src: url('../fonts/DIN-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: 'DIN';
  src: url('../fonts/DINNextLTPro-Italic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
}


::placeholder {
  color: white !important;
  opacity: 1; /* supaya tidak transparan */
}
.fts-bg{background-color: #000000;}
.carousel-scroll img {
    width: 100%;
    height: auto;
    display: block;
  }
img.tst {
  width: 40px !important;
  height: auto;
}
.carousel-scroll .card {
    min-width: 80%; /* mobile */
  }
  @media (min-width: 768px) {
    .carousel-scroll .card {
      min-width: 30%; /* desktop, biar bisa muncul 3 */
    }
  }
.carousel-scroll {
    min-height: 200px;
    padding-left: 0;
    padding-right: 0;
  }
.carousel-scroll {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE & Edge */
}.carousel-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}
@media (max-width: 768px) {
  .btn-carousel {
    width: 32px;
    height: 32px;
    font-size: 18px;
    padding: 0;
  }
}
.carousel-item {
  flex: 0 0 auto;
  width: auto;
}
.card-img-top {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 0;
}
.carousel-item.card {
  padding: 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
}
.carousel-scroll {
  align-items: center; /* penting supaya item sejajar vertikal */
}
.card {
  margin-bottom: 0 !important;
}
.responsive-title {
  font-size: clamp(2rem, 5vw, 5rem);
  font-weight: bolder;
}

/* tab */
/* Umum semua tombol tab */
.nav-tabs .nav-link {
  border-radius: 8px;
  margin-right: 0.5rem; /* Jarak antar tab */
  transition: all 0.3s ease;
}

/* ===== Light Mode (Default) ===== */
body:not(.dark-mode) .nav-tabs .nav-link {
  background-color: #f1f1f1;
  color: #000;
  border: 1px solid #ccc;
}

/* Aktif di Light Mode */
body:not(.dark-mode) .nav-tabs .nav-link.active {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

/* ===== Dark Mode ===== */
body.dark-mode .nav-tabs .nav-link {
  background-color: transparent;
  color: #ccc;
  border: 1px solid #666; /* secondary */
}

/* Aktif di Dark Mode */
body.dark-mode .nav-tabs .nav-link.active {
  background-color: #fff;
  color: #000;
  border-color: #fff;
}

.scrolling-tabs-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.scrolling-tabs-wrapper .nav-tabs {
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-tabs .nav-item {
  flex: 0 0 auto; /* supaya lebar tab tidak di-resize */
}

.overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.80); /* shading hitam tipis */
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
  z-index: 2;
  transition: background 0.3s ease;
}

.card:hover .overlay-text {
  background: rgba(0, 0, 0, 0.5); /* efek hover sedikit lebih gelap */
}
.carousel-control-prev,
.carousel-control-next {
  z-index: 5 !important; /* lebih tinggi dari overlay */
}
.deco-icon {
  position: absolute;
  z-index: 1;
  transition: transform 0.1s linear;
  will-change: transform;
}
#rotateText {
  display: inline-block;
  transition: opacity 0.5s ease;
}

.con h2,h3,h4 {padding-top:20px;padding-bottom:20px;}