.card {
    /* background-color: #fff; */
    border-radius: 10px;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2), 0px 6px 6px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease-in-out;
    margin-bottom: 20px;
   
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 15px 25px rgba(0, 0, 0, 0.3), 0px 10px 10px rgba(0, 0, 0, 0.3);
}

.card-body {
    color: black;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: justify;
    /* background-color: #700820; */
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
   
    font-weight: bold;
}

.card-text {
    margin-bottom: 20px;
    text-align: center;
    color: black;
}

.faculty-image {
    width: 150px;
    height: 180px
}

.scrolling-container {
    width: 100%; /* Set constant width */
    height: 200px; /* Set constant height */
    overflow-y: auto; /* Enable vertical scrolling */
}

.faculty-name {
    font-size: 16px;
    color: #a11515;
    font-weight: bold;
    text-align: center;
    margin: 11px 0 0 0;
}

.hod-role {
    font-size: 30px; /* Set font size for HOD role */
    font-weight: bold; /* Make the font bold */
    text-align: center; /* Center the text */
    background-color: #700820; /* Set background color */
    padding: 8px; /* Add padding */
    border-radius: 5px; /* Add border radius */
    margin-bottom: 8px; /* Add some bottom margin */
    color: whitesmoke;
}


