/* =====================================================
   SLIDER SEBAGAI BAGIAN TERPISAH DARI HERO
   ===================================================== */

.home-slider-section {
    padding: 56px 0;
    background: #ffffff;
}

.slider-section-heading {
    margin-bottom: 22px;
}

.slider-section-heading span {
    display: block;
    margin-bottom: 6px;
    color: var(--secondary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
}

.slider-section-heading h2 {
    margin: 0;
    color: var(--primary-dark);
    font-size: 30px;
}

.home-slider-separate {
    height: 430px;
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: var(--primary);
    box-shadow:
        0 18px 45px
        rgba(15,23,42,.12);
}

.home-slider-track {
    height: 100%;
    position: relative;
}

.home-slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: opacity .6s ease;
}

.home-slide.active {
    visibility: visible;
    opacity: 1;
}

.home-slide-overlay {
    position: absolute;
    inset: 0;
}

.home-slide-content {
    height: 100%;
    padding: 45px 68px;
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: #ffffff;
}

.home-slide-content h3 {
    max-width: 760px;
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.12;
}

.home-slide-content p {
    max-width: 680px;
    margin: 0;
    color: rgba(255,255,255,.88);
    font-size: 16px;
    line-height: 1.7;
}

.slider-text-left {
    align-items: flex-start;
    text-align: left;
}

.slider-text-center {
    align-items: center;
    text-align: center;
}

.slider-text-center h3,
.slider-text-center p {
    margin-left: auto;
    margin-right: auto;
}

.slider-text-right {
    align-items: flex-end;
    text-align: right;
}

.slider-text-right h3,
.slider-text-right p {
    margin-left: auto;
}

.home-slide-action {
    margin-top: 24px;
}

.home-slider-arrow {
    width: 44px;
    height: 44px;
    padding: 0;
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    color: #ffffff;
    background: rgba(8,47,73,.55);
    cursor: pointer;
    font-size: 23px;
}

.home-slider-prev {
    left: 18px;
}

.home-slider-next {
    right: 18px;
}

.home-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    z-index: 5;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.home-slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.55);
    cursor: pointer;
}

.home-slider-dot.active {
    width: 28px;
    background: var(--secondary);
}

@media (max-width: 700px) {

    .home-slider-section {
        padding: 40px 0;
    }

    .home-slider-separate {
        height: 380px;
        border-radius: 16px;
    }

    .home-slide-content {
        padding: 38px 45px;
    }

    .home-slider-arrow {
        width: 36px;
        height: 36px;
    }

    .home-slider-prev {
        left: 8px;
    }

    .home-slider-next {
        right: 8px;
    }

}


.home-slide-description {
    margin: 0 0 20px;
    color: inherit;
    line-height: 1.7;
}

.home-slide-description > :first-child {
    margin-top: 0;
}

.home-slide-description > :last-child {
    margin-bottom: 0;
}

.home-slide-description a {
    color: inherit;
    text-decoration: underline;
}
