/* Business-ready hero upgrade for Hope of Africa Institute */

#slider-part.hero-slider {
    position: relative;
    background: #07294d;
}

.hero-slider .hero-slide,
.hero-slider .single-slider {
    min-height: clamp(560px, 74vh, 760px);
    display: flex !important;
    align-items: center;
    padding: 120px 0 96px;
    position: relative;
    isolation: isolate;
}

.hero-slider .hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg, rgba(7, 41, 77, 0.9) 0%, rgba(7, 41, 77, 0.76) 42%, rgba(7, 41, 77, 0.28) 100%);
}

.hero-slider .hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.34) 100%);
}

.hero-slider [data-overlay]::before {
    display: none;
}

.hero-slider .slider-cont {
    max-width: 760px;
    padding: 0;
    position: relative;
}

.hero-slider .hero-kicker {
    margin-bottom: 18px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    color: #dff1d4;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.hero-slider .slider-cont h1 {
    max-width: 760px;
    color: #fff;
    font-size: clamp(40px, 5vw, 66px);
    font-weight: 700;
    line-height: 1.05;
    margin: 0;
}

.hero-slider .slider-cont p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.75;
    margin-top: 22px;
}

.hero-slider .hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.hero-slider .hero-actions li {
    margin: 0;
}

.hero-slider .main-btn {
    min-width: 150px;
    padding: 0 28px;
    line-height: 50px;
    border-radius: 5px;
}

.hero-slider .main-btn-2 {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.58);
    color: #fff;
}

.hero-slider .main-btn-2:hover {
    background: #0f4f8a;
    border-color: #0f4f8a;
    color: #fff;
}

.hero-slider.slider-active .slick-arrow {
    width: 44px;
    height: 44px;
    line-height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #fff;
    opacity: 1;
    left: 22px;
    z-index: 3;
    text-align: center;
    transform: translateY(-50%);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.hero-slider.slider-active .slick-arrow i {
    font-size: 28px;
    line-height: 42px;
    display: block;
}

.hero-slider.slider-active .next.slick-arrow {
    left: auto;
    right: 22px;
}

.hero-slider.slider-active .slick-arrow:hover {
    background: #8dc16a;
    border-color: #8dc16a;
    color: #fff;
    transform: translateY(-50%) scale(1.04);
}

@media (max-width: 991.98px) {
    .hero-slider .hero-slide,
    .hero-slider .single-slider {
        min-height: 620px;
        padding: 96px 0 80px;
    }

    .hero-slider .hero-slide::before {
        background: linear-gradient(90deg, rgba(7, 41, 77, 0.94) 0%, rgba(7, 41, 77, 0.78) 100%);
    }

    .hero-slider .slider-cont p {
        font-size: 17px;
    }
}

@media (max-width: 767.98px) {
    .hero-slider .hero-slide,
    .hero-slider .single-slider {
        min-height: 560px;
        padding: 76px 0 64px;
    }

    .hero-slider .slider-cont h1 {
        font-size: 36px;
        line-height: 1.12;
    }

    .hero-slider .slider-cont p {
        font-size: 16px;
        line-height: 1.65;
        margin-top: 18px;
    }

    .hero-slider .hero-actions {
        gap: 10px;
        margin-top: 28px;
    }

    .hero-slider .main-btn {
        min-width: 100%;
        line-height: 48px;
    }

    .hero-slider.slider-active .slick-arrow {
        width: 38px;
        height: 38px;
        line-height: 36px;
        left: 12px;
        background: rgba(7, 41, 77, 0.38);
    }

    .hero-slider.slider-active .next.slick-arrow {
        right: 12px;
    }

    .hero-slider.slider-active .slick-arrow i {
        font-size: 24px;
        line-height: 36px;
    }
}

@media (max-width: 575.98px) {
    .hero-slider .hero-slide,
    .hero-slider .single-slider {
        min-height: 540px;
    }

    .hero-slider .hero-kicker {
        font-size: 11px;
        line-height: 1.25;
    }

    .hero-slider .slider-cont h1 {
        font-size: 32px;
    }
}
