.bs-slider-container {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.bs-slider-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
  opacity: 0; /* تا وقتی JS آماده شود */
}

.bs-slide {
  flex: 0 0 100%;   /* هر اسلاید دقیقا به اندازه کانتینر */
  width: 100%;      /* تضمین برای مرورگرهای قدیمی‌تر */
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px 40px 20px 20px;
  background: #fff;
}

.bs-slide .bs-media {
  position: relative;
  flex: 1;
  min-width: 280px;
}
.bs-slide img {
  width: 100%;
  border-radius: 25px !important;
  object-fit: cover;
  display: block;
}
.bs-caption {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: #3ec1f0;
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    font-size: 14px;
    max-width: 85%;
    line-height: 1.6;
}

.bs-slide-text {
  flex: 1;
  min-width: 280px;
}
.bs-slide-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin: 0;
  text-align: justify;
}
.bs-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  border: 2px solid #3ec1f0;
  color: #3ec1f0;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  background: transparent;
  cursor: pointer;
}
.bs-btn:hover {
  background: #3ec1f0;
  color: #fff;
}

/* ناوبری */
.slider_nav{
  display:flex;
  text-align: center;
  justify-content: center;
}

.bs-nav-btn {
  	display: inline-block;
    cursor: pointer;
    transition: 0.3s;
    color: #3ec1f0;
    font-size: 35px;
  	background: none;
  	border: none;
}

/* نقاط */
.bs-dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 6px;
    margin-right: 6px;
    margin-top: 27px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}
.bs-dots span.active {
  background: #3ec1f0;
}