.teachers-list-wrapper {
    margin: 20px 0;
}
.box-teacher.box.box-normal{
	border-radius: 10px;
}
.box-teacher.box.box-normal .box-image img{
	border-radius: 10px 10px 0 0;
} 
.teacher-item .box {
    transition: all 0.3s;
}
.teacher-item .box:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.teacher-item .box-image .image-cover {
    position: relative;
}
.teacher-item .box-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 5px;
}
.teacher-item .box-text {
    padding: 15px;
	border-radius: 0 0 10px 10px;
}
.teacher-name {
    font-size: 1.5rem;
    margin: 0 0 5px;
    color: #333;
}
.teacher-popup {
    background: #cabbb0;
    padding: 30px 30px 0;
    max-width: 900px;
    margin: 20px auto;
    position: relative;
    border-radius: 16px;
}
.mfp-close-btn-in .teacher-popup .mfp-close{
	width: 30px;
    height: 30px;
    background: #fff;
    color: #cabbb0;
    border-radius: 50%;
    line-height: 30px;
    font-size: 30px;
    top: 6px !important;
    right: 6px;
}
.teacher-popup .teacher-name {
    font-size: 1.8rem;
	color: var(--primary-color);
    margin-bottom: 0;
}
.teacher-popup .teacher-position {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}
.teacher-popup .teacher-description {
    font-size: 18px;
    color: #fff;
    line-height: 1.6;
}
.teacher-popup .teacher-description p strong{
	color: yellow;
}
.teacher-popup .teacher-popup-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
}
@media (max-width: 768px) {
    .teacher-item .teacher-name {
        font-size: 1.2rem;
    }
    .teacher-popup {
        padding: 15px;
    }
    .teacher-popup .teacher-name {
        font-size: 1.5rem;
    }
    .teacher-popup .teacher-position {
        font-size: 1rem;
    }
    .teacher-popup .teacher-description {
        font-size: 0.9rem;
    }
}