
.board-of-governors .top-management figure,
.board-of-governors .top-management figure img,
.board-of-governors .top-management figure:hover img {
    transition: 0.3s ease-in-out;
}

.board-of-governors .top-management figure {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.board-of-governors .top-management figure:hover img {
    transform: scale(1.1) rotate(1deg); 
}
.board-of-governors .top-management figure img {
    width: 100%;
}
.board-of-governors .top-management figure figcaption {
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    backdrop-filter: blur(13px);
    color: var(--white-color);
    padding: 1.25rem 0;
}
.board-of-governors .top-management figure h5 {
    font-weight: 600;
}

.board-of-governors .modal-dialog img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 1rem;
}
.board-of-governors .modal-dialog h5 {
    color: var(--blue-color);
    font-weight: 600;
}
.board-of-governors .modal-dialog .position {
    color: var(--black-color);
    font-weight: 600;
    font-size: .9rem;
}

/* Message from Board of Governors */
.board-of-governors .message {
    gap: 2rem;
    display: flex;
    flex-direction: column;
}
.board-of-governors .message h3 {
    font-weight: 600;
    color: var(--blue-color);
}
.board-of-governors .message figure {
    gap: 2rem;
    padding: 1.5rem;
    display: flex;
    border: none;
    border-radius: 1rem;
    flex-direction: column;
    background-color: var(--bg-gray-color);
}
.board-of-governors .message .top {
    display: flex;
    gap: 2rem;
    align-items: end;
}
.board-of-governors .message .top img {
    width: 6rem;
    height: 6rem;
    object-fit: cover;
    border-radius: 1rem;
    border: 3px solid var(--green-color);
}
.board-of-governors .message .top h5 {
    color: var(--black-1);
    font-weight: 600;
}
.board-of-governors .message .top p {
    font-size: .9rem;
}


.board-of-governors .message .bottom {
    gap: 1rem;
    display: flex;
    flex-direction: column;
}
.board-of-governors .message .bottom a {
    color: var(--orange-color);
    text-decoration: underline !important;

}
.board-of-governors .message .bottom .quoted-right {
    display: flex;
    justify-content: end;
}
.board-of-governors .message .bottom img {
    width: 1.5rem;
    object-fit: contain;
}
.board-of-governors .message .bottom p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* number of lines to show */
            line-clamp: 4; 
    -webkit-box-orient: vertical;
    margin: 0;
}

/* another custom css */
.board-of-governors .modal-body {
    padding: 1.5rem;
}
.board-of-governors .modal-content {
    border-radius: 1rem;
}
.container-custom {
    overflow: hidden;
    margin-left: 25rem;
}

.board-of-governors .slick-active button {
    width: 2rem;
    border-radius: 2rem;
}


@media (min-width: 1600px) {
    .board-of-governors .modal-dialog {
        max-width: 60%;
    }
}

@media (max-width: 1600px) {
    .container-custom {
        margin-left: 15rem;
    }
    .board-of-governors .modal-dialog {
        max-width: 80% !important;
    }
}

@media (max-width: 1445px) {
    .container-custom {
        margin-left: 9rem;
    }
    .board-of-governors .modal-dialog {
        max-width: 80% !important;
    }
}

@media (max-width: 1280px) {
    .container-custom {
        margin-left: 3rem;
    }
}

@media (max-width: 1024px) {
    .board-of-governors .modal-dialog {
        max-width: 90% !important;
    }
}

@media (max-width: 768px) {
    .container-custom {
        margin-left: 2rem;
    }
}

@media (max-width: 700px) {
    .container-custom {
        margin-left: .5rem;
    }
    .board-of-governors .modal-dialog {
        max-width: 100% !important;
    }
    .board-of-governors .modal-body .row {
        gap: 1rem;
    }

    footer .footer-top .container {
        display: flex !important;
        flex-direction: column !important;
    }
    footer .footer-top .menu {
        font-size: 1.3rem;
    }
    footer .footer-bottom .container {
        flex-direction: column;
    }
    footer .footer-bottom .wrap-bottom img {
        margin: 0;
    }
    footer .footer-bottom .content-right .wrap-bottom ul {
        display: flex;
        gap: 1rem;
    } 

    .enroll-now .detail {
        flex-direction: column;
    }
    .enroll-now .thumbnail img {
        width: 100%;
        height: 9rem;
        object-fit: cover;
    }
    .enroll-now .detail a {
        font-size: 1rem !important;
        padding: .7rem 1rem !important;
    }
    .enroll-now .detail .title {
        font-size: 1.25rem;
    }
}