/* .panel70 body */
/* { */
	/* margin: 0; */
	/* font-family: 'Vazir', sans-serif; */
	/* direction: rtl; */
	/* background: url('https://i.ibb.co/tZV9yt5/medical-bg.jpg') no-repeat center center/cover; */
/* } */

.panel70 *
{
	font-size: initial;
}

.panel70 .overlay
{
	background-color: rgba(0, 160, 140, 0.85);
	padding: 60px 20px;
	min-height: 100vh;
	text-align: center;
}

.panel70 h1
{
	color: #fff;
	font-size: 36px;
	margin-bottom: 20px;
	font-family: 'Vazir';
}

.panel70 p
{
	color: #e0f7f7;
	font-size: 16px;
	max-width: 800px;
	margin: 0 auto 40px;
	line-height: 1.5;
	font-family: 'Vazir';
}

.panel70 .gallery
{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

.panel70 .gallery-item
{
	position: relative;
	flex: 1 1 calc(25% - 20px);
	max-width: calc(25% - 20px);
	overflow: hidden;
	border-radius: 10px;
	/* height: 400px; */
	/* background-color: red; */
}

.panel70 .gallery-item img
{
	width: 100%;
	max-height: 100%;
	aspect-ratio: 3/4;
	object-fit: contain;
	transition: transform 0.4s ease;
	display: block;
}

.panel70 .gallery-item:hover img
{
	transform: scale(1.05);
}

.panel70 .caption
{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(0.8);
	color: #fff;
	background: rgba(0, 0, 0, 0.6);
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 16px;
	opacity: 0;
	transition: all 0.4s ease;
	pointer-events: none;
	font-family: 'Vazir';
}

.panel70 .gallery-item:hover .caption
{
	opacity: 1;
	transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 900px)
{
	.panel70 .gallery-item
	{
		flex: 1 1 calc(45% - 20px);
		max-width: calc(45% - 20px);
	}
}

@media (max-width: 600px)
{
	.panel70 .gallery-item
	{
		flex: 1 1 100%;
		max-width: 100%;
	}
}