* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.belleza-regular {
    font-family: "Belleza", sans-serif;
    font-style: normal;
}

.amiko-regular {
    font-family: "Amiko", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.amiko-semibold {
    font-family: "Amiko", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.amiko-bold {
    font-family: "Amiko", sans-serif;
    font-weight: 700;
    font-style: normal;
}

h1, h2, h3 {
    font-family: "Belleza", sans-serif;
} 

h2 {
    font-size: 30px;
    font-weight: normal;
}

@media (max-width: 1024px) {
    h2 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 24px;
    }
}

p, span, a, label, select, option, input, textarea, button {
    font-family: "Amiko", sans-serif; 
    font-weight: normal;
    line-height: 1.4;
}

p, label {
    font-size: 14px;
}

img {
    width: 100%;
}

section {
    position: relative;
}

/* section, navbar, footer {
    max-width: 1280px;
    margin: 0 auto;
} */

.container {
    padding: 200px 60px;
    position: relative;
}

.container > div {
    position: relative;
    z-index: 1;
}

/* navbar */
navbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 9999;
    transition: all .3s ease .2s;
}

/* navbar a {
    font-size: 14px;
    text-decoration: none;
    color: #fff;
    transition: all .3s ease .2s;
} */

/* navbar link hover: subtle lift + animated underline (only for first and last links) */
/* navbar a:first-child,
navbar a:last-child {
    position: relative;
    display: inline-block;
    transition: transform .25s cubic-bezier(.22,.9,.32,1), color .2s ease;
}

navbar a:first-child::after,
navbar a:last-child::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    height: 1px;
    width: 100%;
    background: currentColor;
    transition: transform .28s cubic-bezier(.22,.9,.32,1), opacity .2s ease;
    opacity: 0.95;
}

navbar a:first-child:hover::after,
navbar a:first-child:focus::after,
navbar a:last-child:hover::after,
navbar a:last-child:focus::after {
    transform: translateX(-50%) scaleX(1);
} */

/* adapt underline color when navbar switches to light background */
/* navbar.nav-home.scroll a:first-child::after,
navbar.nav-home.scroll a:last-child::after {
    background: currentColor;
} */

navbar .container {
    padding: 10px 60px; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all .3s ease .2s;
}

/* Home navbar */
navbar.nav-home {
    background-color: transparent;
}

/* navbar.nav-home a {
    font-size: 12px;
} */

/* navbar.nav-home.scroll a {
    color: #000;
    font-size: 14px;
} */

navbar.nav-home.scroll .logo-b {
    opacity: 1 !important;
}

/* navbar.nav-home.scroll .logo-w {
    opacity: 0 !important;
} */

navbar.nav-home.scroll .container {
    background-color: #ebe8e5;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.8);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.8);
}
/* Home navbar */

/* Privacy navbar */
navbar.nav-privacy .container {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.8);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.8);
}
/* Privacy navbar */

/* Thankyou navbar */
navbar.nav-thankyou {
    box-shadow: 0px 0px 10px 0px rgba(235, 232, 229, 0.8);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(235, 232, 229, 0.8);
    -moz-box-shadow: 0px 0px 10px 0px rgba(235, 232, 229, 0.8);
}
/* Thankyou navbar */

@media (max-width: 576px) {
    /* navbar a {
        font-size: 12px;
    } */

    navbar .container {
        padding: 10px 30px !important; 
    }

    navbar .container a.logo {
        max-width: 35px !important; /* edit */
    }
}
/* navbar */

/* footer */
.footer p,
.footer span,
.footer a {
    color: #fff;
}

.footer p {
    font-size: 12px;
}

.footer span,
.footer a {
    font-size: 10px;
}

.footer img {
    width: 125px; /* edit */
}

.footer .container {
    padding: 30px 60px;
    background-image: url(./assets/image/patterns-3.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 -150px; /* edit */
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.8);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.8);
}

.footer .container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6); /* edit */
}

.footer .container div {
    display: flex;
}

.footer .container div>div {
    flex-direction: column;
}

/* @media (max-width: 1024px) {
    .footer .container {
        background-position: 0 -150px;
    }
} */

@media (max-width: 576px) {
    .footer img {
        width: 150px !important;
    }

    .footer img.img-partner-1 {
        width: 160px !important; /* edit */
    }

    .footer .container {
        padding: 40px; 
        display: flex;
        flex-direction: column;
        align-items: center;
        background-position: center;
    }

    .footer .container > div {
        flex-direction: column-reverse;
        padding: 0 !important;
    }

    .footer .container div > div {
        padding: 0 0 40px;
        align-items: center;
        text-align: center;
    }

    .footer .container div > div:first-child span {
        padding: 15px 0 0 !important;
    }

    .footer .container p.partnership {
        font-size: 14px;
    }
}
/* footer */

/* section banner */
/* play pause icon */
.section-banner .ic-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: all .3s ease .2s;
    border: 2px solid #fff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.section-banner .ic-play .fa-play {
    font-size: 25px;
    color: #fff;
    padding-left: 5px;
}
/* play pause icon */

/* muted icon */ 
.section-banner .sound {
    position: absolute !important;
    bottom: 70px;
    right: 50px;
    width: 20px;
    opacity: 0.5;
    cursor: pointer;
}

.section-banner .muted {
    position: absolute !important;
    bottom: 13px;
    right: -5px;
    transform: rotate(45deg);
    width: 30px;
    height: 1px;
    background-color: rgba(255, 255, 255, 1);
    transition: all .3s ease .2s;
    pointer-events: none;
}
/* muted icon */

/* scroll down animation */ 
.section-banner .scroll-down {
    position: absolute !important;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
}

.section-banner .scroll-down>.chevron {
    width: 15px;
    height: 15px;
    /* -webkit-animation: scroll-down-animation 2s ease-out infinite;
    animation: scroll-down-animation 2s ease-out infinite; */
    border: 1px solid #fff;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
}

.section-banner .scroll-down>.chevron:first-child {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

.section-banner .scroll-down>.chevron:nth-child(2) {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
    margin-top: -8px;
}

.section-banner .scroll-down>.chevron:nth-child(3) {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
    margin-top: -8px;
}

@keyframes scroll-down-animation {
    25% {
        opacity: 1;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
/* scroll down animation */

@media (max-width: 1280px) {
    .section-banner .sound {
        bottom: 50px;
    }

    .section-banner .scroll-down {
        bottom: 60px;
    }
}

@media (max-width: 1024px) {
    .section-banner .sound {
        bottom: 35px;
    }
    
    .section-banner .scroll-down {
        bottom: 35px;
    }
}

@media (max-width: 576px) { 
    .section-banner .sound {
        right: 15px;
        bottom: 30px;
    }
    
    .section-banner .banner-vdo-desktop {
        display: none !important;
    }
    
    .section-banner .banner-vdo-mobile {
        display: block !important;
    }
}
/* section banner */

/* section about */
.section-about .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-about .container::before,
.section-about .container::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    height: 25%; /* edit */
    background-image: url(./assets/image/patterns-1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position-y: -160px; /* edit */
}

.section-about .container::before {
    top: 0;
}

.section-about .container::after {
    bottom: 0;
    transform: rotate(180deg);
}

.section-about .container > div {
    text-align: center;
}

.section-about .container > div > div {
    padding: 20px 0;
}

.section-about p {
    white-space: pre-line;
    text-align: center;
}

@media (max-width: 1440px) {
    .section-about .container::before,
    .section-about .container::after {
        background-position-y: -80px; /* edit */
    }
}

@media (max-width: 1024px) {
    .section-about .container::before,
    .section-about .container::after {
        background-position-y: -60px; /* edit */
    }

    .section-about h1,
    .section-about p {
        white-space: unset !important;
    }
}

@media (max-width: 768px) {
    .section-about .container {
        padding: 140px 60px;
    }
}

@media (max-width: 576px) {
    .section-about .container {
        padding: 80px 40px;
    }

    .section-about .container::before,
    .section-about .container::after {
        background-position-y: -100px; /* edit */
    }

    .section-about img {
        width: 130px !important;
    }

    .section-about .container .logo-residences img:nth-child(1) {
        padding-right: 30px !important;
    }

    .section-about .container .logo-residences img:nth-child(2) {
        padding-left: 30px !important;
    }
}
/* section about */

/* section booking header */
.section-booking-header h2 {
    color: #fff;
    white-space: pre-line;
}

.section-booking-header .container {
    padding: 30px 60px;
    background-image: url(./assets/image/patterns-2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.8);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.8);
}

.section-booking-header .container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .4);
}

.section-booking-header .container > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media (max-width: 576px) {
    .section-booking-header .container {
        padding: 40px;
        background-size: 200%;
    }
}
/* section booking header */

/* section-booking */
.section-booking {
    max-width: 1440px;
    margin: 0 auto;
}

.section-booking .container {
    display: flex;
    padding: 140px 60px;
}

.section-booking .container > div:first-child {
    width: 50%;
}

.section-booking .container > div:last-child {
    width: 50%;
    margin: 0 20px 0 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.section-booking .container .noticed-error {
    color: #AF3734;
    opacity: 0;
    position: absolute;
    bottom: -40px;
    left: 0;
    width: 100%;
    text-align: left;
    transition: all .3s ease .2s;
}

input, textarea, select, option, button {
    font-size: 12px;
}

input, textarea, select {
    border: none !important;
    border-bottom: 0.75px solid #1A1A1A !important;
    outline: none !important;
    padding: 20px 10px 0 !important;
    -webkit-border-radius: unset !important;
    -moz-border-radius: unset !important;
    border-radius: unset !important;
}

textarea {
    resize: none;
}

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
}

select {
    -webkit-appearance: none;
    appearance: none;
    background-color: transparent;
    color: #000;
    width: 100%;
}

option {
    padding: 5px 15px;
}

input[type="radio"] {
    accent-color: #191482;
}

/* edit  input[type="text"] */

button {
    color: #fff;
    background-color: #191482;
    padding: 8px 30px;
    text-transform: uppercase;
    border: 1px solid #191482;
    cursor: pointer;
    transition: all .3s ease .2s;
}

button:hover {
    color: #191482 !important;
    background-color: #fff !important;
}

form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
}

form a {
    color: #000;
}

form>div {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 30px;
    width: 100%;
}

form>div>div {
    display: flex;
    flex-direction: column;
    width: calc(50% - 10px);
    margin: 5px 0;
    position: relative;
}
/* edit */
/* form>div>div.countryCode {
    width: calc(40% - 10px);
}

form>div>div.mobile {
    width: calc(60% - 10px);
} */

form>div>div.padd-r {
    margin-right: 10px;
}

form>div>div.padd-l {
    margin-left: 10px;
}

form .error-message {
    opacity: 0;
    /* color: #AF3734 !important; */
    font-size: 12px;
    position: absolute;
    top: unset;
    bottom: 0;
    right: 10px;
    left: 10px;
    text-align: left;
    pointer-events: none;
}

/* show error */
form .error .error-message {
    opacity: 1;
}

form .error.valid .error-message {
    text-align: right;
}
/* show error */

/* Custom styling for Choices.js */
.choices {
    margin-bottom: unset;
    font-family: "Amiko", sans-serif;
}

.countryCode .choices__inner {
    border-bottom: 0.65px solid #1A1A1A !important;
}

.choices__inner {
    background-color: #fff;
    border: none !important;
    border-bottom: 0.75px solid #1A1A1A !important;
    min-height: unset;
    padding: 20px 10px 0;
    font-size: 12px;
    -webkit-border-radius: unset !important;
    -moz-border-radius: unset !important;
    border-radius: unset !important;
    width: calc(100% - 20px) !important;
}

.choices__inner select {
    border: none !important;
}

.choices[data-type*="select-one"] .choices__inner {
    padding-bottom: unset;
}

.choices[data-type*=select-one]::after {
    top: unset;
    bottom: 5px;
}

.choices__placeholder {
    opacity: 1;
}

.choices__list--single {
    padding: unset;
    width: unset;
}

.choices__list--single .choices__item {
    width: unset;
}

.choices__list--dropdown .choices__item,
.choices__list[aria-expanded] .choices__item {
    padding: 10px !important;
}

.choices__list--dropdown {
    -webkit-border-radius: unset !important;
    -moz-border-radius: unset !important;
    border-radius: unset !important;
    /* กำหนดความสูง dropdown */
    /* max-height: 250px !important; */
}

.choices__list--dropdown .choices__item--selectable {
    padding: 12px;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: #ebe8e5 !important;
}

/* Custom scrollbar */
.choices__list--dropdown::-webkit-scrollbar {
    width: 8px;
}

.choices__list--dropdown::-webkit-scrollbar-track {
    background: #ebe8e5;
}

.choices__list--dropdown::-webkit-scrollbar-thumb {
    background: #ebe8e5 !important;
    border-radius: 4px;
}

.choices__list--dropdown::-webkit-scrollbar-thumb:hover {
    background: #ebe8e5 !important;
}

.is-open .choices__inner {
    -webkit-border-radius: unset !important;
    -moz-border-radius: unset !important;
    border-radius: unset !important;
}
/* Custom styling for Choices.js */

@media (max-width: 1024px) {
    form {
        align-items: center;
    }

    .section-booking h2 {
        text-align: center;
    }

    .section-booking .container {
        flex-direction: column;
        padding: 60px;
    }

    .section-booking .container > div {
        width: 100% !important;
    }

    .section-booking .container > div:last-child {
        margin: 40px 0 0;
        align-items: center;
    }

    .section-booking .container .noticed-error {
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }
}

@media (max-width: 576px) {
    form > div {
        flex-direction: column;
        padding-bottom: 20px;
    }

    form > div > div {
        width: 100% !important;
        margin-right: unset !important;
        margin-left: unset !important;
    }

    .section-booking .container {
        padding: 40px 40px 60px;
    }
}
/* section-booking */

/* privacy */
.privacy {
    margin-top: 54px; /* edit */
}

.privacy .container {
    flex-direction: column;
    align-items: center;
    background-image: url(./assets/image/patterns-1.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position-y: -80px;
}

.privacy .title {
    padding: 40px 0 20px;
    font-weight: 900;
}

@media (max-width: 1024px) {
    .privacy .container {
        background-position-y: -20px;
    }
}

@media (max-width: 768px) {
    .privacy .container {
        padding: 140px 60px;
    }
}

@media (max-width: 576px) {
    .privacy p:first-child {
        white-space: unset !important;
    }

    .privacy .container {
        padding: 80px 40px;
    }
}
/* privacy */

/* thankyou */
.thankyou {
    margin-top: 54px; /* edit */
    height: calc(100vh - 54px); /* edit */
}

.thankyou h2, .thankyou p, .thankyou a {
    color: #fff;
}

.thankyou > .container {
    padding: 60px 60px 40px;
    background-image: url(./assets/image/patterns-2.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: calc(100% - 100px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.thankyou .container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6); /* edit */
}

/* Persistent underline for the BACK TO HOME link inside thankyou */
.thankyou .wrap-thankyou a[href="/"] {
    position: relative;
    display: inline-block;
    text-decoration: none;
}

.thankyou .wrap-thankyou a[href="/"]::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    height: 1px;
    width: 100%;
    background: currentColor;
    transition: width .28s cubic-bezier(.22, .9, .32, 1);
}

.thankyou .wrap-thankyou a[href="/"]:hover::after,
.thankyou .wrap-thankyou a[href="/"]:focus::after {
    width: 70%;
}

.thankyou .footer .container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #fff;
    /* start collapsed horizontally from center so GSAP can scale it to full width */
    /* transform: scaleX(0); */
    transform-origin: center;
}

@media (max-width: 1440px) {
    .thankyou > .container {
        height: unset;
    }
}

@media (max-width: 1280px) {
    .thankyou>.container {
        height: unset !important;
    }
}

@media (max-width: 1024px) {
    .thankyou {
        display: flex;
    }

    .thankyou .container {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background-position: right;
    }

    .thankyou .container .wrap-thankyou {
        padding: 12vh 0 !important;
    }

    .thankyou .container .residences {
        padding: 100px 0 !important
    }
}

@media (max-width: 768px) {
    .thankyou .container .wrap-thankyou {
        padding: 60px 0 !important;
    }

    .thankyou .container .residences {
        padding: 80px 0 !important;
    }
}

@media (max-width: 576px) {
    .thankyou {
        height: unset;
    }

    .thankyou p {
        white-space: unset !important;
    }

    .thankyou .container {
        padding: 60px 40px; 
        overflow-x: hidden;
    }

    .thankyou .container .residences img {
        width: 130px !important;
    }

    .thankyou .container .logo-residences img:nth-child(1) {
        padding-right: 30px !important;
    }

    .thankyou .container .logo-residences img:nth-child(2) {
        padding-left: 30px !important;
    }

    .thankyou .footer .container::before {
        display: none;
    }
}

/* ipad pro landscape */
@media screen and (max-width: 1366px) and (orientation: landscape) {
    .thankyou {
        height: calc(100vh - 54px); /* edit */
    }

    .thankyou>.container {
        height: calc(100% - 100px);
    }
}

/* ipad landscape */
@media screen and (max-width: 1024px) and (orientation: landscape) {
    .thankyou {
        height: unset;
    }
}
/* thankyou */