:root {
    --primary-color: #003049;
    --accent-color: #B00000;
    --surface-color: #ffffff;
    --text-main: #333333;
    --text-muted: #6c757d;
    --border-radius-card: 16px;
    --bg-light: #f8f9fa;
}

.values-section {
    padding: 80px 0;
    background-color: var(--surface-color);
    position: relative;
    overflow: hidden;
}

.values-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.values-container::before {
    content: '';
    position: absolute;
    top: 50px;
    bottom: 50px;
    left: 45px; 
    width: 2px;
    background: linear-gradient(to bottom, rgba(176,0,0,0.1), rgba(0,48,73,0.1));
    z-index: 1;
}

@media (max-width: 767px) {
    .values-container::before {
        display: none; 
    }
}

.value-item {
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: var(--border-radius-card);
    box-shadow: 0 5px 25px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; 
    border: 2px solid #acacac66;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.value-item:last-child {
    margin-bottom: 0;
}

.value-icon-box {
    width: 115px;
    flex-shrink: 0;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 30px;
    position: relative;
    border-right: 1px solid #eee;
}

@media (max-width: 767px) {
    .value-item {
        flex-direction: column;
    }
    .value-icon-box {
        width: 100%;
        height: 80px;
        flex-direction: row;
        padding: 0 25px;
        justify-content: space-between;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
}

.value-number-bg {
    position: absolute;
    bottom: -15px;
    left: 5px;
    font-size: 5rem;
    font-weight: 900;
    color: rgba(176, 0, 0, 0.05);
    line-height: 1;
    z-index: 1;
}

@media (max-width: 767px) {
    .value-number-bg {
        bottom: -5px;
        right: 10px;
        left: auto;
        font-size: 4rem;
    }
}

.value-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(176, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

.value-content {
    padding: 35px 40px;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

@media (max-width: 767px) {
    .value-content {
        padding: 25px;
    }
}

.value-title {
    color: var(--primary-color);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.value-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
}

.value-content p:last-child {
    margin-bottom: 0;
}

.value-content strong {
    color: var(--text-main);
    font-weight: 600;
}