/* Modern Loan Products Section - Professional Financial Design */

.loan-products-section {
    padding: 80px 0;
    background: #F9FAFB;
    position: relative;
}

.loan-products-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.loan-products-section .section-header .section-label {
    display: inline-block;
    color: #2F855A;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.loan-products-section .section-header h2 {
    color: #1F2937;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.loan-products-section .section-header .section-subtitle {
    color: #6B7280;
    font-size: 17px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Loan Products Grid - Static Grid Layout (No Carousel/Slider) */
.loan-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
    /* Ensure no carousel/slider is applied */
    overflow: visible;
}

/* Loan Product Card */
.loan-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #E5E7EB;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.loan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(47, 133, 90, 0.15), 0 16px 48px rgba(0, 0, 0, 0.08);
    border-color: #2F855A;
}

/* Icon - Green Icons, No Circle Background */
.loan-card-icon {
    text-align: center;
    margin: 32px auto 24px;
    display: block;
}

.loan-card-icon span {
    color: #2F855A;
    font-size: 50px;
    display: block;
    transition: all 0.3s ease;
    line-height: 1;
}

.loan-card:hover .loan-card-icon span {
    transform: scale(1.15);
    color: #38A169;
}

/* Card Content */
.loan-card-content {
    padding: 0 28px 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.loan-card-title {
    color: #1F2937;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.3;
}

.loan-card-title a {
    color: #1F2937;
    text-decoration: none;
    transition: color 0.2s ease;
}

.loan-card:hover .loan-card-title a {
    color: #2F855A;
}

.loan-card-description {
    color: #6B7280;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    text-align: center;
    min-height: 52px;
    flex-grow: 1;
}

/* Benefits List */
.loan-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 28px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.loan-benefits li {
    display: flex;
    align-items: center;
    color: #374151;
    font-size: 14px;
    line-height: 1.5;
}

.loan-benefits li .benefit-icon {
    width: 20px;
    height: 20px;
    background: #D1FAE5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.loan-benefits li .benefit-icon i {
    font-size: 11px;
    color: #2F855A;
}

/* CTA Button */
.loan-card-cta {
    width: 100%;
    background: #2F855A;
    color: #FFFFFF;
    border: none;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-top: auto;
    box-shadow: 0 2px 4px rgba(47, 133, 90, 0.2);
}

.loan-card-cta:hover {
    background: #276749;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 133, 90, 0.3);
}

.loan-card-cta:active {
    transform: translateY(0);
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #2F855A 0%, #38A169 100%);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    color: #FFFFFF;
    margin-top: 40px;
    box-shadow: 0 4px 16px rgba(47, 133, 90, 0.2);
}

.cta-banner h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.cta-banner p {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-banner .btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FFFFFF;
    color: #2F855A;
    padding: 14px 32px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cta-banner .btn-contact:hover {
    background: #F3F4F6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #276749;
}

/* Responsive Design */
@media (max-width: 991px) {
    .loan-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .loan-products-section .section-header h2 {
        font-size: 30px;
    }
    
    .loan-card-icon {
        margin: 28px auto 20px;
    }
    
    .loan-card-icon span {
        font-size: 45px;
        color: #2F855A;
    }
    
    .loan-card-title {
        font-size: 20px;
    }
    
    .cta-banner {
        padding: 32px;
    }
    
    .cta-banner h3 {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .loan-products-section {
        padding: 60px 0;
    }
    
    .loan-products-section .section-header {
        margin-bottom: 40px;
    }
    
    .loan-products-section .section-header h2 {
        font-size: 26px;
    }
    
    .loan-products-section .section-header .section-subtitle {
        font-size: 15px;
    }
    
    .loan-products-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .loan-card-icon {
        margin: 24px auto 18px;
    }
    
    .loan-card-icon span {
        font-size: 40px;
        color: #2F855A;
    }
    
    .loan-card-content {
        padding: 0 24px 24px;
    }
    
    .loan-card-title {
        font-size: 20px;
        margin-bottom: 14px;
    }
    
    .loan-card-description {
        font-size: 14px;
        margin-bottom: 20px;
        min-height: auto;
    }
    
    .loan-benefits {
        margin-bottom: 24px;
        gap: 10px;
    }
    
    .loan-benefits li {
        font-size: 13px;
    }
    
    .loan-card-cta {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .cta-banner {
        padding: 28px 24px;
        margin-top: 32px;
    }
    
    .cta-banner h3 {
        font-size: 22px;
    }
    
    .cta-banner p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .cta-banner .btn-contact {
        padding: 12px 28px;
        font-size: 15px;
    }
}

/* Accessibility */
.loan-card-cta:focus,
.cta-banner .btn-contact:focus {
    outline: 3px solid rgba(47, 133, 90, 0.5);
    outline-offset: 2px;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loan-card {
    animation: fadeInUp 0.6s ease-out both;
}

.loan-card:nth-child(1) { animation-delay: 0.1s; }
.loan-card:nth-child(2) { animation-delay: 0.2s; }
.loan-card:nth-child(3) { animation-delay: 0.3s; }
.loan-card:nth-child(4) { animation-delay: 0.4s; }
.loan-card:nth-child(5) { animation-delay: 0.5s; }




