.mtd-wrapper{
/* max-width:1000px; */
margin:auto;
border:1px solid #E6E6E6;
border-radius:20px;
}

/* PROGRESS BAR */

.mtd-progress{
display:flex;
justify-content:space-between;
margin:30px 0 0;
}

.progress-step{
flex:1;
text-align:center;
}

.progress-step span{
display:inline-flex;
align-items:center;
justify-content:center;
width:40px;
height:40px;
border-radius:50%;
background:#fff;
border:1px solid #DBDBDB;
color:#DBDBDB;
font-weight: 800;
font-size: 20px;
font-family: 'BRFirma-Medium', sans-serif;
margin-bottom: 5px;
transition:all .3s ease;
}

.progress-step.active span{
background:#EAA820;
color:#fff;
}

.progress-step p{
    font-family: 'BRFirma-Medium', sans-serif;
    font-weight: 500;
    font-size: 18px;
}

/* STEP */

.step{
position:absolute;
top:0;
left:0;
width:100%;
background:#eef2f7;
padding:40px;
border-radius:10px;
/* fade animation */
opacity:0;
visibility:hidden;
transform:scale(.98);
transition:
opacity .45s ease,
transform .45s ease,
visibility .45s ease;
}

/* ACTIVE STEP */

.step.active{
opacity:1;
visibility:visible;
position:relative;
transform:scale(1);
}

.step h3{
    font-family: 'BRFirma-Medium', sans-serif;
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

.step p{
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 400;
    margin: 0;
    padding: 0;
}

/* CARD GRID */

.card-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:20px;
margin: 40px 0 30px;
}

.card-row
{
background:white;
border:1px solid #ddd;
padding:30px 30px;
border-radius:20px;
flex-direction: column;
cursor:pointer;
display:flex;
gap:10px;
align-items: start;
}


.card-row h4{
    color:#0013C1;
    font-size:18px;
    font-weight: 500;
    font-family: 'BRFirma-Medium', sans-serif;
    margin: 20px 0 0 0;
    padding: 0;
}
.cardh5
{
    color:#0013C1;
    font-size:18px;
    font-weight: 500;
    font-family: 'BRFirma-Medium', sans-serif;
    margin: 30px 0 -30px 0;
    padding: 0;
}

.card-row p{
    font-family: 'Hanken Grotesk-Light', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    margin-top: 0px;
}

.card-row input{
transform:scale(1.4);
}



.cardgrid4
{
  grid-template-columns:repeat(4,1fr);  
}



/* RANGE */

.income-slider{
width:100%;
margin-top:50px !important;
}

.income-value{
margin-top:10px;
font-weight:bold;
 font-family: 'BRFirma-Medium', sans-serif;
}

/* BUTTONS */

.card-btn
{
text-align: right;
}

.nav-buttons{
display:flex;
justify-content:space-between;
margin-top:20px;
}


.prev{
display:inline-flex;
gap:8px;
align-items:center;
font-size: 18px;
font-family: 'Hanken Grotesk-Light', sans-serif;
padding: 14px 30px;
border:none;
background:#fff;
color: #000;
border-radius:30px;
cursor:pointer;
font-weight: 300;
}

.prev:hover
{
 background:#fff;
 color:#000;
}

.prev::after
{
content:"";
width:12px;
height:12px;
background:url("../images/back.svg") no-repeat center;
background-size:contain;
display:inline-block;

}

.next
{
display:inline-flex;
gap:8px;
align-items:center;
font-size: 18px;
font-family: 'Hanken Grotesk-Light', sans-serif;
padding: 14px 30px;
border:none;
background:#0013C1;
color:white;
border-radius:30px;
cursor:pointer;
font-weight: 300;
}
.next:hover
{
   background:#0013C1; 
}

.next::after
{
content:"";
width:12px;
height:12px;
background:url("../images/next.svg") no-repeat center;
background-size:contain;
display:inline-block;   
}


.submit{
display:inline-flex;
align-items:center;
gap:8px;
font-size: 18px;
font-family: 'Hanken Grotesk-Light', sans-serif;
padding: 14px 30px;
border:none;
background:#0013C1;
color:white;
border-radius:30px;
cursor:pointer;
font-weight: 300;
}

.submit::after{
content:"";
width:12px;
height:12px;
background:url("../images/next.svg") no-repeat center;
background-size:contain;
display:inline-block;
}

/* RANGE SLIDER UI */
/* RANGE WRAPPER */

.income-range-wrapper{
margin-top:40px;
width:100%;
}

/* LABELS */

.range-labels{
display:flex;
justify-content:space-between;
font-family:'BRFirma-Medium', sans-serif;
font-size:18px;
margin-bottom:0px;
}

/* SLIDER */

.income-slider{
-webkit-appearance:none;
appearance:none;
width:100%;
height:6px;
border-radius:12px;
outline:none;
background:linear-gradient(to right,#2044d8 0%,#ddd 0%);
padding: 0 !important;
margin: 0 !important;
}

/* TRACK */

.income-slider::-webkit-slider-runnable-track{
height:6px;
border-radius:6px;
}

.income-slider::-moz-range-track{
height:6px;
border-radius:6px;
}

/* THUMB */

.income-slider::-webkit-slider-thumb{
-webkit-appearance:none;
appearance:none;
width:20px;
height:20px;
border-radius:50%;
background:#2044d8;
cursor:pointer;
margin-top:-7px;
}

.income-slider::-moz-range-thumb{
width:20px;
height:20px;
border-radius:50%;
background:#2044d8;
cursor:pointer;
border:none;
}

/* VALUE */

.income-value{
margin-top:15px;
font-weight:bold;
font-size:20px;
font-family:'BRFirma-Medium', sans-serif;
}


@media (max-width: 600px)
{
.progress-step span
{
    font-size: 16px;
    width:25px;
    height:25px;
}
.progress-step p
{
     font-size: 12px;
}
.step
{
    padding: 40px 20px;
}
.step h3 
{
    font-size: 22px;
}
.step p
{
    font-size: 14px;
   line-height: 22px;
   margin-top:-8px;
}
.card-grid
{
 grid-template-columns: repeat(2, 1fr);
}
.card-row
{
 padding: 20px 15px;
}
.card-row h4
{
 margin: 20px 0 0 0;
 font-size:16px;
}
.card-row input {
 transform: scale(1.1);
}
.card-row p 
{
 font-size: 16px;
 line-height: 22px;
 margin-top: 0px;
}

.next
{
padding: 10px 30px;
font-size: 16px;
}
.next::after 
{
 width: 12px;
 height: 12px;
}
.card-btn 
{
text-align:  center;
}
.prev
{
padding: 10px 30px;
font-size: 16px;
}
.prev::after 
{
 width: 12px;
 height: 12px;
}

.income-slider
{
margin-top: 0px !important;
}
.cardh5
{
 margin: 10px 0 -16px 0;
}
.submit 
{
padding: 10px 30px;
font-size: 16px;
}
.submit::after 
{
  width: 12px;
  height: 12px;
}
.step p 
{
 font-size: 16px;
 line-height: 22px;
}
.range-labels 
{
font-size: 14px;
}

}

@media (min-width: 600px) and (max-width: 1200px)
{
.card-grid
{
grid-template-columns: repeat(2, 1fr);
}
.card-row
{
 padding: 40px 20px 30px;
}
.step 
{
padding: 40px 30px;
}
.card-row h4
{
 margin: 15px 0 0 0;
 line-height: 27px;
}
.step p 
{
 font-size: 18px;
 line-height: 22px;
}
.progress-step span
{
    width: 40px;
    height: 40px;
    font-size: 20px;
}
.cardh5
{
    margin: 20px 0 -25px 0;
}
}
