body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to bottom, #e0e0e0 70%, #d84315 30%);
}

.card-section {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 80px 20px;
    flex-wrap: wrap; /* important for responsiveness */
}

.card {
    background: #f5f5f5;
    border-radius: 25px;
    width: 300px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 15px;
}

.card h3 {
    margin-top: 20px;
    font-size: 18px;
    letter-spacing: 2px;
    color: #333;
}

.card p {
    font-size: 13px;
    color: #777;
    padding: 0 10px;
}

.card a {
    display: inline-block;
    margin-top: 15px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #333;
}

/* Orange bottom effect */
.card::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    height: 80px;
    background: #d84315;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    z-index: -1;
}


/* Tablet */
@media (max-width: 992px) {
    .card {
        width: 45%;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .card-section {
        flex-direction: column;
        align-items: center; /* center align */
    }

    .card {
        width: 90%;
	max-width: 320px;
    }
}