.hotel_search-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    margin: auto;
    justify-content: center;
}

.hotel_search-section form {
    display: flex;
}

.hotel_search-section .input-group {
    flex: 1;
    margin: 10px;
}

.hotel_search-section .input-group label {
    display: block;
    margin-bottom: 5px;
}

.hotel_search-section .input-group input,
.hotel_search-section .input-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.2;
}

.hotel_search-section .input-group .datepicker {
    width: 100%;
}

.trip-type {
    flex: 1;
    display: flex;
    margin: 10px;
}

.trip-button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    margin-right: 5px;
    cursor: pointer;
    font-weight: bold;
}

.trip-button.active,
.trip-button:hover {
    background-color: #0056b3;
}



.explore-button-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.explore-button {
    border-radius: 8px;
    border-width: 2px;
    transition: all .3s ease-in;
    padding: 10px;
    font-size: 14px;
    width: 100%;
}

.search_location_wrapper {
    position: relative;
}

.loading-results {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(15%);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease-in;
}

.loading-results.loading {
    opacity: 1;
    visibility: visible;
}

span#location_suggestion_err {
    position: absolute;
    display: block;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: #e24;
    z-index: 1;
    margin-bottom: 5px;
}

ul#suggestionsList {
    margin: 0;
    list-style: none;
    position: absolute;
    background: #fff;
    padding: 5px 0px;
    box-shadow: 0 5px 5px #ccc;
    top: 99%;
    max-height: 200px;
    overflow: auto;
    width: 100%;
    z-index: 4;
}

ul#suggestionsList:empty {
    display: none;
}

ul#suggestionsList li {
    cursor: pointer;
    padding: 5px 10px;
}

ul#suggestionsList li:not(:last-child) {
    border-bottom: 1px solid #ccc;
}


ul#suggestionsList li:hover {
    background: #e9f1f4;
}

.hotel-card {
    display: flex;
    max-width: 800px;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    margin: auto;
    margin-bottom: 15px;
}

.hotel-img {
    width: 20%;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hotel-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.hotel-details {
    padding: 15px;
    flex: 1.4;
    border-right: 2px dashed #eee;
}

.hotel-top {
    margin-bottom: 0px;
}

.hotel-top .hotel-name {
    color: #126886;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.hotel-stars {
    color: #f5b50a;
    font-size: 16px;
    margin: 6px 0;
}

.hotel-category {
    display: inline-flex;
    background-color: #eee;
    padding: 2px 8px;
    font-size: 13px;
    border-radius: 4px;
    gap: 6px;
}

.hotel-location {
    margin-top: 6px;
    font-size: 14px;
    color: #555;
    margin-bottom: 6px;
}

.hotel-location a {
    text-decoration: none;
    color: #2175f5;
}

.hotel-check {
    font-size: 14px;
    color: #333;
    display: flex;
    justify-content: space-between;
}

.hotel-price-section {
    flex: 0.8;
    text-align: center;
    padding: 20px;
    background-color: #fff;
}

.price-amount {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.price-label {
    font-size: 13px;
    color: #888;
    margin-top: 4px;
}

.btn-select {
    background-color: #ff6a00;
    border: none;
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    margin-top: 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-select:hover {
    background-color: #e25a00;
}


/* Hotel Cards */
.h-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.h-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.h-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.h-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

.h-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.rating {
    color: #fbbc04;
}

/* Features Section */
.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonial-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 2rem;
    height: 100%;
    position: relative;
}

.quote-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 3rem;
    color: rgba(26, 115, 232, 0.1);
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}


@media screen and (max-width: 520px) {
    .form-section form {
        width: 100%;
        flex-flow: column wrap;
    }

    .input-group {
        margin: 0 0 10px;
    }

    .input-group label {
        display: none;
    }

    .explore-button {
        width: 100%;
    }

    input.has-error {
        margin-bottom: 20px;
    }

    span#location_suggestion_err {
        bottom: -10px;
    }

    .loading-results {
        transform: translateY(-50%);
    }

    .hotel-card {
        flex-flow: column;
    }

    .hotel-img {
        width: 100%;
        justify-content: left;
    }

    .hotel-img img {
        max-height: 200px;
    }

    .hotel-details {
        border-right: none;
        border-bottom: 2px dashed #eee;
    }
}