/* Case Studies Page */
.case-studies-hero { background: linear-gradient(135deg, var(--color-purple) 0%, #2a1142 100%); padding: 80px 0 60px; text-align: center; }
.hero-title { font-size: 2.5rem; font-weight: 700; color: var(--color-orange); margin-bottom: 15px; }
.hero-subtitle { font-size: 1.1rem; color: var(--color-white); max-width: 600px; margin: 0 auto; }

.case-studies-section { padding: 60px 0; background: #f9f9f9; }

.case-study-link { text-decoration: none; display: block; height: 100%; }
.case-study-card { background: var(--color-white); border-radius: 12px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; height: 100%; display: flex; flex-direction: column; }
.case-study-card:hover { transform: translateY(-8px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1); }

.case-image { width: 100%; height: 220px; overflow: hidden; }
.case-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.case-study-card:hover .case-image img { transform: scale(1.05); }

.case-content { padding: 25px; flex: 1; display: flex; flex-direction: column; }
.case-title { font-size: 1.3rem; font-weight: 600; color: var(--color-purple); margin-bottom: 12px; line-height: 1.4; }
.case-description { font-size: 0.95rem; color: #555; line-height: 1.6; margin: 0; }

/* CTA Section */
.case-cta-section { padding: 80px 0; background: var(--color-white); }
.cta-box { background: linear-gradient(135deg, var(--color-orange) 0%, #FF8C00 100%); padding: 50px 40px; border-radius: 15px; text-align: center; color: var(--color-white); }
.cta-box h2 { font-size: 2rem; font-weight: 700; margin-bottom: 15px; }
.cta-box p { font-size: 1.1rem; margin-bottom: 25px; opacity: 0.95; }
.btn-primary-cta { display: inline-block; background: var(--color-purple); color: var(--color-white); padding: 14px 32px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; }
.btn-primary-cta:hover { background: var(--color-white); color: var(--color-purple); transform: translateY(-2px); }

/* Case Study Detail Page */
.case-detail-container { padding: 60px 0; background: #f9f9f9; }

.case-detail-header { margin-bottom: 40px; }
.back-link { display: inline-block; color: var(--color-orange); text-decoration: none; font-weight: 500; margin-bottom: 20px; transition: color 0.3s ease; }
.back-link:hover { color: var(--color-purple); }
.case-detail-title { font-size: 2.5rem; font-weight: 700; color: var(--color-purple); margin-bottom: 15px; }
.case-detail-subtitle { font-size: 1.2rem; color: #555; }

.case-detail-content { background: var(--color-white); padding: 40px; border-radius: 12px; }

.case-detail-image { width: 100%; height: 400px; border-radius: 8px; overflow: hidden; margin-bottom: 40px; }
.case-detail-image img { width: 100%; height: 100%; object-fit: cover; }

.case-section { margin-bottom: 40px; }
.case-section h2 { font-size: 1.8rem; font-weight: 600; color: var(--color-purple); margin-bottom: 15px; }
.case-section p { font-size: 1rem; color: #444; line-height: 1.7; margin-bottom: 15px; }
.case-section ul { padding-left: 25px; }
.case-section li { font-size: 1rem; color: #444; line-height: 1.8; margin-bottom: 8px; }

.timeline-item { background: var(--color-white); padding: 25px; border-radius: 8px; margin-bottom: 20px; border-left: 4px solid var(--color-orange); }
.timeline-item h3 { font-size: 1.2rem; font-weight: 600; color: var(--color-purple); margin-bottom: 10px; }
.timeline-item p { font-size: 0.95rem; color: #555; margin: 0; }

.results-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 20px; }
.result-item { background: var(--color-white); padding: 25px; border-radius: 8px; text-align: center; }
.result-number { font-size: 2.5rem; font-weight: 700; color: var(--color-orange); margin-bottom: 8px; }
.result-label { font-size: 1rem; font-weight: 600; color: var(--color-purple); margin-bottom: 10px; }
.result-item p { font-size: 0.9rem; color: #555; margin: 0; }

.testimonial-box { background: var(--color-purple); padding: 35px; border-radius: 10px; color: var(--color-white); }
.testimonial-text { font-size: 1.1rem; font-style: italic; line-height: 1.7; margin-bottom: 20px; }
.testimonial-author { text-align: right; }
.testimonial-author strong { display: block; font-size: 1rem; margin-bottom: 5px; }
.testimonial-author span { font-size: 0.9rem; opacity: 0.8; }

/* Sidebar */
.case-detail-sidebar { position: sticky; top: 100px; }
.sidebar-box { background: var(--color-white); padding: 25px; border-radius: 10px; margin-bottom: 25px; }
.sidebar-box h3 { font-size: 1.3rem; font-weight: 600; color: var(--color-purple); margin-bottom: 20px; }

.detail-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #eee; }
.detail-item:last-child { border-bottom: none; }
.detail-label { font-weight: 600; color: #555; }
.detail-value { color: var(--color-purple); text-align: right; }

.cta-sidebar { background: linear-gradient(135deg, var(--color-orange) 0%, #FF8C00 100%); color: var(--color-white); }
.cta-sidebar h3 { color: var(--color-white); }
.cta-sidebar p { margin-bottom: 20px; }
.btn-sidebar-cta { display: block; background: var(--color-purple); color: var(--color-white); padding: 12px; text-align: center; border-radius: 8px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; }
.btn-sidebar-cta:hover { background: var(--color-white); color: var(--color-purple); }

.related-cases { display: flex; flex-direction: column; gap: 15px; }
.related-case-item { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--color-purple); transition: all 0.3s ease; }
.related-case-item:hover { color: var(--color-orange); }
.related-case-item img { width: 60px; height: 60px; border-radius: 6px; object-fit: cover; }
.related-case-item span { font-size: 0.9rem; font-weight: 500; }

/* Responsive */
@media (max-width: 992px) {
    .case-detail-sidebar { position: relative; top: 0; margin-top: 40px; }
    .results-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .case-detail-title { font-size: 2rem; }
    .case-detail-content { padding: 25px; }
    .case-detail-image { height: 250px; }
    .results-grid { grid-template-columns: 1fr; }
    .cta-box { padding: 40px 25px; }
    .cta-box h2 { font-size: 1.6rem; }
}

@media (max-width: 576px) {
    .case-studies-hero { padding: 60px 0 40px; }
    .hero-title { font-size: 1.8rem; }
    .case-image { height: 180px; }
    .case-content { padding: 20px; }
    .case-title { font-size: 1.1rem; }
}