/* ── Page header ── */
.page-header { margin-bottom: 32px; }
.page-header__title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.page-header__subtitle { color: #666; max-width: 600px; font-size: 1rem; }

/* ── Stats bar ── */
.msme-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    padding: 14px 24px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e8e8e8;
}
.msme-stats__item { display: flex; flex-direction: column; }
.msme-stats__number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #16a34a;
    line-height: 1;
}
.msme-stats__label { font-size: 0.78rem; color: #888; margin-top: 2px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ── Grid ── */
.msme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* ── Card ── */
.msme-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s;
}
.msme-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.09);
    transform: translateY(-3px);
    border-color: #d1fae5;
}

/* Card top row: icon + sector badge */
.msme-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.msme-card__icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.msme-card__sector {
    font-size: 0.72rem;
    font-weight: 600;
    color: #16a34a;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    padding: 3px 10px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* Card body */
.msme-card__body { display: flex; flex-direction: column; gap: 6px; }

.msme-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    margin: 0;
    line-height: 1.3;
}
.msme-card__name a {
    color: inherit;
    text-decoration: none;
}
.msme-card__name a:hover { color: #16a34a; }

/* Meta rows */
.msme-card__meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #666;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.msme-card__meta i { color: #aaa; font-size: 0.8rem; flex-shrink: 0; }
.msme-card__meta a { color: #16a34a; text-decoration: none; }
.msme-card__meta a:hover { text-decoration: underline; }

/* Divider */
.msme-card__divider {
    border: none;
    border-top: 1px solid #f0f0f0;
    margin: 0;
}

/* Footer */
.msme-card__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

.msme-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border-radius: 7px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.18s;
    white-space: nowrap;
}
.msme-btn--primary { background: #16a34a; color: #fff; }
.msme-btn--primary:hover { background: #15803d; color: #fff; }
.msme-btn--outline {
    background: transparent;
    border: 1.5px solid #d1d5db;
    color: #555;
    padding: 7px 12px;
}
.msme-btn--outline:hover { border-color: #16a34a; color: #16a34a; }

/* ── Homepage list (msme-section component) ── */
.msme-section { padding: 60px 0; }
.msme-section__header { margin-bottom: 28px; }
.msme-section__title {
    font-size: 2rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 6px;
    letter-spacing: -0.4px;
}
.msme-section__subtitle { color: #666; font-size: 0.95rem; }

.msme-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 24px;
}
.msme-list .msme-card {
    flex-direction: row;
    align-items: center;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 18px 24px;
    gap: 18px;
    transform: none;
}
.msme-list .msme-card:last-child { border-bottom: none; }
.msme-list .msme-card:hover { transform: none; box-shadow: none; background: #fafafa; border-color: #f0f0f0; }
.msme-list .msme-card__top { flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.msme-list .msme-card__body { flex: 1; gap: 3px; }
.msme-list .msme-card__footer { flex-shrink: 0; }
.msme-list .msme-card__divider { display: none; }

/* CTA */
.msme-section__cta { text-align: center; margin-top: 8px; }
.msme-show-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 30px;
    background: #16a34a;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.92rem;
    transition: background 0.18s;
}
.msme-show-more:hover { background: #15803d; color: #fff; }

/* Pagination */
.msme-pagination { display: flex; justify-content: center; padding: 20px 0 40px; }
.msme-empty { color: #aaa; padding: 48px; text-align: center; font-size: 0.95rem; }

/* Responsive */
@media (max-width: 768px) {
    .msme-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
}
@media (max-width: 480px) {
    .msme-grid { grid-template-columns: 1fr; }
    .msme-list .msme-card { flex-wrap: wrap; }
    .msme-list .msme-card__footer { width: 100%; }
}

/* ── Pagination fix ── */
.msme-pagination {
    display: flex;
    justify-content: center;
    padding: 20px 0 40px;
}

.msme-pagination nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Hide the giant prev/next SVG arrows */
.msme-pagination svg {
    width: 14px;
    height: 14px;
}

.msme-pagination span,
.msme-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 7px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #e8e8e8;
    color: #444;
    background: #fff;
    transition: all 0.15s;
}

.msme-pagination a:hover {
    background: #f0fdf4;
    border-color: #16a34a;
    color: #16a34a;
}

/* Active page */
.msme-pagination [aria-current="page"] span,
.msme-pagination span[aria-current="page"] {
    background: #16a34a;
    color: #fff;
    border-color: #16a34a;
    font-weight: 700;
}

/* Disabled prev/next */
.msme-pagination span:not([aria-current]) {
    color: #bbb;
    background: #fafafa;
    cursor: default;
}

/* Dots (...) */
.msme-pagination span.dots {
    border: none;
    background: transparent;
    color: #aaa;
    min-width: auto;
    padding: 0 4px;
}


/* =============================================
   Circular Business Models Section
   ============================================= */

.cbm-section {
    background-color: #ffffff;
    padding: 80px 0;
}

/* --- Section Header --- */
.cbm-section .section-badge {
    display: inline-block;
    background-color: #dcfce7;
    color: #16a34a;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.cbm-section .section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 14px;
}

.cbm-section .section-subtitle {
    font-size: 1.05rem;
    color: #4b5563;
    max-width: 640px;
    line-height: 1.7;
}

/* --- Card Shell --- */
.cbm-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cbm-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

/* --- Card Header Colour Variants --- */
.cbm-card-header {
    padding: 28px 24px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

/* .cbm-green  { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); } */
.cbm-green  { background: #0df38c url("https://iimmumbai.ac.in/circular-economy/storage/media/images/Sell-Access-Not-Ownership.png") no-repeat center center / cover;}
.cbm-orange  { background: #f97316 url("https://iimmumbai.ac.in/circular-economy/storage/media/images/Extend-Product-Life.png") no-repeat center center / cover;}
.cbm-teal  { background: #0d9488 url("https://iimmumbai.ac.in/circular-economy/storage/media/images/Turn-Outputs-into-Inputs.png") no-repeat center center / cover;}
/* .cbm-green-icon-wrap { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); } 
.cbm-orange-icon-wrap { background: linear-gradient(135deg, #f97316 0%, #ea6c0a 100%); }
.cbm-teal-icon-wrap  { background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%); } */

/* --- Icon --- */
.cbm-green-icon-wrap {
    width: 48px;
    height: 48px;
    /* background: rgba(255, 255, 255, 0.22); */
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cbm-orange-icon-wrap {
    width: 48px;
    height: 48px;
    /* background: rgba(255, 255, 255, 0.22); */
    background: linear-gradient(135deg, #f97316 0%, #ea6c0a 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cbm-teal-icon-wrap {
    width: 48px;
    height: 48px;
    /* background: rgba(255, 255, 255, 0.22); */
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cbm-icon-wrap .bi {
    font-size: 1.4rem;
    color: #ffffff;
}

/* --- Pillar Title --- */
.cbm-pillar-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
}

/* --- Card Body --- */
.cbm-card-body {
    padding: 22px 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cbm-intro-text {
    font-size: 1rem;        /* matches Principles body text */
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f0f0f0;
}

/* --- Model List --- */
.cbm-model-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cbm-model-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cbm-model-item p {
    font-size: 1rem;        /* matches Principles body text */
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
}

/* --- Sub-badges --- */
.cbm-model-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 4px 12px;
    border-radius: 999px;
    width: fit-content;
}

.cbm-badge-green  { background: #dcfce7; color: #15803d; }
.cbm-badge-orange { background: #ffedd5; color: #c2410c; }
.cbm-badge-teal   { background: #ccfbf1; color: #0f766e; }

/* --- Responsive --- */
@media (max-width: 991px) {
    .cbm-section {
        padding: 60px 0;
    }
}

@media (max-width: 767px) {
    .cbm-section .section-title {
        font-size: 1.8rem;
    }

    .cbm-card-header {
        padding: 22px 18px 16px;
    }

    .cbm-card-body {
        padding: 18px 18px 22px;
    }

    .cbm-intro-text,
    .cbm-model-item p {
        font-size: 0.95rem;
    }
}