/* Tabs */
.cstm-tab .tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 25px;
}

.cstm-tab .tab {
  background: #111;
  border-radius: 30px;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 500;
  color: #fff;
  border: 1px solid #333;
  transition: 0.3s;
}

.cstm-tab .tab.active {
  background: #fff;
  color: #000;
}

/* Owl Slides */
.cstm-tab .my-owl-slider .item {
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  position: relative;
  height: 400px;
  display: flex;
  align-items: flex-end;
  padding: 30px;
  transition: transform 0.3s, box-shadow 0.3s;
}

/* Blurred background by default */
.cstm-tab .my-owl-slider .item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(6px) brightness(0.6);
  transform: scale(1.1);
  z-index: 0;
}

/* Remove blur when active */
.cstm-tab .my-owl-slider .item.active-anchor::before {
  filter: blur(0px) brightness(1);
}

/* Content */
.cstm-tab .item-content {
  position: relative;
  z-index: 2;
}

.cstm-tab .item h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.cstm-tab .item p {
  font-size: 14px;
  line-height: 1.5;
  color: #ddd;
  margin-bottom: 15px;
}

/* Button hidden by default */
.cstm-tab .item a.quote-btn {
  color: #fff;
  font-weight: 600;
  border-bottom: 2px solid #fff;
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Button visible when active */
.cstm-tab .item.active-anchor a.quote-btn {
  opacity: 1;
  transform: translateY(0);
}

/* Optional glow/highlight */
.cstm-tab .item.active-anchor {
  box-shadow: 0 0 0 3px #fff;
  transform: scale(1.03);
}

/* Responsive */
@media (max-width: 991px) {
  .cstm-tab .my-owl-slider .item { height: 320px; }
}
@media (max-width: 767px) {
  .cstm-tab .my-owl-slider .item { height: 280px; }
}
