/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #0071CE;
    --white: #ffffff;
    --darkGray: #415364;
    --lightGray: #F2F5F7;
    --cobalt: #0033A1;
    --hotPink: #D60EB5;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--white);
    color: var(--darkGray);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

main {
    position: relative;
}

body.quiz-completed nav.sidsailpoint-navigation.flex {
    flex-direction: row-reverse;
}

body.quiz-completed #sidsailpoint-progress-bar {
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page {
    height: calc(100vh - 80.7px);
}

.flex {
    display: flex;
    align-items: center;
}

.center {
    text-align: center;
}

.btn-hotPink {
    background-color: var(--hotPink);
    color: var(--white);
    transition: all 0.2s;
}

.btn-hotPink:hover {
    background-color: #9E007E;
    transition: all 0.2s;
}

.sidsailpoint-eyeBrow,
.progress-dots--mobile {
    color: var(--darkGray);
    font-size: 14px;
    line-height: 160%;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-out {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* Animation classes */
.animate-fade-in {
    animation: fade-in 0.3s ease-out;
}

.animate-fade-out {
    animation: fade-out 0.3s ease-out;
}

/* navigation */

header {
    background-color: var(--white);
}

.sidsailpoint-navigation {
    background-color: var(--white);
    padding: 10px 58px;

    justify-content: space-between;
    align-items: center;
    max-width: 1330px;
    margin: 0 auto;
}

.sidsailpoint-navigation img {
    max-width: 171px;
    width: 100%;
}

/* Typography */
.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
}

.poppins-semibold {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
}

.hero-description,
.page-description {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Layout */
.sidsailpoint-landingScreen .flex {
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
    margin-bottom: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17px 24px;
    border: none;
    border-radius: 6px;
    font-size: 24px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--blue);
    color: var(--blue);
    font-size: 16px;
    line-height: 0%;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--blue);
    color: var(--white);
    transition: all 0.3s ease;
}

.btn-outline:hover path {
    fill: var(--white);
    transition: all 0.3s ease;
}

.button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero */

.sidsailpoint-landingScreen {
    background-image: url(assets/sidSailpoint_blueGradientBG.png);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    height: calc(100vh - 80.7px);
    padding: 70px 90px;
    position: relative;
}

.sidsailpoint-landingScreen .sidsailpoint-starBG,
#scenario-page .sidsailpoint-starBG,
.result-graphic .sidsailpoint-starBG {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
}

.sidsailpoint-heroContent h1 {
    color: var(--white);
    font-size: 50px;
    line-height: 100%;
}

.sidsailpoint-heroContent h1 span {
    font-size: 28px;
}

.sidsailpoint-heroContent {
    flex: 1;

    max-width: 808px;
    width: 100%;
}

.sidsailpoint-heroContent span {
    display: block;
    margin-bottom: 30px;
}

.sidsailpoint-heroContent span:last-child {
    margin-bottom: 0;

}

.sidsailpoint-heroDescription {
    background: var(--white);
    border-radius: 24px;
    color: var(--darkGray);
    font-size: 18px;
    line-height: 160%;
    margin-top: 50px;
    padding: 40px;

}

.sidsailpoint-heroDescription--subtitle {
    color: var(--cobalt);
    margin-bottom: 12px !important;
}

.hero-img {
    width: 100%;
    max-width: 370px;
    object-fit: cover;
    margin-top: 0px;
}

.cta-card .btn {
    padding: 19px 48px
}

.sidsailpoint-ctaTitle {
    color: var(--white);
    font-size: 40px;
    line-height: 120%;
}

.sidsailpoint-ctaDescription {
    color: var(--white);
    font-size: 18px;
    line-height: 160%;
    padding: 20px 0;

}

/* Progress Bar */
.progress-container {
    display: inline-flex;
}

.progress-dots {
    display: flex;
    align-items: center;
    gap: 11px;
}

.progress-dots--mobile {
    display: none;
}

.progress-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #e9ecef;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.progress-dot.completed {
    background: var(--blue);
    border-color: var(--blue);
}

.progress-dot.incomplete {
    color: #bdc3c7;
}

.progress-label {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #6c757d;
}

.progress-label.completed {
    color: #27ae60;
    font-weight: 600;
}

/* Map */
.map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stage-button {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.stage-button.unlocked[data-stagehelper]>g {
    animation-name: helperKeyframe4;
    animation-duration: 3s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: both;
    animation-play-state: running;
    animation-iteration-count: infinite;
}

.animate-scale-in {
    animation: scale-in 0.4s ease-out;
}

.stage-button.unlocked .sidSailpointBG {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    -webkit-animation-name: hvr-pulse-shrink;
    animation-name: hvr-pulse-shrink;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-direction: alternate;
    animation-direction: alternate;
    transform-origin: center;
    transform-box: fill-box;
}

.stage-button.locked {
    cursor: not-allowed;
}

#sidsailpoint-progress-bar p {
    padding-right: 10px;
}

/* Question */
.options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.question-header {
    margin-bottom: 20px;

}

.question-header .question-title {
    font-size: 28px;
    color: var(--cobalt);
    line-height: 120%;
}

.option-button {
    background: white;
    border: 1px solid #DAE1E9;
    border-radius: 12px;
    padding: 18px;

    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    width: 48%;

    height: 219px;

}

.option-button:hover {
    border-color: var(--blue);
}

.option-button.correct .option-letter {
    background-color: #01801F;
}

.option-button.correct .option-letter:after {
    content: '';
    background: url(assets/sidsailpoint-correct_green.png);
    opacity: 1;
}

.option-button.incorrect .option-letter {
    background-color: #e74c3c;
}

.option-button.incorrect .option-letter:after {
    content: '';
    background: url(assets/sidsailpoint-incorrect_red.png);
    opacity: 1;
}

.option-letter:after {
    opacity: 0;
    content: '';
    width: 25px;
    height: 25px;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    opacity: 1;
}

.option-button .option-letter {
    border-radius: 50%;
    background: #DAE1E9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #6c757d;
    margin-right: 18px;
}

.option-text {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.option-text,
.option-fact {
    font-size: 14px;
    color: var(--darkGray);
    line-height: 160%;
}

.option-button .option-content {
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.option-fact {
    font-size: 12px;
}

.option-fact span.correct {
    display: block;
    color: #01801F;
    font-weight: 600;
}

.option-fact span.incorrect {

    display: block;
    color: #E6241E;
    font-weight: 600;
}

.option-icon {
    display: none;
}

/* Result card */
#result-image object {
    max-width: 500px;
    width: 100%;
}

.result-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.result-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.result-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.result-description {
    color: #6c757d;
}

#result-preview {
    margin-top: 12px;
    margin-bottom: 25px;
}

#result-preview img {
    max-width: 200px;
}

/* Results page */
.results-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
}

.results-card .result-graphic {
    background: url(assets/sidSailpoint_bg-result.svg);
    background-repeat: no-repeat;
    background-size: cover;
    flex: 1.5;
    text-align: center;
    padding: 70px 0;
    max-width: 885px;
    position: relative;


    display: flex;
    flex-direction: column;
    justify-content: center;
}

.results-title {
    font-size: 50px;
    line-height: 120%;
    margin: 5px 0 30px;
    color: var(--white)
}

.results-description {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* how it works */

#sidsailpoint-workProcess-page {
    background: rgba(255, 255, 255, 0.8) url(assets/sidSailPoint-mapBG.png);
    background-size: cover;
    backdrop-filter: blur(4px);
    background-position: center bottom;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
}

#sidsailpoint-workProcess-page .content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.sidsailpoint-workProcess .content-wrapper>div {
    background-color: var(--white);
    border-radius: 24px;
    box-shadow: 0 0 20px rgba(0, 51, 161, 0.15);
    max-width: 672px;
    margin: 0 auto;
    padding: 40px 50px;
    width: 100%;
}

.sidsailpoint-workProcess h2 {
    color: var(--cobalt);
    font-size: 28px;
    line-height: 120%;
    padding-bottom: 10px;
}

.sidsailpoint-workProcess ul li {
    color: var(--darkGray);
    font-size: 14px;
    line-height: 160%;
    list-style-position: inside;
}

.sidsailpoint-workProcess .btn {
    font-size: 14px;
    margin-top: 30px;
    padding: 10px 16px;
}

[data-stage] {
    cursor: pointer;
    transition: all 0.3s ease;
}

[data-stage].completed .lock {
    opacity: 0;
}

[data-stage].locked {
    cursor: not-allowed !important;
}

.hoverState {
    opacity: 0;
}

.stage-button .show {
    display: none;
}

.stage-button.completed .show {
    display: block;
}

.stage-button.completed:hover .hoverState {
    opacity: 1;
}

/* map page */

.mobile-map {
    display: none;
}

#map-page svg {
    max-width: 1220px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.howto-button {
    cursor: pointer;
}

/* scenario-page */
#scenario-page {
    background-image: url(assets/sidSailpoint_bg-question.png);
    background-size: cover;
    height: 100%;
    min-height: calc(100vh - 80.7px);
    padding: 60px;

    position: relative;
    align-items: center;
}

#scenario-page .scenario-content {
    background-color: var(--lightGray);
    border-radius: 24px;
    padding: 30px;

    box-shadow: 0 0 25px rgba(0, 51, 161, 0.5);
    max-width: 800px;
    width: 100%;
}

#scenario-page .content-wrapper.flex {
    align-items: flex-start;
    justify-content: center;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

#scenario-page .scenario-description {
    text-align: left;
}

#scenario-page .sidsailpoint-eyeBrow {
    margin-bottom: 15px;

}

#scenario-page .scenario-description h3 {
    color: var(--cobalt);
    font-size: 28px;
    margin-bottom: 10px;
}

#scenario-page .scenario-description p {
    color: var(--darkGray);
    font-size: 16px;
    line-height: 160%;
    margin-bottom: 20px;

}

#scenario-page .scenario-description>p:last-of-type {
    margin-bottom: 40px;

}

#scenario-page .sidsailpoint-context {
    background: var(--white);
    border: 1px solid #DAE1E9;
    border-radius: 20px;
    gap: 40px;
    justify-content: center;
    padding: 20px;

    margin-bottom: 2rem;

}

#scenario-page .sidsailpoint-context img {
    max-width: 110px;
    width: 100%;
}

#scenario-page .sidsailpoint-context p span {
    color: var(--cobalt);
}

#scenario-page .sidsailpoint-context p:last-of-type {
    margin-bottom: 0;
}

#scenario-page #scenario-img {
    max-width: 510px;
    position: relative;
    transition: opacity 0.3s ease-in-out;
    min-width: 500px;
}

#scenario-page #scenario-img img {
    width: 100%;
    z-index: -1;
    -webkit-animation-name: scale-in;
    animation-name: scale-in;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    -webkit-animation-direction: normal;
    animation-direction: normal;

}

#scenario-page .button-group {
    display: block;
}

#return-to-map-btn {
    float: left;
    display: flex;
    gap: 10px;
    line-height: 80%;
    padding: 10px 19px;
}

#return-to-map-btn svg {
    margin-right: 5px;
    transform: rotate(180deg);
}

.results-card #return-to-map-btn {
    float: none;
    max-width: 217px;
    margin: 40px auto 0;
    padding: 10px 16px;
    background: var(--hotPink);
    color: var(--white);
    border: none;
}

#scenario-page .button-group #continue-btn {
    float: right;
}

#continue-btn,
#continue-btn-question {
    display: flex;
    gap: 10px;
    line-height: 80%;
    padding: 10px 19px;
}

#continue-btn-question {
    float: right;
    margin-top: 35px;
}

#back-btn-question {
    margin-top: 35px;
    gap: 10px;
    line-height: 80%;
    padding: 10px 19px;
}

#back-btn-question svg {
    transform: rotate(180deg);
}

/* result */
#results-page {
    top: 0;
    width: 100%;
    height: 100%;
}

#results-page .content-wrapper {
    max-width: 100%;
}

#results-page .sidsailpoint-eyeBrow,
#results-page .result-title {
    color: var(--white);
}

.results-card {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}

.results-description--grayBG {
    background-color: var(--lightGray);
    border-radius: 24px;
    border: 1px solid #DAE1E9;
    padding: 30px 36px;
    max-width: 440px;
    margin: 0 auto 50px;
}

.results-description--grayBG h4 {
    color: var(--cobalt);
    margin-bottom: 20px;
}

#results-description--second,
#results-links {
    max-width: 440px;
    margin: 0 auto 15px;
    padding: 0 36px;
}

#results-description {
    flex: 1;
    padding: 0 30px;
    width: 100%;
}

#results-description a {
    color: var(--blue);
    font-size: 16px;
    text-decoration: none;
    display: flex;
    gap: 8px;
    align-items: center;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: all 0.3s;
}

#results-description a:hover {
    text-decoration-color: var(--blue);
    transition: all 0.3s;
}

#results-description a img {
    width: 16px;
    height: 16px
}

#results-links a:first-of-type {
    margin-bottom: 12px;
}

.results-social {
    margin: 50px auto;
    border: 1px solid #DAE1E9;
    border-radius: 24px;
    padding: 30px 36px;
    max-width: 440px;
}

.results-social h4 {
    font-size: 18px;
    margin-bottom: 12px;
}

.results-social--icon {
    display: flex;
    gap: 14px;
}

.results-social--icon a svg {
    height: auto !important;
    width: 111px !important;
    transition: all 0.3s ease-out;
}

.results-social--icon a svg:hover rect {
    fill: var(--blue);
    transition: fill 0.3s ease-in;
}

.results-social--icon a svg:hover path {
    fill: var(--white);
    transition: fill 0.3s ease-in;
}

.stage-button .tag {
    opacity: 0;
    transition: all 0.2s;
}

.stage-button.unlocked:hover .tag {
    opacity: 1;
    transition: all 0.2s;
}

.stage-button.completed:hover .tag,
.stage-button.completed .tag {
    opacity: 1;
    transition: all 0.2s;
}

.hide,
.stage-button.completed .hidden,
.stage-button.stage-button.unlocked .lock {
    opacity: 0;
    transition: all 0.2s;
}

.stage-button.completed .hide {
    opacity: 1;
    transition: all 0.2s;
}

.stage-button.unlocked .hideNumber,
.stage-button.completed .hideNumber {
    opacity: 1;
    transition: all 0.2s;
}

.hideNumber {
    opacity: 0;
}

.stage-button.unlocked .hideLock,
.stage-button.completed .hideLock {
    opacity: 0;
    transition: all 0.2s;
}

.stage-button.locked g.sidSailpointBG image {
    opacity: 0;
}

#map-page {
    position: relative;
    background-image: url(assets/sidSailPoint-mapBG.png);
    background-size: cover;
    padding: 20px 0;
}

#sidsailpoint-overlayState {
    background: rgba(255, 255, 255, 0.8) url(assets/sidSailPoint-mapBG.png);
    background-size: cover;
    backdrop-filter: blur(4px);
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 2;
}

#sidsailpoint-overlayState .flex {
    background: none;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    margin: 0 0 35px;
}

#exit {
    cursor: pointer;
    display: flex;
    flex-direction: row-reverse;
    position: absolute;
    right: 50px;
}

#sidsailpoint-overlayState .overlay-content {
    background: var(--lightGray);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 24px;
    box-shadow: 0 0 25px rgba(0, 51, 161, 0.15);
    padding: 45px 50px;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

#sidsailpoint-overlayState .overlay-content .text-content p {
    font-size: 16px !important;
    display: flex;
    line-height: 160%;
    gap: 15px;
}

#sidsailpoint-overlayState .stat {
    border-radius: 20px;
    background: var(--white);
    padding: 25px;
    margin-bottom: 25px;
}

#sidsailpoint-overlayState .stat:last-of-type {
    margin-bottom: 35px;
}

#sidsailpoint-overlayState .stat p {
    display: flex;
    align-items: center;
    gap: 15px;
}

#sidsailpoint-overlayState .stat p span.poppins-semibold {
    color: var(--hotPink) !important;
    font-size: 40px;
    line-height: 120%;
}

#sidsailpoint-overlayState .source {

    font-size: 14px;
}

#sidsailpoint-overlayState .stat p:last-of-type span {
    color: var(--darkGray);
}

svg foreignObject {
    display: none;
}

/* new */

.sidsailpoint-heroContent .hero-title,
.sidsailpoint-heroContent .sidsailpoint-heroDescription,
.cta-card,
.hero-img {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Animation classes */
.fade-in-1 {
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.fade-in-2 {
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.fade-in-3 {
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
}

.fade-in {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidsailpoint-heroDescription span.fade-in-span {
    opacity: 1;
}

footer {
    background-color: var(--lightGray);
    font-size: 14px;
}

footer .sailpoint-footer-container {
    max-width: 1289px;
    margin: 0 auto;
    padding: 40px 0;
}

footer .flex {
    justify-content: space-between;
}

footer hr {
    background: #DAE1E9;
    border: none;
    height: 1px;
    margin: 21px 0 26px;
}

footer a {
    text-decoration: none;
    color: var(--darkGray);
    margin-left: 30px;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: all 0.2s;
}

footer a:hover {
    color: var(--blue);
    text-decoration-color: var(--blue);
    transition: all 0.2s;
}