/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Title */
.title {
    text-align: center;
    margin: 2rem 0;
}

.title h2 {
    font-size: 2.5rem;
    color: #003366;
    font-weight: 700;
}

.underline {
    width: 100px;
    height: 4px;
    background: #f1c40f;
    margin: 0.5rem auto;
    border-radius: 2px;
}

/* Button Container */
.btn-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}

.filter-btn {
    background: #f1c40f;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn:hover {
    background: #e67e22;
    color: white;
}

/* Cards Grid */
.section-center {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    padding: 0 2rem 2rem;
}

/* Card Styling */
.card {
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
}

.card img {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    height: 200px;
    object-fit: cover;
}

/* Card Content */
.card-body {
    padding: 1rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #003366;
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
}

/* Buttons inside card */
.card .btn {
    font-size: 0.85rem;
    padding: 0.5rem 0.9rem;
    border-radius: 6px;
}