@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
    --primary_font: "DM Sans", sans-serif;
    --primary_color: #8C3985;
    --primary_color_light: #F9E1F7;
    --secondary_color: #779F02;
    --gray_color: #F5F5F5;
    --border_gray: #E8E8E8;
    --border_primary: #AE75AA;
    --heading_color: #1F1F1F;
    --text_input_color: #515151;
    --body_bg: #F7F4F7;
    --text_info: #717171;
    --white_color: #FFFFFF;
    --border_color: #E9E9E9;
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

button,
input {
    font-family: var(--primary_font);
    background-color: transparent;
    -webkit-tap-highlight-color: transparent;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
     font-size: 16px;
}

img {
    display: block;
    max-width: 100%;
}

html {
    font-size: 10px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--primary_font);
    font-size: 1.8rem;
    line-height: 2.3rem;
    font-weight: 500;
    letter-spacing: .2px;
    color: var(--text_info);
    background-color: var(--body_bg);
    position: relative;
    padding-bottom: 20rem;
    z-index: 0;
    min-height: 100vh;
}

html,
body {
    touch-action: manipulation;
}

.main_body::before {
    position: absolute;
    content: "";
    width: 65.7rem;
    height: 79rem;
    bottom: 0;
    left: 0;
    background-image: url('../images/bg_circle.png');
    background-repeat: no-repeat;
    background-position: bottom 0 left 0;
    z-index: -1;
}

.main_body::after {
    position: absolute;
    content: "";
    width: 6rem;
    height: 10.5rem;
    right: 0;
    top: 20rem;
    background-image: url('../images/bg_shape.png');
    background-repeat: no-repeat;
    background-position: bottom 0 left 0;
    z-index: -1;
}

.header {
    background-color: var(--white_color);
    border-bottom: 1px solid #FEFAFE;
    padding: 2.6rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header_logo img {
    max-width: 17.4rem;
}

.heading01 {
    font-size: 3.8rem;
    line-height: 4.9rem;
    font-weight: 700;
    letter-spacing: .2px;
    text-transform: capitalize;
    color: #2D2D2D;
}

.secondary_heading {
    color: var(--secondary_color);
}

.quiz_container {
    width: 80%;
    max-width: 58.6rem;
    margin: 7.4rem auto 0;
    padding: 2rem;
    border-radius: 3.4rem;
    background-color: var(--white_color);
    border: 1px solid var(--border_color);
}

.page_img_container {
    border-radius: 2rem;
    overflow: hidden;
    height: 28.7rem;
}

.page_img_container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page_info_header {
    padding: 1.5rem 0 2.4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: .7rem;
}

.option_wrap {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.option {
    width: 100%;
    padding: 2.2rem 1.6rem;
    background-color: var(--gray_color);
    border-radius: 1.5rem;
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-weight: 500;
    color: var(--text_input_color);
    cursor: pointer;
    border: 1px solid var(--border_gray);
    transition: all 0.3s;
}

.option.selected,
.option:hover {
    background-color: #F9E1F7;
    border-color: #AE75AA;
    color: #74116C;
}

.withIcon {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.withIcon .icon {
    font-size: 3.4rem;
}

.cta_wrapper {
    padding-top: 3.2rem;
}

.btn_primary {
    font-size: 2rem;
    line-height: 2.2rem;
    display: flex;
    width: 100%;
    background-color: var(--primary_color);
    color: var(--white_color);
    padding: 2rem;
    text-align: center;
    justify-content: center;
    border-radius: 2rem;
    border: 1px solid #A5479D;
    box-shadow: 0px 5px 5px 0px #CB5EC2 inset, 0px -3px 4px 0px #6A1C63 inset;
    transition: all 0.3s;
    cursor: pointer;
}

.btn_primary:hover {
    opacity: 0.9;
}

.btn_primary.disabled {
    opacity: 30%;
    pointer-events: none;
}

#first_page {
    display: block;
}

/* quiz start */
.page {
    display: none;
}

.pageCounter {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1F1F1F;
}

.pageCounter span {
    color: var(--secondary_color);
}

.page_progress {
    margin-bottom: 2.4rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #EFF4DE;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0;
    background: var(--secondary_color);
    transition: width 0.3s;
}

.page_top {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: center;
    margin-bottom: 1.9rem;
    height: 3.8rem;
}

.page_top #backButton {
    position: absolute;
    left: 0;
    cursor: pointer;
}

#page4 .page_img_container,
#page8 .page_img_container {
    height: auto;
}

#page4 .page_img_container img,
#page8 .page_img_container img {
    width: 100%;
    height: auto;
}

.option_wrap label.option {
    position: relative;
    padding-left: 4.8rem;
}

.option_wrap label.option input {
    display: none;
}

.d_none {
    display: none;
}

.custom_checkbox::before {
    position: absolute;
    content: "";
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 100%;
    border: 2px solid #A1A1A1;
    left: 1.6rem;
    top: 50%;
    transform: translateY(-50%);
}

input:checked~.custom_checkbox::before {
    border-color: #74116C;
}

input:checked~.custom_checkbox::after {
    position: absolute;
    content: "";
    left: 20px;
    width: 1.7rem;
    height: 1.7rem;
    background: #74116C;
    border-radius: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.select_all {
    position: relative;
    padding-left: 32px;
    display: inline-flex;
}

.select_all .custom_checkbox::before {
    left: 0;
}

.select_all input:checked~.custom_checkbox::after {
    left: 4px;
}

.optionwrap_items {
    padding-top: 3.6rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.optionwrap_item {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.heading02 {
    font-size: 2rem;
    line-height: 2.4rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    color: #515151;
}

.option_chip_wrapper {
    display: flex;
    flex-wrap: wrap;
    grid-row-gap: 1.2rem;
    grid-column-gap: 1.6rem;
}

.option_chip_wrapper .option {
    padding: 1rem 1.6rem !important;
    display: inline-flex;
    width: auto;
}


.tgl_btn_group {
    background: #F5F5F5;
    border: 1px solid #E8E8E8;
    padding: .4rem;
    border-radius: 1.3rem;
    width: 20rem;
    margin-top: 2.4rem;
}

.tgl_btn_inner {
    position: relative;
    display: flex;
    align-items: center;
}

.tgl_btn_group button {
    width: 50%;
    font-size: 1.6rem;
    line-height: 2.1rem;
    font-weight: 700;
    padding: .8rem 0;
    position: relative;
    z-index: 1;
    cursor: pointer;
    color: var(--heading_color);
}

.bg_highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 37px;
    background-color: var(--primary_color);
    transition: left 0.3s ease;
    border-radius: 6px;
    z-index: 0;
}

button.active {
    color: var(--white_color);
}

.input_wrapper {
    padding-top: 3.6rem;
    padding-bottom: 2.4rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.form_input {
    width: 100%;
    border: 1px solid #E8E8E8;
    border-radius: 1.5rem;
    padding: 2.2rem 1.6rem;
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-weight: 500;
}

.info_alert {
    background: #F5F5F5;
    padding: 1rem 2.4rem;
    border-radius: 1.9rem;
}

.info_alert_heading {
    font-size: 2rem;
    line-height: 2.4rem;
    font-weight: 500;
    color: #1F1F1F;
    margin-bottom: 1rem;
}

.info_alert_desc {
    font-size: 1.6rem;
    line-height: 2.4rem;
    font-weight: 400;
}

.heading03 {
    font-size: 2.4rem;
    line-height: 3.6rem;
    font-weight: 700;
    color: var(--primary_color);
}

.page_info_container.circle_pg {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.circle-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
}

.circle-bg {
    position: relative;
    width: 20rem;
    height: 20rem;
    z-index: 1;
}

.circle-bg::before {
    position: absolute;
    content: "";
    width: 18rem;
    height: 18rem;
    background: #fff;
    border-radius: 100%;
    left: 11px;
    top: 10px;
}

.circle-bg::after {
    position: absolute;
    content: "";
    width: 47%;
    height: 18rem;
    background: #fff;
    border-top-right-radius: 190px;
    border-bottom-right-radius: 190px;
    left: 96px;
    top: 7px;
}

.circle-bg span {
    font-size: 36px;
    color: #779f02;
    font-weight: bold;
    position: relative;
    width: 14rem;
    height: 14rem;
    border-radius: 50%;
    background: #779F021F;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
}

.progress-ring {
    transform: rotate(-90deg);
    position: absolute;
    top: 0;
    left: 0;
}

circle {
    fill: none;
    stroke-width: 8;
}

.bg-circle {
    stroke: transparent;
}

.progress-circle {
    stroke: #779f02;
    stroke-linecap: round;
}

.dot {
    width: 16px;
    height: 16px;
    background: #779f02;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.testimonial_section {
    padding-top: 7rem;
    display: none;
}

.container {
    max-width: 122rem;
    margin: 0 auto;
    padding: 0 1.6rem;
}

.testimonial_card {
    padding: 1.8rem;
    background: var(--white_color);
    border-radius: 4.6rem;
    border: 1px solid #E9E9E9;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial_avatar {
    width: 7.4rem;
    height: 7.4rem;
    overflow: hidden;
    border-radius: 100%;
}

.testimonial_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial_name {
    font-size: 2.4rem;
    font-weight: 600;
    color: #2E2E2E;
    margin-top: 1.5rem;
}

.testimonial_info {
    font-size: 1.8rem;
    line-height: 1.34;
    color: #555555;
    margin-top: .7rem;
}

.custError {
    color: red !important;
    display: none;
}

/* quiz end */

@media only screen and (max-width:767px) {
    body {
        padding-bottom: 10rem;
    }

    .header_logo img {
        max-width: 12rem;
    }

    .header {
        padding: 2.1rem 1rem;
    }

    .btn_primary {
        font-size: 1.6rem;
        padding: 1.4rem;
    }

    .quiz_container {
        margin: 3.5rem auto 0;
        width: calc(100% - 3.2rem);
        padding: 1.2rem;
        border-radius: 2rem;
    }

    .page_img_container {
        border-radius: 1.2rem;
        height: auto;
    }

    .main_body::before {
        width: 100%;
        height: 50%;
    }

    .heading01 {
        font-size: 2.1rem;
        line-height: 3rem;
    }

    .sub_heading {
        font-size: 1.4rem;
        line-height: 1.5;
    }

    .option {
        font-size: 1.4rem;
        line-height: 1;
        padding: 1.4rem 1rem;
        text-align: left;
    }

    .withIcon .icon {
        font-size: 2rem;
    }

    #fastfit .cta_wrapper,
    #page4 .cta_wrapper {
        padding-top: 0;
    }

    input:checked~.custom_checkbox::after {
        width: 1.5rem;
        height: 1.5rem;
    }

    .custom_checkbox::before {
        width: 2rem;
        height: 2rem;
    }

    .option_chip_wrapper .option {
        border-radius: .9rem;
    }

    .option_wrap .heading02 {
        font-size: 1.6rem;
    }

    .form_input {
        padding: 1rem 1.6rem;
        font-size: 1.6rem;
        line-height: 2.4rem;
    }

    .tgl_btn_group {
        width: 13rem;
        border-radius: .8rem;
    }

    .tgl_btn_group button {
        font-size: 1.2rem;
        padding: .2rem;
    }

    .bg_highlight {
        bottom: 0;
        height: 25px;
    }

    .info_alert_heading {
        font-size: 1.4rem;
    }

    .info_alert_desc {
        font-size: 1.4rem;
        line-height: 2rem;
    }

    .testimonial_name {
        font-size: 2.2rem;
    }

    .testimonial_info {
        font-size: 1.6rem;
    }
}