body {
    font-family: Arial, sans-serif;
    min-height: 100vh;
    margin: 0;
    background-color: #121212; /* Updated to match index.html */
    color: white; /* Updated text color */
}
.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto; /* Center the container */
    padding-top: 120px; /* Adjusted padding to make space for the navbar */
}
.card {
    background-color: #fff;
    color: black; /* Updated text color */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px;
    width: calc(30% - 20px);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: scale(1.05); /* Slightly enlarge card on hover */
    box-shadow: 0 0 15px 5px green; /* Green shadow on hover */
}
.card img {
    width: 100%;
    height: auto;
}
.card-content {
    padding: 15px;
}
.card-content h2 {
    color: green;
    margin: 0 0 10px 0;
    font-size: 18px;
}
.card-content h3 {
    color: black;
    margin: 0 0 10px 0;
    font-size: 16px;
}
.card-content p {
    color: green;
    margin: 0 0 10px 0;
    font-size: 14px;
}
.card-footer {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #ddd;
    padding: 10px;
    font-size: 14px;
    color: black;
}
.info-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}
.info-row img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}
.info-row span {
    padding: 0 5px;
}
.details-row {
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #ddd;
    padding-top: 10px;
    margin-top: 10px;
}
.view-details {
    display: flex;
    align-items: center;
    color: black;
    cursor: pointer;
}
.view-details span {
    margin-left: 5px;
    color: green;
}
@media (max-width: 1024px) {
    .card {
        width: calc(35% - 20px); /* Adjust for smaller screens */
    }
}
@media (max-width: 768px) {
    .card {
        width: calc(70% - 20px); /* Adjust for smaller screens */
        margin: 10px auto; /* Center card */
    }
}
@media (max-width: 480px) {
    .card {
        width: calc(100% - 20px); /* Adjust for smaller screens */
        margin: 10px auto; /* Center card */
    }
}
