
/* Header chính */
header {
    background-color: var(--white-color);
    height: 90px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    box-sizing: border-box;
    border-bottom: 1px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo */
.header__logo img {
    max-height: 100px;
    object-fit: contain;
    padding-left: 80px;
}

/* Menu */
.header__menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0 80px 0 0;
    align-items: center;
}

/* Mỗi mục trong menu */
.header__menu-item {
    margin: 0 20px;
    position: relative;
}

.header__menu-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.6rem;
    transition: color 0.3s, transform 0.2s;
}

.header__menu-item a:hover {
    color: var(--accent-text-color);
    transform: scale(1.08);
}

/* Submenu cho Đối tác */
.header__menu-item.has-submenu:hover .doiTac__menu {
    display: block;
}

.doiTac__menu {
    /* border: 1px solid var(--primary-color); */
   

    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--light-gray-color);
    list-style: none;
    padding: 10px 0;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    min-width: 216px;
    z-index: 999;
}

.doiTac__menu-item {
    padding: 8px 20px;
}
.doiTac__menu-item-link i{
    font-size: 18px;
    padding-right: 8px;
}
.doiTac__menu-item a {
    color: var(--primary-color);
    text-decoration: none;
    display: block;
    font-size: 1.4rem;
    transition: background-color 0.2s, color 0.2s;
}

.doiTac__menu-item a:hover {
    background-color: var(--light-gray-color);
    color: var(--accent-text-color);
}

/* Phone Button */
.header__phone {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    animation: pulse 2s infinite;
    cursor: pointer;
    transition: background-color 0.3s;
}

.header__phone:hover {
    background-color: var(--accent-text-color);
}

/* Hiệu ứng động */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); }
    100% { transform: scale(1); }
}
/* Banner */
.banner {
    background-image: url(/asesst/image/banner-home-20241127090146-jjo0w.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.banner-item {
    transform: translateY(-100px);
}

.banner-item h1 {
    font-size: 3.8rem;
    font-weight: 550;
    text-transform: uppercase;
}

.banner-item h2 {
    font-size: 3rem;
    text-transform: uppercase;
    padding: 8px 0;
}

.banner-item h1,
.banner-item h2,
.banner-item-bg {
    color: #fff;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.banner-item h3 {
    font-size: 2rem;
    color: #f2f025;
    margin: 14px 0;
}

.banner-item-bg {
    margin: 0 auto;
    background-color: #4689b7;
    padding: 2px 10px;
    width: 300px;
    border-radius: 4px;
    font-size: 1.8rem;
    border: 1px solid #fff;
}

.banner-item-btn {
    display: inline-block;
    background-color: var(--accent-text-color);
    color: #fff;
    padding: 8px 48px;
    border-radius: 50px;
    font-weight: 400;
    font-size: 1.8rem;
    cursor: pointer;
    animation: pulse 1.2s infinite;
    transition: background-color 0.3s, transform 0.1s;
    text-transform: uppercase;
}

.banner-item-btn:hover {
    background-color: var(--primary-color);
}

/* Section lý do nên chọn */
.why-choose {
    padding: 60px 10px;
    background-color: #fff;
    text-align: center;
}

.choose-heading {
    font-size: 3rem;
    color: var(--accent-text-color);
    font-weight: 600;
    padding-bottom: 14px;
}

.choose-heading span {
    color: var(--primary-color);
}

.why-choose p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 16px;
    color: #333;
}

/* Container để giới hạn chiều rộng và canh giữa */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Các lý do */
.reasons {
    display: flex;
    justify-content: space-between;
    margin: 0 40px;
}

.reason {
    background-color: #f9f9f9;
    padding: 0 80px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.reason:hover {
    transform: translateY(-5px);
}

.reason img {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
}

.reason h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #0070c9;
}

.reason p {
    font-size: 14px;
    color: #555;
}

/* Hero Section */
.hero-section {
    background-image: linear-gradient(to bottom, white 0%, rgba(255, 255, 255, 0.3) 30%, rgba(255,255,255,0) 60%), url('/asesst/image/_cun4015-20220604035248.jpg');
    background-size: cover;
    background-position: center;
    padding: 60px 20px;
    text-align: center;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto 40px;
    animation: slideDown 1s ease forwards;
    opacity: 0;
}

.hero-content h3 {
    font-size: 2.8rem;
    font-weight: 200;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.hero-content h1 {
    font-family: 'GrindDemolished', sans-serif;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 4.5rem;
    line-height: 1;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-tour {
    text-decoration: none;
    display: inline-block;
    background-color: var(--accent-text-color);
    color: #fff;
    padding: 4px 30px;
    border-radius: 50px;
    font-weight: 400;
    font-size: 1.8rem;
    cursor: pointer;
    animation: pulse 1.5s infinite;
    transition: background-color 0.3s, transform 0.3s;
    text-transform: uppercase;
}

.btn-tour:hover {
    background-color: #ff7700;
}

.hero-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.hero-img {
    width: 220px;
    height: 280px;
    background-size: cover;
    background-position: center;
    border-radius: 16px;
    transition: transform 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border: 2px solid #fff;
}

.hero-img:hover {
    transform: scale(1.05);
}

/* Animation */
@keyframes slideDown {
    0% { opacity: 0; transform: translateY(-30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
    0% { opacity: 0; transform: translateY(-30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Tour Highlight */
.section-tour-highlight {
    background: linear-gradient(to bottom, white, #e6f1fc);
    text-align: center;
    padding: 60px 20px 10px;
}

.section-tour-highlight .tour-title {
    color:var(--text-color);
    font-size: 3.4rem;
    font-weight: 550;
    margin-bottom: 10px;
}

.tour-subtitle {
    color: var(--accent-text-color);
    font-size: 3.4rem;
    font-weight: 550;
}

.section-tour-highlight .tour-desc {
    color: var(--text-color);
    font-size: 1.6rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.section-tour-highlight .tour-departure {
    color: #003344;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
}

.section-tour-highlight .line {
    width: 200px;
    height: 3px;
    background-color: var(--accent-text-color);
    margin: 0 auto 10px;
    border: none;
}

.section-tour-highlight .tour-gift {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fffce9;
    border: 1px dashed #ffa500;
    border-radius: 10px;
    padding: 10px 20px;
    max-width: 570px;
    margin: 0 auto;
    gap: 20px;
}

.section-tour-highlight .tour-gift img {
    width: 120px;
    height: auto;
}

.section-tour-highlight .tour-gift p {
    font-size: 16px;
    color: #004466;
    text-align: left;
}

/* Tour Product Grid */
.tour-product-grid {
    display: flex;
    gap: 20px;
    padding: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 100px;
}

.product-card {
    width: 300px;
    height: 390px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    overflow: hidden;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.product-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.product-info h3 {
    font-size: 1.8rem;
    font-weight: 550;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.product-info .details {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.product-info .details p {
    margin: 2px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-info .price-label {
    font-size: 13px;
    color: #777;
    margin: 0;
}

.product-info .price {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 580;
    margin: 2px 0 12px;
}

.product-info button {
    background-color: #FFA500;
    color: white;
    border: none;
    height: 40px;
    padding: 0 14px;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.product-info button:hover {
    background-color: #ff8c00;
}

.product-method {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Highlight Tour Section */
.highlight-tour-section {
    background-image: url(/asesst/image/bbbg_2-20230802094532-umyq5.jpg);
    padding-top: 360px;
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    overflow: hidden;
}

.highlight-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.bg-left,
.bg-right {
    position: absolute;
    top: -240px;
    width: 100%;
    height: 100%;
    background-image: url('/asesst/image/nenmay1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.85;
}

.bg-left {
    left: -20%;
    transform: scale(1.8);
}

.bg-right {
    right: -20%;
    transform: scale(1.8) rotateY(180deg);
}

.highlight-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    top: -310px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.6s ease;
}

.highlight-container.visible {
    animation: fadeDown 0.8s forwards ease-in-out;
}

.highlight-title-bg h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.highlight-title-bg h1 {
    font-size: 4.8rem;
    line-height: 1.2;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: 'GrindDemolished', sans-serif;
    text-transform: uppercase;
}

.highlight-description-bg {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.highlight-description-bg::before {
    content: "";
    position: absolute;
    top: -60px;
    left: -16%;
    right: 0;
    bottom: 0;
    background-image: url('/asesst/image/nenmay.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    z-index: -1;
    height: 200px;
    max-width: 1000px;
}

.highlight-description-bg p {
    font-size: 1.4rem;
    line-height: 1.4;
    padding-top: 20px;
    color: var(--text-color);
}

.tour-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    border-radius: 20px;
    margin-top: 6px;
}

.tour-button:hover {
    background-color: white;
    color: #000;
}

/* Chùm Resort Quanh Hà Nội */
.custom-tour-card {
    width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    background: #fff;
    cursor: pointer;
}

.custom-tour-card:hover {
    transform: scale(1.03);
}

.custom-tour-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.custom-tour-duration {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 80, 108, 0.8);
    color: white;
    padding: 4px 10px;
    font-weight: bold;
    font-size: 14px;
}

.custom-tour-info {
    padding: 16px;
}

.custom-tour-info h3 {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 10px;
}

.custom-tour-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.custom-tour-stars i {
    color: gold;
    margin-left: 2px;
}

.custom-tour-method {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-tour-price-label {
    font-size: 1.4rem;
    color: #555;
    margin: 0;
}

.custom-tour-price {
    font-weight: bold;
    color: var(--text-color);
    margin: 0;
    font-size: 1.8rem;
}

.custom-tour-button {
    background-color: var(--accent-text-color);
    color: white;
    border: none;
    padding: 8px 16px;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.custom-tour-button:hover {
    background-color: #e64a19;
}

/* hướng dẫn viên  *//* CSS cho phần thông tin hướng dẫn viên */
.guide-gallery {
    padding: 40px 0;
    text-align: center;
}

.guide-grid {
    display: grid;
    /* Điều chỉnh grid-template-columns để giảm chiều ngang card và có thêm khoảng trống */
    grid-template-columns: repeat(4, minmax(220px, 1fr)); /* Mỗi cột rộng tối thiểu 220px, tự động giãn */
    gap: 25px; /* Tăng khoảng cách giữa các card */
    max-width: 1280px; /* Tăng chiều rộng tối đa của lưới để chứa 4 card nhỏ hơn */
    margin: 0 auto; /* Căn giữa */
    padding: 0 15px; /* Thêm padding ngang để tránh dính lề trên mobile */
}

.guide-card {
    background-color: #fff;
    border-radius: 10px; /* Bo tròn góc hơn */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Đổ bóng rõ hơn */
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Đảm bảo các card có chiều cao bằng nhau */
}

.guide-card:hover {
    transform: translateY(-7px); /* Nhấc lên nhiều hơn */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 75%; /* Tỷ lệ khung hình 4:3 cho ảnh */
    overflow: hidden;
    background-color: #f0f0f0; /* Màu nền khi ảnh chưa load */
}

.guide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.tour-type {
    position: absolute;
    bottom: 0px;
    left: 0px;
    background-color: rgba(0, 0, 0, 0.7); /* Nền mờ hơn một chút */
    color: var(--accent-text-color);
    padding: 5px 10px; /* Tăng padding */
  
    font-size: 0.85em; /* Kích thước chữ */
    font-weight: bold;
    z-index: 2;
    text-transform: uppercase; /* Chữ hoa */
}

/* Thông tin hướng dẫn viên */
.guide-name {
    font-weight: bold;
    margin: 15px 15px 5px 15px;
    font-size: 1.25em; /* Tăng kích thước tên */
    color: #333;
    line-height: 1.3;
}

.guide-dob,
.guide-specialty,
.guide-stats,
.guide-feature {
    font-size: 0.9em; /* Kích thước chữ */
    color: #555;
    margin: 3px 15px; /* Giảm margin dọc */
    line-height: 1.4;
}

.guide-stats {
    font-weight: bold; /* In đậm số liệu thống kê */
    color:var(--accent-text-color); /* Màu sắc nổi bật cho số liệu */
    margin-top: 10px; /* Tăng khoảng cách với các thông tin trên */
}

.card-footer {
    margin-top: auto; /* Đẩy nút xuống cuối card */
    padding: 15px;
    text-align: center;
    border-top: 1px solid #eee; /* Đường kẻ phân cách */
    background-color: #f9f9f9; /* Màu nền nhẹ cho footer */
}

.btn-detail {
    display: inline-block;
    padding: 10px 20px; /* Tăng padding nút */
    background-color:var(--primary-color); /* Màu xanh lá cây */
    color: #fff;
    text-decoration: none;
    border-radius: 8px; /* Bo tròn góc nút */
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-detail:hover {
    background-color:var(--text-color);
    transform: translateY(-2px); /* Hiệu ứng nhấc nhẹ */
}

.view-more-container {
    text-align: center;
    margin-top: 50px; /* Khoảng cách lớn hơn */
}

.view-more-btn {
    text-transform: uppercase;
    display: inline-block;
    padding: 14px 30px; /* Tăng kích thước nút */
    background-color: var(--accent-text-color); /* Màu xanh dương */
    color: #fff;
    text-decoration: none;
    border-radius: 8px; /* Bo tròn góc */
    font-weight: 500;
    font-size: 1.1em; /* Kích thước chữ lớn hơn */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.view-more-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive cho màn hình nhỏ hơn */
@media (max-width: 1200px) {
    .guide-grid {
        grid-template-columns: repeat(3, minmax(200px, 1fr)); /* 3 cột trên laptop nhỏ hơn */
    }
}

@media (max-width: 992px) {
    .guide-grid {
        grid-template-columns: repeat(2, minmax(250px, 1fr)); /* 2 cột trên tablet */
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .guide-grid {
        grid-template-columns: 1fr; /* 1 cột trên điện thoại */
        gap: 15px;
    }
    .guide-card {
        margin: 0 10px; /* Giảm margin ngang trên điện thoại */
    }
}

/* form cộng tác viên  */
/* ============================================== */
/* CSS cho phần "TRỞ THÀNH CỘNG TÁC VIÊN CỦA TRAVELMATE" */
/* ============================================== */
#join-us-section {
    padding: 60px 0;
    text-align: center;
    background-color: #f8f8f8;
}

#join-us-section .tour-title {
    color: #007bff;
    margin-bottom: 10px;
    font-size: 2.5em;
    font-weight: 700;
}

#join-us-section .line {
    border: none;
    border-top: 3px solid #007bff;
    width: 80px;
    margin: 10px auto 25px auto;
}

#join-us-section .tour-desc {
    max-width: 750px;
    margin: 0 auto 40px auto;
    font-size: 1.15em;
    color: #555;
    line-height: 1.6;
}

/* ============================================== */
/* CSS cho phần "Đăng ký ứng tuyển & Tour sắp tới" */
/* ============================================== */
.collaborator-application-section {
    padding: 40px 0;
    background-color: #eef4f7;
}

.application-flex-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    flex-wrap: wrap;
    align-items: flex-start; /* Giữ nguyên flex-start */
}

/* --------------- Form ứng tuyển cộng tác viên --------------- */
.application-form-wrapper {
    flex: 1;
    min-width: 450px;
    padding: 30px;
    background-color: #e0f2f7;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border: 2px solid var(--primary-color);
    /* KHÔNG CÓ max-height và overflow-y: auto ở đây */
    display: flex;
    flex-direction: column;
}

.application-form-wrapper h3 {
    text-transform: uppercase;
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 2.4rem;
    text-align: center;
    font-weight: 600;
    position: sticky;
    top: 0;
    background-color: #e0f2f7;
    padding: 20px 0;
    margin-top: -30px; /* Vẫn giữ để bù padding */
    margin-bottom: 10px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.application-form-wrapper p {
    text-align: center;
    margin-bottom: 25px;
    color: #444;
    font-size: 1.05em;
    line-height: 1.5;
}

.collaborator-form {
    display: flex;
    flex-direction: column;
    height: 100%; /* Giúp form bên trong giãn ra để đẩy button xuống dưới */
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group.half-width {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
    font-size: 0.95em;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #c2e0f0;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fcfdff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0056b3;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

.form-group small {
    font-size: 0.85em;
    color: #777;
    margin-top: 5px;
    display: block;
}

.collaborator-form .submit-btn {
    text-transform: uppercase;
    margin-top: auto;
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #005c9b; /* Màu nền nút của bạn */
    color: #fff; /* Chữ trắng để tương phản */
    border: none;
    border-radius: 6px;
    font-size: 1.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    /* Đổ bóng nút: sử dụng màu xanh của nút với độ trong suốt */
    box-shadow: 0 4px 12px rgba(0, 92, 155, 0.4);
}

.collaborator-form .submit-btn:hover {
    /* Màu nền khi hover: xanh đậm hơn một chút so với màu gốc */
    background-color: #004d80;
    transform: translateY(-3px);
    /* Đổ bóng khi hover: tương tự, xanh đậm hơn và rõ hơn */
    box-shadow: 0 6px 15px rgba(0, 92, 155, 0.5);
}

/* --------------- Danh sách tour sắp tới --------------- */
.upcoming-tours-wrapper {
    flex: 1.2;
    min-width: 500px;
    padding: 30px;
   
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border: 2px solid var(--accent-text-color);
    display: flex;
    flex-direction: column;
    /* BỎ max-height ở đây, chiều cao sẽ được đặt bằng JS */
    /* overflow: hidden; -- giữ nguyên nếu .upcoming-tours-scrollable có overflow-y: auto */
}

.upcoming-tours-wrapper h3 {
    color: var(--accent-text-color);
    margin-bottom: 20px;
    font-size: 2.4rem;
    text-transform: uppercase;
    text-align: center;
    font-weight: 600;
    position: sticky;
    top: 0;
    padding: 20px 0;
    margin-top: -30px; /* Vẫn giữ để bù padding */
    margin-bottom: 10px;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.upcoming-tours-scrollable {
    flex: 1; /* Cho phép phần scrollable giãn ra để lấp đầy không gian còn lại */
    overflow-y: auto; /* Tạo thanh cuộn dọc khi nội dung tràn */
    padding-right: 15px; /* Để tránh nội dung bị che bởi thanh cuộn */
}

/* Tùy chỉnh thanh cuộn (cho WebKit browsers) */
.upcoming-tours-scrollable::-webkit-scrollbar {
    width: 8px;
}
.upcoming-tours-scrollable::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.upcoming-tours-scrollable::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 10px;
}
.upcoming-tours-scrollable::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.tour-item {
    background-color: #ffffff;
    border: 1px solid #ffeccc;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tour-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tour-type-label {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
}

.vietnam-tour {
    background-color: #dc3545;
}

.international-tour {
    background-color: #007bff;
}

.tour-name {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 10px;
    padding-right: 70px;
    line-height: 1.4;
    font-weight: 600;
}

.tour-details {
    font-size: 0.95em;
    color: #666;
    margin-bottom: 5px;
}

.tour-details strong {
    color: #333;
}

/* ============================================== */
/* Responsive cho màn hình nhỏ hơn */
/* ============================================== */
@media (max-width: 1024px) {
    .application-flex-container {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }
    .application-form-wrapper,
    .upcoming-tours-wrapper {
        min-width: unset;
        width: 100%;
        /* Bỏ max-height ở đây để JavaScript tự điều chỉnh */
        padding: 25px;
        /* Thêm thuộc tính này để JS có thể đặt chiều cao */
        height: auto !important; /* Đảm bảo CSS không ghi đè */
    }
    .upcoming-tours-scrollable {
        padding-right: 10px;
    }
    .form-row {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    #join-us-section .tour-title,
    .application-form-wrapper h3,
    .upcoming-tours-wrapper h3 {
        font-size: 1.8em;
    }
    #join-us-section .tour-desc {
        font-size: 1em;
    }
}


@media (max-width: 576px) {
    .application-form-wrapper,
    .upcoming-tours-wrapper {
        padding: 20px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .form-group.half-width {
        width: 100%;
    }
    .tour-type-label {
        font-size: 0.75em;
        padding: 4px 8px;
    }
    .tour-name {
        font-size: 1.1em;
    }
    .tour-details {
        font-size: 0.9em;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
    }
    .collaborator-form .submit-btn {
        padding: 12px;
        font-size: 1em;
    }
}


/* Image Gallery */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.image-item {
    width: 300px;
    text-align: center;
    flex: 0 0 auto;
}

.image-card {
    width: 300px;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    transition: transform 0.4s ease;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.image-card:hover {
    transform: scale(1.05);
}

.caption {
    margin-top: 20px;
    font-size: 16px;
    color: var(--text-color);
    width: 300px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
}

/* Gallery Section */
.gallery-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.gallery-item {
    height: 210px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 6px 10px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.item1 { grid-column: span 2; }
.item2 { grid-column: span 2; }
.item3 { grid-column: span 2; }
.item4 { grid-column: 1 / span 3; }
.item5 { grid-column: 4 / span 3; }

/* Travel Slogan */
.travel-slogan {
    text-align: center;
    margin: 40px 0;
}

.travel-slogan p {
    font-family: 'Dancing Script', cursive;
    font-size: 32px;
    color: #0e5f68;
    font-weight: 500;
}

/* Form Section */
.form-section {
    background-image: url('/asesst/image/mcc_2-20230802073743-6iwt3.jpg');
    background-size: cover;
    background-position: center;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.form-container {
    background: rgba(0, 86, 112, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 40px 30px;
    color: #fff;
    width: 500px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.form-container h2 {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: bold;
}

.form-container p {
    font-size: 14px;
    margin-bottom: 20px;
}

.advice-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.form-row input,
.form-row select {
    flex: 1;
    padding: 10px;
    border-radius: 10px;
    border: none;
    font-size: 14px;
}

textarea {
    padding: 10px;
    border-radius: 10px;
    border: none;
    font-size: 14px;
    resize: none;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    gap: 10px;
    flex-wrap: wrap;
}

.form-footer img {
    width: 80px;
    height: auto;
}

.logo {
    height: 50px;
}

.footer-text {
    flex: 1;
    text-align: left;
    font-size: 14px;
    color: #fff;
}

button[type="submit"] {
    padding: 10px 40px;
    background-color: #f7941d;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #e67e00;
}

/* Bank Section */
.bank-container {
    background-size: 1000px;
    background-repeat: no-repeat;
    background-position: center;
    padding: 100px 80px;
    position: relative;
    margin-left: 50px;
}

.bank-content {
    max-width: 500px;
    background: rgba(255, 255, 255, 0.85);
    padding: 30px;
    border-radius: 10px;
    transform: translateX(-100px);
    opacity: 0;
    transition: all 1s ease;
}

.bank-content-title {
    font-size: 3rem;
    font-weight: 600;
    line-height: 4rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.bank-content-title span {
    color: var(--accent-text-color);
}

.bank-content.show {
    transform: translateX(0);
    opacity: 1;
}

/* Footer */
.footer {
    border-top: 2px solid var(--primary-color);
    font-family: Arial, sans-serif;
}

.footer-container {
    color: var(--text-color);
    display: flex;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.footer-left,
.footer-right {
    flex: 1;
    padding: 20px;
}

.footer-left h3,
.footer-right h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-left p,
.footer-right p {
    font-size: 14px;
    margin: 5px 0;
}

.footer-logo {
    max-width: 140px;
}

.footer-right {
    margin-top: 100px;
}

.footer-right p i {
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    font-size: 1.2rem;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive cho toàn bộ màn hình */

/* Màn hình dưới 1024px (Tablet lớn) */
@media (max-width: 1024px) {
    /* Header */
    header {
        padding: 0 20px;
    }
    .header__logo img {
        max-height: 80px;
        padding-left: 40px;
    }
    .header__menu {
        padding-right: 40px;
    }
    .header__menu-item {
        margin: 0 15px;
    }
    .header__menu-item a {
        font-size: 1.4rem;
    }
    .header__phone {
        padding: 6px 14px;
        font-size: 1.4rem;
    }

    /* Banner */
    .banner {
        height: 80vh;
    }
    .banner-item h1 {
        font-size: 3rem;
    }
    .banner-item h2 {
        font-size: 2.5rem;
    }
    .banner-item h3 {
        font-size: 1.8rem;
    }
    .banner-item-bg {
        width: 250px;
        font-size: 1.6rem;
    }
    .banner-item-btn {
        padding: 6px 40px;
        font-size: 1.6rem;
    }

    /* Why Choose */
    .reasons {
        margin: 0 20px;
    }
    .reason {
        padding: 0 40px;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 3.8rem;
    }
    .hero-img {
        width: 180px;
        height: 230px;
    }

    /* Tour Highlight */
    .section-tour-highlight .tour-title,
    .tour-subtitle {
        font-size: 2.8rem;
    }
    .section-tour-highlight .tour-desc {
        font-size: 1.4rem;
    }
    .section-tour-highlight .tour-gift img {
        width: 100px;
    }

    /* Highlight Tour Section */
    .highlight-title-bg h1 {
        font-size: 4rem;
    }
    .highlight-title-bg h2 {
        font-size: 2.5rem;
    }
    .highlight-description-bg {
        max-width: 700px;
    }
    .highlight-description-bg::before {
        left: 0;
        width: 100%;
    }

    /* Footer */
    .footer-right {
        margin-top: 50px;
    }
}

/* Màn hình dưới 768px (Tablet nhỏ và điện thoại lớn) */
@media (max-width: 768px) {
    /* Header */
    header {
        position: static; /* Tắt position: sticky trên điện thoại */
        flex-direction: column;
        height: auto;
        padding: 10px 20px;
    }
    .header__logo img {
        max-height: 60px;
        padding-left: 0;
    }
    .header__menu {
        margin-top: 10px;
        flex-direction: column;
        padding-right: 0;
    }
    .header__menu-item {
        margin: 10px 0;
    }
    .header__menu-item a {
        font-size: 1.6rem;
    }
    .header__phone {
        margin: 10px 0;
    }

    /* Banner */
    .banner {
        height: 70vh;
    }
    .banner-item {
        transform: translateY(-50px);
    }
    .banner-item h1 {
        font-size: 2.5rem;
    }
    .banner-item h2 {
        font-size: 2rem;
    }
    .banner-item h3 {
        font-size: 1.6rem;
    }
    .banner-item-bg {
        width: 220px;
        font-size: 1.4rem;
    }
    .banner-item-btn {
        padding: 6px 30px;
        font-size: 1.4rem;
    }

    /* Why Choose */
    .why-choose {
        padding: 40px 10px;
    }
    .choose-heading {
        font-size: 2.5rem;
    }
    .reasons {
        flex-direction: column;
        align-items: center;
        margin: 0;
    }
    .reason {
        padding: 0 20px;
        margin-bottom: 20px;
        width: 100%;
    }
    .reason img {
        width: 80px;
        height: 80px;
    }

    /* Hero Section */
    .hero-section {
        padding: 40px 10px;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content h3 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 1.4rem;
    }
    .hero-img {
        width: 45%;
        height: 240px;
    }

    /* Tour Highlight */
    .section-tour-highlight {
        padding: 40px 10px 0;
    }
    .section-tour-highlight .tour-title,
    .tour-subtitle {
        font-size: 2.2rem;
    }
    .section-tour-highlight .tour-desc {
        font-size: 1.2rem;
    }
    .section-tour-highlight .tour-gift {
        flex-direction: column;
        gap: 10px;
    }
    .section-tour-highlight .tour-gift p {
        font-size: 14px;
        text-align: center;
    }

    /* Highlight Tour Section */
    .highlight-tour-section {
        padding-top: 200px;
        height: 80vh;
    }
    .highlight-container {
        top: -150px;
    }
    .highlight-title-bg h1 {
        font-size: 3rem;
    }
    .highlight-title-bg h2 {
        font-size: 2rem;
    }
    .highlight-description-bg {
        max-width: 500px;
    }
    .highlight-description-bg p {
        font-size: 1.2rem;
    }
    .tour-button {
        padding: 10px 20px;
        font-size: 1.4rem;
    }
    .bg-left, .bg-right {
        transform: scale(1.5);
    }

    /* Image Gallery */
    .image-gallery {
        gap: 10px;
    }
    .image-card {
        width: 100%;
        height: 300px;
    }
    .caption {
        width: 100%;
        font-size: 14px;
    }

    /* Gallery Section */
    .gallery-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .gallery-item {
        grid-column: auto !important;
        height: 210px;
    }

    /* Form Section */
    .form-container {
        width: 100%;
        padding: 30px 20px;
    }
    .form-row {
        flex-direction: column;
    }
    .form-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .logo {
        height: 40px;
    }
    button[type="submit"] {
        align-self: center;
    }

    /* Bank Section */
    .bank-container {
        padding: 60px 20px;
        margin-left: 0;
    }
    .bank-content {
        max-width: 100%;
        padding: 20px;
    }
    .bank-content-title {
        font-size: 2.5rem;
        line-height: 3rem;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    .footer-left, .footer-right {
        text-align: center;
    }
    .footer-right {
        margin-top: 20px;
    }
}

/* Màn hình dưới 480px (Điện thoại nhỏ) */
@media (max-width: 480px) {
    /* Header */
    header {
        position: static;
        padding: 10px 15px;
    }
    .header__logo img {
        max-height: 50px;
    }
    .header__menu-item a {
        font-size: 1.4rem;
    }
    .header__phone {
        font-size: 1.2rem;
        padding: 5px 12px;
    }

    /* Banner */
    .banner {
        height: 60vh;
    }
    .banner-item {
        transform: translateY(-30px);
    }
    .banner-item h1 {
        font-size: 2rem;
    }
    .banner-item h2 {
        font-size: 1.8rem;
    }
    .banner-item h3 {
        font-size: 1.4rem;
    }
    .banner-item-bg {
        width: 200px;
        font-size: 1.2rem;
    }
    .banner-item-btn {
        padding: 4px 20px;
        font-size: 1.2rem;
    }

    /* Why Choose */
    .choose-heading {
        font-size: 2rem;
    }
    .why-choose p {
        font-size: 14px;
    }
    .reason {
        padding: 0 15px;
    }
    .reason img {
        width: 60px;
        height: 60px;
    }
    .reason h3 {
        font-size: 16px;
    }
    .reason p {
        font-size: 12px;
    }

    /* Hero Section */
    .hero-content h1 {
        font-size: 2.4rem;
    }
    .hero-content h3 {
        font-size: 1.8rem;
    }
    .hero-content p {
        font-size: 1.2rem;
    }
    .hero-img {
        width: 100%;
        height: 220px;
    }
    .btn-tour {
        padding: 4px 20px;
        font-size: 1.4rem;
    }

    /* Tour Highlight */
    .section-tour-highlight .tour-title,
    .tour-subtitle {
        font-size: 1.8rem;
    }
    .section-tour-highlight .tour-desc {
        font-size: 1rem;
    }
    .section-tour-highlight .tour-departure {
        font-size: 16px;
    }
    .section-tour-highlight .tour-gift img {
        width: 80px;
    }
    .section-tour-highlight .tour-gift p {
        font-size: 12px;
    }

    /* Highlight Tour Section */
    .highlight-tour-section {
        padding-top: 150px;
        height: 70vh;
    }
    .highlight-container {
        top: -100px;
    }
    .highlight-title-bg h1 {
        font-size: 2.4rem;
    }
    .highlight-title-bg h2 {
        font-size: 1.8rem;
    }
    .highlight-description-bg p {
        font-size: 1rem;
    }
    .tour-button {
        padding: 8px 16px;
        font-size: 1.2rem;
    }

    /* Travel Slogan */
    .travel-slogan p {
        font-size: 24px;
    }

    /* Form Section */
    .form-container h2 {
        font-size: 20px;
    }
    .form-container p {
        font-size: 12px;
    }
    .form-row input,
    .form-row select,
    textarea {
        font-size: 12px;
    }
    button[type="submit"] {
        padding: 8px 30px;
        font-size: 12px;
    }

    /* Bank Section */
    .bank-content-title {
        font-size: 2rem;
        line-height: 2.5rem;
    }
    .bank-container
    
    .bank-content p {
        font-size: 12px;
    }

    /* Footer */
    .footer-left h3,
    .footer-right h3 {
        font-size: 1.6rem;
    }
    .footer-left p,
    .footer-right p {
        font-size: 12px;
    }
    .footer-logo {
        max-width: 120px;
    }
}