﻿/* =========================================================
   UIH PROFESSIONAL HOME SLIDER
   ========================================================= */

.uih-simple-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
}


/* =========================================================
   STAGE
   ========================================================= */

.uih-simple-slider-stage {
    position: relative;
    width: 100%;
    height: clamp(430px, 58vw, 760px);
    overflow: hidden;
}


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

.uih-simple-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    opacity: 0;
    visibility: hidden;

    transform: scale(1.025);

    transition:
        opacity 1s ease,
        visibility 1s ease,
        transform 6s ease;

    z-index: 1;
}


/* Active slide */

.uih-simple-slide.is-active {
    opacity: 1;
    visibility: visible;

    transform: scale(1);

    z-index: 2;
}


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

.uih-simple-slide img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    transform: scale(1.08);

    transition:
        transform 8s cubic-bezier(.2,.65,.25,1);
}


/* Slow cinematic zoom */

.uih-simple-slide.is-active img {
    transform: scale(1);
}


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

.uih-simple-slide::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 20, 38, .58) 0%,
            rgba(5, 20, 38, .28) 45%,
            rgba(5, 20, 38, .08) 75%,
            transparent 100%
        );

    z-index: 1;
}


/* RTL overlay direction */

[dir="rtl"] .uih-simple-slide::after {

    background:
        linear-gradient(
            270deg,
            rgba(5, 20, 38, .58) 0%,
            rgba(5, 20, 38, .28) 45%,
            rgba(5, 20, 38, .08) 75%,
            transparent 100%
        );
}


/* =========================================================
   CAPTION
   ========================================================= */

..uih-simple-slide-caption {
    position: absolute;
    z-index: 4;

    left: 7%;
    right: 7%;
    bottom: 25%;

    max-width: 760px;

    padding: 24px 28px;

    color: #fff;

    background: rgba(7, 28, 50, .42);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    backdrop-filter: blur(8px);

    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity .8s ease .2s,
        transform .8s cubic-bezier(.2,.75,.25,1) .2s;
}


/* Caption animation */

.uih-simple-slide.is-active .uih-simple-slide-caption {
    opacity: 1;
    transform: translateY(0);
}


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

.uih-simple-slide-caption h1 {
    margin: 0 0 12px;

    color: #fff;

    font-size: clamp(2rem, 4vw, 4.4rem);

    line-height: 1.12;

    font-weight: 800;

    opacity: 0;

    transform: translateY(22px);

    transition:
        opacity .65s ease .35s,
        transform .65s ease .35s;
}

.uih-simple-slide.is-active
.uih-simple-slide-caption h1 {

    opacity: 1;

    transform: translateY(0);
}


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

.uih-simple-slide-caption p {
    margin: 0;

    color: rgba(255,255,255,.92);

    font-size: clamp(.98rem, 1.2vw, 1.18rem);

    line-height: 1.85;

    opacity: 0;

    transform: translateY(18px);

    transition:
        opacity .65s ease .55s,
        transform .65s ease .55s;
}

.uih-simple-slide.is-active
.uih-simple-slide-caption p {

    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   RTL / LTR
   ========================================================= */

[dir="rtl"] .uih-simple-slide-caption {
    margin-left: auto;
    text-align: right;
}

[dir="ltr"] .uih-simple-slide-caption {
    margin-right: auto;
    text-align: left;
}


/* =========================================================
   ARROWS
   ========================================================= */

.uih-simple-slider-arrow {
    position: absolute;

    z-index: 20;

    top: 50%;

    width: 52px;
    height: 52px;

    transform: translateY(-50%);

    border: 1px solid rgba(255,255,255,.45);

    border-radius: 50%;

    background: rgba(4, 18, 34, .38);

    color: #fff;

    font-size: 29px;

    cursor: pointer;

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

    backdrop-filter: blur(6px);

    transition:
        background .25s ease,
        transform .25s ease,
        border-color .25s ease;
}


.uih-simple-slider-arrow:hover {

    background: rgba(7, 34, 62, .82);

    border-color: rgba(255,255,255,.85);

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


.uih-simple-slider-prev {
    left: 28px;
}

.uih-simple-slider-next {
    right: 28px;
}


/* =========================================================
   DOTS
   ========================================================= */

.uih-simple-slider-dots {

    position: absolute;

    z-index: 20;

    bottom: 26px;

    left: 50%;

    transform: translateX(-50%);

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 8px 12px;

    border-radius: 30px;

    background: rgba(0,0,0,.20);

    backdrop-filter: blur(5px);
}


.uih-simple-slider-dot {

    width: 9px;
    height: 9px;

    padding: 0;

    border: 0;

    border-radius: 50%;

    background: rgba(255,255,255,.52);

    cursor: pointer;

    transition:
        width .3s ease,
        background .3s ease,
        transform .3s ease;
}


.uih-simple-slider-dot:hover {

    transform: scale(1.25);

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


.uih-simple-slider-dot.is-active {

    width: 30px;

    border-radius: 8px;

    background: #fff;
}


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

@media (max-width: 768px) {

    .uih-simple-slider-stage {
        height: 500px;
    }

    .uih-simple-slide-caption {

        left: 18px;
        right: 18px;

        bottom: 70px;

        padding: 18px 20px;

        border-radius: 14px;

        background: rgba(5, 23, 42, .52);
    }

    .uih-simple-slide-caption h1 {
        font-size: 2rem;
    }

    .uih-simple-slide-caption p {
        font-size: .95rem;
        line-height: 1.7;
    }

    .uih-simple-slider-arrow {

        width: 42px;
        height: 42px;

        font-size: 24px;
    }

    .uih-simple-slider-prev {
        left: 10px;
    }

    .uih-simple-slider-next {
        right: 10px;
    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .uih-simple-slide,
    .uih-simple-slide img,
    .uih-simple-slide-caption,
    .uih-simple-slide-caption h1,
    .uih-simple-slide-caption p,
    .uih-simple-slider-arrow,
    .uih-simple-slider-dot {

        transition: none !important;
        animation: none !important;
    }

}
/* =========================================================
   UIH PREMIUM CINEMATIC SLIDER
   ========================================================= */

.uih-simple-slider {
    --slider-delay: 5000ms;

    isolation: isolate;
    background: #071b32;
}

/* subtle animated light */
.uih-simple-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 8;
    pointer-events: none;

    background:
        radial-gradient(
            circle at 25% 45%,
            rgba(182,181,128,.13),
            transparent 36%
        );

    opacity: .7;

    animation: uihSliderGlow 8s ease-in-out infinite alternate;
}

/* progress line */
.uih-simple-slider::before {
    content: "";
    position: absolute;

    z-index: 30;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 4px;

    transform: scaleX(0);
    transform-origin: left center;

    background:
        linear-gradient(
            90deg,
            #b6b580,
            #ffffff,
            #b6b580
        );

    box-shadow:
        0 0 12px rgba(182,181,128,.6);

    pointer-events: none;
}

[dir="rtl"] .uih-simple-slider::before {
    transform-origin: right center;
}

.uih-simple-slider.is-progress-running::before {
    animation:
        uihSliderProgress
        var(--slider-delay)
        linear
        forwards;
}


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

.uih-simple-slide {
    opacity: 0;

    visibility: hidden;

    transform: scale(1.035);

    filter:
        brightness(.88)
        saturate(.92);

    transition:
        opacity 1.15s cubic-bezier(.22,.61,.36,1),
        visibility 1.15s,
        transform 1.3s cubic-bezier(.22,.61,.36,1),
        filter 1.3s ease;

    will-change:
        opacity,
        transform;
}

.uih-simple-slide.is-active {
    opacity: 1;

    visibility: visible;

    transform: scale(1);

    filter:
        brightness(1)
        saturate(1);

    z-index: 2;
}


/* =========================================================
   ADVANCED KEN BURNS
   ========================================================= */

.uih-simple-slide img {
    transform:
        scale(1.12)
        translate3d(0,0,0);

    transition: none;

    will-change: transform;
}

/* slide 1 */
.uih-simple-slide:nth-child(4n + 1).is-active img {
    animation:
        uihKenBurnsA
        8s
        cubic-bezier(.2,.65,.25,1)
        forwards;
}

/* slide 2 */
.uih-simple-slide:nth-child(4n + 2).is-active img {
    animation:
        uihKenBurnsB
        8s
        cubic-bezier(.2,.65,.25,1)
        forwards;
}

/* slide 3 */
.uih-simple-slide:nth-child(4n + 3).is-active img {
    animation:
        uihKenBurnsC
        8s
        cubic-bezier(.2,.65,.25,1)
        forwards;
}

/* slide 4 */
.uih-simple-slide:nth-child(4n + 4).is-active img {
    animation:
        uihKenBurnsD
        8s
        cubic-bezier(.2,.65,.25,1)
        forwards;
}


/* =========================================================
   PREMIUM OVERLAY
   ========================================================= */

.uih-simple-slide::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            180deg,
            rgba(3,16,31,.08) 0%,
            rgba(3,16,31,.05) 45%,
            rgba(3,16,31,.45) 100%
        );

    pointer-events: none;
}

.uih-simple-slide::after {
    opacity: .94;
}


/* =========================================================
   PREMIUM CAPTION REVEAL
   ========================================================= */

.uih-simple-slide-caption {
    overflow: hidden;

    box-shadow:
        0 20px 55px rgba(0,0,0,.18);

    background:
        linear-gradient(
            135deg,
            rgba(7,28,50,.60),
            rgba(12,44,91,.34)
        );

    border:
        1px solid rgba(255,255,255,.20);

    backdrop-filter:
        blur(14px)
        saturate(125%);

    -webkit-backdrop-filter:
        blur(14px)
        saturate(125%);

    opacity: 0;

    transform:
        translate3d(0,45px,0)
        scale(.975);

    clip-path:
        inset(0 0 100% 0 round 18px);

    transition:
        opacity .75s ease .15s,
        transform .9s cubic-bezier(.16,1,.3,1) .15s,
        clip-path 1s cubic-bezier(.16,1,.3,1) .10s;
}

.uih-simple-slide.is-active
.uih-simple-slide-caption {
    opacity: 1;

    transform:
        translate3d(0,0,0)
        scale(1);

    clip-path:
        inset(0 0 0 0 round 18px);
}


/* olive accent line */
.uih-simple-slide-caption::before {
    content: "";

    position: absolute;

    top: 22px;
    bottom: 22px;

    width: 4px;

    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            #b6b580,
            rgba(182,181,128,.25)
        );

    opacity: 0;

    transform: scaleY(.25);

    transition:
        opacity .5s ease .45s,
        transform .8s cubic-bezier(.16,1,.3,1) .45s;
}

[dir="ltr"] .uih-simple-slide-caption::before {
    left: 14px;
    transform-origin: top;
}

[dir="rtl"] .uih-simple-slide-caption::before {
    right: 14px;
    transform-origin: top;
}

.uih-simple-slide.is-active
.uih-simple-slide-caption::before {
    opacity: 1;
    transform: scaleY(1);
}


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

.uih-simple-slide-caption h1 {
    opacity: 0;

    transform:
        translate3d(0,35px,0);

    filter: blur(7px);

    transition:
        opacity .75s ease .42s,
        transform .9s cubic-bezier(.16,1,.3,1) .42s,
        filter .75s ease .42s;

    text-shadow:
        0 8px 28px rgba(0,0,0,.22);
}

.uih-simple-slide.is-active
.uih-simple-slide-caption h1 {
    opacity: 1;

    transform:
        translate3d(0,0,0);

    filter: blur(0);
}


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

.uih-simple-slide-caption p {
    opacity: 0;

    transform:
        translate3d(0,28px,0);

    filter: blur(5px);

    transition:
        opacity .75s ease .62s,
        transform .9s cubic-bezier(.16,1,.3,1) .62s,
        filter .75s ease .62s;
}

.uih-simple-slide.is-active
.uih-simple-slide-caption p {
    opacity: 1;

    transform:
        translate3d(0,0,0);

    filter: blur(0);
}


/* =========================================================
   PREMIUM ARROWS
   ========================================================= */

.uih-simple-slider-arrow {
    overflow: hidden;

    background:
        rgba(12,44,91,.35);

    border:
        1px solid rgba(255,255,255,.28);

    box-shadow:
        0 12px 30px rgba(0,0,0,.16);

    backdrop-filter:
        blur(14px);

    -webkit-backdrop-filter:
        blur(14px);
}

.uih-simple-slider-arrow::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.25),
            transparent 55%
        );

    opacity: 0;

    transition: opacity .3s ease;
}

.uih-simple-slider-arrow:hover::before {
    opacity: 1;
}

.uih-simple-slider-arrow:hover {
    background:
        rgba(12,44,91,.78);

    border-color:
        #b6b580;

    box-shadow:
        0 15px 36px rgba(0,0,0,.24);

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


/* =========================================================
   PREMIUM DOTS
   ========================================================= */

.uih-simple-slider-dots {
    background:
        rgba(7,28,50,.34);

    border:
        1px solid rgba(255,255,255,.13);

    box-shadow:
        0 10px 30px rgba(0,0,0,.14);

    backdrop-filter:
        blur(12px);

    -webkit-backdrop-filter:
        blur(12px);
}

.uih-simple-slider-dot {
    position: relative;

    overflow: hidden;
}

.uih-simple-slider-dot.is-active {
    width: 36px;

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

.uih-simple-slider-dot.is-active::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            #ffffff,
            #b6b580
        );

    transform-origin: left center;

    animation:
        uihDotPulse
        .45s
        ease
        forwards;
}


/* =========================================================
   KEYFRAMES
   ========================================================= */

@keyframes uihKenBurnsA {
    from {
        transform:
            scale(1.12)
            translate3d(-1.2%, -1%, 0);
    }

    to {
        transform:
            scale(1.035)
            translate3d(1.2%, 1%, 0);
    }
}

@keyframes uihKenBurnsB {
    from {
        transform:
            scale(1.12)
            translate3d(1.5%, 0, 0);
    }

    to {
        transform:
            scale(1.035)
            translate3d(-1%, -1%, 0);
    }
}

@keyframes uihKenBurnsC {
    from {
        transform:
            scale(1.10)
            translate3d(0, 1.4%, 0);
    }

    to {
        transform:
            scale(1.025)
            translate3d(0, -1%, 0);
    }
}

@keyframes uihKenBurnsD {
    from {
        transform:
            scale(1.11)
            translate3d(-1%, 1%, 0);
    }

    to {
        transform:
            scale(1.03)
            translate3d(1%, -1%, 0);
    }
}

@keyframes uihSliderProgress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@keyframes uihSliderGlow {
    from {
        opacity: .45;
        transform: translate3d(-2%,0,0);
    }

    to {
        opacity: .85;
        transform: translate3d(2%,0,0);
    }
}

@keyframes uihDotPulse {
    from {
        transform: scaleX(.15);
        opacity: .5;
    }

    to {
        transform: scaleX(1);
        opacity: 1;
    }
}


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

@media (max-width: 768px) {

    .uih-simple-slider-stage {
        height: min(72vh, 560px);
        min-height: 440px;
    }

    .uih-simple-slide-caption {
        bottom: 72px;

        padding:
            20px 22px;

        background:
            rgba(7,28,50,.62);

        backdrop-filter:
            blur(10px);
    }

    .uih-simple-slide-caption h1 {
        font-size:
            clamp(1.75rem, 8vw, 2.35rem);
    }

    .uih-simple-slider::after {
        display: none;
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .uih-simple-slider::before,
    .uih-simple-slider::after,
    .uih-simple-slide img,
    .uih-simple-slider-dot.is-active::after {
        animation: none !important;
    }

    .uih-simple-slide-caption {
        clip-path: none !important;
    }

}


/* =========================================================
   UIH ULTRA PREMIUM SLIDER
   Final cinematic enhancement layer
   ========================================================= */

.uih-simple-slider {
    --uih-cinematic-ease: cubic-bezier(.16, 1, .3, 1);
    --uih-soft-ease: cubic-bezier(.22, .61, .36, 1);
    overflow: hidden;
}

/* ---------------------------------------------------------
   CINEMATIC IMAGE TRANSITION
   --------------------------------------------------------- */

.uih-simple-slide {
    transform: scale(1.045);
    transition:
        opacity 1.25s var(--uih-soft-ease),
        visibility 1.25s,
        transform 1.6s var(--uih-cinematic-ease),
        filter 1.25s ease;
}

.uih-simple-slide:not(.is-active) {
    filter:
        brightness(.72)
        saturate(.82)
        blur(1.5px);
}

.uih-simple-slide.is-active {
    transform: scale(1);
    filter:
        brightness(1)
        saturate(1)
        blur(0);
}


/* ---------------------------------------------------------
   CINEMATIC VIGNETTE
   --------------------------------------------------------- */

.uih-simple-slider-stage::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 7;
    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(4,16,31,.06) 0%,
            transparent 34%,
            transparent 62%,
            rgba(4,16,31,.30) 100%
        ),
        linear-gradient(
            90deg,
            rgba(4,16,31,.20) 0%,
            transparent 28%,
            transparent 72%,
            rgba(4,16,31,.12) 100%
        );
}


/* ---------------------------------------------------------
   CAPTION - ULTRA GLASS
   --------------------------------------------------------- */

.uih-simple-slide-caption {
    position: relative;

    border:
        1px solid rgba(255,255,255,.22);

    background:
        linear-gradient(
            135deg,
            rgba(8,30,57,.72) 0%,
            rgba(12,44,91,.47) 58%,
            rgba(12,44,91,.30) 100%
        );

    box-shadow:
        0 30px 80px rgba(0,0,0,.23),
        inset 0 1px 0 rgba(255,255,255,.13);

    backdrop-filter:
        blur(18px)
        saturate(135%);

    -webkit-backdrop-filter:
        blur(18px)
        saturate(135%);

    opacity: 0;

    transform:
        translate3d(0,55px,0)
        scale(.96);

    clip-path:
        inset(0 0 100% 0 round 20px);

    transition:
        opacity .75s ease .20s,
        transform 1.05s var(--uih-cinematic-ease) .18s,
        clip-path 1.10s var(--uih-cinematic-ease) .15s;
}

.uih-simple-slide.is-active
.uih-simple-slide-caption {
    opacity: 1;

    transform:
        translate3d(0,0,0)
        scale(1);

    clip-path:
        inset(0 0 0 0 round 20px);
}


/* ---------------------------------------------------------
   LIGHT SWEEP
   --------------------------------------------------------- */

.uih-simple-slide-caption::after {
    content: "";

    position: absolute;

    top: -70%;
    left: -50%;

    width: 34%;
    height: 240%;

    z-index: 0;

    pointer-events: none;

    opacity: 0;

    transform:
        rotate(18deg)
        translateX(-220%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.11),
            rgba(182,181,128,.13),
            transparent
        );
}

.uih-simple-slide.is-active
.uih-simple-slide-caption::after {
    animation:
        uihUltraLightSweep
        1.7s
        var(--uih-cinematic-ease)
        .65s
        1;
}


/* keep caption content above light sweep */

.uih-simple-slide-caption > * {
    position: relative;
    z-index: 2;
}


/* ---------------------------------------------------------
   OLIVE ACCENT
   --------------------------------------------------------- */

.uih-simple-slide-caption::before {
    z-index: 3;

    box-shadow:
        0 0 18px rgba(182,181,128,.30);

    transform:
        scaleY(0);

    opacity: 0;

    transition:
        transform .85s var(--uih-cinematic-ease) .38s,
        opacity .45s ease .38s;
}

.uih-simple-slide.is-active
.uih-simple-slide-caption::before {
    transform: scaleY(1);
    opacity: 1;
}


/* ---------------------------------------------------------
   TITLE REVEAL
   --------------------------------------------------------- */

.uih-simple-slide-caption h1 {
    opacity: 0;

    transform:
        translate3d(0,45px,0)
        skewY(2deg);

    filter: blur(8px);

    letter-spacing: -.02em;

    transition:
        opacity .72s ease .42s,
        transform 1s var(--uih-cinematic-ease) .40s,
        filter .80s ease .40s;
}

.uih-simple-slide.is-active
.uih-simple-slide-caption h1 {
    opacity: 1;

    transform:
        translate3d(0,0,0)
        skewY(0);

    filter: blur(0);
}


/* ---------------------------------------------------------
   DESCRIPTION REVEAL
   --------------------------------------------------------- */

.uih-simple-slide-caption p {
    opacity: 0;

    transform:
        translate3d(0,35px,0);

    filter: blur(6px);

    transition:
        opacity .75s ease .62s,
        transform 1s var(--uih-cinematic-ease) .60s,
        filter .8s ease .60s;
}

.uih-simple-slide.is-active
.uih-simple-slide-caption p {
    opacity: 1;

    transform:
        translate3d(0,0,0);

    filter: blur(0);
}


/* ---------------------------------------------------------
   CTA / LINKS INSIDE CAPTION
   --------------------------------------------------------- */

.uih-simple-slide-caption a,
.uih-simple-slide-caption button {
    opacity: 0;

    transform:
        translate3d(0,28px,0)
        scale(.94);

    transition:
        opacity .65s ease .80s,
        transform .85s var(--uih-cinematic-ease) .78s,
        box-shadow .3s ease,
        background .3s ease;
}

.uih-simple-slide.is-active
.uih-simple-slide-caption a,
.uih-simple-slide.is-active
.uih-simple-slide-caption button {
    opacity: 1;

    transform:
        translate3d(0,0,0)
        scale(1);
}


/* ---------------------------------------------------------
   ARROWS
   --------------------------------------------------------- */

.uih-simple-slider-arrow {
    transition:
        transform .38s var(--uih-cinematic-ease),
        background .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.uih-simple-slider-arrow:active {
    transform:
        translateY(-50%)
        scale(.94);
}


/* ---------------------------------------------------------
   DOTS
   --------------------------------------------------------- */

.uih-simple-slider-dot {
    transition:
        width .45s var(--uih-cinematic-ease),
        transform .3s ease,
        background .3s ease;
}

.uih-simple-slider-dot:hover {
    transform: scale(1.18);
}

.uih-simple-slider-dot.is-active {
    width: 42px;
}


/* ---------------------------------------------------------
   PROGRESS BAR
   --------------------------------------------------------- */

.uih-simple-slider::before {
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #b6b580 0%,
            #ffffff 48%,
            #b6b580 100%
        );

    box-shadow:
        0 0 16px rgba(182,181,128,.65);

    z-index: 40;
}


/* ---------------------------------------------------------
   SLIDE CHANGE MICRO EFFECT
   --------------------------------------------------------- */

.uih-simple-slider.is-changing
.uih-simple-slider-arrow,

.uih-simple-slider.is-changing
.uih-simple-slider-dots {
    opacity: .72;
}


/* ---------------------------------------------------------
   KEYFRAMES
   --------------------------------------------------------- */

@keyframes uihUltraLightSweep {

    0% {
        opacity: 0;
        transform:
            rotate(18deg)
            translateX(-220%);
    }

    20% {
        opacity: .75;
    }

    65% {
        opacity: .45;
    }

    100% {
        opacity: 0;
        transform:
            rotate(18deg)
            translateX(520%);
    }
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 768px) {

    .uih-simple-slide-caption {
        transform:
            translate3d(0,34px,0)
            scale(.98);

        backdrop-filter:
            blur(12px);

        -webkit-backdrop-filter:
            blur(12px);
    }

    .uih-simple-slide-caption::after {
        display: none;
    }

    .uih-simple-slide-caption h1 {
        transform:
            translate3d(0,28px,0);

        filter: blur(4px);
    }

    .uih-simple-slide-caption p {
        transform:
            translate3d(0,22px,0);

        filter: blur(3px);
    }

}


/* ---------------------------------------------------------
   ACCESSIBILITY
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .uih-simple-slide,
    .uih-simple-slide-caption,
    .uih-simple-slide-caption h1,
    .uih-simple-slide-caption p,
    .uih-simple-slide-caption a,
    .uih-simple-slide-caption button {
        transition-duration: .01ms !important;
    }

    .uih-simple-slide-caption::after {
        display: none !important;
    }

}


/* =========================================================
   UIH HERO POSITION FIX
   ========================================================= */

.uih-simple-slide-caption {
    bottom: 145px !important;
    max-width: 720px;
    padding: 28px 34px !important;
}

.uih-simple-slide-caption h1 {
    margin: 0 0 10px !important;
    line-height: 1.25;
}

.uih-simple-slide-caption p {
    margin: 0 !important;
    line-height: 1.7;
}

/* Keep slider controls above all overlays */
.uih-simple-slider-arrow {
    z-index: 25;
}

@media (max-width: 900px) {

    .uih-simple-slide-caption {
        bottom: 115px !important;
        width: calc(100% - 56px);
        max-width: none;
        padding: 22px 24px !important;
    }
}

@media (max-width: 600px) {

    .uih-simple-slide-caption {
        bottom: 105px !important;
        width: calc(100% - 40px);
        padding: 19px 20px !important;
    }

    .uih-simple-slide-caption h1 {
        font-size: clamp(1.55rem, 7vw, 2rem);
    }
}


/* =========================================================
   UIH SLIDER PROFESSIONAL ARROWS
   ========================================================= */

.uih-simple-slider-arrow {
    width: 58px;
    height: 58px;

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

    border-radius: 50%;

    background: rgba(12, 44, 91, .48);
    border: 1px solid rgba(255, 255, 255, .32);

    color: #ffffff;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .18);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.uih-simple-slider-arrow svg {
    width: 24px;
    height: 24px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.uih-simple-slider-arrow:hover {
    background: #0c2c5b;
    border-color: #b6b580;

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

.uih-simple-slider-arrow:focus-visible {
    outline: 3px solid rgba(182, 181, 128, .42);
    outline-offset: 4px;
}

@media (max-width: 768px) {
    .uih-simple-slider-arrow {
        width: 48px;
        height: 48px;
    }

    .uih-simple-slider-arrow svg {
        width: 20px;
        height: 20px;
    }
}


/* =========================================================
   UIH HERO CAPTION FINAL POSITION FIX
   ========================================================= */

/* Desktop */
.uih-simple-slide-caption {
    bottom: 245px !important;
    top: auto !important;

    width: min(760px, calc(100% - 160px));
    max-width: 760px;

    padding: 26px 32px !important;

    z-index: 18 !important;
}

.uih-simple-slide-caption h1 {
    margin: 0 0 10px !important;
    line-height: 1.25 !important;
    font-size: clamp(2rem, 3.2vw, 3.4rem);
}

.uih-simple-slide-caption p {
    margin: 0 !important;
    line-height: 1.7 !important;
    font-size: clamp(14px, 1.1vw, 18px);
}


/* Medium desktop / laptop */
@media (max-width: 1350px) {

    .uih-simple-slide-caption {
        bottom: 215px !important;

        width: min(680px, calc(100% - 130px));

        padding: 24px 28px !important;
    }

}


/* Tablet */
@media (max-width: 900px) {

    .uih-simple-slide-caption {
        bottom: 155px !important;

        width: calc(100% - 70px);
        max-width: none;

        padding: 21px 24px !important;
    }

}


/* Mobile */
@media (max-width: 600px) {

    .uih-simple-slide-caption {
        bottom: 120px !important;

        width: calc(100% - 36px);

        padding: 18px 20px !important;
    }

    .uih-simple-slide-caption h1 {
        font-size: clamp(1.45rem, 7vw, 2rem);
    }

    .uih-simple-slide-caption p {
        font-size: 13px;
    }

}


/* =========================================================
   UIH SLIDER DOTS FINAL POSITION FIX
   ========================================================= */

.uih-simple-slider-dots {
    position: absolute !important;

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

    bottom: 105px !important;

    transform: translateX(-50%) !important;

    z-index: 35 !important;

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

    gap: 9px;

    padding: 9px 13px;

    border-radius: 999px;

    background: rgba(7, 28, 50, .58);

    border: 1px solid rgba(255, 255, 255, .22);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .20);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.uih-simple-slider-dot {
    width: 10px;
    height: 10px;

    min-width: 10px;

    padding: 0;

    border: 0;
    border-radius: 999px;

    background: rgba(255, 255, 255, .55);

    cursor: pointer;

    transition:
        width .45s cubic-bezier(.16, 1, .3, 1),
        background .3s ease,
        transform .3s ease;
}

.uih-simple-slider-dot:hover {
    background: #ffffff;
    transform: scale(1.15);
}

.uih-simple-slider-dot.is-active {
    width: 34px;

    background: #b6b580;

    box-shadow:
        0 0 0 3px rgba(182, 181, 128, .15),
        0 0 14px rgba(182, 181, 128, .35);
}


/* Laptop */
@media (max-width: 1350px) {

    .uih-simple-slider-dots {
        bottom: 95px !important;
    }

}


/* Tablet */
@media (max-width: 900px) {

    .uih-simple-slider-dots {
        bottom: 75px !important;

        padding: 8px 11px;
    }

}


/* Mobile */
@media (max-width: 600px) {

    .uih-simple-slider-dots {
        bottom: 68px !important;

        gap: 7px;

        padding: 7px 10px;
    }

    .uih-simple-slider-dot {
        width: 8px;
        height: 8px;
        min-width: 8px;
    }

    .uih-simple-slider-dot.is-active {
        width: 28px;
    }

}


/* =========================================================
   UIH SLIDER FINAL RESPONSIVE HEIGHT
   ========================================================= */

/* Large desktop */
.uih-simple-slider-stage {
    height: clamp(500px, 42vw, 620px) !important;
    min-height: 500px;
}

/* Laptop */
@media (max-width: 1350px) {
    .uih-simple-slider-stage {
        height: 560px !important;
        min-height: 520px;
    }

    .uih-simple-slide-caption {
        bottom: 180px !important;
    }

    .uih-simple-slider-dots {
        bottom: 82px !important;
    }
}

/* Tablet */
@media (max-width: 900px) {
    .uih-simple-slider-stage {
        height: 520px !important;
        min-height: 480px;
    }

    .uih-simple-slide-caption {
        bottom: 145px !important;
    }

    .uih-simple-slider-dots {
        bottom: 70px !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .uih-simple-slider-stage {
        height: 500px !important;
        min-height: 460px;
    }

    .uih-simple-slide-caption {
        bottom: 115px !important;
    }

    .uih-simple-slider-dots {
        bottom: 62px !important;
    }
}


/* =========================================================
   UIH HERO IMAGE PRESENTATION
   ========================================================= */

.uih-simple-slider-stage {
    border-radius: 0 0 22px 22px;
    overflow: hidden;

    box-shadow:
        0 18px 45px rgba(12, 44, 91, .12);

    border-bottom:
        1px solid rgba(182, 181, 128, .32);
}

.uih-simple-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;

    image-rendering: auto;
}

/* Very subtle inner frame */
.uih-simple-slider-stage::before {
    content: "";

    position: absolute;
    inset: 10px;

    z-index: 12;

    pointer-events: none;

    border:
        1px solid rgba(255, 255, 255, .20);

    border-radius: 14px;

    box-shadow:
        inset 0 0 0 1px rgba(182, 181, 128, .08);
}


/* Laptop */
@media (max-width: 1350px) {

    .uih-simple-slider-stage {
        border-radius: 0 0 18px 18px;
    }

    .uih-simple-slider-stage::before {
        inset: 8px;
    }
}


/* Mobile */
@media (max-width: 600px) {

    .uih-simple-slider-stage {
        border-radius: 0 0 14px 14px;

        box-shadow:
            0 12px 28px rgba(12, 44, 91, .10);
    }

    .uih-simple-slider-stage::before {
        inset: 6px;
        border-radius: 10px;
    }
}


/* =========================================================
   UIH SLIDER SMART IMAGE POSITION
   Original images remain unchanged
   ========================================================= */

.uih-simple-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    /* Safe default */
    object-position: center 42%;

    image-rendering: auto;
}


/* Slide 1 */
.uih-simple-slide-1 img {
    object-position: center 42%;
}


/* Slide 2 */
.uih-simple-slide-2 img {
    object-position: center 40%;
}


/* Slide 3 */
.uih-simple-slide-3 img {
    object-position: center 44%;
}


/* Slide 4 */
.uih-simple-slide-4 img {
    object-position: center 42%;
}


/* Slide 5 */
.uih-simple-slide-5 img {
    object-position: center 40%;
}


/* Tablet */
@media (max-width: 900px) {

    .uih-simple-slide img {
        object-position: center 45%;
    }

}


/* Mobile
   Keep central subject safer because the viewport is narrow.
*/
@media (max-width: 600px) {

    .uih-simple-slide img {
        object-position: center center;
    }

}


/* =========================================================
   UIH HERO FINAL VISUAL POLISH
   ========================================================= */

/* Caption */
.uih-simple-slide-caption {
    bottom: 175px !important;

    width: min(680px, calc(100% - 150px)) !important;
    max-width: 680px !important;

    padding: 23px 30px !important;

    border-radius: 18px !important;
}

.uih-simple-slide-caption h1 {
    font-size: clamp(1.9rem, 2.7vw, 2.9rem) !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
}

.uih-simple-slide-caption p {
    font-size: clamp(13px, 1vw, 16px) !important;
    line-height: 1.7 !important;
}


/* Dots: independent from caption */
.uih-simple-slider-dots {
    left: 50% !important;
    right: auto !important;

    bottom: 88px !important;

    transform: translateX(-50%) !important;

    z-index: 40 !important;
}


/* Keep arrows vertically centered */
.uih-simple-slider-arrow {
    top: 50% !important;
}


/* Laptop */
@media (max-width: 1350px) {

    .uih-simple-slide-caption {
        bottom: 165px !important;

        width: min(620px, calc(100% - 120px)) !important;

        padding: 21px 26px !important;
    }

    .uih-simple-slider-dots {
        bottom: 80px !important;
    }
}


/* Tablet */
@media (max-width: 900px) {

    .uih-simple-slide-caption {
        bottom: 135px !important;

        width: calc(100% - 70px) !important;
        max-width: none !important;
    }

    .uih-simple-slider-dots {
        bottom: 65px !important;
    }
}


/* Mobile */
@media (max-width: 600px) {

    .uih-simple-slide-caption {
        bottom: 110px !important;

        width: calc(100% - 40px) !important;

        padding: 18px 20px !important;
    }

    .uih-simple-slide-caption h1 {
        font-size: clamp(1.4rem, 6.5vw, 1.9rem) !important;
    }

    .uih-simple-slider-dots {
        bottom: 55px !important;
    }
}


/* =========================================================
   UIH HERO QUICK CARDS OVERLAP FIX
   ========================================================= */

.uih-home-quick-links,
.uih-home-actions,
.uih-hero-quick-links,
.home-quick-links {
    position: relative;
    z-index: 45;

    margin-top: -42px !important;
}

/* Give slider controls more breathing room */
.uih-simple-slide-caption {
    bottom: 190px !important;
}

.uih-simple-slider-dots {
    bottom: 105px !important;
    z-index: 50 !important;
}

/* Keep quick cards below caption/dots visually */
.uih-simple-slider {
    margin-bottom: 0;
}


/* Laptop */
@media (max-width: 1350px) {

    .uih-simple-slide-caption {
        bottom: 175px !important;
    }

    .uih-simple-slider-dots {
        bottom: 92px !important;
    }

    .uih-home-quick-links,
    .uih-home-actions,
    .uih-hero-quick-links,
    .home-quick-links {
        margin-top: -36px !important;
    }
}


/* Tablet */
@media (max-width: 900px) {

    .uih-simple-slide-caption {
        bottom: 145px !important;
    }

    .uih-simple-slider-dots {
        bottom: 72px !important;
    }

    .uih-home-quick-links,
    .uih-home-actions,
    .uih-hero-quick-links,
    .home-quick-links {
        margin-top: -24px !important;
    }
}


/* Mobile */
@media (max-width: 600px) {

    .uih-simple-slide-caption {
        bottom: 120px !important;
    }

    .uih-simple-slider-dots {
        bottom: 60px !important;
    }

    .uih-home-quick-links,
    .uih-home-actions,
    .uih-hero-quick-links,
    .home-quick-links {
        margin-top: -14px !important;
    }
}


@media (max-width: 640px) {
    .uih-simple-slide-caption {
        bottom: 95px !important;
    }
}



/* ===== UIH FINAL SLIDER CAPTION FIX ===== */

.uih-simple-slide-caption {
    bottom: 165px !important;
    z-index: 8 !important;
    max-height: calc(100% - 210px);
}

@media (max-width: 900px) {
    .uih-simple-slide-caption {
        bottom: 145px !important;
    }
}

@media (max-width: 640px) {
    .uih-simple-slide-caption {
        bottom: 125px !important;
        max-height: calc(100% - 155px);
    }
}


/* ===== UIH CAPTION FINAL OVERRIDE ===== */

.uih-simple-slide-caption {
    bottom: 245px !important;
    z-index: 20 !important;
}

@media (max-width: 900px) {
    .uih-simple-slide-caption {
        bottom: 210px !important;
    }
}

@media (max-width: 640px) {
    .uih-simple-slide-caption {
        bottom: 170px !important;
    }
}
/* Homepage slider caption - final position */
@media (min-width: 769px) {
    .uih-simple-slider .uih-simple-slide-caption {
        top: 50% !important;
        bottom: auto !important;
        transform: translateY(-50%) !important;

        max-width: 760px;
        max-height: none !important;
        overflow: visible !important;
    }

    .uih-simple-slide.is-active .uih-simple-slide-caption {
        transform: translateY(-50%) !important;
    }
}
/* ===== UIH CAPTION POSITION MASTER FIX ===== */

@media (min-width: 901px) {
    .uih-simple-slider-stage .uih-simple-slide-caption {
        position: absolute !important;
        top: auto !important;
        bottom: 230px !important;
        left: 7% !important;
        right: auto !important;
        z-index: 20 !important;
    }

    [dir="rtl"] .uih-simple-slider-stage .uih-simple-slide-caption {
        left: auto !important;
        right: 7% !important;
    }
}
/* ===== UIH HERO CAPTION DEFINITIVE FIX ===== */

.uih-simple-slide .uih-simple-slide-caption {
    position: absolute !important;

    top: auto !important;
    bottom: 150px !important;

    left: 7% !important;
    right: auto !important;

    width: 680px !important;
    max-width: calc(100% - 140px) !important;

    z-index: 20 !important;
}

/* Dari & Pashto */
[dir="rtl"] .uih-simple-slide .uih-simple-slide-caption {
    left: auto !important;
    right: 7% !important;
}

/* Mobile */
@media (max-width: 640px) {
    .uih-simple-slide .uih-simple-slide-caption {
        bottom: 100px !important;
        left: 18px !important;
        right: auto !important;
        width: calc(100% - 36px) !important;
        max-width: none !important;
    }

    [dir="rtl"] .uih-simple-slide .uih-simple-slide-caption {
        left: auto !important;
        right: 18px !important;
    }
}