.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.case-study-card {
    background: #ffffff;
    border: 1px solid #e9e4e2;
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.case-study-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: #f46a25;
}

.case-study-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f4f2f1;
}

.company-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 12px;
    background: #f8f6f4;
    padding: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.company-info {
    flex: 1;
}

.company-name {
    font-size: 24px;
    font-weight: 700;
    color: #161412;
    margin-bottom: 8px;
}

.company-industry {
    font-size: 16px;
    color: #f46a25;
    font-weight: 600;
    margin-bottom: 4px;
}

.company-location {
    font-size: 14px;
    color: #766860;
}

.case-study-content {
    margin-bottom: 24px;
}

.case-study-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #161412;
    margin-bottom: 8px;
}

.case-study-card-subtitle {
    font-size: 16px;
    color: #766860;
    margin-bottom: 16px;
    font-weight: 500;
}

.case-study-description {
    font-size: 15px;
    line-height: 1.6;
    color: #433837;
    margin-bottom: 24px;
}

.key-results-preview {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, #fef8f5 0%, #f5fcff 100%);
    border-radius: 12px;
}

.result-item {
    text-align: center;
    flex: 1;
}

.result-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #f46a25 0%, #25aff4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.result-metric {
    font-size: 12px;
    color: #766860;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-preview {
    background: #ffffff;
    border: 1px solid #e9e4e2;
    border-radius: 12px;
    padding: 20px;
    position: relative;
}

.testimonial-preview::before {
    content: '"';
    position: absolute;
    top: -8px;
    left: 16px;
    font-size: 40px;
    color: #f46a25;
    opacity: 0.3;
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-size: 14px;
    font-style: italic;
    color: #433837;
    line-height: 1.5;
    margin-bottom: 12px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-author strong {
    font-size: 14px;
    color: #161412;
    font-weight: 600;
}

.testimonial-author span {
    font-size: 12px;
    color: #766860;
}

.case-study-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #f4f2f1;
}

.read-case-study-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f46a25;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.read-case-study-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 106, 37, 0.3);
    text-decoration: none;
    color: #ffffff;
}

.case-studies-cta {
    background: #f46a25;
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    margin: 80px 0;
    position: relative;
    overflow: hidden;
}

.case-studies-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(244, 106, 37, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.case-studies-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37, 175, 244, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #161412;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 18px;
    color: #5a4f49;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #f46a25;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 106, 37, 0.3);
    text-decoration: none;
    color: #ffffff;
}

.btn-secondary {
    background: #ffffff;
    color: #f46a25;
    border: 2px solid #f46a25;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #f46a25;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(244, 106, 37, 0.2);
    text-decoration: none;
}

@media (max-width: 768px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .case-study-card {
        padding: 24px;
    }
    
    .case-study-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .key-results-preview {
        flex-direction: column;
        gap: 16px;
    }
    
    .cta-content h3 {
        font-size: 24px;
    }
    
    .cta-content p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}