.hero-bg {
    height: 90vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url("/images/background/hero-bg.jpg") no-repeat center center / cover;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
}
.hover-shadow:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
}
.service-img {
    height: 350px;
    object-fit: cover;
}

@media (max-width: 991.98px) { /* md and below */
    .service-img {
        height: 250px;
    }
}

@media (max-width: 767.98px) { /* sm and below */
    .service-img {
        height: 200px;
    }
}
/* Sidebar Styling */
.navbar, .list-group-item {
    border: none;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.list-group-item-action {
    background-color: transparent;
    color: #5a5a5a;
    font-size: 1.1rem;
}

.list-group-item-action:hover, .list-group-item-action:focus {
    background-color: #e9ecef;
    color: #007bff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Sidebar Item Icons */
.list-group-item i {
    font-size: 1.25rem;
}

/* Hover effect for the sidebar items */
.hover-effect:hover {
    background-color: #f1f1f1;
    transition: all 0.3s ease-in-out;
}

/* Main Content Styling */
main {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Padding and Margins */
h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.text-primary {
    color: #007bff !important;
}

@media (max-width: 767px) {
    .container-fluid {
        padding: 20px;
    }

    .col-12 {
        padding-left: 15px;
        padding-right: 15px;
    }
}
.link-card {
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}
.link-card:hover {
    transform: scale(1.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 1rem;
}

table, th, td {
    border: 1px solid #ddd;
}
th, td {
    padding: 10px;
    text-align: center;
}

thead {
    background-color: #f0f0f0;
    font-weight: bold;
}
tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}
.article-post-content img {
    max-width: 50%;       /* Make images responsive */
    height: auto;          /* Keep aspect ratio */
    display: block;        /* Remove inline spacing */
    margin: 1em auto;      /* Center image with vertical margin */
    border-radius: 8px;    /* Optional: rounded corners */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* Optional: subtle shadow */
}
.article-post-content img.align-left {
    float: left;
    margin-right: 1em;
}

.article-post-content img.align-right {
    float: right;
    margin-left: 1em;
}
tbody tr td img {
    max-width: 100%;
    height: 150px;
    display: block;
    margin: 0 auto;
}
#editor img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
