*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Aptos;
    font-size: 16px;
    line-height: normal;
}

:root {
    --black-color: #000000;
    --white-color: #ffffff;
}


@font-face {
    font-family: Aptos;
    src: url(../font/Aptos.ttf);
    font-display: swap;
}

@font-face {
    font-family: Aptos-ExtraBold;
    src: url(../font/Aptos-ExtraBold.ttf);
    font-display: swap;
}

@font-face {
    font-family: Aptos-Bold;
    src: url(../font/Aptos-Bold.ttf);
    font-display: swap;
}

html {
    font-size: clamp(14px, 1.5vw, 16px);
    scroll-behavior: smooth;
}

body {
    width: 100%;
    height: 100%;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    position: relative;
}

/* Multi step form section start */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.buttons {
    margin-top: 20px;
}

.buttons button {
    padding: 10px 20px;
    margin-right: 10px;
    cursor: pointer;
}


.multistep_form_mainbox {
    display: grid;
    grid-template-columns: 22vw 1fr;
    gap: 40px;
}

.multistep_form_section {
    padding: 60px 0 60px 0;
}

.step {
    display: grid;
    grid-template-columns: 1fr 30px;
    gap: 20px;
    filter: grayscale(1);
}

.step.active,
.step.prev_active {
    filter: none;
}

.multi_form_heading {
    text-align: right;
    font-family: Aptos-ExtraBold;
    color: #858585;
    font-size: 18px;
}

.multi_form_subheading {
    font-size: 14px;
    text-align: end;
    color: #858585;
}

.step.active .multi_form_heading,
.step.prev_active .multi_form_heading {
    color: var(--black-color);
}

.step.active .multi_form_subheading,
.step.prev_active .multi_form_subheading {
    color: var(--black-color);
}

.step-indicator {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: sticky;
    top: 60px;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    right: 15px;
    width: 2px;
    height: 100%;
    background-color: #dedede;
    z-index: -1;
}

.form_group_mainbox {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 15px 0 !important;
}

.form-label-upload {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 15px 0 !important;
}

/* radio btn start */
.radio-inline-group label {
    display: flex;
    cursor: pointer;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.375em;
}

.radio-inline-group label input {
    position: absolute;
    left: -9999px;
}

.radio-inline-group label input:checked+span {
    background-color: #fdada78c;
}

.radio-inline-group label input:checked+span:before {
    box-shadow: inset 0 0 0 5px #da291c;
}

.radio-inline-group label span {
    display: flex;
    align-items: center;
    padding: 0.375em 0.75em 0.375em 0.375em;
    border-radius: 99em;
    transition: 0.25s ease;
    font-size: 14px;
}

.radio-inline-group label span:hover {
    background-color: #fdada78c;
}

.radio-inline-group label span:before {
    display: flex;
    flex-shrink: 0;
    content: "";
    background-color: #fff;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    margin-right: 0.375em;
    transition: 0.25s ease;
    box-shadow: inset 0 0 0 0.125em #da291c;
}

.radio-inline-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.form-group {
    padding: 20px;
    /* background-color: #FFE4ED; */
    background-color: #f2f2f2;
    border-radius: 12px;
}

/* radio btn ends  */

.multi_form_upload_input {
    display: none;
}

.multi_form_upload_mainbox {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #fff7f6;
    padding: 5px 15px;
    border-radius: 10px;
    cursor: pointer;
    border: 1px solid #da291c;
    transition-duration: 0.3s;
}

.multi_form_upload_mainbox:hover {
    border: 1px solid black;
}

.step_fourth .form-group:not(:last-child) .form-label {
    margin-bottom: 0 !important;
}

.multi_form_upload_text {
    /* color: #fff; */
    font-weight: 600;
}

.multistep_form_pagination {
    display: flex;
    justify-content: flex-end;
    margin: 20px 0 0 0;
}

.multiform_previousbox,
.multiform_nextbox {
    padding: 0 15px;
    color: #707070;
    cursor: pointer;
}

.btn-visible {
    color: black;
}

.btn-hidden {
    display: none;
}

.multiform_previousbox {
    border-right: 1px solid #dedede;
}

.multiform_steps_mainbox {
    min-height: 70vh;
}

.sbt_button {
    padding: 8px 30px;
    background-color: #da291c;
    border-radius: 8px;
    font-weight: 600;
    color: #ffffff;
    margin: 20px 0 0 0;
    transition-duration: 0.3s;
}

.sbt_button:hover {
    background-color: #000000;
}

.step_second h3 {
    font-family: Aptos-Bold;
    font-size: 20px;
    margin: 0 0 20px 0;
}

.multistep_form_heading,
.multistep_form_heading span {
    font-family: Aptos-ExtraBold;
    font-size: 30px;
    text-align: center;
    margin: 0;
}

.multistep_form_heading span {
    color: #F32B12;
}

.multistep_form_sub_btnbox {
    display: flex;
    justify-content: center;
}

.astrict_symbol {
    font-size: 12px;
    color: #e63946;
}

.error-message {
    font-size: 14px;
    margin-top: 10px;
    display: block;
    color: #e63946;
    width: 100%;
}

.form-group:has(.radio-inline-group) .error-message {
    margin-top: 0;
}

.thankyou_heading h1 {
    font-family: Aptos-ExtraBold;
}

.thank_you_mainbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 0;
    height: 70vh;
}

.thankyou_heading h1 {
    font-family: Aptos-ExtraBold;
    font-size: 100px;
    text-align: center;
    line-height: 1;
    margin: 0 0 20px 0;
    color: #000000;
}

.thankyou_btn {
    text-align: center;
}

.thankyou_btn a {
    text-decoration: none;
    display: inline-block;
    padding: 10px 20px;
    background-color: #da291c;
    line-height: normal;
    font-size: 16px;
    color: #ffffff;
    border-radius: 100px;
    transition-duration: 0.3s;

    &:hover {
        background-color: #000000;
    }

}

.footer_box a {
    float: right;
}

#otherInputWrapper .error-message {
    margin: 10px 0 0 0;
}

/* Multi step form section ends */