/* Start custom CSS *//* =====================================
   KISPCO HERO - MAIN CONTAINER
===================================== */

.kis-hero {
    position: relative !important;
    width: min(94vw, 1500px) !important;
    height: clamp(430px, calc(100svh - 154px), 620px) !important;
    margin: 22px auto 18px !important;
    padding: 0 !important;
    overflow: hidden !important;
    isolation: isolate;
    border-radius: 28px;
    background: #0c2235;
    box-shadow: 0 28px 76px rgba(9,29,45,.22);
}

.kis-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: inherit;
}

/* =====================================
   SLIDES
===================================== */

.kis-hero .kis-hero-slide {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    isolation: isolate;

    background-size: cover !important;
    background-position: center 48% !important;
    background-repeat: no-repeat !important;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;

    transform: scale(1.012);

    transition:
        opacity .9s ease,
        transform 1.25s cubic-bezier(.2,.75,.2,1),
        visibility .9s;
}

.kis-hero .kis-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
    transform: scale(1);
}

/* Remove Elementor background overlay */
.kis-hero .kis-hero-slide > .elementor-background-overlay {
    display: none !important;
}

/* =====================================
   DARK OVERLAY - BELOW CONTENT
===================================== */

.kis-hero .kis-hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(
            270deg,
            rgba(7,24,39,.76) 0%,
            rgba(10,31,49,.62) 37%,
            rgba(12,36,55,.36) 62%,
            rgba(9,27,42,.10) 100%
        ),
        linear-gradient(
            0deg,
            rgba(5,19,31,.40),
            transparent 32%
        ),
        linear-gradient(
            115deg,
            transparent 42%,
            rgba(239,90,36,.055) 100%
        );
}

/* =====================================
   CONTENT - ABOVE THE OVERLAY
===================================== */

.kis-hero .kis-hero-content {
    position: absolute !important;
    z-index: 5 !important;
    isolation: isolate;

    top: 50% !important;
    right: 10% !important;
    left: auto !important;

    transform: translateY(-50%);
    width: min(52%,680px) !important;
    max-width: 680px;

    padding: 12px 0 18px;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    direction: rtl;
    text-align: right;
}

.kis-hero .kis-hero-content > * {
    position: relative;
    z-index: 1;
}

/* KICKER */

.kis-hero .kis-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 7px 13px;
    margin-bottom: 20px;

    border: 1px solid rgba(255,172,125,.34);
    border-radius: 50px;
    background: rgba(255,255,255,.075);

    color: #FFD2BB !important;
    font-family: Estedad, sans-serif;
    font-size: 11px;
    font-weight: 650;

    backdrop-filter: blur(8px);
}

.kis-hero .kis-hero-kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #FF8B38;
    box-shadow: 0 0 0 5px rgba(255,139,56,.13);
}

/* TITLE */

.kis-hero .kis-hero-title,
.kis-hero .kis-hero-title h1,
.kis-hero .kis-hero-title .elementor-heading-title {
    max-width: 680px;
    margin: 0 0 17px;

    color: #FFFFFF !important;
    font-family: Estedad, sans-serif;
    font-size: clamp(38px,4.1vw,60px);
    font-weight: 800;
    line-height: 1.36;
    letter-spacing: -.055em;

    text-shadow: 0 3px 24px rgba(0,0,0,.24);
}

.kis-hero .kis-hero-title em {
    color: #FF9860 !important;
    font-style: normal;
}

/* DESCRIPTION */

.kis-hero .kis-hero-description,
.kis-hero .kis-hero-description p {
    max-width: 590px;
    margin: 0 0 27px;

    color: #E2E9EE !important;
    font-family: Estedad, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 2.12;

    text-shadow: 0 2px 14px rgba(0,0,0,.32);
}

/* BUTTONS CONTAINER */

.kis-hero .kis-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* PRIMARY BUTTON */

.kis-hero .kis-hero-btn-primary {
    height: 50px;
    padding: 0 23px;
    border: 1px solid transparent;
    border-radius: 12px;

    background: linear-gradient(115deg,#EF5A24,#FF7A32);
    color: #FFFFFF !important;

    font-family: Estedad, sans-serif;
    font-size: 13px;
    font-weight: 700;

    box-shadow: 0 10px 24px rgba(239,90,36,.22);
    transition: transform .25s ease, box-shadow .25s ease;
}

.kis-hero .kis-hero-btn-primary::after {
    content: "←";
    margin-inline-start: 9px;
}

.kis-hero .kis-hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(239,90,36,.3);
}

/* SECONDARY BUTTON */

.kis-hero .kis-hero-btn-secondary {
    height: 50px;
    padding: 0 23px;
    border: 1px solid rgba(255,255,255,.27);
    border-radius: 12px;

    background: rgba(255,255,255,.08);
    color: #FFFFFF !important;

    font-family: Estedad, sans-serif;
    font-size: 13px;
    font-weight: 700;

    transition: background .25s ease;
}

.kis-hero .kis-hero-btn-secondary:hover {
    background: rgba(255,255,255,.16);
}

/* =====================================
   CONTENT ENTRANCE ANIMATION
===================================== */

.kis-hero .kis-hero-slide.is-active .kis-hero-kicker {
    animation: kisHeroContentIn .72s both cubic-bezier(.2,.75,.2,1);
}

.kis-hero .kis-hero-slide.is-active .kis-hero-title {
    animation: kisHeroContentIn .72s .07s both cubic-bezier(.2,.75,.2,1);
}

.kis-hero .kis-hero-slide.is-active .kis-hero-description {
    animation: kisHeroContentIn .72s .14s both cubic-bezier(.2,.75,.2,1);
}

.kis-hero .kis-hero-slide.is-active .kis-hero-actions {
    animation: kisHeroContentIn .72s .20s both cubic-bezier(.2,.75,.2,1);
}

@keyframes kisHeroContentIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================
   AUTO-GENERATED CONTROLS
===================================== */

.kis-hero .kis-hero-controls {
    position: absolute;
    z-index: 8;
    left: 35px;
    bottom: 28px;

    display: flex;
    align-items: center;
    gap: 11px;
    direction: ltr;
}

/* ARROWS */

.kis-hero .kis-hero-prev,
.kis-hero .kis-hero-next {
    width: 36px;
    height: 36px;
    padding: 0;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255,255,255,.34);
    border-radius: 50%;
    background: rgba(255,255,255,.09);

    color: #FFFFFF;
    font-family: Estedad, sans-serif;
    font-size: 16px;

    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: .22s ease;
}

.kis-hero .kis-hero-prev:hover,
.kis-hero .kis-hero-next:hover {
    background: #EF5A24;
    border-color: #EF5A24;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* DOTS */

.kis-hero .kis-hero-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.kis-hero .kis-hero-dot {
    width: 7px;
    height: 7px;
    min-width: 7px;
    padding: 0;

    border: 0;
    border-radius: 20px;
    background: rgba(255,255,255,.48);

    cursor: pointer;
    transition: width .3s ease, background .3s ease;
}

.kis-hero .kis-hero-dot.is-active {
    width: 27px;
    background: #FF8B38;
}

/* PROGRESS */

.kis-hero .kis-hero-progress {
    position: absolute;
    z-index: 8;
    left: 0;
    bottom: 0;

    width: 100%;
    height: 3px;
    overflow: hidden;

    background: rgba(255,255,255,.15);
}

.kis-hero .kis-hero-progress-fill {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg,#EF5A24,#FFB04B);
    box-shadow: 0 0 14px rgba(255,139,56,.55);
}

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

@media (max-width: 1050px) {
    .kis-hero .kis-hero-content {
        right: 8% !important;
        width: 56% !important;
    }
}

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

@media (max-width: 820px) {
    .kis-hero {
        width: calc(100% - 26px) !important;
        height: clamp(500px,calc(100svh - 130px),660px) !important;
        border-radius: 22px;
    }

    .kis-hero .kis-hero-slide.is-active {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    .kis-hero .kis-hero-content {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        transform: none;
        width: 100% !important;
        max-width: 680px;
        padding: 82px 30px 20px;
    }

    .kis-hero .kis-hero-title,
    .kis-hero .kis-hero-title h1,
    .kis-hero .kis-hero-title .elementor-heading-title {
        font-size: clamp(32px,6.3vw,46px);
    }

    .kis-hero .kis-hero-description,
    .kis-hero .kis-hero-description p {
        font-size: 12px;
        margin-bottom: 20px;
    }

    .kis-hero .kis-hero-controls {
        left: 25px;
        bottom: 18px;
    }
}

@media (max-width: 560px) {
    .kis-hero {
        width: calc(100% - 20px) !important;
        height: clamp(500px,calc(100svh - 125px),620px) !important;
        border-radius: 18px;
    }

    .kis-hero .kis-hero-content {
        padding: 72px 20px 10px;
    }

    .kis-hero .kis-hero-kicker {
        padding: 6px 10px;
        margin-bottom: 15px;
        font-size: 10px;
    }

    .kis-hero .kis-hero-title,
    .kis-hero .kis-hero-title h1,
    .kis-hero .kis-hero-title .elementor-heading-title {
        font-size: 29px;
        line-height: 1.48;
        margin-bottom: 12px;
    }

    .kis-hero .kis-hero-description,
    .kis-hero .kis-hero-description p {
        font-size: 11px;
        line-height: 2.05;
        margin-bottom: 18px;
    }

    .kis-hero .kis-hero-actions {
        gap: 8px;
    }

    .kis-hero .kis-hero-btn-primary,
    .kis-hero .kis-hero-btn-secondary {
        height: 42px;
        padding-inline: 13px;
        font-size: 10px;
    }

    .kis-hero .kis-hero-controls {
        left: 18px;
        bottom: 14px;
        gap: 8px;
    }

    .kis-hero .kis-hero-prev,
    .kis-hero .kis-hero-next {
        width: 32px;
        height: 32px;
    }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .kis-hero .kis-hero-slide,
    .kis-hero .kis-hero-slide::before,
    .kis-hero .kis-hero-slide.is-active .kis-hero-kicker,
    .kis-hero .kis-hero-slide.is-active .kis-hero-title,
    .kis-hero .kis-hero-slide.is-active .kis-hero-description,
    .kis-hero .kis-hero-slide.is-active .kis-hero-actions {
        animation: none !important;
        transition: none !important;
    }
}/* End custom CSS */