/* General page styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    padding: 10px;
}
nav .logo a {
    color: white;
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
}

/* Card Styles */
.card {
    width: 18rem;
    margin: 10px 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.card-img-top {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-body {
    padding: 15px;
    text-align: center;
}

.card-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-text {
    font-size: 1rem;
    color: #555;
    margin-bottom: 15px;
}

/* Button Styles */
.btn-primary {
    display: inline-block; /* Ensure the button behaves properly */
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    cursor: pointer; /* Add pointer for better user feedback */
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Card Container and Responsiveness */
@media (max-width: 768px) {
    .row {
        justify-content: center;
    }

    .card {
        width: 100%;
        max-width: 350px;
    }
}

@media (max-width: 576px) {
    .card-title {
        font-size: 1rem;
    }

    .card-text {
        font-size: 0.9rem;
    }

    .btn-primary {
        font-size: 0.9rem;
    }
}
