.hero-slider {
    height: 500px;
    overflow: hidden;
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    max-width: 100vw;
    width: auto !important;
}

.hero-slider .carousel-cell:hover {
    text-decoration: none;
}

.hero-slider .carousel-cell {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.hero-slider .carousel-cell .slide-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 1;
}

.hero-slider .carousel-cell .slide-content-inner {
    background: #0079c2a6;
    padding-top: 24px;
    padding-bottom: 16px;
}

.hero-slider .carousel-cell .slide-content p {
    line-height: normal;
}

.hero-slider .carousel-cell .slide-content .title {
    position: relative;
    font-size: 1.8rem;
    font-style: italic;
    color: #ffffff;
}

.hero-slider .carousel-cell .slide-content .caption {
    text-transform: uppercase;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
}

/* --------------------------------
Masking
-------------------------------- */
.slide-content .title,
.slide-content .caption {
    position: relative;
    opacity: 0;
    animation-fill-mode: forwards;
}

.slide-content.mask .mask {
    position: relative;
    overflow: hidden;
}

.slide-content.mask .title {
    animation: slide-up 1s cubic-bezier(0.85, 0, 0.15, 1) 0.3s backwards;
    opacity: 1;
}

.slide-content.mask .caption {
    animation-duration: 2s;
    animation-delay: 0.3s;
    animation-name: slide-down;
    animation-timing-function: cubic-bezier(0.85, 0, 0.15, 1);
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes poof {
    0% {
        opacity: 0;
        background-position: 100% 150%;
        transform: rotateZ(0) scale(1);
    }

    50% {
        opacity: 0.5;
        background-position: 100% 100%;
        transform: rotateZ(-10deg) scale(1.5);
    }

    100% {
        opacity: 0;
        background-position: 100% 50%;
        transform: rotateZ(-20deg) scale(2);
    }
}

/* Slides */

.floater {
    position: absolute;
    right: 15px;
    bottom: 40%;
    transform: translateY(50%);
    text-align: right;
    /* z-index: -1; */
    z-index: 2;
}


.flickity-button {
    display: none !important;
}

@media (max-width: 1359px) {
    .hero-slider .carousel-cell .slide-content .title {
        font-size: 1.2rem;
    }

    .hero-slider .carousel-cell .slide-content .caption {
        font-size: 1.8rem;
    }
}

@media (max-width:1170px) {

    .hero-slider {
        height: 530px;
    }

    .slide-content.mask .mask {
        text-align: center;
    }

    .floater {
        right: 50%;
        transform: translate(50%, 50%);
        text-align: center;
    }

    .hero-slider .carousel-cell .slide-content .floater img {
        max-width: 350px;
    }


    .hero-slider .carousel-cell .slide-content .title {
        font-size: 1.1rem;
    }

    .hero-slider .carousel-cell .slide-content .caption {
        font-size: 1.8rem;
    }

}

@media (max-width:767px) {
    .hero-slider .carousel-cell .slide-content .floater img {
        max-width: 300px;
    }


    .hero-slider .carousel-cell .slide-content .floater {
        transform: translate(50%, 10%);
        width: 80%;
    }

    .hero-slider .carousel-cell .slide-content .caption {
        font-size: 1.5rem;
    }
}

.desktopslider {
    display: block;
}

.mobiler-slidr {
    display: none;
}

@media (max-width:768px) {
    .desktopslider {
        display: none;
    }

    .mobiler-slidr {
        display: block;
    }

    .slide-asda {
        background: #0079c2;
        padding: 20px;
        color: #fff;
    }

    .slide-caption h3 {
        color: #fff;
        font-size: 1.25rem;
        margin: 0;
    }

    .slide-title p {
        font-size: 1rem;
        margin-bottom: 5px;
    }
}

/* Default + icon */
td.control:before {
    display: none !important;
    /* hide DataTables default icon */
}

td.control i {
    font-size: 18px;
    cursor: pointer;
}

@media (max-width:768px) {
    span.dtr-data {
        display: block;
    }
}

/* Hero Video Styles */
.hero-video-container {
    position: relative;
    width: 100vw;
    height: 500px;
    overflow: hidden;
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    background: #000;
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    color: #fff !important;
    z-index: 10;
}

.video-content {
    max-width: 800px;
    padding: 20px;
    position: relative;
    z-index: 20;
}

.video-title {
    font-size: 3.5rem;
    font-weight: 600 !important;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff !important;
    text-transform: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* Add shadow for visibility */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.video-description {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 30px;
    max-width: 705px;
    color: #fff !important;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.btn-primary-rounded {
    background: #fff !important;
    color: #000 !important;
    padding: 14px 35px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    display: inline-block !important;
    transition: all 0.3s ease;
    border: none !important;
}

.btn-primary-rounded:hover {
    background: #0079c2 !important;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1359px) {
    .video-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 1170px) {
    .video-title {
        font-size: 2.5rem;
    }

    .hero-video-container {
        height: 450px;
    }
}

@media (max-width: 767px) {
    .hero-video-container {
        height: 100vh;
        min-height: 500px;
        margin: 0;
        width: 100%;
    }

    .hero-video-container.mobile-hero-video {
        display: block !important;
    }

    #hero-video-mobile {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        z-index: 1;
        transform: translate(-50%, -50%);
        object-fit: cover;
    }

    .video-content {
        padding: 0;
    }

    .video-overlay {
        background: rgba(0, 0, 0, 0.4);
        align-items: center;
    }

    .video-title {
        font-size: 1.8rem !important;
        margin-bottom: 25px;
        line-height: 1.0;
    }

    .video-description {
        font-size: 1.0rem !important;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .btn-primary-rounded {
        padding: 12px 25px !important;
        font-size: 1rem !important;
        width: auto;
    }
}