.teacher {
    background-color: #fff;
    padding: 20px;
    margin: 20px;
    border-radius: 5px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.teacher img {
    max-width: 100%;
    height: auto;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
}

.teacher h3 {
    margin-top: 10px;
}

.teacher p {
    color: #777;
}

.teacher:hover {
    transform: scale(1.05);
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}