.values-grid {
    background-color: #fff;
}

.values-grid h2 {
    margin-bottom: 40px;
    color: #0a3148;
    text-align: center;
}

.values-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.value-box {
    position: relative;
    z-index: 1;
    padding: 80px 80px;
    border-radius: 30px;
    color: #f4f4f4;
    text-align: center;
    overflow: hidden;
    margin-top: 15px;
}

.value-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: transform 0.3s ease;
}

.value-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-color: rgba(10, 49, 72, 0.8);
    /* Blue overlay */
}

.value-box:hover::before {
    transform: scale(1.05);
}

.value-box h3 {
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    color: #ef7f16; /* Changed to orange */
}

.values-container .value-box:nth-child(1)::before {
    background-image: var(--bg-value-1);
}

.values-container .value-box:nth-child(2)::before {
    background-image: var(--bg-value-2);
}

.values-container .value-box:nth-child(3)::before {
    background-image: var(--bg-value-3);
}

.values-container .value-box:nth-child(4)::before {
    background-image: var(--bg-value-4);
}