.svf-history-section {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 24px 44px;
}

.svf-history-heading {
    margin: 0 0 24px;
    color: #064c30;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.svf-history-origin {
    max-width: 680px;
    margin: 0 auto 28px;
    border-radius: 10px;
    background: #007f01;
    padding: 18px 22px;
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 76, 14, .16);
}

.svf-history-year {
    display: block;
    margin-bottom: 5px;
    color: #fde047;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.svf-history-origin h2,
.svf-history-card h2 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.svf-history-origin p,
.svf-history-card p {
    margin: 12px 0 0;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
}

.svf-history-timeline {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 58px;
}

.svf-history-timeline::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: #cdd8d1;
    content: "";
    transform: translateX(-1px);
}

.svf-history-card {
    position: relative;
    min-height: 176px;
    border-radius: 10px;
    background: #007f01;
    padding: 18px 22px;
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 76, 14, .16);
}

.svf-history-card:nth-child(odd) { grid-column: 1; }
.svf-history-card:nth-child(even) { grid-column: 2; }

.svf-history-card::before {
    position: absolute;
    top: 48px;
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    content: "";
}

.svf-history-card:nth-child(odd)::before {
    right: -14px;
    border-right: 14px solid #007f01;
}

.svf-history-card:nth-child(even)::before {
    left: -14px;
    border-left: 14px solid #007f01;
}

.svf-history-card::after {
    position: absolute;
    top: 53px;
    width: 12px;
    height: 12px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: #fde047;
    content: "";
}

.svf-history-card:nth-child(odd)::after { right: -36px; }
.svf-history-card:nth-child(even)::after { left: -36px; }

.svf-history-bank-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.svf-history-bank-row time {
    flex: 0 0 auto;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.svf-history-service-panels {
    display: grid;
    grid-template-columns: 1.35fr .65fr;
    gap: 18px;
    margin-top: 32px;
}

.svf-history-panel {
    border-radius: 10px;
    background: #007f01;
    padding: 20px 22px;
    color: #fff;
    box-shadow: 0 10px 22px rgba(0, 76, 14, .16);
}

.svf-history-panel h2 {
    margin: 0 0 14px;
    color: #fde047;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.svf-aadhaar-list {
    display: grid;
    gap: 0;
}

.svf-aadhaar-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, .28);
    padding: 10px 0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.svf-aadhaar-row:first-child {
    border-top: 0;
    padding-top: 0;
}

.svf-aadhaar-row time {
    flex: 0 0 auto;
    color: #fde047;
    font-weight: 700;
    white-space: nowrap;
}

.svf-recovery-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.svf-recovery-list li {
    border-radius: 999px;
    background: rgba(255, 255, 255, .17);
    padding: 8px 11px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 800px) {
    .svf-history-section { padding: 22px 16px 36px; }

    .svf-history-timeline {
        grid-template-columns: 1fr;
        gap: 14px;
        padding-left: 20px;
    }

    .svf-history-timeline::before {
        left: 5px;
        transform: none;
    }

    .svf-history-card:nth-child(odd),
    .svf-history-card:nth-child(even) { grid-column: 1; }

    .svf-history-card:nth-child(odd)::before,
    .svf-history-card:nth-child(even)::before {
        top: 46px;
        right: auto;
        left: -14px;
        border-right: 0;
        border-left: 14px solid #007f01;
    }

    .svf-history-card:nth-child(odd)::after,
    .svf-history-card:nth-child(even)::after {
        top: 51px;
        right: auto;
        left: -23px;
    }

    .svf-history-service-panels { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .svf-history-card,
    .svf-history-origin,
    .svf-history-panel { padding: 17px; }

    .svf-history-bank-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .svf-aadhaar-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}
