/* blog css start*/
/* Existing CSS code */
.blog-container {
    display: flex;
    overflow: hidden;
    width: 100%;
    background-color: rgb(249, 248, 248);
    font-family: sans-serif;
    position: relative;
}

.blog-wrapper {
    width:100%;
    display: flex;
    transition: transform 0.5s ease;
    padding-bottom:50px;
}

.blog-post {
    flex:  0 0 25%;
    max-width: 100%;
    box-sizing: border-box;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    margin: 10px;
}

.blog-post img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 10px;
}

.blog-heading {
    padding-top: 20px;
    background-color: rgb(249, 248, 248);
    text-align: center;
    font-weight: 900;
    padding-bottom: 10px;
}

.blog-heading h1 {
    font-weight: 900;
    font-family: sans-serif;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px; /* Adjust the width */
    height: 40px; /* Adjust the height to be equal to width */
    padding: 0; /* Remove padding to maintain circular shape */
    cursor: pointer;
    z-index: 10;
    border-radius: 50%; /* Makes the button circular */
    display: flex;
    align-items: center;
    justify-content: center; /* Center-aligns the icon/text */
    color:red;
    font-weight:900;
    font-size:1.5rem;
}


#prevBtn {
    left: 10px;
    
    z-index:9999000999;
}

#nextBtn {
    right: 10px;
    z-index:99999999999;
}

#popupContainer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999999999999;
    justify-content: center;
    align-items: center;
}

#popupContent {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 80%;
    overflow-y: auto;
    text-align: justify;
    line-height: 1.5;
    font-family: sans-serif;
    font-size: 1rem;
    position: relative;
    z-index:99999999999999999;
}

#popupContent img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

#closeButton {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 24px;
    color: red;
    z-index: 9999;
}

.close-icon i {
    pointer-events: none;
}

.ss {
    margin-top: 38px;
    padding-right: 5px;
    padding-left: 5px;
    overflow-y: auto;
    text-align: justify;
    line-height: 1.4;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    font-size:20px;
}

.blog-post h4 {
    color: gray;
    font-family: sans-serif;
    font-weight: 600;
}
.blog-post p{
    line-height: 150%;
}

/* Adjustments for smaller screens */
@media (max-width: 767px) {
    .blog-wrapper {
        width:100%;
        display: flex;
        transition: transform 0.5s ease;
        flex-wrap: nowrap;
    }
    
    .blog-post {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 10px 0;
    }

    .nav-button {
        display: block;
    }
    .blog-heading h1 {
        font-size: 35px;
    }
}










/*blog css end*/