/* Why Choose Us Block - Match Reference Design */

.veks-why-choose {
    background-color: transparent;
    padding: 100px 0;
    color: #fff;
    font-family: inherit;
}

.veks-why-choose__inner {
    max-width: 1320px; /* Standard site container */
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.veks-why-choose__header {
    margin-bottom: 60px;
    text-align: left;
    max-width: 800px;
}

.veks-why-choose__heading {
    font-family: var(--veks-heading-font);
    font-size: clamp(32px, 2vw, 52px);
    font-weight: 400;
    margin: 0;
    color: #ffffff;
    line-height: 1.1;
}

.veks-why-choose__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-content: center;
}

/* For 5 items, last two items can be centered by making the grid use flex or custom spanning */
@media (min-width: 992px) {
    .veks-why-choose__card:nth-child(4) {
        grid-column: 1 / 3;
        justify-self: end;
        width: calc(50% + 15px); /* approximate center */
    }
    .veks-why-choose__card:nth-child(5) {
        grid-column: 2 / 4;
        justify-self: start;
        width: calc(50% + 15px); /* approximate center */
    }
}
/* Actually, a simpler way to center 5 items is flexbox */
.veks-why-choose__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 30px;
}

.veks-why-choose__card {
    background: #141414; /* Dark solid color like reference */
    border-radius: 12px;
    padding: 50px 40px;
    color: #fff;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
}

.veks-why-choose__card:hover {
    transform: translateY(-5px);
    border-color: rgba(213, 154, 87, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Number box instead of icon */
.veks-why-choose__card-num {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(213, 154, 87, 0.1);
    border: 1px solid rgba(213, 154, 87, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 500;
    color: #d59a57;
    margin-bottom: 30px;
    font-family: var(--veks-heading-font);
}

.veks-why-choose__card-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 20px 0;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.veks-why-choose__card-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #999999;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .veks-why-choose__card {
        flex: 0 0 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .veks-why-choose__grid {
        flex-direction: column;
        gap: 20px;
    }
    .veks-why-choose__card {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 40px 30px;
    }
}
