/* ============================================
   Case Page Section
   ============================================ */

.case-section {
    background: #FFFFFF;
    padding: 60px 20px 80px;
}

.case-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Section */
.case-header {
    margin-bottom: 60px;
    text-align: center;
}

.case-main-title {
    font-size: 54px;
    font-weight: 900;
    line-height: 1.5;
    margin: 0 0 30px;
    color: #D7172A;
}

.case-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: #1C1C1C;
    margin: 0;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Case Study Section */
.case-study-section {
    margin-top: 60px;
}

/* Case Banner */
.case-banner {
    background: #D7172A;
    color: #FFFFFF;
    padding: 20px 30px;
    border-radius: 8px;
    margin-bottom: 40px;
    text-align: center;
    width: 55%;
    margin: auto;
}

.case-banner-text {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
    display: block;
}

/* Case Content */
.case-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: flex-start;
}

.case-details {
    display: flex;
    flex-direction: column;
}

.case-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 12px;
}

.case-details-list li {
    font-size: 20px;
    color: #1C1C1C;
    line-height: 1.5;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 500;
}

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

.case-list-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    width: 24px;
    height: 24px;
}

.case-list-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

/* Case Illustration */
.case-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-placeholder {
    width: 100%;
    height: auto;
    border-radius: 12px;
    overflow: hidden;
    padding: 10px;
    box-sizing: border-box;
}

.illustration-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}


/* ============================================
   Process Steps Section
   ============================================ */

.process-steps-section {
    margin-top: 80px;
}

.process-step {
    margin-bottom: 40px;
    background: #FFF5F6;
    border-radius: 16px;
    padding: 20px;
}

.process-step:last-child {
    margin-bottom: 0;
}

.process-step-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: center;
}

.process-step-reverse {
    grid-template-columns: 400px 1fr;
}

.process-step-reverse .process-step-illustration {
    order: -1;
}

.process-step-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 12px;
}

.process-step-title {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0;
    line-height: 1.5;
}

.process-step-number {
    font-size: 28px;
    font-weight: 700;
    color: #D7172A;
    line-height: 1;
    flex-shrink: 0;
}

.process-step-title-text {
    font-size: 28px;
    font-weight: 700;
    color: #D7172A;
}

.process-step-description {
    font-size: 20px;
    color: #1C1C1C;
    line-height: 1.5;
}

.process-step-description p {
    margin: 0 0 15px;
}

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

.process-step-description span {
    font-size: 20px;
    color: #D7172A;
    line-height: 1.5;
    font-weight: 700;
}

.process-step-quote {
    background: #FFE5EC;
    border: 2px solid #FFB6C1;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

.quote-text {
    font-size: 18px;
    color: #1C1C1C;
    line-height: 1.8;
    margin: 0;
    font-style: italic;
}

.process-step-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-illustration-box {
    width: 100%;
    height: auto;
    /* background: #F0F8FF; */
    /* border: 2px solid #B0D4F1; */
    border-radius: 12px;
    padding: 15px;
    box-sizing: border-box;
    overflow: hidden;
}

.process-illustration-box img {
    width: 100%;
    height: 235px;
    display: block;
    border-radius: 8px;
    /* object-fit: cover; */
}


/* ============================================
   Investigation Flow Section
   ============================================ */

.investigation-flow-section {
    /* margin-top: 100px; */
    padding: 60px 20px;
    text-align: center;
}

.flow-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #D7172A;
    margin: 0 0 15px;
    line-height: 1.5;
}

.flow-subtitle {
    font-size: 32px;
    font-weight: 700;
    color: #D7172A;
    margin: 0 0 30px;
    line-height: 1.5;
}

.flow-intro-text {
    font-size: 20px;
    color: #1C1C1C;
    margin: 0 0 50px;
    line-height: 1.8;
}

.flow-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.flow-steps-grid .flow-step-item:nth-child(4) {
    grid-column: 1;
}

.flow-steps-grid .flow-step-item:nth-child(5) {
    grid-column: 2;
}

.flow-step-item {
    background: #FFEAEE;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: left;
}

.flow-step-number {
    font-size: 48px;
    font-weight: 900;
    color: #D7172A;
    line-height: 1;
    margin-bottom: 15px;
}

.flow-step-title {
    font-size: 20px;
    font-weight: 700;
    color: #1C1C1C;
    margin: 0 0 15px;
    line-height: 1.5;
}

.flow-step-description {
    font-size: 20px;
    color: #1C1C1C;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.flow-arrow-icon {
    flex-shrink: 0;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-arrow-icon img {
    width: 20px;
    height: 20px;
    display: block;
}

/* ============================================
   Summary Section
   ============================================ */

.case-summary-section {
    /* margin-top: 100px; */
    padding: 60px 20px 80px;
    text-align: center;
    position: relative;
}

.summary-main-title {
    font-size: 48px;
    font-weight: 900;
    color: #D7172A;
    margin: 0 0 20px;
    line-height: 1.5;
}

.summary-subtitle {
    font-size: 36px;
    font-weight: 900;
    color: #D7172A;
    margin: 0 0 50px;
    line-height: 1.5;
}

.summary-content-box {
    /* background: #FFF5F6; */
    border: 2px solid #D7172A;
    border-radius: 16px;
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto 50px;
    text-align: left;
}

.summary-content-box p {
    font-size: 24px;
    color: #484848;
    line-height: 1.5;
    margin: 0 0 20px;
}

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

.summary-highlight {
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.summary-bulb-icon {
    font-size: 24px;
}

.btn-primary-container {
    text-align: center;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.btn-primary-container a {
    text-decoration: none;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FF6B35;
    color: #FFFFFF;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 700;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #E55A2B;
}

.btn-primary svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.summary-decorative-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #D7172A;
    z-index: 0;
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    /* Case Section */
    .case-section {
        padding: 40px 15px 0;
    }

    .case-main-title {
        font-size: 32px;
    }

    .case-subtitle {
        font-size: 20px;
    }

    .case-banner {
        width: auto;
        max-width: 100%;
        padding: 15px 20px;
    }

    .case-banner-text {
        font-size: 24px;
    }

    .case-details-list li {
        font-size: 16px;
    }

    .case-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Image on top, text below */
    .case-illustration {
        order: -1;
    }

    .illustration-placeholder {
        max-height: 300px;
    }

    .illustration-placeholder img {
        height: 300px;
        object-fit: cover;
    }

    /* Process Steps Section */
    .process-steps-section {
        /* margin-top: 60px; */
    }

    .process-step {
        padding: 25px 20px;
        margin-bottom: 30px;
    }

    .process-step-content,
    .process-step-reverse {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Image on top, text below for all process steps */
    .process-step-illustration {
        order: -1;
    }

    .process-step-reverse .process-step-illustration {
        order: -1;
    }

    .process-step-number {
        font-size: 20px;
    }

    .process-step-title-text {
        font-size: 20px;
    }

    .process-step-description {
        font-size: 16px;
    }

    .quote-text {
        font-size: 16px;
    }

    .process-illustration-box {
        max-height: 250px;
    }

    .process-illustration-box img {
        height: 250px;
        object-fit: cover;
    }

    /* Investigation Flow Section */
    .investigation-flow-section {
        padding: 40px 15px;
        /* margin-top: 60px; */
    }

    .flow-main-title {
        font-size: 32px;
    }

    .flow-subtitle {
        font-size: 24px;
    }

    .flow-intro-text {
        font-size: 18px;
    }

    .flow-steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .flow-steps-grid .flow-step-item:nth-child(4),
    .flow-steps-grid .flow-step-item:nth-child(5) {
        grid-column: auto;
    }

    .flow-step-item {
        padding: 25px 20px;
    }

    .flow-step-number {
        font-size: 36px;
    }

    .flow-step-title {
        font-size: 20px;
    }

    .flow-step-description {
        font-size: 16px;
    }

    /* Summary Section */
    .case-summary-section {
        padding: 40px 15px 20px;
        /* margin-top: 60px; */
    }

    .summary-main-title {
        font-size: 32px;
    }

    .summary-subtitle {
        font-size: 28px;
    }

    .summary-content-box {
        padding: 15px 5px;
    }

    .summary-content-box p {
        font-size: 18px;
    }

    .btn-primary {
        font-size: 18px;
        padding: 12px 30px;
    }
}