.nav-link.search,
.nav-link.lost,
.nav-link.found,
.nav-link.about,
.nav-link.contact {
    color: inherit !important;
    text-decoration: none;
}

.nav-item .nav-link:hover {
    border-radius: 5px;
    padding: 5px 10px;
}
.nav-item .nav-link[href="/search"]:hover {
    background-color: #0000FF;
    color: white !important;
}
.nav-item .nav-link[href="/found"]:hover {
    background-color: green;
    color: white !important;
}

.nav-item .nav-link[href="/lost"]:hover {
    background-color: red;
    color: white !important;
}
.nav-item .nav-link[href="/special_persons"]:hover {
    background-color: #FAB633;
    color: white !important;
}
/* .nav-item .nav-link[href="/login"] {
    color: white !important;
    margin-left: 20px;
    border: 2px solid blue;
    border-radius: 5px;
    padding: 5px 10px;
    background: linear-gradient(45deg, #1e90ff, #00bfff);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-item .nav-link[href="/login"]:hover {
    background: linear-gradient(45deg, #00bfff, #1e90ff);
    color: white !important;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
} */

.card-container {
    position: relative;
    overflow: hidden;
    margin: 0 -100px;
    /* Added negative margin to make room for arrows */
}

.card-wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out;
}


.card-img-top {
    width: 100%;
    /* Ensure full width */
    height: 300px;
    /* Set a fixed height */
    object-fit: contain;
    /* Crop images to fill the area without stretching */
    background-color: #1c1919;
    /* Light gray background */
}

.stamp {
    position: absolute;
    padding-left: 20px;
    width: 35%;
    height: 20%;
    object-fit: contain;
}

.card {
    height: 100%;
    /* Ensures all cards are equal height */
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background-color: aliceblue;
}

.photo-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.photo-container img {
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 150px;
    object-fit: cover;
}
