/* Case Study Detail Page Styles */

/* Back Button */
.back-button-container {
    max-width: 1400px;
    margin: 80px auto 0 auto;
    padding: 2rem var(--spacing-lg) 1rem var(--spacing-lg);
    background: var(--background);
    position: relative;
    z-index: 1;
}

.back-button {
    display: inline-flex;
    align-items: center;
    background: #E8EBE0;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 2rem 0.75rem 1.5rem;
    border: none;
    clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
    transition: all 0.2s ease;
}

.back-button:hover {
    background: #dde2d3;
    transform: translateY(-1px);
}


/* Breadcrumb */
.breadcrumb-container {
    text-align: center;
    padding: 1rem 0;
    background: var(--background);
}

.breadcrumb {
    display: inline-block;
    background: #E8F0F3;
    color: #295EE6;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    text-transform: none;
    letter-spacing: normal;
}

/* Hero Section */
.case-study-hero {
    background: var(--background);
    padding: 2rem 0 4rem;
    text-align: center;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(2.5rem, 4.8vw, 3.6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: #090C9B;
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

/* Challenge Section */
.challenge-section {
    background: #3772FF;
    color: white;
    padding: 4rem 0;
}

.challenge-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.warning-icon {
    background: #F7B801;
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.challenge-section .section-header h2 {
    color: white;
}

.challenge-section p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin: 0;
    background: #090C9B;
    padding: 2rem;
    border-radius: var(--radius-lg);
    color: white;
}

/* Solution Section */
.solution-section {
    background: var(--background);
    padding: 4rem 0;
}

.solution-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.solution-section .section-header {
    margin-bottom: 2rem;
}

.info-icon {
    background: #3772FF;
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.solution-section .section-header h2 {
    color: #090C9B;
}

.solution-section p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* Technologies Grid */
.technologies-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.tech-column h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #090C9B;
    margin-bottom: 1.5rem;
}

.tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.tech-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tech-item.blue .tech-dot {
    background: var(--primary);
}

.tech-item.orange .tech-dot {
    background: var(--accent);
}

/* Checkmark bullets for specific items */
.tech-checkmark {
    width: 20px;
    height: 20px;
    background: #3772FF;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
    position: relative;
}

.tech-checkmark::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Yellow checkmark bullets for remaining items */
.tech-checkmark-yellow {
    width: 20px;
    height: 20px;
    background: #F7B801;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    flex-shrink: 0;
    position: relative;
}

.tech-checkmark-yellow::after {
    content: '✓';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* Spacer items for alignment */
.tech-spacer {
    height: 2.5rem;
    visibility: hidden;
}

.tech-spacer-small {
    height: 0.75rem;
    visibility: hidden;
}

/* CTA Section */
.cta-section {
    background: rgb(9, 12, 155);
    padding: var(--spacing-2xl) 0;
    text-align: center;
}

.cta-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.cta-title {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-md);
}

.cta-subtitle {
    color: #D1D5DB;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xl);
}


/* Responsive Design */
@media (max-width: 768px) {
    .back-button-container {
        padding: 1rem 0 0.5rem 1rem;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .challenge-content,
    .solution-content {
        padding: 0 1rem;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .technologies-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .technologies-grid {
        padding: 1.5rem;
    }
    
    .challenge-section,
    .solution-section,
    .cta-section {
        padding: 3rem 0;
    }
}