div#what-next-sec {
    background: #1d3b5e;
    padding: 6em 0em;
}
h2.title-wh {
    color: #fff;
    text-align: center;
	    font-size: 52px;
        font-family: var(--e-global-typography-primary-font-family);
}
p.description-box {
    text-align: center;
    color: #fff !important;
    font-size: 18px;
	font-weight:200;
    font-family: var(--e-global-typography-primary-font-family);
}
.row.three-box .column {
    background: linear-gradient(to bottom, #7D89C4, #3DA8F5);
    border-radius: 12px;
       padding: 4em 40px;
    flex: 1;
    color: white;
    text-align: center;
    min-width: 200px;
}
.row.bottom-line {
    padding-top: 2em;
}
.row.three-box {
    display: flex;
    gap: 20px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
	padding-top: 3em;
}
p.step-despction {
    color: #fff;
    font-weight: 200;
    font-size: 18px;
    font-family: var(--e-global-typography-primary-font-family);
}
h4.title-step {
    color: #fff;
    font-size: 24px;
    margin-bottom: 5px;
    font-family: var(--e-global-typography-primary-font-family);
}






#quiz-container { max-width: 90%; margin: auto; }
.quiz-question { margin-bottom: 20px; }
#quiz-result {
    margin-top: 20px;
    justify-content: space-between;
    
}
#quiz-container #section-title{
    display: flex;
    justify-content: space-around;
        margin-bottom: 20px;
    
}

/* Progress marker (white circle) */
#quiz-progress-marker {
    position: absolute;
    top: 50%;
    left: 0; 
    transform: translate(-50%, -50%);
    width: 17px;
    height: 17px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
    z-index: 2;
    transition: left 0.3s ease-in-out; 
}
/* Progress bar container */
#quiz-progress {
    position: relative;
    width: 100%;
    height: 14px;
    background-color: #4a627e;
    border-radius: 10px;
    margin-bottom: 20px;
    margin-top: 20px;
}

/* Progress bar fill */
#quiz-progress-bar {
    height: 100%;
    background: linear-gradient(to right, #009e4d, cyan);
    border-radius: 10px;
    transition: width 0.3s ease-in-out;
}
form#quiz-form .quiz-question {
            padding: 0em 0em;
    max-width: 100%;
    margin: auto;
    background: #142c48;
        gap: 2%;
    grid-template-columns: 54% 43%;
        align-items: center;

        
}

#quiz-container #section-title div {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: capitalize;
        text-align: center;
        font-family: var(--e-global-typography-primary-font-family);
}
#quiz-container #section-title div .sub-title {
    font-size: 12px;
    font-weight: 100;
    letter-spacing: 1px;
    text-transform: capitalize;
    font-family: var(--e-global-typography-primary-font-family);
}


form#quiz-form .quiz-question label.title-question {
    color: #b0c6f4;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    display: block;
    width: 75%;
    margin: 0 auto;
    font-family: var(--e-global-typography-primary-font-family);
}
label.answer {
    border: 1px #183c65 solid;
    max-width: 240px;
    display: inline-block;
    width: 100%;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    text-transform: capitalize;
    color: #fff;
    font-size: 16px;
    padding: 10px 10px;
    font-family: var(--e-global-typography-primary-font-family);
}
.answer-btn {
      display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-direction: row;
    padding-top: 1.5em;
    flex-wrap: wrap;
        width: 100%;
    margin: 0 auto;
    font-family: var(--e-global-typography-primary-font-family);
}

#quiz-container {  
    max-width: 100%;
    margin: auto;
    background: #142c48;

}
div#quiz-container h3 {
    margin: 0px;
    font-family: var(--e-global-typography-primary-font-family);
}
.progress-container {
        background: #1d3b5e;
    border-radius: 15px;
    padding-top: 1em;
    padding-bottom: 1em;
}
.progress-container .row {
    max-width: 1200px;
    margin: 0 auto;
}
form#quiz-form .row {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

.answer:hover {
  background: #34d399; /* Lighter green on hover */
}

input[type="radio"] {
  display: none;
}

input[type="radio"]:checked + label {
  background: #34d399; /* Highlighted green for the selected option */
}

/*.................................test page css..........................................*/

#quiz-container {
    max-width: 100%;
    margin: auto;
  
}
#quiz-result .quiz-result-score h4 {
 color: #b0c6f4;
    font-size: 22px;
    font-weight: 300;
    display: block;
    margin-bottom: 40px;
    font-family: var(--e-global-typography-primary-font-family);
}
#quiz-result p.sub-heading {
    color: #34d399 !important;
     font-size: 18px !important;
     margin-bottom: 0px !important;
     font-family: var(--e-global-typography-primary-font-family);
}
#quiz-result .quiz-form h5 {
    font-size: 20px;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    display: block;
    margin: 0 auto;
    line-height: 28px;
    margin-bottom: 30px;
	max-width:500px;
    font-family: var(--e-global-typography-primary-font-family);
	
}

#quiz-result .quiz-result-score h2 {
    color: #34d399;
    font-size: 38px;
    font-weight: 700;
        margin-top: 5px;
        font-family: var(--e-global-typography-primary-font-family);
}

div#quiz-result .row {
    padding: 3em 0em;
    max-width: 1200px;
    margin: auto;
	display:grid;
    gap: 3%;
    grid-template-columns: 54% 43%;
    
}
#quiz-result .quiz-result-score p {
    color: #fff !important;
    font-size: 15px;
    line-height: 28px;
    font-family: var(--e-global-typography-primary-font-family);
}
.thank_you_main_content {
    margin-right: 0px !important;
    background: #1d3b5e;
    padding: 55px 44px;
    border-radius: 50px;
    max-width: 650px;
    margin: 0 auto;
}
.thank_you_main_content p{
    color: #fff !important;
    font-size: 14px;
    line-height: 23px;
    font-family: var(--e-global-typography-primary-font-family);
}
.thank_you_msg strong{
    color: #fff !important;
}
.thank_you_msg h5{
    color: #34d399 !important;
}

#quiz-result .wpcf7-response-output {
        color: #ffffff;
    margin: 7px auto;
    margin-top: 1.5em !important;
}
#quiz-result .quiz-result-score li {
    color: #fff;
    list-style: none;
    font-size: 15px;
    line-height: 28px;
	margin-left:20px;
    font-family: var(--e-global-typography-primary-font-family);
}
#quiz-result .quiz-result-score ul {
    padding-left: 0px;
    margin-top: 0px;
}
#quiz-result .quiz-form-p {
        margin-right: 0px !important;
    background: #1d3b5e;
    padding: 30px;
    border-radius: 50px;
    max-width: 650px;
    margin: 0 auto;
}
#quiz-result .form-col p {
    margin-bottom: 0px;
    font-family: var(--e-global-typography-primary-font-family);
}
#quiz-result p.form-heading {
    color: #fff;
    font-size: 16px;
        margin-bottom: 25px !important;
    line-height: 26px;
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
    font-family: var(--e-global-typography-primary-font-family);
}
#quiz-result .form-col {
    display: flex;
    justify-content: space-between;
	margin-bottom: 20px;
	    gap: 20px;
}

#quiz-result .form-test textarea {
    width: 100%;
	color: #ffffff;
    font-family: var(--e-global-typography-primary-font-family);
}
#quiz-result .form-test input, textarea {
    padding: 10px;
        color: #ffffff;
        width: 100%;
    font-family: var(--e-global-typography-primary-font-family);
    border-radius: 5px;
    background: transparent;
    border: 1px solid #ffffff;
}
#quiz-result .form-test ::placeholder {
    color: #ececec;
    font-size: 14px;
    font-family: var(--e-global-typography-primary-font-family);
}

#quiz-result .quiz-form-p input.wpcf7-form-control.wpcf7-submit.has-spinner {
    max-width: 100%;
    display: inline-block;
    width: 100%;
    text-align: center;
    border-radius: 20px;
    cursor: pointer;
    text-transform: capitalize;
    color: #fff;
    font-size: 16px;
    padding: 10px 10px;
    margin: 0 auto;
    background-color: #34d399;
    border: #34d399;
    font-family: var(--e-global-typography-primary-font-family);
}
#quiz-result .form-col p {
    margin-bottom: 0px !important;
    font-family: var(--e-global-typography-primary-font-family);
}
#quiz-result .form-test input, textarea {
    padding: 10px;
    color: #ffffff;
    width: 100%;
    font-family: var(--e-global-typography-primary-font-family);
    border-radius: 5px;
    background: transparent !important;
    border: 1px solid #ffffff;
}
#quiz-result .quiz-form-p .wpcf7-spinner {
    left: 43%;
    top: 9px;
}
#quiz-result {
        background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.quiz-result-score:before {
    content: "";
    width: 100%;
    height: 100%;
    background-size: 100% !important;
    position: absolute;
    background-position: bottom ;
    background-repeat: no-repeat ;
        bottom: -3em;
}
.quiz-result-score {
    position: relative;
}
.quiz-result-score ul li {
    position: relative;
    font-family: var(--e-global-typography-primary-font-family);
}
.quiz-result-score img {
    position: absolute;
    left: -22px;
    top: 5px;
}


@media screen and (max-width: 980px) {
    .progress-container .row {
        padding-left: 2em;
        padding-right: 2em;
    }
        #quiz-container #section-title div:nth-child(2) {
        display: none;
    }
        #quiz-container #section-title div:nth-child(3) {
        display: none;
    }
        form#quiz-form .quiz-question {   
        grid-template-columns: 100% !important;   
    }
        form#quiz-form .quiz-question div {
        text-align: center;
    }
    form#quiz-form .quiz-question div img {
        max-width: 70%;
    }
        .row.three-box {
    flex-direction: column;
}
		h2.title-wh {    
    font-size: 34px;
}
		p.description-box {
    width: 90%;
    margin: 0 auto;
}
		div#what-next-sec {
    padding: 4em 0em;
}
    }
    @media screen and (max-width: 600px) {
		p.step-despction {
    
    font-size: 16px;
}
		.row.three-box {
    flex-direction: column;
}
		h2.title-wh {    
    font-size: 34px;
}
		p.description-box {
    width: 90%;
    margin: 0 auto;
			font-size: 14px;
}
		div#what-next-sec {
    padding: 4em 0em;
}
		
		
		
        div#hubspotform-container {
        padding-top: 12em;
    }
        #quiz-result .form-test .form-col p {
        margin-bottom: 12px !important;
    }
        #quiz-result .quiz-form-p {
       
        padding: 2em 1em !important;
       
    }
        #quiz-result .quiz-result-score h4 {
        margin-bottom: 5px !important;
                
    }
        #quiz-result .quiz-form h5 {
       
        margin-top: 20px;
        
    }
            form#quiz-form .quiz-question div img {
            max-width: 100%;
        }
            form#quiz-form .quiz-question label.answer { 
        max-width: 100%; 
        padding: 15px 10px;
        margin-bottom: 10px;
    }
            form#quiz-form .quiz-question .answer-btn {
        gap: 0px;
                margin-bottom:40px;
       
    }
        div#quiz-result .row {
        padding: 2em 1em !important;
        max-width: 1200px;
        margin: auto;
        display: grid;
        gap: 0% !important;
        grid-template-columns: 100% !important;
    }
        .quiz-result-score:before {
        bottom: -10em !important;
    }
    #quiz-result .form-col {
        display: flex;
        justify-content: space-between;
        margin-bottom: 0px !important;
        gap: 0px !important;
        flex-direction: column !important;
    }
        form#quiz-form .quiz-question {	
        gap: 0% !important;
       
    }
    form#quiz-form .quiz-question{
            gap: 0% !important;
    }
}    

.quiz-question, #quiz-result {
    opacity: 0;
    transform: translateX(100%); /* Start off-screen */
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: none;
}

.quiz-question.show, #quiz-result.show {
    opacity: 1;
    transform: translateX(0);
    display: grid; 
}

.quiz-question.hide, #quiz-result.hide {
    opacity: 0;
    transform: translateX(100%); /* Slide out */
}
