/* ==========================COMPANY INTRO========================== */
.company-intro {
	width: 100%;
	margin: 60px auto 0;
	padding: 0 20px;
	box-sizing: border-box;
	background-color: #fff;
}

.company-intro-container {
	display: flex;
	align-items: center;
	gap: 40px;
	//background-color: #FFF8E1; /* زرد ملایم برای پس‌زمینه کل باکس */
	background:linear-gradient(237deg, rgb(255 105 0 / 75%) 4%, #ffd700 58%);
	border: 1px solid #FFD700; /* بوردر زرد */
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
	padding: 30px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-intro-container:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.company-intro-content {
	flex: 1 1 50%;
}

.intro-title {
	font-size: 28px;
	font-weight: bold;
	color: #333;
	margin: 0 0 20px 0;
	line-height: 1.4;
}

.intro-description {
	font-size: 16px;
	color: #666;
	line-height: 1.6;
	margin: 0;
	text-align: justify;
}

.company-intro-image {
	flex: 0 0 50%;
	text-align: center;
}

.image-wrapper {
	position: relative;
	width: 100%;
	height: 300px;
	overflow: hidden;
	border-radius: 12px;
	background: linear-gradient(45deg, #FFF8E1, #FFD700); /* گرادیانت زرد/سفید */
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
	transition: transform 0.6s ease-out;
}



.intro-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
	transition: transform 0.6s ease-in-out;
}

/* Animation on scroll */
.company-intro-container:not(.animated) .image-wrapper {
	transform: translateX(100%);
}

.company-intro-container.animated .image-wrapper {
	transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
	.company-intro-container {
		flex-direction: column;
		gap: 30px;
	}
	.company-intro-content {
		flex: 1 1 100%;
	}
	.company-intro-image {
		flex: 0 0 100%;
	}
	.image-wrapper {
		height: 250px;
	}
	.intro-title {
		font-size: 24px;
	}
	.intro-description {
		font-size: 14px;
	}
}

@media (max-width: 480px) {
	.company-intro {
		margin: 40px auto 0;
		padding: 0 15px;
	}
	.company-intro-container {
		gap: 20px;
	}
	.image-wrapper {
		height: 200px;
	}
	.intro-title {
		font-size: 20px;
	}
	.intro-description {
		font-size: 13px;
	}
}