.tab-container-section {
  padding: 30px 0px;
}

.tab-container-section .tabs_wrapper {
  display: flex;
  justify-content: start;
  margin-bottom: 40px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  border-bottom: 1px solid #000;
  padding-bottom: 10px;
}

.tab-container-section .tabs_wrapper::-webkit-scrollbar {
  display: none;
}

.tab-container-section .custom_tabs {
  display: flex;
  gap: 15px;
}

/* Tab Buttons */
.tab_btn {
  padding: 8px 16px;
  border: 1px solid transparent;
  background: transparent;
  color: #202020;
  font-size: 16px;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.tab_btn:hover {
  background: #ebebeb;
  border: 1px solid #707070;
}

.tab_btn.active {
  font-weight: 500;
  background: #ffd2bc;
  border: 1px solid #f16625;
  color: #202020;
}

/* =======================
   Hostel Cards
======================= */
.hostel_card_item {
  width: 100%;
}

.hostel_card {
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background: #ffffff;
  box-shadow: 0px 0px 6px #0000004f;
  border-radius: 8px;
  height: 100%;
}

.hostel_card:hover {
  box-shadow: 0px 4px 12px #00000033;
}

/* Image */
.card_image_wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.card_image {
  width: 100%;
  height: 100%;
  padding: 10px;
  border-radius: 8px;
  object-fit: fill;
}

/* Tag */
.card_tag {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  position: absolute;
  bottom: 8px;
  left: 9px;
  right: 9px;
  background: linear-gradient(90deg, #153b89 0%, #143984ee 45%, #0b1e4500 100%);
  border-radius: 0px 0px 8px 8px;
}

/* Content */
.card_content {
  padding: 0px 15px 15px 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.card_address {
  font-size: 14px;
  font-weight: 500;
  color: #202020;
  margin: 10px 0 12px 0;
}

/* Footer */
.card_footer .rating_wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rating {
  font-size: 15px;
  font-weight: 500;
}

/* View Button */
.view_btn {
  padding: 6px 14px;
  background: #202020;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 13px;
  transition: 0.3s;
}

.view_btn:hover {
  background: #f16625;
}

/* =======================
   Responsive
======================= */
@media (min-width: 0) and (max-width: 574px) {
  .tab_btn {
    font-size: 14px;
  }

  .card_address {
    font-size: 12px;
  }

  .rating {
    font-size: 13px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .card_image_wrapper {
    height: 150px;
  }
}