/*===title template====*/

.title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    gap: 10px;
    margin: 0 auto 3rem auto;
}

.suggested-hotels-area .title-container {
    margin: 0 auto 1rem auto;
}

.title-container h3 {
    display: inline;
    margin: 0px;
    font-size: 16px;
}

main .same-tour-area .same-tour-area-head,
main .tour-group .tour-group-head,
main .hotels .hotels-head,
main .hotels .choose-city,
main .searched-fly .searched-fly-head,
main .buy-ticket .buy-ticket-head,
main .visa .visa-head,
main .tourism .tourism-head {
    display: flex;
    align-items: center;
    align-self: center;
    justify-content: space-between;
    width: 100%;
}

.same-tour-area,
.destinations,
.tour-group,
.hotels,
.searched-fly,
.buy-ticket,
.banners,
.visa,
.tourism,
.why-tripall-head {
    width: 75% !important;
    margin: auto;
}

/*titles*/
h3 {
    font-size: 17px !important;
    font-weight: bold;
}

/*---------------------------search box--------------------------*/
main .heros {
    height: 500px;
    position: relative;
}

main .search-box-area {
    width: 100%;
    height: max-content;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index:999;
}
.child-counters .child-age h3 {
    font-size: 14px !important;
}
main .search-box .inputs .origin-input, main .search-box .inputs .destination-input {
    width: 180%;
}

main .search-box .inputs .return-date-input {
    width: 80%;
    height: 100%;
    transform: scale(1, 1);
    margin: 0px 2.5px !important;
}


/*---------------------------main setting--------------------------*/
section:not(.page-title-area, .popups) {
    margin: 50px auto !important;
}

.popups p {
    margin: 1rem 0;
}

section.bg-light-4 {
    padding: 50px 0 !important;
}

/*nav tabs*/
.nav-tabs {
    border: none;
}

main section:not(.suggested-hotels-area, .page-title-area) {
    width: 75%;
}

main hr:not(.accordion hr) {
    width: 75%;
    margin: auto;
    border: 1px solid var(--caption-color);
    opacity: 0.1;
}

/*input*/
input::placeholder {
    color: #ccc !important;
}

/*---------------------------destination hotels------------------------------*/

main .destination-hotels .destination-hotels-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    column-gap: 12px;
    row-gap: 25px;
}

    main .destination-hotels .destination-hotels-content .item {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

        main .destination-hotels .destination-hotels-content .item:hover .text span {
            color: var(--first-color);
        }

        main .destination-hotels .destination-hotels-content .item .img {
            border-radius: 10px;
            aspect-ratio: 1/0.57;
        }

        main .destination-hotels .destination-hotels-content .item .text {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 10px;
            background-color: white;
            border-radius: 10px;
            color: var(--font-color);
        }

            main .destination-hotels .destination-hotels-content .item .text .icon {
                width: 25px;
                height: 25px;
                border-radius: 50%;
                background-color: hsl(var(--first-color-hsl-light));
                display: flex;
                align-items: center;
                justify-content: center;
                color: var(--first-color);
                font-size: 13px;
            }


/*---------------------------suggested hotels------------------------------*/

main .hotels .choose-city {
    width: 100%;
    margin: auto;
    display: flex;
    align-items: center !important;
}

    main .hotels .choose-city .col-50-c {
        width: 30% !important;
    }

main .hotels .swiper {
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-rows: auto auto;
}

main .hotels .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: transparent;
    height: calc((100% - 30px) / 2) !important;
    margin-top: 10px;
}

    main .hotels .swiper-slide .card {
        background-color: transparent;
        border: none;
    }

    main .hotels .swiper-slide .img {
        border-radius: 10px;
    }


    main .hotels .swiper-slide img {
        border-radius: 10px;
        display: block;
        width: 100%;
        height: 100%;
        aspect-ratio: 1/0.62;
        object-fit: cover;
    }

    main .hotels .swiper-slide .content {
        text-align: right;
        padding: 0px 10px;
    }

        main .hotels .swiper-slide .content h4 {
            margin: 5px 0px;
            font-weight: bold;
            font-size: 15px !important;
            color: var(--font-color);
        }

        main .hotels .swiper-slide .content .caption {
            color: gray !important;
            font-size: 10px !important;
        }

        main .hotels .swiper-slide .content .value {
            font-weight: bold;
            font-size: 13px !important;
        }

        main .hotels .swiper-slide .content .price {
            color: var(--first-color) !important;
        }

    main .hotels .swiper-slide .row {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }

        main .hotels .swiper-slide .row div,
        main .hotels .swiper-slide .row h4 {
            width: fit-content;
        }

        main .hotels .swiper-slide .row i {
            color: #f0bc00;
        }


/*=========slider-buttons========*/

main .hotels .swiper-buttons {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    background-color: white;
    transition: 0.2s;
}

    main .hotels .swiper-buttons:hover {
        cursor: pointer;
        box-shadow: 0px 0px 3px rgba(128, 128, 128, 0.3);
    }

    main .hotels .swiper-buttons:active {
        filter: brightness(0.9);
    }

main .hotels .swiper-button-disabled {
    color: gray;
}

main .hotels .swiper-button-active {
    color: var(--first-color);
}

/*--------------------------- banner ------------------------------*/

main .hotel-banners {
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

    main .hotel-banners img {
        width: 100%;
        border-radius: 10px;
    }

/*--------------------------- tips-before-booking ------------------------------*/

main .tips-before-booking .tips-before-booking-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    main .tips-before-booking .tips-before-booking-content .text {
        width: 52%;
        height: 100%;
        position: relative;
        display: flex;
        align-items: center;
    }

        main .tips-before-booking .tips-before-booking-content .text p {
            margin: 2rem auto !important;
        }

        main .tips-before-booking .tips-before-booking-content .text .icon1 {
            color: #607EAA;
            position: absolute;
            top: 5px;
            right: -15px;
        }

        main .tips-before-booking .tips-before-booking-content .text .icon2 {
            color: #607EAA;
            position: absolute;
            bottom: 5px;
            left: -15px;
        }


    main .tips-before-booking .tips-before-booking-content .imgs {
        width: 35%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

        main .tips-before-booking .tips-before-booking-content .imgs .img-container {
            position: relative;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: flex-end;
        }

/*----------------------------q-a---------------------------------*/
@media screen and (max-width: 1280px) {
    main section:not(.suggested-hotels-area, .page-title-area, .tips-before-booking-section) {
        width: 95%;
    }

    .same-tour-area,
    .destinations,
    .tour-group,
    .hotels,
    .searched-fly,
    .buy-ticket,
    .banners,
    .visa,
    .tourism,
    .why-tripall-head {
        width: 95% !important;
    }
}

@media screen and (max-width: 500px) {
    h1, h2, h3, h4, h5, h6 {
        font-size: 16px !important;
        font-weight: bold !important;
    }

    main section {
        width: 100% !important;
        padding: 0 1.5rem;
    }

    main .heros {
        height: max-content;
    }

    main .search-box .inputs .origin-input, main .search-box .inputs .destination-input {
        width: 180%;
        grid-column: 1 / 3;
    }



    main .search-box .inputs .went-date-input {
        grid-column: 1 / 2;
        margin-top: 10px !important;
    }

    main .search-box .inputs .return-date-input {
        grid-column: 2 / 3;
        margin-top: 10px !important;
    }

    /*===================destination hotels=========================*/

    main .destination-hotels .destination-hotels-content {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }


    /*===================suggested hotels=========================*/


    main .hotels-arae {
        height: min-content;
    }

    main .hotels .choose-city {
        width: 100%;
        margin: auto;
    }

        main .hotels .choose-city .col-50-c {
            width: 100% !important;
        }

        main .hotels .choose-city .swiper-buttons {
            display: none;
        }

    main .hotels .swiper-slide {
        height: calc((90% - 50px) / 2) !important;
    }

        main .hotels .swiper-slide .content .caption {
            font-size: 11px !important;
        }

        main .hotels .swiper-slide .content .value {
            font-size: 12px !important;
        }


    main .hotels .swiper .swiper-br {
        display: none;
    }


    /*================= banner ===============*/

    main .hotel-banners {
        grid-template-columns: 1fr;
    }


    /*================== tips-before-booking =================*/

    main .tips-before-booking .tips-before-booking-content {
        display: flex;
        flex-direction: column-reverse;
    }

        main .tips-before-booking .tips-before-booking-content .text {
            width: 95%;
            margin-top: 2rem;
        }

            main .tips-before-booking .tips-before-booking-content .text .icon1 {
                color: #607EAA;
                position: absolute;
                top: -5px;
                right: 0px;
            }

            main .tips-before-booking .tips-before-booking-content .text .icon2 {
                color: #607EAA;
                position: absolute;
                bottom: -5px;
                left: 0px;
            }

        main .tips-before-booking .tips-before-booking-content .imgs {
            width: 95%;
        }

            main .tips-before-booking .tips-before-booking-content .imgs .img1 {
                width: 150px;
                top: calc(50% - 150px);
                left: calc(50% - 130px);
            }

            main .tips-before-booking .tips-before-booking-content .imgs .img2 {
                width: 200px;
                bottom: calc(50% - 100px);
                right: calc(50% - 130px);
            }

        main .tips-before-booking .tips-before-booking-content .text p {
            margin: 1rem auto !important;
        }


    .same-tour-area, .destinations, .tour-group, .hotels, .searched-fly, .buy-ticket, .banners, .visa, .tourism, .why-tripall-head {
        width: 100% !important;
    }
}
