.gallery-item {
  margin-bottom: 20px;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  border: 1px solid #cccccc;

}


.gallery-item.fade-in {
  opacity: 1;
  transform: translateY(0);
}



.gallery-item img {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.gallery-item img:hover{
  transform: scale(1.05);
}

.gallery-item .caption {
  padding: 10px;
  font-size: 1.2rem;
  color: #000000;
  text-align: center;
  background-color: #ffffff;
  margin-top: 5px;
}

.filter-btn {
  border: 1px solid #ddd;
  background: white;
  padding: 8px 16px;
  margin: 5px;
  display: inline-flex!important;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  justify-content: space-between;
  width: 100%;
}

.filter-btn:hover {
  background: #f8f9fa;
  border-color: #007bff;
}

.filter-btn.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.sort-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.search-box {
  position: relative;

}

.search-box input {
  padding-right: 45px;
}

.search-box .search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}



.dropdown-toggle::after {
  margin-left: auto;
}

.dropdown-menu {
  width: 100%;
}

.reset-btn {
  background: #6c757d;
  color: white;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.reset-btn:hover {
  background: #5a6268;
}

.filters-container {

  margin-bottom: 30px;
}
.dropdown-toggle, .btn.dropdown-toggle{
  width: 100%!important;
  background-color: #FFFFFF!important;
  border: 1px solid #000000!important;
  color: #000000!important;
  height: 40px!important;
}
#main-content .dropdown-menu{
  opacity: 1!important;
  color: #000000!important;
  border-radius: 0!important;
  transition:inherit!important;
  -webkit-transition:inherit!important;
  -moz-transition:inherit!important;
  -ms-transition:inherit!important;
  -o-transition:inherit!important;
}
#main-content .dropdown-item:hover,
#main-content .dropdown-item:focus{
  background-color: #000000!important;
  color: #FFFFFF!important;
 
}
.search-input{
  width: 100%!important;
  border-radius: 0!important;
  border: 1px solid #000000!important;
  padding: 8px 16px 11px 16px!important;
  font-size: 16px!important;
  font-weight: 400!important;
  color: #000000!important;
  background-color: #FFFFFF!important;
  box-shadow: none!important;
  transition: all 0.3s ease!important;
  -webkit-transition: all 0.3s ease!important;
  height: 40px!important;
}


#filterContainer{
  height: auto;
  overflow:visible;
  transition: height 0.3s ease-in-out;
}
#filterContainer.show{
  height: auto;
  overflow: visible;
}
@media (max-width: 768px) {
  #filterContainer{
    height: 0;
  }
  #filterContainer.hide{
    height: 0;
    overflow: hidden;
  }
  #filterContainer.show{
    height: auto;
  }
}
#main-content .gallery-item-img{
 margin-top: 25px;
}
#main-content .gallery-item-title{
  padding: 20px;
}
