.hero-banner {
    position: relative;
    height: 400px;
    /* Removed the static background image, kept the flex behavior */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    overflow: hidden;
    /* Added to keep images inside the container */
}

/* Green overlay using your exact linear-gradient styling */
.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 77, 38, 0.5), rgba(0, 51, 20, 0.7));
    z-index: 2;
    /* Sits above images, below text */
}

/* Base slideshow structural positioning */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Lowest layer */
}

/* Individual slides utilizing your original background settings */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide.active {
    opacity: 1;
}

.slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content Container to raise text layers above the overlay */
.hero-content {
    position: relative !important;
    z-index: 3 !important;
}

/* Your exact, unchanged text designs */
.hero-banner h1 {
    font-size: 42px;
    margin: 0;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-banner p {
    font-size: 16px;
    margin: 12px 0 0 0;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    font-style: italic;
}

/* Arrows configuration positioned cleanly on top */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    padding: 12px 16px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s;
}

.slide-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}