body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7fa;
}

.blog-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem 0;
    border-radius: 0 0 2rem 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

    .blog-header h1 {
        font-weight: 700;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }

.customHeading {
    font-size: 28px;
    color: #053939 !important;
}

.blog-content h1 {
    font-size: 32px;
}

.rounded-pill {
    background-color: #fb4b00;
    border: #fb4b00;
}

    .rounded-pill:hover {
        background: #fb4b00;
    }

    .rounded-pill:active {
        background: #fb4b00 !important;
    }

.blog-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    .blog-content img {
        border-radius: 0.5rem;
        margin: 1.5rem 0;
    }

.sidebar {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
}

    .sidebar:hover {
        transform: translateY(-5px);
    }

    .sidebar h4 {
        color: #fb4b00;
        border-bottom: 2px solid #fb4b00;
        padding-bottom: 0.5rem;
    }

.sidebar-item {
    display: flex;
    align-items: start;
    margin-bottom: 1rem;
    text-decoration: none;
    color: inherit;
}


.sidebar a {
    transition: all 0.2s ease-in-out;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px 0px;

}

    .sidebar a:hover {
        box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    }





    .sidebar-item img {
        width: 60px;
        height: 40px;
        object-fit: cover;
        border-radius: 0.25rem;
        margin-right: 0.75rem;
    }

    .sidebar-item h6 {
        margin: 0;
        font-size: 0.9rem;
    }

    .sidebar-item small {
        color: #6c757d;
    }



footer {
    border-top: 1px solid #eee;
    font-family: "Poppins", sans-serif;
    color: #6c757d;
}

@media (max-width: 768px) {
    .blogSidebar {
        margin-top: 2.5rem;
    }
}

.blogPageSideBar-Container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* =========== Updated CSS for Blogs Page ============== */
.blog-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
    line-height: 1.8;
}

    .blog-content h1 {
        text-align: center;
        margin-bottom: 30px;
        font-size: 2rem;
    }

.blog-section {
    margin: 15px 0;
}

    .blog-section h2 {
        text-align: center;
        color: #007bff;
        margin-bottom: 30px;
    }

.section-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

    .section-layout img {
        width: 45%;
        border-radius: 10px;
        object-fit: cover;
    }

.section-content {
    width: 50%;
}

.reverse {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .section-layout {
        flex-direction: column !important;
    }

        .section-layout img,
        .section-content {
            width: 100%;
        }

    .blog-content h1 {
        font-size: 1.5rem;
    }
}


.relatedBlogContainer {
    display: flex;
    align-items: start;
    gap: 16px;
    justify-content: space-between;
}

    .relatedBlogContainer .card {
        width: auto;
        box-shadow: var(--bs-box-shadow-sm) !important;
        transition: all 0.2s ease-in-out;
        border: none;
        
    }

    .relatedBlogContainer a .card:hover {
        box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px !important;
    }
       

        .relatedBlogContainer .card img {
            height: 9rem;
            min-width: 16rem; 
        }

    .relatedBlogContainer .card-text {
        font-size: 12px;
        text-align: justify;
        hyphens: auto;
        line-height: 1.34;
        opacity: 0.8;
    }

    .relatedBlogContainer .card-body {
        padding: 8px;
    }
    .relatedBlogContainer h6 {
        margin: 0;
        font-size: 0.9rem;
    }


    @media (max-width: 768px) {
        .relatedBlogContainer {
            display: flex;
            flex-direction: column;
        }

            .relatedBlogContainer .card {
                display: flex !important;
                flex-direction: row;
                padding: 8px;

            }

            .relatedBlogContainer img {
/*                border: 1px solid black;*/
                width:60px;
                height: 40px !important;
            }

            .relatedBlogContainer .card img {
                min-width: 0;
            }

            .relatedBlogContainer .card-body {
                padding-top: 0px;
            }
    }


.navbar-nav .nav-link {
    position: relative;
    overflow: hidden;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin: 0 8px;
}

    .navbar-nav .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0%;
        height: 2px;
        background-color: orange;
        transition: width 0.35s ease-in-out;
    }

    .navbar-nav .nav-link:hover::after {
        width: 100%;
    }

    .navbar-nav .nav-link.active::after {
        width: 100%;
    }

