@media(min-width:767px) {
    .team-members {
        display: flex;
        flex-wrap: wrap;
    }
}

.team-member {
    flex: 0 1 calc(25% - 20px);
    margin: 10px;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
	cursor: pointer;
}

.team-member-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    /* Makes it circular */
}

.team-popup img {
    width: 100%;
    height: auto;
}



/* ???????????????????????????????????????? */
/* Popup Container */
.team-popup {
    position: fixed;
    left: 50%;
    top: 57%;
    height: 100%;
    width: 100%;
    background-color: #000000e0;
    transform: translate(-50%, -50%);
    z-index: 99999;
	overflow-y: scroll;
}

#popup-designation {
    color: white;
    font-size: 19px;
}

/* Popup Content */
.team-popup-content {
    background-color: #1f8bd0;
    padding: 30px;
    width: 420px;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.2);
    color: white;
    text-align: center;
    position: relative;
	
}

/* Close Button */
.popup-close {
position: absolute;
  top: 35px;
  right: 40px;
  font-size: 58px;
  color: white;
  cursor: pointer;
}

/* Circular Image */
#popup-image {
    border-radius: 50%;
    overflow: hidden;
    width: 270px;
    height: 270px;
    margin: 0 auto 15px;
    border: 10px solid white;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

#popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	object-position: top;
}

/* Name */
#popup-name {
    font-size: 1.9em;
    font-weight: bold;
	color: white;
}

/* Title */
#popup-title {
    font-size: 1.1em;
    font-weight: normal;
    margin-bottom: 15px;
}

/* Expertise Text */
#popup-expertise {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 15px;
    font-weight: 400;
    color: #ffff;
}

/* LinkedIn Link */
#popup-linkedin {
    color: white;
    text-decoration: underline;
    font-weight: normal;
    font-size: 16px;
}

#popup-linkedin:hover {
    text-decoration: none;
}

/* Gradient Background for the Container */
.team-popup-content {
    background: linear-gradient(145deg, #076ab0, #3f9eca);
    padding: 39px;
    border-radius: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    margin: auto;
   width: 45%;
    margin-top: 101px;
	margin-bottom: 60px;
}
@media (min-width: 1024px) and (max-width:1440px) {
.team-popup-content {
width: 80%;
    margin-top: 75px;
}}
@media (max-width: 425px) {
    .team-popup-content {
        padding: 10px!important;
		margin-top: 30px;
	}}
/* Media Queries for Responsiveness */
@media (max-width: 1023px) {
    .team-popup-content {
        width: 90%;
        padding: 20px;
    }

    #popup-name {
        font-size: 1.4em;
    }

    #popup-title {
        font-size: 1em;
    }

    #popup-expertise {
        font-size: 0.9em;
    }
}
@media (max-width: 1023px) {
#popup-image {
    width: 160px;
    height: 160px;
	}
.popup-close {
    font-size: 35px;
}}
.ruleunder {
    font-weight: 400;
    color: #808080;
    font-size: 15px;
}

.headunder {
    font-weight: 700;
    padding-bottom: 2px;
    color: #002948;
}

.team-member-photo img {
	border-radius: 30px;
    object-fit: cover;
	object-position: top;
    height: 230px;
    width: 90% !important;
}
.team-members-row{
	z-index:99;
}