/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1F2937;
    background-color: #FFFFFF;
    line-height: 1.6;
}

/* Typography */
h1 {
    font-size: 48px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 20px;
    line-height: 1.2;
}

h2 {
    font-size: 36px;
    font-weight: 600;
    color: #2563EB;
    margin-bottom: 15px;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 15px;
}

p {
    font-size: 16px;
    font-weight: 400;
    color: #4B5563;
    margin-bottom: 15px;
}

.hero-subtext {
    font-size: 18px;
    color: #4B5563;
    max-width: 600px;
}

/* Spacing Utilities */
.py-80 {
    padding-top: 80px;
    padding-bottom: 80px;
}

.mt-60 {
    margin-top: 60px;
}

.bg-light {
    background-color: #F8FAFC;
}

/* Hero Section */
.case-hero {
    padding: 100px 0;
    background-color: #F8FAFC;
    position: relative;
    overflow: hidden;
}

.stats-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-item {
    margin-bottom: 20px;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    color: #2563EB;
    line-height: 1;
}

.stat-text {
    font-size: 16px;
    color: #4B5563;
}

/* Case Studies Grid */
.section-header {
    margin-bottom: 60px;
    text-align: center;
}

.section-header p {
    font-size: 18px;
    color: #4B5563;
    max-width: 700px;
    margin: 0 auto;
}

.case-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.case-card:not(.horizontal):hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.case-card.horizontal {
    height: 100%;
}

.case-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.case-card.horizontal img {
    height: 100%;
}

.case-content {
    padding: 30px;
}

.case-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #2563EB;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

.case-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.case-meta span {
    color: #4B5563;
    display: flex;
    align-items: center;
    gap: 5px;
}

.case-meta i {
    color: #F59E0B;
}

.case-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2563EB;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
}

.case-link:hover {
    color: #1E40AF;
}

.case-link i {
    transition: transform 0.3s ease;
}

.case-link:hover i {
    transform: translateX(5px);
}

/* Results Section */
.result-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.result-icon {
    font-size: 36px;
    color: #F59E0B;
    margin-bottom: 15px;
}

.result-number {
    font-size: 36px;
    font-weight: 700;
    color: #2563EB;
    margin-bottom: 10px;
    line-height: 1;
}

.result-text {
    font-size: 16px;
    color: #4B5563;
}

/* CTA Section */
.case-cta {
    background-color: #2563EB;
    color: white;
    text-align: center;
}

.case-cta h2 {
    color: white;
}

.cta-subtext {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
}

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

.btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #F59E0B;
    border-color: #F59E0B;
    color: white;
}

.btn-primary:hover {
    background-color: #D97706;
    border-color: #D97706;
}

.btn-outline-primary {
    border-color: #2563EB;
    color: #2563EB;
}

.btn-outline-primary:hover {
    background-color: #2563EB;
    color: white;
}

.btn-outline-light {
    border-color: white;
    color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: #2563EB;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .case-card.horizontal .col-md-6:first-child {
        height: 250px;
    }
    
    .case-card.horizontal img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 30px;
    }
    
    .case-hero {
        padding: 60px 0;
        text-align: center;
    }
    
    .stats-box {
        margin-top: 40px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .case-card.horizontal .row {
        flex-direction: column;
    }
    
    .case-card.horizontal .col-md-6:first-child {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .py-80 {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
    }
}