.why-book {
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    display: grid;
}

.group {
    padding: 10px;
    border-radius: 5px;
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);

}

.group1 {
    background-color: #f1a543;
}

.group2 {
    background-color: #3cafd5;
}

.group h3 {
    background: none;
    text-transform: none !important;
    font-size: 18px;
    padding: 0px;
}

.group3 {
    background-color: #cb97be;
}

.group p {
    font-size: 14px;
}

.why-book-container h2 {
    font-size: 24px;
}

.why-book-container {
    display: none;
    margin-top: 45px;
}

input[type=checkbox] {
    margin: 0px !important;
}

.modal-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 86%;
    background: rgb(255 255 255);
    z-index: 9999999;
    position: absolute;
}

.modal {
    background: #fff;
    padding: 20px;
    max-width: 400px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

#modal__infFormSubmit iframe {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: scroll;
}

.packageSystem_step__input__selectBox {
    display: grid;
    grid-template-columns: minmax(60px, 100px) 1fr;
    width: fit-content;
    align-items: center;
    background-color: #e9e7e780;
}

.packageSystem_step__input__selectBox span {
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 5px;
    border: 1px solid rgba(0, 115, 153, 1);
    font-weight: bold;
    color: rgba(0, 115, 153, 1);
}



#packageSystem input[type="text"] {
    box-sizing: border-box;
    width: 100%;
    height: calc(3em + 2px);
    margin: 0 0 1em;
    padding: 1em;
    border: 1px solid rgba(0, 115, 153, 1);
    border-radius: inherit;
    background: #fff;
    resize: none;
    outline: none;
    text-align: center;
    font-size: 16px;
}

.invalid-input {
    border: 1px solid rgb(223, 26, 78) !important;
}

#packageSystem input[type="text"][required]:focus {
    border-color: rgba(0, 115, 153, 1);

}

#packageSystem input[type="text"][required]:focus+label[placeholder]:before {
    color: rgba(0, 115, 153, 1);
}

#packageSystem input[type="text"][required]:focus+label[placeholder]:before,
#packageSystem input[type="text"][required]:valid+label[placeholder]:before {
    transition-duration: 0.2s;
    transform: translate(0, -1.4em) scale(0.9, 0.9);
}

#packageSystem input[type="text"][required]:invalid+label[placeholder][alt]:before {
    content: attr(alt);
}

#packageSystem input[type="text"][required]+label[placeholder] {
    display: block;
    pointer-events: none;
    line-height: 1.25em;
    margin-top: calc(-2.7em - 2px);
    margin-bottom: calc((3em - 1em) + 2px);
    font-weight: normal;
    font-size: 16px;
}

#packageSystem input[type="text"][required]+label[placeholder]:before {
    content: attr(placeholder);
    display: inline-block;
    margin: 0 calc(1em + 2px);
    padding: 0 2px;
    color: #898989;
    white-space: nowrap;
    transition: 0.3s ease-in-out;
    background-image: linear-gradient(to bottom, #fff, #fff);
    background-size: 100% 5px;
    background-repeat: no-repeat;
    background-position: center;
}

.packageSystem_package-detail h1 {
    color: #ff6600;
    margin-bottom: 10px;
}

.packageSystem_package-detail .price {
    color: #339966;
    margin-bottom: 20px;
}

.packageSystem_package-detail p {
    line-height: 1.6;
    color: #555;
}

.packageSystem_package-detail .booking-btn {
    background-color: #ff6600;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-bottom: 20px;
}

.packageSystem_package-detail .booking-btn:hover {
    background-color: #cc5500;
}

.packageSystem_package-detail .gallery {
    display: flex;
    justify-content: space-between;
}

.packageSystem_package-detail .large-image {
    flex: 2;
    margin-bottom: 20px;
}

.packageSystem_package-detail .small-images {
    flex: 1;
}

.packageSystem_package-detail .small-images img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

:root {
    --star-size: 30px;
    --star-color: #fff;
    --star-background: #fc0;
}

.Stars {
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
    font-size: var(--star-size);
    font-family: Times;
    line-height: 1;
}

.Stars::before {
    content: "★★★★★";
    letter-spacing: 3px;
    background: linear-gradient(90deg, var(--star-background) var(--percent), var(--star-color) var(--percent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



#packageSystem {
    display: inline-block;
    width: 100%;
}

.packageSystem_steps {
    display: flex;
    justify-content: center;
    align-items: center;
}

.packageSystem_step__question,
.packageSystem_step__input,
.packageSystem_nav {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.packageSystem_nav .btn {
    padding: 0 50px;
}

.packageSystem_nav .btn,
.packageSystem_nav .btn:hover,
.package_btn_book,
.package_btn_book:hover {
    background-image: unset;
    background: rgba(0, 115, 153, 1);
    box-shadow: unset;
    -webkit-box-shadow: unset;
    margin: 0 14px;
    transition: all 0.5s ease;
}

.packageSystem_nav .btn:hover,
.package_btn_book {
    color: white;
    transform: scale(1.2);
}

.packageSystem_nav .btn.startOver {
    display: none;
}

.packageSystem_step__question {
    font-weight: bold;
    color: rgba(0, 115, 153, 1);
    font-size: 20px;
}

.packageSystem_step {
    display: inline-block;
    width: 100%;
}

.packageSystem_step[data-step-id="personRange"] .packageSystem_step__input,
.packageSystem_step[data-step-id="packageComponents"] .packageSystem_step__input,
.packageSystem_step[data-step-id="package"] .packageSystem_step__input {
    display: grid;
    grid-template-columns: repeat(3, .5fr);
    gap: 30px;
    align-items: center;
    justify-items: center;
}

select#packageSystem_input_people {
    min-width: 200px;
    text-align: center;
    outline: unset;
    border: 1px solid rgba(0, 115, 153, 1);
    padding: 8px 0;
    font-size: 16px;
    border-radius: inherit;
}



.packageSystem_step[data-step-id="package"] .packageSystem_step__input {
    grid-template-columns: repeat(4, 1fr);
}

.packageSystem_step[data-step-id="package"] .packageSystem_step__input .packageSystem_step__input_item {
    padding: 10px;
}

.packageSystem_step__input_item {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    padding: 20px;
    cursor: pointer;
    /* background: rgb(255, 255, 255);
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(244, 244, 244, 1) 100%); */
    background: #f3f3f3;
    border: 1px solid rgba(0, 115, 153, 1);
    transition: all 0.5s ease;
    font-size: 16px;

}

.packageSystem_step__input_item[checked],
.packageSystem_step__input_item[selected] {
    color: white;
    font-weight: bold;
    background: rgb(1, 156, 208);
    background: linear-gradient(0deg, rgba(1, 156, 208, 1) 0%, rgba(0, 115, 153, 1) 100%);
    transform: scale(1.1);
    z-index: 9;
}

.packageSystem_step__input_item[checked] {
    transform: scale(1.05);
}


.packageSystem_step[data-step-id="package"] .packageSystem_step__input {
    grid-template-columns: repeat(4, 1fr);
}

.packageSystem_step[data-step-id="package"] .packageSystem_step__input .packageSystem_step__input_item {
    padding: 10px;
}

.packageSystem_step__input_item.package .package_img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.packageSystem_step__input_item.package h2,
.packageSystem_step__input_item.package .package_price {
    font-weight: bold;
}

.packageSystem_step__input_item.package h2 {
    text-transform: capitalize;
    color: rgba(0, 115, 153, 1);
}

.packageSystem_step__input_item.package .package_price_area,
.packageSystem_step__input_item.package .package_img,
.packageSystem_step__input_item.package .package_price_area {
    margin-bottom: 10px;
}

.package_star_rating {
    display: flex;
    align-items: center;
    justify-content: center;
}

.package_star_rating .rating {
    font-size: 16px;
}

.package_img {
    max-width: 100%;
    height: 200px;
    width: auto;
}

.packageSystem_step[data-step-id="contactInfo"] .packageSystem_step__input {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.packageSystem_step[data-step-id="contactInfo"] .packageSystem_step__input_item {
    background-color: unset;
    font-size: 14px;
    padding: 0;
    background: unset;
    border: unset;
}

/*progressbar*/
#packageSystem #progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
    width: 74%;
    margin: auto;
    margin-bottom: 20px;
}

#packageSystem #progressbar li {
    list-style-type: none;
    color: black;
    text-transform: capitalize;
    font-size: 14px;
    width: 16%;
    float: left;
    position: relative;
    text-align: center;
}

#packageSystem #progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 20px;
    line-height: 20px;
    display: block;
    font-size: 15px;
    color: white;
    background: #bdbdbd;
    border-radius: 3px;
    margin: 0 auto 5px auto;
}

/*progressbar connectors*/
#packageSystem #progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: gray;
    position: absolute;
    left: -50%;
    top: 9px;
    z-index: -1;
    /*put it behind the numbers*/
}

#packageSystem #progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
}

/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#packageSystem #progressbar li.active:before,
#packageSystem #progressbar li.active:after {
    background: rgba(0, 115, 153, 1);
    color: white;
}

.alert.alert-warning.forPackage {
    background-color: #f3f3f3;
    border-color: rgba(0, 115, 153, 1);
    color: rgba(0, 115, 153, 1);
    font-size: 14px;
}

.inf-form-hidden {
    display: none;
}

.packageSystem_step select {
    min-width: 200px;
    text-align: center;
    outline: unset;
    border: 1px solid rgba(0, 115, 153, 1);
    padding: 8px 0;
    font-size: 16px;
    border-radius: inherit;
}

#packageSystem #package-list .the-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 20px;
    gap: 20px;
}

#step4 .packageSystem_step__input {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
    gap: 10px;
}

#step4 .form-check {
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    padding: 20px;
    cursor: pointer;
    background: #f3f3f3;
    border: 1px solid rgba(0, 115, 153, 1);
    transition: all 0.5s ease;
    font-size: 16px;
}

#step4 .form-check[checked],
#step4 .form-check[selected] {
    color: white;
    font-weight: bold;
    background: rgb(1, 156, 208);
    background: linear-gradient(0deg, rgba(1, 156, 208, 1) 0%, rgba(0, 115, 153, 1) 100%);
    transform: scale(1.1);
    z-index: 9;
}

#step5 .packageSystem_step__input {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.hotel-question .form-check-wrap {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 17px 0;
}

.start-over-wrap {
    display: flex;
    justify-content: center;
    padding: 10px 0;
}

#participantFields input {
    min-width: 200px;
    text-align: center;
    outline: unset;
    border: 1px solid rgba(0, 115, 153, 1);
    padding: 8px 0;
    font-size: 16px;
    border-radius: inherit;
}

#package-list>div.the-list>div {
    grid-template-columns: repeat(4, 1fr);
}

.select-box input {
    box-sizing: border-box;
    width: 100%;
    height: calc(3em + 2px);
    margin: 0 0 1em;
    padding: 1em;
    border: 1px solid rgba(0, 115, 153, 1);
    border-radius: inherit;
    background: #fff;
    resize: none;
    outline: none;
    text-align: center;
    font-size: 16px;
}

.selected-option {
    background-color: #eee;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.selected-option div {
    position: relative;
    background-color: rgba(218, 236, 247, 1);
    width: 1rem;
    padding: 0 2.8rem 0 .5rem;
    text-align: center;
    cursor: pointer;
    border: 1px solid rgba(0, 115, 153, 1);
    height: 50px;
    margin-top: -16px;

}

.selected-option div::after {
    position: absolute;
    content: "";
    right: .8rem;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);

    width: .8rem;
    height: .8rem;
    border-right: .12rem solid var(--primary);
    border-bottom: .12rem solid var(--primary);

    transition: .2s;
}

.selected-option div.active::after {
    transform: translateY(-50%) rotate(225deg);
}

.select-box .options {
    position: absolute;
    top: 4rem;

    width: 100%;
    background-color: #fff;
    border-radius: .5rem;

    display: none;
}

.select-box .options.active {
    display: block;
    z-index: 10;
}

.select-box .options::before {
    position: absolute;
    content: "";
    left: 1rem;
    top: -1.2rem;

    width: 0;
    height: 0;
    border: .6rem solid transparent;
    border-bottom-color: var(--primary);
}

input.search-box {
    background-color: var(--primary);
    color: #fff;
    border-radius: .5rem .5rem 0 0;
    padding: 1.4rem 1rem;
}

.select-box ol {
    list-style: none;
    max-height: 23rem;
    overflow: overlay;
}

.select-box ol::-webkit-scrollbar {
    width: 0.6rem;
}

.select-box ol::-webkit-scrollbar-thumb {
    width: 0.4rem;
    height: 3rem;
    background-color: #ccc;
    border-radius: .4rem;
}

.select-box ol li {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.select-box ol li.hide {
    display: none;
}

.select-box ol li:not(:last-child) {
    border-bottom: .1rem solid #eee;
}

.select-box ol li:hover {
    background-color: lightcyan;
}

.select-box ol li .country-name {
    margin-left: .4rem;
}

@media screen and (max-width: 768px) {

    .why-book {
        grid-template-columns: repeat(1, 1fr);
    }

    #step5 .packageSystem_step__input {
        grid-template-columns: repeat(1, 1fr);
    }

    #step4 .packageSystem_step__input {
        grid-template-columns: repeat(2, 1fr);
    }

    #packageSystem #progressbar {
        width: 100%;
    }

    #packageSystem #progressbar li {
        font-size: 10px;
    }

    #package-list>div.the-list .packageSystem_step[data-step-id="personRange"] .packageSystem_step__input,
    .packageSystem_step[data-step-id="packageComponents"] .packageSystem_step__input,
    .packageSystem_step[data-step-id="package"] .packageSystem_step__input {
        align-items: stretch;
        gap: 10px;
    }

    .packageSystem_step[data-step-id="contactInfo"] .packageSystem_step__input {
        grid-template-columns: 1fr;
        gap: 10px;
    }


    #packageSystem #package-list .the-list {
        grid-template-columns: 1fr;
    }

    .packageSystem_step[data-step-id="personRange"] .packageSystem_step__input .packageSystem_step__input_item,
    .packageSystem_step[data-step-id="packageComponents"] .packageSystem_step__input .packageSystem_step__input_item {
        display: flex;
        justify-content: center;
        align-items: center;
    }


}