/* Grid layout for team members */
.home_teams_sec .team-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: start;
	gap: 42px 25px;
	padding: 20px;
}
.home_teams_sec .team-grid .team-member {
	width: 23%;
	display: inline-flex;
	flex-direction: column;
	align-items: stretch;
	height: 100%;
	border: 0;
	background: transparent;
	box-shadow: none;
	text-align: center;
}

.home_teams_sec .team-grid .team-member .team-image {
	aspect-ratio: 2 / 2;
	object-fit: cover;
	border-radius: 50%;
	overflow: hidden;
	max-width: 200px;
	margin: 0 auto;
}
.home_teams_sec .team-grid .team-member .team-image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}
.home_teams_sec .team-grid .team-member .team-info {
	margin-top: 15px;
}
.home_teams_sec .team-grid .team-member .team-info h3 {
	display: none;
	margin: 0 0 10px;
	font-size: 1.2rem;
}
.home_teams_sec .team-grid .team-member .team-info .designation {
	margin-bottom: 15px;
	font-size: 16px;
	font-weight: 600;
	color: #0c72a3;
	min-height: 48px;
}

.home_teams_sec .team-grid .team-member .team-info .learn-more-btn {
	line-height: 1;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
}


/* Popup styling */
.popup-overlay.cus_popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-overlay.cus_popup .popup-content {
    background-color: #fff;
    padding: 20px;
    max-width: 600px;
    width: 90%;
    overflow-y: auto;
    position: relative;
    max-height: 550px;
    border-radius: 8px;
}

.popup-overlay.cus_popup button.close-popup {
	background-color: #373737;
	border: none;
	padding: 10px;
	color: white;
	font-size: 16px;
	cursor: pointer;
	position: absolute;
	top: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 5px;
}
.popup-overlay.cus_popup .popup-content h2 {
	font-size: 20px;
	padding-bottom: 15px;
}
.popup-overlay.cus_popup .popup-content .popup-designation {
	margin-bottom: 15px;
	font-weight: 600;
}
.popup-overlay.cus_popup .popup-content .ful_descr p {
	margin-bottom: 15px;
}
.popup-overlay.cus_popup .popup-content .ful_descr p:last-child {
	margin-bottom: 0;
}


@media (max-width: 1080px) {
.home_teams_sec .team-grid .team-member {
	width: 31%;;
}
.home_teams_sec .team-grid .team-member .team-info .designation {
	font-size: 14px;;
}
.qodef-title .qodef-title-holder h1 {
	font-size: 34px;
}


}

@media (max-width: 767px) {
.home_teams_sec .team-grid .team-member {
	width: 48%;
}
.popup-overlay.cus_popup .popup-content {
    width: 80%;
}
.qodef-title .qodef-title-holder h1 {
	font-size: 28px !important;
}
h2 {
	font-size: 26px !important;
}


}

@media (max-width: 480px) {
.home_teams_sec .team-grid .team-member {
	width: auto;
}


}  




