/* Relifi Why Choose - reference-style Elementor widget */

.elementor-widget-relifi_why_choose {
    width: 100%;
    max-width: 100%;
}

.rwc-section,
.rwc-section * {
    box-sizing: border-box;
}

.rwc-section {
    width: 100%;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.rwc-section.rwc-full-width {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.rwc-inner {
    width: calc(100% - 120px);
    margin: 0 auto;
    overflow: hidden;
}

.rwc-heading-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
}

.rwc-heading-line {
    height: 1px;
    flex: 0 0 auto;
}

.rwc-heading {
    margin: 0;
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.rwc-grid {
    display: grid;
    width: 100%;
    align-items: start;
}

.rwc-item {
    width: 100%;
    min-width: 0;
    text-decoration: none !important;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
}

a.rwc-item:hover,
a.rwc-item:focus {
    text-decoration: none !important;
    color: inherit;
}

.rwc-icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.rwc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.rwc-icon i {
    line-height: 1;
}

.rwc-icon svg {
    display: block;
    max-width: none;
    fill: currentColor;
}

.rwc-icon-line {
    display: block;
    height: 1px;
}

.rwc-title,
.rwc-description {
    width: 100%;
    min-width: 0;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.rwc-title {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    line-height: 1.22;
}

.rwc-description {
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    line-height: 1.35;
}

/* Tablet */
@media (max-width: 1024px) {
    .rwc-inner {
        width: calc(100% - 40px);
    }
}

/* Mobile */
@media (max-width: 767px) {
    .rwc-section.rwc-full-width {
        left: 50%;
    }

    .rwc-inner {
        width: calc(100% - 18px);
        max-width: none !important;
    }

    .rwc-heading-wrap {
        gap: 9px;
    }

    .rwc-grid {
        width: 100%;
    }

    .rwc-item {
        min-width: 0;
    }

    .rwc-title,
    .rwc-description {
        word-break: normal !important;
        overflow-wrap: normal !important;
        hyphens: none !important;
    }
}

/* Extra narrow phones */
@media (max-width: 380px) {
    .rwc-inner {
        width: calc(100% - 12px);
    }
}


/* =========================================================
   v1.1.0 — REFERENCE HOVER / TOUCH ANIMATION
   Matches the supplied reference video:
   subtle whole-item lift + icon zoom + underline expansion.
========================================================= */

.rwc-hover-enabled{
    --rwc-hover-lift:5px;
    --rwc-hover-line-width:32px;
    --rwc-hover-icon-scale:1.08;
    --rwc-hover-duration:280ms;
}

.rwc-hover-enabled .rwc-item{
    position:relative;
    transform:translate3d(0,0,0);
    transition:
        transform var(--rwc-hover-duration) cubic-bezier(.2,.7,.2,1);
    will-change:transform;
}

.rwc-hover-enabled .rwc-icon,
.rwc-hover-enabled .rwc-icon svg,
.rwc-hover-enabled .rwc-icon i,
.rwc-hover-enabled .rwc-icon-line,
.rwc-hover-enabled .rwc-title,
.rwc-hover-enabled .rwc-description{
    transition:
        transform var(--rwc-hover-duration) cubic-bezier(.2,.7,.2,1),
        width var(--rwc-hover-duration) cubic-bezier(.2,.7,.2,1),
        color var(--rwc-hover-duration) ease,
        opacity var(--rwc-hover-duration) ease;
}

.rwc-hover-enabled .rwc-icon,
.rwc-hover-enabled .rwc-icon svg,
.rwc-hover-enabled .rwc-icon i{
    transform-origin:center center;
}

/* Mouse/trackpad hover on desktop/laptop */
@media (hover:hover) and (pointer:fine){

    .rwc-hover-enabled .rwc-item:hover,
    .rwc-hover-enabled .rwc-item:focus-visible{
        transform:translate3d(0,calc(var(--rwc-hover-lift) * -1),0);
    }

    .rwc-hover-enabled .rwc-item:hover .rwc-icon,
    .rwc-hover-enabled .rwc-item:focus-visible .rwc-icon{
        transform:scale(var(--rwc-hover-icon-scale));
    }

    .rwc-hover-enabled .rwc-item:hover .rwc-icon-line,
    .rwc-hover-enabled .rwc-item:focus-visible .rwc-icon-line{
        width:var(--rwc-hover-line-width);
    }

    .rwc-hover-enabled .rwc-item:hover .rwc-title,
    .rwc-hover-enabled .rwc-item:focus-visible .rwc-title{
        transform:translateY(-1px);
    }

    .rwc-hover-enabled .rwc-item:hover .rwc-description,
    .rwc-hover-enabled .rwc-item:focus-visible .rwc-description{
        opacity:.94;
    }
}

/* Mobile/tablet: same visual effect when touched/tapped */
@media (hover:none), (pointer:coarse){

    .rwc-hover-enabled .rwc-item.rwc-touch-hover{
        transform:translate3d(0,calc(var(--rwc-hover-lift) * -1),0);
    }

    .rwc-hover-enabled .rwc-item.rwc-touch-hover .rwc-icon{
        transform:scale(var(--rwc-hover-icon-scale));
    }

    .rwc-hover-enabled .rwc-item.rwc-touch-hover .rwc-icon-line{
        width:var(--rwc-hover-line-width);
    }

    .rwc-hover-enabled .rwc-item.rwc-touch-hover .rwc-title{
        transform:translateY(-1px);
    }

    .rwc-hover-enabled .rwc-item.rwc-touch-hover .rwc-description{
        opacity:.94;
    }
}

@media (prefers-reduced-motion:reduce){
    .rwc-hover-enabled .rwc-item,
    .rwc-hover-enabled .rwc-icon,
    .rwc-hover-enabled .rwc-icon svg,
    .rwc-hover-enabled .rwc-icon i,
    .rwc-hover-enabled .rwc-icon-line,
    .rwc-hover-enabled .rwc-title,
    .rwc-hover-enabled .rwc-description{
        transition:none!important;
    }
}
