.main-slider {
	position: relative;
	width: 100%;
	height: 480px;
	overflow: hidden;
	direction: ltr;
	background-image: url('../../images/slider-background.jpg');
	background-size: cover;
	background-position: center;
}
.slider-text-content{
	text-align:center;
}

.main-slider.rtl {
	direction: rtl;
}

.slider-container {
	position: relative;
	width: 100%;
	height: 100%;
}

.slider-item {
	position: absolute;
	color:black;
	border: 2px solid #ffd700;
	-webkit-box-shadow: 0px 0px 39px 7px rgba(239,255,41,0.81); 
box-shadow: 0px 0px 39px 7px rgba(239,255,41,0.81);
	top: 10%;
	left: 10%;
	width: 80%;
	height: 80%;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 0.6s ease-in-out;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius:15px;
}

.slider-item.active {
	opacity: 1;
	z-index: 2;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  //  background: rgb(255 255 255 / 15%);
    border-radius: 15px;
	pointer-events: none; /* این خط را اضافه کنید */
}

.slider-content {
	position: relative;
	z-index: 3;
	text-align: center;
	color: white;
	max-width: 800px;
	padding: 0 20px;
}

.slider-title {
	font-size: 48px;
	font-weight: bold;
	margin: 0 0 20px 0;
	text-shadow: 0 2px 4px #ffd700;
}

.slider-description {
	font-size: 20px;
	margin: 0 0 30px 0;
	line-height: 1.5;
	text-shadow: 0 2px 4px #ffd700;
}

.slider-button {
	display: inline-block;
	padding: 12px 36px;
	background-color: #FFD700;
	color: #333;
	font-size: 18px;
	font-weight: bold;
	text-decoration: none;
	border-radius: 6px;
	transition: background-color 0.3s ease, transform 0.2s ease;
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
	z-index: 10; /* اضافه کنید */
	position: relative; /* اضافه کنید */
}

.slider-button:hover {
	background-color: #ffcc00;
	transform: translateY(-2px);
}

.slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.7);
	border: none;
	width: 50px;
	height: 50px;
	font-size: 24px;
	color: #333;
	cursor: pointer;
	border-radius: 50%;
	transition: background 0.3s;
	z-index: 10;
}

.slider-arrow-prev { left: 20px; }
.slider-arrow-next { right: 20px; }

.slider-arrow:hover {
	background: white;
}

.slider-dots {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 10;
}

.slider-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.5);
	border: none;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.slider-dot.active {
	background: #FFD700;
}

/* Responsive */
@media (max-width: 768px) {
	.main-slider { height: 350px; }
	.slider-title { font-size: 32px; }
	.slider-description { font-size: 16px; }
	.slider-button { padding: 10px 24px; font-size: 16px; }
	.slider-arrow { width: 40px; height: 40px; font-size: 20px; }
}

@media (max-width: 480px) {
	.main-slider { height: 280px; }
	.slider-title { font-size: 24px; }
	.slider-description { font-size: 14px; margin-bottom: 20px; }
	.slider-button { padding: 8px 20px; font-size: 14px; }
}