.sifency-3d-word,
.sifency-bg-row {
    white-space: nowrap
}

.sifency-reels-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    height: 90vh;
    border-radius: 20px;
    background: #000
}

.sifency-reel-item {
    position: relative;
    width: 100%;
    min-height: 100%;
    scroll-snap-align: start;
    flex-shrink: 0;
    overflow: hidden
}

.sifency-reel-video {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.sifency-reel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, .6) 0, transparent 30%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    pointer-events: none
}

.sifency-reel-overlay * {
    pointer-events: auto
}

.sifency-reel-actions {
    position: absolute;
    right: 15px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #fff;
    text-align: center
}

.sifency-reel-actions i {
    font-size: 28px;
    cursor: pointer
}

.sifency-reel-user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #fff
}

.sifency-reel-user .avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #fff
}

.sifency-reel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, .2)
}

.sifency-3d-canvas,
.sifency-center-text {
    top: 50%;
    left: 50%;
    z-index: 10;
    pointer-events: none
}

.progress-fill {
    height: 100%;
    width: 0;
    transition: width .1s linear
}

.sifency-anim-heading-wrapper,
.sifency-true-3d-wrapper {
    width: 100%;
    perspective: 1200px;
}

.sifency-anim-heading {
    margin: 0;
    line-height: 1.2;
    word-break: break-word;
    transform-style: preserve-3d;
}

.sifency-word-span {
    display: inline-flex;
    overflow: hidden;
    padding-bottom: .1em;
    margin-bottom: -.1em
}

.sifency-3d-target,
.sifency-3d-word,
.sifency-letter-span,
.sifency-static-char {
    display: inline-block
}

.sifency-letter-span {
    will-change: transform, opacity
}

.sifency-3d-target {
    position: relative
}

.sifency-invisible-char {
    opacity: 0;
    visibility: hidden;
    display: inline-block
}

.sifency-3d-canvas {
    position: absolute;
    transform: translate(-50%, -50%)
}

.sifency-typo-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden
}

.sifency-typo-pin {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center
}

.sifency-typo-pin .sifency-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sifency-is-masked {
    height: 100vh;
    will-change: clip-path
}

.sifency-no-mask {
    height: auto;
    padding: 10vh 0
}

.sifency-typo-mask {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

.sifency-typo-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center
}

.sifency-center-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

.sifency-bg-row {
    display: flex;
    flex-wrap: nowrap;
    line-height: .8;
    transform-style: preserve-3d
}

.sifency-char {
    display: inline-block;
    margin: 0 -.02em;
    position: relative
}

.sifency-char-inner {
    display: inline-block;
    will-change: transform, filter;
    backface-visibility: visible
}

/* ======================================================================
 *  Sifency Multi-Scroll Columns  —  PREMIUM V3.0
 *  Modern, smooth, no-jump multi-directional scroll gallery (Framer Style)
 * ====================================================================== */
.sifency-scroll-track {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.sifency-scroll-sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.sifency-scroll-wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    /* Sit above the background text */
}

/* ── Entrance Animation / Margin ────────────────────────────────────────── */
.sifency-scroll-wrapper.sifency-start-from-bottom .sifency-scroll-column {
    /* Pushes the columns completely off-screen at start */
    margin-top: 100vh;
}

/* ── Background Sticky Text ────────────────────────────────────────── */
.sifency-scroll-bg-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 0;
    pointer-events: none;
    font-size: 28vw;
    /* Very large default */
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #f2f2f2;
    pointer-events: none;
}

.sifency-scroll-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    will-change: transform;
    backface-visibility: hidden;
}

.sifency-scroll-col-part {
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-shrink: 0;
}

.sifency-scroll-item {
    position: relative;
    display: block;
    overflow: hidden;
    flex-shrink: 0;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.1);
}

.sifency-scroll-image-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.sifency-scroll-image-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.0);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    backface-visibility: hidden;
}

.sifency-scroll-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    backdrop-filter: blur(0px);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), backdrop-filter 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.sifency-scroll-content {
    text-align: left;
    padding: 32px 24px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.6s 0.05s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s 0.05s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
    pointer-events: none;
}

.sifency-scroll-title {
    margin: 0 0 6px;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.sifency-scroll-category {
    display: block;
}

.sifency-scroll-item:hover .sifency-scroll-image-wrap img {
    transform: scale(1.06);
}

.sifency-scroll-item:hover .sifency-scroll-overlay {
    opacity: 1;
    backdrop-filter: blur(4px);
}

.sifency-scroll-item:hover .sifency-scroll-content {
    transform: translateY(0);
    opacity: 1;
}

.sifency-scroll-item:focus-visible {
    outline: 2px solid rgba(0, 0, 0, 0.8);
    outline-offset: 4px;
}

.sifency-scroll-item:focus-visible .sifency-scroll-overlay {
    opacity: 1;
    backdrop-filter: blur(4px);
}

.sifency-scroll-item:focus-visible .sifency-scroll-content {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 767px) {
    .sifency-scroll-track {
        height: auto !important;
    }

    .sifency-scroll-sticky {
        position: relative;
        height: auto;
        overflow: visible;
    }

    .sifency-scroll-wrapper {
        flex-direction: column !important;
    }

    .sifency-scroll-column {
        width: 100% !important;
        flex: none !important;
        transform: none !important;
        will-change: auto;
    }

    .sifency-scroll-col-clone {
        display: none !important;
    }

    .sifency-scroll-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 40%);
    }

    .sifency-scroll-content {
        opacity: 1;
        transform: translateY(0);
        padding: 24px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sifency-scroll-column {
        transform: none !important;
    }

    .sifency-scroll-sticky {
        position: relative;
        height: auto;
        overflow: visible;
    }

    .sifency-scroll-track {
        height: auto !important;
    }

    .sifency-scroll-col-clone {
        display: none !important;
    }

    .sifency-scroll-image-wrap img,
    .sifency-scroll-overlay,
    .sifency-scroll-content {
        transition: none !important;
    }
}

/* ─────────────────────────────────────────────
   Sifency 3D Letter
   ───────────────────────────────────────────── */
/* Setup Perspective */
.sifency-3d-title-wrap {
    perspective: 1200px;
    text-align: center;
}

.sifency-3d-title {
    margin: 0;
    display: inline-block;
    transform-style: preserve-3d;
}

.sifency-word-span {
    display: inline-flex;
    align-items: center;
    transform-style: preserve-3d;
}

.sifency-letter-span {
    display: inline-block;
    position: relative;
}

/* The Extruded Wrapper that Rotates */
.sifency-3d-extruded-wrap {
    transform-style: preserve-3d;
    transform-origin: center center;
    animation: sifencyDeepSpin 6s linear infinite;
    margin: 0 5px;
    /* Slight spacing for the letter */
}

/* The Layers */
.sifency-3d-layer {
    position: absolute;
    top: 0;
    left: 0;
    /* The magic happens here: pushing each layer 1px further back */
    transform: translateZ(calc(-1px * var(--layer-index)));
    -webkit-text-stroke: 1px transparent;
    /* Smooths edges in Safari/Chrome */
}

/* The Front Face (Must be relative so the wrapper gets a physical width/height) */
.sifency-3d-layer.sifency-3d-front {
    position: relative;
    transform: translateZ(0);
    z-index: 10;
}

/* The Rotation Animation */
@keyframes sifencyDeepSpin {
    0% {
        transform: rotateY(0deg);
    }

    100% {
        transform: rotateY(360deg);
    }
}


/* ─────────────────────────────────────────────
   Sifency Reveal Frame — Core Layout
   ───────────────────────────────────────────── */

.sa-reveal-frame-main {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* ── Frame 1: Base layer ─────────────────────── */
.sa-reveal-frame-base-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

/* ── Frame 2: Circle wrapper ─────────────────── */
.sa-reveal-frame-circle-wrapper {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
}

.sa-reveal-frame-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ── Frame 3: Reveal layer ───────────────────── */
.sa-reveal-frame-reveal-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    opacity: 0;
    pointer-events: none;
}

/*
 * FIX — Elementor template responsive issue.
 *
 * When Elementor renders a section/container inside an absolute-positioned
 * ancestor it loses the correct reference viewport for breakpoints.
 * Setting `position: static` on the inner wrapper restores the normal
 * document-flow width context that Elementor's internal CSS relies on,
 * while the outer absolute layer still handles the stacking/animation.
 *
 * `overflow: hidden` on the main wrapper clips anything that overflows
 * at mobile sizes so nothing bleeds outside the component.
 */
.sa-reveal-frame-reveal-inner {
    position: static;
}

/*
 * Edge-case: if reveal frame is enabled but circle is disabled,
 * the content should be fully visible immediately (no clipping animation).
 */
.sa-reveal-frame-reveal-layer.sa-reveal-no-clip {
    opacity: 1;
    pointer-events: auto;
}

/* ─────────────────────────────────────────────
   Sifency Reveal Frame — Progress Dots
   ───────────────────────────────────────────── */

.sifency-reveal-progress {
    position: absolute;
    bottom: clamp(20px, 4vh, 40px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 100;
    mix-blend-mode: difference;
    pointer-events: none;
}

.srp-dot {
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        background 0.35s ease,
        border-radius 0.4s ease;
}

.srp-dot.is-revealed {
    background: rgba(255, 255, 255, 0.55);
}

.srp-dot.is-active {
    width: 24px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 1);
}