:root {
    --blue: #1b376b;
    --blue-dark: #0d2655;
    --blue-light: #EBF2FF;
    --orange: #e51e03;
    --orange-light: #FFF3EA;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #7c8a9c;
    --border: #E2E8F0;
    --bg: #F8FAFC;
    --white: #FFFFFF;
    --radius: 14px;
    --shadow-sm: 0 1px 4px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, .09);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, .12);
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

/* -- Custom CSS by Pradeep -- */
/* ?????? BLOG LISTING PAGE ????? */
.featured-post-container {
    margin: auto;
    max-width: 1280px;
    overflow: visible !important;
    padding-left: 15px;
    padding-right: 15px;
    position: static !important;
    touch-action: auto !important;
    width: 100%;
}

.blog-hero, .detail-hero {
    background: linear-gradient(135deg, #0b1a3a 0%, #1240a8 55%, #0f172a 100%);
    padding: 60px 24px;
    position: relative;
    overflow: hidden;
}

    .blog-hero::before,
    .detail-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        pointer-events: none;
        z-index: 9;
    }

.blog-hero-inner {
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .5px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, .2);
}

.blog-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 900;
    color: white;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin-bottom: 16px;
}

    .blog-hero h1 em {
        font-style: normal;
        color: #93C5FD;
    }

.blog-hero p {
    font-size: 17px;
    color: rgba(255, 255, 255, .72);
    max-width: 520px;
    margin-bottom: 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

    .section-header h3 {
        font-size: 25px;
        font-weight: 800;
        letter-spacing: -0.3px;
        margin: 0;
    }

.see-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--blue);
    cursor: pointer;
    text-decoration: none;
}

.blog-container,
.wrap-blog-detail {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: start;
    padding-top: 20px;
    margin: 0 auto 2rem;
    max-width: 1280px;
    padding-left: 15px;
    padding-right: 15px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
    .block > div

{
    box-shadow: 0 1px 4px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .1);
}

}

@media(max-width:1024px) {
    .blog-container, .wrap-blog-detail {
        grid-template-columns: repeat(1,1fr);
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .featured-body h2 {
        font-size: 20px;
    }

    .featured-card {
        grid-template-columns: 1fr !important;
    }

    .blog-hero p {
        font-size: 16px;
    }

    .blog-hero {
        padding: 35px;
    }

    .featured-body {
        padding: 25px;
    }

    .detail-hero-img img {
        height: 250px !important;
    }

    .breadcrumb.hero-badge {
        display: none !important;
    }
}

@media(max-width:576px) {
    .blog-container,
    .wrap-blog-detail {
        grid-template-columns: repeat(1,1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(1,1fr);
    }
}

.blog-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.page-btn {
    padding: 8px 16px;
    border-radius: 6px;
    background: #0033A0;
    color: white;
    text-decoration: none;
}

    .page-btn.gray {
        background: #6b7280;
    }

    .page-btn:hover {
        opacity: 0.9;
    }

.loader {
    text-align: center;
    padding: 30px;
    display: none;
    font-size: 18px;
    color: #0033A0;
    font-weight: 500;
}

.blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .1);
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    height: 360px; /* Fixed height */
}

    .blog-card img {
        width: 100%;
        height: 180px; /* Fixed image height */
        object-fit: cover;
    }

.blog-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.meta-author-info {
    margin-bottom: 15px;
}

.wrap-blog-detail {
    padding-top: 30px;
    padding-bottom: 30px;
}

.meta-author-name {
    font-weight: 600;
    color: #0F172A;
}

.meta-date {
    font-size: 12px;
    color: #7c8a9c;
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Max 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.blog-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Max 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.detail-page {
    background: var(--bg);
}

.detail-breadcrumb {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 12px 24px;
}

.detail-breadcrumb-inner {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
}

    .detail-breadcrumb-inner a {
        color: var(--blue);
        text-decoration: none;
        cursor: pointer;
    }

    .detail-breadcrumb-inner span {
        color: var(--text-muted);
    }

.detail-hero {
    padding: 52px 24px 0;
    border-bottom: 1px solid #E2E8F0;
}

.detail-hero-inner {
    max-width: 850px;
    margin: auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.detail-hero .cat-tag {
    margin-bottom: 18px;
}

.detail-hero h1 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 18px;
    margin-top: 10px;
}

.detail-hero .lead {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
}

.detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

    .detail-meta .meta-author {
        gap: 10px;
    }

    .detail-meta .meta-avatar {
        width: 40px;
        height: 40px;
    }

    .detail-meta .meta-author-name {
        font-size: 14px;
    }

    .detail-meta .meta-date {
        font-size: 13px;
    }

.detail-meta-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    background: white;
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-hero-img {
    max-width: 1506px;
    margin: 40px auto 0;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
    position: relative;
    z-index: 10;
}

    .detail-hero-img img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        display: block;
    }

.detail-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 52px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}

.breadcrumb {
    font-size: 12px;
    margin-bottom: 8px;
    background-color: #0000ff00 !important;
}

.meta {
    font-size: 12px;
    opacity: 0.8;
}

.feature-img {
    margin-top: 25px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

    .feature-img img {
        width: 100%;
        height: 320px;
        object-fit: cover;
    }


.blog-content {
    line-height: 1.7;
    font-size: 15px;
}

    .blog-content h1 {
        font-weight: bold !important;
        font-size: 24px;
    }

    .blog-content h2 {
        font-size: 22px;
        font-weight: 800;
        color: #0F172A;
        margin: 32px 0 12px;
        line-height: 1.3;
    }

    .blog-content h3 {
        font-weight: bold !important;
        font-size: 18px;
    }

    .blog-content h4 {
        font-weight: bold !important;
        font-size: 16px;
    }

    .blog-content h5 {
        font-weight: bold !important;
        font-size: 13px;
    }

    .blog-content p {
        font-size: 15px;
        color: #475569;
        line-height: 1.8;
        margin-bottom: 16px;
    }

.tags {
    margin-top: 35px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.tag {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 18px;
    border: 1px solid #0033A0;
    color: #0033A0;
    margin: 4px;
    font-size: 11px;
}

    .tag:hover {
        background: #0033A0;
        color: white;
    }

.recent-post-section {
    background: white;
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .1);
}

.recent-title {
    font-size: 16px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.recent-post-item {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: center;
    .recent-img

{
    width: 75px;
    height: 50px;
    overflow: hidden;
    background: #ddd;
    border-radius: 6px;
    img

{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

}
}

.recent-img img {
    width: 55px;
    height: 45px;
    object-fit: cover;
    border-radius: 5px;
}

.recent-content {
    flex: 1;
}

.post-title {
    font-size: 13px;
    font-weight: 500;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* max 2 line */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-meta {
    font-size: 11px;
    color: #888;
    margin-top: 3px;
}

.recent-post-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

    .recent-post-item-link:hover .post-title {
        color: #0033A0;
    }

.faq-section {
    margin-top: 40px;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}

.faq-question {
    width: 100%;
    padding: 16px 20px;
    border: none;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}

    .faq-question:hover {
        background: #eef2ff;
    }

.faq-answer {
    display: none;
    padding: 18px 20px;
    border-top: 1px solid #eee;
    background: white;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    content: "-";
}

.article-body {
    background: white;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .1);
    .blog-content

{
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: #374151 !important;
}

}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .09);
    margin-bottom: 48px;
    margin-top: 50px;
    cursor: pointer;
    transition: transform .25s, box-shadow .25s;
}

.featured-label {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #e51e03;
    color: white;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
}

.featured-img {
    position: relative;
    overflow: hidden;
}

    .featured-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .4s;
    }

.featured-card:hover .featured-img img {
    transform: scale(1.04);
}

.featured-label {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--orange);
    color: white;
    padding: 5px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.featured-body {
    padding: 40px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cat-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    background: white;
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 16px;
}

.featured-body h2 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.25;
    color: var(--text-primary);
    margin-bottom: 14px;
}

.featured-body p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 28px;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}

.featured-body .meta-author-info {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.meta-author-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.meta-date {
    font-size: 12px;
    color: var(--text-muted);
}

.meta-divider {
    width: 4px;
    height: 4px;
    background: var(--border);
    border-radius: 50%;
}

.meta-read {
    font-size: 12px;
    color: var(--text-muted);
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--blue);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    padding: 0;
    transition: gap .2s;
}

    .read-more-btn:hover {
        gap: 10px;
    }

    .read-more-btn svg {
        transition: transform .2s;
    }

    .read-more-btn:hover svg {
        transform: translateX(3px);
    }
/* Sidebar layout */
.two-col {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 32px;
    align-items: start;
}

.sidebar-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    &.bg

{
    background-color: var(--blue);
}

&:last-child {
    margin-bottom: 0;
}

}

.sidebar-card h4 {
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.2px;
}

.trending-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trending-item {
    display: flex;
    gap: 14px;
    cursor: pointer;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    transition: opacity .2s;
}

    .trending-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .trending-item:hover {
        opacity: .75;
    }

.trending-num {
    font-size: 22px;
    font-weight: 900;
    color: var(--border);
    line-height: 1;
    flex-shrink: 0;
    width: 28px;
}

.trending-info h5 {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    margin-bottom: 4px;
    margin-top: 0;
}

.trending-info span {
    font-size: 11px;
    color: var(--text-muted);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-pill {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all .2s;
}

    .tag-pill:hover {
        background: var(--blue-light);
        color: var(--blue);
        border-color: var(--blue);
    }

.toc-card {
    background: white;
    border-radius: var(--radius);
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

    .toc-card h4 {
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .5px;
        color: var(--text-muted);
        margin-bottom: 14px;
        margin-top: 0;
    }

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.toc-link {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: all .15s;
    font-weight: 500;
    border-left: 2px solid transparent;
}

    .toc-link:hover {
        background: var(--blue-light);
        color: var(--blue);
        border-left-color: var(--blue);
    }

    .toc-link.active {
        background: var(--blue-light);
        color: var(--blue);
        border-left-color: var(--blue);
    }

.filters-bar {
    padding: 0 24px;
    position: relative;
    top: 0;
    z-index: 90;
}

.filters-inner {
    max-width: 1280px;
    margin: auto;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 12px 15px;
    scrollbar-width: none;
}

    .filters-inner::-webkit-scrollbar {
        display: none;
    }

.sidebar-detail {
    padding-top: 38px;
}

.enquiry-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    border: 1px solid #ececec;
    h3

{
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 12px;
    line-height: 1.3;
}

}

.enquiry-head {
    margin-bottom: 24px;
}

.enquiry-badge {
    display: inline-block;
    background: #eef5ff;
    color: #2563eb;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .4px;
    margin-bottom: 12px;
}

.enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        font-size: 13px;
        font-weight: 600;
        color: #374151;
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        border: 1px solid #d9d9d9;
        border-radius: 10px;
        padding: 6px 15px;
        font-size: 14px;
        color: #111827;
        background: #fff;
        transition: .25s;
        outline: none;
        resize: none;
        font-family: inherit;
    }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #9ca3af;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 4px rgba(37,99,235,.12);
        }

.btn-enquiry {
    border: none;
    border-radius: 10px;
    background: #2563eb;
    color: #fff;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

    .btn-enquiry:hover {
        background: #1d4ed8;
    }

@media(max-width:991px) {

    .enquiry-card {
        padding: 22px;
    }

    .enquiry-head h3 {
        font-size: 22px;
    }
}
