/* Base container */

.cbmg-slider-fullwrap {
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-bottom: 40px;
}


.custom-slider {
  width: 100% !important;
  height: auto;
}

.custom-slider.vc_tta-container {
  display: block;
}

.custom-slider[style*="width"] {
  width: auto !important; /* allows inline width style to override default */
}


/* Hide WPBakery's default pagination */
.custom-slider .vc_tta-tabs-container,
.custom-slider .vc_tta-pagination {
  display: none !important;
}

/* Panels wrapper */
.custom-slider .vc_tta-panels {
  height: 100%;
  width: 100%;
  position: relative;
  display: flex;
  overflow: hidden;
}

/* Each panel */
.custom-slider .vc_tta-panel {
  min-width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
  background-size: auto 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-color: white;
  opacity: 0;
  z-index: 0;
  display: flex;
  box-sizing: border-box;
}

.custom-slider .vc_tta-panel.vc_active {
  position: relative;
  opacity: 1;
  z-index: 1;
}


.custom-slider .vc_pagination-item:before {
  display: none !important;
  content: none;
}


/* Slide content wrapper */
.cbmg-slide-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
}

/* Apply vertical positioning */
.content-top {
  justify-content: flex-start;
}
.content-middle {
  justify-content: center;
}
.content-bottom {
  justify-content: flex-end;
}


/* Animations */
.fade-in {
  animation: cbmgFadeIn 0.6s ease forwards;
}
@keyframes cbmgFadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.slide-left {
  animation: cbmgSlideLeft 0.6s ease forwards;
}
@keyframes cbmgSlideLeft {
  0% { opacity: 0; transform: translateX(30px); }
  100% { opacity: 1; transform: translateX(0); }
}

.zoom-in {
  animation: cbmgZoomIn 0.6s ease forwards;
}
@keyframes cbmgZoomIn {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

/* Pagination Dots */
.vc_pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  list-style: none;
  padding: 0;
}

.vc_pagination-item {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.vc_pagination-item.vc_active {
  background-color: #000;
}
