.kategori-scroll {
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}
.kategori-scroll::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.filter-btn {
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s ease;
  padding: 8px 14px;
  font-size: 0.9rem;
}

@media (max-width: 576px) {
  .filter-btn {
    font-size: 0.8rem;
    padding: 6px 10px;
  }
}
@media (max-width: 576px) {
  #filterForm .d-flex {
    flex-direction: column;
    align-items: stretch;
  }
  #filterForm select,
  #filterForm input {
    width: 100% !important;
  }
}
.filter-btn {
    transition: all 0.3s ease;
    padding: 8px 10px;
}

.filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.filter-btn.active {
    background-color: #0d6efd;
    color: white;
    border-color: #0d6efd;
}

.filter-btn.active .category-badge {
    background-color: #fff !important;
    color: #000 !important;
    border: none;
}

.project-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.project-card .card-img-top {
    transition: transform 0.3s ease;
}

.project-card:hover .card-img-top {
    transform: scale(1.05);
}

.project-card a {
    display: block;
    position: relative;
}

.project-card .position-relative > a {
    z-index: 1;
}

.project-card .position-absolute {
    z-index: 2;
}

.project-detail-btn {
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 10px 20px;
    /* border-radius: 6px; */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
}

.project-detail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(13, 110, 253, 0.3);
    background-color: #0b5ed7 !important;
}

.project-detail-btn i {
    transition: transform 0.3s ease;
}

.project-detail-btn:hover i {
    transform: translateX(4px);
}

.project-card .btn {
    transition: all 0.3s;
}

.category-badge {
    font-size: 0.75rem;
    min-width: 24px;
    padding: 0.25rem 0.5rem;
}
