.blog-wrap {
    position: relative;
    z-index: 1;
    padding: 14rem 0 !important; /* Increase padding to push everything lower */
    height: auto;
    width: 100%;
    background-image: url("../imgs/bg-1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 5%; /* Adjust image alignment */
    color: white;
    overflow: hidden;
}

.blog-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.668); /* Black overlay with 25% opacity */
    z-index: -1;
}

.blog-inner {
    position: relative;
    text-align: center;
    color: white;
    margin-bottom: -8rem; /* Add space below the text */
}

.blog-inner h4 {
    font-size: 3rem; /* Keep the current font size */
    font-weight: bold;
    margin-bottom: 2rem; /* Add more spacing below the heading */
}
.services-buttons {
    display: flex;
    justify-content: center; /* Center-align buttons */
    gap: 0.5rem; /* Space between buttons */
    flex-wrap: wrap; /* Allow buttons to wrap if needed */
    margin-top: 1.5rem; /* Push the buttons lower */
}

.services-buttons .btn {
    font-size: 0.9rem; /* Keep button font size */
    font-weight: bold;
    padding: 0.5rem 1.2rem; /* Adjust padding for better spacing */
    border-radius: 25px; /* Fully rounded corners */
    background-color: rgba(76, 154, 42, 0.1); /* Transparent green background */
    color: white; /* Green text color */
    border: 1px solid rgba(41, 111, 201, 0.5); /* Semi-transparent border */
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1); /* Light shadow for depth */
    text-transform: capitalize;
    transition: all 0.3s ease-in-out; /* Smooth hover transition */
    cursor: pointer;
}

.services-buttons .btn:hover {
    background-color: #146190; /* Fully green background */
    color: white; /* White text on hover */

    border-color: #146190; /* Solid green border */
    transform: scale(1.05); /* Slightly enlarge button on hover */
    box-shadow: 0px 4px 8px rgba(76, 154, 42, 0.2); /* More prominent shadow on hover */
}

.blog-card {
    border: 1px solid transparent;
    border-radius: 0rem;
    overflow: hidden;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.blog-card img {
    height: 200px;
    object-fit: cover;
}

.blog-card .card-meta {
    font-size: 0.9rem;
    color: #666;
}

.blog-card .card-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.blog-card .card-text {
    font-size: 0.95rem;
    color: #555;
}

.blog-card .btn {
    background-color: #146190;
    color: white;
    border: none;
    width: 50%;
    transition: background-color 0.2s ease;
}

.blog-card .btn:hover {
    background-color: #146190;
}
.services {
    color: #146190;
}

.blog-cards {
    padding-bottom: 6rem;
    padding-top: 3rem;
}

.blog-details {
    padding-top: 3rem;
}
.blog-details .title {
    font-weight: bold;
    color: black;
}
.blog-details .title:hover {
    color: #146190;
}
.blog-details .card-text {
    color: #6f8ba4;
}
.fw-bold {
    color: black !important;
}

.fa-reply {
    color: #6c757d !important;
}

.comments {
    color: red;
}

.recent-posts {
    background-color: #f9f9f9; /* Light background for the recent posts section */
    border-radius: 12px; /* Rounded corners */
    padding: 20px; /* Padding inside the container */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.recent-posts h5 {
    font-size: 1.2rem; /* Slightly larger heading */
    font-weight: bold; /* Make the heading bold */
    color: #333; /* Darker text for the heading */
    margin-bottom: 1rem; /* Space below the heading */
}

.recent-posts .recent-item {
    display: flex; /* Align image and text horizontally */
    align-items: center; /* Vertically center the content */
    margin-bottom: 1rem; /* Space between items */
}

.recent-posts .recent-item img {
    width: 60px; /* Image width */
    height: 60px; /* Image height */
    border-radius: 8px; /* Slightly rounded image */
    object-fit: cover; /* Crop the image to fit perfectly */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); /* Subtle shadow for images */
}

.recent-posts .recent-item div {
    margin-left: 10px; /* Space between image and text */
}

.recent-posts .recent-item h6 {
    font-size: 0.9rem; /* Smaller text for titles */
    font-weight: bold; /* Bold titles */
    color: #333; /* Darker text for contrast */
    line-height: 1.2; /* Adjust line height for compact look */
    margin-bottom: 5px; /* Space below the title */
}

.recent-posts .recent-item small {
    font-size: 0.8rem; /* Small size for dates */
    color: #888; /* Muted text color for dates */
}
.date {
    color: #146190 !important;
}
.comment-form {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
@media (max-width: 551px) {
    /* For smaller screens */

    .header-blog .nav-link {
        color: black;
    }

    .header-blog .navbar-brand img {
        filter: brightness(0) invert(0); /* Set logo to black */
    }
}
