/* @font-face {
    font-family: 'DB HeaventRounded';
    src: url('fonts/DB HeaventRoundedv3.2.1.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
} */

pre {
    color: #000;
}

/* :lang(en-US) {
    --font_style: 'Cordia New', sans-serif;
}

:lang(th) {
    --font_style: "Sarabun", sans-serif;
} */

body {
    font-family: "Google Sans", sans-serif;
    background-color: #eaeaea;
    color: #000;
    font-weight: 400;
    margin: 0 !important;
    overflow-x: hidden !important;
    padding-right: 0 !important;

    /* background-image: url("images/");
    background-attachment: fixed; */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    transition: 0.3s ease;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;

    /* ใส่โค้ดธีมน้ำเงินฟุ้งของคุณไว้ที่นี่ */
    background-color: #005799;
    background-image:
        radial-gradient(circle at 50% 40%, #00002C 0%, transparent 65%),
        radial-gradient(circle at 80% 70%, #005799 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, #001D4F 0%, transparent 60%);

    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

body.bg_body {
    background-color: #00002C;
}

body.bg_body::before {
    opacity: 1;
}

/* body.bg_body.bg_body2 {
    background-color: #00002C;
}

body.bg_body.bg_body2::before {
    opacity: 1;
} */

.color_text {
    color: #424242;
}

.bg_body .color_text {
    color: #ffffff;
}

main {
    min-height: 70vh;
}

a {
    outline: none !important;
    text-decoration: none;
}

.filter-blur-5 {
    backdrop-filter: blur(5px);
}

.outline-none {
    outline: none !important;
}

.w-fit-content {
    width: fit-content !important;
}

.justify-self-center {
    justify-self: center !important;
}

.justify-items-center {
    justify-items: center;
}

.opacity-02 {
    opacity: 0.2;
}

.opacity-03 {
    opacity: 0.3;
}

.opacity-05 {
    opacity: 0.5;
}

.d-contents {
    display: contents !important;
}

.overflow-unset {
    overflow: unset !important;
}

.br_none br {
    display: none;
}

@media (min-width: 576px) {
    .d-sm-contents {
        display: contents !important;
    }
}

@media (min-width: 768px) {
    .d-md-contents {
        display: contents !important;
    }

    .ca-bg {
        font-size: 80px;
        margin-top: -60px;
    }
}

@media (min-width: 1024px) {
    .d-lg-contents {
        display: contents !important;
    }
}

@media (min-width: 1200px) {
    .d-xl-contents {
        display: contents !important;
    }
}

@media (min-width: 1400px) {
    .d-xxl-contents {
        display: contents !important;
    }

    .br_none br {
        display: block;
    }
}

.z-index-1 {
    z-index: 1 !important;
}

.z-1000 {
    z-index: 1000 !important;
}


.cursor-pointer,
.pointer {
    cursor: pointer !important;
}

.cursor_default>a {
    cursor: default !important;
}

.bg-fixed {
    background-attachment: fixed !important;
}

.bg-center-auto {
    background-position: center;
    background-repeat: no-repeat;
    background-size: auto;
}

.bg-bottom-auto {
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: auto;
}

.bg-center-cover {
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.bg-center-contain {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.bg-top-contain {
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain;
}

.bg-center-auto-repeat {
    background-position: center !important;
    background-size: auto !important;
}

.bg-100-top {
    background-size: 100%;
    background-position: top;
    background-repeat: no-repeat;
}

.min-w-max-content {
    min-width: max-content;
}

.text-justify {
    text-align: justify;
}

.lh-24 {
    line-height: 24px;
}

.font-100 {
    font-weight: 100;
}

.font-200 {
    font-weight: 200 !important;
}

.font-300 {
    font-weight: 300 !important;
}

.font-400 {
    font-weight: 400 !important;
}

.font-500 {
    font-weight: 500 !important;
}

.font-600 {
    font-weight: 600 !important;
}

.font-700 {
    font-weight: 700 !important;
}

.font-800 {
    font-weight: 800;
}

.font-900 {
    font-weight: 900;
}

.font-12 {
    font-size: 12px;
}

.font-14 {
    font-size: 14px;
}

.font-16 {
    font-size: 16px;
}

.font-17 {
    font-size: 17px;
}

.font-18 {
    font-size: 18px;
}

.font-20 {
    font-size: 20px;
}

.font-22 {
    font-size: 22px;
}

.font-24 {
    font-size: 24px;
}

.font-26 {
    font-size: 26px;
}

.font-28 {
    font-size: 28px;
}

.font-30 {
    font-size: 30px;
}

.font-32 {
    font-size: 32px;
}

.font-34 {
    font-size: 34px;
}

.font-36 {
    font-size: 36px;
}

.font-38 {
    font-size: 38px;
}

.font-40 {
    font-size: 40px;
}

.font-50 {
    font-size: 50px;
}

.font-60 {
    font-size: 60px;
}

.font-70 {
    font-size: 70px;
}

.font-80 {
    font-size: 80px;
}

.font-90 {
    font-size: 90px;
}

.font-100 {
    font-size: 100px;
}

@media (max-width: 1200px) {
    .font-18 {
        font-size: 16px;
    }

    .font-17 {
        font-size: 15px;
    }

    .font-16 {
        font-size: 14px;
    }

    .font-20 {
        font-size: 18px;
    }

    /* .font-24 {
        font-size: 20px;
    } */

    .font-50 {
        font-size: 40px;
    }

    .font-60 {
        font-size: 50px;
    }

    .font-28 {
        font-size: 24px;
    }
}

@media (max-width: 576px) {

    /* .font-16 {
        font-size: 16px;
    } */
    .font-18 {
        font-size: 14px;
    }

    .font-20 {
        font-size: 16px;
    }

    /* .font-24 {
        font-size: 18px;
    } */

    .font-50 {
        font-size: 30px;
    }

    .font-60 {
        font-size: 40px;
    }

    /* .font-28 {
        font-size: 20px;
    } */
}

.color-fff {
    color: #fff !important;
}

.color-278c53 {
    color: #278c53 !important;
}

.color-2f2d7d {
    color: #2f2d7d !important;
}

.color-424242 {
    color: #424242 !important;
}

.color-b4b4b4 {
    color: #b4b4b4 !important;
}

.color-ef4136 {
    color: #ef4136;
}

.color-d91c5c {
    color: #d91c5c;
}

.color-fff07 {
    color: rgba(255, 255, 255, 0.7);
}

.color-737373,
.color-737373 a {
    color: #737373 !important;
}

.color-757577 {
    color: #757577 !important;
}

.color-4A5260 {
    color: #4A5260 !important;
}

.color-02243C {
    color: #02243C !important;
}

.color-FF0000 {
    color: #FF0000;
}

.color-000 {
    color: #000 !important;
}

.color-EC1C24 {
    color: #EC1C24 !important;
}

.color-e8ae7c {
    color: #e8ae7c;
}

.color-1c2e56 {
    color: #1c2e56;
}

.color-a8a8a8 {
    color: #a8a8a8;
}

.color-6d6d6d {
    color: #6d6d6d;
}

.color-4caf50 {
    color: #4caf50;
}

.color-FF7676 {
    color: #FF7676;
}

.color-603000 {
    color: #603000 !important;
}

.color-231f20 {
    color: #231f20 !important;
}

.color-ccc,
.color-cccccc,
.color-ccc a,
a.color-ccc {
    color: #ccc;
}

.color-ff751f {
    color: #ff751f;
}

.color-f25b02 {
    color: #f25b02;
}

.bg-0B0204 {
    background-color: #0B0204;
}

.bg-2f2f7c {
    background-color: #2f2f7c;
}

.bg-EC1C24 {
    background-color: #EC1C24;
}

.bg-fff {
    background-color: #fff !important;
}

.bg-fff02 {
    background: rgba(255, 255, 255, 0.2);
}

.bg-278c53 {
    background-color: #278c53;
}

.bg-f3f3f3 {
    background-color: #f3f3f3;
}

.bg-ff751f {
    background-color: #ff751f;
}

.bg-000 {
    background-color: #000;
}

.bg-000-03 {
    background-color: rgb(0 0 0 / 30%);
}

.bg-4caf50 {
    background-color: #4caf50;
}

.bg-1c2e56 {
    background-color: #1c2e56;
}

.bg-2f2d7d {
    background-color: #2f2d7d;
}

.bg-121212 {
    background-color: #121212;
}

.bg-f25b02 {
    background-color: #f25b02;
}

.bg-f7f7fc {
    background-color: #f7f7fc;
}

.bg-efeff9 {
    background-color: #efeff9;
}

.bg-transparent {
    background: transparent !important;
}

.bg-main-gradient {
    background: linear-gradient(90deg, rgba(0, 0, 44, 1) 0%, rgba(0, 29, 79, 1) 50%, rgba(0, 87, 153, 1) 100%);
}

.bg-main-gradient2 {
    background: linear-gradient(90deg, rgba(0, 29, 79, 1) 0%, rgba(0, 87, 153, 1) 100%);
}

.text-decoration,
.text-decoration-none,
.text-decoration a {
    text-decoration: none;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: unset;
}

.text-underline {
    text-decoration: underline;
}

.text-a,
.text-a a {
    color: #FFF;
    text-decoration: none;
}

.margin_p p,
.margin-p p {
    margin-bottom: 0;
}

.text_ellipsis_none {
    display: -webkit-box;
    -webkit-line-clamp: none;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text_ellipsis_1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text_ellipsis_2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text_ellipsis_3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text_ellipsis_4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text_ellipsis_10 {
    display: -webkit-box;
    -webkit-line-clamp: 10;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 768px) {
    .text_ellipsis_md_3 {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .text_ellipsis_md_4 {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .text_ellipsis_md_none {
        display: -webkit-box;
        -webkit-line-clamp: none;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (min-width: 1024px) {
    .text_ellipsis_lg_3 {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .text_ellipsis_lg_4 {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .text_ellipsis_lg_none {
        display: -webkit-box;
        -webkit-line-clamp: none;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

@media (min-width: 1200px) {
    .text_ellipsis_xl_3 {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .text_ellipsis_xl_4 {
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .h-xl-100 {
        height: 100%;
    }
}

@media (min-width: 1400px) {
    .h-xxl-100 {
        height: 100%;
    }
}

@media (min-width: 1600px) {}

@media (min-width: 1800px) {}



.border_fff_1 {
    border: 1px solid #fff;
}

.border_000_1 {
    border: 1px solid #000;
}

.border_c4c4c4_1 {
    border: 1px solid #c4c4c4;
}

.border_bcbec0_1 {
    border: 1px solid #bcbec0;
}

.border_a7a9ac_1 {
    border: 1px solid #a7a9ac;
}

/* ------------------------------ Font Size ---------------------------------- */

:root {
    --fs_head_1: 22px;
    --fs_head_2: 24px;
    --fs_head_3: 28px;
    --fs_title_1: 20px;
    --fs_title_2: 20px;
    --fs_title_3: 20px;
    --fs_body_1: 16px;
    --fs_body_2: 16px;
    --fs_body_3: 16px;

    --lh_head_1: 26px;
    --lh_head_2: 28px;
    --lh_head_3: 32px;
    --lh_title_1: 24px;
    --lh_title_2: 24px;
    --lh_title_3: 24px;
    --lh_body_1: 20px;
    --lh_body_2: 19px;
    --lh_body_2: 19px;
}

/* :lang(en-US) {
    --fs_text_title_size_80: 40px;
    --fs_text_title_size_60: 40px;
    --fs_text_sub_title_size_60: 24px;
    --fs_text_sub_title_size_40: 40px;
    --fs_text_description_size: 20px;
    --fs_text_footer_size: 20px;
    --fs_text_date_sign_new: 20px;

    --lh_text_title_size_80: 46px;
    --lh_text_title_size_60: 32px;
    --lh_text_sub_title_size_60: 24px;
    --lh_text_sub_title_size_40: 32px;
    --lh_text_description_size: 20px;
    --lh_text_footer_size: 20px;
    --lh_text_date_sign_new: 20px;
} */

/* :lang(th) {
    --fs_text_title_size_80: 40px;
    --fs_text_title_size_60: 30px;
    --fs_text_sub_title_size_60: 24px;
    --fs_text_sub_title_size_40: 30px;
    --fs_text_description_size: 16px;
    --fs_text_footer_size: 16px;
    --fs_text_date_sign_new: 16px;

    --lh_text_title_size_80: 44px;
    --lh_text_title_size_60: 42px;
    --lh_text_sub_title_size_60: 28px;
    --lh_text_sub_title_size_40: 42px;
    --lh_text_description_size: 24px;
    --lh_text_footer_size: 24px;
    --lh_text_date_sign_new: 24px;
} */

/* @media (min-width: 400px) {
    :root {
        --fs_head_1: 24px;
        --fs_head_2: 30px;
        --fs_title_1: 20px;
        --fs_title_2: 20px;
        --fs_body_1: 15px;
        --fs_body_2: 17px;

        --lh_head_1: 28px;
        --lh_head_2: 34px;
        --lh_title_1: 24px;
        --lh_title_2: 24px;
        --lh_body_1: 19px;
        --lh_body_2: 21px;
    }
} */

@media (min-width: 768px) {
    :root {
        --fs_head_1: 30px;
        --fs_head_2: 36px;
        --fs_head_3: 44px;
        --fs_title_1: 26px;
        --fs_title_2: 24px;
        --fs_title_3: 22px;
        --fs_body_1: 20px;
        --fs_body_2: 18px;
        --fs_body_3: 16px;

        --lh_head_1: 36px;
        --lh_head_2: 42px;
        --lh_head_3: 50px;
        --lh_title_1: 30px;
        --lh_title_2: 28px;
        --lh_title_3: 26px;
        --lh_body_1: 22px;
        --lh_body_2: 20px;
        --lh_body_2: 20px;
    }
}

/* @media (min-width: 1024px) {
    :root {
        --fs_head_1: 32px;
        --fs_title_1: 25px;
        --fs_body_1: 20px;
        --fs_body_2: 18px;
        --fs_body_3: 16px;

        --lh_head_1: 36px;
        --lh_title_1: 29px;
        --lh_body_1: 24px;
        --lh_body_2: 22px;
        --lh_body_3: 22px;
    }
} */

@media (min-width: 1400px) {
    :root {
        --fs_head_1: 42px;
        --fs_head_2: 48px;
        --fs_head_3: 60px;
        --fs_title_1: 32px;
        --fs_title_2: 28px;
        --fs_title_3: 24px;
        --fs_body_1: 20px;
        --fs_body_2: 18px;
        --fs_body_3: 16px;

        --lh_head_1: 46px;
        --lh_head_2: 52px;
        --lh_head_3: 64px;
        --lh_title_1: 36px;
        --lh_title_2: 32px;
        --lh_title_3: 28px;
        --lh_body_1: 24px;
        --lh_body_2: 22px;
        --lh_body_3: 20px;
    }
}

.text_head_1 {
    font-size: var(--fs_head_1);
    line-height: var(--lh_head_1);
    font-weight: 500;
}

.text_head_2 {
    font-size: var(--fs_head_2);
    line-height: var(--lh_head_2);
    font-weight: 500;
}

.text_head_3 {
    font-size: var(--fs_head_3);
    line-height: var(--lh_head_3);
    font-weight: 500;
}

.text_title_1 {
    font-size: var(--fs_title_1);
    line-height: var(--lh_title_1);
    font-weight: 500;
}

.text_title_2 {
    font-size: var(--fs_title_2);
    line-height: var(--lh_title_2);
    font-weight: 500;
}

.text_title_3 {
    font-size: var(--fs_title_3);
    line-height: var(--lh_title_3);
    font-weight: 500;
}

.text_body_1 {
    font-size: var(--fs_body_1);
    line-height: var(--lh_body_1);
    font-weight: 300;
}

.text_body_2 {
    font-size: var(--fs_body_2);
    line-height: var(--lh_body_2);
    font-weight: 300;
}

.text_body_3 {
    font-size: var(--fs_body_3);
    line-height: var(--lh_body_3);
    font-weight: 300;
}

/* --------------------------- Container ----------------------------- */


/* 1. ใหญ่สุด (1400px) ไว้บนสุด */
@media (max-width: 1399px) {
    .custom_container_mb {
        width: 100%;
        padding-right: var(--bs-gutter-x, .75rem);
        padding-left: var(--bs-gutter-x, .75rem);
        /* padding-right: calc(var(--bs-gutter-x) * 0.5);
        padding-left: calc(var(--bs-gutter-x) * 0.5); */
        margin-right: auto;
        margin-left: auto;
        max-width: 1140px;
    }
}

/* 2. รองลงมา (1024px) */
@media (max-width: 1024px) {
    .custom_container_mb {
        max-width: 960px;
    }
}

/* 3. รองลงมา (768px) */
@media (max-width: 768px) {
    .custom_container_mb {
        max-width: 720px;
    }
}

/* 4. เล็กสุด (576px) ไว้อยู่ล่างสุด */
@media (max-width: 576px) {
    .custom_container_mb {
        max-width: 540px;
    }
}

@media (min-width: 1600px) {
    .container {
        padding-left: 100px;
        padding-right: 100px;
    }
}

@media (min-width: 1800px) {

    .container {
        padding-left: 150px;
        padding-right: 150px;
    }
}

@media (min-width: 2000px) {
    .container {
        padding-left: 275px;
        padding-right: 275px;
    }
}

@media (min-width: 2400px) {
    .container {
        padding-left: 350px;
        padding-right: 350px;
    }
}

/* --------------------------- header ----------------------------- */
.custom_menu {
    display: flex;
    gap: 120px;
}

.scrolling .custom_menu li a,
.scrolling .let-talk .tel-link,
.scrolling .let-talk .btn-lets-talk {
    color: #000 !important;
}

.bg_body .scrolling .custom_menu li a,
.scrolling.color_header_bf .custom_menu li a,
.let-talk .btn-lets-talk,
.bg_body .let-talk .btn-lets-talk,
.color_header_bf .let-talk .btn-lets-talk,
.let-talk .tel-link,
.bg_body .let-talk .tel-link,
.color_header_bf .let-talk .tel-link {
    color: #fff !important;
}

body:not(.home) :is(.custom_menu li a, .let-talk :is(.tel-link, .btn-lets-talk)) {
    color: #fff !important;
}

.custom_menu a {
    position: relative;
    z-index: 2;
    /* color: #000 !important; */
    color: #fff !important;
}

.custom_menu .menu-item a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% + 45px);
    height: calc(100% + 18px);
    background-color: rgba(242, 242, 242, 0.3);
    border: 1px solid #cccccc;
    border-radius: 50px;
    z-index: -1;

    /* background: rgba(87, 116, 159, 0.3);
    backdrop-filter: blur(8px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.5), inset 0 0 5px rgba(255, 255, 255, 0.5); */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom_menu .menu-item a::before {
    content: '';
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    width: calc(100% + 45px);
    height: calc(100% + 18px);
    border-radius: 50px;
    overflow: hidden;
    background: var(--rg-gradient-a);
    background-size: 180% 180%;
    mask-image: linear-gradient(to top,
            rgba(0, 0, 0, 0.75) 10%,
            rgba(0, 0, 0, 0.5)20%,
            rgba(0, 0, 0, 0.25)30%,
            rgba(0, 0, 0, 0) 100%);
    z-index: -1;
    pointer-events: none;
    will-change: transform, background-position;
    animation: firstSectionWave 2.8s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

.custom_menu .current-menu-item a::after {
    opacity: 1;
}

@media (min-width: 1400px) {
    .custom_menu .menu-item a:hover::after {
        opacity: 1;
    }

    .custom_menu .menu-item a:hover::before {
        opacity: 1;
    }
}

.custom_menu .menu-item-has-children {
    position: relative;
}

.custom_menu .menu-item-has-children .sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    margin-top: 20px;
    z-index: 9999;
    visibility: hidden;
    transition: 0.3s;

    /* สไตล์ Glassmorphism */
    background-color: rgba(87, 116, 159, 0.35);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 0 5px rgba(255, 255, 255, 0.5),
        0 10px 25px rgba(0, 0, 0, 0.2);
}

.custom_menu .menu-item-has-children .sub-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.custom_menu .menu-item .sub-menu li a::after {
    content: unset;
}

.custom_menu .menu-item-has-children .sub-menu li a {
    /* color: #424242 !important; */
    color: #fff !important;
    /* background-color: #fff; */
    padding: 10px 20px;
    white-space: nowrap;
    transition: 0.3s;
    width: 100%;
}

.custom_menu .menu-item-has-children .sub-menu li a:before {
    opacity: 0 !important;
}

@media (min-width: 1400px) {
    .custom_menu .menu-item-has-children:hover .sub-menu {
        visibility: visible;
    }

    .custom_menu .menu-item-has-children .sub-menu li a:hover {
        color: #fff !important;
        background-color: rgba(43, 69, 112, 0.85);

    }
}

.custom_menu .menu-item-has-children .sub-menu li:first-child a {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.custom_menu .menu-item-has-children .sub-menu li:last-child a {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.site-header {
    background: transparent;
    /* background: #ffffff; */
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    pointer-events: none;
}


.site-header::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -10px;
    width: calc(100% + 20px);
    height: 20px;
    background: var(--rg-gradient-a);
    background-size: 180% 180%;
    /* border-radius: 50% 50% 15px 15px / 30px 30px 15px 15px; */
    mask-image: linear-gradient(to bottom,
            rgba(0, 0, 0, 1) 0%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
    transform-origin: center bottom;
    will-change: transform, background-position;
    animation: firstSectionWave 2.8s ease-in-out infinite;
    transition: 0.3s;

    opacity: 0;
}

.site-header.scrolling {
    /* background: transparent !important; */
    /* background: #fff !important;
    box-shadow: none !important; */
}

.site-header.scrolling::after {
    /* opacity: 0; */
}

/* .bg_header {
    border: 1px solid transparent;
}

.site-header.scrolling .bg_header {
    background: rgba(87, 116, 159, 0.3);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.5), inset 0 0 5px rgba(255, 255, 255, 0.5);
} */

.site-header.scrolling .bg_header {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    background: transparent;
}

/* ให้เลเยอร์ ::before ทำหน้าที่เบลอแถบ Navbar แทน */
.site-header.scrolling .bg_header::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: rgba(87, 116, 159, 0.3);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.5), inset 0 0 5px rgba(255, 255, 255, 0.5);
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 1400px) {
    .bg_header {
        margin-top: 12px;
    }
}


.site-header .logo_white,
.site-header.scrolling .logo_black,
.bg_body .site-header.scrolling .logo_white,
.site-header.scrolling.color_header_bf .logo_white {
    display: block;
    /* display: none; */
}

.site-header .logo_black,
.site-header.scrolling .logo_white,
.bg_body .site-header.scrolling .logo_black,
.site-header.scrolling.color_header_bf .logo_black {
    display: none;
    /* display: block; */
}

body:not(.home) .site-header .logo_white {
    display: block !important;
}

body:not(.home) .site-header .logo_black {
    display: none !important;
}


.logo_white,
.logo_black {
    width: 200px;
}

/* .site-header.scrolling .logo_white,
.site-header.scrolling .logo_black {
    width: 150px;
} */

.main-navigation {
    pointer-events: auto;
    transition: 0.3s ease;

}

.desktop-center-menu ul li a {
    text-decoration: none;
    color: #fff !important;
    font-weight: 600;
    font-size: var(--fs_title_1);
}

.let-talk ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.let-talk .btn-lets-talk {
    /* display: inline-block; */
    background: rgba(242, 242, 242, 0.3);
    border: 1px solid #ccc;
    border-radius: 50px;
    padding: 8px 25px;
    font-weight: 600;
    cursor: pointer;
    /* transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s; */
    color: #fff;
    /* color: #000; */
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.let-talk .btn-lets-talk::after {
    content: '';
    opacity: 0;
    position: absolute;
    bottom: -30px;
    left: -10px;
    width: calc(100% + 20px);
    height: 70px;
    background: var(--rg-gradient-a);
    background-size: 180% 180%;
    /* border-radius: 50% 50% 15px 15px / 30px 30px 15px 15px; */
    mask-image: linear-gradient(to top,
            rgba(0, 0, 0, 1) 30%,
            rgba(0, 0, 0, 0.7)50%,
            rgba(0, 0, 0, 0.4)60%,
            rgba(0, 0, 0, 0) 100%);
    z-index: -1;
    pointer-events: none;
    transform-origin: center bottom;
    will-change: transform, background-position;
    animation: firstSectionWave 2.8s ease-in-out infinite;
    transition: 0.3s;
}


/* .let-talk .btn-lets-talk:hover {
         border-color: #ffffff;
         background-color: #19a3db;
         color: #000000;
         box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
      } */

@media (min-width: 1400px) {

    .logo_white,
    .logo_black {
        width: 300px;
    }

    .site-header.scrolling .logo_white,
    .site-header.scrolling .logo_black {
        width: 170px;
    }


    .let-talk .btn-lets-talk:hover::after {
        opacity: 1;
    }

    .site-header.scrolling .bg_header {
        margin-top: 12px;
    }

}

html.menu-open,
body.menu-open {
    overflow: hidden !important;
    height: 100% !important;
    position: relative;
    touch-action: none;
}

/* --------------------------- header floating button----------------------------- */

.floating-social-wrapper {
    position: fixed;
    bottom: 12px;
    right: 12px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.floating-social-list {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.floating-social-wrapper.active .floating-social-list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.floating-social-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(87, 116, 159, 0.3);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.5), inset 0 0 5px rgba(255, 255, 255, 0.5);

    color: #ffffff;
    border: none;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 20px;
    padding: 0;
    position: relative;
}

.floating-social-toggle .icon-open,
.floating-social-toggle .icon-close {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.floating-social-toggle .icon-open {
    opacity: 1;
    transform: rotate(0deg) scale(1);
    /* visibility: hidden; */
}

.floating-social-toggle .icon-close {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
    font-size: 22px;
}

.floating-social-wrapper.active .floating-social-toggle .icon-open {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
    visibility: hidden;
}

.floating-social-wrapper.active .floating-social-toggle .icon-close {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff !important;
    background-color: #333333;
    height: 50px;
    width: 50px;
    border-radius: 50px;
    transition: all 0.2s ease;
    font-size: 22px;
    justify-content: center;

    background: rgba(87, 116, 159, 0.3);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.5), inset 0 0 5px rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
    .floating-social-wrapper {
        bottom: 20px;
        right: 20px;
        gap: 16px;
    }

    .social-item,
    .floating-social-toggle {
        height: 60px;
        width: 60px;
        font-size: 26px;
    }

    .floating-social-list {
        gap: 12px;
    }
}

@media (min-width: 1400px) {
    .floating-social-wrapper {
        bottom: 24px;
        right: 24px;
    }
}

/* --------------------------- header mobile----------------------------- */

.custom_menu_mobile .menu-item-has-children .sub-menu>li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.custom_menu_mobile .menu-item-has-children .sub-menu>li a {
    font-size: var(--fs_body_1) !important;
    /* padding-top: 6px; */
    width: 100% !important;
}

/* .custom_menu_mobile .menu-item-has-children .sub-menu>li::before {
    font-size: 24px;
    content: "•";
    line-height: 100%;
    padding-top: 6px;
    color: #fff;
} */

.custom_menu_mobile .menu-item-has-children>a {
    margin-bottom: 16px !important;
}

.custom_menu_mobile .menu-item-has-children .sub-menu {
    margin-left: 0px !important;
    margin-top: 40px !important;
    margin-bottom: 40px !important;
    /* padding-left: 20px !important; */
    position: relative;
    left: unset !important;
    right: 0 !important;
    box-shadow: none;
}

.custom_menu_mobile .menu-item-has-children .sub-menu::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 125%;
    /* border: 2px rgb(45 45 45 / 49%) solid; */
    background-color: rgb(0 0 0 / 30%);
    border-radius: 10px;
    transform: translateY(-50%);
    z-index: -2;
}

/* .custom_menu_mobile .menu-item-has-children .sub-menu ul li::marker {
    unicode-bidi: isolate;
    font-variant-numeric: tabular-nums;
    text-transform: none;
    text-indent: 0px !important;
    text-align: start !important;
    text-align-last: auto !important;
} */

.togle_menu_moblie {
    width: 25px;
    height: 18px;
    position: relative;
    cursor: pointer;
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.togle_menu_moblie.in_mobile {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 10001;

}

.togle_menu_moblie.active {
    height: 24px;
}


.site-header.scrolling .togle_menu_moblie span {
    background-color: #333;
}

.bg_body .site-header.scrolling .togle_menu_moblie span,
.site-header.scrolling.color_header_bf .togle_menu_moblie span {
    background-color: #fff;
}

body:not(.home) .site-header.scrolling .togle_menu_moblie span {
    background-color: #fff;
}

.togle_menu_moblie.active span {
    background-color: #fff !important;
}

.togle_menu_moblie span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    /* background: #333; */
    border-radius: 3px;
    /* transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), background-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1); */
    transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), background-color 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), background 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.togle_menu_moblie.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.togle_menu_moblie.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.togle_menu_moblie.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    /* left: 0; */
    right: 0;
    /* bottom: 0; */
    width: 100%;
    height: 100%;
    /* background:
        radial-gradient(ellipse at 8% 5%, rgba(255, 153, 0, 0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 92% 95%, rgba(35, 122, 198, 0.09) 0%, transparent 50%),
        radial-gradient(ellipse at 60% 30%, rgba(232, 240, 254, 0.45) 0%, transparent 65%),
        linear-gradient(160deg, #ffffff 0%, #f4f7fb 35%, #eaf0f9 65%, #f8fafc 100%); */
    /* background-color: rgba(255, 255, 255, 0.25); */
    background-color: rgba(0, 87, 153, 0.45);
    background-image: radial-gradient(circle at 50% 40%, rgba(0, 0, 44, 0.45) 0%, transparent 65%), radial-gradient(circle at 80% 70%, rgba(0, 87, 153, 0.45) 0%, transparent 50%), radial-gradient(circle at 20% 80%, rgba(0, 29, 79, 0.45) 0%, transparent 60%);
    backdrop-filter: blur(8px);
    /* display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center; */
    z-index: 10000;
    transition: 0.35s ease;
    overflow-y: auto !important;
    overflow-x: clip !important;
    /* touch-action: none;
    overscroll-behavior: none;
    padding: 80px 35px 30px 20px;
    box-sizing: border-box; */
    transform: translateX(100%);
}

.mobile-menu-overlay.open {
    transform: translateX(0%);
}

/* .mobile-menu-overlay .opcity-1 {
    width: 100%;
    height: 1px !important;
    background-color: #ddd !important;
    opacity: 1 !important;
    border: none;
    margin: 25px 0;
} */

.mobile-menu-overlay .desktop-center-menu ul {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 28px;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

.mobile-menu-overlay .desktop-center-menu ul li {
    width: 100%;
    text-align: center;
}

.mobile-menu-overlay .menu-item a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(80% + 45px);
    height: calc(100% + 18px);
    background-color: rgba(242, 242, 242, 0.3);
    border: 1px solid #cccccc;
    border-radius: 50px;
    z-index: -1;

    /* background: rgba(87, 116, 159, 0.3);
    backdrop-filter: blur(8px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.5), inset 0 0 5px rgba(255, 255, 255, 0.5); */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay .menu-item a::before {
    content: '';
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    width: calc(80% + 45px);
    height: calc(100% + 18px);
    border-radius: 50px;
    overflow: hidden;
    background: var(--rg-gradient-a);
    background-size: 180% 180%;
    mask-image: linear-gradient(to top,
            rgba(0, 0, 0, 0.75) 10%,
            rgba(0, 0, 0, 0.5)20%,
            rgba(0, 0, 0, 0.25)30%,
            rgba(0, 0, 0, 0) 100%);
    z-index: -1;
    pointer-events: none;
    will-change: transform, background-position;
    animation: firstSectionWave 2.8s ease-in-out infinite;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay .current-menu-item a::after,
.mobile-menu-overlay .current-menu-item a::before {
    opacity: 1;
}

/* .mobile-menu-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff9900 0%, #ffb733 40%, #237ac6 70%, #1a6cb0 100%);
    z-index: 1;
} */

/* .mobile-menu-overlay::before {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(35, 122, 198, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
} */

.mobile-menu-overlay>* {
    position: relative;
    z-index: 2;
}

@media(min-width: 576px) {
    .mobile-menu-overlay {
        width: 450px;
    }
}

@media(min-width: 1024px) {
    .togle_menu_moblie {
        width: 30px;
        height: 24px;
    }
}

.overlay_bg {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    backdrop-filter: blur(8px);
}


/* ----------------------------- Scrolled --------------------------- */

.scrolled_header .custom_header::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    height: 70%;
    background-color: rgb(255, 255, 255, 0.8);
    border-radius: 50px;
}

@media(min-width: 1024px) {
    .scrolled_header .custom_header::before {
        width: 98%;
    }
}

.scrolled_header .logo_color,
.logo_white {
    display: block;
}

.scrolled_header .logo_white,
.logo_color {
    display: none;
}

.scrolled_header .select_languages,
.scrolled_header .custom_dropdown_languages .dropdown-item {
    color: #757577;
}

.scrolled_header .hamburger-icon .line {
    background-color: #757577;
}

.box_social_header,
.box_social {
    /* background-color: #8fa8ab; */
    background-color: #278c53;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    align-content: center;
    text-align: center;
    transition: background-color 0.3s, transform 0.3s;
    font-size: var(--fs_body_2);
}

@media(min-width: 1024px) {

    .box_social_header,
    .box_social {
        width: 45px;
        height: 45px;
    }

}

@media(min-width: 1400px) {

    .box_social_header,
    .box_social {
        background-color: #8fa8ab;
    }

    .box_social_header:hover,
    .box_social:hover {
        background-color: #278c53;

    }
}

/* ----------------------------- Footer --------------------------- */

.box_support_footer {
    display: flex;
    background-color: rgba(242, 242, 242, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 50px;
    border: 1px solid #cccccc !important;
    /* border: 1px solid rgb(166 166 166) !important; */
    padding: 10px 20px;
    width: 260px;
    height: fit-content;
    position: relative;
    overflow: hidden;
    z-index: 2;

    /* background: rgba(255, 255, 255, 0.2); */
    /* backdrop-filter: blur(8px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.5), inset 0 0 5px rgba(255, 255, 255, 0.5);
    color: #ffffff;
    z-index: 1;
    display: flex;
    overflow: hidden;
    text-align: center;
    align-items: center;
    padding: 10px 20px; */
}

.box_support_footer::after {
    content: '';
    opacity: 0;
    position: absolute;
    bottom: -30px;
    left: -10px;
    width: calc(100% + 20px);
    height: 70px;
    background: var(--rg-gradient-a);
    background-size: 180% 180%;
    /* border-radius: 50% 50% 15px 15px / 30px 30px 15px 15px; */
    mask-image: linear-gradient(to top,
            rgba(0, 0, 0, 1) 30%,
            rgba(0, 0, 0, 0.7)50%,
            rgba(0, 0, 0, 0.4)60%,
            rgba(0, 0, 0, 0) 100%);
    z-index: -1;
    pointer-events: none;
    transform-origin: center bottom;
    will-change: transform, background-position;
    animation: firstSectionWave 2.8s ease-in-out infinite;
    transition: 0.3s;
}

.box_banner_footer {
    position: relative;
    background: linear-gradient(90deg, rgba(0, 29, 79, 1) 0%, rgba(0, 87, 153, 1) 100%);
    overflow: hidden;
    border-radius: 20px;
}

.box_banner_footer2 {
    position: relative;
    background: linear-gradient(180deg, rgba(0, 29, 79, 1) 0%, rgba(0, 0, 44, 1) 100%);
    overflow: hidden;
}

.box_banner_footer span,
.box_banner_footer2 span {
    font-size: var(--fs_head_3);
}

.position_logo_bf {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 300px;
    z-index: 0;
}

.position_logo_bf2 {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70%;
    z-index: 0;
}

.position_logo_bf.w_logo_contact {
    width: 65% !important;
}

.box_choose_service {
    display: flex;
    width: fit-content;
    border-radius: 50px !important;
}

.w_icon_service {
    width: 30px;
}

.w_logo_ft {
    width: 50%;
}

@media (min-width: 768px) {
    .w_logo_ft {
        width: 350px;
    }

    .position_logo_bf2 {
        width: 45%;
    }
}


@media (min-width: 1400px) {
    .custom_logominidth img {
        filter: brightness(0) invert(1) contrast(70%);
        transition: 0.3s;
    }

    .custom_logominidth:hover img {
        filter: none;
    }

    .box_support_footer:hover::after {
        opacity: 1;
    }

}

/* ----------------------------- Gravity Forms --------------------------- */

.custom_form_contact .gf_progressbar_title,
.custom_form_contact .ginput_container select,
.custom_form_contact .ginput_container_date input,
.custom_form_contact .gform-theme--framework.ui-datepicker table td,
.custom_form_contact .gform_previous_button {
    font-size: var(--fs_title_2) !important;
    /* font-family: "DB HeaventRounded", sans-serif !important; */
}

/* .custom_form_contact .gform_body .gform_fields {
    column-gap: 20px !important;
    row-gap: 16px !important;
} */

/* @media (min-width: 1024px) { */

.custom_form_contact .gform_body .gform_fields {
    row-gap: 35px !important;
}

@media (min-width: 768px) {
    .custom_form_contact .gform_body .gform_fields {
        column-gap: 30px !important;
    }
}

/* } */

.custom_form_contact .gform_title {
    font-size: var(--fs_title_1) !important;
    line-height: var(--lh_title_1) !important;
    font-weight: 600;
    text-align: start;
    color: #ffffff;
}

.custom_form_contact .gchoice {
    align-items: center;
}

.custom_form_contact .gchoice_other_control {
    font-size: var(--fs_title_2) !important;
}

.custom_form_contact .ginput_container .gchoice:has(.gchoice_other_control) {
    display: flex;
    align-items: center;
}

.custom_form_contact .ginput_container .gchoice .gchoice_other_control {
    margin-left: 10px;
}

.custom_form_contact .gform_confirmation_message {
    text-align: center;
    font-size: var(--fs_head_1);
    line-height: var(--lh_head_1);
    color: #fff !important;
}

.custom_form_contact .gform-loader {
    color: #000;
    border-block-end-color: #2f2d7d !important;
    /* border-block-start-color: black !important;
    border-inline-end-color: black !important; */
    border-inline-start-color: #2f2d7d !important;
}

.custom_form_contact .gform-loader::after {
    content: "";
    display: none !important;
    color: #000 !important;
    background-color: red !important;
}

.custom_form_contact input,
.custom_form_contact textarea,
.custom_form_contact .gform_next_button,
.custom_form_contact .gform_previous_button,
.custom_form_contact .gform_button {
    outline: none !important;
}

.custom_form_contact input,
.custom_form_contact textarea {
    background-color: transparent !important;
    color: #19a3db !important;
    border-radius: 0px !important;
    border-bottom: #fff 1px solid !important;
    border-top: 0px !important;
    border-left: 0px !important;
    border-right: 0px !important;
    font-size: var(--fs_body_2) !important;
    padding: 0 !important;
    box-shadow: none !important;
}

:root {
    --line_textarea: 36px;
}

.custom_form_contact textarea {
    word-wrap: break-word;
    width: 100%;
    height: 180px;
    line-height: var(--line_textarea) !important;
    background-image: linear-gradient(transparent calc(var(--line_textarea) - 1px),
            rgba(255, 255, 255, 1) calc(var(--line_textarea) - 1px));
    background-size: 100% var(--line_textarea);
    background-attachment: local;
    padding-top: 0px;
    padding-bottom: 0px;
    /* ปรับแต่งส่วนอื่นๆ */
    resize: vertical;
    border: 0px !important;
    outline: none;

    background-position: 0 0
}

.custom_form_contact input::placeholder,
.custom_form_contact textarea::placeholder {
    color: #7fa2c6 !important;
}

.custom_form_contact input:focus {
    /* border: #000 1px solid !important; */
    border-bottom: #fff 1px solid !important;
    border-top: 0px !important;
    border-left: 0px !important;
    border-right: 0px !important;
}

.custom_form_contact .gf_progressbar_percentage {
    font-size: var(--fs_body_1) !important;
    line-height: var(--lh_body_1) !important;
    font-weight: 400;
    border-radius: 50px !important;
    background: linear-gradient(90deg, rgba(47, 88, 155, 1) 0%, rgba(47, 45, 125, 1) 100%);
    padding: 8px 48px !important;
    color: #ffffff !important;
}

.custom_form_contact .gform_button {
    /* background-image: url('images/paper-plane-solid-full.svg') !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 15px !important; */
    font-size: var(--fs_body_1) !important;
    line-height: var(--lh_body_1) !important;
    font-weight: 400;
    border-radius: 50px !important;
    padding: 8px 100px 8px 88px !important;
    color: #ffffff !important;
    /* background: url('images/paper-plane-solid-full.svg'), linear-gradient(90deg, rgba(47, 88, 155, 1) 0%, rgba(47, 45, 125, 1) 100%) !important; */
    border: 1px solid #cccccc !important;
    background: url('images/paper-plane-solid-full.svg'), rgba(242, 242, 242, 0.3) !important;
    background-repeat: no-repeat !important;
    background-position: center right 80px, center !important;
    background-size: 18px, auto !important;

    /* backdrop-filter: blur(8px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.5), inset 0 0 5px rgba(255, 255, 255, 0.5) !important; */
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.custom_form_contact .gform_footer {
    position: relative;
    justify-self: center;
    border-radius: 50px;
    overflow: hidden;
}

.custom_form_contact .gform_footer::after {
    content: '';
    opacity: 0;
    position: absolute;
    bottom: -30px;
    left: -10px;
    width: calc(100% + 20px);
    height: 70px;
    background: var(--rg-gradient-a);
    background-size: 180% 180%;
    mask-image: linear-gradient(to top,
            rgba(0, 0, 0, 1) 30%,
            rgba(0, 0, 0, 0.7) 50%,
            rgba(0, 0, 0, 0.4) 60%,
            rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
    will-change: transform, background-position;
    animation: firstSectionWave 2.8s ease-in-out infinite;
    transition: 0.3s;
}

@media (min-width: 1400px) {
    .custom_form_contact .gform_footer:hover::after {
        opacity: 1;
    }
}

.custom_form_contact .gform-field-label,
.custom_form_contact .gform_description {
    font-size: var(--fs_body_2) !important;
    line-height: var(--lh_body_2) !important;
    font-weight: 400 !important;
    text-align: start;
    color: #fff !important;
}

.custom_form_contact .gfield_required,
.custom_form_contact .gfield_validation_message {
    color: #d91c5c !important;
}

.custom_form_contact .gfield {
    position: relative;
}

.custom_form_contact .gform_validation_errors,
.custom_form_contact .gform_required_legend {
    display: none !important;
}

.custom_form_contact .gform_next_button {
    background-color: #2f2d7d !important;
    border: none !important;
    font-size: var(--fs_title_2) !important;
    /* font-family: "DB HeaventRounded", sans-serif !important; */
    padding: 10px 20px !important;
    border-radius: 50px !important;
}

.custom_form_contact .instruction {
    display: none !important;
}

.custom_form_contact .validation_message {
    position: absolute;
    bottom: -5px;
    left: 0;
    transform: translateY(100%);
}

.custom_form_contact .gfield--type-captcha {
    justify-items: center;
}

.custom_form_contact .gform_footer {
    justify-content: center !important;
    margin-top: 50px !important;
    position: relative;
}

.custom_form_contact .gform-loader {
    /* border-block-start-color: black !important;
    border-inline-end-color: black !important; */
    color: #000;
    border-block-end-color: #fff !important;
    border-inline-start-color: #fff !important;
    position: absolute !important;
    top: calc(50% - 10px) !important;
    left: calc(50% + 130px) !important;
}

/* .custom_form_contact .gform-loader::after {
    content: "";
    display: none !important;
    color: #000 !important;
    background-color: red !important;
} */

/* .gform-loader {
    width: 20px !important;
    height: 20px !important;
    border-width: 3px !important;
    border-color: rgba(255, 0, 0, 1) !important;
    border-top-color: #ffffff !important;
}

.gform-loader {
    margin-left: 10px;
    vertical-align: middle;
    display: inline-block;
} */

/* -------------------- pageition ----------------------------  */

.custom_pagination .page-item .page-link,
.custom_pagination .page-item.dot_pagination {
    font-size: var(--fs_body_2) !important;
    font-weight: 400;
    color: #c9c9c9 !important;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color 0.3s, background-color 0.3s;
    box-shadow: none !important;
    background-color: transparent !important;
    border: none !important
}

.custom_pagination .page-item.active .page-link {
    /* background-color: #fff !important; */
    color: #000 !important;
    position: relative;
}

.custom_pagination .page-item.active .page-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 2px;
    left: 0;
    background-color: #000;
}

/* .custom_pagination .page-item .page-link:hover {
    background-color: #fff !important;
    color: #000 !important;
} */

.custom_pagination .page-link.btn_pagination {
    /* background-color: #fff !important; */
    color: #278c53 !important;
    /* padding: 6px 15px 4px 15px; */
    padding: 0px;
    /* border-radius: 50% !important; */
    width: auto;
    height: auto;
    /* align-content: end;
    text-align: center; */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 34px !important;
}

.custom_pagination .page-item.disabled .page-link.btn_pagination {
    color: #c9c9c9 !important;
}

.custom_pagination .dropdown_pagination {
    background-color: #fff !important;
    color: #424242 !important;
    border: 1px solid #c9c9c9 !important;
    border-radius: 10px;
    padding: 3px 24px 3px 12px;
    font-size: var(--fs_body_2);
}

.custom_pagination .dropdown-menu {
    border: 1px solid #c9c9c9 !important;
    min-width: fit-content;
    width: 100% !important;
    height: auto !important;
    max-height: 150px !important;
    overflow-y: auto !important;
}

.custom_pagination .dropdown-toggle:after {
    content: "\f0d7";
    font-family: 'Font Awesome 7 Free';
    font-weight: 900;
    font-size: 14px;
    color: #424242;
    pointer-events: none;
    border: none !important;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.custom_pagination .dropdown-item:hover {
    background-color: #278c53 !important;
    color: #fff !important;
}

.custom_pagination .home_swipper .swiper-pagination-bullet-active,
.custom_pagination .swiper-pagination2 .swiper-pagination-bullet-active {
    background-color: #000;
    width: 28px !important;
    height: 10px !important;
    border-radius: 5px;
}

.custom_pagination .home_swipper .swiper-pagination-bullet,
.custom_pagination.swiper-pagination2 .swiper-pagination-bullet {
    height: 10px;
    width: 10px;
}