/* Case Studies Page Styles */

/* Hero Section */
.case-studies-hero {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    text-align: center;
    color: white;
}

.case-studies-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.case-studies-hero p {
    font-size: 1.2rem;
    color: #cbd5e1;
    max-width: 600px;
    margin: 0 auto;
}

/* Featured Case Studies */
.featured-cases {
    padding: 4rem 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 3rem;
}

.case-study-detailed {
    background: white;
    border-radius: 12px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.case-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.case-logo {
    margin-right: 2rem;
}

.company-initial {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

.case-info h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.case-industry {
    color: #3b82f6;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.case-challenge {
    color: #64748b;
    font-size: 1.1rem;
}

.case-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.case-section {
    margin-bottom: 2rem;
}

.case-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.case-section p {
    color: #64748b;
    line-height: 1.6;
}

.case-results {
    grid-column: 1 / -1;
    background: #f8fafc;
    border-radius: 8px;
    padding: 2rem;
    margin-top: 1rem;
}

.case-results h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1.5rem;
    text-align: center;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.result-item {
    text-align: center;
}

.result-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* Additional Cases */
.additional-cases {
    padding: 4rem 0;
    background: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-summary {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.case-summary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.case-summary h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.case-type {
    color: #3b82f6;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.case-summary p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.case-highlight {
    background: #e0f2fe;
    color: #0369a1;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

/* Industry Impact */
.industry-impact {
    padding: 4rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
}

.industry-impact .section-title {
    color: white;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.impact-item {
    text-align: center;
}

.impact-number {
    font-size: 3rem;
    font-weight: 800;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 1rem;
    color: #cbd5e1;
    font-weight: 500;
}

/* CTA Section */
.case-studies-cta {
    padding: 4rem 0;
    background: #f8fafc;
    text-align: center;
}

.case-studies-cta h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1rem;
}

.case-studies-cta p {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    background: linear-gradient(45deg, #3b82f6, #8b5cf6);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
    color: white;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .case-studies-hero h1 {
        font-size: 2.5rem;
    }

    .case-header {
        flex-direction: column;
        text-align: center;
    }

    .case-logo {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .case-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .impact-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}
