:root{
    --offwhite : #F7F7F2;
    --Navy : #023047; 
    --Red : #FB3640;
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Blinker', sans-serif;
    color: #333;
    line-height: 1.75;
    background: #fff;
    overflow-x: hidden;
}

.page-container {
    width: 100%;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.section-title {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
}

.section-title.purple {
    color: #4945be;
}

.section-title.orange {
    color: #ffb940;
}

.section-title.pink {
    color: #ff62ba;
}

.subsection-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.subsection-title.purple {
    color: #4945be;
}

.subsection-title.pink {
    color: #ff62ba;
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    text-shadow: 0px 12px 20px rgba(0,0,0,0.12);
}

.card-title.purple {
    color: #4945be;
}

.card-title.orange {
    color: #ffb940;
}

.card-title.pink {
    color: #ff62ba;
}

.text-content {
    font-size: 16px;
    line-height: 1.75;
}

.text-content p {
    margin-bottom: 12px;
}

/* Container */
.container {
    display: flex;
    flex-direction: column;
    max-width: 1440px;
    margin: 0 auto;
    padding: 64px 80px;
    gap: 40px;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

/* Sections */
.section {
    position: relative;
    width: 100%;
}

.section-brief {
    background: linear-gradient(90deg, rgba(222, 220, 255, 0.4) 0%, rgba(222, 220, 255, 0.4) 100%), #fff;
    position: relative;
}

.section-brief::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url(img/Tile.png);
    background-size: 180px 180px;
    opacity: 0.05;
    pointer-events: none;
}

.section-research {    
    background: linear-gradient(90deg, rgba(222, 220, 255, 0.9) 0%, rgba(222, 220, 255, 0.9) 100%), #fff;
    position: relative;
}

.section-research::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url(img/Tile.png);
    background-size: 180px 180px;
    opacity: 0.05;
    pointer-events: none;
}

.section-ideation {
    background: linear-gradient(90deg, rgba(255, 241, 218, 0.8) 0%, rgba(255, 241, 218, 0.8) 100%), #fff;
    position: relative;
}

.section-ideation::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url(img/Tile.png);
    background-size: 180px 180px;
    opacity: 0.05;
    pointer-events: none;
}

.section-design,
.section-components,
.section-taskflows,
.section-footer {
    background: linear-gradient(90deg, rgba(255, 222, 240, 0.67) 0%, rgba(255, 222, 240, 0.67) 100%), #fff;
    position: relative;
}

.section-design::before,
.section-components::before,
.section-taskflows::before,
.section-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url(img/Tile.png);
    background-size: 180px 180px;
    opacity: 0.05;
    pointer-events: none;
}

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #4945be 0%, #7c66ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-desktop {
    aspect-ratio: 3840 / 2310;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-mobile {
    display: none;
    aspect-ratio: 720 / 880;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Section Headers */
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.section-header.with-icon {
    flex-direction: row;
    justify-content: center;
    gap: 48px;
}

.section-subtitle {
    text-align: center;
    max-width: 1006px;
    margin: 0 auto 40px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.75;
}

/* Icon Wrapper */
.icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-wrapper.small {
    width: 80px;
    height: 80px;
}

.icon-bg,
.icon-fg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    border: 6px solid;
}

.icon-bg {
    top: 7.5px;
    left: 8px;
}

.icon-wrapper.small .icon-bg {
    top: 5.6px;
    left: 5.9px;
}

.icon-fg {
    top: 0;
    left: 0;
}

.purple-bg {
    background: #4945be;
    border-color: #4945be;
}

.purple-fg {
    background: #dcdbff;
    border-color: #4945be;
}

.orange-bg {
    background: #ffb940;
    border-color: #ffb940;
    box-shadow: 0px 12px 20px rgba(255, 185, 64, 0.12);
}

.orange-fg {
    background: #ffd999;
    border-color: #ffb940;
}

.pink-bg {
    background: #ff62ba;
    border-color: #ff62ba;
    box-shadow: 0px 12px 20px rgba(255, 98, 186, 0.12);
}

.pink-fg {
    background: #ffdef0;
    border-color: #ff62ba;
}

.icon-svg {
    position: relative;
    z-index: 1;
    width: 64px;
    height: 64px;
}

.icon-wrapper.small .icon-svg {
    width: 48px;
    height: 48px;
}

/* Project Overview Cards */
.project-overview {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.overview-cards {
    display: flex;
    gap: 64px;
    width: 100%;
    justify-content: center;
}

.overview-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 360px;
}

.card-description {
    text-align: center;
    font-size: 16px;
    line-height: 1.75;
}

/* Use Case Cards */
.use-cases {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.use-cases-intro {
    font-size: 16px;
    line-height: 1.75;
}

.use-case-cards {
    display: flex;
    gap: 24px;
    width: 100%;
    z-index: 2;
}

.use-case-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: hidden;
    background: #7c66ff;
}

.use-case-card.purple-border {
    border: 6px solid #7c66ff;
}

.use-case-header {
    padding: 24px;
    text-align: center;
    color: #f4f9ff;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    border-radius: 24px 24px 0 0;
}

.use-case-header.purple-bg {
    background: #7c66ff;
}

.use-case-body {
    flex: 1;
    background: white;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.use-case-body p {
    text-align: center;
    font-size: 16px;
    line-height: 1.75;
}

/* Findings Section */
.findings-section {
    display: flex;
    gap: 48px;
    width: 100%;
}

.findings-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-self: center;
}

.findings-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.findings-text p {
    font-size: 16px;
    line-height: 1.75;
}

.findings-text strong {
    font-weight: 600;
    font-family: 'Blinker', sans-serif;
}

.findings-images {
    flex-shrink: 0;
    width: 320px;
    height: auto;
    z-index: 2;
}

/* Design Objectives */
.design-objectives {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.design-objectives img{
    width: 320px;
    height: auto;
    object-fit: contain;
    z-index: 2;
}

.objectives-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.objectives-text p {
    font-size: 16px;
    line-height: 1.75;
}

.objectives-text strong {
    font-weight: 600;
    font-family: 'Blinker', sans-serif;
}

.objectives-text ol {
    margin-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.objectives-text li {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 0;
}

/* Content Cards */
.content-card {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 48px 40px;
    margin-bottom: 48px;
}

.content-card.orange-border {
    border: 2px solid #ffc766;
    box-shadow: 0px 12px 20px rgba(255, 185, 64, 0.2);
    background: linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 100%),
                linear-gradient(90deg, rgba(201, 199, 255, 0.4) 0%, rgba(201, 199, 255, 0.4) 100%);
}

.content-card.pink-border {
    border: 3px solid #ff62ba;
    box-shadow: 0px 12px 20px rgba(51, 157, 255, 0.2);
}

.content-card.sketches {
    border-radius: 24px;
}

.card-badge {
    position: absolute;
    top: -30px;
    left: 60px;
    padding: 8px 20px;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #333;
}

.card-badge.orange-badge {
    background: #fff1da;
    border: 3px solid #ffb940;
    box-shadow: 0px 12px 20px rgba(255, 185, 64, 0.12);
}

.card-badge.pink-badge {
    background: #ffe9f5;
    border: 3px solid #ff62ba;
    box-shadow: 0px 12px 20px rgba(255, 185, 64, 0.12);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.card-content p {
    font-size: 16px;
    line-height: 1.75;
}

.card-content-flex {
    display: flex;
    gap: 40px;
}

.design-content-flex {
    display: flex;
    gap: 40px;
}

/* Placeholder Images */
.placeholder-image {
    background: #e4e4e4;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

.placeholder-image.large {
    width: 100%;
    aspect-ratio: 1280 / 665;
}

.placeholder-image.medium {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.placeholder-image.tall {
    height: 100%;
    aspect-ratio: 1 / 1.5;
}

.placeholder-image.tall-wide {
    flex: 1;
    aspect-ratio: 3 / 4;
}

.placeholder-image.wide {
    flex: 1;
    aspect-ratio: 16 / 9;
}



/* Construct Layout */
.construct-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.construct-text img{
    width: 80%;
    margin: 0 auto;
}

.construct-image {
   height: 720px;
}

/* Sketches Grid */
.sketches-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px 24px;
    justify-content: center;
    width: 100%;
}

.sketch-item {
    width: calc(25% - 24px);
    aspect-ratio: 676 / 980;
    background: #e4e4e4;
    border-radius: 8px;
    border: 2px solid #e6e6e6;
    box-shadow: 0px 12px 20px rgba(0, 0, 0, 0.04);
}

/* Design Text */
.design-image {
    width: 565px;
    flex-shrink: 0;
}

.design-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.design-text p {
    font-size: 16px;
    line-height: 1.75;
}

.design-text strong {
    font-weight: 600;
    font-family: 'Blinker', sans-serif;
}

.design-text img{
    width: 100%;
    max-width: 520px;
}

/* Chatbot Content */
.chatbot-content {
    display: flex;
    flex-direction: row;
    gap: 40px;
}

.chatbot-text p {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 24px;
}

.chatbot-text strong {
    font-weight: 600;
}

.chatbot-content img{
    max-width: 520px;
    object-fit: contain;
}

.chatbot-images {
    display: flex;
    gap: 40px;
    margin-top: 24px;
}

.chatbot-images img{
    width: calc(50%  - 40px);
    height: auto;
}

/* Component & Taskflow Images */
.component-images,
.taskflow-images {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.taskflow-images img{
    /* width: calc(33.33% - 40px);
    height: auto;
    object-fit: contain;
    align-self: self-start; */
    width: 100%;
    z-index: 2;
}

.component-row {
    display: flex;
    gap: 40px;
    width: 100%;
    justify-content: center;
}

.component-row img {
    width: calc(50% - 40px);
    justify-self: center;
    z-index: 2;
}


/* Footer */
.footer-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.reflective-note {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.reflective-note p {
    font-size: 16px;
    line-height: 1.75;
}

.see-more-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.see-more-text {
    flex: 1;
    max-width: 896px;
}

.see-more-text p {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 12px;
}

.see-more-text ul {
    margin-left: 24px;
    list-style: disc;
}

.see-more-text li {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 0;
}

.qr-code {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

.qr-code svg {
    width: 100%;
    height: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 48px 40px;
    }

    .section-title {
        font-size: 32px;
    }

    .overview-cards {
        gap: 40px;
    }

    .findings-section {
        flex-direction: column;
    }

    .findings-section img {
        width: 60%;
        max-width: 640px;
        height: auto;
        align-self: center;
    }

    .chatbot-content {
        flex-direction: column;
    }

    .design-content-flex{
        flex-direction: column;
    }

    .chatbot-content img{
        width: 100%;
        max-width: 640px;
        align-self: center;
    }

    .design-image {
        width: 100%;
        max-width: 640px;
        align-self: center;
    }

    .design-text img{
        width: 100%;
        max-width: 640px;
        align-self: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 32px 24px;
    }

    .section-title {
        font-size: 28px;
    }

    .subsection-title {
        font-size: 20px;
    }

    .overview-cards {
        flex-direction: column;
        gap: 48px;
        align-items: center;
    }

    .use-case-cards {
        flex-direction: column;
    }

    .section-header.with-icon {
        flex-direction: column;
        gap: 24px;
    }

    .card-badge {
        position: static;
        margin-bottom: 24px;
        text-align: center;
    }

    .content-card {
        padding: 32px 24px;
        margin-bottom: 24px;
    }

    .sketch-item {
        width: calc(50% - 24px);
    }

    .design-objectives {
        flex-direction: column;
    }

    .design-objectives img {
        width: 100%;
        max-width: 640px;
        align-self: center;
    }

    .chatbot-images {
        flex-direction: column;
    }

    .card-content-flex {
        flex-direction: column;
    }

    .construct-image{
         width: 100%;
         max-width: 640px;
         height: auto;
         align-self: center;
    }

    .section-subtitle {
        margin: 0 auto;
    }

    .chatbot-images img {
        width: 100%;
        max-width: 640px;
        align-self: center;
    }

    .component-images,
    .taskflow-images,
    .component-row {
        flex-direction: column;
    }

    .taskflow-images {
        gap: 24px;
    }

    .taskflow-images img {
        width: 100%;
        align-self: center;
    }

    .component-row{
        gap: 0;
    }

    .component-row img {
        width: 100%;
        align-self: center;
    }


    .see-more-section {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-desktop {
        display: none;
    }

    .hero-mobile {
        display: block;
    }

    .section-title {
        font-size: 24px;
    }

    .card-title {
        font-size: 20px;
    }

    .sketches-grid {
        flex-direction: column;
    }

    .sketch-item {
        width: 100%
    }

    .container {
        padding: 24px 16px;
    }

    .reflective-note {
        gap: 12px;
    }

}

/* Navbar CSS */

.navbar{
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #1E0D60;
}

.navbar path{
    fill: var(--offwhite);
}

.navmenu{
    list-style-type: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 3rem;
    font-size: 1rem;
    font-weight: 500;
    height: 1rem;
    opacity: 100%;
    padding: 0;
}

.navbar a:link{
    color: var(--offwhite);
    text-decoration: none;
}

.navbar a:visited{
    color: var(--offwhite);
    text-decoration: none;
}

.navbar a:hover{
    /* font-size: 1.2rem; */
    color: var(--Red);
    text-decoration: underline;
}

.openMenu {
    font-size: 2rem;
    margin: 20px;
    display: none;
    cursor: pointer;
    color: var(--offwhite);
}

.closeMenu, .icons a {
font-size: 2rem;
display: none;
cursor: pointer;
}

@media (max-width: 480px) {    
    /* Navbar CSS */
    
    .navbar{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 1rem;
        padding-bottom: 1rem;
        /* background-color: var(--offwhite); */
    }
    
    .navbar img{
        height: 4rem;
        width: auto;
    }
    
    .navmenu{
        position: fixed;
        list-style-type: none;
        display: flex;
        flex-direction: column;
        height: 100vh;
        top: -150%;
        right: 0px;
        left: 0px;
        z-index: 10;
        justify-content: center;
        align-items: center;
        background-color: var(--Red);
        gap: 4rem;
        font-size: 1.5rem;
        font-weight: 500;
        opacity: 100%;
        transition: top 1s ease 0s;
        /* display: none; */
        /* padding: 4rem; */
    }
    
    .navmenu li{
        font-size: 1.5rem;
    }

    .navbar a:link{
        color: var(--offwhite);
        text-decoration: none;
    }
    
    .navbar a:visited{
        color: var(--offwhite);
        text-decoration: none;
    }
    
    .navbar a:hover{
        /* font-size: 1.2rem; */
        color: var(--Navy);
        text-decoration: underline;
        text-decoration-color: var(--Navy);
    }

    .openMenu {
        display: block;
    }

    .openMenu i{
        font-size: 2rem;
    }

    .closeMenu {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .closeMenu i{
        padding: 2rem;
        font-size: 1.5rem;
        color: var(--offwhite);
    }

    .icons i {
        display: inline-block;
        padding: 1.5rem;
        font-size: 3rem;
    }

    .icons a{
        display: inline-block;
        padding: 1.5rem;
    }
    .icons img{
        width: 3rem;
        height: auto;
    }
}