/*=============================================================
    Start Responsive for all pages
================================================================*/

@media (max-width: 768px) {
    .jte-top-banner p {
        max-width: 95%;
        font-size: 12px;
    }

    .hide-top-banner {
        top: 10px;
        right: 10px;
    }

    /*=====================start navbar =============*/
    .jte-main-header {
        padding: 1rem;
    }

    .jte-logo a {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .jte-logo span {
        font-size: 12px;
        font-weight: 400;
    }

    .jte-logo img {
        width: 90px;
    }

    .jte-account:hover .login-card {
        display: none;
    }

    .jte-search.show,
    .jte-search {
        display: none;
    }

    .jte-footer-bottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        padding: 1rem 0 5rem 0;
    }

    span.jte-footer-copy {
        align-items: flex-start;
        gap: 5px;
    }

    span.jte-footer-copy img {
        width: 70px;
    }

    .jte-nav img {
        margin: 0;
    }

    .featured-prev {
        left: 0;
    }

    .featured-next {
        right: 0;
    }

    .jte-account {
        padding: 5px;
    }

    .jte-account a span {
        display: none;
    }

    .jte-cart span {
        display: none;
    }

    .close-login {
        top: 10px;
        right: 10px;
    }

    /*=====================end navbar =============*/
    /*=====================start  hero =============*/
    .hero-section {
        height: auto;
    }

    .hero-section .hero-title {
        font-size: 2rem;
        text-align: center;
        line-height: 1.2;
    }

    .hero-content p {
        margin-bottom: 10px;
    }

    .hero-section .hero-content {
        padding: 0 0.5rem;
        margin-top: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 10px;
        line-height: 1.5;
    }

    .search-card {
        padding: 1.5rem;
    }

    .nearby-section {
        /* flex-direction: column; */
        /* text-align: center; */
        padding: 15px 15px 15px 25px;
        gap: 0.5rem;
        flex-wrap: nowrap;
        /* display: flex; */
    }

    .nearby-search {
        top: 70px;
        right: 0;
        left: 0;
    }

    /*=====================end hero =============*/
    .featured-category-wrapper {
        display: flex;
        padding: 1rem;
        overflow-x: scroll;
    }

    .featured-category-wrapper::-webkit-scrollbar {
        display: none;
    }

    .featured-category-item {
        /* white-space: nowrap; */
        min-width: 400px;
        width: 100%;
    }

    .featured-category-content .featured-category-text {
        width: 100%;
        max-width: 100%;
    }

    .featured-category-content {
        padding: 1.5rem;
    }

    /*=====================start  video =============*/
    .video-section {
        height: 300px;
    }

    /*=====================end video ================*/
    .why-bio {
        display: block;
    }

    .why-bio .why-item {
        flex-direction: column;
        align-items: center;
    }

    .why-meta {
        text-align: center;
    }

    /*================start destination with tabs  =============*/

    .custom-tabs {
        overflow-x: scroll;
        justify-content: start;
        width: 100%;
    }

    .custom-tabs>* {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .custom-tabs::-webkit-scrollbar {
        display: none;
    }

    .destination-with-tabs {
        padding: 1.3rem 0;
    }

    .destination-wrapper {
        display: block;
        height: auto;
        max-height: 100%;
    }

    .tab-content {
        padding: 1rem 0;
    }

    .destination-wrapper .destination-item {
        height: 100px;
        width: 100%;
        margin-bottom: 20px;
    }

    /*================end  destination with tabs  =============*/
    .jte-login-left,
    .jte-login-right {
        width: 100%;
        padding: 1rem;
    }

    .jte-login-wrapper {
        flex-direction: column;
        padding: 2rem 1rem 1rem 1rem;
        width: 100%;
        overflow-y: scroll;
        height: 100%;
    }

    .progress-wrap {
        bottom: 90px;
    }
}

@media (max-width: 1199px) {
    .nearby-search {
        top: 70px;
        right: 0;
        left: 0;
    }
}

/*===================== end navbar =============*/
@media (max-width: 768px) {
    .slider-wrapper {
        padding: 0 20px;
    }

    .card-title {
        font-size: 16px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
    }

    .tours-navigation .swiper-button-next {
        right: 0;
    }

    .tours-navigation .swiper-button-prev {
        left: 0;
    }

    .swiper-button-prev {
        left: 0;
    }

    .care-icon {
        width: 70px;
        height: 70px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-logo {
        top: 20px;
        left: 20px;
        width: 60px;
        height: 60px;
    }

    .why-bio {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 10px;
    }

    .video-logo-text {
        font-size: 2rem;
    }

    .video-controls {
        padding: 15px 20px 20px;
        gap: 10px;
    }

    #volume-slider {
        width: 60px;
    }

    .time-display {
        font-size: 11px;
        min-width: 70px;
    }
}

@media (max-width: 768px) {
    .footer-title {
        cursor: pointer;
    }

    .footer-content {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.35s ease, opacity 0.25s ease;
        font-size: 18px;
        font-weight: 400;
    }

    .jte-footer-col.active .footer-content {
        max-height: 500px;
        opacity: 1;
    }

    .jte-footer-col.active .footer-title i {
        transform: rotate(180deg);
    }
}

@media (min-width: 769px) {
    .footer-content {
    max-height: none !important;
    opacity: 1 !important;
    display: block;
    color: var(--main-color);
    margin-bottom: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    max-width: 90%;
    }

    .footer-title i {
        display: none;
    }
}

@media (max-width: 1024px) {
    .search-form {
        flex-direction: column;
        align-items: stretch;
    }

    .input-wrapper,
    .date-input {
        width: 100%;
        /* min-width: 100%; */
    }

    .search-button {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .banner-signin {
        flex-direction: column;
        padding: 25px;
        text-align: center;
    }

    .banner-signin-content {
        flex-direction: column;
        text-align: center;
    }

    .banner-care {
        flex-direction: column;
        padding: 25px;
        text-align: center;
    }

    .btn-account {
        width: 100%;
        justify-content: center;
    }

    .banner-text h2,
    .care-text h2 {
        font-size: 18px;
    }
}

/*=============================================================
    end Home Page
==============================================================*/
@media (max-width: 768px) {
    .sub-category-destinations {
        padding: 30px 20px;
    }

    section.sub-category-result {
        padding: 30px 20px;
    }

    .main-category-tabs-list {
        overflow-x: hidden;
    }

}

@media (max-width: 768px) {
    .tour-title h1 {
        font-size: 1.5rem;
    }

    .tour-title span {
        display: none;
    }

    .tour-title i {
        font-size: 1.5rem;
        color: var(--main-color);
    }

    .small-cards {
        flex-direction: column;
        gap: 20px;
    }

    .small-cards>* {
        height: 160px;
    }

    .airport-image img {
        height: 160px;
    }

    .tour-option {
        margin: 0;
    }

    .included-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .rating-section {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .logo-circle {
        border: none;
        width: 100%;
        height: 100%;
    }

    .logo {
        gap: 10px;
    }

    .main-title {
        font-size: 18px;
    }

    .main-subtitle {
        line-height: 1.5;
    }
}

@media (max-width: 768px) {
    .hero-section.contact {
        padding: 1.5rem;
    }

    .hero-section.contact h1 {
        text-align: center;
    }

    .awards-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1.5rem 1.5rem;
        margin-top: 10px;
    }
     .section-title-para {
        max-height: calc(1.5 * 12em);
     }
    .jte-city-page__intro .section-title-para,
    .excursions-section .section-title-para {
        max-height: calc(1.5 * 20em);
    }
}
