.top-selling-tour-card {
  border-radius: 16px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  transition: transform 0.3s ease;
}

.top-selling-tour-card:hover {
  transform: translateY(-5px);
}

.top-selling-tour-image {
  position: relative;
}

.top-selling-tour-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.top-selling-tour-header {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: #fff;
  padding: 16px;
  box-sizing: border-box;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.top-selling-tour-header h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.top-selling-tour-header p {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
}

.know-more-button {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: #0c4da2;
  color: white;
  text-decoration: none;
  border-radius: 60px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  max-width: 32px;
  transition: max-width 0.5s ease;
}

.top-selling-tour-card:hover .know-more-button {
  max-width: 150px;
}

.know-more-button .icon {
  display: flex;
  align-items: center;
  padding: 0 8px;
}

.know-more-button .text {
  white-space: nowrap;
  padding-left: 10px;
  opacity: 0;
  font-size: 12px;
  font-weight: 300;
  transition: opacity 0.3s ease;
}

.top-selling-tour-card:hover .text {
  opacity: 1;
}

.tour-card:hover .text {
  opacity: 1;
}
.tour-card:hover .know-more-button {
  max-width: 150px;
}

.tour-card:hover .know-more-button,
.trail-hover-card:hover .know-more-button {
  max-width: 150px;
}

.trail-hover-card:hover .know-more-button .text {
  opacity: 1;
  transform: translateX(0);
}
