
/* ==========================================================
   Layout Stability — prevents CLS/jump on GSAP pinned pages
   ========================================================== */

/* Ensure images don't cause height shifts */
img { max-width: 100%; }

/* Prevent Elementor sections from having auto-height during pin */
.elementor-section.pin-spacer,
.e-container.pin-spacer,
.e-con.pin-spacer {
    box-sizing: border-box;
}

/* ==========================================================
   Radan Agency Addons v1.2.0 — Main Stylesheet
   Assets are registered here and only enqueued on pages
   that actually contain a Radan widget (via get_style_depends).
   ========================================================== */

/* ──────────────────────────────────────────────────────────
   SHARED: Radan Button
   Plain button used by widgets that have an optional CTA link
   (Team Showcase, Video Reveal). No animation/hover-effect system —
   each widget exposes its own Style-tab color/typography/border
   controls; style all `.rdn-btn` instances consistently from there.
   ────────────────────────────────────────────────────────── */

.rdn-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;

    /* defaults — overridden by each widget's Style-tab controls */
    padding: 13px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid transparent;
    background: #ffffff;
    color: #0f0f0f;
    transition: color 0.25s, border-color 0.25s, background-color 0.25s;
}

/* Icon */
.rdn-btn__icon { display: inline-flex; align-items: center; line-height: 1; }
.rdn-btn__icon--before { order: -1; }
.rdn-btn__icon--after  { order: 1;  }

/* ==========================================================
   VIDEO REVEAL WIDGET
   ========================================================== */

.radan-vr { position: relative; width: 100%; }

.radan-vr__spacer {
    position: relative;
}

.radan-vr__pin {
    /* No position:sticky here on purpose — GSAP's own pin:true (in
       video-reveal.js) applies position:fixed dynamically only while the
       ScrollTrigger is active and removes it after, and auto-reserves
       exactly the scroll space needed. This also sidesteps any page-level
       ancestor (overflow/transform) that could otherwise silently break
       CSS position:sticky. */
    height: 100vh; width: 100%;
    overflow: hidden;
    background: #0f0f0f;
}

.radan-vr__layout {
    position: absolute; inset: 0;
    display: flex; align-items: center;
    gap: 48px; padding: 0 80px;
}
.radan-vr__layout--left  .radan-vr__text      { order: 1; }
.radan-vr__layout--left  .radan-vr__video-col { order: 2; }
.radan-vr__layout--right .radan-vr__text      { order: 2; }
.radan-vr__layout--right .radan-vr__video-col { order: 1; }

.radan-vr__text {
    flex: 0 0 45%; position: relative;
    z-index: 10; will-change: opacity;
}

.radan-vr__badge {
    display: inline-block; margin-bottom: 14px;
    font-size: 12px; padding: 4px 14px; border-radius: 100px;
    background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.15); letter-spacing: 0.02em;
}
.radan-vr__heading {
    font-size: clamp(22px,3.5vw,52px); font-weight: 600;
    line-height: 1.2; color: #fff; margin: 0 0 10px;
}
.radan-vr__subheading {
    font-size: clamp(14px,1.4vw,18px); color: rgba(255,255,255,0.6);
    margin: 0 0 14px; line-height: 1.4;
}
.radan-vr__desc {
    font-size: clamp(13px,1.3vw,16px); line-height: 1.8;
    color: rgba(255,255,255,0.5); margin: 0 0 24px;
}
.radan-vr__desc p { margin: 0 0 8px; }
.radan-vr__desc p:last-child { margin-bottom: 0; }

.radan-vr__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* backward-compat aliases */
.radan-vr__btn { /* legacy — now use .rdn-btn */ }

.radan-vr__video-col {
    flex: 1; display: flex;
    align-items: center; justify-content: flex-end;
    height: 100%; position: relative;
}
.radan-vr__video-ph {
    width: 100%; height: 55vh; max-height: 500px;
    visibility: hidden; border-radius: 12px; flex-shrink: 0;
}
.radan-vr__video-box {
    position: absolute; overflow: hidden;
    will-change: left,top,width,height,border-radius; z-index: 5;
}
.radan-vr__video-box video,
.radan-vr__video-box iframe {
    width: 100%; height: 100%; object-fit: cover;
    display: block; border: none; pointer-events: none;
}
.radan-vr__video-box.radan-vr--fullscreen video,
.radan-vr__video-box.radan-vr--fullscreen iframe { pointer-events: auto; }

.radan-vr__video-overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    z-index: 10; padding: 40px;
    opacity: 0; pointer-events: none;
    background: linear-gradient(to top,rgba(0,0,0,.6) 0%,transparent 60%);
}
.radan-vr__vo-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; max-width: 600px; }
.radan-vr__vo-heading { font-size: clamp(22px,3vw,48px); font-weight: 600; color: #fff; margin: 0; line-height: 1.2; }
.radan-vr__vo-text    { font-size: clamp(13px,1.4vw,17px); color: rgba(255,255,255,.7); margin: 0; line-height: 1.7; }

/* Editor helpers */
.radan-vr__video-box--editor { position: relative !important; left: auto !important; top: auto !important; width: 100% !important; height: 55vh !important; max-height: 500px; border-radius: 12px !important; background: #1a1a2e; }
.radan-vr--editor .radan-vr__spacer  { height: auto !important; }
.radan-vr--editor .radan-vr__pin     { position: relative !important; height: auto; overflow: visible; padding-bottom: 60px; }
.radan-vr--editor .radan-vr__layout  { position: relative !important; padding-top: 60px; padding-bottom: 40px; flex-wrap: wrap; }
.radan-vr__no-video, .radan-vr__video-thumb { width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; color:rgba(255,255,255,.3); font-size:14px; }
.radan-vr__play-icon { width:50px; height:50px; border-radius:50%; background:rgba(255,255,255,.1); display:flex; align-items:center; justify-content:center; font-size:20px; color:#fff; }
.radan-vr__video-overlay--preview { opacity:1!important; pointer-events:auto; position:absolute!important; }
.radan-vr__editor-placeholder { padding:40px; text-align:center; background:rgba(255,255,255,.05); border-radius:8px; color:rgba(255,255,255,.4); font-size:14px; }

/* Responsive */
@media (max-width: 1024px) {
    .radan-vr__layout { padding: 0 48px; gap: 32px; }
    .radan-vr__video-ph { height: 45vh; }
}
@media (max-width: 768px) {
    /* On mobile: disable sticky scroll animation, show static layout */
    .radan-vr__spacer { height: auto !important; }
    .radan-vr__pin    { position: relative !important; height: auto !important; overflow: visible; padding: 60px 0; }
    .radan-vr__layout { position: relative !important; flex-direction: column; padding: 0 24px; gap: 32px; height: auto; }
    .radan-vr__text   { flex: none !important; width: 100%; order: 1 !important; }
    .radan-vr__video-col { width: 100%; order: 2 !important; height: auto; justify-content: center; }
    .radan-vr__video-ph  { height: 56vw; max-height: none; }
    .radan-vr__video-box {
        /* on mobile: static position, no JS animation */
        position: relative !important;
        left: auto !important; top: auto !important;
        width: 100% !important; height: 56vw !important;
        border-radius: 12px !important;
    }
}




/* ==========================================================
   TEXT FILL
   ========================================================== */

.radan-tf { position: relative; }

.radan-tf__wrap { position: relative; }

.radan-tf__text {
    margin: 0;
    line-height: 1.4;
    /* word-wrap so long text wraps inside container */
    word-break: normal;
    overflow-wrap: break-word;
}

/* Each word/char wrapper — inline-block so absolute fill works
   AND words still wrap to next line naturally */
.radan-tf__token {
    display: inline-block;
    position: relative;
    vertical-align: top;
}

/* Base: block so it sizes the wrapper correctly */
.radan-tf__base {
    display: block;
}

/* Fill: absolute overlay, same size as base */
.radan-tf__fill {
    display: block;
    position: absolute;
    left: 0; top: 0;
    white-space: nowrap;
    pointer-events: none;
}

.radan-tf--editor .radan-tf__text--preview { opacity: 0.35; }


/* ==========================================================
   TEAM SHOWCASE
   ========================================================== */

.rts { position: relative; --rts-accent: #d4af37; }

.rts__wrap { position:relative; width:100%; height:100vh; overflow:hidden; background:#0a0a0a; cursor:grab; }
.rts__wrap:active { cursor:grabbing; }

.rts__container {
    display:flex; align-items:center; height:100%;
    padding-left:10vw; padding-right:25vw;
    width:max-content; will-change:transform;
    touch-action:none; user-select:none; -webkit-user-select:none;
}
.rts__intro { width:380px; margin-right:8vw; flex-shrink:0; display:flex; flex-direction:column; gap:16px; }
.rts__badge { font-size:.8rem; text-transform:uppercase; letter-spacing:.3em; display:block; }
.rts__intro-heading { font-size:clamp(1.8rem,3vw,3.5rem); font-weight:300; line-height:1.1; letter-spacing:-.03em; color:#fff; margin:0; }
.rts__intro-sub  { font-size:.95rem; color:rgba(255,255,255,.55); margin:0; line-height:1.5; }
.rts__intro-desc { font-size:.9rem; line-height:1.7; color:rgba(255,255,255,.4); }
.rts__intro-desc p { margin:0 0 8px; }
.rts__intro-desc p:last-child { margin-bottom:0; }

.rts__track { display:flex; gap:40px; }

.rts__card {
    position:relative; width:400px; height:520px; flex-shrink:0;
    overflow:hidden; background:#121212;
    will-change:transform; transform-origin:center; cursor:pointer;
}
.rts__card-img-wrap { width:100%; height:100%; position:relative; overflow:hidden; }
.rts__card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center top;
    display: block;
    pointer-events: none;
    transition: filter .6s cubic-bezier(.25,1,.5,1),
                transform .6s cubic-bezier(.25,1,.5,1);
}
.rts__card:hover .rts__card-img {
    transform: scale(1.04);
}
.rts__card-img--gs { filter:grayscale(100%) brightness(.8); }
.rts__card:hover .rts__card-img--gs { filter:grayscale(0%) brightness(.9); }
.rts__card-placeholder { width:100%; height:100%; display:flex; align-items:center; justify-content:center; background:#1a1a1a; font-size:64px; color:#333; }

.rts__card-trigger {
    position:absolute; top:1.5rem; right:1.5rem;
    width:44px; height:44px; border-radius:50%;
    background:rgba(10,10,10,.5); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px);
    border:1px solid rgba(255,255,255,.1); color:#fff;
    display:flex; align-items:center; justify-content:center; z-index:5;
    opacity:0; transform:translate(-8px,8px);
    transition:opacity .4s cubic-bezier(.25,1,.5,1),transform .4s cubic-bezier(.25,1,.5,1),border-color .3s;
    pointer-events:none;
}
.rts__card-trigger svg { width:16px; height:16px; }
.rts__card:hover .rts__card-trigger { opacity:1; transform:translate(0,0); border-color:var(--rts-accent); }
.rts__card:hover .rts__card-trigger svg { color:var(--rts-accent); }

.rts__card-meta {
    position:absolute; bottom:0; left:0; width:100%; padding:2.5rem;
    background:linear-gradient(to top,rgba(10,10,10,.9) 0%,rgba(10,10,10,0) 100%);
    z-index:2; pointer-events:none;
    transition:transform .4s cubic-bezier(.25,1,.5,1);
}
.rts__card-name { font-size:1.8rem; font-weight:400; margin:0 0 4px; letter-spacing:-.01em; color:#fff; }
.rts__card-role { font-size:.85rem; text-transform:uppercase; letter-spacing:.15em; color:#808080; margin:0; }

.rts__card-social {
    /* position + flex-direction + gap set inline by PHP based on widget settings */
    position: absolute;
    display: flex;
    align-items: center;
    z-index: 4;
    pointer-events: none;
}
.rts__card:hover .rts__card-social { pointer-events: auto; }

.rts__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(10,10,10,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    text-decoration: none;
    flex-shrink: 0;
    padding: 0.35em;   /* proportional padding — scales with font-size */
    /* Staggered slide-in — direction depends on flex-direction */
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity  .38s calc(var(--si,0) * .07s) cubic-bezier(.25,1,.5,1),
        transform .38s calc(var(--si,0) * .07s) cubic-bezier(.25,1,.5,1),
        border-color .2s,
        color .2s;
}
/* When social row direction is column, icons slide in from bottom */
.rts__card-social[style*="column"] .rts__social-link {
    transform: translateY(10px);
}
/* When direction is row, slide in from side */
.rts__card-social[style*="row"] .rts__social-link {
    transform: translateX(-8px);
}
.rts__card:hover .rts__social-link {
    opacity: 1;
    transform: translate(0,0);
}
.rts__social-link:hover {
    color: var(--rts-accent, #fff);
    border-color: var(--rts-accent, rgba(255,255,255,0.5));
}
.rts__social-link i,
.rts__social-link svg {
    pointer-events: none;
    line-height: 1;
    /* inherit font-size from parent so the Elementor control works */
    font-size: inherit;
    width: 1em;
    height: 1em;
}

.rts__progress-bar { position:absolute; bottom:3.9rem; left:10vw; width:65vw; height:1px; background:rgba(255,255,255,.1); z-index:10; pointer-events:none; }
.rts__progress-fill { width:0%; height:100%; transform-origin:left center; background:var(--rts-accent,currentColor); }

.rts__nav { position:absolute; bottom:3.5rem; right:10vw; display:flex; gap:1.5rem; z-index:20; }
.rts__nav-btn {
    background:none; border:none; color:#fff; font-size:.8rem;
    text-transform:uppercase; letter-spacing:.2em; cursor:pointer;
    display:flex; align-items:center; gap:.5rem; padding:.5rem;
    transition:color .3s; font-family:inherit;
}
.rts__nav-btn svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; }
.rts__nav-btn:hover { color:var(--rts-accent); }
.rts__nav-btn.is-disabled { opacity:.2; pointer-events:none; }

/* Overlay */
.rts__overlay {
    position:fixed; top:0; left:0; width:100%; height:100vh;
    background:#0e0e0e; z-index:1000;
    display:none; pointer-events:none;
    clip-path:polygon(0 100%,100% 100%,100% 100%,0 100%);
}
.rts__overlay.is-active { pointer-events:auto; }
.rts__ov-visual { flex:1; height:100%; position:relative; background:#121212; overflow:hidden; }
.rts__ov-img    { width:100%; height:100%; object-fit:cover; opacity:0; transform:scale(1.1); display:block; }
.rts__ov-content {
    flex:1.2; height:100%; padding:8vw 6vw;
    display:flex; flex-direction:column; justify-content:center;
    background:#0e0e0e; position:relative; overflow-y:auto;
}
.rts__close {
    position:absolute; top:3.5rem; right:4rem;
    background:none; border:none; color:#fff; cursor:pointer;
    display:flex; align-items:center; gap:.75rem; font-size:.8rem;
    text-transform:uppercase; letter-spacing:.25em; font-weight:500;
    opacity:0; z-index:110; font-family:inherit;
}
.rts__close-dot  { width:6px; height:6px; border-radius:50%; display:inline-block; transition:transform .3s; }
.rts__close:hover .rts__close-dot { transform:scale(1.4); }
.rts__close-text { position:relative; padding-bottom:2px; }
.rts__close-text::after { content:''; position:absolute; bottom:0; left:0; width:100%; height:1px; background:var(--rts-accent); transform:scaleX(0); transform-origin:right; transition:transform .4s cubic-bezier(.25,1,.5,1); }
.rts__close:hover .rts__close-text::after { transform:scaleX(1); transform-origin:left; }
.rts__ov-role    { font-size:.85rem; text-transform:uppercase; letter-spacing:.25em; margin-bottom:1rem; opacity:0; }
.rts__ov-name    { font-size:clamp(2rem,4vw,5rem); font-weight:300; line-height:1.1; letter-spacing:-.02em; color:#fff; margin-bottom:2.5rem; opacity:0; }
.rts__ov-bio     { font-size:clamp(.9rem,1.1vw,1.1rem); line-height:1.8; color:#b3b3b3; max-width:540px; margin-bottom:3rem; opacity:0; }
.rts__ov-socials { display:flex; gap:1.5rem; opacity:0; flex-wrap:wrap; }
.rts__ov-social-link {
    color:rgba(255,255,255,.5); display:inline-flex; align-items:center; justify-content:center;
    width:40px; height:40px; border-radius:50%;
    border:1px solid rgba(255,255,255,.15); text-decoration:none; font-size:16px;
    transition:color .25s,border-color .25s;
}
.rts__ov-social-link:hover { color:#fff; border-color:rgba(255,255,255,.5); }

/* Responsive — Team */
@media (max-width: 1024px) {
    .rts__intro { width:280px; margin-right:4vw; }
    .rts__card  { width:300px; height:400px; }
    .rts__card-name { font-size:1.4rem; }
}

@media (max-width: 900px) {
    /* CRITICAL: reset scroll-locking styles set by GSAP on desktop */
    .rts__wrap {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        cursor: default !important;
        position: relative !important;
        /* remove any GSAP pin transforms */
        transform: none !important;
        will-change: auto !important;
    }
    .rts__container {
        flex-direction: column !important;
        width: 100% !important;           /* cancel max-content */
        height: auto !important;
        padding: 48px 20px 40px !important;
        transform: none !important;        /* cancel GSAP x translate */
        touch-action: auto !important;
        overflow: visible !important;
    }
    .rts__intro {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 32px;
    }
    .rts__track {
        flex-direction: column !important;
        width: 100% !important;
        gap: 16px;
    }
    .rts__card {
        width: 100% !important;
        height: 65vw !important;
        min-height: 240px;
        max-height: 420px;
        transform: none !important;
    }
    .rts__card-img {
        width: 100% !important;
        height: 100% !important;
    }
    /* trigger always visible */
    .rts__card-trigger { opacity: 1 !important; transform: none !important; }
    /* socials always visible */
    .rts__card-social  { pointer-events: auto !important; }
    .rts__social-link  { opacity: 1 !important; transform: none !important; }
    /* meta no lift */
    .rts__card-meta    { transform: none !important; }
    /* hide desktop-only nav */
    .rts__progress-bar,
    .rts__nav { display: none !important; }
    /* overlay mobile */
    .rts__overlay { flex-direction: column; overflow-y: auto; height: 100%; }
    .rts__ov-visual  { height: 40vh; flex: none; }
    .rts__ov-content { padding: 2rem 20px; height: auto; flex: none; overflow-y: visible; }
    .rts__ov-name    { font-size: clamp(1.6rem, 6vw, 2.5rem); }
    .rts__close      { top: 16px; right: 16px; }
}
@media (max-width: 480px) {
    .rts__card  { height: 80vw !important; }
    .rts__card-name { font-size: 1.2rem; }
    .rts__container { padding: 40px 16px 32px !important; }
}


/* ==========================================================
   SVG Text Animate Widget
   ========================================================== */

.rdn-svgt__wrap {
    position: relative;
    width: 100%;
}

.rdn-svgt__svg {
    display: block;
    width: 100%;
    height: 180px;
    overflow: visible !important;
}


/* ==========================================================
   Card Fan Hero Widget
   ========================================================== */

.rcf__widget { position: relative; }

.rcf__hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: clip;
    background: #000;
}

.rcf__content {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

/* Title */
.rcf__title {
    grid-area: 1/1;
    position: absolute;
    top: 40%; left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-size: clamp(32px, 7vw, 96px);
    font-weight: 900;
    text-align: center;
    margin: 0;
    pointer-events: none;
    color: #fff;
    white-space: nowrap;
}

/* Subtitle */
.rcf__subtitle {
    grid-area: 1/1;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: min(90%, 800px);
    font-size: clamp(20px, 4vw, 52px);
    font-weight: 700;
    text-align: center;
    margin: 0;
    opacity: 0;
    pointer-events: none;
    z-index: 20;
    color: #fff;
    white-space: normal;
    line-height: 1.3;
}
/* HTML elements inside subtitle */
.rcf__subtitle p  { margin: 0 0 0.5em; }
.rcf__subtitle p:last-child { margin-bottom: 0; }
.rcf__subtitle br { display: block; content: ''; margin: 0.25em 0; }
.rcf__subtitle strong, .rcf__subtitle b { font-weight: 900; }
.rcf__subtitle em, .rcf__subtitle i { font-style: italic; }

/* Cards container */
.rcf__cards-container {
    grid-area: 1/1;
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    pointer-events: none;
    z-index: 4;
}

/* Individual card */
.rcf__card {
    grid-area: 1/1;
    position: absolute;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0,0,0,0.45);
    background: #333;
    will-change: transform, opacity;
    backface-visibility: hidden;
    opacity: 0;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%) scale(0.8);
}

.rcf__card img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* CTA */
.rcf__cta {
    grid-area: 1/1;
    position: relative;
    width: min(92%, 1200px);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(24px, 5vw, 60px);
    z-index: 10;
    opacity: 0;
    visibility: hidden;
    pointer-events: auto;
}

.rcf__cta-left  { flex: 1; display: flex; justify-content: center; }
.rcf__cta-right { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; }

.rcf__cta-img {
    width: min(100%, 420px);
    height: auto;
    border-radius: 12px;
    display: block;
}

.rcf__cta-heading {
    font-size: clamp(28px, 5.5vw, 64px);
    font-weight: 900;
    margin: 0;
    color: #fff;
}

.rcf__cta-text {
    font-size: clamp(16px, 3vw, 28px);
    margin: 0;
    opacity: 0.8;
    color: #fff;
}

.rcf__cta-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 10px;
    background: #6366f1;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    pointer-events: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .rcf__cta { flex-direction: column; align-items: center; text-align: center; }
    .rcf__cta-right { align-items: center; }
    .rcf__title, .rcf__subtitle { white-space: normal; padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .rcf__card, .rcf__title, .rcf__subtitle, .rcf__cta { animation: none !important; }
}


/* ==========================================================
   Testimonial Marquee Widget
   ========================================================== */

.rtm__wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 60px 0;
}

/* Fade edges */
.rtm__wrap--fade::before,
.rtm__wrap--fade::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: clamp(60px, 8vw, 160px);
    z-index: 10;
    pointer-events: none;
}
.rtm__wrap--fade::before {
    left: 0;
    background: linear-gradient(to right, var(--rtm-fade, #fff) 0%, transparent 100%);
}
.rtm__wrap--fade::after {
    right: 0;
    background: linear-gradient(to left, var(--rtm-fade, #fff) 0%, transparent 100%);
}

/* Track */
.rtm__track { overflow: hidden; }

/* Inner — flex row, will be translated by JS */
.rtm__inner {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
}

/* Card */
.rtm__card {
    width: 360px;
    flex-shrink: 0;
    padding: 28px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    cursor: default;
    transition: box-shadow 0.25s, transform 0.25s;
}
.rtm__card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

/* Stars */
.rtm__stars { display: flex; gap: 3px; }
.rtm__star  { font-size: 16px; color: rgba(0,0,0,0.15); line-height: 1; }
.rtm__star--filled { color: #f59e0b; }

/* Quote */
.rtm__quote {
    margin: 0;
    font-size: clamp(14px, 1.4vw, 16px);
    line-height: 1.7;
    color: #374151;
    flex: 1;
}

/* Author row */
.rtm__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

/* Avatar */
.rtm__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.rtm__avatar-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: #6b7280;
    flex-shrink: 0;
}

.rtm__author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.rtm__name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
}
.rtm__role {
    font-size: 12px;
    color: #9ca3af;
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 768px) {
    .rtm__wrap { padding: 40px 0; }
    .rtm__card { width: 260px; padding: 18px; }
    .rtm__quote { font-size: 14px; }
}





/* ==========================================================
   Global Mobile Fixes
   ========================================================== */

/* جلوگیری از horizontal overflow در کل سایت */
@media (max-width: 900px) {
    .elementor-widget-radan-team-showcase,
    .elementor-widget-radan-card-fan {
        overflow: hidden;
    }
}

/* Card Fan — موبایل */
@media (max-width: 768px) {
    .rcf__hero {
        height: auto !important;
        min-height: 100svh;
        overflow: visible;
    }
    .rcf__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 60px 24px;
        gap: 24px;
        height: auto;
    }
    .rcf__title {
        position: relative !important;
        top: auto !important; left: auto !important;
        transform: none !important;
        font-size: clamp(2rem, 10vw, 4rem);
        white-space: normal;
        text-align: center;
    }
    .rcf__subtitle {
        position: relative !important;
        top: auto !important; left: auto !important;
        transform: none !important;
        opacity: 1 !important;
        font-size: clamp(1.2rem, 5vw, 2rem);
        text-align: center;
        white-space: normal;
        width: 90%;
    }
    .rcf__cards-container { display: none !important; }  /* کارت‌ها روی موبایل نشون داده نمیشن */
    .rcf__cta {
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        padding: 0 24px;
    }
    .rcf__cta-right { align-items: center !important; }
}

/* SVG Text Animate — موبایل */
@media (max-width: 768px) {
    .rdn-svgt__svg { height: 80px !important; }
}
@media (max-width: 480px) {
    .rdn-svgt__svg { height: 56px !important; }
}

/* ==========================================================
   Post Carousel + Recent Service
   Markup/classes ported 1:1 from the source theme's
   pxl_post_carousel (layout-service-1.php) and pxl_recent_service
   (layout-1.php) widgets. Colors below are sensible defaults;
   each widget's Style tab overrides them per-instance via
   Elementor's own {{WRAPPER}}-scoped selectors (higher specificity
   than these base rules, so no inline CSS vars are needed).
   ========================================================== */

@keyframes rdn_pxl_spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── Swiper-style carousel shell (shared) ─────────────────── */

.pxl-swiper-sliders { position: relative; }

.pxl-swiper-container {
    position: relative;
    overflow: hidden;
}

.pxl-swiper-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    transition-property: transform;
}

.pxl-swiper-slide {
    flex-shrink: 0;
    position: relative;
    padding: 0 15px;
    box-sizing: border-box;
}

.pxl-swiper-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #000;
    cursor: pointer;
    transition: background-color 0.25s ease;
    background-color: #ffffff;
}
.pxl-swiper-arrow:hover { background-color: #67fb94; }
.pxl-swiper-arrow.swiper-button-disabled { cursor: not-allowed; opacity: .4; }

.grap-arrows { display: flex; gap: 20px; margin-top: 50px; justify-content: center; }
.pxl-carousel-inner.arrows-top .grap-arrows { margin-top: 0; margin-bottom: 30px; }

.pxl-swiper-dots {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}
.pxl-swiper-dots .pxl-swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 3px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: border-color 0.25s ease;
}
.pxl-swiper-dots .pxl-swiper-pagination-bullet:before {
    content: "";
    display: block;
    width: 4px;
    height: 4px;
    border-radius: 4px;
    position: absolute;
    top: 3px;
    left: 3px;
    background-color: #171d26;
}
.pxl-swiper-dots .pxl-swiper-pagination-bullet:hover,
.pxl-swiper-dots .pxl-swiper-pagination-bullet.swiper-pagination-bullet-active {
    border-color: #67fb94;
}
.pxl-swiper-dots .pxl-swiper-pagination-bullet:hover:before,
.pxl-swiper-dots .pxl-swiper-pagination-bullet.swiper-pagination-bullet-active:before {
    background-color: #67fb94;
}

/* ── Post Carousel — service-card style ───────────────────── */

.pxl-service-carousel1 .pxl-item--title {
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 16px;
}
.pxl-service-carousel1 .pxl-item--title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: inherit;
}

.pxl-service-carousel1 .pxl-item--content {
    color: #8a8f98;
    font-size: 14px;
    line-height: 1.71;
}

.pxl-service-carousel1 .pxl-item--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    margin-bottom: 30px;
    color: #ffffff;
    font-size: 40px;
    transition: transform 200ms linear;
}
.pxl-service-carousel1 .pxl-item--icon img { width: auto; max-height: 70px; }

.pxl-service-carousel1 a.btn-showmore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    width: 56px;
    height: 56px;
    margin-top: 20px;
    border: 1px solid #171d26;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.pxl-service-carousel1 a.btn-showmore:hover svg { transform: rotate(45deg); }
.pxl-service-carousel1 a.btn-showmore svg { transition: transform 0.25s ease; }

.pxl-service-carousel1 .item-number {
    position: absolute;
    top: -25px;
    left: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    padding: 10px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    color: #8a8f98;
    background-color: #171d26;
    transition: all 200ms linear;
}

.pxl-service-carousel1 .hover-lines {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 0;
    box-sizing: border-box;
    border-bottom: 1px solid #67fb94;
    border-left: 0 solid #67fb94;
    border-right: 0 solid #67fb94;
    transform: translateX(-50%);
    transition: width 0.1s ease 340ms, height 0.1s ease 145ms, border-left-width 0s ease 340ms, border-right-width 0s ease 340ms;
}
.pxl-service-carousel1 .hover-lines:before,
.pxl-service-carousel1 .hover-lines:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 1px;
    border-radius: 5px;
    background-color: #67fb94;
    transition: width 150ms ease;
}
.pxl-service-carousel1 .hover-lines:after { left: auto; right: 0; }

.pxl-service-carousel1 .pxl-item--inner {
    position: relative;
    z-index: 1;
    margin-top: 25px;
    padding: 40px 20px;
    border: 1px solid #171d26;
    border-radius: 5px;
    text-align: center;
}
.pxl-service-carousel1 .pxl-item--inner:hover {
    transition-delay: 0.12s;
    border-color: transparent;
}
.pxl-service-carousel1 .pxl-item--inner:hover .hover-lines {
    width: 100%;
    height: 100%;
    border-left-width: 1px;
    border-right-width: 1px;
    transition: width 150ms ease, height 0.1s ease 145ms, border-left-width 0s ease 145ms, border-right-width 0s ease 145ms;
}
.pxl-service-carousel1 .pxl-item--inner:hover .hover-lines:before,
.pxl-service-carousel1 .pxl-item--inner:hover .hover-lines:after {
    width: 50%;
    transition: width 0.1s ease 340ms;
}
.pxl-service-carousel1 .pxl-item--inner:hover .item-number {
    background-color: #67fb94;
    color: #000;
}
.pxl-service-carousel1 .pxl-item--inner:hover .pxl-item--icon { transform: translateY(-5px); color: #67fb94; }
.pxl-service-carousel1 .pxl-item--inner:hover .pxl-item--icon img { filter: brightness(0) invert(1); }
.pxl-service-carousel1 .pxl-item--inner:hover .pxl-item--content { color: #fff; }
.pxl-service-carousel1 .pxl-item--inner:hover a.btn-showmore { border-color: transparent; color: #000; }

.rpc-empty { opacity: .6; text-align: center; padding: 20px; }

/* ── Recent Service ────────────────────────────────────────── */

.pxl-recent-service { position: relative; z-index: 1; }

.pxl-recent-service .pxl-wrapper-heading { max-width: 45%; margin-bottom: 35px; }
.pxl-recent-service .pxl-wrapper-heading .el--title { font-size: 52px; margin: 0; color: #ffffff; }
.pxl-recent-service .pxl-wrapper-heading .el--subtitle { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.pxl-recent-service .pxl-wrapper-heading .el--subtitle img { max-height: 18px; }
.pxl-recent-service .pxl-wrapper-heading .el--subtitle span {
    display: inline-block;
    font-size: 19px;
    font-weight: 500;
    text-transform: uppercase;
    color: #67fb94;
}
.pxl-recent-service .el-excerpt { margin-top: 12px; color: #8a8f98; font-size: 15px; line-height: 1.7; }

.pxl-recent-service .pxl-grid-inner { position: relative; padding: 25px 0; }

.pxl-recent-service .pxl-grid-item { width: 100%; }

.pxl-recent-service .pxl-item--body {
    position: relative;
    display: flex;
    padding: 25px 0;
    border-bottom: 1px solid #171d26;
}
.pxl-recent-service .pxl-grid-item:last-child .pxl-item--body { border-bottom: none; }

.pxl-recent-service .body-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 60px;
    min-width: 60px;
    margin-right: 30px;
    font-size: 28px;
    color: #ffffff;
}
.pxl-recent-service .body-icon img { max-width: 100%; }

.pxl-recent-service .body-meta { position: relative; flex: 1; }

.pxl-recent-service .item-number {
    position: absolute;
    top: 25px;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #171d26;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    transition: all 300ms linear;
}

.pxl-recent-service .pxl-item--title {
    max-width: 70%;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
}
.pxl-recent-service .pxl-item--title a { color: inherit; text-decoration: none; }
.pxl-recent-service .pxl-item--title a:hover { color: #67fb94; }

.pxl-recent-service .pxl-item--body .pxl-item--content { max-width: 85%; font-size: 14px; color: #8a8f98; }

.pxl-recent-service .pxl-item--image {
    min-height: 320px;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.pxl-recent-service .pxl-item--image .bg-image {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: all 0.25s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.pxl-recent-service .pxl-grid-item.active .item-number {
    background-color: #67fb94;
    border-color: #67fb94;
    color: #000;
}
.pxl-recent-service .pxl-grid-item.active .bg-image { transform: scale(1); }

@media (min-width: 992px) {
    .pxl-recent-service .pxl-item--image {
        position: absolute;
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        max-width: 45%;
        opacity: 0;
    }
    .pxl-recent-service .pxl-grid-item.active .pxl-item--image { z-index: 1; opacity: 1; }
}

/* Recent Service — layout 1 (circle banner) */

.pxl-recent-service1 .pxl-circle-banner {
    display: none;
}
@media (min-width: 992px) {
    .pxl-recent-service1 .pxl-circle-banner {
        display: block;
        position: absolute;
        top: 60px;
        right: -20px;
        z-index: 2;
    }
}
.pxl-recent-service1 .pxl-circle-banner .pxl-circle--inner {
    position: relative;
    z-index: 1;
    width: 164px;
    height: 164px;
    border-radius: 50%;
}
.pxl-recent-service1 .pxl-circle-banner .pxl-circle--inner:before,
.pxl-recent-service1 .pxl-circle-banner .pxl-circle--inner:after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    border-radius: 100%;
    border: 1px solid #171d26;
}
.pxl-recent-service1 .pxl-circle-banner .pxl-circle--inner:before {
    top: 50%;
    left: 50%;
    width: 110%;
    height: 110%;
    transform: translate(-50%, -50%);
}
.pxl-recent-service1 .pxl-circle-banner .pxl-circle--inner:after {
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
}
.pxl-recent-service1 .pxl-circle-banner.rrs-no-rings .pxl-circle--inner:before,
.pxl-recent-service1 .pxl-circle-banner.rrs-no-rings .pxl-circle--inner:after {
    display: none;
}
.pxl-recent-service1 .pxl-circle-banner .item--image {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    transform: translate(-50%, -50%);
}
.pxl-recent-service1 .pxl-circle-banner .item--image img {
    position: absolute;
    top: 50%;
    left: 50%;
    max-height: 54px;
    max-width: 54px;
    object-fit: contain;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}
/* Logo-swap reveal: when both a light and dark logo are set, the dark
   one shows by default and bursts out/fades on hover while the light
   one scales in to replace it (source theme behaviour). */
.pxl-recent-service1 .pxl-circle-banner .item--image:has(.logo-dark) .logo-light {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
}
.pxl-recent-service1 .pxl-circle-banner:hover .item--image .logo-dark {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3);
}
.pxl-recent-service1 .pxl-circle-banner:hover .item--image:has(.logo-dark) .logo-light {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    transition-duration: 0.4s;
}
/* Single-logo fallback (only Light or only Dark filled): a gentle
   zoom instead of the two-logo swap, so hover never feels dead. */
.pxl-recent-service1 .pxl-circle-banner:hover .item--image img { transform: translate(-50%, -50%) scale(1.08); }

.pxl-recent-service1 .pxl-circle-banner .pxl-circle--title {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin-bottom: 0;
    white-space: nowrap;
    border-radius: 100%;
    animation: rdn_pxl_spin 16s infinite linear;
}
/* Logo-only mode: hide the text ring, spin the logo image itself instead.
   Uses its own keyframes (not rdn_pxl_spin) because a CSS animation on
   `transform` replaces the whole property for its duration — reusing the
   plain rotate-only keyframes here would wipe out the translate(-50%,-50%)
   centering already set on .item--image and knock the logo off-center. */
.pxl-recent-service1 .pxl-circle-banner.rrs-spin-logo .item--image {
    animation: rdn_pxl_spin_centered 16s infinite linear;
}
@keyframes rdn_pxl_spin_centered {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}
.pxl-recent-service1 .pxl-circle-banner .pxl-circle--title svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 127px;
    height: 127px;
    overflow: visible;
    fill: transparent;
    transform: translate(-50%, -50%);
}
.pxl-recent-service1 .pxl-circle-banner .pxl-circle--title svg text { fill: #67fb94; font-size: 16px; }

@media (min-width: 992px) {
    .pxl-recent-service1 .pxl-item--image { right: 0; }
    .pxl-recent-service1 .pxl-grid-item { padding-right: 50%; }
}

/* Mobile responsiveness for both widgets */
@media (max-width: 991px) {
    .pxl-recent-service .pxl-wrapper-heading { max-width: 100%; }
    .pxl-recent-service .pxl-item--image { position: relative; min-height: 260px; opacity: 1 !important; margin-top: 16px; }
    .pxl-recent-service .pxl-item--image .bg-image { transform: scale(1) !important; }
    .pxl-recent-service .pxl-grid-item { margin-bottom: 20px; padding-right: 0 !important; }
    .pxl-recent-service1 .pxl-circle-banner { display: none !important; }
}
@media (max-width: 767px) {
    .pxl-recent-service .pxl-wrapper-heading .el--title { font-size: 32px; }
    .pxl-service-carousel1 .pxl-item--inner { padding: 30px 15px; }
}

/* ==========================================================
   PROCESS STEPS WIDGET
   Ported from the "boyc" theme's pxl_box (layout 1) circular
   process-step component.
   ========================================================== */

.rps-heading {
    margin: 0 0 40px;
    font-size: 42px;
    font-weight: 500;
    text-transform: capitalize;
    color: #fff;
}

.rps-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
}

.pxl-box1 {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px solid #cacaca;
    text-align: center;
    text-transform: uppercase;
    padding: 20px;
    box-sizing: border-box;
}

.pxl-box1 .pxl-inner { max-width: 80%; }
.pxl-box1 .pxl-process { font-size: 13px; letter-spacing: 1px; color: #8a8f98; }
.pxl-box1 .pxl-title {
    margin: 15px 0 12px;
    font-size: 28px;
    font-weight: 500;
    text-transform: lowercase;
    color: #fff;
}
.pxl-box1 .pxl-description {
    max-width: 275px;
    margin: 0 auto;
    font-size: 13px;
    line-height: 1.6;
    text-transform: none;
    color: #8a8f98;
}

.rps-reveal { opacity: 0; }
.rps-reveal.rps-in { opacity: 1; transition: opacity 0.6s ease, transform 0.6s ease; }

.rps-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    border-radius: 50px;
    background-color: #fff;
    color: #0f0f0f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    text-transform: capitalize;
    transition: background-color 0.3s ease;
}
.rps-btn__icon { display: inline-flex; align-items: center; }

@media (max-width: 767px) {
    .rps-row { flex-direction: column; align-items: center; }
    .pxl-box1 { width: 220px; height: 220px; }
}

/* ==========================================================
   AGENIO SERVICES WIDGET
   Ported from the "agenio" theme's Agenio_Services_Widget.
   ========================================================== */

.radan-agenio-services .section-top-area { padding: 60px 0 40px; text-align: center; }
.radan-agenio-services .section-title-area .sub-title {
    display: inline-block;
    position: relative;
    margin: 0 auto 15px;
    padding: 4px 14px 3px 24px;
    background: rgba(255,255,255,.08);
    color: #67fb94;
    font-size: 14px;
    line-height: 1;
}
.radan-agenio-services .section-title-area .sub-title::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    background-color: #67fb94;
}
.radan-agenio-services .section-title-area .section-title {
    margin: 0;
    font-size: 42px;
    font-weight: 500;
    text-transform: capitalize;
    color: #fff;
}

.radan-agenio-services .section-bottom-content {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    border-width: 1px 0;
    border-style: solid;
    border-color: rgba(255,255,255,.12);
}
.radan-agenio-services .service-wrapper {
    flex-basis: 25%;
    min-width: 260px;
    min-height: 520px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-right: 1px solid rgba(255,255,255,.12);
    transition: all 0.3s ease;
}
.radan-agenio-services .service-wrapper .image-area {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.radan-agenio-services .service-wrapper .image-area img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.8s ease;
}
.radan-agenio-services .service-wrapper:hover .image-area img { transform: scale(1.1); }

/* Resting state: a white panel fully covers the background image so the
   card reads as a plain light card; on hover it shrinks/fades away from
   its center, revealing the image underneath (matches the source theme's
   reveal-on-hover behaviour). */
.radan-agenio-services .service-wrapper::after {
    content: "";
    position: absolute;
    z-index: 1;
    width: 101%;
    height: 101%;
    top: 49%;
    left: 51%;
    background: #ffffff;
    transform: translate(-51%, -49%) scale(1);
    opacity: 1;
    transition: transform 0.8s ease, opacity 0.8s ease;
}
.radan-agenio-services .service-wrapper:hover::after {
    transform: translate(-51%, -49%) scale(0);
    opacity: 0;
}

.radan-agenio-services .service-wrapper .content {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.radan-agenio-services .content .top .tag {
    position: relative;
    z-index: 1;
    display: inline-block;
    max-width: max-content;
    margin: 0 0 15px;
    padding: 4px 10px 3px 24px;
    background: #111827;
    color: #f9fafb;
    font-size: 13px;
    line-height: 1;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.radan-agenio-services .service-wrapper:hover .content .top .tag {
    background: #f3f4f6;
    color: #111827;
}
.radan-agenio-services .content .top .tag::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 50%;
    left: 8px;
    transform: translateY(-50%);
    background-color: #67fb94;
}
.radan-agenio-services .content .top .desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #d1d5db;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.radan-agenio-services .service-wrapper:hover .content .top .desc { opacity: 1; }

.radan-agenio-services .content .bottom ul li { color: #111827; transition: color 0.3s ease; }
.radan-agenio-services .service-wrapper:hover .content .bottom ul li { color: #f9fafb; }

.radan-agenio-services .content .mid { text-align: center; }
.radan-agenio-services .content .mid i {
    font-size: 160px;
    line-height: 1;
    color: rgba(17,24,39,.08);
    transition: color 0.3s ease;
}
.radan-agenio-services .content .mid svg {
    width: 160px;
    height: 160px;
    fill: rgba(17,24,39,.08);
    transition: fill 0.3s ease;
}
.radan-agenio-services .content .mid img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    opacity: .08;
    transition: opacity 0.3s ease;
}
.radan-agenio-services .service-wrapper:hover .content .mid i   { color: rgba(249,250,251,.5); }
.radan-agenio-services .service-wrapper:hover .content .mid svg { fill: rgba(249,250,251,.5); }
.radan-agenio-services .service-wrapper:hover .content .mid img { opacity: .5; }

.radan-agenio-services .content .bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.radan-agenio-services .content .bottom ul {
    margin: 0;
    padding: 0 0 0 16px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-left: 2px solid #67fb94;
}
.radan-agenio-services .content .bottom ul li {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}
.radan-agenio-services .content .bottom .service-btn-area {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #fff;
    color: #111827;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.radan-agenio-services .service-wrapper:hover .content .bottom .service-btn-area { opacity: 1; }

.radan-agenio-services .square-dot .square-shape { position: absolute; z-index: 4; width: 6px; height: 6px; background: #67fb94; }
.radan-agenio-services .square-dot .square-shape.top-left  { top: -3px; left: -3px; }
.radan-agenio-services .square-dot .square-shape.top-right { top: -3px; right: -3px; }

.ras-reveal { opacity: 0; transform: translateY(24px); }
.ras-reveal.ras-in { opacity: 1; transform: translateY(0); transition: opacity 0.6s ease, transform 0.6s ease; }

@media (max-width: 991px) {
    .radan-agenio-services .service-wrapper { flex-basis: 50%; }
}
@media (max-width: 575px) {
    .radan-agenio-services .service-wrapper { flex-basis: 100%; }
    .radan-agenio-services .content .mid i   { font-size: 100px; }
    .radan-agenio-services .content .mid svg,
    .radan-agenio-services .content .mid img { width: 100px; height: 100px; }
    .radan-agenio-services .section-title-area .section-title { font-size: 28px; }
}

/* ==========================================================
   CONTACT INFO WIDGET
   ========================================================== */

.rci-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    margin-bottom: 24px;
    border: 1px solid #fff;
    border-radius: 50px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #fff;
    max-width: 100%;
    flex-wrap: wrap;
}
.rci-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.rci-item { margin-bottom: 18px; }
.rci-item p { margin: 0; font-size: 16px; line-height: 1.6; color: #fff; }
.rci-item--hours-label p { color: #8a8f98; text-transform: uppercase; font-size: 13px; margin-bottom: 4px; }

/* ==========================================================
   PORTFOLIO PIN WIDGET
   Ported from the "boyc" theme's pxl_post_grid "Portfolio Layout 2"
   (.pxl-portfolio-grid-layout2). GSAP ScrollTrigger pin behaviour
   lives in portfolio-pin.js; this is the visual layer.
   ========================================================== */

.rpp-grid { display: flex; flex-direction: column; gap: 20px; }
.rpp-cell { position: relative; }

.rpp-item {
    --rpp-content-width: 30%;
    position: relative;
    height: 650px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #171d26;
    box-sizing: border-box;
    transform-origin: center top;
    display: flex;
    align-items: stretch;
}

.rpp-item .rpp-item--content {
    position: relative;
    z-index: 2;
    flex: 0 0 var(--rpp-content-width);
    width: var(--rpp-content-width);
    max-width: 100%;
    box-sizing: border-box;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.rpp-item .rpp-item--media {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}
.rpp-item .rpp-item--media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rpp-item .item--category { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; }
.rpp-item .item--category a {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 7px 10px;
    gap: 10px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(10px);
    color: #fff;
    font-weight: 500;
    font-size: 13px;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.25s ease;
}
.rpp-item .item--category a:hover { background: #fff; color: #67fb94; }

.rpp-item .pxl--subtitle { color: #c8c8c8; font-weight: 500; line-height: 1; text-transform: uppercase; font-size: 13px; }
.rpp-item .pxl-item--title { margin: 10px 0 0; font-size: 42px; color: #fff; }
.rpp-item .pxl-item--title a { color: inherit; text-decoration: none; }

.rpp-item .pxl-item--description {
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,.75);
}

.rpp-item .pxl-item--readmore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}
.rpp-item .pxl-item--readmore .pxl-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #fff;
    color: #67fb94;
}
.rpp-item .pxl-item--readmore .pxl-text-btn {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
}

@media (max-width: 1200px) {
    .rpp-item .rpp-item--content { padding: 40px; gap: 18px; }
}
@media (max-width: 991px) {
    /* Side-by-side content/image is too narrow to hold its content on
       tablet/mobile widths — stack the image under the content instead. */
    .rpp-item { flex-direction: column; }
    .rpp-item .rpp-item--content { flex: 0 0 auto; width: 100%; }
    .rpp-item .rpp-item--media { flex: 1 1 auto; width: 100%; }
}
@media (max-width: 767px) {
    /* height intentionally NOT reset to auto here — the pin/stack scroll
       effect (assets/js/portfolio-pin.js) now runs on mobile too and
       needs a real, stable card height for its scroll-distance math. */
    .rpp-item .rpp-item--content { padding: 24px; gap: 14px; }
}

/* ==========================================================
   PRICING CARD WIDGET
   One plan per widget instance, each with its own monthly/year
   switch — ported from the "boyc" theme's pxl_tabs (switch) +
   pxl_pricing + pxl_list combination used on its pricing page.
   Place several instances stacked in the same column to build a
   full pricing table; each card's switch only affects that card.
   When "Pin & Stack" is enabled, pricing-tabs.js pins the card via
   GSAP ScrollTrigger (pinSpacing:false) and blurs it as the next
   card in the stack scrolls up to cover it — ported 1:1 from the
   source theme's theme.js `sticky()` (.is-sticky-elementer). No
   z-index needed here: later cards are later in the DOM, so they
   naturally paint over earlier (now-fixed) ones as they scroll up.
   ========================================================== */

.rpt-sticky-wrap { position: relative; }

.pxl-pricing {
    position: relative;
    width: 100%;
    padding: 32px;
    border-radius: 4px;
    background-color: #ffffff;
    border: 1px solid #e5e5e5;
    box-sizing: border-box;
    box-shadow: 0 20px 40px rgba(0,0,0,.06);
    transition: border-color 0.25s ease;
}
.pxl-pricing.rpt-featured { border-color: #141515; }

.rpt-top-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }
.pxl-pricing .pxl-heading { margin: 0; font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: #111111; }
.pxl-pricing .pxl-description { margin: 0 0 24px; font-size: 14px; line-height: 1.6; color: #6b7280; }

.pxl-pricing .pxl-inner {
    margin-bottom: 24px;
    padding: 20px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    background-color: #fafafa;
}
.rpt-price-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rpt-label-small { margin-bottom: 6px; font-size: 12px; color: #9ca3af; text-transform: uppercase; letter-spacing: .5px; }

.pxl-pricing .pxl-group { display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; }
.pxl-pricing .pxl-currency { margin: 0; font-size: 22px; font-weight: 700; color: #111111; }
.pxl-pricing .pxl-price { margin: 0; font-size: 40px; font-weight: 800; color: #111111; line-height: 1; }
.pxl-pricing .pxl-month { font-size: 18px; font-weight: 700; color: #b0b0b0; }

.rpt-wrap[data-billing="monthly"] .rpt-price[data-period="yearly"],
.rpt-wrap[data-billing="yearly"] .rpt-price[data-period="monthly"] { display: none; }

/* Switch: top-right of the card, single current-state label + toggle */
.rpt-switch {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.rpt-switch__current {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: #111111;
    white-space: nowrap;
}
.rpt-switch__control {
    position: relative;
    width: 40px;
    height: 22px;
    padding: 0;
    border: none;
    border-radius: 50px;
    background: #e5e5e5;
    cursor: pointer;
    flex-shrink: 0;
}
.rpt-switch__slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #141515;
    transition: transform 0.25s ease;
}
.rpt-wrap[data-billing="monthly"] .rpt-switch__slider { transform: translateX(0); }
.rpt-wrap[data-billing="yearly"] .rpt-switch__slider { transform: translateX(18px); }

/* Bracket-corner button, ported from the source's .btn.btn-default corner marks */
.rpt-btn {
    --rpt-bracket-color: #141515;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    color: #111111;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background-color 0.25s ease;
}
.rpt-btn::before,
.rpt-btn::after,
.rpt-btn__text::before,
.rpt-btn__text::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-style: solid;
    border-color: var(--rpt-bracket-color);
}
.rpt-btn::before  { top: 0;    left: 0;  border-width: 2px 0 0 2px; }
.rpt-btn::after   { bottom: 0; left: 0;  border-width: 0 0 2px 2px; }
.rpt-btn__text::before { top: 0;    right: 0; border-width: 2px 2px 0 0; }
.rpt-btn__text::after  { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.rpt-btn__text { position: relative; padding: 4px 18px 4px 0; }

.rpt-list-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px 32px;
}
.rpt-list-cols--2 { grid-template-columns: 1fr 1fr; }

.pxl-pricing .pxl-list { display: flex; flex-direction: column; gap: 16px; }
.pxl-pricing .pxl-item--list { display: flex; align-items: center; gap: 10px; }
.pxl-pricing .pxl-item--list svg { width: 18px; height: 18px; flex-shrink: 0; }
.pxl-pricing .pxl-item--list svg path { fill: #111111; }
.pxl-pricing .pxl-text--list { font-size: 14px; color: #4b5563; }

/* Badge: small pill centered under the card, overlapping its bottom edge */
.rpt-badge {
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    padding: 6px 16px;
    border-radius: 50px;
    background: #141515;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    white-space: nowrap;
    z-index: 1;
}

@media (max-width: 575px) {
    .rpt-list-cols--2 { grid-template-columns: 1fr; }
}

/* ==========================================================
   TEAM MEMBER WIDGET (flip card)
   ========================================================== */

.rtmc-wrap { width: 100%; height: 100%; perspective: 1500px; }

.rtmc-flip {
    position: relative;
    width: 100%;
    height: 420px;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(.4, .2, .2, 1);
}
.rtmc-wrap:hover .rtmc-flip,
.rtmc-flip.is-flipped { transform: rotateY(180deg); }

.rtmc-face {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
}
.rtmc-face--front { background: #141515; }
.rtmc-face--back {
    transform: rotateY(180deg);
    background: #141515;
    display: flex;
    align-items: center;
}

.rtmc-photo { position: absolute; inset: 0; }
.rtmc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.rtmc-front-info {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 28px 24px 26px;
    background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
}
.rtmc-name { margin: 0 0 4px; font-size: 20px; font-weight: 600; color: #ffffff; line-height: 1.3; }
.rtmc-role { margin: 0 0 14px; font-size: 14px; color: rgba(255,255,255,.75); }

.rtmc-socials { display: flex; align-items: center; gap: 10px; margin: 4px 0 0; padding: 0; list-style: none; }
.rtmc-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: #ffffff;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.25s ease, background-color 0.25s ease;
}
.rtmc-social-link img { width: 16px; height: 16px; }

.rtmc-back-inner { padding: 32px 28px; text-align: center; width: 100%; }
.rtmc-face--back .rtmc-name { color: #ffffff; }
.rtmc-face--back .rtmc-role { color: #67fb94; margin-bottom: 16px; }
.rtmc-bio { margin: 0; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.75); }

@media (max-width: 767px) {
    .rtmc-flip { height: 380px; }
    .rtmc-back-inner { padding: 24px 20px; }
}
@media (max-width: 480px) {
    .rtmc-flip { height: 340px; }
}
