body.staff-page-body {
    font-family: Arial, sans-serif !important;
    background-color: #f4f4f4 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

.staff-hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../image/Container.png');
    height: 60vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    border-top: none;
    border-bottom: 2px solid #fff;
    margin: 0;
}

.staff-hero-section h1 {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.staff-hero-section p {
    font-size: 1.2rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    .staff-hero-section {
        height: 40vh;
    }
    .staff-hero-section h1 {
        font-size: 2rem;
    }
    .staff-hero-section p {
        font-size: 1rem;
    }
}

.content-section {
    background-color: #ffffff;
    padding: 40px 20px;
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.image-card {
    flex: 1 1 calc(33.333% - 20px);
    width: 280px;
    height: 350px;
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease-in-out;
}

.image-card:hover {
    transform: translateY(-5px);
}

.image-card img {
    width: 100%;
    height: 280px;
    display: block;
    border-bottom: 1px solid #eee;
    padding: 0;
    border-radius: 8px 8px 0 0;
    box-shadow: none;
    object-fit: cover;
    object-position: center;
}

.image-card-title {
    padding: 15px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    border-radius: 0 0 8px 8px;
}

@media (max-width: 992px) {
    .image-card {
        flex: 1 1 calc(50% - 20px);
        width: 250px;
        height: 320px;
    }
    .image-card img {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .image-card {
        flex: 1 1 calc(100% - 20px);
        width: 100%;
        height: 300px;
    }
    .image-card img {
        height: 250px;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    object-fit: contain;
    animation: zoomIn 0.3s ease-in-out;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
}

#caption {
    position: absolute;
    top: calc(50% + 45vh);
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: 80%;
    max-width: 900px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media only screen and (max-width: 700px){
    .modal-content {
        width: 95%;
        max-height: 70vh;
    }
    .close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
    #caption {
        width: 95%;
        font-size: 1rem;
        top: calc(50% + 40vh);
    }
}