/* Reset some basic styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #f8f9fa;
    line-height: 1.6;
}

/* Ensure content aligns well */
#content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 30px;
}

/* Each card will take 50% of the space on smaller screens, 25% on larger screens */
.col-sm-6 {
    width: 100%;
}

.col-lg-3 {
    width: 48%; /* For large screens, two items in one row */
}

.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    background-color: #007bff;
    color: white;
    padding: 10px;
    font-weight: bold;
}

.card-body {
    padding: 20px;
    font-size: 16px;
    text-align: center;
}

.card-footer {
    background-color: #f8f9fa;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

/* Style for buttons inside the cards */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    padding: 10px 20px;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #004085;
}

/* Responsive Design for smaller screens */
@media (max-width: 768px) {
    .col-sm-6 {
        width: 48%; /* 2 cards per row on medium screens (tablets) */
    }
}

/* For very small screens (mobile) */
@media (max-width: 480px) {
    .col-sm-6 {
        width: 100%; /* 1 card per row on small screens (phones) */
    }
}
