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

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

/* Blog header */
.container h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: #222;
}

.container p.lead {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    color: #555;
}

/* Blog cards */
.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-body {
    padding: 1.5rem;
}

.card-body h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: .75rem;
    color: #111;
}

.card-body p {
    font-size: .95rem;
    color: #555;
}

/* Publish date */
.card-body .text-muted {
    font-size: .85rem;
    margin-bottom: .5rem;
    display: block;
}

/* Blog button */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #004a99;
}

/* ===== Fade-In Animation ===== */
.fade-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-section.visible {
    opacity: 1;
    transform: translateY(0);
}