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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    font-size: 18px;
    line-height: 1.5;
    color: #000;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    background-color: #4a5a9f;
    width: 100%;
    padding: 16px 32px;
}

.header-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-title {
    color: white;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin: 0;
}

/* Main Content Layout */
.main-content {
    flex: 1;
    overflow: auto;
    padding: 32px;
}

.content-wrapper {
    display: flex;
    gap: 38px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: flex-start;
}

/* Table of Contents */
.table-of-contents {
    flex-shrink: 0;
    position: sticky;
    top: 32px;
}

.toc-wrapper {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.go-back-btn {
    background-color: #2d3d8a;
    display: flex;
    gap: 14px;
    height: 50px;
    align-items: center;
    padding: 20px 10px;
    border-radius: 10px;
    width: 169px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

.go-back-btn:hover {
    background-color: #3d4d9a;
}

.arrow-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.go-back-text {
    font-weight: 700;
    font-size: 20px;
    color: white;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-container {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.nav-timeline {
    height: 235px;
    width: 15px;
    flex-shrink: 0;
}

.timeline-svg {
    width: 100%;
    height: 100%;
}

.nav-links {
    display: flex;
    flex-direction: column;
    gap: 26px;
    height: 244px;
    width: 212px;
}

.nav-link {
    font-weight: 700;
    font-size: 16px;
    color: #000;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #2d3d8a;
}

/* Content Area */
.content-area {
    flex: 1;
    max-width: 958px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.section {
    width: 100%;
}

/* Origin Section */
.origin-section {
    width: 100%;
}

.origin-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.origin-image-container {
    border-radius: 10px;
    overflow: hidden;
    width: 431px;
    height: 631px;
    flex-shrink: 0;
    position: relative;
}

.origin-image {
    width: 184.73%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: -72.12%;
    top: 0;
}

.origin-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    max-width: 507px;
}

.case-study-header {
    width: 100%;
}

.case-study-label {
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.case-study-title {
    font-weight: 700;
    font-size: 32px;
    text-transform: uppercase;
    margin: 0;
}

.subtitle {
    font-weight: 700;
    font-size: 18px;
    color: #3b3b3b;
}

.content-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.section-heading {
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

.section-heading.white {
    color: white;
}

.text-content {
    font-size: 18px;
    line-height: 1.5;
}

.text-content.white {
    color: white;
}

.text-content.white p {
    line-height: 20px;
}

.text-content p {
    margin: 0 0 8px 0;
}

.text-content p:last-child {
    margin-bottom: 0;
}

.quote-block {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 16px 0;
}

.quote-spacer {
    width: 17px;
    height: 58px;
    flex-shrink: 0;
}

.quote-line {
    width: 3px;
    height: 48px;
    background-color: #d9d9d9;
    flex-shrink: 0;
}

.quote-text {
    font-weight: 700;
    font-size: 20px;
    color: #979797;
    max-width: 320px;
}

.final-quote .quote-text-block {
    display: flex;
    flex-direction: column;
}

.final-quote .quote-text {
    max-width: none;
    white-space: normal;
}

/* Full Width Images */
.full-width-image {
    width: 944px;
    height: 616px;
    border-radius: 10px;
    overflow: hidden;
}

.showcase-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Engineering Section */
.engineering-section {
    width: 100%;
}

.engineering-content {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
}

.engineering-image-container {
    width: 429px;
    height: 566px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.engineering-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.engineering-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 503px;
    flex-shrink: 0;
}

.feature-list {
    list-style-type: disc;
    padding-left: 27px;
    margin: 0;
}

.feature-list li {
    margin-bottom: 4px;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

/* Design Section */
.design-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.design-card {
    background-color: #2d3d8a;
    border-radius: 10px;
    padding: 25px;
    width: 958px;
}

.design-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.design-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 475px;
}

.design-image-container {
    width: 405px;
    height: 512px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.design-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.design-image-wide {
    width: 100%;
    aspect-ratio: 622/350;
    border-radius: 10px;
    overflow: hidden;
}

.wide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.design-image-tall {
    width: 958px;
    height: 634px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.tall-image {
    width: 100%;
    height: 112.71%;
    object-fit: cover;
    position: absolute;
    top: -12.67%;
    left: 0;
}

/* Reflection Section */
.reflection-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* CTA Button */
.cta-button {
    background-color: #2d3d8a;
    color: #f5f5f5;
    font-size: 16px;
    padding: 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
}

.cta-button:hover {
    background-color: #3d4d9a;
}

/* Footer Styles */
.footer {
    background-color: #4a5a9f;
    width: 100%;
    padding: 32px;
    margin-top: auto;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-title {
    color: white;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin: 0;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-left,
.footer-right {
    color: white;
}

.footer-right {
    text-align: right;
}

.footer-text {
    margin: 4px 0;
}

.footer-link {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .table-of-contents {
        position: relative;
        top: 0;
        width: 100%;
    }
    
    .content-area {
        max-width: 100%;
    }
    
    .origin-content {
        flex-direction: column;
    }
    
    .origin-image-container {
        width: 100%;
        height: auto;
        aspect-ratio: 431/631;
    }
    
    .origin-text {
        max-width: 100%;
    }
    
    .engineering-content {
        flex-direction: column;
    }
    
    .engineering-image-container,
    .engineering-text {
        width: 100%;
    }
    
    .design-card-content {
        flex-direction: column;
    }
    
    .design-text {
        max-width: 100%;
    }
    
    .design-image-container {
        width: 100%;
        height: auto;
        aspect-ratio: 405/512;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 16px;
    }
    
    .header,
    .footer {
        padding: 16px;
    }
    
    .full-width-image {
        width: 100%;
        height: auto;
        aspect-ratio: 944/616;
    }
    
    .design-card {
        width: 100%;
        padding: 20px;
    }
    
    .design-image-tall {
        width: 100%;
        height: auto;
        aspect-ratio: 958/634;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .footer-right {
        text-align: left;
    }
}

/* Strong/Bold text */
strong {
    font-weight: 700;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}
