/* RESET CSS */
/* Prevent font size inflation */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

/* Improve text rendering */
body {
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

body {
    font-family: "Noto Sans Thai", var(--bs-font-sans-serif);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

img,
picture,
video,
canvas {
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    line-height: 1.4;
    overflow-wrap: break-word;
}

p {
    overflow-wrap: break-word;
}

b,
strong {
    font-weight: 700;
}

.container,
.container-fluid {
    --bs-gutter-x: 2rem;
}

.container {
    max-width: 100%;
}

@media(min-width: 1280px) {
    .container {
        max-width: 1280px;
    }
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn:hover {
    text-decoration: none;
}

.btn-rounded {
    border-radius: 100px;
}

.fw-100 {
    font-weight: 100 !important;
}

.fw-200 {
    font-weight: 200 !important;
}

.fw-300 {
    font-weight: 300 !important;
}

.fw-400 {
    font-weight: 400 !important;
}

.fw-500 {
    font-weight: 500 !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

.fw-800 {
    font-weight: 800 !important;
}

.fw-900 {
    font-weight: 900 !important;
}

.fs-20 {
    font-size: 20px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-10 {
    font-size: 10px !important;
}

.fs-8 {
    font-size: 8px !important;
}

svg {
    width: auto;
    height: 1em;
    fill: currentColor;
}


/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    min-height: 70px;
    padding: 0 1rem;
    background: var(--bs-body-bg);
    display: grid;
    align-items: center;
    transition: 0.3s;
}

.site-header.active {
    box-shadow: var(--bs-box-shadow-sm);
}

.site-header-space {
    min-height: 70px;
}

.w-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    margin: 0 auto;
    width: 100%;
    max-width: calc(1280px - 2rem);
}

.w-header a {
    color: var(--bs-body-color);
}

.w-branding {
    display: flex;
    align-items: center;
    gap: 8px;
}

.w-branding:hover {
    text-decoration: none;
}

.site-logo {
    width: auto;
    height: 24px;
}

.w-toggle {
    height: 32px;
    width: 32px;
    font-size: 10px;
    cursor: pointer;
    position: relative;
    border: none;
    background-color: transparent;
    padding: 4px;
    z-index: 1000;
    margin-right: -4px;
}

.w-toggle b {
    top: 50%;
    margin-top: -1px;
    z-index: 1;
}

.w-toggle b,
.w-toggle b:before,
.w-toggle b:after {
    pointer-events: none;
    display: block;
    content: "";
    border-radius: 0;
    background-color: var(--bs-body-color);
    height: 2px;
    position: absolute;
    transform: rotate(0);
    transition: top 0.3s 0.15s, left 0.1s, background-color 0.3s 0.2s, transform 0.2s;
}

.w-toggle b:before {
    left: 0;
    right: 0;
    top: -8px;
}

.w-toggle b {
    left: 4px;
    right: 4px;
}

.w-toggle b:after {
    left: 0;
    right: 0;
    top: 8px;
}

.w-toggle.active b {
    background-color: transparent;
}

.w-toggle.active b,
.w-toggle.active b:after,
.w-toggle.active b:before {
    transition: top 0.2s, left 0.2s, background-color 0.2s, transform 0.2s 0.15s;
}

.w-toggle.active b:before,
.w-toggle.active b:after {
    left: 0;
    top: 0;
    right: 0;
}

.w-toggle.active b:before {
    transform: rotate(-45deg);
}

.w-toggle.active b:after {
    transform: rotate(45deg);
}

@media(max-width: 991px) {
    .w-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        transform: translate3d(100%, 0, 0);
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        width: 100%;
        max-width: 320px;
        background-color: var(--bs-body-bg);
    }

    .w-menu.active {
        transform: translate3d(0, 0, 0);
        transition-duration: 0.5s;
    }

    .w-menu ul {
        padding: 70px 24px;
        list-style: none;
    }

    .w-menu li a {
        display: block;
        white-space: nowrap;
        padding: 6px 0;
        font-size: 20px;
        font-weight: 700;
        color: var(--bs-body-color);
    }

    .w-backdrop {
        pointer-events: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        transition: background 0.5s;
    }

    body.show-nav .w-backdrop {
        pointer-events: auto;
        background-color: rgba(0, 0, 0, 0.24);
        z-index: 900;
    }
}

@media(min-width: 992px) {
    .w-menu ul {
        display: flex;
        align-items: center;
        justify-content: center;
        list-style: none;
    }

    .w-menu li a {
        display: block;
        white-space: nowrap;
        font-size: 14px;
        font-weight: 700;
        padding: 8px 12px;
        border-radius: 6px;
    }

    .w-menu li a:hover {
        background-color: rgba(0, 0, 0, 0.05);
        text-decoration: none;
    }

    .w-action {
        display: none;
    }
}

.btn-language .btn {
    font-size: 10px;
    font-weight: 700;
    height: max-content;
}

@media(max-width: 991px) {
    .btn-language {
        position: fixed;
        top: 24px;
        left: 24px;
        z-index: 1000;
    }
}

@media(min-width: 992px) {
    .w-menu {
        display: flex;
        align-items: center;
        gap: 10px;
    }
}

/* Section */
.s-sec {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Sec Hero */
.sec-hero {
    /* min-height: calc(100svh - 70px); */
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: grid;
    align-items: end;
}

.sec-hero .overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0) 100%);
}

.sec-hero .info {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* Sec Shortcut */
.sec-shortcut {
    background: linear-gradient(0deg,rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 50%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0) 100%);
}

.img-shortcut {
    aspect-ratio: 16/9;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Sec Contact */
.img-contact {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Footer */
.site-footer {
    margin-top: auto;
}


/* Maequee */
.marquee-wrapper {
    --no-of-images: 5;
    --image-width: 60vw;
    --image-height: auto;
    --gap: 16px;
    --speed: 20s;
    width: 100%;
    overflow: hidden;
    padding: 0;
}

@media(min-width: 992px) {
    .marquee-wrapper {
        --image-width: 30vw;
        --speed: 30s;
    }
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-left var(--speed) linear infinite;
    will-change: transform;
}

.marquee-item {
    width: var(--image-width);
    height: var(--image-height);
    margin: 0 calc(var(--gap) / 2);
    flex-shrink: 0;
}

.marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    aspect-ratio: 3 / 2;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}