/* Blog Section Styles - proper top space below fixed navbar (90px) */
.blog-section {
    padding: 50px 5%;
    padding-top: 160px;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.blog-section .blog-card:first-child {
    margin-top: 0;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.15);
}

/* Title */
.blog-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Sub-title */
.blog-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 15px;
}

/* Description preview */
.blog-desc {
    color: #555;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Posted by + Date layout */
.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.posted-by {
    color: #666;
    font-size: 0.9rem;
}

.posted-by span {
    color: #2563eb;
    font-weight: 600;
}

.blog-date {
    color: #666;
    font-size: 0.9rem;
}

.blog-date span {
    color: #1a1a2e;
    font-weight: 500;
}

/* Read More Button */
.read-more-btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 0.95rem;
    color: #fff;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    color: #fff;
}

/* Page Title */
.blog-page-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 50px;
}

/* Responsive Fix - proper padding from nav */
@media (max-width: 992px) {
    .blog-section {
        padding-top: 150px;
    }
}

@media (max-width: 768px) {
    .blog-section {
        padding-top: 140px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .blog-card {
        padding: 30px 25px;
    }

    .blog-title {
        font-size: 1.3rem;
    }

    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .blog-page-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .blog-section {
        padding-top: 100px;
    }

    .blog-card {
        padding: 25px 20px;
    }

    .blog-title {
        font-size: 1.2rem;
    }

    .read-more-btn {
        width: 100%;
        text-align: center;
    }
}
