body {
    display: flex;
    max-width: 1920px;
    margin: 0px;
    font-family: "Noto Sans Thai", serif;
    background-color: rgb(255 255 255);
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    overflow-x: hidden;
    align-items: center;
}

#banner {
    position: relative;
    width: var(--full-size);
    height: 400px;
    overflow: hidden;
}

.banner-background img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    filter: brightness(0.7);
}


.context_banner {
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
}

.context_banner h1 {
    font-size: 48px;
    font-weight: bold;
    margin: 0;
}

.context_banner p {
    font-size: 22px;
    margin-top: 10px;
}

/*--sec1--*/

#section1 {
    width: var(--full-size);
    background-color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    margin-bottom: 20px;
    gap: 1rem;

}

.con_link {
    display: flex;
    justify-content: flex-start;
    width: var(--full-minisize);
}

.text_con_link {
    color: #BABABA;
    font-weight: 600;
}

.text_con_link_active {
    color: var(--bg_santa_main);
    font-weight: 600;
}

.con_link a {
    text-decoration: none;
}

.header_sec1 {
    color: #000;
    font-weight: bold;
    font-size: 38px;
}

.header_sec1 span {
    color: var(--bg_santa_main);
    font-weight: bold;
}

.con_routes {
    width: var(--full-minisize);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: stretch;
}

.con_routes a {
    text-decoration: none;
}

.package-info {
    width: 100%;
    height: 350px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    justify-content: space-around;
}

.package-info img {
    width: 100%;
    height: 80%;
    object-fit: cover;
    border-radius: 20px 20px 0px 0px;
}


.con_row1_chinaroutes {
    height: 20%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
}

.row1_chinaroutes {
    display: flex;
    flex-direction: column;
    /* gap: 1rem; */
    margin: 0px 10px;
    align-items: flex-start;
}

.row1_chinaroutes div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.row1_chinaroutes img {
    width: 20px;
    height: 20px;
}

.row1_chinaroutes p {
    font-size: 14px;
    margin: 2px;
    color: #A6A6A6;
}

.row1_chinaroutes .highlight {
    color: #000;
}

.con_button {
    display: flex;
    justify-content: flex-end;
    margin: 10px 10px 10px 0px;
}

.btn-download {
    background-color: #00b894;
    color: white;
    padding: 5px 10px;
    display: inline-block;
    margin-top: 10px;
    border-radius: 30px;
    text-decoration: none;
}

.filter-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-controls {
    margin: 20px 0px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.result-count {
    font-weight: bold;
    color: #333;
    margin-right: auto;
    padding-right: 10px;
}

.filter-select {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-size: 15px;
    background-color: #fff;
    color: #333;
    min-width: 150px;
}

.btn {
    padding: 10px 40px;
    border-radius: 20px;
    font-size: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-family: "Noto Sans Thai", serif;
}

.search-btn {
    background-color: var(--bg_santa_main);
    color: #fff;
    border: none;
}

.search-btn:hover {
    background-color: var(--santa_2main);
    color: var(--bg_santa_main);
}

.reset-btn {
    background-color: #f0f0f0;
    color: #000;
    border: 1px solid #ccc;
}

.reset-btn:hover {
    background-color: #e0e0e0;
}

.city-btn {
    width: 120px;
    background-color: #fff;
    color: #000;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.city-btn:hover {
    background-color: #fff;
    color: var(--bg_santa_main);

}

/*---text---*/
.con_text {
    width: var(--full-minisize);
    height: 400px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-evenly;
    margin-bottom: 40px;
}

.col1_con_text {
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.col1_con_text img {
    width: 100%;
    height: 400px;
}

.col2_con_text {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.text_col2_con_text {
    text-align: start;
    font-size: 18px;
}

.header_col2_con_text {
    font-size: 32px;
    font-weight: bold;
}

.header_col2_con_text span {
    color: var(--bg_santa_main);
}

.header_col2 {
    display: flex;
    justify-content: flex-start;
    width: var(--full-minisize);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px 0;
}

.pagination a {
    color: black;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 50%;
    background-color: #eee;
}

.pagination a.active {
    background-color: var(--bg_santa_main);
    color: white;
    font-weight: bold;
}

#section2 {
    width: var(--full-size);
    height: auto;
    position: relative;
    background-color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('/static/img/home/sec3_5_bg.png');
    z-index: 0;
    gap: 1rem;
}

.header_col_sec2 {
    font-size: 32px;
    font-weight: bold;
}

.header_col_sec2 span {
    color: var(--bg_santa_main);
}

.row_text {
    width: var(--full-minisize);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.row_text1 {
    gap: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.row_text1 img {
    width: 40px;
}

.con_row_text {
    width: var(--full-minisize);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('/static/img/home/sec3.png');
    position: relative;
    z-index: 0;
    justify-content: center;
    height: auto;
    gap: 1rem;
    margin-bottom: 40px;
}

.row_text_group {
    width: var(--full-minisize);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.carousel-nav {
    position: absolute;
    top: 60%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: #ffffffcc;
    border: none;
    cursor: pointer;
    padding: 10px 15px;
    font-size: 24px;
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.carousel-nav.left {
    left: 0;
}

.carousel-nav.right {
    right: 0;
}

.mobile_section5,
.mobile_section5_1 {
    display: none;
}

.btn {
    padding: 10px 40px;
    border-radius: 20px;
    font-size: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    font-family: "Noto Sans Thai", serif;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: #f8f8f8;
    border-radius: 10px;
}

.con_row_sec5_1 {
    width: var(--full-size);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('/static/img/home/sec3_5_bg.png');
    position: relative;
    z-index: 0;
    justify-content: center;
    height: auto;
}

.con_row_sec5_2 {
    display: flex;
    flex-direction: column;
    width: var(--full-minisize);
}

.header_sec5_1 {
    font-size: 30px;
    font-weight: 600;
    color: #000;
}

.header_sec5_1 span {
    color: var(--bg_santa_main);
}

.carousel-wrapper {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease-in-out;
    will-change: transform;
}

.col_sec5_1 {
    width: calc(25% - 15px);
    height: 310px;
    border-radius: 20px;
    flex-shrink: 0;
    margin-right: 20px;
}

.col_sec5_1 img {
    width: 100%;
    height: 300px;
    border-radius: 16px;
}

.col_sec5_1:last-child {
    margin-right: 0;
}

.row_text {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.row_text_all {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 90%;
}

.row_text_1 {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.row_text1 {
    gap: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.row_text1 img {
    width: 40px;
}

.row_text2 {
    width: 100%;
    gap: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
}

.row_text2 img {
    width: 40px;
}

.col_countries {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.btn_wrapper {
    margin: 20px;
    z-index: 2;
    position: relative;
    display: flex;
    justify-content: center;

}

.button_readmore {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 25px;
    background-color: var(--bg_santa_main);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
    font-size: 18px;
}

.button_readmore:hover {
    background-color: #fff;
    color: var(--bg_santa_main);
}

.row_text2_text {
    font-size: 18px;
    font-weight: bold;
}

.row_text2_text span {
    color: var(--bg_santa_main);
}

.row_sec1_textphoto {
    width: var(--full-minisize);
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.row_sec1_textphoto_1 {
    display: flex;
    flex-direction: row;
    gap: 2rem;

}

.col1_textphoto {
    width: 50%;
    display: flex;
    align-items: center;
}

.col1_textphoto img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
}

.col2_textphoto {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: start;
}

.textphoto_contact {
    display: flex;
    align-items: center;
}

/*--- sec3 ---*/
.container_3 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 50px 0px;
    align-items: center;
    width: 100%;
}

.content_sec3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 80%;
    align-items: flex-start;
    width: var(--full-minisize);
}

.content_sec3_1 {
    display: flex;
    width: 80%;
    height: 600px;
    flex-direction: row;
    margin-top: 100px;
    justify-content: flex-start;
}

.tab-container {
    width: 98%;
    background-color: var(--bg_santa_main);
    padding: 10px;
    border-radius: 12px;
    overflow-x: auto;
}

.tab-buttons {
    display: flex;
    gap: 5px;
    flex-direction: row;
}

.tab-btn {
    flex-shrink: 0;
    background-color: var(--bg_santa_main);
    color: #fff;
    border: none;
    padding: 12px 80px;
    font-size: 18px;
    font-family: "Noto Sans Thai", sans-serif;
    font-weight: bold;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
    /* box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); */
}

.tab-btn:hover {
    background-color: #fff;
    color: var(--bg_santa_main);
}

.tab-btn.active {
    background-color: #fff;
    color: var(--bg_santa_main);
    position: relative;
    top: 2px;
    box-shadow: none;
}

.content_sec3_2 {
    display: none;
    max-height: 250px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease-in-out;

}

.content_sec3_2.show {
    display: block;
}

.content_sec3_2.expanded {
    max-height: none;
    overflow: visible;
}

.fade-bottom {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, white, rgba(255, 255, 255, 0));
    text-align: center;
    z-index: 1;
}

.read-more-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: red;
    border: none;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
    font-family: "Noto Sans Thai", serif;
}

.content_sec3_3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.container_text_3 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    font-size: 18px;
    margin-top: 20px;

}

.container_text_3 h1 {
    color: var(--bg_santa_main);
    font-size: 38px;

}

.container_text_3_1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 80%;
    font-size: 18px;
    margin: 0px 0px 20px;


}

ul {
    list-style-type: none;
    padding-left: 0;
}
.header_routes h2{
    font-size: 32px;
}
.header_routes span{
    color: var(--bg_santa_main);
}

@media (min-width:1101px) and (max-width: 1919px) {

    #banner,
    #section1,
    #section2,
    #section3,
    #section4,
    .container_3 {
        width: 100%;
    }

    .content_sec3 {
        width: 90%;
    }

    #banner {
        height: auto;
    }

    .row_sec3,
    .con_link,
    .con_routes {
        width: 90%;
    }

    .package-info {
        height: 350px;
    }


}

@media (max-width:1100px) {

    #section1 {
        width: 100%;
    }

    #section1 {
        height: auto;
    }



    .context_banner h1 {
        font-size: 20px;
    }

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

    #banner {
        width: 100%;
        height: auto;
    }


    .context_banner {
        top: 65%;
    }

    .banner-background img {
        width: 100%;
        height: 220px;
        object-fit: cover;
    }

    .con_link {
        width: 90%;
    }


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

    .filter-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-select,
    .search-btn {
        width: 100%;
    }

    .header_sec1 {
        font-size: 20px;
        width: 90%;
    }

    .filter-form,
    btn reset-btn {
        width: 90%;
    }

    .con_routes {
        width: 90%;
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }

    .package-info {
        height: auto;
    }

    .package-info img {
        width: 100%;
        height: auto;
        object-fit: fill;
    }

    .con_row1_chinaroutes {
        height: 40%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-evenly;
        padding: 10px 0px;
    }

    .row1_chinaroutes img {
        width: 15px;
        height: 15px;
    }

    #section2 {
        width: 90%;
        height: auto;
    }

    .con_row_text,
    .row_text {
        width: 90%;
    }

    .row_text1 img {
        width: 80px;
        height: 80px;
    }

    .header_col_sec2 {
        font-size: 20px;
        margin: 0;
    }

    .text_col2_con_text {
        text-align: start;
        font-size: 14px;
    }

    .con_text {
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
        height: auto;
    }

    .col1_con_text img {
        width: 100%;
        height: 300px;
    }

    .col1_con_text {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .col2_con_text {
        width: 100%;
        display: flex;
        align-items: center;
    }

    .con_row_text {
        display: flex;
        flex-direction: row;
        width: 100%;
        margin-bottom: 20px;
    }

    .header_col2 {
        width: 90%;
    }

    .header_col2_con_text {
        font-size: 20px;
    }

    .row_text {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .con_row_text {
        align-items: flex-start;
        width: 90%;
        height: auto;
        background-image: url('/static/img/home/sec3_5_bg.png');
    }

    .row_text_group {
        width: 100%;
        height: auto;
        align-items: center;
    }

    .header_col_sec2 {
        font-size: 18px;
    }

    .row_text2_text {
        font-size: 14px;
    }

    .row_text1 img,
    .row_text2 img {
        width: 20px;
    }

    .col_countries {
        display: flex;
        flex-direction: row;

    }

    .row_text_all {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .row_text_1 {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .row_text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .city-btn {
        width: 120px;
    }

    .btn {
        padding: 10px 10px;
        font-size: 12px;
    }

    .button_readmore {
        font-size: 14px;
    }

    /* Section 3 Adjustments */
    .container_3 {
        margin-top: 20px;
    }

    .content_sec3 {
        width: 90%;
    }

    .tab-buttons {
        display: flex;
        gap: 1px;
        flex-direction: row;
        justify-content: space-evenly;
    }

    .tab-buttons::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        white-space: nowrap;
        padding: 10px 4px;
        font-size: 10px;
        min-width: fit-content;
        border-radius: 8px 8px 0 0;
    }

    .tab-container {
        padding: 5px 0;
        border-radius: 0;
        width: 100%;
    }

    .container_text_3 {
        width: 80%;
    }

    .container_text_3 h1 {
        font-size: 18px;
    }

    ul,
    p {
        font-size: 12px;
    }

    .row_sec1_textphoto {
        width: 100%;

    }

    .row_sec1_textphoto_1 {
        width: 90%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .col1_textphoto,
    .col2_textphoto {
        width: 100%;
    }
    .header_routes h2{
        font-size: 20px;
    }
}