/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #f4f8fc;
    color: #333;
    line-height: 1.7;
}

/* HERO SECTION */
.blog-hero {
    background: linear-gradient(to right, #011e49, #011e49);
    color: #ffffff;
    padding: 70px 20px;
}

.blog-hero-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.blog-hero-text {
    flex: 1;
}

.blog-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.blog-hero p {
    font-size: 18px;
    opacity: 0.95;
}

/* HERO IMAGE */
.blog-hero img {
    max-width: 420px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .blog-hero-container {
        flex-direction: column;
        text-align: center;
    }

    .blog-hero img {
        max-width: 100%;
    }
}


/* ================= BLOG CARD SECTION ================= */

.blogs-list {
    padding: 70px 20px;
}

.blogs-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* BLOG CARD */

.blog-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* BLOG IMAGE */

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* BLOG CONTENT */

.blog-content {
    padding: 22px;
}

.blog-content h2 {
    font-size: 20px;
    color: #011e49;
    margin-bottom: 10px;
}

.blog-content p {
    font-size: 15px;
    color: #555;
    margin-bottom: 18px;
}

/* READ MORE BUTTON */

.read-btn {
    display: inline-block;
    padding: 9px 20px;
    background: #011e49;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: 0.3s;
}

.read-btn:hover {
    background: #003b8f;
}


/* ================= SINGLE BLOG PAGE ================= */

.content {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.content h1,
.content h2,
.content h3 {
    color: #011e49;
    margin-bottom: 15px;
}

.content p {
    margin-bottom: 18px;
    color: #444;
}

.content ul {
    margin: 20px 0 30px 20px;
}

.content ul li {
    margin-bottom: 10px;
}


/* FOOTER */

footer {
    text-align: center;
    padding: 20px;
    background: #011e49;
    color: #ffffff;
    margin-top: 60px;
}

footer a {
    display: inline-block;
    margin-top: 40px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
}