/* Case Study Detail New Page - Compact & Clean Design */

/* Hero Section */
.csd-hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 140px 0 60px;
    color: #1e293b;
}

.csd-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
    color: #64748b;
}

.csd-breadcrumb a {
    color: #008080;
    text-decoration: none;
    transition: color 0.3s ease;
}

.csd-breadcrumb a:hover {
    color: #006666;
}

.csd-breadcrumb-separator {
    color: #cbd5e1;
}

.csd-hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.csd-hero-highlight {
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.15) 0%, rgba(0, 128, 128, 0.08) 100%);
    padding: 0 0.5rem;
    border-radius: 4px;
    color: #008080;
}

.csd-hero-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    max-width: 800px;
    margin-bottom: 2rem;
}

.csd-hero-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.csd-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.csd-meta-label {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.csd-meta-value {
    font-size: 0.85rem;
    color: #1e293b;
    font-weight: 600;
}

/* KPIs Section */
.csd-kpis-section {
    padding: 2.5rem 0;
    background: white;
    border-bottom: 1px solid #e5e7eb;
}

.csd-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 2rem;
}

.csd-kpis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.25rem;
    max-width: 1000px;
    margin: 0 auto;
}

.csd-kpi-card {
    background: linear-gradient(135deg, #008080 0%, #006666 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.2);
    transition: transform 0.3s ease;
}

.csd-kpi-card:hover {
    transform: translateY(-4px);
}

.csd-kpi-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.csd-kpi-label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* Content Sections */
.csd-content-section {
    padding: 3rem 0;
    background: white;
}

.csd-content-section-alt {
    background: #f8fafc;
}

.csd-content-block {
    max-width: 900px;
    margin: 0 auto;
}

.csd-content-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.csd-content-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin-bottom: 1.5rem;
}

.csd-content-text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 2rem;
}

/* Solution Points */
.csd-solution-points {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
}

.csd-solution-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

.csd-content-section-alt .csd-solution-card {
    background: white;
}

.csd-solution-card:hover {
    transform: translateX(4px);
    border-color: #008080;
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.1);
}

.csd-solution-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.csd-solution-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #008080 0%, #006666 100%);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.csd-solution-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.csd-solution-description {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
    padding-left: 3rem;
}

/* Results Detailed */
.csd-results-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.csd-result-item {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #008080;
    text-align: center;
    transition: all 0.3s ease;
}

.csd-result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.csd-result-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: #008080;
    margin-bottom: 0.5rem;
}

.csd-result-label {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
}

/* Testimonial Section */
.csd-testimonial-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #008080 0%, #006666 100%);
    color: white;
}

.csd-testimonial {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.csd-testimonial-quote-icon {
    font-size: 5rem;
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: -2rem;
}

.csd-testimonial-quote {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.csd-testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.csd-author-name {
    font-size: 0.95rem;
    font-weight: 700;
}

.csd-author-title {
    font-size: 0.8rem;
    opacity: 0.9;
}

.csd-author-company {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* CTA Section */
.csd-cta {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 3rem 0;
    text-align: center;
}

.csd-cta h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.csd-cta p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.csd-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.csd-btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.csd-btn-primary {
    background: linear-gradient(135deg, #008080 0%, #006666 100%);
    color: white;
}

.csd-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 128, 128, 0.3);
}

.csd-btn-secondary {
    background: white;
    color: #008080;
    border-color: #008080;
}

.csd-btn-secondary:hover {
    background: #008080;
    color: white;
}

/* Related Case Studies */
.csd-related {
    padding: 3rem 0;
    background: white;
}

.csd-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.csd-related-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.csd-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #008080;
}

.csd-related-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.csd-related-industry {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.csd-related-description {
    font-size: 0.75rem;
    line-height: 1.5;
    color: #64748b;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.csd-related-kpis {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.csd-related-kpi {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 6px;
    flex: 1;
    min-width: 100px;
}

.csd-related-kpi-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #008080;
    margin-bottom: 0.25rem;
}

.csd-related-kpi-label {
    font-size: 0.65rem;
    color: #64748b;
    text-align: center;
    line-height: 1.3;
}

.csd-related-link {
    color: #008080;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
}

.csd-related-link:hover {
    color: #006666;
    gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .csd-hero {
        padding: 120px 0 50px;
    }
    
    .csd-hero-title {
        font-size: 1.5rem;
    }
    
    .csd-hero-meta {
        gap: 1.5rem;
    }
    
    .csd-kpis-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .csd-content-icon {
        font-size: 2.5rem;
    }
    
    .csd-content-title {
        font-size: 1.25rem;
    }
    
    .csd-solution-description {
        padding-left: 0;
        margin-top: 0.5rem;
    }
    
    .csd-results-detailed {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .csd-testimonial-quote {
        font-size: 0.95rem;
        padding: 0 1rem;
    }
    
    .csd-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .csd-hero-title {
        font-size: 1.25rem;
    }
    
    .csd-kpis-grid,
    .csd-results-detailed {
        grid-template-columns: 1fr;
    }
    
    .csd-cta-buttons {
        flex-direction: column;
    }
    
    .csd-btn {
        width: 100%;
    }
}
