﻿
/* =========================
   BLOG IMAGE
========================= */

.blogimg {
    width: 100%;
    height: 15rem;
    object-fit: cover;
    transition: transform 0.5s ease;
    transform: translateZ(0);
}

/* =========================
   MODAL CONTENT TEXT
========================= */

.modal-body p,
.modal-body ul {
    font-size: 15px;
    line-height: 1.7;
    color: #374151;
}

/* =========================
   TEXT MUTED (FIXED GLOBAL OVERRIDE)
   ⚠️ scoped safely
========================= */

.card .text-muted {
    font-size: 14px;
    margin: 0 !important;
    color: #6b7280;
}

/* =========================
   CARD FOOTER
========================= */

.card-footer {
    padding: 8px 12px;
    background: #fff;
    border-top: 1px solid #f1f1f1;
}

/* =========================
   READ MORE BUTTON
========================= */

.btn-readmore {
    color: #2C4B89 !important;
    font-size: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

    .btn-readmore:hover {
        color: blue !important;
        transform: translateX(3px);
    }

/* =========================
   CARD BASE
========================= */

.card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .card:hover {
        transform: translateY(-6px);
        box-shadow: rgba(0, 0, 0, 0.25) 0px 25px 50px -12px;
    }

        .card:hover .blogimg {
            transform: scale(1.08);
        }

        .card:hover .blog-heading {
            color: #A7102D;
        }

        .card:hover .blog-tag {
            background: #A7102D;
        }

.blog-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: #2C4B89;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 5px 15px;
    border-radius: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: background 0.3s ease;
}


.blog-heading {
    transition: color 0.3s ease;
    font-size: 1.2rem;
    font-weight: 700 !important;
    line-height: 1.4;
    color: #2C4B89;
}


.btn-work {
    background-color: #0c50b4;
    transition: all 0.3s ease;
}

    .btn-work:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 32px rgba(45, 73, 139, 0.15);
        background: #2C4B89 !important;
        color: white;
    }


.blogcard {
    padding: 10px;
}

@media (max-width: 768px) {
    .blogimg {
        height: 13rem;
    }

    .blog-heading {
        font-size: 15px;
    }
}

