body {
    font-family: 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}
    .blogs {
        text-align: center;
        padding: 40px 20px;
        background-color: #ffffff; /* White background */
        border-radius: 8px; /* Rounded corners */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Subtle shadow */
        max-width: 1200px; /* Limit maximum width */
        margin: auto; /* Center the section */
    }

    h1 {
        color: #27ae60; /* Main heading color */
        margin-bottom: 20px;
    }

    .blog-list {
        display: flex;
        flex-wrap: wrap; /* Allow wrapping on smaller screens */
        justify-content: center;
        gap: 30px; /* Space between blog posts */
        margin: 20px 0; /* Margin around the blog list */
    }

    .blog-post {
        background: #f9f9f9; /* Light background for items */
        border: 1px solid #ddd; /* Light border */
        border-radius: 10px; /* Rounded corners */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Card shadow */
        width: calc(25% - 30px); /* Responsive width */
        text-align: left; /* Left align text */
        transition: transform 0.3s, box-shadow 0.3s; /* Transition effects */
    }

    .blog-post:hover {
        transform: translateY(-5px); /* Lift effect on hover */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Deeper shadow on hover */
    }

    .blog-image {
        width: 100%;
        height: 150px; /* Fixed height for uniformity */
        object-fit: cover; /* Cover the area without distorting the image */
        border-top-left-radius: 10px; /* Round top corners */
        border-top-right-radius: 10px; /* Round top corners */
    }

    .read-more-button {
        display: inline-block;
        margin: 10px 0;
        padding: 10px 15px;
        background-color: #007bff; /* Blue button color */
        color: white;
        text-decoration: none;
        border-radius: 5px;
        transition: background-color 0.3s; /* Smooth transition for background color */
    }

    .read-more-button:hover {
        background-color: #0056b3; /* Darker shade of blue on hover */
    }

    .newsletter-signup {
        margin-top: 40px;
        padding: 20px;
        background: #e6f9e6; /* Light green background */
        border-radius: 8px; /* Rounded corners */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Shadow for emphasis */
    }

    .newsletter-signup h2 {
        color: #2c3e50; /* Darker heading color */
        margin-bottom: 10px;
    }

    .newsletter-form {
        margin-top: 10px;
    }

    .newsletter-form input[type="email"] {
        padding: 10px;
        width: 250px; /* Fixed width for input */
        border: 1px solid #ccc;
        border-radius: 5px; /* Rounded corners */
        margin-right: 10px; /* Space between input and button */
    }

    .newsletter-form button {
        padding: 10px 15px;
        background-color: #27ae60; /* Button color */
        color: white;
        border: none;
        border-radius: 5px; /* Rounded corners */
        cursor: pointer; /* Pointer cursor on hover */
    }

    .newsletter-form button:hover {
        background-color: #219150; /* Darker shade on hover */
    }

    /* Responsive Styles */
    @media (max-width: 1200px) {
        .blog-post {
            width: calc(33.33% - 30px); /* 3 columns on medium screens */
        }
    }

    @media (max-width: 800px) {
        .blog-post {
            width: calc(50% - 30px); /* 2 columns on smaller screens */
        }
    }

    @media (max-width: 600px) {
        .blog-post {
            width: 100%; /* Single column on extra small screens */
        }
    }

    li a.active {
    color: yellow; 
    border-bottom: 2px solidrgba(214, 231, 60, 0.55); /* Underline for active link */
}