/* =========================================================================
   💼 PREMIUM SOFTWARE COMPANY CASE STUDY PAGE STYLING (ALL BLUE HEADINGS)
   ========================================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.case-study-body {
    background-color: #ffffff; /* ⚪ Clean white background */
    font-family: 'Segoe UI', Roboto, sans-serif;
    color: #0B0F19;
    line-height: 1.6;
}

/* 🔙 Navigation Header */
.cs-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 5%;
    border-bottom: 1px solid #E2E8F0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.cs-back-btn {
    color: #0088ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease;
}
.cs-back-btn:hover { 
    transform: translateX(-4px); 
}

/* 🎯 Header Logo: Set completely to Solid Brand Blue */
.cs-nav-logo { 
    font-weight: 800; 
    font-size: 18px; 
    color: #0088ff !important; /* 🔵 Entire logo text is Blue */
    letter-spacing: 1px; 
}

/* 🚀 Hero Section Layout */
.cs-hero-section {
    padding: 80px 5% 40px 5%;
    background: linear-gradient(180deg, rgba(0, 136, 255, 0.03), transparent);
    text-align: center;
}
.cs-hero-container { 
    max-width: 900px; 
    margin: 0 auto; 
}

.cs-category-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #0088ff;
    background: rgba(0, 136, 255, 0.08);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

/* 🎯 Main Hero Title: Set completely to Solid Brand Blue */
.cs-main-title { 
    font-size: 46px; 
    font-weight: 800; 
    color: #0088ff !important; /* 🔵 Entire headline is Blue */
    line-height: 1.25; 
    margin-bottom: 25px; 
    letter-spacing: -1px; 
}

.cs-hero-subtitle { 
    font-size: 18px; 
    color: #64748B; 
    font-weight: 400; 
    line-height: 1.6; 
}

/* 📊 Meta Grid (Project Metrics Block) */
.cs-meta-section { 
    padding: 30px 5%; 
    border-bottom: 1px solid #E2E8F0; 
}
.cs-meta-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.cs-meta-item h4 { 
    font-size: 12px; 
    text-transform: uppercase; 
    color: #94A3B8; 
    letter-spacing: 1px; 
    margin-bottom: 6px; 
}
.cs-meta-item p { 
    font-size: 15px; 
    color: #0B0F19; 
    font-weight: 600; 
}

/* 📸 Large Image Showcase Container */
.cs-image-showcase { 
    padding: 50px 5%; 
    width: 100%; 
    display: flex; 
    justify-content: center; 
}
.cs-image-wrapper {
    max-width: 1100px;
    width: 100%;
    height: auto;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(11, 15, 25, 0.08);
}
.cs-image-wrapper img { 
    width: 100%; 
    height: auto; 
    display: block; 
    object-fit: cover; 
}

/* 📝 Core Case Study Story Content */
.cs-content-section { 
    padding: 40px 5% 80px 5%; 
}
.cs-content-container { 
    max-width: 800px; 
    margin: 0 auto; 
}
.cs-text-block { 
    margin-bottom: 50px; 
}

/* 🎯 Inner Section Headings (Challenge, Solution, Results): Set to Solid Brand Blue */
.cs-text-block h2 { 
    font-size: 28px; 
    font-weight: 700; 
    color: #0088ff !important; /* 🔵 Section titles are Blue */
    margin-bottom: 20px; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    letter-spacing: -0.5px;
}

.blue-dot { 
    width: 8px; 
    height: 8px; 
    background-color: #0088ff; 
    border-radius: 50%; 
    display: inline-block; 
}
.cs-text-block p { 
    font-size: 16px; 
    color: #334155; 
    line-height: 1.7; 
    margin-bottom: 20px; 
}

/* Bullet Points */
.cs-bullets-list { 
    list-style: none; 
    margin-left: 5px; 
    margin-bottom: 20px; 
}
.cs-bullets-list li { 
    font-size: 15px; 
    color: #334155; 
    margin-bottom: 12px; 
    position: relative; 
    padding-left: 22px; 
}
.cs-bullets-list li::before { 
    content: "→"; 
    position: absolute; 
    left: 0; 
    color: #0088ff; 
    font-weight: bold; 
}

/* 🏆 Results Metric Cards Box */
.cs-results-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 35px;
}
.cs-result-card {
    background: #0B0F19; /* Rich dark contrast styling */
    padding: 35px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(11, 15, 25, 0.15);
}
.cs-result-card h3 { 
    font-size: 38px; 
    font-weight: 800; 
    color: #0088ff; 
    margin-bottom: 6px; 
}
.cs-result-card p { 
    font-size: 13px; 
    color: #94A3B8; 
    margin-bottom: 0; 
    font-weight: 500; 
}

/* 🚀 Bottom Call To Action Block */
.cs-footer-cta { 
    padding: 80px 5%; 
    background-color: #f8fafc; 
    text-align: center; 
    width: 100%; 
}

/* 🎯 Bottom CTA Heading: Set completely to Solid Brand Blue */
.cs-cta-box h2 { 
    font-size: 32px; 
    font-weight: 800; 
    color: #0088ff !important; /* 🔵 Bottom section heading is Blue */
    margin-bottom: 12px; 
}

.cs-cta-box p { 
    font-size: 16px; 
    color: #64748B; 
    margin-bottom: 30px; 
}
.cs-cta-btn {
    display: inline-block;
    padding: 14px 38px;
    background: linear-gradient(135deg, #0052d4, #0077ff);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    transition: all 0.3s ease;
}
.cs-cta-btn:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.5); 
}

/* =========================================================================
   📱 100% PERFECT RESPONSIVE MEDIA QUERIES (TABLET & SMARTPHONES)
   ========================================================================= */
@media (max-width: 992px) {
    .cs-hero-section { padding: 60px 5% 30px 5%; }
    .cs-main-title { font-size: 36px; }
    .cs-meta-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
    .cs-navigation { padding: 20px 4%; }
    .cs-main-title { font-size: 28px; line-height: 1.3; }
    .cs-hero-subtitle { font-size: 16px; }
    
    .cs-image-showcase { padding: 30px 4%; }
    .cs-image-wrapper { border-radius: 16px; }
    
    .cs-content-section { padding: 30px 4% 60px 4%; }
    .cs-text-block h2 { font-size: 22px; }
    .cs-text-block p { font-size: 15px; }
    
    .cs-results-box { grid-template-columns: 1fr; gap: 15px; } /* Stacks metrics neatly on phone screen */
    .cs-result-card { padding: 25px 15px; }
    
    .cs-footer-cta { padding: 60px 4%; }
    .cs-cta-box h2 { font-size: 24px; }
}
