/* Cases.css */

.cases-container {
    padding-top: 100px;
    min-height: 100vh;
    background-color: #f9fafb;
    /* Gray-50 */
    padding-bottom: 80px;
}

.cases-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cases-header {
    text-align: center;
    margin-bottom: 4rem;
}

.cases-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.cases-subtitle {
    color: #4b5563;
    font-size: 1.125rem;
}

.cases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.case-card {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.case-image-wrapper {
    height: 16rem;
    position: relative;
    overflow: hidden;
    background-color: #e5e7eb;
}

.case-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image {
    transform: scale(1.05);
}

.case-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #2563eb;
    /* Blue-600 */
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-bar {
    height: 0.5rem;
    background-color: #2563eb;
}

.case-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.case-category-text {
    color: #2563eb;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.case-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.case-result-badge {
    display: inline-block;
    background-color: #eff6ff;
    /* Blue-50 */
    color: #1d4ed8;
    /* Blue-700 */
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

.case-details {
    color: #4b5563;
    line-height: 1.625;
}