/****************************************
TCE by CMNice Solutions. *
****************************************/

/******** Fonts ********/
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@100;200;300;400;500;600;700;800;900&display=swap');
@font-face {
    font-family: 'Adobe';
    src: url('fonts/Adobe Thai Regular.otf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
/* Mobile */
@media screen and (max-width: 994px) {
    .header-contain {
        position: relative !important;
    }

    .header-mb {
        background: #fff;
    }

    .header-mb p {
        font: 14px/1.4 'Kanit', sans-serif;
        color: #fff;
        font-weight: 300;
    }

    .header-mb h1 {
        font: 28px/1.6 'BebasNeue', sans-serif !important;
        color: #000;
        font-weight: 300;
    }


    .mobile-logo {
        height: 88px !important;
    }

    .navbar-expand-lg {
        background-color: #fff !important;
    }

    .nav-item {
        border-bottom: 2px solid #EF4322;
    }

    .nav-item .nav-link {
        font: 18px/1.6 'BebasNeue', sans-serif !important;
        color: #6e6e6d !important;
        font-weight: 300 !important;
    }

    .navbar-nav .show {
        background-color: #000 !important;
        color: #6e6e6d !important;
    }

    .navbar-nav .dropdown-menu {
        /* background-color: #5F800C !important; */
        color: #6e6e6d !important;
    }

    .nav-item .dropdown-menu .dropdown-item {
        color: #6e6e6d !important;
        font-size: 18px !important;
        line-height: 1.6 !important;
    }

    .nav-item .dropdown-menu .mb-dropdown-item {
        font-size: 12px !important;
    }

    /**/
    .team-item-text {
        min-height: 7rem !important;
    }

  
    /**/
    .service-block {
        height: 310px !important;
    }

    .service-block .mask {
        background: rgba(0, 85, 167, 0.75) !important;

    }

    .service-block .mask h3,
    .service-block .mask p {
        color: #fff !important;
    }

    .service-detail-contain-bg {
        background-size: auto 100% !important;
    }
}

/* Desktop */
body {
    background: #fff;
}

/* Page Container */
.container {
    max-width: 1240px;
}

/* Content Container */
.content_container {
    position: relative;
}

/* Content Wrapper Container */
.logo {
    position: relative;
}

.top-contact {
    /* position: absolute; */
    font-family: 'Kanit', sans-serif;
    background: #0E2142;
}

.top-contact a{
    /* position: absolute; */
    font-family: 'Kanit', sans-serif;
    text-decoration: none;
}

.top-contact p {
    font: 16px/1.4 'Kanit', sans-serif;
    color: #fff;
    font-weight: 300;
    margin-bottom: 0 !important;
}

.vertical.carousel .carousel-item {
    overflow: hidden;
}

.vertical.carousel .carousel-item-next:not(.carousel-item-start),
.vertical.carousel .active.carousel-item-end {
    transform: translateY(100%);
}

.vertical.carousel .carousel-item-prev:not(.carousel-item-end),
.vertical.carousel .active.carousel-item-start {
    transform: translateY(-100%);
}

.vertical.carousel .carousel-indicators {
    top: 0;
    left: unset;

    margin-left: unset !important;
    margin-right: 1rem;

    flex-direction: column;
}

.vertical.carousel .carousel-indicators [data-bs-target] {
    height: 30px;
    width: 3px;
}

.vertical.carousel .carousel-control-prev,
.vertical.carousel .carousel-control-next {
    width: 100%;
    height: 60px;
}

.vertical.carousel .carousel-control-prev-icon,
.vertical.carousel .carousel-control-next-icon {
    transform: rotateZ(90deg);
}

.vertical.carousel .carousel-control-next {
    top: unset;
    bottom: 0;
}

.bg-zoom-effect {
transition: transform 0.4s ease, box-shadow 0.3s ease;
will-change: transform;
cursor: pointer;
}
.bg-zoom-effect:hover,
.bg-zoom-effect:focus,
.bg-zoom-effect:active {
transform: scale(1.05);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.img-wrapper {
overflow: hidden;
border-radius: 0; /* หรือใช้ 1rem ถ้าอยากให้มีมุมโค้ง */
}

/* กำหนดขนาด slide */
.carousel-img-wrapper {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay */
.carousel-img-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero-box {
    font-family: 'Kanit', sans-serif;
    z-index: 2;
    right: 18%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 22px;
    max-width: 485px;
    color: #fff;
    text-align: center;
}
.hero-box h1 {
    font-family: 'Kanit', sans-serif;
    font-size: 28px;
    font-weight: 200;
    line-height: 1.4;
    margin-bottom: 15px;
}

.hero-box p {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.95;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 25px;
}


.hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 12px 24px;
    border-radius: 12px;

    font-family: 'Kanit', sans-serif;
    font-size: 15px;
    font-weight: 300;

    color: #ffffff;
    border: none;
    cursor: pointer;

    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* =========================
   BUTTON COLORS
========================= */
.btn-quote {
    background-color: #ef4f14;
}

.btn-line {
    background-color: #61C347;
}

/* =========================
   HOVER / FOCUS / ACTIVE
   (กัน Bootstrap ทับ)
========================= */
.btn-quote:hover,
.btn-quote:focus,
.btn-quote:active {
    background-color: #ef4f14;
    color: #ffffff;
    transform: scale(1.06);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

.btn-line:hover,
.btn-line:focus,
.btn-line:active {
    background-color: #61C347;
    color: #ffffff;
    transform: scale(1.06);
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
}

/* =========================
   MOBILE: ปุ่มเรียงลง
========================= */
@media (max-width: 767px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 260px;
    }
}
@media (max-width: 1368px) {
   .hero-box {
    font-family: 'Kanit', sans-serif;
    z-index: 2;
    right: 5%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 22px;
    max-width: 620px;
    color: #fff;
    text-align: center;
}


}
@media (max-width: 767px) {
    .carousel-img-wrapper {
        height: 70vh;
    }

    .hero-box {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
        width: 90%;
        padding: 20px;
        text-align: center;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-box h1 {
        font-size: 18px;
    }

    .hero-box p {
        font-size: 13px;
    }
}


.btn-close-custom {
    background: #dc3545;         /* สีแดง (Bootstrap danger) */
    color: #fff;
    border: none;
    border-radius: 50%;          /* ทำให้เป็นปุ่มวงกลม */
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: 0.3s;
}
.btn-close-custom:hover {
    background: #bb2d3b;         /* สีแดงเข้มขึ้นเวลา hover */
    transform: rotate(90deg);    /* หมุนเล็กน้อยตอน hover */
}



.fa-stack[data-count] {
    cursor: pointer;
}

.fa-stack[data-count]:after {
    position: absolute;
    right: 0%;
    top: -5px;
    width: 15px;
    height: 15px;
    content: attr(data-count);
    font: 11px/14px 'Noto Sans SC', sans-serif !important;
    border-radius: 50%;
    text-align: center;
    font-weight: 700 !important;
    background: #fff;
    color: #fff;
}
/*lightbox*/

.lightbox {
    position: relative;
    background-color: #000;
    font: 24px 'BebasNeue', 'Kanit';
  }

  .image {
    opacity: 1;
    display: block;
    width: 100%;
    /* height: 350px; */
    transition: .5s ease;
    backface-visibility: hidden;
  }
  
  .middle {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
  }
  
.middle a {
    font: 24px 'BebasNeue', 'Kanit';
  }


.middle h1 {
    font: 55px/1 'BebasNeue', 'Kanit';
    color: #F7A31F;
}

.middle p {
    font: 24px/1 'BebasNeue', 'Kanit';
    color: #fff;
}
  .lightbox:hover .image {
    opacity: 0.3;
  }
  
  .lightbox:hover .middle {
    opacity: 1;
    
  }
  
  .lightbox-text {
    background-color: #F7A31F;
    color: white;
    font: 18px 'BebasNeue', 'Kanit';
    padding: 16px 32px;
    border-radius: 25px;
  }
/* Partner */
.swiper-slide {
    font-size: 14px;
    font: 14px/1 'Kanit', sans-serif;
}

/* Swiper*/
.swiper-arrow-contain {
    width: 50px !important;
    height: 20px;
    display: block;
    margin: 0 auto;
    text-align: center;
    position: relative;
}



.swiper-arrow-contain .swiper-button-prev,
.swiper-arrow-contain .swiper-button-next {
    width: 20px;
    height: 20px;
    border: 1px solid #2d75fd;
    background-color: #001c37;
    text-align: center;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}

.swiper-arrow-contain .swiper-button-prev {
    left: 0;
}

.swiper-arrow-contain .swiper-button-next {
    right: 0;
}

:root {
    --swiper-navigation-size: 10px !important;
}


/* Header */
/* .header-contain {
    position: absolute;
    top: 0;
    z-index: 99;
    background-color: rgba(255, 255, 255, 0.75);
}  ทำให้อยู่ชิดบนสุด*/
.header-contain {
    position: relative;
    z-index: 99;
    background-color: #fff;
}

.header_container {
    position: relative;
    font-family: 'BebasNeue', Kanit;
}

.header_container p {
    font: 18px/1 'BebasNeue', Kanit;
    /* color: #624827; */
    font-weight: 300;
}

.header_menu {
    position: relative;
    background-color: #f8f8f8;
    font-family: 'BebasNeue', Kanit;
}

.header_container .btn-sm {
    font: 14px/1 'BebasNeue', Kanit;
}

.header-nav {
    background: #fff;
    /* position: absolute; */

}

.line-top {
    border-top: 5px solid #C11C1B;
    width: 200px;
}

.line-top-product {
    border-top: 5px solid #C11C1B;
    width: 160px;
}

.rslides {
    box-sizing: border-box;
    padding: 0px !important;
}

.rslides li {
    text-align: center;
}

.rslides img {
    display: block;
    float: none;
    width: auto;
    max-width: 100%;
    border: 0;
    text-align: center;
    margin: 0 auto;
}

.fixed-top {
    background: #fff;
    /*background: linear-gradient(90deg, rgba(31,87,34,1) 0%, rgba(33,105,43,1) 35%, rgba(33,118,50,1) 100%);*/
}

#carouselCaptions {
    border: 0px solid #fff;
    overflow: hidden;
}

/* Lang */

.bg-boxlang {
    background-color: #0E2142 !important;
    border-radius: 0px !important;
    /* border: 1px solid #fff; */
    color: #fff;
}

.bg-boxlang:hover {
    background-color: #0E2142 !important;
    border-radius: 0px !important;
    /* border: 1px solid #fff; */
    color: #fff;
}

.main_menu {
    width: 100%;
    text-align: right;
    list-style: none;
    display: block;
}

.main_menu li {
    display: inline-block;
    /* border: 1px solid #eb2031; */
    vertical-align: top;
    margin: 0 10px;
}

.main_menu li a {
    font: 20.64px/32px 'supermarket';
    color: #fff;
    padding: 0 5px;
}

.main_menu li:hover {
    background-color: #fde7e8;
    border: 1px solid #000;
}

.main_menu li:hover a {
    color: #5F800C;
}

#menu_active {
    background-color: #fde7e8;
    border: 1px solid #000;
}

#menu_active a {
    color: #5F800C;
}

.submenu {
    width: 792px;
    position: absolute;
    top: 91px;
    right: 0;
    background-color: #000;
    z-index: 9;
    list-style: none;
    display: block;
    box-sizing: border-box;
    padding-left: 20px;
    text-align: center;

}

.submenu li {
    display: inline-block;
    border: 0;
    margin: 0 5px;
    position: relative;
}

.submenu li a {
    font: 14.55px/34px 'supermarket';
    color: #fff;
}

.submenu li #submenu {
    width: 120px;
    position: absolute;
    top: 34px;
    left: -10px;
    opacity: 0;
    transition: visibility 0s, opacity 0.2s linear;
}

.submenu li:hover #submenu {
    opacity: 1;
}

.submenu li #submenu li {
    width: 100%;
    /* background-color: #ff3333; */
    margin: 0;
    padding: 0 10px;
    text-align: left;

}

.submenu li #submenu li a {
    /* color: #6e6e6d; */
    color: #7b9067;
}
/* =====================================================
   BASE NAVBAR & MENU
===================================================== */

.main-menu {
    gap: 10px;
}

.main-menu .nav-item {
    position: relative;
}

/* -----------------------------------------------------
   MENU LINK
----------------------------------------------------- */
.main-menu .nav-link {
    font-family: 'Kanit', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1;
    color: #080098;
    padding: 6px 0;
    position: relative;
    transition: color 0.3s ease;
    text-decoration: none;
}

/* Hover */
.main-menu .nav-link:hover {
    color: #ef4f14;
}

/* Active */
.main-menu .nav-link.active {
    color: #ef4f14;
    font-weight: 400;
}

/* -----------------------------------------------------
   UNDERLINE EFFECT
----------------------------------------------------- */
.main-menu .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background-color: #ef4f14;
    transition: width 0.35s ease;
}

.main-menu .nav-link:hover::after,
.main-menu .nav-link.active::after {
    width: 100%;
}

/* -----------------------------------------------------
   SEPARATOR "/"
----------------------------------------------------- */
.main-menu .nav-item:not(:last-child)::after {
    content: "/";
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 0, 0, 0.3);
    font-weight: 200;
}

/* =====================================================
   DROPDOWN (PRODUCT)
===================================================== */

.nav-icon-item {
    position: relative;
}

.hassub,
.hassub ul {
    transition: all 0.25s ease-in-out;
}

/* Main dropdown */
.nav-icon-item > ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 320px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    padding: 8px 0;
    z-index: 2048;

    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Show dropdown */
.nav-icon-item:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown item */
.nav-icon-item ul li {
    list-style: none;
    padding: 10px 16px;
    transition: background 0.2s ease;
}

.nav-icon-item ul li a {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #333;
    text-decoration: none;
}

.nav-icon-item ul li a i {
    margin-right: 8px;
    color: #080098;
    transition: transform 0.2s ease;
}

.nav-icon-item ul li:hover {
    background: #f5f5f5;
    border-radius: 6px;
}

.nav-icon-item ul li:hover a i {
    transform: translateX(3px);
}

/* =====================================================
   SUB MENU
===================================================== */
.nav-icon-item ul li ul {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    padding: 8px 0;
    z-index: 2050;

    opacity: 0;
    visibility: hidden;
    transform: translateX(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-icon-item ul li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* =====================================================
   ICON & IMAGE EFFECT
===================================================== */

.nav-icon-item a img {
    width: 25px;
    margin-right: 6px;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.nav-icon-item a:hover img {
    transform: scale(1.05);
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 768px) {

    .main-menu .nav-item::after {
        display: none;
    }

    .nav-icon-item > ul,
    .nav-icon-item ul li ul {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

}
html {
    scroll-behavior: smooth;
}
.dropdown-toggle::after {
    vertical-align: 0.1em !important;
}

.nav-mb-button {
    font-size: 30px;
}

/**/
.navbar,
.navbar-nav .dropdown {
    position: inherit !important;
}

.dropdown-menu-detail {
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;
}

.dropdown-menu-detail h3 {
    font-size: 18px;
}

.dropdown-menu-detail p {
    font-size: 14px;
}

.black-nav {
    z-index: 5;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    font-family: 'Kanit', sans-serif;
}

.black-nav .nav-link {
    font: 14px/1 'Kanit', sans-serif;
    color: #000;
    font-weight: 300;
}

/* position dots in carousel */
.flickity-page-dots {
    bottom: 10px !important;
}

/* white circles */
.flickity-page-dots .dot {
    width: 12px !important;
    height: 12px !important;
    opacity: 1 !important;
    background: transparent !important;
    border: 2px solid white !important;
}

/* fill-in selected dot */
.flickity-page-dots .dot.is-selected {
    background: white !important;
}

.carousel-cell {
    width: 100%;
    margin-right: 10px;
}

/* Services */
.s-box {
    position: relative;
}

.s-box .img {
    /* position: relative; */
    /* width: 100px;
    height: 100px; */
    background-color: white;
    border-radius: 50%;
    border: 5px solid #ccc;
}

/* Circle list */
.circle-list {
    position: relative;
}

.circle-list h1 {
    font: 29px/1 'Kanit', sans-serif;
    font-weight: 500;
    color: #3b1413;
}

.circle-list h2 {
    font: 14.96px/1.3 'Kanit', sans-serif;
    font-weight: 500;
    color: #d0a051;
    text-transform: uppercase;
}

.circle-list h3 {
    font: 15.55px/1 'Kanit', sans-serif;
    font-weight: 700;
    color: #3b1413;
}

.circle-list p {
    font: 15.03px/1.2 'Kanit', sans-serif;
    font-weight: 400;
    color: #3b1413;
}

.circle-list a {
    font: 13.89px/1 'Kanit', sans-serif;
    font-weight: 400;
    color: #e8645a;
    text-decoration: none;
}

/* Pager */
.paging {
    font: 14px/1 'Kanit', sans-serif;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;           /* สำคัญมาก */
    gap: 6px;                  /* ระยะห่างแทน margin */
    margin: 15px 0;
}

.paging a,
.paging span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-weight: 300;
    white-space: nowrap;       /* กันคำยาว */
}

.paging a {
    background-color: #fff;
    color: #000;
    text-decoration: none;
}
.paging em {
    display: inline-flex;
}
.paging em {
    margin: 0;      /* กัน margin แปลก */
    padding: 0;
    font-style: normal; /* ไม่เอาตัวเอียง */
}
.paging em a {
    display: inline-flex;
}

.paging span.current {
    background-color: #ef4f14;
    border-color: #ef4f14;
    color: #fff;
}

.paging span.disabled {
    color: #ccc;
    border-color: #eee;
}
@media (max-width: 480px) {
    .paging {
        gap: 4px;
    }

    .paging a,
    .paging span {
        min-width: 28px;
        height: 28px;
        font-size: 12px;
        padding: 0 6px;
    }

    /* ปุ่ม หน้าแรก / สุดท้าย */
    .paging .first,
    .paging .prev {
        padding: 0 10px;
        font-size: 12px;
    }
}



/* gallery Container */
.gallery-container {
    font-family: 'Kanit', sans-serif;
    background-color: #F7F7F7;
}
.gallery-container p {
    font: 15.03px/1.2 'Kanit', sans-serif;
    font-weight: 300;
    color: #000;
}


.gallery-container h1 {
    font: 35px/1 'Kanit', sans-serif;
    font-weight: 200;
    line-height: 1.5em;
    color: #fff;
}
.gallery-container a {
    font: 13.89px/1 'Kanit', sans-serif;
    font-weight: 400;
    text-decoration: none;
    color: #fff;
}

/* partner Container */
.partner-container {
    font-family: 'Kanit', sans-serif;
}

.partner-container h1 {
    font: 28px/1 'Kanit', sans-serif;
    font-weight: 200;
    line-height: 1.5em;
    color: #04004F;
}
.news-box,
.news-box button {
    position: relative;
    z-index: 2;
    font: 16px/1.4 'Kanit', sans-serif;
    text-decoration: none;

}

.news-box p {
    font: 14px 'Kanit', sans-serif;
    /* font-size: 14px; */
    line-height: 2em;
    font-weight: 300;
    color: #1F237C;
}
.news-box h1 {
    font: 14px/1.4 'Kanit', sans-serif;
    color: #000;
    text-decoration: none !important;
}
.news-box h2 {
    font: 14px 'Kanit', sans-serif;
    color: #797979;
    text-decoration: none !important;
}
.news-box h3 {
    font: 38px 'Kanit', sans-serif;
    color: #fff;
}
.news-box h4 {
    font: 18px 'Kanit', sans-serif;
    color: #fff;
}


/**/
/* Product */
.product-img-content{
	width: 100%;
	height: 15em;

}

/* Product Container */
.Product-container {
    /* background: url(../images/cover/bg-product.png) center no-repeat;
    background-size: cover; */
    /* background-attachment: fixed; */
    background-color: #F3F3F3;
    font-family: 'Kanit', sans-serif;
}
.Product-container p {
    font: 16px/1.5 'Kanit', sans-serif;
    font-weight: 200;
    color: #4b504a;
    text-decoration: none;
}
.Product-container h1 {
    font: 36px/1.2 'Kanit', sans-serif;
    font-weight: 200;
    color: #4b504a;
}
.Product-container h2 {
    font: 18px/1 'Kanit', sans-serif;
    font-weight: 200;
    color: #4b504a;
}

.Product-container h3 {
    font: 14px/1.5 'Kanit', sans-serif;
    font-weight: 300;
    color: #fff;

}

.Product-container li {
    font: 16px/1.4 'Kanit', sans-serif;
    font-size: 14px;
    color: #666;
    text-decoration: none !important;
}


.Product-container a {
    font: 16px/1 'Kanit', sans-serif;
    font-weight: 300;
    text-decoration: none;
    color: #4b504a;
}

.Product-container a:hover {
    font: 16px/1 'Kanit', sans-serif;
    font-weight: 300;
    text-decoration: none;
    color: #0f039d;
}
/* Mobile */
@media (min-width: 330px) and (max-width: 740px) {

    .Product-container h1 {
        font: 32px/1.3 'Kanit', sans-serif;
        font-weight: 200;
        color: #4b504a;
    }
    .Product-container h2 {
        font: 16px/1.3 'Kanit', sans-serif;
        font-weight: 300;
        color: #4b504a;
    }
}

.product-left-nav {
    max-height: 350px;
    overflow-y: auto;
    border-left: 2px solid #0f039d; /* แยกชัดเจน */
    padding-left: 10px;
}

/* กล่องสินค้า */
.product-card {
    border-radius: 12px;      
    overflow: hidden;          
    /* ลบ transform ของตัวกล่องออก */
}

/* กล่องรูปสินค้าแบบ 4:3 */
.product-img-wrapper {
    overflow: hidden;
    border-radius: 12px 12px 0 0; 
    aspect-ratio: 4 / 3;  /* หรือใช้ class ratio-4x3 */
    width: 100%;
    background-color: #f0f0f0;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;        
    display: block;
    transition: transform 0.5s ease; /* ทำให้ซูมช้าๆ */
}

/* Product page */
.Product-page {
 
    background-color: #e8e8e8;
    font-family: 'Kanit', sans-serif;
}
.Product-page p {
    font: 16px/1.5 'Kanit', sans-serif;
    font-weight: 200;
    color: #4b504a !important;
    text-decoration: none;
}
.Product-page h1 {
    font: 38px/1.5 'Kanit', sans-serif;
    font-weight: 100;
    color: #4b504a;
}
.Product-page h2 {
    font: 18px/1 'Kanit', sans-serif;
    font-weight: 300;
    color: #0f039d;
}

.Product-page h3 {
    font: 20px/1 'Kanit', sans-serif;
    font-weight: 300;
    color: #ef4f14;

}
.Product-page li {
    font: 16px/1.4 'Kanit', sans-serif;
    font-size: 14px;
    color: #4b504a;
    text-decoration: none !important;
}
.Product-page a {
    font: 16px/1 'Kanit', sans-serif;
    font-weight: 300;
    color: #000;
    text-decoration: none !important;

}

.Product-page a:hover {
    font: 16px/1 'Kanit', sans-serif;
    font-weight: 400;
    text-decoration: none;
    color: #0f039d;
}
/* Zoom มากขึ้นเวลา hover */
.product-card:hover .product-img {
    transform: scale(1.15); /* ซูม 15% */
}

/* ข้อความด้านล่าง */
.product-name {
    background-color: #728873; 
    color: #fff;
    padding: 0.5rem 1rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}
.product-link-shopping a img {
	/* width: 245px; */
	transition: transform 0.3s ease;
	z-index: 9;
	/* margin-right: 6px; */
	vertical-align: middle;
}

.product-link-shopping a:hover img {
	transform: scale(1.1);
}

.product-card:hover .product-name {
    background-color: #2e4531; 
}
.category-card {
    transition: all 0.3s ease;
}
.category-card:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}
.hover-bg:hover {
    background: #f8f9fa;
}
.hover-sub:hover {
    background: #e9ecef;
    color: #000 !important;
}
.arrow-icon {
    font-size: 1rem;
    color: #4E6B2F; /* สีลูกศร */
    transition: transform 0.3s ease; /* ทำให้หมุนลื่น */
}
.arrow-rotate {
    transform: rotate(180deg); /* หมุนขึ้น */
}
.product-card2 {
    position: relative;
    display: block;
    height: 520px;
    border-radius: 18px;
    overflow: hidden;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #0b1323;
    text-decoration: none;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* overlay หลัก */
.product-card2 .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(20, 25, 35, 0.7) 0%,
        rgba(20, 25, 35, 0.45) 40%,
        rgba(20, 25, 35, 0.15) 70%,
        rgba(20, 25, 35, 0) 100%
    );
    /* backdrop-filter: grayscale(90%); */
    transition: 0.4s ease;
    z-index: 1;
}

/* เนื้อหา */
.product-card2 .card-content {
    position: relative;
    z-index: 2;
    height: 100%;                 /* ใช้เต็มความสูงการ์ด */
    padding: 28px;
    display: flex;
    align-items: flex-end;        /* ดันลงล่าง */
}

/* กล่องข้อความ */
.product-info {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
}

/* ชื่อ */
.product-info h3 {
    font-family: 'Kanit', sans-serif;
    font-size: 20px;
    font-weight: 300;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.25;
}

.product-info p {
    font-family: 'Kanit', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

/* VIEW */
.product-info .view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 1px;
}

.product-info .arrow {
    display: inline-block;
    transform: translateX(0);
    transition: 0.3s ease;
    color: #00e5ff;
}

.product-card2:hover .arrow {
    transform: translateX(6px);
}


/* hover effects */
.product-card2:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.product-card2:hover .card-overlay {
    backdrop-filter: grayscale(0%);
    background:
        linear-gradient(
            90deg,
            rgba(5,10,20,0.55) 0%,
            rgba(5,10,20,0.25) 35%,
            rgba(5,10,20,0.05) 65%,
            rgba(5,10,20,0) 100%
        );
}

.product-card2:hover .product-info {
    transform: translateX(0);
    opacity: 1;
}

.product-card2:hover .view-btn::before {
    width: 14px;
}
[data-sal] {
    transition-property: transform, opacity;
}

[data-sal="slide-up"] {
    transform: translateY(40px);
    opacity: 0;
}

[data-sal="slide-up"].sal-animate {
    transform: translateY(0);
    opacity: 1;
}
@media (max-width: 768px) {

    .product-card2 {
        height: 280px;
        background-position: center;
    }

    .product-card2 .card-overlay {
        background: linear-gradient(
            180deg,
            rgba(5,10,20,0.2) 0%,
            rgba(5,10,20,0.75) 70%
        );
    }

    .product-card2 .card-content {
        align-items: flex-end;
    }

    .product-info {
        max-width: 100%;
        transform: none;
    }

    .product-info h3 {
        font-size: 18px;
    }
}
/* ==============================
   PRODUCT CARD (CLEAN VERSION)
   ============================== */

/* ให้ card สูงเท่ากัน */
/* .list-box {
    display: flex;
} */

/* ตัวการ์ด */
.product-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* hover การ์ด */
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

/* ==============================
   IMAGE
   ============================== */
.product-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f2f2f2;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* zoom รูปตอน hover */
.product-card:hover .product-thumb img {
    transform: scale(1.12);
}

/* ==============================
   BODY
   ============================== */
.product-body {
    padding: 16px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #ffffff;
}

/* ชื่อสินค้า */
.product-title {
    font-size: 16px;
    font-weight: 500;
    color: #2c2c2c !important;
    line-height: 1.4;
    margin: 0;

    /* จำกัด 2 บรรทัด */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ดูรายละเอียด */
.product-view {
    font-size: 14px;
    color: #0f039d;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    transition: all 0.3s ease;
}

/* ลูกศรขยับ */
.product-card:hover .product-view {
    gap: 10px;
}

/* ==============================
   MOBILE
   ============================== */
@media (max-width: 768px) {

    .product-title {
        font-size: 15px;
    }

    .product-body {
        padding: 14px;
    }
}

/* NEWS Container */
.news-container {
    position: relative;
    background-size: cover;
    z-index: 2;
    font-family: 'Kanit', sans-serif;
}

.news-container h1 {
    font: 36px/1.2 'Kanit', sans-serif;
    font-weight: 200;
    color: #4b504a;
}

.news-container h2 {
    font: 16px/1.2 'Kanit', sans-serif;
    font-weight: 200;
    color: #000;
    line-height: 1.5em;
}

.news-container h3 {
    font: 14px/1 'Kanit', sans-serif;
    font-weight: 200;
    color: #000;
    line-height: 1.5em;
}

.news-container h3 i {
    color: #ef4f14;
}

.news-container p {
    font: 15.03px/1.2 'Kanit', sans-serif;
    font-weight: 300;
}

.news-container a {
    font: 13.89px/1 'Kanit', sans-serif;
    font-weight: 400;
    text-decoration: none;
    color: #000;
}
/* ===== NEWS CARD ===== */
.news-card {
    display: block;
    height: 100%;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0,0,0,0.12);
    transition: 0.35s ease;
}

/* ภาพข่าว */
.news-img {
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

/* content */
.news-content {
    padding: 18px 20px 22px;
    font-family: 'Kanit', sans-serif;
}

/* title */
.news-title {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.4;
    color: #000;
    margin-bottom: 8px;
}

/* date */
.news-date {
    font-size: 13px;
    font-weight: 300;
    color: #666;
    margin-bottom: 10px;
}

.news-date i {
    color: #ef4f14;
    margin-right: 4px;
}

/* description */
.news-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 14px;
}

/* read more */
.news-readmore {
    font-size: 14px;
    font-weight: 400;
    color: #ef4f14;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.news-readmore .arrow {
    transition: transform 0.3s ease;
}

/* ===== HOVER EFFECT ===== */
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 38px rgba(0,0,0,0.18);
}

.news-card:hover .news-img {
    transform: scale(1.08);
}

.news-card:hover .news-readmore .arrow {
    transform: translateX(6px);
}
@media (max-width: 768px) {
    .news-title {
        font-size: 17px;
    }

    .news-desc {
        font-size: 14px;
    }
}


.news-item h2 {
    font: 24px/1 'Kanit', sans-serif;
    font-weight: 300;
}

.news-item h3 {
    font: 18px/1 'Kanit', sans-serif;
    font-weight: 300;
}

.news-item h4 {
    font: 15px/1 'Kanit', sans-serif;
    font-weight: 300;
}

.news-item h5 {
    font: 12px/1 'Kanit', sans-serif;
    font-weight: 300;
}

.all-link1 {
    font: 14px/1 'Kanit', sans-serif;
    font-weight: 400;
    color: #000;
    text-decoration: none;
}

.all-link2 {
    font: 14px/1 'Kanit', sans-serif;
    font-weight: 400;
    color: #e8645a;
    text-decoration: none;
}

.all-link1:hover,
.all-link2:hover {
    color: inherit;
}


/* project */
.project-container {
    /* background-color: #042345; */
    font-family: 'Kanit', sans-serif;
}
.project-container p {
    font: 16px/1.5 'Kanit', sans-serif;
    font-weight: 200;
    color: #4b504a;
    text-decoration: none;
}
.project-container h1 {
    font: 36px/1.2 'Kanit', sans-serif;
    font-weight: 200;
    color: #fff;
}
.project-container h2 {
    font: 18px/1.5 'Kanit', sans-serif;
    font-weight: 200;
    color: #fff;
    margin-bottom: 0;
}

.project-container h3 {
    font: 18px/1.5 'Kanit', sans-serif;
    font-weight: 300;
    color: #000;

}
.project-container h4 {
    font: 28px/1.5 'Kanit', sans-serif;
    font-weight: 200;
    color: #000;
}
.project-container h5 {
    font: 20px/1.5 'Kanit', sans-serif;
    font-weight: 200;
    color: #000;
}
.project-container li {
    font: 16px/1.4 'Kanit', sans-serif;
    font-size: 14px;
    color: #4E6B2F;
    text-decoration: none !important;
}


.project-container a {
    font: 16px/1 'Kanit', sans-serif;
    font-weight: 300;
    text-decoration: none;
    color: #4b504a;
}
/* ===== Project Item Modern ===== */
.project-item {
    position: relative;
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #eee;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s ease;
    /* min-height: 80px;   ปรับได้ตามดีไซน์ */

}

/* link เต็มกล่อง */
.project-item a {
    height: 100%;
    display: flex;
    align-items: center;      /* กลางแนวตั้ง */
    justify-content: center;  /* กลางแนวนอน */
    position: relative;
}

.project-title {
    margin: 0;
    text-align: center;
}

/* ตัวหนังสือ */
.project-item h2 {
    color: #000;
    font: 18px/1.3 'Kanit', sans-serif;
    font-weight: 300;
    position: relative;
    z-index: 2;
    transition: color 0.35s ease;
}

/* ลูกศร */
.project-item .arrow {
    margin-left: 6px;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.35s ease;
}

/* gradient overlay */
.project-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ef4f14, #ff7a45);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
}

/* ===== Hover Effect ===== */
.project-item:hover::before {
    opacity: 1;
}

.project-item:hover h2 {
    color: #fff;
}

.project-item:hover .arrow {
    opacity: 1;
    transform: translateX(6px);
}

.project-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}
/* เปลี่ยน primary → #ef4f14 */
.text-primary {
    color: #ef4f14 !important;
}

.border-primary {
    border-color: #ef4f14 !important;
}

/* เปลี่ยน success → #042345 */
.text-success {
    color: #042345 !important;
}
/* =========================================
   GLOBAL
========================================= */
.promotion-container {
    font-family: 'Kanit', sans-serif;
}

.promotion-container a {
    text-decoration: none;
    color: inherit;
}

/* =========================================
   PROMOTION CARD
========================================= */
.promotion-card {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 22px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 18px 46px rgba(0,0,0,0.22);
    transition: all 0.4s ease;
}

/* =========================================
   IMAGE (4:3 RATIO)
========================================= */
.promotion-img {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;   /* ⭐ หัวใจของงานนี้ */
    background-size: cover;
    background-position: center;
    transition: transform 0.7s ease;
}

/* Overlay */
.promotion-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.7),
        rgba(0,0,0,0.25),
        rgba(0,0,0,0)
    );
}

/* =========================================
   CONTENT (OVER IMAGE)
========================================= */
.promotion-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 24px 26px;
    color: #fff;
    z-index: 2;
}

/* =========================================
   DATE
========================================= */
.promotion-date {
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.4px;
    margin-bottom: 6px;
    opacity: 0.9;
}

.promotion-date i {
    margin-right: 6px;
    color: #ff8a50;
}

/* =========================================
   TITLE
========================================= */
.promotion-title {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.35;
    margin: 0;
}

/* =========================================
   HOVER EFFECT
========================================= */
.promotion-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 32px 70px rgba(0,0,0,0.35);
}

.promotion-card:hover .promotion-img {
    transform: scale(1.12);
}

/* =========================================
   MOBILE
========================================= */
@media (max-width: 768px) {
    .promotion-title {
        font-size: 18px;
    }

    .promotion-content {
        padding: 18px 20px;
    }
}

/* Lang */
.dd {
    width: 130px !important;
    position: absolute !important;
    top: 5px !important;
    right: 0 !important;
}

.ddlabel {
    font: 20px/20px 'kittithada_roman_55regular';
}

/* Slide */


/* the slides */
.slick-slide {
    margin: 0 15px;
}

/* Flex */

.flex-direction-nav a {
    line-height: normal;
}

/* the parent */
.slick-list {
    margin: 0 -15px !important;
    overflow: visible !important;
}

.slick-slider {
    overflow: hidden !important;
}

.slider {
    width: 100%;
    /* height: 500px; */
    position: relative;
    overflow: hidden;
}

.slide-text-contain {
    /* min-height: 200px; */
    font-family: 'Kanit', sans-serif;
}

.slide-text-contain p {
    font-weight: 300;
    line-height: 1.4;
    font-size: 18px;
}

.slide-text-contain h1 {
    font: 46px/1.4 'Kanit', sans-serif;
    font-weight: 100;
    color: #fff;
}

.slide-text-contain h3 {
    font-size: 26px;
}

.slide-text-contain h4 {
    font-size: 20px;
}
.underline-white {
  display: inline-block;
  position: relative;
  padding-bottom: 5px;
}

.underline-white::after {
  content: "";
  display: block;
  width: 120px;       /* ความยาวเส้น */
  height: 1px;       /* ความหนาเส้น */
  background: #fff;
  /* margin: 6px auto 0;  /*  ให้เส้นอยู่ตรงกลางใต้ข้อความ */
  border-radius: 2px;  /* ทำให้ปลายเส้นโค้งนิดหน่อย */
}
/* Mobile */
@media (min-width: 340px) and (max-width: 740px) {
    .slide-text-contain {
        min-height: 100px;
        font-family: 'Kanit', sans-serif;
    }

    .slide-text-contain p {
        font-weight: 300;
        line-height: 1.4;
        font-size: 18px;
    }

    .slide-text-contain h1 {
        font: 32px/1.4 'Kanit', sans-serif;
        font-weight: 100;
        color: #fff;
    }

    .slide-text-contain h3 {
        font-size: 26px;
    }

    .slide-text-contain h4 {
        font-size: 20px;
    }

}
@media (max-width: 767px) {
     .slide-text-contain {
        min-height: auto;
        font-family: 'Kanit', sans-serif;
    }

    .slide-text-contain h1 {
        font: 26px/1.4 'Kanit', sans-serif;
        font-weight: 100;
        color: #fff;
    }
}

/* social_container*/
.social_container .content_container {
    padding: 15px 0;
    border-top: 1px solid #f5f5f7;
}


/* position dots in carousel */
.flickity-page-dots {
    bottom: 10px !important;
}

/* white circles */
.flickity-page-dots .dot {
    width: 12px !important;
    height: 12px !important;
    opacity: 1 !important;
    background: transparent !important;
    border: 2px solid white !important;
}

/* fill-in selected dot */
.flickity-page-dots .dot.is-selected {
    background: white !important;
}

.header-style1 {
    position: relative;
    width: auto;
    height: auto;
}

.header-style1 h1 {
    font: 19px/1 'Kanit', sans-serif;
    font-weight: 500;
    color: #66cccc;
    margin: 0;
}

.header-style1 h1 span {
    color: #eb2031;
}

.header-style2 {
    font: 23px/1 'Kanit', sans-serif !important;
    font-weight: 500 !important;
    color: #3b1413 !important;
    text-align: center;
    position: relative;
}

.btn-viewmore {
    position: absolute;
    top: 7px;
    right: 67px;
    display: block;
    text-decoration: none;
    font: 12px/1 'Kanit', sans-serif;
    font-weight: 300;
    color: #eb2031;
}

/* Content */
.page-topic {
    font: 24px/38px 'supermarket';
    color: #fff;
    padding: 0 60px;
    margin-bottom: 20px;
    display: inline-block;
    background: linear-gradient(to right, #eb2031 24px, #eb2031 24px, #000000 24px, #000 88%, #000 100%);
    /* W3C */
}

/* page About */
.about_container {
    /* background: url(../images/cover/bg-product.png) center no-repeat;
    background-size: cover;
    background-attachment: fixed; */

    font: 16px/1.5 'Kanit', sans-serif;
    font-weight: 200;
}
.about_container p {
    font: 16px/1.5 'Kanit', sans-serif;
    font-weight: 200;
    color: #fff;

}

.about_container h1 {
    font: 38px 'Kanit', sans-serif;
    font-weight: 100;
    line-height: 1.2;
    color: #003366;
}

.about_container h2 {
    font: 36px/1.4 'Kanit', sans-serif;
    font-weight: 100;
    color: #ef4f14;
}
.about_container h3 {
    font: 36px/1.4 'Kanit', sans-serif;
    font-weight: 100;
    color: #fff;
}
.about_container h4 {
    font: 16px/1.4 'Kanit', sans-serif;
    font-weight: 200;
    color: #fff;
    line-height: 2em;
}
.about_container img {
    max-width: 100%;
    height: auto !important;
}

.about_container a {
    font: 13.89px/1 'Kanit', sans-serif;
    font-weight: 400;
    text-decoration: none;
    /* color: #F7904C; */
}


.about-index {

    font-size: 16px;
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;
    /* height: 800px;     */
}


.about-index h1 {
    font: 38px 'Kanit', sans-serif;
    font-weight: 100;
    line-height: 1.2;
    color: #0D2243;
}

.about-index h2 {
    font-size: 24px;
}

.about-index h3 {
    font: 19px/1.4 'Kanit', sans-serif;
    font-weight: 500;
}


.about-index p {
    font: 16.24px/1.5 'Kanit', sans-serif;
    font-weight: 200;
    color: #000;
}
.about-index a {
    font: 16.24px/1.5 'Kanit', sans-serif;
    font-weight: 200;
    color: #ef4f14;
    text-decoration: none !important;
}

.about-bg {
    background: url(../images/cover/about_06.png) center no-repeat;
    background-size: cover;
    /* height: 700px;
    width: 700px; */
}
/* Mobile */
@media (min-width: 340px) and (max-width: 740px) {
    .about-index h1 {
        font: 26px 'Kanit', sans-serif;
        font-weight: 200;
        color: #2e4531;
    }
    .about-index h2 {
        font-size: 20px;
    }

    .about-index h3 {
        font: 19px/1.4 'Kanit', sans-serif;
        font-weight: 500;
    }


    .about-index p {
        font: 16.24px/1.5 'Kanit', sans-serif;
        font-weight: 200;
        color: #4b504a;
    }

}
.vdo-con {

    font-size: 16px;
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;
    /* height: 800px;     */
}



.plan-index h1 {
    font: 42px/1.4 'BebasNeue', Kanit;
    font-weight: 300;
    color: #fff;
}

.plan-index h2 {
    font-size: 24px;
}

.plan-index h3 {
    font: 19px/1.4 'BebasNeue', Kanit;
    font-weight: 500;
}


.plan-index p {
    font: 16.24px/1.6 'Kanit', sans-serif;
    font-weight: 300;
    color: #fff;
    line-height: 1.5em;
}



/* overview */
.overview {
    font-size: 18px;
    font-family: 'BebasNeue', Kanit;
    /* line-height: 1.4; */
    /* height: 800px;     */
}


.overview h1 {
    font: 42px/1.4 'BebasNeue', Kanit;
    font-weight: 300;
    color: #75aeb6;
}

.overview h2 {
    font-size: 16px;
    font-weight: 200;
    color: #000;

}

.overview h3 {
    font: 19px/1.4 'Kanit', sans-serif;
    font-weight: 500;
}


.overview p {
    font: 16.24px/1.6 'BebasNeue', Kanit;
    font-weight: 300;
    color: #fff;
    margin-bottom: 0px;
    /* line-height: 1.5em; */
}

.overview a {
    text-decoration: none !important;
}

.overview button {
    font: 16.24px/1.6 'BebasNeue', Kanit;
    font-weight: 300;
    line-height: 1.5em;
}
/* Desktop */
.video-wrapper {
    --bs-aspect-ratio: 35%;
}

/* Mobile */
@media (max-width: 768px) {
    .video-wrapper {
        --bs-aspect-ratio: 56.25%; /* 16:9 เต็มตา */
    }
}


/* blog */
.blog {
    font-size: 16px;
    font-family: 'BebasNeue', Kanit;
    line-height: 1.4;
    background-color: #fff;
    /* height: 800px;     */
}


.blog h1 {
    font: 28px/1.4 'Kanit', sans-serif;
    font-weight: 300;
    color: #04004F;
    font-weight: 200;
}

.blog h2 {
    font-size: 16px;
    font-weight: 300;
    color: #000
}

.blog h3 {
    font: 36px/1 'Kanit', sans-serif;
    font-weight: 300;
    color: #4E6B2F;
}

.blog h4 {
    font-size: 20px;
    font-weight: 300;
    color: #000;
}



.blog p {
    font: 16.03px/1.5 'Kanit', sans-serif;
    font-weight: 300;
    color: #979797;

}

.blog button {
    font: 16.24px/1.6 'BebasNeue', Kanit;
    font-weight: 300;
    line-height: 1.5em;

}


/* port-content */
.port-content {
    font-size: 16px;
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;
    background-color: #fff;
    /* height: 800px;     */
}


.port-content h1 {
    font: 62px 'Adobe', Kanit;
    font-weight: 200;
    color: #fff;
}

.port-content hr {
 
    color: #999;
}

.port-content h2 {
    font: 20px/1.4 'Kanit', sans-serif;
    /* font-size: 16px; */
    font-weight: 200;
    color: #f1c44d;
    /* line-height: 2em; */
    /* letter-spacing: 1px; */
}

.port-content h3 {
    font: 18px/1.4 'Kanit', sans-serif;
    font-weight: 300;
    color: #fff;
}


.port-content p {
    font: 14.24px/1.6 'Kanit', sans-serif;
    font-weight: 300;
    color: #999999;
    line-height: 1.0em;

}

.port-content button {
    font: 14.24px/1.6 'BebasNeue', Kanit;
    font-weight: 300;
    color: #000;
    line-height: 1.5em;

}


.sharebutton {
    float: right;
    vertical-align: top;

}
.line-content {
    border-top: 4px solid #ef4f14;
    border-radius: 10px;
    width: 100px;
}
.line-qt {
    border-top: 4px solid #fff;
    border-radius: 10px;
    width: 200px;
}
/* ความสูงปกติ (คอมพิวเตอร์) */
.map-wrapper iframe {
    width: 100%;
    height: 450px;
    display: block;
}
/* Contact*/
.contact_container {
    font-size: 16px;
    font-family: 'Kanit', sans-serif;
    /* background-color: #718973; */
    /* background: url(../images/cover/bg-contact.png) center no-repeat;
    background-size: cover; */
    /* background-attachment: fixed; */
}


.contact_container h1 {
    font: 28px/1.3 'Kanit', sans-serif;
    font-weight: 100;
    color: #fff;
}
.contact_container i {
    color: #ef4f14;
}

.contact_container hr {
    color: #999;
}

.contact_container h2 {
    font: 18px 'Kanit', sans-serif !important;
    font-weight: 200 !important;
    color: #fff !important;
    line-height: 1.5em !important;
}

.contact_container h3 {
    font: 20px 'Kanit', sans-serif;
    font-weight: 200;
    color: #000;
}


.contact_container p {
    font: 16px 'Kanit', sans-serif;
    font-weight: 200 !important;
    color: #fff!important;
    line-height: 1.5em;
}
.contact_container a {
    font: 20px 'Kanit', sans-serif;
    font-weight: 300 !important;
    color: #000!important;
    line-height: 1.5em;
}
/* Mobile */
@media (min-width: 330px) and (max-width: 740px) {

    .contact_container h1 {
        font: 28px/1.3 'Kanit', sans-serif;
        font-weight: 100;
        color: #fff;
    }
.contact_container h2 {
    font: 16px 'Kanit', sans-serif !important;
    font-weight: 200 !important;
    color: #fff !important;
    line-height: 1.5em !important;
}
}
/* page contact */
.contact-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.contact-item {
  flex: 1;
  text-align: center;
  padding: 10px 0;
}

.icon {
  width: 65px;
  height: 65px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #ff6600;
  display: flex;
  align-items: center;
  justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;

}
.contact-item a:hover .icon {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.iconproduct {
  width: 65px;
  height: 65px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: #0f039d;
  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item a:hover .iconproduct{
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.title {
  font-size: 20px;
  font-weight: bold;
}

.value {
  font-size: 18px;
  color: #555;
}

.divider {
  width: 1px;
  height: 90px;
  background: #ddd;
}

.green-addr {
    position: relative;
    background-color: #fff;
}

.green-addr h1 {
    font: 18.48px/1 'Kanit', sans-serif;
    font-weight: 500;
    color: #624827;
}

.green-addr p {
    font: 14px/1.4 'Kanit', sans-serif;
    font-weight: 300;
    color: #624827;
}
@media (max-width: 768px) {
  .contact-bar {
    flex-direction: column;
  }

  .contact-item {
    width: 100%;
  }

  .divider {
    width: 80%;
    height: 1px;
    margin: 15px auto;
  }
  .title {
  font-size: 16px;
  font-weight: bold;
}

.value {
  font-size: 14px;
  color: #555;
}
}
/* Article */
.page-title {}


.page-title h1 {
    font: 42px/1.4 'BebasNeue', Kanit;
    font-weight: 300;
    color: #75aeb6;
}

.btn-group li{
    font: 16px/1.4 'BebasNeue', Kanit;
    font-weight: 300;
}

.btn-group  button{
    font: 16px/1.4 'BebasNeue', Kanit;
    font-weight: 300;
}


.article-contain {
    /* background: url(../images/cover/bg-page-about.png) center no-repeat;
    background-size: cover; */
    font-size: 16px;
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;    
}

.article-contain hr {
    color: #b0b8b9a0 !important;
    border-top-width: 1px;
    opacity: 1;
}

.article-contain label {
    font-weight: 400;
}

.article-contain a {
    font-size: 16px;
    color: #000;
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;
    text-decoration: none;   
}
.article-contain h1 {
    font: 28px/1.4 'Kanit', sans-serif;
    font-weight: 300;
    color: #012849;
}

.article-contain h2 {
    font: 14px/1.4 'BebasNeue', Kanit;
    font-weight: 300;
    color: #999;
}

.article-contain h3 {
    font: 18px/1.4 'Kanit', sans-serif;
    font-weight: 300;
}

.article-contain h4 {
    font: 16px/1.4 'BebasNeue', Kanit;
    font-weight: 300;
}

.article-contain h5 {
    font: 14.24px/1.6 'Kanit', sans-serif;
    font-weight: 300;
    color: #012849;
    line-height: 1.5em;
}

.article-contain h6 {
    font: 35px/1 '2005_iannnnnGMO';
}

.article-contain p,
.article-contain li {
    font: 16.24px/1.6 'Kanit', sans-serif;
    font-weight: 300;
    color: #666;
    line-height: 1.5em;

}

/*page portfolio*/

.portfolio-contain {
    background: url(../images/cover/portfolio-bg.png) center no-repeat;
    background-size: cover;
    font-size: 16px;
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;    
}

.portfolio-contain hr {
    color: #012849 !important;
    border-top-width: 1px;
    opacity: 1;
}

.portfolio-contain label {
    font-weight: 400;
}

.portfolio-contain a {
    font-size: 16px;
    color: #000;
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;
    text-decoration: none;   
}
.portfolio-contain h1 {
    font: 48px/1.4 'Adobe', Kanit;
    font-weight: 300;
    color: #012849;
}

.portfolio-contain h2 {
    font: 14px/1.4 'BebasNeue', Kanit;
    font-weight: 300;
    color: #999;
}

.portfolio-contain h3 {
    font: 18px/1.4 'Kanit', sans-serif;
    font-weight: 300;
    color: #ecc44a;
}

.portfolio-contain h4 {
    font: 18px/1.4 'Kanit', sans-serif;
    font-weight: 300;
    color: #999;

}

.portfolio-contain h5 {
    font: 14.24px/1.6 'Kanit', sans-serif;
    font-weight: 300;
    color: #012849;
    line-height: 1.5em;
}


.portfolio-contain p,
.portfolio-contain li {
    font: 14.24px/1.6 'Kanit', sans-serif;
    font-weight: 300;
    color: #666;
    line-height: 1.5em;

}


.p-contain {
    font-size: 16px;
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;
    /* background: #F3F3F3; */

}

.p-contain p {
    font-size: 16px;
    font-family: 'BebasNeue', Kanit;;
    line-height: 1.4;
    /* background: #F3F3F3; */

}


.p-contain hr {
    background: #0071bd;
}

.p-contain h1 {
    font: 42px/1.4 'BebasNeue', Kanit;
    font-weight: 300;
    color: #75aeb6;

}

.p-contain h2 {
    font: 16px 'BebasNeue', Kanit;;
    color: #ff9b62;
    line-height: 1 em;
}


.p-contain a {
    font: 16px 'BebasNeue', Kanit;;
}

/* Welcome */
.welcome-contain {
    background: #fff;
}


/* Service */

.service-contain {
    /* position: relative;
    background: url(../images/cover/bg-page-about.png) center no-repeat;
    background-size: cover; */
    /* box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px; */
    /* z-index: 2; */
    background-color: #F3F3F3;
    font-family: 'Kanit', sans-serif;
}
.service-contain p {
    font: 16px/1.5 'Kanit', sans-serif;
    font-weight: 200;
    color: #4b504a;
    text-decoration: none;
}

.service-contain h1 {
    font: 36px/1.2 'Kanit', sans-serif;
    font-weight: 200;
    color: #4b504a;
}

.service-contain h2 {
    font: 20px/1.4 'Kanit', sans-serif;
    font-weight: 300;
    color: #4b504a;
}

.service-contain a {
    font: 15.89px/1 'Kanit', sans-serif;
    font-weight: 300;
    line-height: 1.5em;
    color: #000;
    text-decoration: none;
}

.service-contain h3 {
    font: 28px/1.4 'Kanit', sans-serif;
    font-weight: 300;
    color: #012849;
}
.underline-green {
  display: inline-block;
  position: relative;
  padding-bottom: 5px;
}

.underline-green::after {
  content: "";
  display: block;
  width: 120px;       /* ความยาวเส้น */
  height: 3px;       /* ความหนาเส้น */
  background: #5d7a4e;
  margin: 6px auto 0;  /* ให้เส้นอยู่ตรงกลางใต้ข้อความ */
  border-radius: 2px;  /* ทำให้ปลายเส้นโค้งนิดหน่อย */
}
@media (max-width: 992px) {
  .service-contain p {
    font: 14px/1.5 'Kanit', sans-serif;
    font-weight: 200;
    color: #4b504a;
    text-decoration: none;
    }
}

.service-container {
    /* position: relative; */
    z-index: 2;
    font-family: 'BebasNeue', Kanit;
    font: 16px/1.4 'BebasNeue', Kanit;
    background-color: #001c37;
}

.service-container p {
    font: 13.89px/1 'BebasNeue', Kanit;
    font-weight: 200;
    color: #000;
    text-decoration: none;
}


.service-container h1 {
    font: 30px/1.4 'BebasNeue', Kanit;
    font-weight: 400;
    color: #000;
}

.service-container h2 {
    font: 16px/1.4 'BebasNeue', Kanit;
    font-weight: 400;
    color: #000;
}

.service-container a {
    font: 13.89px/1 'BebasNeue', Kanit;
    font-weight: 400;
    color: #000;
    text-decoration: none;
}
.accordion-button::after {
			display: none !important; /* ซ่อนลูกศร */
		}
		.accordion-button {
			background: #fff !important;  /* พื้นหลังขาว */
			color: #000 !important;       /* ตัวอักษรดำ */
			box-shadow: none !important;  /* เอาเงาด้านในออก */
		}
		.accordion-button:hover {
			background: #f8f9fa !important; /* hover ให้เปลี่ยนเป็นเทาอ่อน */
			color: #2566CC !important;
		}
        .accordion-button:not(.collapsed) {
            color: #2566CC;
            background-color: #eaf2ff;
            box-shadow: inset 0 -1px 0 rgba(0,0,0,.125);
        }
        .accordion-item {
            border-radius: 12px !important;
            overflow: hidden;
            border: none;
            margin-bottom: 12px;
            box-shadow: 0 2px 6px rgba(0,0,0,0.08);
        }
        .accordion-body {
            background: #ffffff;
            font-size: 0.95rem;
            line-height: 1.6em;
        }
        .accordion-body ul li a {
            text-decoration: none;
            color: #333;
            transition: color 0.2s ease;
        }
        .accordion-body ul li a:hover {
            color: #0f039d;
        }
        .fa-angle-double-right {
            margin-right: 0px;
        }
		.accordion-header a:hover {
		background: #f8f9fa;
		color: #0f039d;
	}
    .answer-row {
        display: flex;
        align-items: flex-start; /* ถ้าข้อความยาวหลายบรรทัดจะดูสวย */
        }



.imgtransparent {
    opacity: 1;
    /* ค่าความจาง */
    filter: alpha(opacity=100);
    /* สำหรับ IE8 ขึ้นไป */
}

.imgtransparent:hover {
    opacity: 0.5;

    /* ค่าความจาง */
    filter: alpha(opacity=40);
    /* สำหรับ IE8 ขึ้นไป */
}

.service-box {
    font-size: 16px;
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;
    font-weight: 200;
    background-color: #001c37;
    /* height: 350px; */

}

.service-box:hover {
    font-size: 16px;
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;
    font-weight: 200;
    background-color: #2d75fd;
    /* height: 350px; */

}

.service-box2 {
    font-size: 24px;
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;
    font-weight: 200;
    background-color: #001c37;

}

.service-box2:hover {
    font-size: 24px;
    font-family: 'Kanit', sans-serif;
    line-height: 1.4;
    font-weight: 200;
    background-color: #2d75fd;

}

.service-box hr {
    color: #CACACA !important;
    /* border-top-width: 2px; */
    border-top: 3px dotted #8c8b8b97;
    opacity: 1;
}

.service-box label {
    font-weight: 400;
}

.service-box h1 {
    font: 30px/1.4 'Kanit', sans-serif;
    font-weight: 400;
}

.service-box h2 {
    font-size: 24px;
}

.service-box p {
    font: 14px/1.4 'Kanit', sans-serif;
    font-weight: 300;
}

.service-box-text-1 {
    font: 18px/1.4 'Kanit', sans-serif;
    font-weight: 500;
    background-color: #EEEFF3;
    height: 380px;
}

.service-box-text-2 {
    font: 18px/1.4 'Kanit', sans-serif;
    font-weight: 500;
    background-color: #679A01;
    height: 400px;

}


.footer_container {
    /* position: relative; */
    z-index: 2;
    font-family: 'Kanit', sans-serif;
    color: #fff;
    background-color: #042345;

}

.footer_container p {
    font: 13px/1.5 'Kanit', sans-serif;
    font-weight: 100 !important;
    color: #fff;

}

.footer_container h1 {
    font: 28px 'Adobe', Kanit; 
    font-weight: 200 !important;
    color: #fff;

}

.footer_container h2 {
    font: 36px 'BebasNeue', Kanit; 
    font-weight: 100 !important;
    color: #fff;
}

.footer_container h3 {
    font: 13px/1.5 'Kanit', sans-serif;
    font-weight: 200;
    color: #4E6B2F;
    
}

.footer_container a {
    font: 13px/1 'Kanit', sans-serif;
    font-weight: 200 !important;
    color: #B2B2B2;
    /* letter-spacing: 1px; */
}
.footer_container a:hover {
    font: 14px/1 'Kanit', sans-serif;
    font-weight: 200 !important;
    color: #4E6B2F;
    /* letter-spacing: 1px; */
}

.footer_box {
    position: relative;
    background-color: #000;

    /* padding-right: 5px; */

}
.footer_box p {
    font: 14px/1 'Kanit', sans-serif;
    color: #fff;
}


.footer_box h3 {
    font: 14px/1 'Kanit', sans-serif;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer_box img.hr1 {
    margin: 4px 0;
    display: block;
}

.footer_container .box1 p {
    margin-bottom: 0;
}

.footer_container .box2 {}

.footer_container .box3 {}

.footer_container .box4 {}

.footer_container .box5 {}

.footer_container ul {
    list-style: none;
    text-align: left;
    padding-left: 0;
}

.footer_container ul li {
    display: block;
}

.footer_container ul li a {
    font: 16px 'BebasNeue', Kanit; 
    font-weight: 400;
    text-decoration: none;
    color: #fff;
}



.footer {
    position: relative;
}

.footer p {
    font: 13.79px/1 'Kanit', sans-serif;
    font-weight: 200;
}

/* Websetting */
.bg-blue-1 {
    background-color: #0071bd;
}

.bg-blue-2 {
    background-color: #0071bd;
}

.bg-soft-gray-1 {
    background-color: #f8f8f8;
}

.bg-soft-gray-2 {
    background-color: #ccc;
}

.font-color-orange {
    color: #ff9900;
}

.font-color-blue {
    color: #0071bd;
}

.font-color-gray-1 {
    color: #797979;
}

/* Simple Pager Nav */
ul.simplePagerNav {
    position: relative;
    z-index: 2;
    margin-top: 5px;
    text-align: center;
}

ul.simplePagerNav li {
    display: inline-block;
    padding: 3px;
    margin-bottom: 10px;
    font-family: georgia;
    width: 15px;
    text-align: center;
    border: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #e7e7e7;
    margin: 0 2px;
    box-sizing: content-box;
}

ul.simplePagerNav li a {
    color: #00c9e0;
    text-decoration: none;
}

ul.simplePagerNav li.currentPage {
    background: #00c9e0;
}

ul.simplePagerNav li.currentPage a {
    color: #fff;
}

#scrollUp {
    bottom: 5px;
    right: 20px;
    padding: 10px 20px;
    background: #555;
    color: #fff;
    text-decoration: none;
}

.modal-content {
    font-family: 'Kanit', sans-serif;
}

/* Clearfix */
.clearfix {
    clear: both;
}

.social-logo {
    width: 40px;
    height: auto;
    position: fixed;
    right: 0;
    top: 30%;
    z-index: 99;
}

.social-logo a img {
    transition: all 0.5s;
}

.social-logo a:hover img {
    transform: scale(1.2);
}

/* Img box */
.img-box-1{
	height:380px;
}
.img-box-2{
	height:160px;
}
/**/

/* Nav icon */
.menu-contain {

	font-size: 14px;
	font-family: 'Kanit', sans-serif;
	line-height: 1.4;
}

.menu-containn p {
	font-size: 12px;
	font-family: 'Kanit', sans-serif;
	line-height: 1;
	color: #fff;
}

.menu-contain button {
	font-size: 16px;
	font-family: 'Kanit', sans-serif;
	line-height: 1;
	color: #fff;
	/* width: 250px; */
	/* background-color: #BBCF44;
	height: 50px; */

}

.menu-contain a:hover {
	/* background-color: #28650A; */
	color: #7b9067;
}

/* icon right */
.fab-container {
    font-family: 'Kanit', sans-serif;
    position: fixed;
    right: 15px;
    bottom: 55px;
    z-index: 9999;
}

/* main toggle */
.fab-toggle {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #0b5cff;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0,0,0,.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fab-toggle i {
    color: #fff !important;
    font-size: 26px;
}

/* items */
.fab-item {
    position: absolute;
    right: 0;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ef4f14;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0,0,0,.3);
    opacity: 0;
    pointer-events: none;
    transform: translateY(0);
    transition: all .3s ease;
}

.fab-item i {
    color: #fff !important;
    font-size: 24px;
}

/* label */
.fab-label {
    position: absolute;
    right: 72px;
    background: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    transition: .3s;
}

/* open state */
.fab-container.active .fab-item {
    opacity: 1;
    pointer-events: auto;
}

.fab-container.active .fab-item:nth-child(1) { transform: translateY(-80px); }
.fab-container.active .fab-item:nth-child(2) { transform: translateY(-150px); }
.fab-container.active .fab-item:nth-child(3) { transform: translateY(-220px); }
.fab-container.active .fab-item:nth-child(4) { transform: translateY(-290px); }
.fab-container.active .fab-item:nth-child(5) { transform: translateY(-360px); }
.fab-container.active .fab-item:nth-child(6) { transform: translateY(-430px); }
.fab-container.active .fab-item:nth-child(7) { transform: translateY(-500px); }

.fab-container.active .fab-label {
    opacity: 1;
}

/* hover */
.fab-item:hover {
    transform: scale(1.08) translateY(var(--y));
}