/*
|--------------------------------------------------------------------------
| Achieving Quality Care
|--------------------------------------------------------------------------
*/

.cew-qc {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #f3f4f3;
}

.cew-qc-container {
    max-width: 1200px;
    margin: auto;
    padding-left: 48px;
    padding-right: 48px;
}

.cew-qc-inner {
    max-width: 768px;
    margin: 0 auto;
    text-align: center;

    display: flex;
    flex-direction: column;
    gap: 32px;
}

/*
|--------------------------------------------------------------------------
| Heading & lead
|--------------------------------------------------------------------------
*/

.cew-qc-heading {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
    color: #0f5238;
    margin: 0;
}

.cew-qc-lead {
    font-size: 18px;
    line-height: 1.7;
    color: #404943;
    margin: 0;
}

/*
|--------------------------------------------------------------------------
| Badges
|--------------------------------------------------------------------------
*/

.cew-qc-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;

    padding-top: 8px;
    padding-bottom: 8px;
}

.cew-qc-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.cew-qc-badge-icon {
    width: 80px;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #ffffff;
    border-radius: 999px;
    border: 1px solid rgba(191, 201, 193, 0.30);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.cew-qc-badge-icon .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 40;
    font-size: 36px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;

    color: #0f5238;
}

.cew-qc-badge-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #1a1c1c;
}

/*
|--------------------------------------------------------------------------
| CTA card
|--------------------------------------------------------------------------
*/

.cew-qc-cta {
    background-color: #0f5238;
    color: #ffffff;

    padding: 32px;
    border-radius: 16px;
    text-align: left;

    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.10), 0 4px 6px -4px rgba(0,0,0,0.10);

    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
}

.cew-qc-cta-heading {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.cew-qc-cta-text {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.90;
    margin: 0;
}

.cew-qc-cta-btn {
    display: inline-block;
    text-decoration: none;

    padding: 12px 32px;
    border-radius: 999px;

    font-size: 14px;
    font-weight: 600;

    background-color: #ffffff;
    color: #0f5238;

    transition: filter 0.3s ease, transform 0.3s ease;
}

.cew-qc-cta-btn:hover {
    filter: brightness(0.95);
    transform: translateY(-2px);
}

/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 768px) {

    .cew-qc {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .cew-qc-container {
        padding-left: 25px;
        padding-right: 25px;
    }

    .cew-qc-heading {
        font-size: 28px;
    }

    .cew-qc-lead {
        font-size: 16px;
    }

    .cew-qc-badges {
        gap: 24px;
    }

    .cew-qc-cta {
        padding: 24px;
    }

    .cew-qc-cta-btn {
        width: 100%;
        text-align: center;
    }

}
