.section {
    padding: 20px 0;
    text-align: center;
}
.staff-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.staff-card {
    
    width: 250px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    position: relative;
}
.staff-card img {
    width: 100%;
    border-bottom: 1px solid #ddd;
}
.staff-card .caption {
    background: #f8f9fa;
    padding: 10px;
    font-weight: normal;
}
.staff-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    text-align: left;
}
.staff-card:hover .staff-info {
    transform: translateY(0);
}


.modal-body img {
    max-height: 80vh;
    width: auto;
    display: block;
    margin: auto;
}

.card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.card-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}



.course-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.course-card {
    
    width: 500px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    position: relative;
}
.course-card img {
    width: 100%;
    border-bottom: 1px solid #ddd;
}
.course-card .caption {
    background: #f8f9fa;
    padding: 10px;
    font-weight: bold;
}
.course-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    text-align: left;
}
.course-card:hover .course-info {
    transform: translateY(0);
}
