.blogsArea {
    background-color: var(--color4);
    padding: 40px 0;
}

.blogsheading h2 {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 500;
    font-size: 36px;
    margin-top: 20px;
    color: var(--color1);
}

.blog-img-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
    background: #f8f8f8;
}

.blog-img-container img,
.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    transition: transform 0.3s ease;
}

.blog-card {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    background: #fff;
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.blog-card:hover .card-img-top {
    transform: scale(1.05);
}

.blog-card .card-body {
    padding: 25px 20px 35px 20px;
}

.blog-card .card-title {
    font-size: 12px;
    font-weight: 400;
    color: var(--color5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    display: block;
}

.blog-card .card-text {
    font-size: 16px;
    font-weight: 400;
    color: var(--color1);
    line-height: 1.4;
    margin: 0 0 20px 0;
}

.pagination {
    margin-top: 2rem;
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.25rem;
}

.pagination .page-item .page-link {
    color: var(--color1);
    border-color: var(--color1);
}

.pagination .page-item.active .page-link {
    background-color: var(--color1);
    border-color: var(--color1);
    color: white;
}

.pagination .page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(1, 3, 38, 0.25);
}

@media (max-width: 575px) {
    .pagination .page-link {
        padding: 0.35rem 0.5rem;
        font-size: 0.9rem;
    }
    .blogDetails h1 {
        font-size: 1.6rem !important;
    }
}

.ai-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #050505;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.ai-btn img {
    max-width: 50%;
    max-height: 50%;
    object-fit: contain;
    filter: brightness(0) invert(1); /* Ensure icons are white if they are black SVGs */
}

.ai-btn:hover {
    background-color: var(--color1, #010326);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.nav-link-hover {
    transition: all 0.3s ease;
    background-color: #fff;
}

.nav-link-hover:hover {
    background-color: var(--color4, #f8f8f8);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Target only images inside the blog content, not the main banner */
.mediaArticle img {

        display: block;
        /* align-items: left; */
        margin: 2.5rem 0;
        max-width: 450px !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
@media (max-width: 991px) {
    .mediaArticle img {
        max-width: 100% !important;
    }
}