
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.partner-details {
    padding: 80px 0;
    background: var(--bg-color);
}

.partner-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border-color);
    max-width: 1000px;
    margin: 0 auto;
}

.partner-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.partner-logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.partner-logo i {
    font-size: 2.5rem;
    color: white;
}

.partner-info h2 {
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.partner-badges {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
}

.badge.nbfc {
    background: var(--primary-color);
}

.badge.licensed {
    background: #28a745;
}

.badge.verified {
    background: #17a2b8;
}

.partner-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.company-info h3,
.loan-terms h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.info-grid {
    display: grid;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.info-item .label {
    font-weight: 600;
    color: var(--text-color);
}

.info-item .value {
    color: var(--text-light);
    font-family: 'Courier New', monospace;
}

.info-item .value.link {
    color: var(--primary-color);
    text-decoration: none;
}

.info-item .value.link:hover {
    text-decoration: underline;
}

.terms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.term-card {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.term-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.term-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.term-icon i {
    color: white;
    font-size: 1.5rem;
}

.term-content h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.term-value {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.term-desc {
    color: var(--text-light);
    font-size: 0.9rem;
}

.calculation-example {
    padding: 80px 0;
    background: var(--bg-light);
}

.example-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    max-width: 1000px;
    margin: 0 auto;
}

.example-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.example-header h3 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    font-weight: 600;
}

.example-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.calculation-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-light);
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
}

.example-summary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 2rem;
    border-radius: 15px;
}

.example-summary h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.summary-grid {
    display: grid;
    gap: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total {
    font-weight: 700;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 0.5rem;
}

.summary-item .label {
    opacity: 0.9;
}

.summary-item .value {
    font-weight: 600;
}

.partner-advantages {
    padding: 80px 0;
    background: var(--bg-color);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.advantage-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.advantage-icon i {
    color: white;
    font-size: 2rem;
}

.advantage-card h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.advantage-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.application-process {
    padding: 80px 0;
    background: var(--bg-light);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.timeline-marker i {
    color: white;
    font-size: 1.5rem;
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin: 0 2rem;
    flex: 1;
    border: 1px solid var(--border-color);
}

.timeline-content h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .partner-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .partner-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .example-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .process-timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }

    .timeline-marker {
        position: absolute;
        left: 0;
    }

    .timeline-content {
        margin: 0;
    }

    .terms-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 100px 0 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .partner-card,
    .example-card {
        padding: 2rem;
    }

    .advantage-card {
        padding: 2rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.partner-card,
.example-card,
.advantage-card {
    animation: fadeInUp 0.6s ease-out;
}

.timeline-item {
    animation: fadeInUp 0.6s ease-out;
}

.term-card:hover .term-icon {
    transform: scale(1.1);
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
}

.timeline-marker:hover {
    transform: scale(1.1);
}
