
.case-study-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.case-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eaeaea;
}

.case-header h1 {
    font-size: 2.2em;
    color: #2c3e50;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.3em;
    color: #7f8c8d;
    font-style: italic;
}

.case-meta {
    display: flex;
    justify-content: space-around;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.meta-item {
    margin: 10px;
    font-size: 1.1em;
}

.content-section {
    margin-bottom: 40px;
}

.content-section h2 {
    color: #2c3e50;
    border-left: 4px solid #3498db;
    padding-left: 15px;
    margin-bottom: 20px;
}

.phase {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.phase h3 {
    color: #2980b9;
    margin-bottom: 15px;
}

.improvement-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.improvement-item {
    padding: 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #eaeaea;
}

.improvement-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.improvement-icon {
    margin-right: 15px;
    flex-shrink: 0;
}

.improvement-item h4 {
    color: #2980b9;
    margin: 0;
    font-size: 1.3em;
}

.improvement-item p {
    margin: 0;
    color: #555;
    line-height: 1.7;
}

.image-section {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    gap: 20px;
}

.image-section.full-width {
    justify-content: center;
}

.image-container {
    flex: 1;
    text-align: center;
}

.case-image {
    max-width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.image-caption {
    font-style: italic;
    color: #7f8c8d;
    margin-top: 10px;
    font-size: 0.9em;
}

.highlight-box {
    background: #e8f4fc;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.rating-section {
    margin: 25px 0;
}

.rating-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.rating-label {
    width: 180px;
    font-weight: bold;
}

.stars {
    color: #f39c12;
    font-size: 1.2em;
    margin: 0 15px;
}

.rating-text {
    color: #27ae60;
    font-weight: bold;
}

.testimonial {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
    font-style: italic;
    position: relative;
    border-left: 4px solid #3498db;
}

.testimonial cite {
    display: block;
    margin-top: 15px;
    font-style: normal;
    font-weight: bold;
    color: #2c3e50;
}

.commitment {
    font-style: italic;
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 25px;
}

.cta-section {
    text-align: center;
    background: #2c3e50;
    color: white;
    padding: 50px 30px;
    border-radius: 8px;
    margin-top: 40px;
}

.cta-section h2 {
    color: white;
    border: none;
    padding: 0;
}

.cta-button {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #c0392b;
}

@media (max-width: 768px) {
    .case-meta {
        flex-direction: column;
    }
    
    .image-section {
        flex-direction: column;
    }
    
    .improvement-grid {
        grid-template-columns: 1fr;
    }
    
    .improvement-header {
        flex-direction: column;
        text-align: center;
    }
    
    .improvement-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .rating-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .rating-label {
        width: auto;
        margin-bottom: 5px;
    }
}
