/* Blog Section Styles */
.blog-section {
    background-color: var(--lightGray);
}

.blog-posts {
    margin-top: 2rem;
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 96, 254, 0.15);
}

.blog-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.blog-date,
.blog-author {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-date::before {
    content: "📅";
    margin-right: 0.25rem;
}

.blog-author::before {
    content: "✍️";
    margin-right: 0.25rem;
}

.blog-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-title a {
    color: var(--darkBlue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--primaryColor);
}

.blog-excerpt {
    font-size: 0.938rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.blog-link {
    color: var(--primaryColor);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.938rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-link:hover {
    color: var(--darkBlue);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .blog-card {
        margin-bottom: 1.5rem;
    }
    
    .blog-image {
        height: 200px;
    }
}

@media (max-width: 767px) {
    .blog-image {
        height: 180px;
    }
    
    .blog-content {
        padding: 1.25rem;
    }
    
    .blog-title {
        font-size: 1.125rem;
    }
}


