/* =====================================================
   LONGEFIT TESTIMONIAL SLIDER
===================================================== */

.longe-testimonial-slider {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    padding: 20px 20px 70px;
    box-sizing: border-box;
    overflow: hidden;
    font-family: Arial, sans-serif;
}


/* =====================================================
   SLIDER VIEWPORT
===================================================== */

.longe-testimonial-viewport {
    width: 100%;
    overflow: visible;
}


/* =====================================================
   TRACK
===================================================== */

.longe-testimonial-track {
    display: flex;
    gap: 32px;
    transition: transform 0.9s ease;
    will-change: transform;
}


/* =====================================================
   INDIVIDUAL CARD
===================================================== */

.longe-testimonial-card {
    flex: 0 0 calc((100% - 64px) / 3);
    min-width: 0;
    height: 410px;

    border: 1.5px solid #222;
    border-radius: 20px;

    background: #fff;

    position: relative;
    box-sizing: border-box;
    overflow: visible;
}


/* =====================================================
   TOP SECTION
===================================================== */

.longe-testimonial-top {
    height: 122px;

    border-bottom: 1px dashed #555;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 15px;
    box-sizing: border-box;
}


/* =====================================================
   STARS
===================================================== */

.longe-testimonial-stars {
    font-size: 27px;
    line-height: 1;
    letter-spacing: 3px;
    color: #222;

    margin-bottom: 12px;
}


/* =====================================================
   RESULT HEADING
===================================================== */

.longe-testimonial-result {
    margin: 0;

    text-align: center;

    font-size: 19px;
    line-height: 1.25;

    font-weight: 700;
    color: #292929;
}


/* =====================================================
   TESTIMONIAL BODY
===================================================== */

.longe-testimonial-body {
    height: calc(100% - 122px);

    padding: 45px 45px 55px;

    display: flex;
    align-items: flex-start;
    justify-content: center;

    box-sizing: border-box;
}


/* =====================================================
   TESTIMONIAL TEXT
===================================================== */

.longe-testimonial-text {
    margin: 5px 0 0;

    max-width: 470px;

    text-align: center;

    font-size: 19px;
    line-height: 1.45;

    font-weight: 500;
    color: #292929;
}


/* =====================================================
   NAME BADGE
===================================================== */

.longe-testimonial-name {
    position: absolute;

    left: 50%;
    bottom: -14px;

    transform: translateX(-50%);

    background: #292929;
    color: #fff;

    border-radius: 30px;

    padding: 6px 25px;

    font-size: 13px;
    line-height: 1;

    white-space: nowrap;

    z-index: 5;
}


/* =====================================================
   NAVIGATION
===================================================== */

.longe-testimonial-navigation {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 8px;

    margin-top: 95px;
}


/* =====================================================
   ARROW BUTTONS
===================================================== */

.longe-testimonial-arrow {
    width: 38px;
    height: 38px;

    border: 1.5px solid #222;
    border-radius: 50%;

    background: #fff;
    color: #222;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    transition: all 0.25s ease;
}


.longe-testimonial-arrow:hover {
    background: #222;
    color: #fff;
}


.longe-testimonial-arrow svg {
    width: 20px;
    height: 20px;

    display: block;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1024px) {

    .longe-testimonial-card {
        flex: 0 0 calc((100% - 32px) / 2);
    }

    .longe-testimonial-track {
        gap: 32px;
    }

    .longe-testimonial-text {
        font-size: 18px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .longe-testimonial-slider {
        padding: 10px 15px 55px;
    }

    .longe-testimonial-track {
        gap: 20px;
    }

    .longe-testimonial-card {
        flex: 0 0 100%;
        height: 400px;
        border-radius: 17px;
    }

    .longe-testimonial-top {
        height: 115px;
        padding: 12px;
    }

    .longe-testimonial-stars {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .longe-testimonial-result {
        font-size: 17px;
    }

    .longe-testimonial-body {
        height: calc(100% - 115px);
        padding: 35px 25px 45px;
    }

    .longe-testimonial-text {
        font-size: 17px;
        line-height: 1.45;
    }

    .longe-testimonial-navigation {
        margin-top: 70px;
    }

    .longe-testimonial-arrow {
        width: 38px;
        height: 38px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

    .longe-testimonial-card {
        height: 400px;
    }

    .longe-testimonial-text {
        font-size: 16px;
    }

}


/* =====================================================
   PREVENT CLONED CARDS FROM CAUSING VISUAL ISSUES
===================================================== */

.longe-testimonial-clone {
    pointer-events: none;
}

/* =========================================================
   LONGEFIT EXPERTS / TESTIMONIAL SECTION
   DESKTOP = 4 STATIC CARDS
   TABLET  = 2 CARD SLIDER
   MOBILE  = 1 CARD SLIDER
========================================================= */

.longe-experts {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    overflow: hidden;
}


/* =========================================================
   SLIDER WRAPPER
========================================================= */

.longe-experts-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}


/* =========================================================
   TRACK
========================================================= */

.longe-experts-track {
    display: flex;
    gap: 28px;
    width: 100%;
}


/* =========================================================
   CARD
   DESKTOP = 4 CARDS
========================================================= */

.longe-expert-card {
    flex: 0 0 calc((100% - 84px) / 4);

    background: #292929;

    border-radius: 28px;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    min-width: 0;

    box-sizing: border-box;
}


/* =========================================================
   IMAGE AREA
========================================================= */

.longe-expert-image {
    position: relative;

    width: 100%;
    height: 370px;

    overflow: hidden;

    background: #999;
}


.longe-expert-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}


/* =========================================================
   IMAGE GRADIENT
========================================================= */

.longe-expert-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0) 30%,
        rgba(0,0,0,0.12) 50%,
        rgba(0,0,0,0.90) 100%
    );

    pointer-events: none;
}


/* =========================================================
   EXPERT INFORMATION
========================================================= */

.longe-expert-info {
    position: absolute;

    left: 18px;
    right: 18px;
    bottom: 24px;

    z-index: 2;

    color: #fff;
}


.longe-expert-role {
    font-family: Arial, sans-serif;

    font-size: 25px;

    line-height: 1.05;

    font-weight: 700;

    margin-bottom: 8px;
}


.longe-expert-name {
    font-family: Arial, sans-serif;

    font-size: 17px;

    line-height: 1.2;

    font-weight: 700;

    margin-bottom: 7px;
}


.longe-expert-location {
    font-family: Arial, sans-serif;

    font-size: 12px;

    line-height: 1.3;

    font-weight: 400;
}


/* =========================================================
   QUOTE
========================================================= */

.longe-expert-quote {
    color: #fff;

    font-family: Arial, sans-serif;

    font-size: 22px;

    line-height: 1.3;

    font-weight: 400;

    padding: 38px 24px 30px;

    flex: 1;

    box-sizing: border-box;
}


/* =========================================================
   ARROWS
   HIDDEN ON DESKTOP
========================================================= */

.longe-expert-prev,
.longe-expert-next {
    display: none;

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 46px;
    height: 46px;

    border: 0;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.78);

    color: #fff;

    font-size: 23px;

    line-height: 1;

    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 20;

    padding: 0;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}


.longe-expert-prev:hover,
.longe-expert-next:hover {
    background: #000;

    transform:
        translateY(-50%)
        scale(1.06);
}


.longe-expert-prev {
    left: 5px;
}


.longe-expert-next {
    right: 5px;
}


/* =========================================================
   TABLET
   768px - 1100px
   2 CARDS + SLIDER
========================================================= */

@media (max-width: 1100px) and (min-width: 768px) {

    .longe-experts {
        padding: 0 20px;
    }


    .longe-experts-track {

        gap: 24px;

        transition:
            transform 0.65s
            cubic-bezier(
                0.22,
                0.61,
                0.36,
                1
            );

        will-change: transform;

        touch-action: pan-y;
    }


    .longe-expert-card {

        flex: 0 0
            calc((100% - 24px) / 2);
    }


    .longe-expert-image {
        height: 390px;
    }


    .longe-expert-role {
        font-size: 27px;
    }


    .longe-expert-name {
        font-size: 18px;
    }


    .longe-expert-location {
        font-size: 13px;
    }


    .longe-expert-quote {
        font-size: 25px;

        padding:
            40px
            24px
            30px;
    }


    /* SHOW ARROWS */

    .longe-expert-prev,
    .longe-expert-next {
        display: flex;
    }

}


/* =========================================================
   MOBILE
   1 CARD + SLIDER
========================================================= */

@media (max-width: 767px) {

    .longe-experts {
        padding: 0 15px;
    }


    .longe-experts-track {

        gap: 15px;

        transition:
            transform 0.65s
            cubic-bezier(
                0.22,
                0.61,
                0.36,
                1
            );

        will-change: transform;

        touch-action: pan-y;
    }


    .longe-expert-card {

        flex: 0 0 100%;

        border-radius: 24px;
    }


    .longe-expert-image {

        height: 390px;
    }


    .longe-expert-info {

        left: 20px;
        right: 20px;

        bottom: 24px;
    }


    .longe-expert-role {

        font-size: 27px;

        line-height: 1.05;
    }


    .longe-expert-name {

        font-size: 19px;
    }


    .longe-expert-location {

        font-size: 13px;
    }


    .longe-expert-quote {

        font-size: 26px;

        line-height: 1.28;

        padding:
            38px
            22px
            30px;
    }


    /* SHOW ARROWS */

    .longe-expert-prev,
    .longe-expert-next {

        display: flex;

        width: 42px;
        height: 42px;

        font-size: 21px;
    }


    .longe-expert-prev {
        left: 3px;
    }


    .longe-expert-next {
        right: 3px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .longe-expert-image {

        height: 360px;
    }


    .longe-expert-role {

        font-size: 25px;
    }


    .longe-expert-name {

        font-size: 18px;
    }


    .longe-expert-location {

        font-size: 12px;
    }


    .longe-expert-quote {

        font-size: 24px;

        padding:
            35px
            20px
            28px;
    }

}

/* =========================================
   LONGIFITSLDS VIDEO SLIDER
========================================= */

.longifitslds {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 70px;
}

.longifitslds .longifitslds-track {
    display: flex;
    gap: 70px;
    transition: transform 0.7s ease;
}

.longifitslds .longifitslds-slide {
    flex: 0 0 calc((100% - 140px) / 3);
    height: 720px;
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #111;
}

/* =========================================
   VIDEO
========================================= */

.longifitslds .longifitslds-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #000;
}

/* =========================================
   DARK OVERLAY
========================================= */

.longifitslds .longifitslds-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.65) 0%,
        rgba(0,0,0,0.05) 60%,
        rgba(0,0,0,0.10) 100%
    );
}

/* =========================================
   NUMBER
========================================= */

.longifitslds .longifitslds-number {
    position: absolute;
    top: 35px;
    left: 45px;
    z-index: 5;

    color: #fff;
    font-size: 22px;
}

/* =========================================
   PLAY / PAUSE BUTTON
========================================= */

.longifitslds .longifitslds-play {
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 72px;
    height: 72px;

    border: 2px solid #fff;
    border-radius: 50%;

    background: rgba(0,0,0,0.45);

    z-index: 10;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

/* PLAY ICON */

.longifitslds .longifitslds-play::after {
    content: "";

    margin-left: 5px;

    width: 0;
    height: 0;

    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid #fff;
}

/* PAUSE ICON */

.longifitslds .longifitslds-play.longifitslds-pause::after {
    content: "";

    width: 18px;
    height: 24px;

    margin-left: 0;

    border: 0;

    background:
        linear-gradient(
            to right,
            #fff 0,
            #fff 6px,
            transparent 6px,
            transparent 12px,
            #fff 12px,
            #fff 18px
        );
}

/* HOVER */

.longifitslds .longifitslds-play:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(0,0,0,0.7);
}

/* =========================================
   CONTENT
========================================= */

.longifitslds .longifitslds-content {
    position: absolute;

    left: 45px;
    right: 45px;
    bottom: 32px;

    z-index: 5;
}

.longifitslds .longifitslds-content h3 {
    color: #fff;

    font-size: 23px;
    font-weight: 600;

    margin: 0 0 18px;
}

.longifitslds .longifitslds-description {
    background: #fff;
    color: #333;

    padding: 18px 20px;

    font-size: 17px;
    line-height: 1.45;
}

/* =========================================
   VIDEO CONTROLS
========================================= */

.longifitslds .longifitslds-video::-webkit-media-controls {
    z-index: 20;
}

/* =========================================
   NAVIGATION
========================================= */

.longifitslds .longifitslds-navigation {
    display: flex;

    justify-content: center;

    gap: 8px;

    margin-top: 30px;
}

.longifitslds .longifitslds-btn {
    width: 40px;
    height: 40px;

    border: 1px solid #222;
    border-radius: 50%;

    background: #fff;
    color: #222;

    font-size: 20px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;
}

.longifitslds .longifitslds-btn:hover {
    background: #222;
    color: #fff;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .longifitslds .longifitslds-track {
        gap: 35px;
    }

    .longifitslds .longifitslds-slide {
        flex: 0 0 calc((100% - 70px) / 2);
        height: 650px;
    }

    .longifitslds .longifitslds-content {
        left: 30px;
        right: 30px;
    }

    .longifitslds .longifitslds-number {
        left: 30px;
        top: 25px;
    }
}


/* =========================================
   MOBILE
   ONE VIDEO BELOW ANOTHER
========================================= */

@media (max-width: 767px) {

    .longifitslds {
        padding: 0 15px 40px;
        overflow: visible;
    }

    /* Stack videos vertically */

    .longifitslds .longifitslds-track {
        display: flex;

        flex-direction: column;

        gap: 25px;

        transform: none !important;
        transition: none !important;
    }

    /* Each video */

    .longifitslds .longifitslds-slide {
        flex: 0 0 auto;

        width: 100%;
        height: 600px;

        border-radius: 18px;

        background: #111;
    }

    /* Video */

    .longifitslds .longifitslds-video {
        width: 100%;
        height: 100%;

        background: #000;

        object-fit: cover;
    }

    /* Number */

    .longifitslds .longifitslds-number {
        top: 28px;
        left: 35px;

        font-size: 18px;
    }

    /* Content */

    .longifitslds .longifitslds-content {
        left: 35px;
        right: 35px;

        bottom: 28px;
    }

    .longifitslds .longifitslds-content h3 {
        font-size: 18px;

        margin-bottom: 14px;
    }

    .longifitslds .longifitslds-description {
        font-size: 14px;

        padding: 15px;
    }

    /* Play / Pause */

    .longifitslds .longifitslds-play {
        width: 60px;
        height: 60px;
    }

    .longifitslds .longifitslds-play::after {
        border-top-width: 10px;
        border-bottom-width: 10px;
        border-left-width: 15px;
    }

    /* Mobile pause icon */

    .longifitslds .longifitslds-play.longifitslds-pause::after {
        width: 16px;
        height: 21px;

        background:
            linear-gradient(
                to right,
                #fff 0,
                #fff 5px,
                transparent 5px,
                transparent 11px,
                #fff 11px,
                #fff 16px
            );
    }

    /* Hide navigation */

    .longifitslds .longifitslds-navigation {
        display: none;
    }
}

// Video testimonials

/* =====================================================
   CAROUSEL
===================================================== */

.longe-video-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}


/* =====================================================
   TRACK
===================================================== */

.longe-video-track {
    display: flex;
    gap: 26px;

    width: 100%;

    transition:
        transform 0.8s
        cubic-bezier(0.22, 0.61, 0.36, 1);

    will-change: transform;

    cursor: grab;

    user-select: none;
    -webkit-user-select: none;
}

.longe-video-track.dragging {
    cursor: grabbing;
    transition: none !important;
}


/* =====================================================
   CARD
===================================================== */

.longe-video-card {
    flex: 0 0 calc((100% - 78px) / 4);

    min-width: 0;

    overflow: hidden;
}


/* =====================================================
   VIDEO BOX
===================================================== */

.longe-video-box {
    position: relative;

    width: 100%;
    height: 430px;

    background: #000;

    overflow: hidden;
}


/* =====================================================
   VIDEO
===================================================== */

.longe-video {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    background: #000;

    border: none;
    outline: none;
}


/* =====================================================
   PLAY BUTTON
===================================================== */

.longe-play-button {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 64px;
    height: 64px;

    padding: 0;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.72);

    color: #fff;

    font-size: 21px;

    line-height: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    z-index: 10;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.longe-play-button:hover {
    transform:
        translate(-50%, -50%)
        scale(1.08);

    background: rgba(0, 0, 0, 0.9);
}


/* =====================================================
   VOLUME CONTROL
===================================================== */

.longe-volume-control {
    position: absolute;

    right: 12px;
    bottom: 12px;

    display: flex;

    align-items: center;

    gap: 7px;

    padding: 7px 9px;

    background: rgba(0, 0, 0, 0.72);

    border-radius: 25px;

    z-index: 10;

    backdrop-filter: blur(4px);
}


/* =====================================================
   VOLUME BUTTON
===================================================== */

.longe-volume-button {
    width: 25px;
    height: 25px;

    padding: 0;

    border: none;

    background: transparent;

    color: #fff;

    font-size: 16px;

    line-height: 1;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =====================================================
   VOLUME SLIDER
===================================================== */

.longe-volume-slider {
    width: 70px;

    height: 4px;

    cursor: pointer;
}


/* =====================================================
   VIDEO INFO
===================================================== */

.longe-video-info {
    box-sizing: border-box;

    background: #292929;

    color: #fff;

    padding: 10px 10px 25px;

    min-height: 107px;
}


/* =====================================================
   TITLE
===================================================== */

.longe-video-info h3 {
    margin: 0 0 7px;

    color: #fff;

    font-size: 17px;

    font-weight: 600;

    line-height: 1.25;
}


/* =====================================================
   DESCRIPTION
===================================================== */

.longe-video-info p {
    margin: 0 0 8px;

    color: #ddd;

    font-size: 12px;

    line-height: 1.4;
}


/* =====================================================
   BOTTOM
===================================================== */

.longe-video-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    color: #fff;

    font-size: 12px;
}


/* =====================================================
   STARS
===================================================== */

.longe-stars {
    font-size: 14px;

    letter-spacing: 1px;

    white-space: nowrap;
}


/* =====================================================
   NAVIGATION
===================================================== */

.longe-video-navigation {
    display: flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    margin-top: 65px;
}


.longe-video-navigation button {
    width: 36px;
    height: 36px;

    padding: 0;

    border: 1px solid #222;

    border-radius: 50%;

    background: #fff;

    color: #222;

    font-size: 20px;

    line-height: 1;

    display: flex;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}


.longe-video-navigation button:hover {
    background: #222;

    color: #fff;
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 1024px) {

    .longe-video-card {
        flex: 0 0 calc((100% - 26px) / 2);
    }

    .longe-video-navigation {
        margin-top: 35px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 767px) {

    .longe-video-track {
        gap: 15px;
    }

    .longe-video-card {
        flex: 0 0 100%;
    }

    .longe-video-box {
        height: 430px;
    }

    .longe-video-navigation {
        margin-top: 25px;
    }

    .longe-play-button {
        width: 58px;
        height: 58px;

        font-size: 19px;
    }

    .longe-volume-control {
        right: 10px;
        bottom: 10px;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {

    .longe-video-box {
        height: 400px;
    }

    .longe-video-info {
        padding-bottom: 20px;
    }

}