/* Blog Page Specific Styling */
.blog {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog h1 {
    font-size: 2.5rem;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.blog p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.blog-post {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.blog-post:hover {
    transform: translateY(-8px);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2);
}

.blog-img {
    width: 100%;
    height: auto;
    max-width: 900px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.blog-post h2 {
    font-size: 1.8rem;
    color: #f57c00;
    margin-bottom: 15px;
    text-align: center;
}

.blog-post p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 20px;
}

.blog-post .read-more {
    display: inline-block;
    padding: 10px 18px;
    background-color: #f57c00;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 15px;
}

.blog-post .read-more:hover {
    background-color: #e64a19;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog h1 {
        font-size: 2rem;
    }

    .blog-post h2 {
        font-size: 1.5rem;
    }

    .blog-post p {
        font-size: 0.95rem;
    }

    .blog-img {
        max-width: 100%;
    }
}
