/* 
   Mudra Finance / Dhaani Finance
   Car Loan Page Specific Styles
   Theme: Saffron, Green, Blue, White
*/

/* =========================================
   Loan Overview Section
   ========================================= */
.loan-overview-section {
    padding: 60px 0;
    background-color: var(--white);
}

.loan-overview-section .row {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

@media (min-width: 992px) {
    .loan-overview-section .row {
        flex-direction: row;
        align-items: center;
    }
    
    .loan-overview-section .col-text {
        flex: 1;
    }
    
    .loan-overview-section .col-image {
        flex: 1;
    }
}

.loan-overview-section h2 {
    color: var(--accent-color); /* Blue */
    margin-bottom: 20px;
    font-size: 28px;
}

.loan-overview-section p {
    color: var(--light-text);
    margin-bottom: 15px;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 25px 0;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    color: var(--text-color);
}

.feature-item .check-icon {
    color: var(--primary-color); /* Saffron */
    font-weight: bold;
}

.image-placeholder {
    width: 100%;
    height: 300px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 2px dashed #ccc;
    color: #888;
    font-weight: 600;
}

/* =========================================
   Eligibility & Documents Section
   ========================================= */
.eligibility-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.section-title {
    margin-bottom: 40px;
}

.section-title h2 {
    color: var(--secondary-color); /* Green */
    margin-bottom: 10px;
}

.criteria-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .criteria-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.criteria-box {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-top: 4px solid var(--accent-color); /* Blue Border */
    transition: var(--transition);
}

.criteria-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.criteria-box h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--primary-color); /* Saffron Heading */
    font-size: 22px;
}

.criteria-box ul {
    list-style: none;
    padding: 0;
}

.criteria-box ul li {
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    color: var(--text-color);
}

.criteria-box ul li::before {
    content: "•";
    color: var(--secondary-color); /* Green Bullet */
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* =========================================
   Rates Section
   ========================================= */
.rates-section {
    padding: 60px 0;
    background-color: var(--white);
}

.rates-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--white);
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.rates-table th, 
.rates-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.rates-table th {
    background-color: var(--secondary-color); /* Green Header */
    color: var(--white);
    font-weight: 600;
}

.rates-table tr:hover {
    background-color: #f9f9f9;
}

.rates-table tr:last-child td {
    border-bottom: none;
}
