@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: #D6A776;
    --primary_color_light: #F9E1F7;
    --secondary_color: #000F24;
    --gray_color: #F5F5F5;
    --border_gray: #E8E8E8;
    --border_primary: #AE75AA;
    --heading_color: #1F1F1F;
    --text_input_color: #515151;
    --body_bg: #F9F9FB;
    --text_info: #333F50;
    --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;
}

button {
    cursor: pointer;
}

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: 100%;
    bottom: 0;
    left: 0;
    top: 0;
    background-image: url('../images/bg_img.svg'), url('../images/bg_star.svg');
    background-repeat: no-repeat, no-repeat;
    background-position: bottom 0 left 0, top 16.2rem left 0;
    z-index: -1;
}

.main_body::after {
    position: absolute;
    content: "";
    width: 6rem;
    height: 10.5rem;
    right: 0;
    bottom: 15rem;
    background-image: url('../images/bg_shape.png');
    background-repeat: no-repeat;
    background-position: bottom 0 left 0;
    z-index: -1;
}

.header {
    background-color: var(--body_bg);
    padding: 2.6rem 8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header.border_bottom {
    justify-content: center;
    border-bottom: 1px solid #C5AE97;
}

.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;
}
.heading_result {
    font-size: 2.4rem;
    line-height: 3.8rem;
}
.secondary_heading {
    color: #804F1C;
}

.quiz_container {
    width: 80%;
    max-width: 58.6rem;
    margin: 7.4rem auto 0;
    padding: 2rem;
    border-radius: 3.4rem;
    background-color: var(--body_bg);
}

.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(--white_color);
    border-radius: 1.5rem;
    font-size: 2.2rem;
    line-height: 2.7rem;
    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: #ECD9C7;
    border-color: #AA8967;
    color: #744819;
}

.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 #F5B572;
    box-shadow: 0px -3px 4px 0px #805120 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;
}

.firstpage .page_img_container img {
    object-position: bottom;
}


/* quiz start */
.page {
    display: none;
}

.pageCounter {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1F1F1F;
}

.pageCounter span {
    color: #804F1C;
}

.page_progress {
    margin-bottom: 2.4rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #F0F0F0;
    border-radius: 0;
    overflow: hidden;
}

.progress {
    height: 100%;
    width: 0;
    background: #AA8967;
    transition: width 0.3s;
    border-radius: 0 1rem 1rem 0;
}

.page_top {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: space-between;
    margin-bottom: 1.9rem;
    height: 3.8rem;
    padding: 0 8rem;
}

#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: 2.4rem;
    line-height: 3.8rem;
    font-weight: 700;
    color: var(--secondary_color);
}

.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 span {
    font-size: 36px;
    color: #804F1C;
    font-weight: bold;
    position: relative;
    width: 17rem;
    height: 17rem;
    border-radius: 50%;
    background: var(--white_color);
    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: #804F1C;
    stroke-linecap: round;
}

.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;
    margin-top: 10px;
    text-align: left;
}

.card_border {
    border: 1px solid #BEBEBE4D;
    border-radius: 3rem;
    padding: 2rem;
}

.quiz_profile {
    position: absolute;
    border-radius: 100%;
    overflow: hidden;
}

.quiz_profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text_center {
    text-align: center;
}

.quiz_ratings {
    display: flex;
    justify-content: center;
    gap: 1rem;
    color: var(--secondary_color);
}

#page12 .page_info_container {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.profile01 {
    width: 140px;
    height: 140px;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.profile02 {
    z-index: 1;
    width: 80px;
    height: 80px;
    left: 80px;
    top: 5px;
}

.profile03 {
    z-index: 1;
    width: 70px;
    height: 70px;
    top: 84px;
}

.profile04 {
    z-index: 1;
    bottom: 16px;
    width: 55px;
    height: 55px;
    left: 89px;
}

.profile05 {
    z-index: 1;
    width: 45px;
    height: 45px;
    top: 96px;
    left: 132px;
}

.profile06 {
    z-index: 1;
    right: 90px;
    width: 70px;
    height: 70px;
    top: 10px;
}

.profile07 {
    z-index: 1;
    width: 70px;
    height: 70px;
    right: 20px;
    top: 90px;
}

.profile09 {
    z-index: 1;
    width: 55px;
    height: 55px;
    right: 69px;
    bottom: 0;
}

.profile08 {
    z-index: 1;
    width: 45px;
    height: 45px;
    bottom: 86px;
    right: 128px;
}

.profile09 {
    z-index: 1;
    width: 55px;
    height: 55px;
    right: 100px;
    bottom: 16px;
}

#page12 .page_img_container {
    height: 23rem;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    padding: 2rem;
    background: #00000008;
    border-radius: 1.6rem;
    margin-bottom: 2rem;
}

.book_wrapper {
    width: 45rem;
    height: 45rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    background-image: url('../images/book_bg_circle.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: -7.6rem;
}

.discountBadge {
    margin-top: -106px;
}

.page_info_footer {
    padding-top: 1.2rem;
}

.page_info_footer .heading02 {
    color: #565656;
    font-weight: 500;
    text-align: center;
}

.book_wrapper img {
    width: 19rem;
}

.quiz_input_group {
    padding: 4.2rem 0;
}

.quiz_input_group label {
    padding-bottom: 1.6rem;
    display: flex;
    font-size: 1.6rem;
    line-height: 2.3rem;
    font-weight: 400;
}

.input_prepend input {
    width: 100%;
    background: #EDEDED;
    border: 1px solid #C9C9C9;
    border-radius: 1.4rem;
    padding: 1.5rem 1.6rem;
    line-height: 1.5;
    color: #727272;
}

.quiz_desc {
    padding-top: 1.4rem;
    font-size: 1.6rem;
    line-height: 2.3rem;
    font-weight: 400;
}
#page14 .page_img_container img{
    object-position: top;
}
/* quiz end */

@media only screen and (max-width:767px) {
    body {
        padding-bottom: 10rem;
    }

    p {
        font-size: 1.4rem;
        line-height: 1.5rem;
    }

    .cta_wrapper {
        padding-top: 2rem;
    }

    .header_logo img {
        max-width: 12rem;
    }

    .header {
        padding: 2.1rem 1rem;
    }

    .btn_primary {
        font-size: 1.6rem;
        padding: 1.4rem;
    }

    .heading02 {
        font-size: 2rem;
        line-height: 1.5;
    }

    .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: 20rem;
    }

    .main_body::before {
        width: 100%;
        height: 100%;
        background-size: 27rem, auto;
    }

    .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;
    }

    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;
    }

    #page12 .page_img_container {
        height: 17rem;
    }

    .profile01 {
        width: 9rem;
        height: 9rem;
    }

    .profile02 {
        width: 5rem;
        height: 5rem;
        left: 50px;
    }

    .profile03 {
        width: 4rem;
        height: 4rem;
        left: 10px;
        top: 6.3rem;
    }

    .profile04 {
        width: 4.5rem;
        height: 4.5rem;
        left: 5rem;
    }

    .profile05 {
        width: 2.7rem;
        height: 2.7rem;
        left: 5.8rem;
        top: 6.8rem;
    }

    .profile06 {
        right: 48px;
        width: 5rem;
        height: 5rem;
    }

    .profile07 {
        width: 4rem;
        height: 4rem;
        right: 1rem;
        top: 6.3rem;
    }

    .profile08 {
        width: 2.7rem;
        height: 2.7rem;
        bottom: 7rem;
        right: 6rem;
    }

    .profile09 {
        width: 4.5rem;
        height: 4.5rem;
        right: 5rem;
        bottom: 1.6rem;
    }

    .quiz_ratings {
        font-size: 1.4rem;
    }

    .quiz_ratings img {
        width: 10rem;
    }

    .book_wrapper {
        width: 300px;
        height: 100%;
        margin-top: 0;
    }

    .book_wrapper img {
        width: 13rem;
    }

    .discountBadge {
        margin-top: 0;
        width: 6rem;
    }

    .page_info_footer .heading02 {
        font-size: 1.6rem;
        line-height: 1.5;
    }
}