/* HERO CONTENT FIXED ABOVE SLIDER */
.hero-content-fixed {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: left;
    z-index: 10;
    max-width: 650px;
    padding: 20px;
}

.hero-content-fixed h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content-fixed h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.hero-content-fixed p {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

/* SEARCH FORM */
.hero-search-form {
    display: flex;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
}

.hero-search-form input {
    flex: 1;
    padding: 14px;
    border: none;
    font-size: 18px;
    outline: none;
}

.hero-search-form button {
    background-color: #64a30a;
    color: #fff;
    border: none;
    padding: 14px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: 0.3s;
}

.hero-search-form button:hover {
    background-color: #72b70f;
}

/* SECONDARY BUTTON */
.hero-buttons {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.hero-buttons a.btn-secondary-custom {
    background-color: #F97316;
    color: #fff !important;
    padding: 14px 25px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: 0.3s;
}

.hero-buttons a.btn-secondary-custom:hover {
    background-color: #ff9c4a;
}

/* DARK OVERLAY FOR SLIDER */
.sl-slider-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 5;
}

/* Slider height for desktop */
.sl-slider-wrapper,
.sl-slide-inner {
    height: 500px;
}

/* RESPONSIVE FOR MOBILE/TABLET */
@media (max-width: 992px) {

    .sl-slider-wrapper,
    .sl-slide-inner {
        height: auto;
        /* allow slider to expand with content */
        min-height: 450px;
        /* optional minimum */
        position: relative;
    }

    .hero-content-fixed {
        position: relative;
        /* flows naturally with slider */
        transform: none;
        top: auto;
        left: auto;
        max-width: 95%;
        text-align: center;
        padding: 15px;
    }

    .hero-search-form {
        flex-direction: column;
    }

    .hero-search-form input,
    .hero-search-form button {
        width: 100%;
        margin: 5px 0;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-content-fixed h1 {
        font-size: 28px;
    }

    .hero-content-fixed h2 {
        font-size: 20px;
    }

    .hero-content-fixed p {
        font-size: 16px;
    }

}