/* ─────────────
  Carousel Container
───────────── */
.custom-tab-carousel {
  overflow: hidden;
  width: 100% !important;
  position: relative;
  visibility: hidden;
}

.custom-tab-carousel.ready {
  visibility: visible;
}

/* ─────────────
  Inner Track for Carousel
───────────── */
.custom-tab-carousel>.kt-row-column-wrap {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

/* ─────────────
  Column Content Block (Each Tab)
───────────── */
.custom-tab-carousel>.kt-row-column-wrap>.wp-block-kadence-column {
  flex: 0 0 auto;
  max-width: 660px;
  /*  min-width: 300px;
  min-height: 350px;
  margin: 10px 20px; */
  padding: 0px;
  box-sizing: border-box;
  opacity: 0.5;
  scale: 0.95;
}

.custom-tab-carousel>.kt-row-column-wrap>.wp-block-kadence-column.active {
  opacity: 1;
  scale: 1;
  animation-name: slideIn;
  animation-duration: 0.4s;
  animation-timing-function: ease-out;
}

.custom-tab-carousel>.kt-row-column-wrap>.wp-block-kadence-column.active:hover > .kt-inside-inner-col{
  box-shadow: 0px 0px 14px 0px #718096;
}



@keyframes slideIn {
  from {
    opacity: 0.5;
    scale: 0.95;
  }

  to {
    opacity: 1;
    scale: 1;
  }

}

/* ─────────────
  Tab Navigation Wrapper (with arrows)
───────────── */
.tab-nav-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 100%;
}

/* ─────────────
  Tab Buttons Scrollable List
───────────── */
.custom-tab-nav {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 10px;
  padding: 10px 40px;
  flex-grow: 1;
  white-space: nowrap;
  justify-content: center;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

.custom-tab-nav::-webkit-scrollbar {
  display: none;
}

/* ─────────────
  Tab Button Styles
───────────── */
.tab-botton {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 10px 16px;
  background: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
  color: #888;
  box-shadow: 0px 3px 3px #e1e1e1;
  font-weight: 400;
}

.tab-botton.active {
  background: #224258 !important;
  color: white !important;
}

.tab-botton:hover,
.tab-botton:focus {
  background: #00978c !important;
  color: #fff !important;
  outline: none;
}

.tab-botton.active,
.tab-botton.active:hover,
.tab-botton.active:focus {
  background: #224258 !important;
  color: #fff !important;
  outline: none;
}

/* ─────────────
  Arrow Buttons
───────────── */
.nav-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  /* display: flex; */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  font-size: 16px;
  user-select: none;
}

.left-arrow {
  left: 5px;
}

.right-arrow {
  right: 5px;
}

/* ─────────────
  Responsive Adjustments
───────────── */
@media (min-width: 1024px) {
  .nav-arrow {
    display: none;
  }

  .custom-tab-nav {
    overflow-x: visible;
    padding: 20px 0;
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (max-width: 1024px) {
  .custom-tab-carousel>.kt-row-column-wrap>.wp-block-kadence-column {
    max-width: 80%;
    min-width: 70%;
  }

  .tab-botton {
    font-size: 14px;
    padding: 8px 14px;
  }
}

@media (max-width: 767px) {
  .custom-tab-nav {
    justify-content: unset !important;
  }

  .tab-botton:hover,.tab-botton:focus {
    background: #fff;
    box-shadow: 0px 3px 3px #e1e1e1;
  }

  .custom-tab-carousel>.kt-row-column-wrap>.wp-block-kadence-column {
    max-width: 75%;
  }

  .tab-botton {
    font-size: 12px;
    padding: 6px 12px;
  }

}