.reference-box {
    border: 1px solid #ddd;
    padding: 10px;
    background-color: #f8f9fa;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.reference-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .reference-box {
        padding: 5px;
        height: 150px;
    }
    
    .reference-box img {
        max-height: 80%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .reference-box {
        padding: 10px;
        height: 180px;
    }
    
    .reference-box img {
        max-height: 90%;
    }
}

@media (min-width: 992px) {
    .reference-box {
        padding: 15px;
        height: 200px;
    }
    
    .reference-box img {
        max-height: 100%;
    }
}
