/* =============================================
   MY VERTICAL SLIDER — Frontend Styles v3.0
   Brand colors: #008bc9 (primary) | #feeb41 (secondary)
   ============================================= */

*, *::before, *::after { box-sizing: border-box; }

.mvsm-wrapper {
    display: flex;
    width: 100%;
    height: 620px;
    font-family: Georgia, 'Times New Roman', serif;
    position: relative;
    overflow: hidden;
    background: #006fa0;
}

/* ══════════════════════════════════════════════
   LEFT PANEL
══════════════════════════════════════════════ */
.mvsm-left {
    position: relative;
    flex: 0 0 50%;
    overflow: hidden;
}

.mvsm-bg-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.mvsm-bg-layer.active {
    opacity: 1;
}

.mvsm-left::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(0, 0, 0, 0.40) 0%,
        rgba(0, 0, 0, 0.12) 65%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

.mvsm-left-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 36px 50px 44px;
}

.mvsm-section-title {
    font-size: 2.4rem;
    font-weight: 300;
    color: #fff;
    margin: 0 0 28px 0;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 6px rgba(0,0,0,0.45);
    font-style: italic;
}

/* ── DOT NAV ──────────────────────────────── */
.mvsm-dot-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    position: relative;
    padding-left: 8px;
}

.mvsm-dot-nav::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 18px;
    bottom: 18px;
    width: 1px;
    background: rgba(255,255,255,0.30);
}

.mvsm-nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    padding: 7px 0;
    transition: all 0.22s ease;
    position: relative;
}

.mvsm-nav-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.65);
    background: transparent;
    flex-shrink: 0;
    transition: all 0.22s ease;
    position: relative;
    z-index: 1;
}

.mvsm-nav-item.active .mvsm-nav-dot {
    background: #feeb41;
    border-color: #feeb41;
    width: 15px;
    height: 15px;
    box-shadow: 0 0 0 3px rgba(254, 235, 65, 0.28);
}

.mvsm-nav-label {
    color: rgba(255,255,255,0.70);
    font-size: 0.92rem;
    letter-spacing: 0.025em;
    transition: all 0.22s ease;
    font-style: italic;
}

.mvsm-nav-item.active .mvsm-nav-label {
    color: #feeb41;
    font-weight: 700;
    font-style: normal;
}

.mvsm-nav-item:hover:not(.active) .mvsm-nav-label {
    color: #fff;
}

.mvsm-nav-item:hover:not(.active) .mvsm-nav-dot {
    border-color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.15);
}

/* ══════════════════════════════════════════════
   CENTER COLUMN — sits exactly on the 50% seam
══════════════════════════════════════════════ */
.mvsm-center {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 20;
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* ── ARROWS ───────────────────────────────── */
.mvsm-arrow {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255,255,255,0.94);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 3px 16px rgba(0,0,0,0.20);
    flex-shrink: 0;
    pointer-events: all;
    padding: 0;
}

.mvsm-arrow svg {
    width: 17px;
    height: 17px;
    stroke: #008bc9;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}

.mvsm-arrow:hover {
    background: #feeb41;
    box-shadow: 0 6px 22px rgba(0,0,0,0.28);
    transform: scale(1.08);
}

.mvsm-arrow:hover svg {
    stroke: #006fa0;
}

.mvsm-arrow:active {
    transform: scale(0.97);
}

.mvsm-arrow-gap {
    height: 18px;
    flex-shrink: 0;
}

/* ── CIRCLE IMAGE ─────────────────────────── */
.mvsm-circle-wrapper {
    position: relative;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow:
        -6px 0 28px rgba(0, 0, 0, 0.20),
         8px 0 32px rgba(0, 0, 0, 0.38);
    border: 5px solid rgba(255,255,255,0.55);
}

.mvsm-circle-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.mvsm-circle-slide.active {
    opacity: 1;
}

/* KEY FIX: image fills the entire circle, no gaps */
.mvsm-circle-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ══════════════════════════════════════════════
   RIGHT PANEL — title+desc together at TOP,
   quote box anchored at BOTTOM
══════════════════════════════════════════════ */
.mvsm-right {
    flex: 0 0 50%;
    background-color: #008bc9;
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Subtle texture overlay for depth */
.mvsm-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(0,0,0,0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.mvsm-right-slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    /* Title + desc group at top; quote at bottom */
    justify-content: space-between;
    padding: 52px 56px 52px 84px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
    pointer-events: none;
}

.mvsm-right-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Title + description grouped together at top */
.mvsm-top-group {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.mvsm-title {
    font-size: 2.4rem;
    font-weight: 300;
    text-align: center;
    margin: 0;
    color: #fff;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* Yellow accent underline beneath title */
.mvsm-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: #feeb41;
    margin: 14px auto 0;
    border-radius: 2px;
}

.mvsm-description {
    font-size: 1rem;
    line-height: 1.85;
    text-align: center;
    color: rgba(255,255,255,0.88);
    margin: 0;
    /* Extra left padding clears the circle image, which bleeds
       ~120px into the right panel from the center seam */
    padding: 16px 24px 0 84px;
}

/* Quote box anchored at bottom */
.mvsm-quote-box {
    border: 1px solid rgba(254, 235, 65, 0.45);
    border-left: 3px solid #feeb41;
    padding: 20px 28px;
    text-align: center;
    background: rgba(0,0,0,0.08);
    flex-shrink: 0;
}

.mvsm-quote-text {
    font-weight: 700;
    font-size: 0.96rem;
    color: #feeb41;
    margin: 0 0 8px 0;
    line-height: 1.55;
}

.mvsm-quote-author {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.65);
    font-style: italic;
    margin: 0;
}

/* ══════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════ */
@media (max-width: 960px) {
    .mvsm-wrapper {
        flex-direction: column;
        height: auto;
    }

    .mvsm-left {
        flex: none;
        height: 360px;
    }

    .mvsm-center {
        position: relative;
        left: unset;
        top: unset;
        transform: none;
        width: 100%;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 0 24px;
        height: auto;
        margin: -34px 0;
        z-index: 20;
    }

    .mvsm-arrow-gap { display: none; }

    .mvsm-circle-wrapper {
        width: 150px;
        height: 150px;
        order: 2;
    }

    .mvsm-arrow { order: 1; }
    .mvsm-arrow.mvsm-down { order: 3; }

    .mvsm-right { flex: none; }

    .mvsm-right-slide {
        position: relative;
        padding: 56px 28px 36px;
        opacity: 1;
        transform: none;
        display: none;
        min-height: 300px;
    }

    .mvsm-right-slide.active {
        display: flex;
    }
}

@media (max-width: 580px) {
    .mvsm-section-title { font-size: 1.8rem; }
    .mvsm-title { font-size: 1.85rem; }
    .mvsm-left { height: 280px; }
    .mvsm-left-content { padding: 30px 22px; }
    .mvsm-right-slide { padding: 44px 20px 28px; }
    .mvsm-description { padding: 16px 8px 0; }
    .mvsm-circle-wrapper { width: 120px; height: 120px; }
    .mvsm-arrow { width: 44px; height: 44px; }
}
