.card {
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: scale(1.03);
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-content {
    margin: auto;
    display: block;
    width: fit-content;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-content img {
    width: 100%;
    height: auto;
}

#caption {
    margin: 15px auto;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
}

#caption h5 {
    color: #fff;
    font-size: 1.5em;
    margin-bottom: 5px;
}

#caption p {
    font-size: 1em;
    line-height: 1.5;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}
