.ms-abvalues-section {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 96px 0px;
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    width: 100%;
}

.ms-abvalues-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
    width: 100%;
    max-width: 1280px;
    padding: 0 32px;
    margin: 0 auto;
}

/* Header */
.ms-abvalues-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    max-width: 672px;
    text-align: center;
}

.ms-abvalues-subheading {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.33;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #D97706;
}

.ms-abvalues-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 36px;
    line-height: 1.11;
    letter-spacing: -0.9px;
    color: #0B2545;
    margin: 0;
}

.ms-abvalues-desc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #475569;
    margin: 0;
}

/* Grid */
.ms-abvalues-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
    max-width: 1216px;
}

/* Individual Card */
.ms-abvalues-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 224px;
    flex: 1 1 200px; /* Allow wrapping on smaller screens */
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    box-sizing: border-box;
    padding: 24px;
    min-height: 322px; /* Maintain height as per design */
}

.ms-abvalues-icon-box {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    border-style: solid;
    border-width: 1px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.ms-abvalues-icon-box svg {
    max-width: 22px;
    max-height: 22px;
    display: block;
}

.ms-abvalues-c-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Pushes footer to the bottom */
}

.ms-abvalues-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.56;
    color: #0F172A;
    margin: 0 0 8px 0;
}

.ms-abvalues-cdesc {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.64;
    color: #475569;
    margin: 0 0 24px 0;
}

.ms-abvalues-footer {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.33;
    padding-top: 16px;
    width: 100%;
    margin-top: auto; /* Aligns to bottom */
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .ms-abvalues-grid {
        justify-content: center;
    }
    
    .ms-abvalues-card {
        min-width: 280px;
        flex: 1 1 calc(33.333% - 24px);
    }
}

@media (max-width: 767px) {
    .ms-abvalues-section {
        padding: 64px 16px;
    }
    
    .ms-abvalues-heading {
        font-size: 28px;
    }
    
    .ms-abvalues-card {
        width: 100%;
        flex: none;
        min-height: auto;
    }
    .ms-abvalues-container {
        padding: 0px;
    }
}

