@font-face {
    font-family: "Calibri";
    src: url("../fonts/calibri-regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Calibri";
    src: url("../fonts/calibri-italic.woff") format("woff");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "Calibri";
    src: url("../fonts/calibri-bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Calibri";
    src: url("../fonts/calibri-bold-italic.woff") format("woff");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

:root {
    --accent_color: #CA2028;
    --gray_color: #EDE8EB;
    --black_color: #1D1D1D;
    --white_color: #ffffff;
    --border_color: #dddddd;
    --font-family: "Calibri", Arial, sans-serif;
    --max-width: 1440px;
}

*,
::after,
::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: var(--gray_color);
}

body::-webkit-scrollbar {
    width: 6px;
    background-color: var(--gray_color);
}

body::-webkit-scrollbar-thumb {
    background-color: var(--accent_color);
}

body {
    background-color: #f7f7f7;
}

body,
p,
ul {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    font-family: var(--font-family);
    color: var(--black_color);
}

h1,
h2,
h3 {
    text-transform: capitalize;
    font-weight: 700;
    line-height: 1.1;
}

h1 {
    font-size: 120px;
}

h2 {
    font-size: 45px;
}

h3 {
    font-size: 20px;
}

.ft_35 {
    font-size: 35px;
}

.ft_22 {
    font-size: 22px;
}

a {
    color: var(--black_color);
    text-decoration: none;
}

img {
    width: 100%;
}

header,
section,
footer {
    padding-left: 20px;
    padding-right: 20px;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}

.btn {
    padding: 18px 60px;
    display: inline-flex;
    font-size: 20px;
    font-weight: 700;
    border: 2px solid var(--accent_color);
    background-color: transparent;
    color: var(--accent_color);
    line-height: 1;
    text-transform: capitalize;
    text-align: center;
    justify-content: center;
    font-family: var(--font-family);
    cursor: pointer;
    letter-spacing: 2px;
    position: relative;
    border-radius: 40px;
    overflow: hidden;
}

.btn:hover,
.solid_btn {
    background-color: var(--accent_color);
    color: var(--white_color);
}

.btn::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background-image: linear-gradient(90deg, transparent, #f7f6f9, transparent);
    transition: 0.5s ease;
    opacity: 0;
}

.btn:hover::before {
    left: 100%;
    opacity: 1;
}

.white {
    color: var(--white_color);
}

.red {
    color: var(--accent_color);
}

/* Form CSS */
form {
    width: 100%;
}

.web_form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.form_control {
    padding: 20px;
    border: 1px solid var(--border_color);
    background-color: var(--white_color);
    font-size: 16px;
    text-transform: capitalize;
    color: var(--black_color);
    font-family: var(--font-family);
    line-height: 1;
    width: 100%;
    outline: 0;
}

.form_control::placeholder {
    color: var(--black_color);
}

.form_control:hover,
.form_control:focus {
    border-color: var(--accent_color);
}

.web_form .btn {
    width: 100%;
    margin-top: 20px;
}

/* Home Page */
.hero_section {
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url("../images/gray-bg.webp") center center / cover no-repeat;
}

.logo {
    max-width: 170px;
    display: flex;
    align-items: flex-start;
}

.row {
    display: flex;
    height: 100%;
    width: 100%;
}

.row>div {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.img_colm {
    max-width: 30%;
    background: url("../images/hero-banner.webp") center center / cover no-repeat;
    padding: 50px;
}

.txt_colm {
    padding: 100px;
    justify-content: center;
    align-items: flex-start;
    max-width: 1000px;
    margin-left: 30%;
    min-height: 100dvh;
}

.row .multiple_step_portal {
    display: none;
}

.row .multiple_step_portal.active {
    display: flex;
}

/* Quiz Page */
.start_form .form_control:nth-child(1),
.start_form .form_control:nth-child(2) {
    width: calc(100% / 2 - 5px);
}

.list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 22px;
    list-style: none;
}

.list li {
    display: flex;
    gap: 10px;
}

.list li::before {
    content: "";
    font-size: 20px;
    background: url("../images/check-icon.png") center center / contain no-repeat;
    width: 20px;
    flex-shrink: 0;
    height: 20px;
}
.no_list {
    counter-reset: number;
}
.no_list li {
    counter-increment: number;
}
.no_list li::before {
    content: counter(number) ".";
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 2px var(--accent_color);
    text-stroke: 2px var(--accent_color);
    background: unset;
}
.quiz_box {
    justify-content: space-between;
}

.question-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 50px;
    height: 100%;
    width: 100%;
}

.question-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.question-number {
    font-weight: 700;
    font-size: 20px;
}

.mindset-name {
    font-style: italic;
    color: var(--accent_color);
    letter-spacing: 2px;
    font-weight: 700;
}

.question-text {
    border-bottom: 1px solid var(--border_color);
    padding-bottom: 50px;
}

.rating-scale {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rating-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    cursor: pointer;
    transition: all 0.3s;
}

.rating-point:hover {
    transform: translateY(-5px);
}

.rating-point input[type="radio"] {
    display: none;
}

.rating-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--black_color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 10px;
    transition: all 0.3s;
    cursor: pointer;
}

.rating-point:hover .rating-number {
    border-color: var(--accent_color);
    transform: scale(1.1);
}

.rating-point input[type="radio"]:checked+.rating-number {
    background: var(--accent_color);
    border-color: var(--accent_color);
    color: var(--white_color);
}

.rating-label {
    color: var(--black_color);
    text-align: center;
    margin-top: 5px;
}

.nav-buttons {
    display: flex;
    justify-content: space-between;
    height: 100%;
    align-items: flex-end;
    width: 100%;
    gap: 15px;
}

.progress-container {
    width: 100%;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: var(--black_color);
    border-radius: 40px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: var(--accent_color);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    color: var(--black_color);
}

/* Result CSS */
.result_sec {
    padding: 100px 20px;
    overflow: hidden;
}

.result_sec .container {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.header {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.header h1 {
    font-size: 65px;
}

.header>div {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.header .logo {
    max-width: 100px;
}

.user-info {
    background: var(--white_color);
    padding: 25px 35px;
    border-radius: 25px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.user-info p {
    font-size: 20px;
}

.results-container {
    background: var(--white_color);
    padding: 60px;
    border-radius: 25px;
}

.section-title {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border_color);
}

.mindset-result:not(:last-child) {
    margin-bottom: 50px;
    border-bottom: 1px solid var(--border_color);
    padding-bottom: 50px;
}

.mindset-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    gap: 10px;
}

.mindset-score {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent_color);
    background: var(--gray_color);
    padding: 10px 15px 8px;
    border-radius: 20px;
    min-width: 80px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 01;
}

.mindset-description {
    margin-bottom: 15px;
}

.score-bar-container {
    position: relative;
    height: 10px;
    background: var(--gray_color);
    border-radius: 40px;
    overflow: hidden;
    margin: 20px 0;
}

.score-bar {
    height: 10px;
    background: var(--accent_color);
    width: 0%;
    border-radius: 40px;
    transition: width 1.5s ease-in-out;
    position: relative;
}

/* .score-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: white;
} */

.score-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.interpretation {
    margin-top: 30px;
    padding: 20px;
    background: var(--gray_color);
    border-radius: 10px;
    border-left: 4px solid var(--accent_color);
}

.interpretation h4 {
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.actions {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

.legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    background: var(--white_color);
    border-radius: 25px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-red {
    background: var(--accent_color);
}
.legend-gray {
    background: var(--gray_color);
}
/* Footer CSS */
footer {
    padding: 20px;
    background-color: var(--gray_color);
}
footer p {
    text-align: center;
}
/* Download PDF CSS */
.pdf_result {
    padding: 100px 20px;
}
.pdf_result .container,
footer .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.btn_list {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.print-container {
    background: var(--white_color);
    padding: 60px;
    border-radius: 25px;
}
.results-section {
    margin-bottom: 40px;
}
.summary {
    margin-top: 40px;
    padding: 40px;
    background: var(--gray_color);
    border-radius: 25px;
}
.summary h3 {
    margin-bottom: 25px;
}
.summary .list {
    font-size: 16px;
}
.print-controls {
    text-align: center;
    padding: 20px;
    background: var(--white_color);
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.print-container .user-info {
    padding-left: 0;
    padding-right: 0;
}
footer .container {
    gap: 10px;
}
@media print {
    @page {
        margin: 0.5in;
        size: letter;
    }
    body {
        font-family: Calibri, Arial, sans-serif;
        color: #1D1D1D;
        line-height: 1.6;
    }

    .no-print {
        display: none !important;
    }

    .page-break {
        page-break-after: always;
    }
}
/* Responsive CSS */
@media (min-width: 981px) {
    .img_colm {
        position: fixed;
        inset: 0;
    }
}

@media (max-width: 1280px) {
    h1 {
        font-size: 86px;
    }

    .ft_35 {
        font-size: 30px;
    }

    .img_colm {
        max-width: 300px;
    }

    .txt_colm {
        margin-left: 300px;
    }

    .logo {
        max-width: 100px;
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 70px;
    }

    h2 {
        font-size: 35px;
    }

    .ft_35 {
        font-size: 25px;
    }

    .result_sec,
    .pdf_result{
        padding: 50px 20px;
    }

    .header h1 {
        font-size: 50px;
    }
}

@media (max-width: 980px) {

    h1,
    .header h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 30px;
    }

    .ft_35,
    .ft_22,
    .list {
        font-size: 20px;
    }

    .btn {
        font-size: 16px;
    }

    .row {
        flex-direction: column;
    }

    .img_colm {
        max-width: 100%;
        min-height: 600px;
    }

    .txt_colm {
        margin-left: 0;
        padding: 50px 20px;
        min-height: auto;
    }

    .start_form .form_control:nth-child(1),
    .start_form .form_control:nth-child(2) {
        width: 100%;
    }

    .header {
        flex-direction: column-reverse;
    }

    .results-container,
    .print-container {
        padding: 35px;
    }
    .summary {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .img_colm {
        min-height: 300px;
    }

    .nav-buttons {
        flex-direction: column;
        align-items: center;
    }

    .rating-number {
        width: 35px;
        height: 35px;
    }

    .user-info,
    .results-container,
    .print-container {
        padding: 25px 20px;
    }
}