* {
    font-family: "Inter", sans-serif;
}

html,
body {
    overflow-x: hidden;
}


.body1 {
    width: 100%;
    padding: 0px 0px 162px;
    position: relative;
    background: #08173A;

}

.logos {
    padding: 20px 0px;
}

.logo {
    text-align: right;
}

.logo1 {
    text-align: left;
}

.heading {
    font-size: 72px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: #FFFFFF;
}

.underline-text {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.05em;
    color: #FFFFFF;

}

.heading span {
    position: relative;
}

.arc-image {
    width: 100%;
    left: 75%;
    bottom: -5px;
    position: absolute;
    max-width: 150px;
    transform: translateX(-50%);
}

.top-row {
    margin-bottom: 30px;
    margin-top: 40px;
}

.loan-box {
    padding: 0px 10px;
    width: 100%;
    background: #F2F9FF;
    border-bottom: 6px solid #00B2FF;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 400;
    letter-spacing: -0.05em;
    max-width: 574px;
    color: #001F3D;
    text-align: center;
    display: inline-block;
    margin: 0px 0px;
}

.hero-subtext {
    color: #00B2FF;
    font-size: 22px;
    font-weight: 400;
    max-width: 650px;
    line-height: 1.4;
}

.hero-subtext strong {
    color: #FFFFFF;
}

.feature-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hdfc {
    color: #00B2FF;
}

.box-wrapper {
    margin-top: -165px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    z-index: 1;
    margin-bottom: 100px;
}

.upper-card-row,
.lower-card-row {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.white-card,
.small-card,
.lower-card {
    background: #FFFFFF;
    border-radius: 22px;
    box-shadow: 0px 13px 100px rgba(199, 199, 199, 0.25);
    display: flex;
    flex-direction: column;
    padding: 50px;
}

.white-card {
    max-width: 1160px;
}

.small-card,
.lower-card {
    max-width: 360px;
}

.upper-only {
    display: block;
}

.lower-only {
    display: none;
}

.button-wrapper {
    margin-top: auto;
}

.page-no {
    width: 106px;
    max-width: 100%;
    padding: 11px 0px;
    font-size: 20px;
    line-height: 20px;
    font-weight: 400;
    border-radius: 35px;
    border: none;
    /* background-color: #004B92; */
    color: #1C3FCA;
    cursor: pointer;
    transition: background 0.3s ease;
    /* text-align: center; */
    margin: 25px 0px;
}

.btn-resume {
    border: 1px solid #C4D1EB;
    background-color: #F8FAFF;
    color: #1C3FCA;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.btn-resume:hover {
    background-color: #EDF2FF;
    color: #1C3FCA;
    border-color: #A3BAF9;
}

/* --- Progress Bar --- */
.step-indicator {
    color: #1C3FCA;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.progress-steps {
    width: 100%;
}

.progress-segment {
    height: 6px;
    background-color: #E2E8F0;
    border-radius: 4px;
    flex: 1;
}

.progress-segment.active {
    background-color: #1C3FCA;
}

.get-started {
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -1px;
    color: #0F1A2A;
}

.step-text {
    font-size: 11px;
    font-weight: 300;
    letter-spacing: -0.05em;
    color: #5a6478;
}

.custom-button {
    width: 200px;
    max-width: 100%;
    padding: 18px 0px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 36px;
    border: none;
    background-color: #1C3FCA;
    color: #FFFFFF;
    cursor: pointer;
    transition: background 0.3s ease;
}

.custom-button:hover {
    background-color: #008ecc;
}

.switch-validate {
    font-weight: 600;
    font-size: 14px;
    text-decoration: underline;
    color: #00B2FF;
    cursor: pointer;
    margin-bottom: 10px;
}

.form-control {
    max-height: 48px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    padding: 0px 12px 0px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
    width: 100% !important;
    font-size: 14px;
    max-width: 322px;
    gap: 15px;
}

.check-field {
    margin: -15px 0;
}

.form-group label {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0px;
    color: #0F1A2A;
    margin-bottom: 10px;
}

input[type=checkbox]:checked+i:before {
    border: 2px solid #1C3FCA;
    background-color: #1C3FCA;
}

.form-group .check-field label {
    font-size: 12px !important;
    font-weight: 400;
    line-height: 30px;
    color: #27364B;
}

.form-group .check-field label a {
    color: #1C3FCA;
}

.sub-heading {
    font-weight: 600;
    font-size: 24px;
    letter-spacing: -0.32px;
    color: #000000;
    padding: 50px 0px 30px;
}

.subtext {
    font-weight: 400;
    font-size: 16px;
    color: #000000;
}

.img1 {
    width: 80px;
}

.img2 {
    width: 80px;
}

.img3 {
    width: 51px;
}

.img4 {
    width: 81px;
    ;
}

.img6 {
    width: 71px;
    height: 80px;
}

.hero-image {
    margin-left: -50px;
    margin-top: 45px;
    width: 325px;
}

.container {
    max-width: 1140px;
}

.help-block,
.invalid {
    color: red;
    font-size: 12px;
    display: block;
}

.has-error input,
.has-error select,
.has-error textarea {
    border-color: #dc3545;
    display: flex;
}


.asterik {
    color: red;
    margin-left: 2px;
    font-weight: bold;
}


.btns-radio {
    gap: 30px;
}

input[type=radio]:checked+i:after,
input[type=radio]:checked+label:after {
    background-color: #1C3FCA !important;
}

input[type=radio]:checked+i:before,
input[type=radio]:checked+label:before {
    border: 2px solid #1C3FCA !important;
}

.box2 p {
    margin-top: -28px;

}

.box7 p {
    margin-top: -30px;
}

#accept_terms-error {
    margin-left: 25px;
}

.custom-button:disabled {
    background-color: #8fa0e5;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.6;
}

.custom-button:disabled:hover {
    background-color: #8fa0e5;
}

/* Responsive adjustments */
@media screen and (max-width: 1199.98px) {

    .lower-card-row {
        max-width: 1130px;
    }

    .upper-only {
        display: none !important;
    }

    .lower-only {
        display: block !important;
    }

    .container {
        max-width: 960px;
    }

    .col-lg-9 {
        flex: 0 0 auto;
        width: 100%;
    }

    .white-card {
        max-width: 960px;
    }

    .heading {
        font-size: 62px;
        margin-right: -101px;
    }

    .hero-image {
        margin-left: -85px;
        margin-top: 55px;
        width: 300px;
    }

    /* .heading-wrapper {
        justify-items: center;
    } */
    .loan-box {
        margin: 10px 0px;
    }

    .feature-badge {
        padding: 10px 14px;
        font-size: 14px;
        gap: 5px;
    }

    .gap-2 {
        gap: .3rem !important;
    }

    .arc-image {
        left: 78%;
        bottom: -2px;
        max-width: 110px;
    }

    #accept_terms-error {
        margin-left: 0px;
    }
}

@media screen and (max-width: 991.98px) {
    header {
        box-shadow: none;
        position: relative;
        background: transparent;
    }

    .white-card {
        max-width: 760px;
    }

    .container {
        max-width: 760px;
    }

    .heading {
        font-size: 48px;
    }

    /* 
    .heading-wrapper {
        justify-items: center;
    } */

    .loan-box {
        font-size: 14px;
        max-width: 450px;
        margin: 5px 0px;
    }

    .underline-text {
        font-size: 26px;
    }

    .hero-image {
        margin-left: -115px;
        margin-top: 75px;
        width: 270px;
    }

    .box-wrapper {
        margin-top: -170px;
    }

    .gap-2 {
        gap: .5rem !important;
    }

    .feature-badge {
        padding: 10px 20px;
        font-size: 14px;
        gap: 10px;
    }

    /* .col-md-9 {
        flex: 0 0 auto;
        width: 100%;
    } */
}

@media screen and (max-width: 767.98px) {
    .heading {
        font-size: 48px;
        margin-right: 0px;
    }

    /* .loan-box {
        width: 100%;
        max-width: 370px;
        font-size: 22px;
    } */

    .underline-text {
        font-size: 28px;
    }

    .top-row {
        margin-top: 70px;
    }

    .white-card {
        max-width: 560px;
    }

    .container {
        max-width: 560px;
    }

    .white-card,
    .small-card,
    .lower-card {
        padding: 25px;
    }

    .lower-card-row {
        flex-direction: column;
        align-items: center;
        max-width: 360px;
    }

    /* .white-card {
        margin-top: -225px;
    } */

    .white-card,
    .small-card,
    .lower-card {
        width: 100%;
    }

    .custom-button {
        width: 100%;
        max-width: 190px;
        font-size: 16px;
        padding: 17px 0px;
    }

    .box-wrapper {
        padding: 20px;
        align-items: center
    }

    .arc-image {
        left: 76%;
        bottom: -2px;
        max-width: 80px;
    }


    .form-control {
        max-width: 100%;
    }

    .box2 p {
        margin-top: 0px;

    }

    .box7 p {
        margin-top: 0px;
    }

    .subtext br {
        display: none;
    }

    .heading-wrapper {
        justify-items: center;
    }

    .loan-box {
        display: block;
        margin: 20px 0px;
        border-bottom: 3px solid #00B2FF;
    }

    .feature-badge {
        font-size: 14px;
        padding: 10px 18px;
    }

    .py-5 {
        padding-bottom: 2rem !important;
    }


}

/* @media (min-width: 576px) and (max-width: 768.98px) {

    .container,
    .container-sm {
        max-width: 100% !important;
    }
} */


@media screen and (max-width: 576.98px) {
    .logo1 img {
        width: 100%;
        max-width: 127px;
    }

    .logo img {
        width: 100%;
        max-width: 75px;
    }

    .heading {
        font-size: 38px;
    }

    .loan-box {
        width: 100%;
        max-width: 355px;
        font-size: 11px;
    }

    .container {
        max-width: 380px;
    }

    .underline-text {
        font-size: 22px;
    }

    .form-group label {
        font-size: 13px;
    }

    .radio-text {
        font-size: 13px !important;
    }

    .get-started {
        font-size: 20px;
        /* margin-bottom: 10px; */
    }

    .white-card {
        max-width: 370px;
    }

    .box-wrapper {
        padding: 5px;
        align-items: center;
    }

    .page-no {
        width: 100px;
        max-width: 100%;
        padding: 0px 0px;
        margin: 15px 0px;
    }

    .btn-resume {
        padding: 6px 8px;
        font-size: 10px;
    }

    .top-row {
        margin-top: 40px;
    }

    .body1 {
        padding: 0px 0px 92px;
    }

    .box-wrapper {
        margin-top: -115px;
    }

    .feature-badge {
        font-size: 13px;
        padding: 6px 12px;
    }

    .arc-image {
        left: 76%;
        bottom: -2px;
        max-width: 50px;
    }

    .step-text {
        font-size: 8px;
    }

}

@media screen and (max-width: 375.98px) {
    .heading {
        font-size: 32px;
    }

    .feature-badge {
        font-size: 12px;
        padding: 6px 10px;
    }

    .white-card {
        max-width: 300px;
    }

    .loan-box {
        width: 100%;
        font-size: 9px;
        max-width: 300px;
    }

    .underline-text {
        font-size: 20px;
    }

    .form-group label {
        font-size: 12px;
    }

    .radio-text {
        font-size: 12px !important;
    }

    .step-text {
        font-size: 6px;
    }

    .get-started {
        font-size: 16px;
    }

    .btn-resume {
        padding: 6px 8px;
        font-size: 8px;
    }
}