/* ==========================
   RESET
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;

    background:#F7F8FC;

    color:#23324A;

    font-size:15px;

    line-height:1.6;

}

/* ==========================
   VARIABLES
========================== */

:root{

    --primary:#1B355D;
    --secondary:#C59B4B;
    --light:#ffffff;
    --bg:#F7F8FC;
    --text:#25344D;
    --border:#E6E8EF;
    --success:#198754;

    --radius:18px;

    --shadow:
        0 20px 50px rgba(0,0,0,.08);

}

/* ==========================
   SURVEY SECTION
========================== */

.survey-section{

    padding:70px 0;

}

.survey-card{
    max-width:860px;
    margin:auto;
    background:#fff;
    border-radius:20px;
    overflow:visible !important;
    border:1px solid #ececec;
    box-shadow:0 12px 35px rgba(0,0,0,.06);
}
/* ==========================
   HEADER
========================== */

.survey-header{

    display:flex;

    align-items:center;

    gap:18px;

       padding:20px 28px;

    border-bottom:1px solid var(--border);

}

.header-logo{

    width:75px;

}

.survey-header h2{

    font-size:26px;

    font-weight:700;

    color:var(--primary);

    margin-bottom:4px;

}

.survey-header p{

    color:#666;

    margin:0;

}

/* ==========================
   PROGRESS
========================== */

.progress-wrapper{

    padding:18px 28px;

}

.progress{

    height:8px;

    background:#eceff5;

    border-radius:20px;

}

.progress-bar{

    width:0;

    border-radius:20px;

    background:linear-gradient(
        90deg,
        var(--secondary),
        #e7c474
    );

    transition:.4s;

}


/* ==========================
   WELCOME
========================== */

#welcome{

    text-align:center;

    padding:60px 50px;

}

.welcome-logo{

    width:110px;

    margin-bottom:25px;

}

.welcome-tag{

    display:inline-block;

    padding:8px 18px;

    border-radius:50px;

    background:#EEF3FF;

    color:var(--primary);

    font-weight:600;

    margin-bottom:25px;

}

#welcome h1{

    font-size:42px;

    font-weight:800;

    line-height:1.25;

    color:var(--primary);

    margin-bottom:18px;

}

#welcome h1 span{

    color:var(--secondary);

}

#welcome p{

    max-width:650px;

    margin:auto;

    color:#666;

    font-size:17px;

}

.welcome-info{

    display:flex;

    justify-content:center;

    gap:25px;

    margin:40px 0;

}

.welcome-info div{

    background:#fff;

    border:1px solid var(--border);

    border-radius:16px;

    padding:18px;

    width:210px;

    box-shadow:0 8px 25px rgba(0,0,0,.05);

}

.welcome-info i{

    font-size:28px;

    color:var(--secondary);

    margin-bottom:12px;

    display:block;

}

.welcome-info strong{

    display:block;

    color:var(--primary);

    font-size:17px;

}

.welcome-info small{

    color:#777;

}

/* ==========================
   BUTTONS
========================== */

.btn-start,

.btn-primary{

    background:var(--primary);

    border:none;

    color:#fff;

    border-radius:12px;

    padding:14px 34px;

    font-weight:600;

    transition:.35s;

}

.btn-start:hover,

.btn-primary:hover{

    background:#132948;

    transform:translateY(-2px);

}

.btn-light{

    border-radius:12px;

    padding:14px 30px;

    border:1px solid var(--border);

    background:#fff;

}

/* ==========================
   STEP
========================== */

.step{

    display:none;

   padding:28px;

}

.step.active{

    display:block;

}

.step-head{

    margin-bottom:35px;

}

.step-badge{

    display:inline-block;

    background:#EEF3FF;

    color:var(--primary);

    padding:8px 16px;

    border-radius:40px;

    font-weight:600;

    margin-bottom:15px;

}

.step-head h3{
   font-size:24px;
    line-height:1.3;

    color:var(--primary);

    font-weight:700;

    margin-bottom:10px;

}

.step-head p{

    color:#7d8795;
    font-size:15px;
    margin-bottom:0;

}

/* ==========================
   FORM
========================== */

label{

    display:block;

    font-weight:500;
    font-size:15px;

    color:var(--primary);

    margin-bottom:10px;

}

.required{

    color:#dc3545;

}

.question{

    font-size:18px;

    margin-bottom:18px;

}

.form-control{

    border:1px solid var(--border);

    border-radius:12px;

   min-height:46px;
    border-radius:10px;
    font-size:15px;

    padding:12px 16px;

    font-size:15px;

    transition:.3s;

    box-shadow:none;

}

textarea.form-control{

    min-height:130px;

    resize:vertical;

}

.form-control:focus{

    border-color:var(--secondary);

    box-shadow:0 0 0 .2rem rgba(197,155,75,.18);

}

.is-invalid{

    border-color:#dc3545 !important;

}

/* ==========================
   OPTIONS
========================== */

.option-list{

    display:grid;

    gap:14px;

}

.option-list label,

.check{

    display:flex;

    align-items:center;

    gap:12px;

    padding:15px 18px;

    border:1px solid var(--border);

    border-radius:14px;

    background:#fff;

    cursor:pointer;

    transition:.3s;

    font-weight:500;
	transition:.25s ease;

}

.option-list label:hover,

.check:hover{

    border-color:var(--secondary);

    background:#fcfaf5;
	transform:translateY(-2px);

}

.option-list input,

.check input{

    width:18px;

    height:18px;

    accent-color:var(--secondary);

}

/* ==========================
   NAVIGATION
========================== */
.navigation{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:25px 30px;
    border-top:1px solid #e9edf5;
    background:#fff;
    margin-top:20px;
}

.navigation #prevBtn{
    margin-right:auto;
}

.navigation #nextBtn,
.navigation #submitBtn{
    margin-left:auto;
}
/* ==========================
   THANK YOU
========================== */

#thankYouStep{

    display:none;

    padding:80px 40px;

    text-align:center;

}

.thank-icon{

    width:90px;

    height:90px;

    margin:auto auto 25px;

    border-radius:50%;

    background:#EAF8EF;

    display:flex;

    align-items:center;

    justify-content:center;

}

.thank-icon i{

    font-size:50px;

    color:var(--success);

}

#thankYouStep h2{

    font-size:38px;

    color:var(--primary);

    margin-bottom:15px;

}

#thankYouStep p{

    color:#666;

    max-width:620px;

    margin:0 auto 18px;

}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:991px){

    .survey-card{

        border-radius:18px;

    }

    .step{

        padding:30px;

    }

    #welcome{

        padding:45px 30px;

    }

    #welcome h1{

        font-size:34px;
		line-height:1.3;

    }

    .welcome-info{

        flex-direction:column;

        align-items:center;

    }

    .welcome-info div{

        width:100%;

        max-width:320px;

    }

}

@media(max-width:576px){

    body{

        font-size:14px;

    }

    .survey-header{

        padding:20px;

    }

    .header-logo{

        width:60px;

    }

    .step{

        padding:22px;

    }

    .step-head h3{

        font-size:24px;

    }

    #welcome{

        padding:35px 20px;

    }

    #welcome h1{

        font-size:28px;

    }

    .navigation{

        flex-direction:column;

        padding:20px;

    }

    .navigation .btn{

        width:100%;

    }

}

/* ==========================
   ANIMATION
========================== */

.step{

    animation:fadeIn .35s ease;

}

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(15px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


.option-list label:has(input:checked),
.check:has(input:checked){
    border-color:var(--secondary);
    background:#fcfaf5;
}


button:disabled{
    opacity:.7;
    cursor:not-allowed;
}

textarea.form-control{
    min-height:140px;
}