/* ==========================================================================
   Portfolio Website - Main Stylesheet
   Version: 1000 - Force image sizing fixes
   ========================================================================== */

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Finlandica', sans-serif;
    background-color: #fdfaf6;
    overflow-x: hidden;
    line-height: 1.6;
    color: #2b2b2b;
}

/* Typography */
.title-rotate {
    animation: rotateText 4s infinite;
}

@keyframes rotateText {
    0%, 40% {
        transform: translateX(0);
    }
    50%, 90% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(0);
    }
}

.title-container {
    height: 40px;
    width: 200px;
    overflow: hidden;
    margin-top: 1rem;
    position: relative;
}

.title-slide {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    font-size: 2.5rem;
    font-weight: 500;
    color: #2b2b2b;
    line-height: 1;
    text-align: left;
}

.title-slide:nth-child(2) {
    left: 100%;
}

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

/* Header Styles */
.header {
    padding: 8rem 0 8rem 0;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.header__name-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    width: 100%;
}

.header__profile-image-container {
    flex-shrink: 0;
}

.header__profile-image {
    width: 366px;
    height: 432px;
    border-radius: 24px;
    background-image: url('../assets/images/profileImage.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 10 !important;
    position: relative !important;
}

.header__title-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.header__name {
    font-size: 10rem;
    font-weight: 600;
    color: #121aff;
    line-height: 0.8;
    margin: 0;
    text-align: left;
}

.header__subtitle {
    font-size: 2rem;
    font-weight: 400;
    color: #2b2b2b;
    margin: 0.5rem 0;
    text-align: left;
}

.header__company {
    font-size: 1.5rem;
    font-weight: 500;
    color: #2b2b2b;
    margin: 0.25rem 0;
    text-align: left;
}

.header__year {
    font-size: 1.25rem;
    font-weight: 400;
    color: #2b2b2b;
    margin: 0.25rem 0;
    text-align: left;
}

.header__title-container {
    margin-top: 1rem;
}

.header__social {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Social Icons */
.social-icon {
    width: 2rem;
    height: 2rem;
    transition: transform 0.3s ease;
    color: #2b2b2b;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Projects Section */
.projects {
    padding: 0 7rem;
    position: relative;
    overflow: hidden; /* Keep hidden to prevent developer tiles from breaking margins */
}

.projects__filter {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 20;
}

.projects__filter-item {
    font-size: 1.5rem;
    font-weight: 500;
    color: #2b2b2b;
}

.projects__filter-item--active {
    color: #2b2b2b;
    font-weight: 600;
}

.projects__filter-item--inactive {
    color: rgba(43, 43, 43, 0.4);
    font-weight: 400;
}

.projects__filter-toggle {
    background-color: rgba(18, 26, 255, 0.2);
    padding: 0.25rem;
    border-radius: 1rem;
    width: 3rem;
    height: 1.75rem;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.projects__filter-toggle:hover {
    background-color: rgba(18, 26, 255, 0.3);
}

.projects__filter-toggle__slider {
    background-color: white;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.projects__filter-toggle.toggled .projects__filter-toggle__slider {
    transform: translateX(1.25rem);
}

.projects__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.projects__grid--developer {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(100%) translateX(-50%); /* Center and slide from right */
    width: calc(1200px - 40px); /* Reduced width to fit within margins */
    max-width: calc(100vw - 80px); /* Responsive fallback with more margin */
    height: auto;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
    box-sizing: border-box;
}

.projects__grid--developer.active {
    opacity: 1;
    transform: translateX(-50%); /* Center the grid properly */
    pointer-events: all;
    margin-top: 4rem; /* Reduced spacing to bring tiles closer to toggle */
}

.projects__grid--designer {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    z-index: 2; /* Ensure it's above developer grid */
}

.projects__grid--designer.sliding-out {
    opacity: 0;
    transform: translateX(-100%);
    pointer-events: none;
}

/* Custom grid positioning for specific cards */
.project-card:nth-child(1) {
    grid-column: 1 / 3; /* AI Hub takes 2/3 of first row */
}

.project-card:nth-child(2) {
    grid-column: 3 / 4; /* Gamification takes 1/3 of first row */
}

.project-card:nth-child(3) {
    grid-column: 2 / 4; /* Allocations takes 2/3 of second row (right side) */
    grid-row: 2; /* Ensure it's in the second row */
}

.project-card:nth-child(4) {
    grid-column: 1 / 2; /* Fittripper takes 1/3 of second row (left side) */
    grid-row: 2; /* Ensure it's in the second row */
}

/* Developer project grid positioning - same as designer projects */
.projects__grid--developer .project-card:nth-child(1) {
    grid-column: 1 / 3; /* Portfolio Site takes 2/3 of first row */
}

.projects__grid--developer .project-card:nth-child(2) {
    grid-column: 3 / 4; /* Unsuber App takes 1/3 of first row */
}

.projects__grid--developer .project-card:nth-child(3) {
    grid-column: 2 / 4; /* Three.js Scene takes 2/3 of second row (right side) */
    grid-row: 2; /* Ensure it's in the second row */
}

.projects__grid--developer .project-card:nth-child(4) {
    grid-column: 1 / 2; /* Custom Cursor takes 1/3 of second row (left side) */
    grid-row: 2; /* Ensure it's in the second row */
}

/* Project Cards */
.project-card {
    background-color: #c9e7ff;
    border-radius: 0.75rem;
    height: 21.875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 4.125rem 0 0 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-origin: center center;
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: none; /* Hide default cursor */
    text-decoration: none;
    color: inherit;
    text-align: center; /* Ensure text content is centered */
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background-color: #2b2b2b;
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    transform: scale(1.5);
}



/* Project Name Tag */
.project-tag {
    position: fixed;
    background-color: rgba(43, 43, 43, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    pointer-events: none;
    z-index: 10001;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-tag.visible {
    opacity: 1;
}

/* Project-specific tag borders */
.project-tag[data-project="ai-hub"] {
    border: 2px solid #c9e7ff;
}

.project-tag[data-project="gamification"] {
    border: 2px solid #d1000c;
}

.project-tag[data-project="app-design"] {
    border: 2px solid #d15c70;
}

.project-tag[data-project="spv-marketplace"] {
    border: 2px solid #e0faff;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.project-card--red {
    background-color: #d1000c;
}

.project-card--pink {
    background-color: #d15c70;
}

.project-card--light-blue {
    background-color: #e0faff;
}

.project-card--green {
    background-color: #90EE90;
}

.project-card--orange {
    background-color: #FFB347;
}

.project-card--purple {
    background-color: #DDA0DD;
}

.project-card--teal {
    background-color: #98D8C8;
}

.project-card--unsuber {
    background-color: #5B4FC6;
}

.project-card--tarot {
    background-color: #261C25;
}

.project-card--book-search {
    background-color: #2F2F2F;
}

/* Custom image sizing for Wordle Clone tile */
.project-card--wordle .project-card__image {
    background-size: 80% !important;
    background-position: center !important;
}

.project-card--wordle {
    background-color: #ffffff;
}

/* Custom image sizing for Book Search tile */
.project-card--book-search .project-card__image {
    background-size: 70% !important;
    background-position: center !important;
}

.project-card__image {
    width: 12rem;
    height: 10rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0.25rem;
    margin-bottom: 1.5rem; /* Add space between image and bottom banner */
}

/* Make the booksearch tile image bigger */
.project-card--book-search .project-card__image {
    width: 24rem; /* Doubled from original 12rem */
    height: 20rem; /* Doubled from original 10rem */
}

.project-card__details {
    background-color: rgba(43, 43, 43, 0.62);
    width: 100%;
    height: 6.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1875rem 1rem;
    border-radius: 0 0 0.75rem 0.75rem;
    text-align: center; /* Ensure text content is centered */
}

.project-card__info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    color: white;
}

.project-card__title {
    font-size: 1.25rem;
    font-weight: 400;
}

.project-card__category {
    font-size: 0.75rem;
    font-weight: 400;
    text-align: left; /* Left align to match the title */
}

.project-card__company {
    font-size: 1rem;
    font-weight: 400;
    text-align: right;
}

.project-card__year {
    font-size: 0.75rem;
    font-weight: 400;
    text-align: right;
}

/* About Section */
.about {
    padding: 8rem 7rem 3rem 7rem;
    background: linear-gradient(to bottom, transparent 0%, rgba(253, 250, 246, 0.6) 20%, rgba(253, 250, 246, 0.6) 100%);
    backdrop-filter: blur(10px);
}

.about__title {
    font-size: 2.5rem;
    font-weight: 500;
    color: #2b2b2b;
    text-align: left;
    margin-bottom: 2rem;
}

.about__content {
    font-size: 1.5rem;
    font-weight: 400;
    color: black;
    line-height: 1.6;
}

.about__paragraph {
    margin-bottom: 1rem;
}

.about__paragraph--spaced {
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    width: 100%;
}

.footer__divider {
    background-color: #eaeaea;
    height: 0.125rem;
    width: 100%;
}

.footer__content {
    background-color: #2b2b2b;
    padding: 4rem 7rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__email {
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
}

.footer__links {
    display: flex;
    gap: 2rem;
    font-size: 1.5rem;
    font-weight: 400;
    color: white;
}

.footer__link {
    color: white;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer__link:hover {
    opacity: 0.8;
}

/* Three.js Container */
#three-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 4rem 0 4rem 0;
        min-height: 100vh;
    }
    
    .header__name-container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .header__name {
        font-size: 6rem;
        text-align: center;
    }
    
    .header__title-text {
        align-items: center;
    }
    
    .header__social {
        justify-content: center;
    }
    
    .header__profile-image {
        width: 200px;
        height: 236px;
    }
    
    .projects,
    .about {
        padding: 0 2rem;
        overflow: visible; /* Ensure content is visible on mobile */
    }
    
    .about {
        padding: 4rem 2rem 2rem 2rem;
    }
    
    .projects__grid,
    .projects__grid--designer,
    .projects__grid--developer {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 1rem; /* Reduce gap for mobile */
        min-height: auto; /* Ensure grid can expand */
        height: auto; /* Allow grid to size naturally */
    }
    
    /* Reset custom positioning for mobile - applies to all grids */
    .projects__grid .project-card:nth-child(1),
    .projects__grid .project-card:nth-child(2),
    .projects__grid .project-card:nth-child(3),
    .projects__grid .project-card:nth-child(4),
    .projects__grid--designer .project-card:nth-child(1),
    .projects__grid--designer .project-card:nth-child(2),
    .projects__grid--designer .project-card:nth-child(3),
    .projects__grid--designer .project-card:nth-child(4),
    .projects__grid--developer .project-card:nth-child(1),
    .projects__grid--developer .project-card:nth-child(2),
    .projects__grid--developer .project-card:nth-child(3),
    .projects__grid--developer .project-card:nth-child(4) {
        grid-column: 1 / 2;
        grid-row: auto; /* Reset row positioning for mobile */
        opacity: 1; /* Ensure all cards are visible */
        visibility: visible; /* Ensure all cards are visible */
        display: block; /* Ensure proper display */
        position: relative; /* Ensure proper positioning */
        z-index: 1; /* Ensure proper layering */
    }
    
    /* Ensure designer grid is visible on mobile */
    .projects__grid--designer {
        opacity: 1;
        transform: translateX(0);
        pointer-events: all;
        position: relative; /* Ensure proper positioning */
        overflow: visible; /* Ensure content is not cut off */
        z-index: 2; /* Ensure it's above developer grid */
    }
    
    /* Ensure developer grid has proper overflow on mobile */
    .projects__grid--developer {
        overflow: visible; /* Ensure content is not cut off */
        position: absolute; /* Keep absolute positioning for slide animation */
    }
    
    /* Ensure consistent project card sizing on mobile for all grids */
    .projects__grid .project-card,
    .projects__grid--designer .project-card,
    .projects__grid--developer .project-card {
        height: auto; /* Allow height to adjust naturally on mobile */
        min-height: 18rem; /* Set minimum height for mobile */
        display: flex; /* Ensure flexbox layout is maintained */
        flex-direction: column; /* Keep vertical layout */
        align-items: center; /* Center content horizontally */
        justify-content: space-between; /* Maintain spacing */
    }
    
    /* Ensure project card images stay centered on mobile */
    .projects__grid .project-card .project-card__image,
    .projects__grid--designer .project-card .project-card__image,
    .projects__grid--developer .project-card .project-card__image {
        width: 12rem; /* Maintain consistent width */
        height: 10rem; /* Maintain consistent height */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 0.25rem;
        margin: 0 auto 1.5rem auto; /* Center horizontally and add bottom margin */
    }
    
    /* Developer tiles responsive positioning */
    .projects__grid--developer {
        left: 2rem; /* Match mobile padding */
        width: calc(100vw - 4rem); /* Full width minus padding */
        max-width: none; /* Remove max-width constraint on mobile */
        transform: translateX(100%); /* Reset transform for mobile */
        grid-template-columns: 1fr; /* Single column layout on mobile */
        grid-template-rows: auto auto auto auto; /* Stack all tiles vertically */
        gap: 1rem; /* Reduce gap for mobile */
        position: absolute; /* Keep absolute positioning */
        z-index: 1; /* Keep below designer grid */
    }
    
    .projects__grid--developer.active {
        transform: translateX(0); /* Show in natural position on mobile */
        margin-top: 4rem; /* Increase spacing below toggle on mobile */
        left: 2rem; /* Ensure it stays within mobile padding */
        width: calc(100vw - 4rem); /* Ensure proper width */
    }
    
    .footer__content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 3rem 0 3rem 0;
        min-height: 100vh;
    }
    
    .header__name {
        font-size: 4rem;
    }
    
    .header__profile-image {
        width: 150px;
        height: 177px;
    }
    
    .header__title {
        font-size: 2rem;
    }
    
    .title-container {
        height: 35px;
        width: 120px;
    }
    
    /* Developer tiles responsive positioning for small mobile */
    .projects__grid--developer {
        left: 1rem; /* Match small mobile padding */
        width: calc(100vw - 2rem); /* Full width minus padding */
        grid-template-columns: 1fr; /* Single column layout on small mobile */
        grid-template-rows: auto auto auto auto; /* Stack all tiles vertically */
        gap: 0.75rem; /* Reduce gap for small mobile */
        position: absolute; /* Keep absolute positioning */
        overflow: visible; /* Ensure content is not cut off */
    }
    
    .projects__grid--developer.active {
        margin-top: 3rem; /* Increase spacing below toggle on small mobile */
        left: 1rem; /* Ensure it stays within small mobile padding */
        width: calc(100vw - 2rem); /* Ensure proper width */
    }
    
    /* Ensure consistent project card sizing on small mobile for all grids */
    .projects__grid .project-card,
    .projects__grid--designer .project-card,
    .projects__grid--developer .project-card {
        height: auto; /* Allow height to adjust naturally on small mobile */
        min-height: 16rem; /* Set minimum height for small mobile */
        display: flex; /* Ensure flexbox layout is maintained */
        flex-direction: column; /* Keep vertical layout */
        align-items: center; /* Center content horizontally */
        justify-content: space-between; /* Maintain spacing */
    }
    
    /* Ensure project card images stay centered on small mobile for all grids */
    .projects__grid .project-card .project-card__image,
    .projects__grid--designer .project-card .project-card__image,
    .projects__grid--developer .project-card .project-card__image {
        width: 10rem; /* Slightly smaller width for small mobile */
        height: 8rem; /* Slightly smaller height for small mobile */
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        border-radius: 0.25rem;
        margin: 0 auto 1.25rem auto; /* Center horizontally and add bottom margin (slightly less for small mobile) */
    }
} 

/* AI Hub Project Page Styles */
.ai-hub-header {
    height: 100px;
    padding: 24px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.logo-title {
    font-family: 'Finlandica', sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #2b2b2b;
    margin: 0;
    line-height: 1;
}

.logo-subtitle {
    font-family: 'Finlandica', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #2b2b2b;
    margin: 0;
    line-height: 1;
}

.close-button {
    background: #ffffff;
    border-radius: 33px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eaeaea;
    text-decoration: none;
    transition: all 0.3s ease;
}

.close-button:hover {
    background: #f5f5f5;
}

/* Design Studio Section */
.design-studio-section {
    padding: 0 112px;
    margin-bottom: 68px;
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 68px;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}

.section-text-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    width: 100%;
}

.section-title {
    font-family: 'Finlandica', sans-serif;
    font-size: 40px;
    font-weight: 500;
    color: #2b2b2b;
    margin: 0;
    line-height: 1;
    padding-top: 68px;
}

.section-description {
    font-family: 'Finlandica', sans-serif;
    font-size: 32px;
    font-weight: 400;
    color: #2b2b2b;
    margin: 0;
    line-height: 1.4;
}

/* Overview Section */
.overview-section {
    padding: 0 112px;
    margin-bottom: 120px;
}

.overview-title {
    font-family: 'Finlandica', sans-serif;
    font-size: 32px;
    font-weight: 500;
    color: #2b2b2b;
    margin: 0 0 48px 0;
    line-height: 1;
}

.overview-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.divider {
    background-color: #eaeaea;
    height: 2px;
    width: 100%;
}

.overview-details {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

.overview-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.overview-item-title {
    font-family: 'Finlandica', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: #2b2b2b;
    margin: 0;
    line-height: 1;
}

.overview-item-text {
    font-family: 'Finlandica', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #2b2b2b;
    margin: 0;
    line-height: 1.4;
}

.tasks-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tasks-list p {
    font-family: 'Finlandica', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #2b2b2b;
    margin: 0;
    line-height: 1;
}

/* Content Container */
.content-container {
    padding: 0 112px;
    display: flex;
    flex-direction: column;
    gap: 120px;
}

/* Background Section */
.background-section {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
}

.background-image-container {
    background-color: #ebeffc;
    height: 600px;
    border-radius: 16px;
    position: relative;
    overflow: visible;
    width: 100%;
    padding: 48px 32px;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    background-color: #ebeffc;
    display: block;
    max-width: calc(100% - 16px);
    max-height: calc(100% - 16px);
    margin: 8px;
}

.background-text-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    width: 100%;
}

.background-title {
    font-family: 'Finlandica', sans-serif;
    font-size: 40px;
    font-weight: 500;
    color: #2b2b2b;
    margin: 0;
    line-height: 1;
    padding-top: 48px;
}

.background-description {
    font-family: 'Finlandica', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #2b2b2b;
    margin: 0;
    line-height: 1.4;
    width: 100%;
}

/* Previous Experience Section */
.previous-experience-section {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
}

.previous-experience-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.previous-experience-images {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}

.image-container {
    background-color: #ebeffc;
    padding: 48px 32px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 600px;
    width: 100%;
}

.image-container-wide {
    background-color: #ebeffc;
    padding: 48px 32px;
    border-radius: 16px;
    height: 600px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.experience-image {
    border-radius: 8px;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.image-labels {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.image-label {
    font-family: 'Finlandica', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #8a8a8a;
    text-align: left;
}

.image-labels {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.image-label:nth-child(2) {
    margin-left: calc(50% - 123px - 3%);
    margin-right: auto;
}

.experience-description {
    text-align: left;
    width: 100%;
    margin: 0;
}

.experience-description p {
    font-family: 'Finlandica', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #2b2b2b;
    margin: 0;
    line-height: 1.4;
    width: 100%;
}

/* Approach Section */
.approach-section {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
}

.approach-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    overflow: hidden !important;
    position: relative !important;
}

.approach-images {
    background-color: #ebeffc;
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    min-height: 600px;
    max-height: 600px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden !important;
    position: relative !important;
    margin: 0 auto !important;
}

.approach-images-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 15%;
}

.approach-image {
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0 !important;
}

.approach-main {
    width: 400px !important;
    height: 500px !important;
    max-width: 400px !important;
    max-height: 500px !important;
    object-fit: contain !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    box-sizing: border-box !important;
}

.approach-detail {
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    margin-left: -300px;
    transform: scale(0.4);
}

.image-caption {
    font-family: 'Finlandica', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #8a8a8a;
    text-align: left;
    margin-top: 16px;
    margin-bottom: 0;
}

.approach-description {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    width: 100%;
}

.approach-title {
    font-family: 'Finlandica', sans-serif;
    font-size: 40px;
    font-weight: 500;
    color: #2b2b2b;
    margin: 0;
    line-height: 1;
    padding-top: 48px;
}

.approach-description p {
    font-family: 'Finlandica', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #2b2b2b;
    margin: 0;
    line-height: 1.4;
    width: 100%;
}

/* High Fidelity Section */
.high-fidelity-section {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
}

.high-fidelity-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.high-fidelity-images {
    background-color: #ebeffc;
    padding: 48px 32px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    width: 100%;
    height: 581px;
}

.high-fidelity-images-wrapper {
    display: flex;
    align-items: center;
    gap: 22px;
}

.gym-image {
    transform: scale(1.3);
}

.gym-details-image {
    transform: scale(0.7);
}

.hifi-image {
    border-radius: 8px;
    width: auto;
    height: 100%;
    object-fit: contain;
    flex-shrink: 0;
}

.hifi-image:first-child {
    width: 486px;
    height: 355.463px;
}

.hifi-image:last-child {
    width: 484px;
    height: 355px;
}

.high-fidelity-description {
    text-align: left;
    width: 100%;
    margin: 0;
}

.high-fidelity-description p {
    font-family: 'Finlandica', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #2b2b2b;
    margin: 0;
    line-height: 1.4;
    width: 100%;
}

/* Impact Section */
.impact-section {
    display: flex;
    flex-direction: column;
    gap: 48px;
    width: 100%;
}

.impact-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.impact-images {
    background-color: #ebeffc;
    height: 600px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 48px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    box-sizing: border-box;
}

.impact-image {
    border-radius: 8px;
    position: static;
    object-fit: contain;
    flex-shrink: 0;
    max-width: calc((100% - 32px) / 3);
}

.impact-image-1 {
    height: auto;
    width: auto;
    max-width: calc((100% - 32px) / 3);
    flex: 1;
}

.impact-image-2 {
    height: auto;
    width: auto;
    max-width: calc((100% - 32px) / 3);
    flex: 1;
}

.impact-image-3 {
    height: auto;
    width: auto;
    max-width: calc(((100% - 32px) / 3) * 0.6);
    flex: 1;
}

.impact-image-4 {
    width: 200px;
    height: 200px;
    bottom: 30%;
    right: 20%;
}

.impact-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    width: 100%;
    padding-bottom: 68px;
}

.impact-title {
    font-family: 'Finlandica', sans-serif;
    font-size: 40px;
    font-weight: 500;
    color: #2b2b2b;
    margin: 0;
    line-height: 1;
    padding-top: 48px;
}

.impact-metrics {
    display: flex;
    flex-direction: row;
    gap: 46px;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}

.impact-metric {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
    text-align: left;
    width: 100%;
}

.metric-label {
    font-family: 'Finlandica', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #8a8a8a;
    margin: 0;
    line-height: 1;
}

.metric-value {
    font-family: 'Finlandica', sans-serif;
    font-size: 32px;
    font-weight: 500;
    color: #2b2b2b;
    margin: 0;
    line-height: 1;
}

/* AI Hub Footer */
.ai-hub-footer {
    width: 100%;
}

.footer-divider {
    background-color: #eaeaea;
    height: 2px;
    width: 100%;
}

.footer-content {
    background-color: #2b2b2b;
    padding: 64px 112px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-email {
    font-family: 'Finlandica', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.footer-link {
    font-family: 'Finlandica', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 0.8;
} 

/* AI Hub Project Page Responsive Styles */
@media (max-width: 1200px) {
    .design-studio-section,
    .overview-section,
    .content-container {
        padding: 0 64px;
    }
    
    .ai-hub-header {
        padding: 24px 64px;
    }
    
    .footer-content {
        padding: 64px 64px;
    }
}

@media (max-width: 768px) {
    .design-studio-section,
    .overview-section,
    .content-container {
        padding: 0 32px;
    }
    
    .ai-hub-header {
        padding: 24px 32px;
    }
    
    .footer-content {
        padding: 48px 32px;
        flex-direction: column;
        gap: 32px;
        text-align: left;
    }
    
    .section-title,
    .background-title,
    .approach-title,
    .impact-title {
        font-size: 32px;
    }
    
    .section-description,
    .background-description,
    .approach-description p,
    .high-fidelity-description p,
    .experience-description p {
        font-size: 20px;
    }
    
    .overview-title {
        font-size: 28px;
    }
    
    .overview-item-title {
        font-size: 20px;
    }
    
    .overview-item-text,
    .tasks-list p {
        font-size: 20px;
    }
    
    .overview-details {
        flex-direction: column;
        gap: 32px;
    }
    
    .previous-experience-images {
        flex-direction: column;
        gap: 24px;
    }
    
    .image-labels {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
        justify-content: flex-start;
    }
    
    .high-fidelity-images {
        flex-direction: column;
        gap: 24px;
        height: auto;
        padding: 24px 16px;
    }
    
    .hifi-image:first-child,
    .hifi-image:last-child {
        width: 100%;
        height: auto;
        max-width: 100%;
    }
    
    .impact-metrics {
        flex-direction: column;
        gap: 32px;
        align-items: flex-start;
    }
    
    .impact-metric {
        width: 100%;
        text-align: left;
        align-items: flex-start;
    }
    
    .metric-value {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .design-studio-section,
    .overview-section,
    .content-container {
        padding: 0 16px;
    }
    
    .ai-hub-header {
        padding: 16px;
    }
    
    .footer-content {
        padding: 32px 16px;
        text-align: left;
    }
    
    .section-title,
    .background-title,
    .approach-title,
    .impact-title {
        font-size: 28px;
    }
    
    .section-description,
    .background-description,
    .approach-description p,
    .high-fidelity-description p,
    .experience-description p {
        font-size: 18px;
    }
    
    .overview-title {
        font-size: 24px;
    }
    
    .overview-item-title {
        font-size: 18px;
    }
    
    .overview-item-text,
    .tasks-list p {
        font-size: 18px;
    }
    
    .metric-value {
        font-size: 24px;
    }
    
    .metric-label {
        font-size: 20px;
    }
    
    .footer-email,
    .footer-link {
        font-size: 20px;
    }
    
    .logo-title {
        font-size: 18px;
    }
    
    .logo-subtitle {
        font-size: 10px;
    }
} 