.table-container .faculty-photo {
  border-radius: 15px; /* Rounded corners instead of full circle */
  //object-fit: cover;
  width: 150px;
  height: 150px;
  margin: 0 auto;
  display: block;
}

.table-container .card {
    border: 1px solid #F5DADF; /* Set the border color */
}

.table-container .card-body {
    padding-bottom: 2px; /* Reduce bottom padding */
	background:#F5DADF;
	
}

/* Card text styling */
.table-container .card-title {
    font-size: 1.1rem;
    font-weight: bold;
	color:blue;
    text-align: center;
    margin-bottom: 5px;
}
.table-container .card-title a{
	color:blue !important;
}

.table-container .qualification {
    color: red; 
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 2px;
	font-weight: bold;
}

.table-container .designation {
    color: green;
    text-align: center;
    font-size: 1rem;
    margin-bottom: 2px;
	font-weight: bold;
}

.table-container .research-interest {
    font-size: 0.9rem;
    margin-bottom: 5px;
    text-align: center;
	color:brown;
}



/* Add hover effect overlay only inside .table-container */

.table-container .faculty-card {
  position: relative; /* Ensure card acts as relative container */
  overflow: hidden;   /* Clip any overflow */
}

.table-container .card-body {
  position: relative; /* Ensure absolute children are positioned inside */
}

.table-container .card-main {
  transition: opacity 0.3s ease;
}

.table-container .hover-details {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F5DADF; /* SAME as card-body */
  border: 1px solid #F5DADF; /* SAME as card */
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
}


.table-container .faculty-card:hover .hover-details {
  opacity: 1;
}

.table-container .faculty-card:hover .card-main {
  opacity: 0.2;
}

