/* Case Studies Page Styles */

.case-studies-hero {
    background: linear-gradient(135deg, #1a3a52 0%, #2c5aa0 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 60px;
}

.case-studies-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.case-studies-hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Case Studies Section */
.case-studies-section {
    padding: 40px 20px 60px;
    background: #f8f9fa;
}

.case-study-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.case-study-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.case-study-header {
    padding: 30px;
    background: #f8f9fa;
    border-bottom: 3px solid #007bff;
}

.case-study-header h2 {
    font-size: 1.8rem;
    margin: 0 0 15px;
    color: #1a3a52;
    font-weight: 700;
}

.case-study-meta {
    display: flex;
    gap: 15px;
    align-items: center;
}

.service-type {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.location {
    display: inline-block;
    background: #6c757d;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.case-study-content {
    padding: 40px 30px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.case-study-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.detail-section h3 {
    color: #1a3a52;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.detail-section p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

.detail-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-section li {
    color: #555;
    padding: 8px 0 8px 25px;
    position: relative;
    line-height: 1.6;
}

.detail-section li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Case Study Stats */
.case-study-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: #666;
    font-weight: 500;
}

/* Case Study Image */
.case-study-image {
    grid-column: 1 / -1;
    margin: 0 -30px -40px -30px;
}

.case-study-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

/* Case Study CTA */
.case-study-cta {
    padding: 30px;
    background: #f8f9fa;
    border-top: 2px solid #e9ecef;
    text-align: center;
}

.case-study-cta .btn {
    display: inline-block;
}

/* Why Choose Section */
.why-choose-section {
    padding: 60px 20px;
    background: white;
}

.why-choose-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #1a3a52;
    margin-bottom: 50px;
    font-weight: 700;
}

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

.why-card {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.why-stat {
    font-size: 2.5rem;
    color: #007bff;
    font-weight: 700;
    margin-bottom: 15px;
}

.why-card h3 {
    color: #1a3a52;
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.why-card p {
    color: #666;
    line-height: 1.6;
}

/* Process Section */
.process-section {
    padding: 60px 20px;
    background: #f8f9fa;
}

.process-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #1a3a52;
    margin-bottom: 15px;
    font-weight: 700;
}

.process-section > .container > p {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.process-timeline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    min-width: 180px;
    flex: 0 0 auto;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 15px;
}

.process-step h3 {
    color: #1a3a52;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.process-step p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.process-arrow {
    font-size: 2rem;
    color: #007bff;
    font-weight: bold;
    flex-shrink: 0;
}

/* CTA Section */
.case-studies-cta {
    padding: 60px 20px;
    background: linear-gradient(135deg, #1a3a52 0%, #2c5aa0 100%);
    color: white;
    text-align: center;
}

.case-studies-cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.case-studies-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

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

.cta-buttons .btn {
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.05rem;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    color: white;
}

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

.btn-outline:hover {
    background: white;
    color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .case-studies-hero h1 {
        font-size: 1.8rem;
    }

    .case-study-header h2 {
        font-size: 1.4rem;
    }

    .case-study-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .case-study-header {
        padding: 20px;
    }

    .case-study-image {
        margin: 0 -20px -20px -20px;
        order: -1;
    }

    .case-study-image img {
        height: 250px;
    }

    .process-timeline {
        gap: 10px;
    }

    .process-arrow {
        width: 100%;
        margin: 10px 0;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .case-studies-hero h1 {
        font-size: 2rem;
    }

    .case-studies-cta h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .case-study-meta {
        flex-direction: column;
        align-items: flex-start;
    }

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

    .process-step {
        min-width: 140px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
