.blogheader {
    width: 100vw;
    height: 500px;
    background-image: url('../image/image4.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    animation: fadeInDown 1s ease-in-out;
}

.blogheader h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff 20%, #4a4dff 40%, #fff 60%, #ffb74a 80%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Added shadow for better readability */
}

.blogcontainer {
    padding: 10px;
    margin-top: 10px;
}

.blog-container {
    margin-top: 5%;
    padding: 50px 20px;
}

.blog-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.blog-text {
    flex: 1;
    text-align: left;
}

.blog-title {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.blog-image-container {
    flex: 1;
    text-align: right;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.blog-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.blog-image:hover {
    transform: scale(1.05);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

.blog-description {
    margin-top: 20px;
    font-size: 20px;
    color: #555;
    text-align: center;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: horizontal;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* .blog-description {
    margin-top: 20px;
    font-size: 20px;
    color: #555;
    text-align: center;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: horizontal;
    overflow: hidden;
    text-overflow: ellipsis;
} */

@media (max-width: 768px) {
    .blog-content {
        flex-direction: column;
    }
    .blog-image-container {
        text-align: center;
        width: 100%;
    }
    .blog-text {
        text-align: center;
    }
    .blog-description {
        margin-top: 10px;
    }
}
