<style>
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background: #333;
    color: #fff;
    padding: 1rem;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
}

section {
    padding: 2rem;
    text-align: center;
    background: #fff;
    margin: 1rem;
    border-radius: 5px;
}

.chart-container {
    width: 100%;
    height: 400px;
    background: #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
}

label {
    margin-top: 10px;
}

input, textarea {
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    margin-top: 15px;
    padding: 10px;
    background: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #555;
}

footer {
    text-align: center;
    padding: 1rem;
    background: #333;
    color: #fff;
    margin-top: 1rem;
}


        #blogs {
            padding: 20px;
            margin: 0 auto;
            max-width: 1200px;
        }

        .blog-container {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            justify-content: space-between;
        }

        .blog-card {
            flex: 1 1 calc(33.333% - 20px); /* 3 items per row with gap */
            border: 1px solid #ccc;
            padding: 15px;
            border-radius: 5px;
            box-sizing: border-box;
            position: relative;
        }

        .blog-image {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 5px;
        }

        .blog-title {
            font-size: 24px;
            font-weight: bold;
            margin-top: 15px;
        }

        .blog-meta {
            font-size: 14px;
            color: #888;
        }

        .blog-content {
            font-size: 16px;
            margin-top: 10px;
        }

        .read-more {
            display: inline-block;
            margin-top: 0px;
            padding: 10px 20px;
            background-color: #000000;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            transition: background-color 0.3s;
        }

        .read-more:hover {
            background-color: #000000;
        }

        /* Responsive: Show one item per row on screens less than 1200px */
        @media (max-width: 1200px) {
            .blog-card {
                flex: 1 1 calc(100% - 20px); /* 1 item per row */
            }
        }

        /* Responsive: Stack blog cards in one column on smaller screens */
        @media (max-width: 768px) {
            .blog-card {
                flex: 1 1 100%; /* Full-width cards on smaller screens */
            }
        }

</style>