:root {
    --blue: #16465a;
    --blue1: #002647;
    --blue2:#2a80a3;
    --green: #1a4c62de;
    --gray: #e7e7e7;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a:hover {
    text-decoration: none;
}

body {
    background-color: white;
    padding: 2px;
    color: var(--blue);
}

.row {
    width: 100%;
    margin-left: 0 !important;
    overflow: hidden;
}

.btn-outline-info {
    font-size: medium !important;
    background-color: #f2f1f1 !important;
}

#btncollapzion {
    width: auto;
    min-height: 13%;
    position: fixed;
    right: 20px;
    bottom: 25px;
    text-align: center;
    padding: 0px 10px;
    display: block;
    margin-bottom: 0px;
    z-index: 105;
}

.sticky-footer {
    position: sticky;
    bottom: -2px;
    justify-content: space-evenly;
    z-index: 19999;
    display: none;
}

.go-up {
    border: white solid 1px;
    border-radius: 50%;
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.3);
    padding: 2px;
    width: 35px;
    height: 35px;
}

.sticky-footer-btn {
    margin-left: 0;
}


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

.navbar-brand {
    color: var(--blue);
}

.nav-link {
    color: var(--blue);
    border-radius: 10px;
    /* border: var(--blue) solid 1px; */
    min-width: 120px;
    display: flex;
    justify-content: center;
    margin-right: 5px;
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.1);
}

.nav-link:hover {
    color: white;
    background-color: var(--blue);
    border-color: var(--blue);
    transition: 0.4s;
}

.nav-link.active {
    background-color: var(--blue);
    border: var(--blue) solid 1px;
    color: white !important;
}


.topnav {
    background-color: var(--blue);
    display: flex;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.289);
}

.card {
    box-shadow: 0 2px 5px 1px rgba(0, 0, 0, 0.1);
    background-color: #f0f0f0;
    height: 100%;
    position: relative;
}

.top-page {
    background-color: var(--blue);
    color: white;
}

.top-navbar-nav {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 0 !important;
    margin-top: 0;
}

.navbar {
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.289);
    margin-bottom: 20px;
}

.top-nav-link {
    display: flex;
    width: 100%;
    align-items: center;
    background-color: var(--green);
    margin-top: 0 !important;
    color: white;
    text-decoration: none;
    padding: 5px;
    border-radius: 10px;
    transition: 0.3s;
}

.top-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--blue);
}

li {
    list-style: none;
}

nav {
    color: var(--blue);
    padding: 5px;
}

.navbar-toggler {
    position: absolute;
    top: 15px;
    right: 5px;
}

.package-info {
    color: var(--blue);
}

.img-logo {
    width: 50px;
    height: 50px;
    border: black solid 1px;
    border-radius: 50%;
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.1);
}

.lang {
    font-size: x-small;
    display: inline-block;
    border: var(--blue) solid 1px;
}

.lang:hover {
    border-color: white;
}

.lang.active {
    background-color: rgba(255, 255, 255, 0.5);
    color: var(--blue);
    border: white solid 1px;
}

.hero-slide {
    margin: 0;
    padding: 0;
    position: relative;
}

.hero-slide-img {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 900px;
}

.dashboard-left {
    z-index: 998;
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 45%;
    top: 20%;
    left: 0;
    padding: 0;
    border-radius: 0 30px 30px 0;
    background-color: rgba(255, 255, 255, 0.371);
    border: white 1px;
    color: white;
}

.col-12 h2 {
    font-size: 50px !important;
}

.col-12 p {
    font-size: larger !important;
}

.dashboard-right {
    z-index: 999;
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 46%;
    top: 3%;
    right: 2%;
    padding: 0;
    border-radius: 30px;
    /* background-color: rgba(0, 0, 0, 0.371); */
    border: white 1px;
    color: white;
    /* box-shadow: 0 4px 8px 0 rgba(255, 255, 255, 0.2), 0 6px 20px 0 rgba(255, 255, 255, 0.19); */
}

.swiper-slide {
    border-radius: 30px;
    border: white solid 2px;
    overflow: hidden;
}

.card-title-product,
.card-text-product {
    display: flex;
    justify-content: center;
    color: var(--blue);
}

.btn-primary {
    background-color: var(--blue);
    border-color: white;
    border-radius: 30px;
}

.search-input {
    width: 80% !important;
    margin-left: 10% !important;
    font-size: large;
    border: none;
    border-radius: 30px;
}

.thai-pack {
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-top: 20px;
    background-color: #1a4d62;
    color: white;
}

.day-trip {
    box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-top: 20px;
    background-color: #1a4d62;
    color: white;
}

.book-now {
    margin-top: 20px;
    color: var(--blue);
    overflow: hidden;
}

.book-now-img {
    min-width: 100%;
    right: 0;
    margin-top: -10px;
}

.booknow-box {
    position: relative;
    width: 100%;
}

.booking-form {
    width: 90%;
    left: 5%;
    top: 5px;
    display: flex;
    align-items: center;
    position: absolute;
    border: white solid 3px;
    border-radius: 20px;
    background-color: #2e8bb235;
    padding: 10px;
    height: 500px;
    color: white;
    box-shadow: 0 0 10px 8px rgba(0, 0, 0, 0.1);

}

.gallery-box {
    background-color: black;
    color: white;
    padding: 20px;
}

.contact-box {
    background-color: var(--blue);
    color: white;
}

.flag-img {
    border-radius: 50%;
    width: 20px;
    vertical-align: middle;
}

.card-img-icon {
    width: 30%;
    height: auto;
    margin-left: 35%;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 3px 3px rgba(0, 0, 0, 0.15);
    border-radius: 50%;
}

.control-label {
    margin-left: 0 !important;
}

.gallery-box img {
    border-radius: 5px;
    box-shadow: 0 0 3px 3px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease;
    /* การตั้งค่าความลื่นไหล */
}

.gallery-box img:hover {
    transform: scale(1.2);
    /* ขยาย 1.5 เท่าเมื่อ hover */
}

.share-options {
    margin-top: 10px;
}

.share-options a {
    display: block;
    margin-bottom: 5px;
    color: white;
    text-align: center;
    width: 100px;
    padding: 5px;
    border-radius: 5px;
}

.share-options a i {
    margin-right: 5px;
}

/* ปรับแต่งปุ่ม */
.omise-checkout-button {
    background-color: #38a23b;
    /* สีพื้นหลัง */
    color: #ffffff;
    /* สีตัวอักษร */
    border: none;
    border-radius: 8px;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* เปลี่ยนสีเมื่อเลื่อนเมาส์ไปบนปุ่ม */
.omise-checkout-button:hover {
    background-color: #2a932f;
}

/* ปรับขนาดและระยะห่างให้เหมาะสม */
.omise-checkout-button-container {
    text-align: center;
    margin-top: 20px;
}

@media screen and (max-width: 1024px) {
    .dashboard-right {
        top: 2%;
    }

    .hero-slide-img {
        min-height: 700px;
    }
}

@media screen and (max-width: 768px) {
    .img-logo {
        display: block;
        width: 100px;
        height: 100px;
        margin-top: 15px;
    }

    .navbar-brand {
        font-size: xx-large;
        display: inline;
    }

    .navbar-toggler {
        margin-top: -5px;
    }

    .navbar-expand-lg {
        margin-top: 0 !important;
    }

    .nav-link {
        width: 100%;
    }

    .top-nav-item {
        display: flex;
        justify-content: center;
    }

    .top-nav-link {
        display: flex;
        width: 90%;
        justify-content: center;
        font-size: small !important;
    }

    .top-navbar-nav {
        padding: 0 !important;
    }

    .nav-item {
        margin-left: 10px !important;
    }

    .lang {
        display: flex;
        font-size: 8px !important;
        align-items: center;
        border: rgba(255, 255, 255, 0.394) solid 1px;
        min-width: 50px;
    }

    .lang>img {
        margin-right: 1px !important;
    }

    .dashboard-left {
        background-color: rgba(0, 0, 0, 0.371);
        border-radius: 30px;
        width: 90%;
        top: 10px;
        left: 5%;
    }

    .dashboard-left p {
        font-size: small !important;
    }

    .dashboard-right {
        top: 16%;
        width: 86%;
        right: 7%;
    }

    .col-12 h2 {
        font-size: large !important;
    }

    .col-12 p {
        font-size: small !important;
    }

    .hero-slide-img {
        min-height: 900px;
        object-fit: cover;
    }

    .nav-logo-sec {
        display: flex;
        justify-content: center;
    }

    .card-title-product {
        font-size: small;
    }

    .card-text-product {
        font-size: x-small;
    }

    .product-btn {
        width: 100%;
        justify-content: center;
        font-size: x-small !important;
    }
}

@media screen and (max-width: 640px) {
    .topnav{
        position: relative;
    }
    .top-nav-link {
        display: flex;
        font-size: x-small !important;
    }

    .sticky-footer {
        display: flex;
    }

    .dashboard-left {
        top: 10px;
        width: 96%;
        left: 2%;
    }

    .dashboard-left h2 {
        font-size: medium !important;
    }

    .dashboard-left p {
        font-size: x-small !important;
    }

    .dashboard-right {
        top: 20%;
        width: 100%;
        right: 0;
    }

    #swiper-wrapper-7828b5b64c661a6f>div>div>div>p {
        font-size: x-small;
    }

    .hero-slide-img {
        min-height: 800px;
        object-fit: cover;
    }

    .control-label {
        display: none;
    }

    .gallery-box img:hover {
        transform: scale(1.7);
        /* ขยาย 1.5 เท่าเมื่อ hover */
    }
}