/* Styling for Government Sponsored Programmes Page */
.slbc-programmes-page {
    font-family: 'Inter', sans-serif;
    color: #333;
    padding: 30px 0 60px;
    background-color: #f9fbfd;
}

@media (min-width: 1200px) {
    .slbc-programmes-page .container {
        width: 1400px;
    }
}

/* Sidebar Styling */
@media (min-width: 992px) {
    .slbc-programmes-page .row {
        display: flex;
        flex-wrap: wrap;
    }

    .slbc-programmes-page .row::before,
    .slbc-programmes-page .row::after {
        display: none;
        /* Hide Bootstrap 3 float clearfixes to avoid flex layout issues */
    }
}

.slbc-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    margin-bottom: 30px;
    z-index: 5; /* Lowered from 10 to prevent overlapping dropdowns */
}

/* Adjust sticky sidebar offset when WordPress admin bar is present */
.admin-bar .slbc-sidebar {
    top: 140px;
}

/* Ensure the main header and navigation dropdowns stay on top of page content */
.slbc-main-header {
    z-index: 9999 !important;
}
#cssmenu ul ul {
    z-index: 99999 !important;
}

.slbc-sidebar-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e1e8ed;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 25px;
}

.slbc-sidebar-title {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #0a5994;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eaf2f8;
}

.slbc-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.slbc-nav-item {
    margin-bottom: 10px;
}

.slbc-nav-link {
    display: block;
    padding: 8px 12px;
    color: #555;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.25s ease;
    border-radius: 0 4px 4px 0;
}

.slbc-nav-link:hover,
.slbc-nav-link.active {
    color: #0a5994;
    background-color: #f0f7fc;
    border-left-color: #0a5994;
    padding-left: 15px;
}

/* Quick Links Card */
.slbc-quick-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.slbc-quick-links-list li {
    margin-bottom: 12px;
    border-bottom: 1px dashed #e1e8ed;
    padding-bottom: 8px;
}

.slbc-quick-links-list li:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.slbc-quick-link {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
    font-weight: 600;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.slbc-quick-link i {
    color: #0a5994;
    margin-right: 8px;
    font-size: 14px;
}

.slbc-quick-link:hover {
    color: #0a5994;
}

/* Scheme Card Styling */
.slbc-scheme-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e1e8ed;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    padding: 30px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-margin-top: 100px;
    /* Offset for sticky header when jumping */
}

.slbc-scheme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(10, 89, 148, 0.08);
}

.slbc-scheme-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f4f8;
    padding-bottom: 15px;
}

.slbc-scheme-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #f0f7fc;
    border-radius: 10px;
    color: #0a5994;
    font-size: 24px;
    margin-right: 15px;
    flex-shrink: 0;
}

.slbc-scheme-title-area {
    flex-grow: 1;
}

.slbc-scheme-title {
    font-family: 'Outfit', sans-serif;
    font-size: 23px;
    font-weight: 700;
    color: #0a5994;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.slbc-scheme-subtitle {
    font-size: 14px;
    color: #777;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slbc-scheme-desc {
    font-size: 16.5px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 20px;
}

/* Feature Grid and Tables */
.slbc-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.slbc-info-box {
    background-color: #f7fafc;
    border: 1px solid #edf2f7;
    border-radius: 8px;
    padding: 15px;
}

.slbc-info-box-title {
    font-size: 13px;
    text-transform: uppercase;
    color: #718096;
    margin-bottom: 5px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.slbc-info-box-value {
    font-size: 16px;
    color: #2d3748;
    font-weight: 600;
    line-height: 1.4;
}

.slbc-list-title {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-top: 20px;
    margin-bottom: 12px;
}

.slbc-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.slbc-feature-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #4a5568;
    line-height: 1.5;
}

.slbc-feature-list li::before {
    content: "\f105";
    /* FontAwesome caret-right */
    font-family: FontAwesome;
    position: absolute;
    left: 8px;
    top: 0px;
    color: #0a5994;
    font-size: 14px;
}

/* Specific styling for PMMY (Mudra loans boxes) */
.slbc-mudra-container {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.slbc-mudra-card {
    flex: 1;
    min-width: 200px;
    background: linear-gradient(135deg, #f0f7fc, #e1effa);
    border: 1px solid #cce3f5;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s ease;
}

.slbc-mudra-card:hover {
    transform: scale(1.03);
}

.slbc-mudra-name {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0a5994;
    margin-bottom: 5px;
}

.slbc-mudra-limit {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
}

/* Call to Action Button */
.slbc-cta-wrapper {
    margin-top: 25px;
    text-align: right;
}

.slbc-btn-more {
    display: inline-flex;
    align-items: center;
    background-color: #0a5994;
    color: #fff !important;
    text-decoration: none !important;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 6px rgba(10, 89, 148, 0.15);
}

.slbc-btn-more i {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.slbc-btn-more:hover {
    background-color: #08497a;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(10, 89, 148, 0.2);
}

.slbc-btn-more:hover i {
    transform: translateX(4px);
}

/* Top Navigation for mobile screen view */
@media (max-width: 991px) {
    .slbc-sidebar {
        position: static;
    }

    .slbc-nav-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .slbc-nav-item {
        margin-bottom: 0;
    }

    .slbc-nav-link {
        border-left: none;
        border-bottom: 2px solid transparent;
        border-radius: 4px;
        background-color: #f7fafc;
    }

    .slbc-nav-link:hover,
    .slbc-nav-link.active {
        border-left-color: transparent;
        border-bottom-color: #0a5994;
        padding-left: 12px;
    }
}