@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&display=swap');

html {
    scroll-behavior: smooth;
}

:root {
    --line: #dde2ea;
    --textHightLight: #5d5d5d;
    --muted: #666;
    --text: #313131;
    --fontBig: 'DM Sans', sans-serif;
    --fontNormalText: 'Helvetica', sans-serif;
    --textColorGreen: #096160;
    --backgroundColor: #FAFAFA;
}

/********************Header Section*****************/

body {
    margin-top: 0;
    padding-top: 0;
    background-color: var(--backgroundColor);
}

.site-header {
    position:sticky;
    top:0px;
    z-index: 1000;
    background-color: var(--backgroundColor);
}

.containerHeader {
    max-width: 1100px;   
    margin: 0 auto;     
    width: 100%;
}

.nav-wrap {
    display: flex;
    padding: 0 4rem;
    height: 70px;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.brandName img {
    height: 42px;
    width: auto;
    display: block;
}

.nav-list {
    margin: 0;
    padding:0;
    list-style: none;
    display: flex;
    gap: 1 rem;
}

.nav-list li a {
    color: var(--text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-family: var(--fontNormalText);
}

.nav-list a.active {
    color: var(--textHightLight);
    font-weight: 700;
}

.nav-list a:hover {
    color: var(--textHightLight);
}

    
/********************Main Section*****************/

/********************Intro Process*****************/

.introProcess {
    position: relative;
    height: 200vh;
    padding: 0 10%;
}

.introProcess h2 {
    font-size: 3rem;
    max-width: 600px;
    font-family: var(--fontBig);
    justify-content: flex-end;
    color: var(--muted);
}

.introFirst,
.introThird {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    margin-bottom: 0;
    will-change: transform, opacity;
}

.introFirst .textIntro,
.introThird .textIntro {
    flex: 1;
    min-width: 0;
    max-width: 30rem;
}

.introThird {
    margin-top: -100vh;
    opacity: 0;
    transform: translateY(100px);
    z-index: 1;
}

.imageIntro {
    flex: 0 1 520px;
    width: min(100%, 600px);
    max-height: 500px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10%;
    overflow: hidden;
}

.imageIntro img {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: contain;
    display: block;
}

/* Third intro: keep same outer box size, but make inner cards swipeable/scrollable */
.introThird .imageIntro {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.2rem;
    height: 500px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    cursor: grab;
    border-radius: 0;
}

.introThird .imageIntro:active {
    cursor: grabbing;
}

.introThird .imageIntro img {
    flex: 0 0 auto;
    width: 300px;
    height: 88%;
    max-height: 88%;
    box-sizing: border-box;
    object-fit: contain;
    padding: 0;
    scroll-snap-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    -webkit-user-drag: none;
    user-select: none;
}

.introThird .imageIntro img:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(9, 97, 96, 0.12);
}

.introThird .imageIntro::-webkit-scrollbar {
    display: none;
}

.introThird .imageIntro::-webkit-scrollbar-thumb {
    display: none;
}

.introThird .imageIntro {
    scrollbar-width: none;
}

.introThird .imageIntro img {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.introThird .imageIntro img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.introThird .imageIntro img {
    width: 260px;
    opacity: 0.7;
    transform: scale(0.95);
}

.introThird .imageIntro img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.highlight {
    color: var(--textColorGreen);
}

@media (max-width: 1200px) {
    .nav-wrap {
        padding: 0 2.5rem;
    }

    .introProcess h2 {
        font-size: 2.5rem;
    }

    .goals,
    .research {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem;
    }
}

@media (max-width: 980px) {
    .nav-wrap {
        padding: 0 1.25rem;
    }

    .introProcess {
        height: 170vh;
        padding: 0 8%;
    }

    .introProcess h2 {
        font-size: 2.1rem;
    }

    .introFirst,
    .introThird {
        gap: 1.25rem;
    }

    .imageIntro {
        flex: 0 1 360px;
        width: min(100%, 360px);
        max-height: 250px;
        height: auto;
    }

    .imageIntro img {
        max-height: 250px;
    }

    .introThird .imageIntro img {
        width: 220px;
        height: 84%;
        max-height: 84%;
    }

    .introThird .imageIntro {
        height: 250px;
    }

    .textWho h2,
    .textGoals h2,
    .textResearch h2,
    .textUserJourney h2,
    .textWireframes-Low h2,
    .textStyleGuide h2,
    .textUserTesting h2,
    .textFinalPrototype h2 {
        font-size: 2rem;
    }

    .textWho p,
    .textGoals p,
    .textResearch p,
    .textUserJourney p,
    .textWireframes-Low p,
    .textStyleGuide p,
    .textUserTesting p,
    .textFinalPrototype p {
        font-size: 1.15rem;
    }

    .goal,
    .Method,
    .taskDesign,
    .findings {
        grid-template-columns: 1fr;
        row-gap: 0.6rem;
    }

    .goal > h2,
    .Method > h2,
    .taskDesign > h2,
    .goal p,
    .Method > p,
    .taskDesign > p,
    .findings h2,
    .findings > p,
    .taskDesign .taskList,
    .cardFindings {
        grid-column: 1;
        grid-row: auto;
    }

    .taskDesign .taskList:nth-of-type(1),
    .taskDesign .taskList:nth-of-type(2),
    .taskDesign .taskList:nth-of-type(3),
    .taskDesign .taskList:nth-of-type(4),
    .cardFindings:nth-of-type(1),
    .cardFindings:nth-of-type(2),
    .cardFindings:nth-of-type(3),
    .cardFindings:nth-of-type(4) {
        grid-column: 1;
    }
}

/********************Who Is This For*****************/

.whoIsThisFor {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.textWho {
    margin-bottom: 2.5rem;
}

.textWho h2 {
    margin: 0 0 1rem;
    font-size: 2.5rem;
    font-family: var(--fontBig);
    color: var(--textColorGreen);
    text-align: center;
}

.textWho p {
    margin: 0 auto 0;
    max-width: 760px;
    font-size: 1.5rem;
    line-height: 1.6;
    font-family: var(--fontNormalText);
    color: var(--muted);
    text-align: center;
}

.imageWho {
    width: 100%;
    flex: 1;
    max-height: 750px;
    /* aspect-ratio: 4 / 3; */
    border: 1px solid var(--line);
    border-radius: 18px;
    background: repeating-linear-gradient(
        -45deg,
        #f4f7fa,
        #f4f7fa 12px,
        #ebf0f4 12px,
        #ebf0f4 24px
    );
    overflow: hidden;
}

.imageWho img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/********************Goals*****************/

.goals {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10rem 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.textGoals {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 2.5rem;
}

.textGoals h2 {
    margin: 0 0 1rem;
    font-size: 2.5rem;
    font-family: var(--fontBig);
    color: var(--textColorGreen);
    text-align: center;
}

.textGoals p {
    margin: 0 auto 0;
    max-width: 760px;
    font-size: 1.5rem;
    line-height: 1.6;
    font-family: var(--fontNormalText);
    color: var(--muted);
    text-align: center;
}

.card {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.1rem;
    background-color: #ffffff;
}

.card img {
    width: 100%;
    min-height: 180px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: repeating-linear-gradient(
        -45deg,
        #f4f7fa,
        #f4f7fa 12px,
        #ebf0f4 12px,
        #ebf0f4 24px
    );
    margin-bottom: 1rem;
    display: block;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--fontBig);
    color: var(--textColorGreen);
}

.card p {
    font-size: 1.1rem;
    line-height: 1.5;
    font-family: var(--fontNormalText);
    color: var(--text);
    margin-bottom: 1rem;
}

.card ul {
    padding-left: 1.2rem;
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    font-family: var(--fontNormalText);
    color: var(--text);
}

.card ul li {
    margin-bottom: 0.4rem;
}

/********************Research*****************/

.research {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10em 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.textResearch {
    grid-column: 1 / -1;
    margin-bottom: 2.5rem;
}

.textResearch h2 {
    margin: 0 0 1rem;
    font-size: 2.5rem;
    font-family: var(--fontBig);
    color: var(--textColorGreen);
    text-align: center;
}

.textResearch p {
    margin: 0 auto 0;
    max-width: 760px;
    font-size: 1.5rem;
    line-height: 1.6;
    font-family: var(--fontNormalText);
    color: var(--muted);
    text-align: center;
}

.cardResearch {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.1rem;
    background-color: #ffffff;
}

.cardResearch img {
    width: 100%;
    min-height: 180px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: repeating-linear-gradient(
        -45deg,
        #f4f7fa,
        #f4f7fa 12px,
        #ebf0f4 12px,
        #ebf0f4 24px
    );
    margin-bottom: 0.9rem;
    display: block;
}

.cardResearch h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--fontBig);
    color: var(--textColorGreen);
}

.cardResearch p {
    font-size: 1.1rem;
    line-height: 1.5;
    font-family: var(--fontNormalText);
    color: var(--text);
    margin-bottom: 1rem;
}

/********************User Journey*****************/

.userJourney {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.textUserJourney {
    margin-bottom: 2.5rem;
}

.textUserJourney h2 {
    margin: 0 0 1rem;
    font-size: 2.5rem;
    font-family: var(--fontBig);
    color: var(--textColorGreen);
    text-align: center;
}

.textUserJourney p {
    margin: 0 auto 0;
    max-width: 760px;
    font-size: 1.5rem;
    line-height: 1.6;
    font-family: var(--fontNormalText);
    color: var(--muted);
    text-align: center;
}

.imageUserJourney {
    width: 100%;
    flex: 1;
    max-height: 750px;
    /* aspect-ratio: 4 / 3; */
    border: 1px solid var(--line);
    border-radius: 18px;
    background: repeating-linear-gradient(
        -45deg,
        #f4f7fa,
        #f4f7fa 12px,
        #ebf0f4 12px,
        #ebf0f4 24px
    );
    overflow: hidden;
}

.imageUserJourney img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* ********* */

.wireframes-Low {
    max-width: 1880px;
    margin: 0 auto;
    padding: 10rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.textWireframes-Low {
    margin-bottom: 2.5rem;
}

.textWireframes-Low h2 {
    margin: 0 0 1rem;
    font-size: 2.5rem;
    font-family: var(--fontBig);
    color: var(--textColorGreen);
    text-align: center;
}

.textWireframes-Low p {
    margin: 0 auto 0;
    max-width: 760px;
    font-size: 1.5rem;
    line-height: 1.6;
    font-family: var(--fontNormalText);
    color: var(--muted);
    text-align: center;
}

.imageWireframes-Low {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    padding-bottom: 0.35rem;
}

.wireframesScroller {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wireNav {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--textColorGreen);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    flex: 0 0 auto;
}

.wireNav:hover {
    background: #f4f7fa;
}

.imageWireframes-Low img {
    flex: 0 0 auto;
    width: auto;
    height: auto;
    max-width: min(90vw, 840px);
    object-fit: initial;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: repeating-linear-gradient(
        -45deg,
        #f4f7fa,
        #f4f7fa 12px,
        #ebf0f4 12px,
        #ebf0f4 24px
    );
    display: block;
    scroll-snap-align: start;
}

.imageWireframes-Low::-webkit-scrollbar {
    display: none;
}

.imageWireframes-Low::-webkit-scrollbar-thumb {
    background: #c7d2de;
    border-radius: 999px;
}

.imageWireframes-Low {
    scrollbar-width: none;
}

/* ********* */

.styleGuide {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.textStyleGuide {
    margin-bottom: 2.5rem;
}

.textStyleGuide h2 {
    margin: 0 0 1rem;
    font-size: 2.5rem;
    font-family: var(--fontBig);
    color: var(--textColorGreen);
    text-align: center;
}

.textStyleGuide p {
    margin: 0 auto 0;
    max-width: 760px;
    font-size: 1.5rem;
    line-height: 1.6;
    font-family: var(--fontNormalText);
    color: var(--muted);
    text-align: center;
}

.imageStyleGuide {
    width: min(100%, 1100px);
    max-width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.imageStyleGuide img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--line);
    border-radius: 16px;
}

/* *********User Testing *************************************************************** */

.userTesting {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.userTesting p {
    color: var(--muted);
}

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

.textUserTesting h2 {
    margin: 0 0 1rem;
    font-size: 2.5rem;
    font-family: var(--fontBig);
    color: var(--textColorGreen);
    text-align: center;
}

.textUserTesting p {
    margin: 0 auto 0;
    max-width: 760px;
    font-size: 1.5rem;
    line-height: 1.6;
    font-family: var(--fontNormalText);
    color: var(--muted);
    text-align: center;
}

.userTesting > .goal,
.userTesting > .Method,
.userTesting > .taskDesign,
.userTesting > .findings {
    margin-top: 3rem;
}

.goal,
.Method,
.taskDesign {
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(140px, 180px) 1fr;
    column-gap: 1.25rem;
    row-gap: 0.45rem;
    align-items: start;
}

.goal {
    margin: 0;
    grid-template-columns: minmax(140px, 180px) repeat(4, minmax(0, 1fr));
}

.taskDesign {
    display: grid;
    grid-template-columns: minmax(140px, 180px) 1fr;
    column-gap: 1.25rem;
    row-gap: 0.45rem;
    align-items: start;
}

.findings {
    display: grid;
    grid-template-columns: minmax(140px, 180px) 1fr;
    column-gap: 1.25rem;
    row-gap: 0.45rem;
    align-items: start;
}

.goal > h2,
.Method > h2,
.taskDesign > h2 {
    margin: 0;
    font-size: 1.55rem;
    font-family: var(--fontBig);
    color: var(--textColorGreen);
    grid-column: 1;
    grid-row: 1 / -1;
}

.findings h2 {
    margin: 0;
    font-size: 1.55rem;
    font-family: var(--fontBig);
    color: var(--textColorGreen);
    text-align: left;
    grid-column: 1;
    grid-row: 1 / -1;
}

.findings > p {
    margin: 0;
    text-align: left;
}

.goal > p,
.Method > p,
.taskDesign > p,
.findings > p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    font-family: var(--fontNormalText);
    grid-column: 2 / -1;
}

.taskDesign .taskList img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.cardFindings img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.taskDesign .taskList {
    flex: 1 1 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background-color: #ffffff;
    padding: 1rem 1rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    text-align: center;
}

.taskDesign .taskList:nth-of-type(1) { grid-column: 2; }
.taskDesign .taskList:nth-of-type(2) { grid-column: 3; }
.taskDesign .taskList:nth-of-type(3) { grid-column: 4; }
.taskDesign .taskList:nth-of-type(4) { grid-column: 5; }

.taskDesign .taskList h2 {
    margin: 0;
    font-size: 1.05rem;
    font-family: var(--fontBig);
    color: var(--textColorGreen);
    grid-column: auto;
    grid-row: auto;
}

.taskDesign .taskList p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.45;
    font-family: var(--fontNormalText);
    grid-column: auto;
}

.goal p:last-child,
.Method > p:last-child,
.taskDesign > p:last-child {
    margin-bottom: 0;
}

.cardFindings {
    flex: 1 1 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background-color: #ffffff;
    padding: 2rem 1.5rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    text-align: center;
}

.cardFindings:nth-of-type(1) { grid-column: 2; }
.cardFindings:nth-of-type(2) { grid-column: 3; }
.cardFindings:nth-of-type(3) { grid-column: 4; }
.cardFindings:nth-of-type(4) { grid-column: 5; }

.taskCards,
.findingCards {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 1rem;
    grid-column: 2;
}

.taskCards .taskList,
.findingCards .cardFindings {
    flex: 1 1 0;
    min-width: 140px;
}

.taskDesign .taskList:nth-of-type(1),
.cardFindings:nth-of-type(1) {
    margin-top: 0.45rem;
}

.cardFindings h3 {
    margin: 0;
    font-size: 1.05rem;
    font-family: var(--fontBig);
    color: var(--textColorGreen);
}

.cardFindings p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.45;
    font-family: var(--fontNormalText);
}

/* *************************************************************** */

.finalPrototype {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.textFinalPrototype {
    margin-bottom: 2.5rem;
}

.textFinalPrototype h2 {
    margin: 0 0 1rem;
    font-size: 2.5rem;
    font-family: var(--fontBig);
    color: var(--textColorGreen);
    text-align: center;
}

.textFinalPrototype p {
    margin: 0 auto 0;
    max-width: 760px;
    font-size: 1.5rem;
    line-height: 1.6;
    font-family: var(--fontNormalText);
    color: var(--muted);
    text-align: center;
}

.imageFinalPrototype {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
}

.imageFinalPrototype img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: inherit;
}


/********************Footer Section*****************/

footer {
    background-color: var(--backgroundColor);
}

.containerFooter {
    display: flex;
    justify-content: center;
}

.containerFooter p {
    color: var(--muted);
    font-size: 0.95rem;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 1.25rem 0;
    color: var(--muted);
    font-size: 0.95rem;
}

@media (max-width: 760px) {
    .nav-wrap {
        height: auto;
        padding: 0.75rem 1rem;
        align-items: center;
    }

    .nav-list {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .introProcess {
        height: 160vh;
        padding: 0 6%;
    }

    .introProcess h2 {
        font-size: 1.7rem;
    }

    .whoIsThisFor {
        padding: 2rem 1rem;
    }

    .imageWho {
        min-height: 240px;
    }

    .goals,
    .research {
        grid-template-columns: 1fr;
        padding: 2rem 1rem 3rem;
    }

    .userJourney {
        padding: 2rem 1rem 3rem;
    }

    .wireframes-Low {
        padding: 2rem 1rem 3rem;
    }

    .styleGuide {
        padding: 2rem 1rem 3rem;
    }

    .userTesting {
        padding: 2rem 1rem 3rem;
    }

    .finalPrototype {
        padding: 2rem 1rem 3rem;
    }

    .findings {
        grid-template-columns: 1fr;
        row-gap: 0.6rem;
    }

    .goal,
    .Method,
    .taskDesign {
        grid-template-columns: 1fr;
        row-gap: 0.6rem;
    }

    .goal > h2,
    .Method > h2,
    .taskDesign > h2,
    .goal p,
    .Method > p,
    .taskDesign > p,
    .findings h2,
    .findings > p,
    .cardFindings {
        grid-column: 1;
        grid-row: auto;
    }

    .taskDesign .taskList,
    .taskDesign .taskList:nth-of-type(1),
    .taskDesign .taskList:nth-of-type(2),
    .taskDesign .taskList:nth-of-type(3),
    .taskDesign .taskList:nth-of-type(4),
    .cardFindings:nth-of-type(1),
    .cardFindings:nth-of-type(2),
    .cardFindings:nth-of-type(3),
    .cardFindings:nth-of-type(4) {
        grid-column: 1;
    }

    .imageWireframes-Low img {
        max-width: 88vw;
    }

    .wireNav {
        width: 36px;
        height: 36px;
    }

    .imageStyleGuide {
        grid-template-columns: 1fr;
    }

    .nav-wrap {
        flex-direction: column;
        align-items: flex-start;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
}