/* Modal Popup CSS */

/* Modal overlay */
.modal-overlay {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.7);
}

/* Modal content */
.modal-content {
	position: relative;
	background-color: #fefefe;
	margin: 2% auto;
	padding: 0;
	border: none;
	width: 90%;
	max-width: 900px;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
	border-radius: 8px;
	animation: modalopen 0.3s;
}

@keyframes modalopen {
	from {opacity: 0; transform: translateY(-50px);}
	to {opacity: 1; transform: translateY(0);}
}

/* Modal header */
.modal-header {
	padding: 20px 20px 0 20px;
	background-color: #f8f9fa;
	border-radius: 8px 8px 0 0;
}

/* Close button */
.modal-close {
	color: #aaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
	position: absolute;
	right: 20px;
	top: 15px;
}

.modal-close:hover,
.modal-close:focus {
	color: #000;
	text-decoration: none;
}

/* Modal body */
.modal-body {
	padding: 20px;
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

.modal-image {
	flex-shrink: 0;
}

.modal-image img {
	width: 150px;
	height: 150px;
	/*border-radius: 150px;*/
    box-shadow:rgba(0, 0, 0, 0.15) 0px 5px 10px;
	border: 1px solid #000;
	overflow: hidden;
	object-fit: cover;
}

.modal-text {
	flex: 1;
}

.modal-text h2 {
	margin: 0 0 10px 0;
	color: #333;
	font-size: 24px;
}

.modal-text .role {
	font-weight: bold;
	color: #666;
	margin-bottom: 15px;
}

.modal-text .bio {
	line-height: 1.6;
	color: #333;
}

/* Responsive design */
@media (max-width: 768px) {
	.modal-content {
		width: 95%;
		margin: 5% auto;
	}
	
	.modal-body {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	
	.modal-image img {
		width: 120px;
		height: 120px;
	}
}