/* Solutions in Action Styles - Compatible with Minim Theme */
.solutions-in-action-section {
    padding: 80px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.section-divider {
    width: 50px;
    height: 2px;
    background-color: #333;
    margin: 0 auto 20px;
}

.section-description {
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    color: #666;
}

.case-study-card {
    display: flex;
    margin-bottom: 50px;
    border: 1px solid #ddd;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Corner border effects */
.case-study-card::before,
.case-study-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    border: 2px solid #000; 
    transition: width 0.3s, height 0.3s, opacity 0.3s;
    z-index: 1;
}

.case-study-card::before {
    top: 0;
    left: 0;
    border-right: 0;
    border-bottom: 0;
}

.case-study-card::after {
    bottom: 0;
    right: 0;
    border-left: 0;
    border-top: 0;
}

.case-study-card:hover::before,
.case-study-card:hover::after {
    width: 30px;
    height: 30px;
    opacity: 1;
}
.case-study-content {
    flex: 2;
    padding: 40px;
    background-color: #f9f9f9;
}

.case-study-image {
    flex: 1;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.placeholder-icon {
    font-size: 150px;
    color: rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.case-study-card:hover .placeholder-icon {
    transform: scale(1.1);
    color: rgba(0,0,0,0.15);
}

.tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
    margin-bottom: 15px;
}

.case-study-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
    color: #333;
}

.case-study-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #666;
}

.stats-container {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0;
    gap: 30px;
}

.stat-item {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
    color: #333;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #777;
    line-height: 1.4;
}

.stat-description {
    display: block;
    font-size: 14px;
    color: #777;
    margin-top: 5px;
}
.minim-button-container {
    margin-top: 25px;
}

.minim-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background-color: transparent;
    color: #333;
    border: 1px solid #ddd;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.minim-button span {
    position: absolute;
    background: #000;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    z-index: -1;
    transition: all 0.3s ease;
}

.minim-button:hover {
    color: #fff;
    border-color: #000;
}

.minim-button:hover span {
    height: 100%;
}

.view-all-container {
    text-align: center;
    margin-top: 30px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .case-study-card {
        flex-direction: column;
    }
    
    .case-study-image {
        min-height: 200px;
    }
    
    .stats-container {
        justify-content: space-between;
        gap: 15px;
    }
    
    .stat-item {
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .case-study-content {
        padding: 30px 20px;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-item {
        text-align: left;
        display: flex;
        align-items: center;
    }
    
    .stat-number {
        font-size: 24px;
        margin-right: 15px;
        margin-bottom: 0;
    }
}
