/* Infografis Section */
.team-two__img img.infografis {
    border-radius: 12px 12px 0 0;
    transition: transform 0.4s ease;

    position: relative;
    cursor: pointer; /* Ensure image is clickable */
}


/* Zoom Modal Styling */
.zoom-modal {
    display: none;
    position: fixed;
    z-index: 999999; /* Extremely high to ensure it's on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
    animation: fadeIn 0.3s ease-in-out;
}

.zoom-modal-content {
    display: block;
    margin: 5% auto;
    max-width: 80%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    z-index: 999999; /* Match modal's z-index */
}

.zoom-modal-content:hover {
    transform: scale(1.02);
}

.zoom-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 999999; /* Match modal's z-index */
}

.zoom-modal-close:hover {
    color: #ff4d4f;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}


.team-two__img img.infografis {
    cursor: pointer; /* Added implicitly via zoom-image class */
}


