.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slider .carousel-item {
    height: 100vh;
}

.hero-slider img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    filter: brightness(0.8);
}



.hero-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
}

.hero-logo img {
    width: 350px;
}

/* SOCIAL ICONS */
.hero-contact-info {
    position: fixed;
    right: 30px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}


.hero-contact-info a {
    color: black;
    background: rgba(247, 240, 240, 0.861);
    padding: 10px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.hero-contact-info a:hover {
    background-color: #000;
    color: #fff;
}

.hero-contact-info .divider {
    width: 1px;
    height: 40px;
    background: #ccc;
    margin: auto;
}


.quick-search-overlay {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px;
    z-index: 15;
    width: 100%;
    max-width: 1200px;
}

.quick-search-overlay .form-select,
.quick-search-overlay .btn {
    border: none;
    border-bottom: 1px solid white;
    border-radius: 0;
    background: transparent;
    font-weight: 300;
    font-size: 15px;
    color: white;
    box-shadow: none !important;
    outline: none !important;
}

.quick-search-overlay .btn {
    background-color: white;
    color: #000;
    margin-top: 5px;
    border: 2px solid white;
    transition: all 0.3s ease;
}

.quick-search-overlay .btn:hover {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

/* Responsive Fixes */
@media (max-width: 991.98px) {
    /* .desktop-header {
        background-color: var(--primary-color);
        padding: 10px 0;
    }

    .desktop-header .nav-link {
        color: white !important;
    }

    .desktop-header .navbar-brand img {
        height: 50px;
    } */

    .hero-logo img {
        width: 250px;
    }

}

@media (max-width: 767.98px) {

    .hero-slider,
    .hero-slider .carousel-item {
        height: 60vh !important;
        filter: brightness(0.9);
        position: relative;
        overflow: hidden;
        object-fit: cover;


    }


    .hero-slider img {
        object-position: 40% 10%;
        /* Center horizontally, 10% from top */
    }

    .hero-slider::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 40%;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
        pointer-events: none;
        z-index: 2;
    }

    .hero-logo {
        display: none;
    }

    .hero-contact-info {
        display: none;
    }

    /* Form becomes regular block element after carousel */
    .quick-search-overlay {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        width: 100%;
        height: auto;
        background: #000;
        padding: 30px 15px;
    }

    .quick-search-overlay .form-select {
        padding-top: 10px;
        margin-top: 15px;
        border: none;
        border-bottom: 1px solid white;
        /* color: white; */
        background-color: #000;
    }

    .quick-search-overlay .btn {
        padding: 10px 60px;
        margin-top: 15px;
        border: none;
        background-color: white;
        color: #000;
    }
}

@media (max-width: 575.98px) {
    /* .mobile-logo img {
        height: 50px;
    } */

    .hero-contact-info {
        right: 15px;
        bottom: 80px;
    }

    .quick-search-overlay .form-select {
        font-size: 14px;
    }

    .quick-search-overlay .btn {
        padding: 8px 50px;
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    /* .mobile-logo img {
        height: 40px;
    } */

    .hero-slider,
    .hero-slider .carousel-item {
        height: 50vh !important;
    }

    .quick-search-overlay .form-select {
        font-size: 12px;
    }

    .quick-search-overlay .btn {
        padding: 6px 40px;
        font-size: 12px;
    }
}

/* Added top space for large screens */
@media (min-width: 1200px) {
    .quick-search-overlay {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}