/* Case Studies Grid Styles */
.case-studies-grid-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.section-header-modern {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-modern h2 {
    font-size: 2.5rem;
    color: #1b2a41;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-header-modern p {
    font-size: 1.2rem;
    color: #64748b;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.case-study-card {
    background: white;
    border: 1px solid rgba(27, 42, 65, 0.1);
    border-radius: 0;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.case-study-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1b2a41, #934713);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.case-study-card:hover::before {
    transform: scaleX(1);
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: #1b2a41;
}

.case-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.case-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1b2a41, #2d3748);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.case-meta h3 {
    font-size: 1.3rem;
    color: #1b2a41;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.case-badge {
    background: #934713;
    color: white;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(27, 42, 65, 0.05);
    border-left: 3px solid #934713;
}

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

.stat-number {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1b2a41;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-challenge {
    margin-bottom: 1.5rem;
}

.case-challenge h4 {
    color: #1b2a41;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.case-challenge p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

.case-result {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-left: 3px solid #10b981;
}

.result-icon {
    color: #10b981;
    font-size: 1.2rem;
}

.case-result span {
    color: #047857;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Case Study Type Colors */
.case-study-card.corporate .case-icon {
    background: linear-gradient(135deg, #1e40af, #3b82f6);
}

.case-study-card.tech .case-icon {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
}

.case-study-card.hospitality .case-icon {
    background: linear-gradient(135deg, #059669, #10b981);
}

.case-study-card.industrial .case-icon {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.case-study-card.banking .case-icon {
    background: linear-gradient(135deg, #b45309, #d97706);
}

.case-study-card.healthcare .case-icon {
    background: linear-gradient(135deg, #be123c, #e11d48);
}

.case-study-card.education .case-icon {
    background: linear-gradient(135deg, #0891b2, #06b6d4);
}

.case-study-card.nri .case-icon {
    background: linear-gradient(135deg, #1b2a41, #934713);
}

/* Success Highlights */
.success-highlights {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(27, 42, 65, 0.05);
    border-left: 3px solid #934713;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 0;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.highlight-item:last-child {
    margin-bottom: 0;
}

.highlight-item i {
    color: #934713;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.highlight-item span {
    color: #1b2a41;
    font-weight: 500;
    font-size: 0.95rem;
}

/* Case Studies Mobile Responsiveness */
@media (max-width: 768px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-header-modern h2 {
        font-size: 2rem;
    }
    
    .case-stats {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .stat-item {
        text-align: left;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
}