/* NRP Sections - Modernized Design */

.nrp-loan-section {
    padding: 75px 0;
    background-color: var(--tg-color-smoke);
    /* Using site's smoke background */
    overflow: hidden;
}

.nrp-loan-item {
    margin-bottom: 80px;
    padding: 50px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
}

.nrp-loan-item:last-child {
    margin-bottom: 0;
}

.nrp-loan-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08);
}

/* Accent Colors */
.nrp-loan-item.shop-accent {
    border-top: 5px solid #2e8fce;
    /* Blue - User updated */
}

.nrp-loan-item.office-accent {
    border-top: 5px solid #8abc21;
    /* Green - User updated */
}

.nrp-loan-item.factory-accent {
    border-top: 5px solid #3592cf;
}

/* Image container */
.nrp-loan-img {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nrp-loan-img img {
    width: 100%;
    height: auto;
    transition: transform 0.6s ease;
}

.nrp-loan-item:hover .nrp-loan-img img {
    transform: scale(1.08);
}

/* Content Styling */
.nrp-loan-content {
    padding: 20px;
}

.nrp-loan-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--tg-heading-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.nrp-loan-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--tg-theme-primary);
    transition: width 0.3s ease;
}

.nrp-loan-item:hover .nrp-loan-title::after {
    width: 100%;
}

.nrp-loan-desc {
    font-size: 17px;
    line-height: 1.8;
    color: var(--tg-body-color);
    margin-bottom: 25px;
}

.nrp-key-features-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--tg-heading-color);
    margin-bottom: 15px;
}

.dark-bg .nrp-key-features-title {
    color: #fff;
}

/* Feature List */
.nrp-loan-features {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    /* Reduced gap between li items */
}

.nrp-loan-features li {
    font-size: 16px;
    font-weight: 500;
    color: var(--tg-heading-color);
    display: flex;
    align-items: flex-start;
    /* Better for multi-line text */
    gap: 15px;
    line-height: 1.6;
}

.nrp-loan-features li i {
    flex-shrink: 0;
    /* Don't squash the icon */
    margin-top: 2px;
    /* Align with first line of text */
    color: var(--tg-theme-primary);
    font-size: 17px;
    background: var(--tg-color-smoke-8);
    /* Light green tint */
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nrp-loan-features li span {
    display: inline-block;
    flex: 1;
    /* Take the remaining space */
}

.nrp-loan-item:hover .nrp-loan-features li i {
    background: var(--tg-theme-primary);
    color: #fff;
}

/* Dark Background Variant */
.nrp-loan-item.dark-bg {
    background: #3592cf;

    color: #fff;
}

.nrp-loan-item.dark-bg .nrp-loan-title,
.nrp-loan-item.dark-bg .nrp-loan-desc,
.nrp-loan-item.dark-bg .nrp-loan-features li {
    color: #fff;
}

.nrp-loan-item.dark-bg .nrp-loan-features li i {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    /* Changed to white for better visibility */
}

.nrp-loan-item.dark-bg:hover .nrp-loan-features li i {
    background: var(--tg-theme-primary);
    /* Change to green on hover */
    color: #fff;
}

.nrp-loan-item.dark-bg .nrp-loan-title::after {
    background: #fff;
    /* Changed to white for better visibility against blue */
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .nrp-loan-item {
        padding: 30px;
        margin-bottom: 50px;
    }

    .nrp-loan-img {
        margin-bottom: 30px;
    }

    .row.flex-row-reverse {
        flex-direction: column !important;
        /* Image on top for mobile */
    }

    .nrp-loan-title {
        font-size: 26px;
    }
}

@media (max-width: 575px) {
    .nrp-loan-section {
        padding: 60px 0;
    }

    .nrp-loan-item {
        padding: 20px;
        border-radius: 20px;
    }

    .nrp-loan-desc {
        font-size: 15px;
    }
}

/* Expert Help Section */
.expert-help-area {
    padding: 53px 80px 40px;
    background-color: var(--tg-color-gray-8);
    position: relative;
    overflow: hidden;
}

.expert-img img.expert-person-img {
    max-width: 100%;
    margin-bottom: -80px;
    /* To make the person pop out slightly if they have a transparent bg, or just align well */
}

.expert-content {
    padding-left: 30px;
}

.expert-title {
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.3;
}

.expert-title .highlight-text {
    color: var(--tg-theme-primary);
}

.expert-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.expert-feature-card {
    background-color: #fff;
    border: 3px solid var(--tg-theme-primary);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.expert-feature-card:hover {
    transform: translateY(-5px);
}

.expert-feature-icon {
    margin-bottom: 15px;
}

.expert-feature-icon img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.expert-feature-icon i {
    font-size: 45px;
    color: var(--tg-theme-primary);
}

.expert-feature-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--tg-heading-color);
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .expert-content {
        padding-left: 0;
        margin-top: 50px;
    }

    .expert-title {
        font-size: 30px;
        text-align: center;
    }

    .expert-img img.expert-person-img {
        margin-bottom: 0;
    }
}

@media (max-width: 575px) {
    .expert-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .expert-help-area {
        padding: 50px 0;
    }

    .expert-title {
        font-size: 24px;
    }

    .expert-feature-text {
        font-size: 18px;
    }
}