.samadhan-slider-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 2rem auto;
  overflow: hidden;
  box-sizing: border-box;
	height:250px;
}

.samadhan-slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.samadhan-slide {
  position: relative; /* required for overlay pseudo-element */
  min-width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  text-align: center;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.samadhan-slide::after {
  /* overlay pseudo-element visible and targetable by Elementor injected CSS */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

.samadhan-slide .samadhan-slide-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Heading & text selectors that will be targeted by Elementor inline CSS */
.samadhan-slide-heading {
  margin: 0 0 0.5rem;
  transition: all 0.3s ease;
}
.samadhan-slide-text {
  margin: 0 0 1rem;
  transition: all 0.3s ease;
}

/* Active slide hook: useful for entrance animations */
.samadhan-slide.is-active .samadhan-slide-heading,
.samadhan-slide.is-active .samadhan-slide-text {
  opacity: 1;
  transform: none;
}

/* Button base */
.samadhan-cta {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  z-index: 3;
  position: relative;
}

/* Master style marker (master controls will target this selector) */
.samadhan-cta.global-style {}

/* Per-slide custom button marker (per-slide controls target this) */
.samadhan-cta.slide-style {}

/* Arrows */
.samadhan-prev,
.samadhan-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  font-size: 2rem;
  border: none;
  cursor: pointer;
  color: #333;
  padding: 0 10px;
  z-index: 4;
}
.samadhan-prev { left: 0; }
.samadhan-next { right: 0; }

.samadhan-prev:hover,
.samadhan-next:hover{
	background:black;
}
/* Dots */
.samadhan-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.5rem 0;
  margin-top:-20px;
  z-index: 4;
}
.samadhan-dot {
  display: inline-block;
  border-radius: 50%;
  background: #ccc;
  margin: 0 5px;
  cursor: pointer;
  transition: all 200ms ease;
}
.samadhan-dot.active {
  background: #0073e6;
}

/* Accessibility focus */
.samadhan-prev:focus,
.samadhan-next:focus,
.samadhan-dot:focus,
.samadhan-cta:focus {
  outline: 2px solid #fff;
	color:#fff;
	background:black;
  outline-offset: 2px;
}

/* Ensure video backgrounds (if used) fit slide area (Elementor may inject wrappers) */
.samadhan-slide video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
