/* Gallery Section Styles */
.gallery-filters {
  margin-bottom: 2rem;
}

.filter-btn {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 8px 20px;
  margin: 0 5px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: white;
}



.gallery-card:hover {
  transform: translateY(-5px);
}

.gallery-card {
  width: 100%;
  height: 280px;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.3s ease;
  display: block;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(44, 82, 130, 0.9), rgba(56, 178, 172, 0.9));
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

.gallery-card:hover img {
  transform: scale(1.1);
}

.gallery-content {
  text-align: center;
  color: white;
  padding: 20px;
}

.gallery-content h5 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.gallery-content p {
  font-size: 0.9rem;
  margin-bottom: 15px;
  opacity: 0.9;
}

.gallery-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.gallery-link:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
  color: white;
  text-decoration: none;
}

.gallery-item {
  transition: all 0.3s ease;
}

.gallery-item.hide {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

@media (max-width: 768px) {
  .gallery-card {
    height: 220px;
  }
  
  .filter-btn {
    padding: 6px 15px;
    font-size: 0.9rem;
    margin: 2px;
  }
}

@media (max-width: 576px) {
  .gallery-card {
    height: 200px;
  }
}