/* CASE STUDIES SECTION STYLES */

:root {
    --case-studies-accent: #7BC43F;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
}

/* Section Title Description Width */
.case-studies .section-title p {
    max-width: 60%;
    margin-left: auto;
    margin-right: auto;
}

/* Case Study List Item */
.case-study-list-item {
    display: flex;
    gap: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    border-left: 4px solid var(--case-studies-accent);
}

.case-study-list-item:hover {
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.case-study-list-content {
    flex-grow: 1;
}

.case-study-list-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.case-study-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.case-study-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.case-study-list-content p {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.case-study-stats {
    display: flex;
    gap: 2rem;
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--case-studies-accent);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
}

.btn-read-more {
    background: var(--case-studies-accent);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-top: 1rem;
}

.btn-read-more:hover {
    background: #6ab02f;
    color: white;
    transform: translateX(5px);
}

/* Case Image */
.case-study-image {
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    border-radius: 8px;
    overflow: hidden;
}

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

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(123, 196, 63, 0.05) 0%, rgba(123, 196, 63, 0.1) 100%);
    padding: 4rem 0;
    margin-top: 4rem;
    border-radius: 16px;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.btn-cta {
    background: var(--case-studies-accent);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-cta:hover {
    background: #6ab02f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(123, 196, 63, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .case-study-list-item {
        flex-direction: column;
        gap: 1rem;
    }

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

    .case-study-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .case-study-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    /* Section description full width on mobile */
    .case-studies .section-title p {
        max-width: 100%;
    }
}
