
/* ========================================
   VOLSOL HERO IMAGE SLIDER
======================================== */

.volsol-hero-slider {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 680px;
    height: min(780px, 100svh);
    overflow: hidden;
    background: #061226;
    color: #fff;
    border-radius: 0 0 28px 28px;
}

/* Individual slides overlap to create transitions */
.volsol-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.75s ease, visibility 0.75s ease;
	background: linear-gradient(
        90deg,
        rgba(3, 10, 22, 0.44),
        rgba(10, 24, 48, 0.50)
    );
}

.volsol-hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.volsol-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1.03);
    transition: transform 6.5s ease;
}

.volsol-hero-slide.active .volsol-hero-background {
    transform: scale(1);
}

/* Darken left side to keep the text readable */
.volsol-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(3, 8, 15, 0.78) 0%,
            rgba(3, 8, 15, 0.65) 30%,
            rgba(3, 8, 15, 0.38) 52%,
            rgba(3, 8, 15, 0.12) 75%,
            rgba(3, 8, 15, 0.04) 100%
        ),
        linear-gradient(
            0deg,
            rgba(3, 8, 15, 0.18) 0%,
            rgba(3, 8, 15, 0.02) 55%,
            rgba(3, 8, 15, 0.10) 100%
        );
}



.volsol-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    /* Compact 72px desktop header */
    padding-top: 82px;
    padding-bottom: 70px;
	
}

.volsol-hero-content {
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(18px);
}

.volsol-hero-slide.active .volsol-hero-content {
    animation: volsol-content-enter 0.65s 0.12s ease forwards;
}

@keyframes volsol-content-enter {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Eyebrow */
.volsol-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
    margin-bottom: 22px;
    padding: 10px 12px 10px 8px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.volsol-eyebrow-badge {
    display: inline-flex;
    align-items: center;
    min-height: 23px;
    padding: 4px 8px;
    border-radius: 4px;
    background: #4778f7;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

/* Headline */
.volsol-hero-title {
    max-width: 680px;
    margin: 0 0 24px;
    color: #fff;
    font-size: clamp(42px, 5.1vw, 72px);
    font-weight: 500;
    line-height: 1.11;
    letter-spacing: -3.3px;
}

.volsol-hero-title span {
    color: #fff;
}

/* Description */
.volsol-hero-description {
    max-width: 470px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

/* CTA row */
.volsol-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

.volsol-hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 52px;
    padding: 5px 5px 5px 20px;
    border-radius: 8px;
    background: #4778f7;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease;
}

.volsol-hero-button:hover {
    background: #3266ed;
    color: #fff;
    transform: translateY(-2px);
}

.volsol-hero-button-arrow {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #fff;
    color: #071225;
    font-size: 23px;
    transition: transform 0.25s ease;
}

.volsol-hero-button:hover .volsol-hero-button-arrow {
    transform: translateX(3px);
}

.volsol-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.volsol-hero-secondary span {
    font-size: 20px;
    transition: transform 0.25s ease;
}

.volsol-hero-secondary:hover {
    color: #fff;
}

.volsol-hero-secondary:hover span {
    transform: translateX(5px);
}

/* Right-side vertical controls */
.volsol-slider-controls {
    position: absolute;
    top: 60%;
    right: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 9px;
    border-radius: 18px 0 0 18px;
    background: rgba(255, 255, 255, 0.97);
    transform: translateY(-50%);
}

.volsol-slider-arrow {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 11px;
    background: #fff;
    color: #08162d;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease,
                transform 0.2s ease;
}

.volsol-slider-arrow:hover,
.volsol-slider-arrow:focus-visible {
    background: #4778f7;
    color: #fff;
}

.volsol-slider-arrow:active {
    transform: scale(0.94);
}

/* Counter */
.volsol-slider-indicator {
    position: absolute;
    right: 28px;
    bottom: 30px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.volsol-slider-indicator-line {
    width: 35px;
    height: 1px;
    background: rgba(255, 255, 255, 0.7);
}

/* Screen-reader-only announcement */
.volsol-slider-announcement {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 991.98px) {
    .volsol-hero-slider {
        min-height: 650px;
        height: 82svh;
        max-height: 780px;
        border-radius: 0 0 22px 22px;
    }

    .volsol-hero-background {
        background-position: 58% center;
    }

    .volsol-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(3, 8, 15, 0.90),
                rgba(3, 8, 15, 0.63) 58%,
                rgba(3, 8, 15, 0.20)
            ),
            linear-gradient(
                0deg,
                rgba(3, 8, 15, 0.24),
                transparent 55%
            );
    }

    .volsol-hero-container {
        /* Tablet header is 64px; keep a small visual gap */
        padding-top: 82px;
        padding-bottom: 80px;
    }

    .volsol-hero-content {
        width: min(620px, 78%);
    }

    .volsol-hero-title {
        font-size: clamp(42px, 6.4vw, 62px);
        letter-spacing: -2px;
    }

    .volsol-slider-controls {
        top: auto;
        right: 18px;
        bottom: 22px;
        flex-direction: row;
        border-radius: 15px;
        transform: none;
    }

    .volsol-slider-indicator {
        right: auto;
        left: 24px;
        bottom: 35px;
    }
}

/* ========================================
   MOBILE
======================================== */

@media (max-width: 575.98px) {
    .volsol-hero-slider {
        min-height: 690px;
        height: 88svh;
        max-height: 820px;
        border-radius: 0 0 20px 20px;
    }

    .volsol-hero-background {
        background-position: 62% center;
    }

    .volsol-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(3, 8, 15, 0.87),
                rgba(3, 8, 15, 0.60)
            ),
            linear-gradient(
                0deg,
                rgba(3, 8, 15, 0.50),
                rgba(3, 8, 15, 0.05) 90%
            );
    }

    .volsol-hero-container {
        /* Mobile header is 64px; avoid excessive empty space */
        padding-top: 78px;
        padding-bottom: 100px;
    }

    .volsol-hero-content {
        width: 100%;
    }

    .volsol-hero-eyebrow {
        gap: 8px;
        margin-bottom: 22px;
        padding: 8px;
        font-size: 10px;
        letter-spacing: 0.45px;
    }

    .volsol-eyebrow-badge {
        font-size: 10px;
    }

    .volsol-hero-title {
        max-width: 100%;
        margin-bottom: 20px;
        font-size: clamp(37px, 10vw, 49px);
        line-height: 1.12;
        letter-spacing: -1.8px;
    }

    .volsol-hero-description {
        max-width: 100%;
        margin-bottom: 25px;
        font-size: 14px;
        line-height: 1.7;
    }

    .volsol-hero-actions {
        align-items: flex-start;
        gap: 17px;
        flex-direction: column;
    }

    .volsol-hero-button {
        min-height: 49px;
        font-size: 13px;
    }

    .volsol-hero-button-arrow {
        width: 37px;
        height: 37px;
    }

    .volsol-hero-secondary {
        font-size: 12px;
    }

    .volsol-slider-controls {
        right: 15px;
        bottom: 15px;
        padding: 6px;
        gap: 4px;
    }

    .volsol-slider-arrow {
        width: 38px;
        height: 38px;
        font-size: 21px;
    }

    .volsol-slider-indicator {
        bottom: 29px;
        left: 18px;
        font-size: 11px;
    }

    .volsol-slider-indicator-line {
        width: 25px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .volsol-hero-slide,
    .volsol-hero-background,
    .volsol-hero-content,
    .volsol-hero-button,
    .volsol-slider-arrow {
        animation: none !important;
        transition: none !important;
    }

    .volsol-hero-slide.active .volsol-hero-content {
        opacity: 1;
        transform: none;
    }
}
