/* ========================================
   Case Studies Page Styles
   ======================================== */

.case-studies-page {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.7;
    color: #333;
    font-size: 26px;
}

/* === Hero Section === */
.case-hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(26, 35, 50, 0.9) 0%, rgba(44, 62, 80, 0.85) 100%),
                url('/wp-content/uploads/2026/02/mtc-hero-case-studies.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 2rem;
    opacity: 0.9;
}

/* === Featured Case Section === */
.featured-case-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.featured-badge {
    display: inline-block;
    background: #FDB813;
    color: #1a2332;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.case-content-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-top: 2rem;
}

.case-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a2332;
}

.case-tagline {
    font-size: 2rem;
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.case-overview h3 {
    font-size: 2rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1a2332;
}

.case-overview p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.results-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.results-list li {
    padding: 16px 0 16px 35px;
    position: relative;
    color: #333;
    font-size: 2rem;
    border-left: 5px solid #FDB813;
    margin-bottom: 18px;
    padding-left: 28px;
    line-height: 1.8;
}

.results-list strong {
    color: #1a2332;
}

.case-quote {
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    color: #fff;
    border-radius: 12px;
    padding: 30px;
    margin: 2rem 0;
    position: relative;
}

.quote-mark {
    font-size: 4rem;
    color: #FDB813;
    line-height: 1;
    opacity: 0.3;
    margin-bottom: 0.5rem;
}

.case-quote p {
    font-size: 2rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.quote-author {
    font-weight: 600;
    color: #FDB813;
}

.case-cta {
    margin-top: 2rem;
}

/* === Case Visual Sidebar === */
.case-stats-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.case-stats-box h4 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a2332;
    text-align: center;
}

.stat-item {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #f8f9fa;
    opacity: 0;
    transform: translateY(30px);
}

.stat-item.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #FDB813;
    margin-bottom: 0.25rem;
}

.stat-label {
    display: block;
    font-size: 2rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.case-tech-stack {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.case-tech-stack h4 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a2332;
}

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

.case-tech-stack li {
    padding: 10px 0;
    color: #555;
    border-bottom: 1px solid #f8f9fa;
}

.case-tech-stack li:last-child {
    border-bottom: none;
}

/* === Case Grid Section === */
.case-grid-section {
    padding: 100px 0;
    background: #fff;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.case-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
}

.case-card.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.case-card-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #ccc;
}

.case-card-header {
    background: #fff;
    padding: 25px 25px 20px;
    border-bottom: 3px solid #FDB813;
}

.case-industry {
    display: inline-block;
    background: #FDB813;
    color: #1a2332;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.case-card h3 {
    font-size: 2rem;
    color: #1a2332;
    margin: 0;
}

.case-card-body {
    padding: 25px;
    flex-grow: 1;
}

.case-card-body h4 {
    font-size: 2rem;
    text-transform: uppercase;
    color: #999;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.case-card-body h4:first-child {
    margin-top: 0;
}

.case-card-body p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 2rem;
}

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

.mini-results li {
    padding: 10px 0 10px 28px;
    position: relative;
    color: #333;
    font-size: 2rem;
    line-height: 1.7;
}

.mini-results li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #FDB813;
    font-weight: bold;
}

.case-card-footer {
    padding: 20px 25px;
    background: #fff;
    border-top: 1px solid #e9ecef;
}

.case-link {
    color: #1a2332;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 2rem;
}

.case-link:hover {
    color: #FDB813;
}

/* === Industry Overview Section === */
.industry-overview-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.industry-card {
    background: #fff;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

.industry-card.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.industry-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1a2332;
}

.industry-card p {
    font-weight: 600;
    color: #1a2332;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.industry-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
}

.industry-card li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: #666;
    font-size: 2rem;
    line-height: 1.7;
}

.industry-card li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: #FDB813;
    font-weight: bold;
}

/* === CTA Section === */
.case-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a2332 0%, #2c3e50 100%);
    color: #fff;
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.cta-box p {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.7;
}

.cta-guarantee {
    margin-top: 1.5rem;
    font-size: 2rem;
    opacity: 0.7;
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
    
    .case-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .case-title {
        font-size: 2rem;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .industry-grid {
        grid-template-columns: 1fr;
    }
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}
