/* =========================================================
   VISION & MISSION  —  Our Company
   Redesigned layout (mockup)
   Palette: --primary-color #FFE600 · text #262424 / #484848
   ========================================================= */

.vm-page {
    --vm-yellow: #ffe600;
    --vm-yellow-soft: #fff7b0;
    --vm-ink: #1c1c1c;
    --vm-ink-soft: #484848;
    --vm-grey: #858585;
    --vm-radius: 26px;
    --vm-shadow: 0 24px 60px -28px rgba(0, 0, 0, .35);

    width: 100%;
    overflow: hidden;
    color: var(--vm-ink);
}

/* ===== HEADER (shared with OurTeam) — base styles, since our-team.css
   is not loaded on this page ===== */
.vm-page .our-team-section {
    margin-bottom: 0;
}

.vm-page .our-team-wrapper {
    position: relative;
    overflow: hidden;
    background-image: none;
}

.vm-page .our-team-image {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 40px;
}

/* ============================ VISION ============================ */
.vm-vision {
    position: relative;
    background: #ffffff;
    padding: 40px 5% 80px;
    overflow: hidden;
}

/* original background icon (right side) */
.vm-vision::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url('../images/bg-vision.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: 300px auto;
}

.vm-vision__inner { z-index: 1; }

.vm-vision__inner {
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    align-items: center;
    gap: clamp(32px, 6vw, 90px);
}

.vm-vision__text {
    position: relative;
    display: flex;
    flex-direction: column;
}

.vm-vision__label {
    font-weight: 900;
    font-size: clamp(34px, 4.6vw, 56px);
    letter-spacing: 2px;
    line-height: 1;
    color: var(--vm-ink);
}

.vm-vision__accent {
    display: block;
    width: 72px;
    height: 7px;
    border-radius: 6px;
    margin: 18px 0 26px;
    background: var(--vm-yellow);
}

.vm-vision__desc {
    margin: 0;
    font-size: clamp(18px, 1.9vw, 24px);
    line-height: 1.85;
    color: var(--vm-ink-soft);
    font-weight: 500;
}

.vm-vision__desc strong {
    color: var(--vm-ink);
    font-weight: 900;
}

/* ---- profile photo ---- */
.vm-vision__photo {
    position: relative;
    margin: 0;
    justify-self: center;
    width: clamp(240px, 26vw, 340px);
    aspect-ratio: 1 / 1;
}

.vm-vision__photo img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #fff;
    box-shadow: var(--vm-shadow);
}

.vm-vision__photo-ring {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    z-index: 1;
    background:
        conic-gradient(from 220deg, var(--vm-yellow), #ffec66 35%, var(--vm-yellow) 70%, #ffd400);
    -webkit-mask: radial-gradient(circle, transparent 0 calc(50% - 8px), #000 calc(50% - 8px));
            mask: radial-gradient(circle, transparent 0 calc(50% - 8px), #000 calc(50% - 8px));
    animation: vmSpin 18s linear infinite;
}

@keyframes vmSpin {
    to { transform: rotate(360deg); }
}

/* ============================ MISSION ============================ */
.vm-mission {
    position: relative;
    background:
        radial-gradient(120% 90% at 50% -10%, #fff07a 0%, var(--vm-yellow) 55%, #ffd400 100%);
    padding: 70px 5% 90px;
}

/* original background icon (left side) */
.vm-mission::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url('../images/bg-mission.png');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 300px auto;
    filter: brightness(0.9);
}

.vm-mission__inner {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.vm-mission__head {
    text-align: center;
    margin-bottom: 52px;
}

.vm-mission__title {
    margin: 0;
    font-weight: 900;
    font-size: clamp(40px, 5vw, 60px);
    letter-spacing: 2px;
    color: var(--vm-ink);
}

.vm-mission__subtitle {
    margin: 10px 0 0;
    font-size: clamp(16px, 1.7vw, 20px);
    font-weight: 600;
    color: rgba(28, 28, 28, .62);
}

/* ---- cards grid ---- */
.vm-mission__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.vm-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #ffffff;
    border-radius: var(--vm-radius);
    padding: 56px 28px 30px;
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .4);
    transition: transform .28s ease, box-shadow .28s ease;
    overflow: hidden;
}

.vm-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 6px;
    background: var(--vm-yellow);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 55px -22px rgba(0, 0, 0, .45);
}

.vm-card:hover::before { transform: scaleX(1); }

.vm-card__no {
    position: absolute;
    top: 16px;
    right: 22px;
    font-weight: 900;
    font-size: 46px;
    line-height: 1;
    color: rgba(255, 214, 0, .85);
    letter-spacing: -1px;
}

.vm-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(145deg, #fff7b0, var(--vm-yellow));
    color: var(--vm-ink);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .04);
}

.vm-card__icon svg {
    width: 30px;
    height: 30px;
}

.vm-card__text {
    margin: 0;
    font-size: 17.5px;
    line-height: 1.7;
    font-weight: 600;
    color: var(--vm-ink-soft);
}

/* card #5 spans the remaining columns on the last row, centered */
.vm-card--wide {
    grid-column: span 1;
}

/* ============================ RESPONSIVE ============================ */
@media (max-width: 992px) {
    .vm-vision__inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .vm-vision__text { align-items: center; }
    .vm-vision__photo { order: -1; }

    .vm-mission__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .vm-mission__grid {
        grid-template-columns: 1fr;
    }
    .vm-card { padding: 50px 24px 26px; }
    .vm-vision__desc { font-size: 17px; }
}
