/* ── Variables ── */
:root {
    --hs-blue-deep:   #062847;
    --hs-blue-mid:    #0d5c96;
    --hs-blue-bright: #1a8fd1;
    --hs-cyan:        #00c8e8;
    --hs-white:       #ffffff;
    --hs-duration:    6000ms;
    --hs-ease:        cubic-bezier(0.22, 1, 0.36, 1);
}
 
/* ── Wrapper ── */
.hs-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 560px;
    max-height: 960px;
    overflow: hidden;
    background: var(--hs-blue-deep);
}
 
/* ============================================================
   SLIDES — images full bleed
   ============================================================ */
.hs-track {
    position: absolute;
    inset: 0;
    z-index: 1;
}
 
.hs-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    will-change: opacity, transform;
    transition: opacity 1.4s var(--hs-ease),
                transform 8s linear;
    transform: scale(1.07);
}
 
.hs-slide.hs-active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}
 
.hs-slide.hs-leaving {
    opacity: 0;
    transform: scale(1.04);
    z-index: 3;
    transition: opacity 1.4s var(--hs-ease),
                transform 1.4s var(--hs-ease);
}
 
.hs-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
    user-select: none;
}
 
/* ============================================================
   OVERLAY — layered blue gradient
   ============================================================ */
.hs-overlay {
    position: absolute;
    inset: 0;
    z-index: 4;
    background:
        /* dark vignette bottom */
        linear-gradient(to top,  rgba(4, 22, 44, 0.82) 0%,  transparent 55%),
        /* dark vignette top */
        linear-gradient(to bottom, rgba(6, 40, 71, 0.55) 0%, transparent 40%),
        /* blue wash */
        linear-gradient(135deg, rgba(6,40,71,0.70) 0%, rgba(13,92,150,0.45) 60%, rgba(0,200,232,0.18) 100%);
    pointer-events: none;
}
 
/* animated shimmer inside overlay */
.hs-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 120%, rgba(26,143,209,0.28) 0%, transparent 70%);
    animation: hsPulse 5s ease-in-out infinite alternate;
}
 
@keyframes hsPulse {
    0%   { opacity: 0.6; transform: scaleX(0.9); }
    100% { opacity: 1;   transform: scaleX(1.1); }
}
 
/* ============================================================
   WATER WAVE DIVIDER — bottom
   ============================================================ */
.hs-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 9;
    line-height: 0;
    pointer-events: none;
}
 
.hs-wave svg {
    display: block;
    width: 100%;
    height: 64px;
}
 
/* ============================================================
   CONTENT PANEL
   ============================================================ */
.hs-content-wrap {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
}
 
.hs-content-inner {
    width: 100%;
    max-width: 820px;
    text-align: center;
}
 
/* ── Panels stacked ── */
.hs-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    /* hidden state */
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.1s, transform 0.1s;
}
 
.hs-panel.hs-active {
    position: relative;
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}
 
/* ── Badge ── */
.hs-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 999px;
    border: 1px solid rgb(245 169 63);
    background: rgba(0,200,232,0.10);
    color: #f5a93f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 22px;
    /* water-drop dot */
}
 
.hs-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50% 50% 50% 0;
    background: #f5a93f;
    transform: rotate(-45deg);
    flex-shrink: 0;
}
 
/* ── Heading ── */
.hs-heading {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(28px, 4.5vw, 40px);
    font-weight: 700;
    line-height: 1.18;
    color: var(--hs-white);
    margin: 0 0 20px;
    text-shadow: 0 3px 24px rgba(0,0,0,0.45);
}
 
/* ── Body text ── */
.hs-body {
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.75;
    color: rgba(255,255,255,0.85);
    max-width: 580px;
    margin: 0 auto 34px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}
 
/* ── Buttons ── */
.hs-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
 
.hs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 30px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s var(--hs-ease);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
 
.hs-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    opacity: 0;
    transition: opacity 0.3s;
}
 
.hs-btn:hover::after { opacity: 1; }
 
.hs-btn-primary {
    background: var(--hs-blue-bright);
    color: var(--hs-white);
    border-color: var(--hs-blue-bright);
    box-shadow: 0 6px 28px rgba(26,143,209,0.45);
}
 
.hs-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 36px rgba(26,143,209,0.6);
    color: var(--hs-white);
    text-decoration: none;
}
 
.hs-btn-ghost {
    background: transparent;
    color: var(--hs-white);
    border-color: rgba(255,255,255,0.55);
    backdrop-filter: blur(4px);
}
 
.hs-btn-ghost:hover {
    border-color: var(--hs-white);
    transform: translateY(-2px);
    color: var(--hs-white);
    text-decoration: none;
}
 
/* ============================================================
   WATER ANIMATIONS — triggered per element on slide change
   ============================================================ */
@keyframes hsWaterBadge {
    0%   { opacity: 0; transform: translateY(16px) scale(0.92); filter: blur(3px); }
    60%  { opacity: 1; transform: translateY(-4px) scale(1.02); filter: blur(0); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}
 
@keyframes hsWaterTitle {
    0%   { opacity: 0; letter-spacing: -3px; transform: translateY(22px); filter: blur(5px); }
    55%  { opacity: 1; letter-spacing: 0.3px; filter: blur(0); }
    75%  { transform: translateY(-5px); }
    100% { opacity: 1; transform: translateY(0); letter-spacing: normal; }
}
 
@keyframes hsWaterBody {
    0%   { opacity: 0; transform: translateY(32px) scaleY(1.06); }
    60%  { opacity: 1; transform: translateY(-4px) scaleY(0.98); }
    100% { opacity: 1; transform: translateY(0) scaleY(1); }
}
 
@keyframes hsWaterBtns {
    0%   { opacity: 0; transform: translateX(-20px); }
    100% { opacity: 1; transform: translateX(0); }
}
 
/* Apply animations when panel becomes active */
.hs-panel.hs-animate .hs-badge {
    animation: hsWaterBadge 0.8s var(--hs-ease) 0.1s both;
}
 
.hs-panel.hs-animate .hs-heading {
    animation: hsWaterTitle 1s var(--hs-ease) 0.25s both;
}
 
.hs-panel.hs-animate .hs-body {
    animation: hsWaterBody 0.9s var(--hs-ease) 0.45s both;
}
 
.hs-panel.hs-animate .hs-actions {
    animation: hsWaterBtns 0.8s var(--hs-ease) 0.65s both;
}
 
/* ============================================================
   CONTROLS
   ============================================================ */
.hs-controls {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
}
 
/* Dots */
.hs-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}
 
.hs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.4s var(--hs-ease);
}
 
.hs-dot.hs-active {
    width: 28px;
    border-radius: 4px;
    background: var(--hs-cyan);
    box-shadow: 0 0 10px rgba(0,200,232,0.6);
}
 
/* Arrow buttons */
.hs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 8;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.08);
    color: var(--hs-white);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--hs-ease);
    backdrop-filter: blur(6px);
}

.hs-prev {
    left: 24px;
}

.hs-next {
    right: 24px;
}

.hs-arrow:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--hs-white);
}

.hs-prev:hover,
.hs-next:hover {
    transform: translateY(-50%) scale(1.08);
}

@media (max-width: 575px) {
    .hs-prev {
        left: 12px;
    }

    .hs-next {
        right: 12px;
    }

    .hs-arrow {
        width: 40px;
        height: 40px;
    }
}
/* ── Progress bar ── */
.hs-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--hs-blue-bright), var(--hs-cyan));
    z-index: 10;
    border-radius: 0 2px 2px 0;
}
 
/* ── Side slide counter ── */
.hs-counter {
    position: absolute;
    right: 40px;
    bottom: 96px;
    z-index: 8;
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    font-variant-numeric: tabular-nums;
}
 
.hs-counter span {
    color: var(--hs-white);
    font-size: 20px;
    font-weight: 700;
}
 
/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .hs-hero {
        height: 80vh;
    }
 
    .hs-controls {
        bottom: 37px;
    }
 
    .hs-counter {
        display: none;
    }
}
 
@media (max-width: 575px) {
    .hs-hero {
        height: 75vh;
        min-height: 480px;
    }
 
    .hs-heading {
        font-size: 24px;
    }
 
    .hs-controls {
        bottom: 56px;
    }
 
    .hs-btn {
        padding: 11px 22px;
        font-size: 13px;
    }
}