.hero-search {
    position: relative;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-search .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-search .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    z-index: 0;
}


.hero-search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 36, 60, 0.81);
}

.hero-search-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-search h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 300;
    margin: 1rem auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-search p {
    color: var(--white);
    font-size: 1.1rem;
    margin: 1rem auto 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.search-form {
    max-width: 600px;
    margin: 1rem auto;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.search-icon {
    position: absolute;
    left: 20px;
    color: var(--dark-blue);
    font-size: 1.2rem;
}

.search-input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: none;
    font-size: 1.1rem;
    outline: none;
    background: transparent;
}

.search-input::placeholder {
    color: var(--grey);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-search {
        padding: 40px 0;
        min-height: 200px;
    }

    .hero-search h1 {
        font-size: 1.8rem;
    }

    .search-form {
        padding: 0 20px;
    }
}