

.benefit-item i {
    color: #33cc00;
}


.carousel-section {
    margin-bottom: 5rem;
}

.carousel-section h4 {
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.carousel {
    position: relative;
    display: flex;
    align-items: center;
}

.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    z-index: 10;
    gap: 10px;
    scrollbar-width: none;
    -ms-overflow-style: none; 
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    position: relative;
    box-sizing: border-box;
    border-radius: 5px;
    overflow: hidden;
}

@media (min-width: 1200px) {
    .carousel-item {
        flex: 0 0 24.3%;
    }
}

.carousel-container img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.carousel-item img:hover {
    transform: scale(1.1);
}

.carousel-prev, .carousel-next {
    position: absolute;
    font-size: 2rem;
    cursor: pointer;
    z-index: 11;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    margin: 0 -3%;
}

.carousel:hover .carousel-prev,
.carousel:hover .carousel-next {
    opacity: 1;
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

body.no-scroll {
    overflow: hidden;
}

.popup.hidden {
    display: none;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.popup.show {
    opacity: 1;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.popup-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    transform: scale(0.7);
    transition: transform 0.3s ease-in-out;
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-content img {
    max-width: 90%;
    max-height: 90%;
}

.popup-nav {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1002;
    user-select: none;
}

.popup-next, .popup-prev {
   position: relative;
   margin: 20px;
   border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.popup-close {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 2rem;
    cursor: pointer;
    z-index: 250;
    margin: 20px;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.carousel-prev, .carousel-next, .popup-next, .popup-prev, .popup-close {
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 75px;
    height: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px;
    font-family: 'Inter Tight';
    font-weight: 700;
    text-transform: uppercase;
    overflow: hidden;
    z-index: 11;
    border-radius: 50%;
    background-color: #000;
    color: #fff;
}

.carousel-prev::before, .carousel-next::before, .popup-next::before, .popup-prev::before, .popup-close::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 25%, rgba(125, 83, 222,0.5) 75%);
    z-index: -1;
    transition: left 0.3s ease;
}

.carousel-prev:hover::before, .carousel-next:hover::before, .popup-next:hover::before, .popup-prev:hover::before, .popup-close:hover::before {
    left: 0;
}

.carousel-prev:hover, .carousel-next:hover, .popup-next:hover, .popup-prev:hover {
    background-color: #000;
    color: #fff;
    z-index: 100;
}

/* BEFORE/AFTER */
.splitview {
    position: relative;
    width: 100%;
    min-height: 35vw;
    overflow: hidden;
}

.panel {
    position: absolute;
    width: 100vw;
    min-height: 35vw;
    overflow: hidden;
}

.panel .content {
    position: absolute;
    width: 100vw;
    min-height: 35vw;
}

.panel .description {
    width: 25%;
    position: absolute;
    text-transform: uppercase;
    z-index: 20;
}

.panel.top .description {
    writing-mode: vertical-lr;
    text-orientation: mixed;
    left: 0;
    padding: 20px;
    color: #000;
}

.panel.bottom .description {
    writing-mode: vertical-lr;
    text-orientation: mixed;
    transform: rotate(180deg);
    right: 0;
    bottom: 0;
    padding: 20px;
}

.panel img {
    box-shadow: 0 0 20px 20px rgba(0, 0, 0, 0.15);
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.bottom {
    background-color: #000;
    z-index: 1;
}

    .bottom .description {
        right: 5%;
    }

.top {
    background-color: rgb(125, 83, 222, 0.1);
    z-index: 2;
    width: 50vw;
}

    .top .description {
        left: 5%;
    }

/* Handle. */
.handle {
    height: 100%;
    position: absolute;
    display: block;
    background-color: rgba(0, 0, 0, 1);
    width: 25px;
    top: 0;
    left: 50%;
    z-index: 3;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* Skewed. */
.skewed .handle {
    top: 50%;
    transform: rotate(10deg) translateY(-50%);
    height: 200%;
    -webkit-transform-origin: top;
    -moz-transform-origin: top;
    transform-origin: top;
}

.skewed .top {
    transform: skew(-10deg);
    margin-left: -1000px;
    width: calc(50vw + 1000px);
}

.skewed .top .content {
    transform: skew(10deg);
    margin-left: 1000px;
}





/* RESPONSIVE - MOBILE - 478px */
@media only screen and (max-width: 478px) {
    .handle {
        width: 5px;
    }
}