@keyframes swapColor {
    0% {
      border-color: #fff;
    }
    50% {
      border-color: #BC8381;
    }
    100% {
      border-color: #fff;
    }
}
*, *::before, *::after{
    box-sizing: border-box; 
}
* {
    margin: 0; 
    padding: 0; 
}
html, body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
ul[role='list'], ol[role='list'] {
    list-style: none; 
}
li {
    list-style: none;
}
a {
    text-decoration: none;
}
a:visited {
    /* color: unset; */
}
body, html{
    scroll-behavior: smooth;
    font-family: "Plus Jakarta Sans", sans-serif;
}
h1 , h2 ,h3 ,h4 ,h5 ,h6 {
    font-weight: inherit;
	margin: 0.5rem 0 0.5rem 0;
}
html:focus-within{
    scroll-behavior: smooth; 
}
a:not([class]){
    text-decoration-skip-ink: none; 
    text-decoration: none;
}
img, picture, svg, video, canvas{
    max-width: 100%;
    height: auto;
}
img, picture, svg, video, canvas{
    vertical-align: middle; 
}
img, picture, svg, video, canvas{
    font-style: italic; 
}
img, picture, svg, video, canvas{
    background-repeat: no-repeat; 
    background-size: cover;
    height: 100%;
    width: auto;
}
input, button, textarea, select{
    font: inherit; 
}
.nav-mobile {
    display: none;
}

section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
        transition: none;
    }
}
/* กำหนด mobile layout เมื่ออุปกรณ์จริงมีความกว้างไม่เกิน 480px */
@media only screen and (max-device-width: 480px) {
  /* mobile styles เช่น ซ่อนเมนู desktop, แสดง hamburger */
  .desktop-nav { display: none !important; }
  .mobile-nav  { display: block !important; }
}
@media (hover: none) and (pointer: coarse) {
  /* บังคับใช้ mobile styles บนอุปกรณ์ที่เป็น touch เท่านั้น */
  .desktop-layout { display: none !important; }
  .mobile-layout  { display: block !important; }
}


h1 {
    font-family: "sukhumvit-set-bold";
    font-size: 64px;
    color: #fff;
    line-height: 1;
}
h2 {
    font-family: "sukhumvit-set-bold";
    font-size: 46px;
    color: #FF2623;
    line-height: 1;
}
/*
.site-main {
    padding-top: 92px;
}
*/
header {
    display: flex;
    justify-content: center;
    align-items: center;
}
header {
    display: flex;
    position: fixed;
    left: 0;
    z-index: 9999;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 92px;
    gap: 104px;
    padding: 0 106px;
    background-color: #fff;
}
.header-logo {
    width: 72px;
    height: 72px;
}
.header-logo img {
    width: auto;
}
.navigation-bar {
    display: flex;
}
.main-navigation {
    display: flex;
}
.nav-menu {
    display: flex;
    flex-direction: row;
    gap: 26px;
}
.menu-item {
    position: relative;
}
.menu-item a {
    font-family: "sukhumvit-set-text";
    font-size: 15px;
    color: #464C4F;
    line-height: 1;
}
.menu-item.current_page_item a {
    font-family: "sukhumvit-set-text";
    color: #464c4f;
}
.menu-item.current_page_item a:before {
    content: "";
    position: absolute;
    bottom: -6px;
    width: 100%;
    height: 2px;
    /*background-color: #FF2623;*/
}
.language-switch {
    display: flex;
    border: 2px solid #464C4F;
    border-radius: 20px;
    padding: 8px 30px 8px 8px;
    cursor: pointer;
}
.language-switch-text {
    position: relative;
    font-family: "sukhumvit-set-semiBold";
    font-size: 12px;
    color: #464C4F;
    line-height: 1;
}
.language-switch-text:before {
    content: "";
    position: absolute;
    right: -16px;
    border: solid #464C4F;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    background-color: transparent;
}
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.sub-menu.active {
    display: flex;
	width: max-content;
	position: absolute;	
	box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.05);
	backdrop-filter: blur(40px);
	border-radius: 14px;
	background-color: rgba(255, 255, 255, 0.9);
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	padding: 16px 60px 16px 24px;
	box-sizing: border-box;
	gap: 6px;
	text-align: left;
	font-size: 14px;
	color: #464c4f;
	font-family: 'Sukhumvit Set';
}
.toggle-sub-menu {
    content: "";
    position: absolute;
    top: 4px;
    right: 0;
    border: solid #464C4F;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    background-color: transparent;
    cursor: pointer;
}
.menu-item.current-menu-item .toggle-sub-menu {
    border-color: #FF2623;
}
.menu-item.menu-item-has-children {
    padding-right: 18px;
}
.hamburger-menu {
    display: none;
}
.floating-button-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: absolute;
    right: 14px;
    top: 650px;
    width: 452px;
    height: 48px;
    background-color: #FF2623;
    border-radius: 50px;
}
.floating-button-wrapper {
    display: flex;
    gap: 16px;
}
.floating-button-box {
    display: flex;
    align-items: center;
    gap: 6px;
}
.floating-button-image {
    display: flex;
    width: 16px;
    height: 16px;
}
.floating-button-image img {
    width: auto;
}
.floating-button-paragraph-box {
    display: flex;
}
.floating-button-paragraph {
    font-family: "sukhumvit-set-semiBold";
    font-size: 14px;
    color: #fff;
    line-height: 1;
}
.floating-button-contact {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 132px;
    height: 48px;
    background-color: #7A0803;
    border-radius: 50px;
    gap: 12px;
    padding-left: 10px;
}
.floating-button-arrow-box {
    display: flex;
    justify-content: center;
    align-items: center;
}
.floating-button-arrow-1, .floating-button-arrow-2 {
    border: solid #BC8381;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 6px;
    transform: rotate(-45deg);
    animation: swapColor 2s infinite alternate;
}
.floating-button-arrow-1 {
    animation-delay: 0s;
}
.floating-button-arrow-2 {
    animation-delay: 1s;
    margin: -4px;
}
.floating-button-contact-paragraph-box {
    display: flex;
}
.floating-button-contact-paragraph {
    font-family: "sukhumvit-set-semiBold";
    font-size: 18px;
    color: #fff;
    line-height: 1;
}
.floating-go-to-top {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 584px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #FF2623;
    cursor: pointer;
    border: 0;
}
.floating-go-to-top img {
    width: 16px;
    height: 16px;
}
br.d {
    display: block;
}
br.m {
    display: none;
}

img.d {
    display: block;
}
img.m {
    display: none;
}

@media screen and (min-width: 1441px) {
    h1 {
        font-size: 4.444vw;
    }
    h2 {
        font-size: 3.194vw;
    }
   /* .site-main {
        padding-top: 6.389vw;
    }*/
    header {
        height: 6.389vw;
        gap: 7.222vw;
        padding: 0 7.361vw;
    }
    .header-logo {
        width: 5vw;
        height: 5vw;
    }
    .nav-menu {
        gap: 1.806vw;
    }
    .menu-item a {
        font-size: 1.042vw;
    }
    .menu-item.current_page_item a:before {
        bottom: -0.417vw;
        height: 0.139vw;
    }
    .language-switch {
        border: 0.139vw solid #464C4F;
        border-radius: 1.389vw;
        padding: 0.556vw 2.083vw 0.556vw 0.556vw;
    }
    .language-switch-text {
        font-size: 0.833vw;
    }
    .language-switch-text:before {
        right: -1.111vw;
        border-width: 0 0.139vw 0.139vw 0;
        padding: 0.208vw;
    }
    .sub-menu {
        box-shadow: 0 0.139vw 0.694vw rgba(0, 0, 0, 0.1);
    }
    .toggle-sub-menu {
        top: 0.1vw;
        border-width: 0 0.139vw 0.139vw 0;
        padding: 0.208vw;
    }
    .menu-item.menu-item-has-children {
        padding-right: 1.25vw;
    }
    .floating-button-container {
        right: 0.972vw;
        top: 45.139vw;
        width: 31.389vw;
        height: 3.333vw;
        border-radius: 3.472vw;
    }
    .floating-button-wrapper {
        gap: 1.111vw;
    }
    .floating-button-box {
        gap: 0.417vw;
    }
    .floating-button-image {
        width: 1.111vw;
        height: 1.111vw;
    }
    .floating-button-paragraph {
        font-size: 0.972vw;
    }
    .floating-button-contact {
        width: 9.167vw;
        height: 3.333vw;
        border-radius: 3.472vw;
        gap: 0.833vw;
        padding-left: 0.694vw;
    }
    .floating-button-arrow-1, .floating-button-arrow-2 {
        border-width: 0 0.208vw 0.208vw 0;
        padding: 0.417vw;
    }
    .floating-button-arrow-2 {
        margin: -0.278vw;
    }
    .floating-button-contact-paragraph {
        font-size: 1.25vw;
    }
    .floating-go-to-top {
        top: 40.556vw;
        right: 1.111vw;
        width: 2.917vw;
        height: 2.917vw;
    }
    .floating-go-to-top img {
        width: 1.111vw;
        height: 1.111vw;
    }
}

@media screen and (max-width: 1439px) {
	.elementor-401 .elementor-element.elementor-element-f83f6cd,
	.elementor-306 .elementor-element.elementor-element-c552628,
	.elementor-342 .elementor-element.elementor-element-23197b0,
	.elementor-2046 .elementor-element.elementor-element-c5a541b,
	.elementor-361 .elementor-element.elementor-element-fc85363,
	.elementor-346 .elementor-element.elementor-element-32021bb,
	.elementor-541 .elementor-element.elementor-element-80b9484,
	.elementor-549 .elementor-element.elementor-element-23633dc {
		min-height: fit-content;
	}
	
    h1 {
        font-size: 4.444vw;
    }
    h2 {
        font-size: 3.194vw;
    }
    /*
    .site-main {
        padding-top: 6.389vw;
    }
    */
    header {
        height: 6.389vw;
        gap: 7.222vw;
        padding: 0 7.361vw;
    }
    .header-logo {
        width: 5vw;
        height: 5vw;
    }
    .nav-menu {
        gap: 1.806vw;
    }
    .menu-item a {
        font-size: 1.042vw;
    }
    .menu-item.current_page_item a:before {
        bottom: -0.417vw;
        height: 0.139vw;
    }
    .language-switch {
        border: 0.139vw solid #464C4F;
        border-radius: 1.389vw;
        padding: 0.556vw 2.083vw 0.556vw 0.556vw;
    }
    .language-switch-text {
        font-size: 0.833vw;
    }
    .language-switch-text:before {
        right: -1.111vw;
        border-width: 0 0.139vw 0.139vw 0;
        padding: 0.208vw;
    }
    .sub-menu {
        box-shadow: 0 0.139vw 0.694vw rgba(0, 0, 0, 0.1);
    }
    .toggle-sub-menu {
        top: 0.3vw;
        border-width: 0 0.139vw 0.139vw 0;
        padding: 0.208vw;
    }
    .menu-item.menu-item-has-children {
        padding-right: 1.25vw;
    }
    .floating-button-container {
        right: 0.972vw;
        top: 45.139vw;
        width: 31.389vw;
        height: 3.333vw;
        border-radius: 3.472vw;
    }
    .floating-button-wrapper {
        gap: 1.111vw;
    }
    .floating-button-box {
        gap: 0.417vw;
    }
    .floating-button-image {
        width: 1.111vw;
        height: 1.111vw;
    }
    .floating-button-paragraph {
        font-size: 0.972vw;
    }
    .floating-button-contact {
        width: 9.167vw;
        height: 3.333vw;
        border-radius: 3.472vw;
        gap: 0.833vw;
        padding-left: 0.694vw;
    }
    .floating-button-arrow-1, .floating-button-arrow-2 {
        border-width: 0 0.208vw 0.208vw 0;
        padding: 0.417vw;
    }
    .floating-button-arrow-2 {
        margin: -0.278vw;
    }
    .floating-button-contact-paragraph {
        font-size: 1.25vw;
    }
    .floating-go-to-top {
        top: 40.556vw;
        right: 1.111vw;
        width: 2.917vw;
        height: 2.917vw;
    }
    .floating-go-to-top img {
        width: 1.111vw;
        height: 1.111vw;
    }
}

@media screen and (max-width: 1024px) {
	.nav-menu {
        flex-direction: column;
	}
}

@media screen and (max-width: 430px) {
    h1 {
        font-size: 4.444vw;
    }
    h2 {
        font-size: 7.442vw;
        line-height: 1.5;
    }
    /*
    .site-main {
        padding-top: 16.744vw;
    }
    */
    header {
        height: 16.744vw;
        gap: 0;
        padding: 0 7.907vw;
        width: 100%;
        justify-content: space-between;
        box-shadow: 1.6vw 1.6vw 3.2vw 0px rgba(0, 0, 0, 0.10);
    }
    .header-logo {
        width: 12.558vw;
        height: 12.558vw;
    }
    .navigation-bar {
        display: none;
    }
    .nav-menu {
        gap: 5.581vw;
    }
    .menu-item a {
        font-size: 3.721vw;
        color: #FF2623;
    }
    .menu-item.current_page_item a:before {
        content: unset;
    }
    .language-switch {
        position: absolute;
        bottom: -66px;
        display: none;
        border: 0.139vw solid #464C4F;
        border-radius: 5.389vw;
        padding: 2.556vw 5.083vw 2.556vw 4.556vw;
    }
    .language-switch-text {
        font-size: 3.721vw;
    }
    .language-switch-text:before {
        content: unset;
        right: -1.111vw;
        border-width: 0 0.139vw 0.139vw 0;
        padding: 0.208vw;
    }
    .sub-menu {
        box-shadow: 0 0.139vw 0.694vw rgba(0, 0, 0, 0.1);
    }
    .toggle-sub-menu {
        top: 0.8vw;
        right: -48.837vw;
        border-width: 0px 0.539vw 0.539vw 0;
        padding: 0.708vw;
        border-color: #FF2623;
    }
    .menu-item.menu-item-has-children {
        padding-right: 1.25vw;
    }
    .floating-button-container {
        right: 50%;
        transform: translateX(50%);
        top: 166.139vw;
        width: 84.884vw;
        height: 12.093vw;
        border-radius: 8.472vw;
    }
    .floating-button-wrapper {
        gap: 2.256vw;
    }
    .floating-button-box {
        gap: 1.395vw;
    }
    .floating-button-image {
        width: 3.953vw;
        height: 3.953vw;
    }
    .floating-button-paragraph {
        font-size: 3.256vw;
    }
    .floating-button-paragraph span {
        display: none;
    }
    .floating-button-contact {
        width: 31.628vw;
        height: 12.093vw;
        border-radius: 8.472vw;
        gap: 3.5vw;
        padding-left: 3vw;
    }
    .floating-button-arrow-1, .floating-button-arrow-2 {
        border-width: 0 0.508vw 0.508vw 0;
        padding: 1.217vw;
    }
    .floating-button-arrow-2 {
        margin: -1.278vw;
    }
    .floating-button-contact-paragraph {
        font-size: 4.186vw;
    }
    .floating-go-to-top {
        top: 153.556vw;
        right: 7.111vw;
        width: 9.767vw;
        height: 9.767vw;
    }
    .floating-go-to-top img {
        width: 3.111vw;
        height: 3.111vw;
    }

    /* Hamburger Button */
    .hamburger-menu {
        display: inline-block;
        cursor: pointer;
        position: relative;
        z-index: 10;
    }
    .hamburger-menu span {
        display: block;
        width: 6.977vw;
        height: 0.698vw;
        margin: 1.163vw;
        background-color: #333;
        transition: 0.4s;
    }

    /* When the menu is active */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-1.163vw, 1.395vw);
    }
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(45deg) translate(-1.163vw, -1.395vw);
    }
    .navigation-bar.active {
        display: block;
        position: absolute;
        top: 16.744vw;
        width: 94vw;
        height: 122vw;
        left: 0;
        background-color: #fff;
        padding-left: 7.907vw;
        padding-top: 23.186vw;
    }
    .language-switch.active {
        display: block;
    }

    br.d {
        display: none;
    }
    br.m {
        display: block;
    }
    
    img.d {
        display: none;
    }
    img.m {
        display: block;
    }


}