/* =========================================================
   VISION & MISSION  —  Alternative layout (v2)
   Loaded AFTER vision.css. Only overrides the MISSION cards:
   professional cards with the icon lifted OUTSIDE the box.
   ========================================================= */

.vm-mission--v2 {
    --vm-yellow: #ffe600;
    --vm-ink: #1c1c1c;
    --vm-ink-soft: #484848;
}

/* extra padding so the first row of icons has breathing room */
.vm-mission--v2 {
    padding-top: 78px;
}

/* switch the grid to a centered flex row so the last row
   (cards 04 & 05) sits centered instead of left-aligned */
.vm-mission--v2 .vm-mission__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 80px 30px;          /* row gap leaves space for the floating icons */
    margin-top: 64px;
}

/* ---------- CARD ---------- */
.vm2-card {
    position: relative;
    flex: 0 1 330px;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .05);
    border-radius: 24px;
    padding: 56px 30px 34px;
    box-shadow: 0 22px 50px -28px rgba(0, 0, 0, .45);
    transition: transform .3s ease, box-shadow .3s ease;
}

.vm2-card::before {
    content: "";
    position: absolute;
    top: 66px;
    left: 50%;
    width: 76px;
    height: 58px;
    transform: translateX(-50%);
    border-radius: 50%;
    background:
        radial-gradient(ellipse at center, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .78) 42%, rgba(255, 255, 255, 0) 72%),
        radial-gradient(ellipse at center, rgba(0, 0, 0, .13) 0%, rgba(0, 0, 0, .06) 46%, rgba(0, 0, 0, 0) 74%);
    box-shadow: 0 22px 34px -22px rgba(0, 0, 0, .55);
    pointer-events: none;
}

.vm2-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 36px 66px -26px rgba(0, 0, 0, .5);
}

/* ---------- FLOATING ICON (outside the box) ---------- */
.vm2-card__icon {
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    width: 78px;
    height: 78px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(150deg, #2a2a2a 0%, #111111 100%);
    color: var(--vm-yellow);
    border: 4px solid #ffffff;
    box-shadow: 0 16px 30px -10px rgba(0, 0, 0, .55);
    transition: transform .3s ease;
}

/* subtle yellow halo behind the badge */
.vm2-card__icon::before {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 2px solid rgba(255, 214, 0, .55);
    opacity: 0;
    transition: opacity .3s ease, transform .3s ease;
}

.vm2-card:hover .vm2-card__icon {
    transform: translateX(-50%) translateY(-5px) rotate(-5deg);
}

.vm2-card:hover .vm2-card__icon::before {
    opacity: 1;
    transform: scale(1.04);
}

.vm2-card__icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* ---------- NUMBER ---------- */
.vm2-card__no {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 4px;
    font-weight: 900;
    font-size: 54px;
    line-height: .95;
    letter-spacing: 0;
    color: var(--vm-yellow);
    text-shadow:
        0 2px 0 rgba(255, 255, 255, .9),
        0 12px 18px rgba(255, 214, 0, .24);
}

.vm2-card__no::after {
    content: "";
    display: block;
    width: 54px;
    height: 12px;
    border-radius: 50%;
    margin: -3px auto 0;
    background: radial-gradient(ellipse at center, rgba(255, 214, 0, .28) 0%, rgba(255, 214, 0, .12) 46%, rgba(255, 214, 0, 0) 76%);
    filter: blur(.2px);
}

/* ---------- TEXT ---------- */
.vm2-card__text {
    margin: 20px 0 0;
    font-size: 16px;
    line-height: 1.75;
    font-weight: 500;
    color: var(--vm-ink-soft);
}

.vm2-card__text p {
    margin: 0;
    line-height: inherit;
}

.vm2-card__text strong {
    display: block;
    margin-bottom: 6px;
    font-weight: 900;
    color: var(--vm-ink);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
    .vm-mission--v2 .vm-mission__grid {
        gap: 78px 26px;
    }
    .vm2-card {
        flex: 0 1 300px;
    }
}

@media (max-width: 600px) {
    .vm-mission--v2 .vm-mission__grid {
        gap: 72px 0;
        margin-top: 56px;
    }
    .vm2-card {
        flex: 1 1 100%;
        max-width: 420px;
    }
}
