/* Details Page Specific Styles */

.page-banner {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.section-bg {
    background-color: #f1f8f1;
}

/* Loan Info Grid */
.loan-info {
    padding: 80px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
}

.info-item .icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
    background: #e8f5e9;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.info-item h3 {
    margin-bottom: 15px;
    color: #333;
}

.info-item p {
    color: var(--light-text);
    font-size: 15px;
}

/* Steps */
.steps {
    padding: 80px 0;
}

.steps-visual {
    text-align: center;
    margin-bottom: 50px;
}

.steps-visual img {
    max-width: 600px;
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    position: relative;
    border-left: 5px solid var(--primary-color);
}

.step-number {
    font-size: 48px;
    font-weight: 700;
    color: rgba(40, 167, 69, 0.1);
    position: absolute;
    right: 20px;
    top: 10px;
}

.step-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 20px;
}

.note {
    text-align: center;
    margin-top: 40px;
    color: var(--light-text);
    font-style: italic;
}

/* Calculation */
.calculation {
    padding: 80px 0;
}

.calc-box {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.calc-header {
    background: #f8f9fa;
    padding: 25px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.calc-body {
    padding: 30px;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px dashed #eee;
}

.calc-row.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.calc-row.total {
    border-bottom: none;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    padding-top: 25px;
}

.calc-note {
    padding: 20px;
    background: #fffdf0;
    font-size: 13px;
    color: #856404;
    text-align: center;
}

@media (max-width: 768px) {
    .info-grid, .steps-container {
        grid-template-columns: 1fr;
    }
}

