/* GROUNDSCOPE CASE STUDY STYLES */

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

:root {
    --color-primary: #2d3d8a;
    --color-header-footer: #4a5a9f;
    --color-text-primary: #000000;
    --color-text-secondary: #3b3b3b;
    --color-text-muted: #979797;
    --color-white: #ffffff;
    --color-light-gray: #f5f5f5;
    --color-gray: #d9d9d9;
    --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-inter);
    background-color: var(--color-white);
    color: var(--color-text-primary);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* HEADER */
.header {
    background-color: var(--color-header-footer);
    width: 100%;
    padding: 16px 32px;
}

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

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

/* MAIN CONTAINER */
.main-container {
    flex: 1;
    overflow: auto;
    padding: 32px;
}

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

/* SIDEBAR */
.sidebar {
    position: sticky;
    top: 20px;
    flex-shrink: 0;
}

.sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.go-back-button {
    background-color: var(--color-primary);
    display: flex;
    gap: 14px;
    height: 50px;
    align-items: center;
    padding: 20px 10px;
    border-radius: 10px;
    width: 169px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s ease;
}

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

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

.arrow-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.go-back-text {
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 20px;
    color: var(--color-white);
    text-transform: uppercase;
}

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

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

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

.timeline-labels {
    display: flex;
    flex-direction: column;
    gap: 26px;
    width: 212px;
}

.timeline-labels p {
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 16px;
    color: var(--color-text-primary);
    text-transform: uppercase;
    margin: 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.timeline-labels p:hover {
    color: var(--color-primary);
}

/* MAIN CONTENT */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 958px;
    max-width: 100%;
}

.section {
    width: 100%;
    margin-bottom: 20px;
}

.subsection {
    margin-bottom: 20px;
}

.section-heading {
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 20px;
    color: var(--color-text-primary);
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

.text-content {
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-primary);
}

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

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

.text-content ul {
    list-style-type: disc;
    margin: 12px 0 12px 27px;
    padding: 0;
}

.text-content li {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* ORIGIN SECTION */
.origin-section {
    margin-bottom: 20px;
}

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

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

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

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

.title-block {
    margin-bottom: 5px;
}

.case-study-label {
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: 24px;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}

.main-title {
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 32px;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.2;
}

.subtitle {
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-text-secondary);
    margin: 0 0 10px 0;
}

.description {
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
}

.description p {
    margin: 0 0 10px 0;
}

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

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

.quote-line {
    background-color: var(--color-gray);
    width: 3px;
    height: 48px;
    flex-shrink: 0;
}

.quote-line-tall {
    background-color: var(--color-gray);
    width: 3px;
    height: 72px;
    flex-shrink: 0;
}

.quote-text {
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 20px;
    color: var(--color-text-muted);
    margin: 0;
    max-width: 467px;
}

.quote-text-small {
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 20px;
    color: var(--color-text-muted);
    margin: 0;
    max-width: 467px;
}

.quote-text-wide {
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 20px;
    color: var(--color-text-muted);
    margin: 0;
    max-width: 626px;
}

/* CHALLENGE SECTION */
.challenge-section {
    margin-bottom: 20px;
}

/* ENGINEERING SECTION */
.engineering-section {
    margin-bottom: 20px;
}

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

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

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

.engineering-text {
    flex: 1;
}

.engineering-text .section-heading {
    margin-bottom: 10px;
}

.engineering-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.engineering-text ul {
    list-style-type: disc;
    margin: 12px 0 12px 27px;
    padding: 0;
}

.engineering-text li {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* DESIGN SECTION */
.design-section {
    margin-bottom: 20px;
}

.design-card {
    background-color: var(--color-primary);
    border-radius: 10px;
    padding: 25px;
}

.design-card-inner {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.design-text {
    flex: 1;
    color: var(--color-white);
}

.design-heading {
    font-family: var(--font-inter);
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    margin: 0 0 15px 0;
}

.design-description p {
    font-size: 18px;
    line-height: 1.25;
    margin-bottom: 10px;
    color: var(--color-white);
}

.design-description ul {
    list-style-type: disc;
    margin: 10px 0 10px 27px;
    padding: 0;
    color: var(--color-white);
}

.design-description li {
    font-size: 18px;
    line-height: 1.25;
    margin-bottom: 5px;
}

.design-description p:last-child {
    margin-bottom: 0;
}

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

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

/* DEPLOYMENT SECTION */
.deployment-section {
    margin-bottom: 20px;
}

.deployment-images {
    margin-bottom: 20px;
}

.deployment-image-1 {
    width: 100%;
    aspect-ratio: 606/334;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.deployment-image-1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deployment-image-2 {
    width: 100%;
    aspect-ratio: 490/271;
    overflow: hidden;
    margin-bottom: 20px;
}

.deployment-image-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* OUTCOME SECTION */
.outcome-section {
    margin-bottom: 20px;
}

/* QUOTE FINAL SECTION */
.quote-final-section {
    margin-bottom: 20px;
}

/* CTA SECTION */
.cta-section {
    margin-bottom: 20px;
}

.cta-button {
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: fit-content;
}

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

.cta-button p {
    font-family: var(--font-inter);
    font-weight: 400;
    font-size: 16px;
    color: var(--color-light-gray);
    margin: 0;
}

/* FOOTER */
.footer {
    background-color: var(--color-header-footer);
    width: 100%;
    padding: 32px;
    margin-top: auto;
}

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

.footer-header {
    margin-bottom: 24px;
}

.footer-title {
    color: var(--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-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

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

.footer-left p,
.footer-right p {
    margin: 0 0 4px 0;
}

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

.footer-email {
    display: block;
    margin-bottom: 4px;
    color: var(--color-white);
    text-decoration: none;
}

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

.copyright,
.company,
.footer-phone {
    margin-bottom: 0 !important;
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        position: relative;
        top: 0;
        width: 100%;
    }
    
    .main-content {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .origin-content,
    .engineering-content,
    .design-card-inner {
        flex-direction: column;
    }
    
    .origin-image,
    .engineering-image,
    .design-image {
        width: 100%;
        height: auto;
        max-height: 500px;
    }
    
    .origin-text,
    .engineering-text,
    .design-text {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 16px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .footer-right {
        text-align: left;
    }
}
