/* ============================================
   CASE STUDY PAGE - MATCHES ACTUAL HTML CLASSES
   Professional Blue Theme Design
   ============================================ */

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #111827;
    background: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.post-hero {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    padding: 140px 0 100px;
    position: relative;
    overflow: hidden;
}

.post-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255, 255, 255, 0.03) 20px,
        rgba(255, 255, 255, 0.03) 40px
    );
    animation: pattern-move 30s linear infinite;
}

@keyframes pattern-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(40px, 40px); }
}

.post-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.post-breadcrumb {
    margin-bottom: 25px;
}

.post-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-breadcrumb a:hover {
    color: white;
}

.post-hero-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.post-client-logo {
    max-height: 80px;
    width: auto;
    background: white;
    padding: 20px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.post-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.post-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

.post-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 400;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-meta-item i {
    color: rgba(255, 255, 255, 0.6);
}

/* Main Content */
.post-content {
    background: white;
    margin-top: -50px;
    position: relative;
    z-index: 3;
    border-radius: 20px 20px 0 0;
}

.post-body {
    padding: 80px 0;
}

/* Section Styling */
.post-section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 20px;
    text-align: center;
}

.section-intro {
    font-size: 1.15rem;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 50px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* At a Glance Section */
.post-glance {
    background: white;
}

.glance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.glance-column {
    background: #f9fafb;
    border-radius: 16px;
    padding: 40px;
    border-left: 6px solid transparent;
}

.glance-before {
    border-left-color: #ef4444;
}

.glance-after {
    border-left-color: #10b981;
}

.glance-title {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.glance-before .glance-title {
    color: #ef4444;
}

.glance-after .glance-title {
    color: #10b981;
}

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

.glance-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 1rem;
    line-height: 1.6;
    color: #374151;
}

.glance-list li i {
    flex-shrink: 0;
    margin-top: 4px;
    font-size: 1.1rem;
}

.glance-before .glance-list li i {
    color: #ef4444;
}

.glance-after .glance-list li i {
    color: #10b981;
}

/* Key Metrics Section */
.post-metrics {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    padding: 80px 0 !important;
    position: relative;
    overflow: hidden;
    margin: 60px 0;
}

.post-metrics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255, 255, 255, 0.02) 20px,
        rgba(255, 255, 255, 0.02) 40px
    );
}

.post-metrics .section-title {
    color: white;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.metric-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.metric-value {
    font-size: 3.2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 8px;
    line-height: 1;
}

.metric-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.metric-change {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Challenge Section */
.challenge-item {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    border-left: 6px solid #007bff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.challenge-number {
    position: absolute;
    top: -15px;
    left: 30px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.challenge-item h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 20px;
    padding-top: 20px;
}

.challenge-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 25px;
}

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

.challenge-points li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
}

.challenge-points li i {
    color: #ef4444;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Solution Section */
.solution-item {
    background: white;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 40px;
    border-left: 6px solid #10b981;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
}

.solution-icon {
    position: absolute;
    top: -15px;
    left: 30px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.solution-item h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 20px;
    padding-top: 20px;
}

.solution-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 25px;
}

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

.solution-results li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
}

.solution-results li i {
    color: #10b981;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Timeline Section */
.timeline {
    position: relative;
    padding-left: 50px;
    max-width: 900px;
    margin: 50px auto 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: 40px;
    width: 4px;
    background: linear-gradient(180deg, #007bff, #0056b3);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.timeline-marker {
    position: absolute;
    left: -30px;
    top: 35px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.timeline-item h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 15px;
}

.timeline-content p {
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 20px;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-content ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #374151;
}

.timeline-content ul li i {
    color: #10b981;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Takeaways Section */
.takeaways-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 50px auto 0;
}

.takeaway-card {
    background: white;
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid #007bff;
}

.takeaway-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 12px;
    color: white;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.takeaway-card h4 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 15px;
}

.takeaway-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

/* Impact Section */
.post-impact .takeaways-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* CTA Section */
.post-cta {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.post-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255, 255, 255, 0.02) 20px,
        rgba(255, 255, 255, 0.02) 40px
    );
}

.post-cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.post-cta h2 {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
}

.post-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.7;
}

.post-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: #007bff;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .post-title {
        font-size: 2.8rem;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .takeaways-grid {
        grid-template-columns: 1fr;
    }

    .post-impact .takeaways-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .post-hero {
        padding: 120px 0 80px;
    }

    .post-title {
        font-size: 2.2rem;
    }

    .post-subtitle {
        font-size: 1.1rem;
    }

    .post-client-logo {
        max-height: 60px;
        padding: 15px 30px;
    }

    .glance-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .metric-value {
        font-size: 2.5rem;
    }

    .timeline {
        padding-left: 40px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-marker {
        left: -25px;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .post-cta h2 {
        font-size: 2.2rem;
    }

    .post-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .post-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .challenge-item,
    .solution-item,
    .timeline-item {
        padding: 25px 20px;
    }

    .post-body {
        padding: 60px 0;
    }

    .post-section {
        padding: 40px 0;
    }
}

/* ============================================
   CASE STUDY ENHANCED COMPONENTS
   ============================================ */

/* Stats Banner */
.post-stats-banner {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    padding: 60px 0;
    margin-top: -30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

/* Challenge Grid */
.challenge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.challenge-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    border-left: 4px solid #e74c3c;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.challenge-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.challenge-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: #2c3e50;
}

.challenge-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Strategy Blocks */
.strategy-block {
    display: flex;
    gap: 25px;
    margin: 35px 0;
    padding: 35px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 5px solid #3498db;
}

.strategy-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.strategy-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.strategy-content p {
    margin-bottom: 15px;
}

.strategy-content ul {
    list-style: none;
    padding: 0;
}

.strategy-content ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
    line-height: 1.6;
}

.strategy-content ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Results Section */
.results-section {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    padding: 60px 40px;
    border-radius: 16px;
    color: white;
    margin: 50px 0;
}

.results-section h2 {
    color: white;
    text-align: center;
    margin-bottom: 40px;
}

.result-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.result-big {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 35px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.result-label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.result-value {
    display: block;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.result-big p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.95;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.result-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.result-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.result-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: white;
    font-weight: 600;
}

.result-item p {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Takeaway List */
.takeaway-list {
    margin-top: 30px;
}

.takeaway-item {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 5px solid #27ae60;
}

.takeaway-number {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    background: #27ae60;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
}

.takeaway-item h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.takeaway-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Testimonial Section */
.testimonial-section {
    margin: 50px 0;
}

.testimonial-card {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-radius: 16px;
    padding: 50px;
    position: relative;
    color: white;
}

.testimonial-quote {
    font-size: 5rem;
    line-height: 0;
    opacity: 0.3;
    position: absolute;
    top: 30px;
    left: 40px;
}

.testimonial-text {
    font-size: 1.3rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 25px;
    position: relative;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.testimonial-author strong {
    font-size: 1.1rem;
}

.testimonial-author span {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    margin: 50px 0;
}

.cta-card {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    color: white;
}

.cta-card h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.cta-card p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #2563eb;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.cta-button:hover {
    color: #1e40af;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .challenge-grid {
        grid-template-columns: 1fr;
    }
    
    .strategy-block {
        flex-direction: column;
        padding: 25px;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .result-highlight {
        grid-template-columns: 1fr;
    }
    
    .takeaway-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .testimonial-card {
        padding: 35px 25px;
    }
    
    .cta-card {
        padding: 40px 25px;
    }
}

/* Text Visibility Fix - Make text visible on blue backgrounds */
.result-big p,
.result-item h4,
.result-item p {
    color: white !important;
    opacity: 1 !important;
}

/* Ensure all white text is fully visible */
.post-stats-banner,
.results-section,
.testimonial-card,
.cta-card {
    color: white;
}

.stat-label,
.stat-number {
    color: white !important;
}

/* Result highlight text must be white */
.result-label,
.result-value {
    color: white !important;
}

/* ============================================
   SPACING AND LAYOUT IMPROVEMENTS
   ============================================ */

/* Better spacing for stats grid */
.stats-grid {
    padding: 0 20px;
}

/* Better spacing for post content */
.post-content {
    padding-top: 50px;
}

.content-section {
    margin-bottom: 60px;
}

/* Improve challenge card spacing */
.challenge-grid {
    gap: 30px;
}

/* Better results grid spacing */
.results-grid {
    gap: 30px;
}

/* Improve stat card padding */
.stat-card {
    padding: 35px 25px;
}

/* Better result card padding */
.result-item {
    padding: 30px;
}

/* Post hero improvements */
.post-hero {
    padding: 100px 0 60px;
}

.post-hero-content {
    max-width: 900px;
}

/* Stats banner better spacing */
.post-stats-banner {
    padding: 70px 0;
    margin-top: -40px;
}


/* ============================================
   TEXT VISIBILITY FIX - WHITE TEXT ON BLUE
   ============================================ */

/* Stats Banner - Force white text */
.post-stats-banner .stat-card {
    color: white !important;
}

.post-stats-banner .stat-number,
.post-stats-banner .stat-label {
    color: white !important;
}

/* Results Section - Force white text */
.results-section,
.results-section * {
    color: white !important;
}

.result-big h3,
.result-big p,
.result-item h4,
.result-item p,
.result-label,
.result-value {
    color: white !important;
}

/* Testimonial Card - Force white text */
.testimonial-card,
.testimonial-card * {
    color: white !important;
}

.testimonial-card .quote-text,
.testimonial-card .author-name,
.testimonial-card .author-title {
    color: white !important;
}

/* CTA Section - Force white text */
.cta-card h2,
.cta-card p {
    color: white !important;
}

/* Additional visibility for icons */
.stat-icon,
.result-icon {
    filter: brightness(0) invert(1); /* Make icons white */
}


/* ============================================
   SPACING & LAYOUT IMPROVEMENTS
   ============================================ */

/* Better spacing for hero section */
.post-hero {
    padding: 120px 0 80px 0;
}

/* More breathing room for stats banner */
.post-stats-banner {
    padding: 80px 0;
    margin: 60px 0;
}

.stats-grid {
    gap: 40px;
    padding: 0 30px;
}

.stat-card {
    padding: 40px 30px;
}

/* Challenge section spacing */
.challenge-grid {
    gap: 35px;
    margin-top: 40px;
}

.challenge-card {
    padding: 35px 30px;
}

/* Strategy section spacing */
.strategy-blocks {
    gap: 40px;
    margin-top: 40px;
}

.strategy-block {
    padding: 35px 30px;
    margin-bottom: 30px;
}

/* Results section spacing */
.results-section {
    padding: 80px 0;
    margin: 60px 0;
}

.results-grid {
    gap: 35px;
    margin-top: 50px;
}

.result-item {
    padding: 35px 25px;
}

/* Takeaways spacing */
.takeaways-section {
    margin: 60px 0;
}

.takeaway-item {
    padding: 35px 30px;
    margin-bottom: 30px;
}

/* Testimonial spacing */
.testimonial-section {
    margin: 60px 0;
}

.testimonial-card {
    padding: 60px 50px;
}

/* CTA spacing */
.cta-section {
    margin: 80px 0 60px 0;
}

.cta-card {
    padding: 70px 50px;
}

/* Content sections general spacing */
.content-section {
    margin-bottom: 70px;
}

.content-section h2 {
    margin-bottom: 35px;
}

/* Better paragraph spacing */
.post-content p {
    margin-bottom: 25px;
    line-height: 1.8;
}


/* ============================================
   PERFORMANCE TIMELINE STYLING
   ============================================ */

.performance-timeline {
    margin-top: 40px;
}

.timeline-item {
    background: #f8f9fa;
    border-left: 4px solid #2563eb;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-item h4 {
    color: #2563eb;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 700;
}

.timeline-item ul {
    list-style: none;
    padding-left: 0;
}

.timeline-item ul li {
    padding-left: 30px;
    margin-bottom: 12px;
    position: relative;
    line-height: 1.7;
}

.timeline-item ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-weight: 700;
    font-size: 1.2rem;
}

.timeline-item strong {
    color: #1e40af;
    font-weight: 700;
}

/* Mobile responsive for timeline */
@media (max-width: 768px) {
    .timeline-item {
        padding: 20px;
    }
    
    .timeline-item h4 {
        font-size: 1.1rem;
    }
    
    .timeline-item ul li {
        font-size: 0.95rem;
        padding-left: 25px;
    }
}


/* Reduce space above stats banner */
.stats-banner {
    padding-top: 40px !important;  /* Reduced from default */
    margin-top: 0 !important;
}

/* Tighter spacing for client overview section */
.content-section {
    padding: 50px 0 !important;  /* Reduced from default 80px */
}

/* First content section after stats should be tighter */
.stats-banner + .content-section {
    padding-top: 40px !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .blog-hero {
        padding: 60px 0 30px 0 !important;
    }
    
    .stats-banner {
        padding-top: 30px !important;
    }
    
    .content-section {
        padding: 40px 0 !important;
    }
}
/* AGGRESSIVE SPACING FIX - REMOVE ALL WHITE SPACE */

/* Hero section - MINIMAL padding */
.blog-hero {
    padding: 60px 0 20px 0 !important;
    margin: 0 !important;
}

.blog-hero-content {
    padding: 0 !important;
    margin: 0 !important;
}

/* Stats banner - NO top padding/margin */
.stats-banner {
    padding-top: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 40px !important;
}

/* Content sections - minimal spacing */
.content-section {
    padding: 30px 0 !important;
    margin: 0 !important;
}

.content-section:first-of-type {
    padding-top: 20px !important;
}

/* Section headers - reduce spacing */
.section-header {
    margin-bottom: 20px !important;
}

/* Container - no extra padding */
.container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Mobile - even tighter */
@media (max-width: 768px) {
    .blog-hero {
        padding: 40px 0 15px 0 !important;
    }
    
    .stats-banner {
        padding-top: 0 !important;
        padding-bottom: 30px !important;
    }
    
    .content-section {
        padding: 20px 0 !important;
    }
}
/* ==========================================
   FINAL OVERRIDE - MAXIMUM PRIORITY
   ========================================== */

/* Hero section - tight bottom */
section.blog-hero,
.blog-hero {
    padding: 60px 0 10px 0 !important;
    margin: 0 !important;
}

/* Stats banner - ZERO top spacing */
section.stats-banner,
.stats-banner,
.post-stats-banner {
    padding: 40px 0 40px 0 !important;
    margin: 0 !important;
}

/* Content sections - minimal */
section.content-section,
.content-section {
    padding: 40px 0 !important;
    margin: 0 !important;
}

/* Gray background sections */
.gray-bg {
    padding: 40px 0 !important;
}

/* Challenge and strategy sections */
.challenge-grid,
.strategy-blocks,
.results-grid {
    margin-top: 30px !important;
}

/* Section headers */
.section-header {
    margin-bottom: 30px !important;
}

/* Mobile */
@media (max-width: 768px) {
    section.blog-hero,
    .blog-hero {
        padding: 40px 0 10px 0 !important;
    }
    
    section.stats-banner,
    .stats-banner {
        padding: 30px 0 !important;
    }
    
    section.content-section,
    .content-section {
        padding: 30px 0 !important;
    }
}

/* Center align section headers */
.section-header {
    text-align: center !important;
}

/* ============================================
   HERO CONTENT CENTERING FIX
   ============================================ */

/* Ensure hero content is perfectly centered */
.blog-hero {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: auto !important;
}

.blog-hero .container {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

.blog-hero-content {
    max-width: 900px !important;
    width: 100% !important;
    text-align: center !important;
    padding: 0 20px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Logo container centering */
.post-client-logo-container {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-bottom: 30px !important;
}

.post-client-logo {
    display: block !important;
    margin: 0 auto !important;
}

/* Title and subtitle centering */
.blog-hero-content h1,
.blog-hero-content .subtitle {
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.blog-hero-content h1 {
    max-width: 900px !important;
}

.blog-hero-content .subtitle {
    max-width: 800px !important;
}

/* Mobile centering */
@media (max-width: 768px) {
    .blog-hero-content {
        padding: 0 15px !important;
    }
    
    .blog-hero-content h1 {
        font-size: 1.8rem !important;
    }
    
    .blog-hero-content .subtitle {
        font-size: 1rem !important;
    }
}
