* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Kanit", serif;
}
#wrapper {
    width: 100%;
    min-height: 100vh;
}
body {
    background-color: #f4f4f4;
}
iconify-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
}
/* navbar *//* navbar *//* navbar */
.allnavbar {
    width: 100%;
    height: 100px;
    background-color: #f4f4f4;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 30px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.nav {
    margin-right: 35px;
}

.left-navbar {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-right: 300px;
}

.right-navbar {
    display: flex;
    gap: 15px;
    align-items: center;
}
.nav-icon-1 .ant-design-home {
    margin-left: 12px;
    margin-bottom: 10px;
}
.nav-icon-1 a{
    text-decoration: none;
    color: #242424;
}
.nav-icon-1 a:hover{
    color: #04757b;
    transition: color 0.3s ease;
}

/* change when another page *//* change when another page *//* change when another page *//* change when another page */
.nav-icon-4 a.active {
    font-weight: bold;
    color: #04757b;
}
/* change when another page *//* change when another page *//* change when another page *//* change when another page */

.nav-icon-2 .ant-design-product {
    margin-left: 28px;
    margin-bottom: 10px;
}
.nav-icon-2 a{
    text-decoration: none;
    color: #242424;
}
.nav-icon-2 a:hover{
    color: #04757b;
    transition: color 0.3s ease;
}

.nav-icon-3 .ant-design-suggest {
    margin-left: 20px;
    margin-bottom: 10px;
}
.nav-icon-3 a{
    text-decoration: none;
    color: #242424;
}
.nav-icon-3 a:hover{
    color: #04757b;
    transition: color 0.3s ease;
}

.nav-icon-4 .ant-design-about {
    margin-left: 20px;
    margin-bottom: 10px;
}
.nav-icon-4 a{
    text-decoration: none;
    color: #242424;
}
.nav-icon-4 a:hover{
    color: #04757b;
    transition: color 0.3s ease;
}


.nav-icon-5 .ant-design-review {
    margin-left: 15px;
    margin-bottom: 10px;
}.nav-icon-5 a{
    text-decoration: none;
    color: #242424;
}
.nav-icon-5 a:hover{
    color: #04757b;
    transition: color 0.3s ease;
}

.nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.nav-logo img {
    height: 70px;
}
.search-container {
    display: flex;
    align-items: center;
    width: 270px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 5px;
    background: white;
    margin-right: 50px;
}
.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 5px 10px;
    background: transparent;
}
.search-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    color: #333;
}
.search-btn:hover {
    color: #04757b;
}
.user-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 50px; 
}
.user-container iconify-icon {
    width: 32px;
    height: 32px;
    display: block;
}
.user-name {
    white-space: nowrap;
    text-align: center;
}
.nav-icon-user a {
    text-decoration: none;
    color: #242424;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color 0.3s ease;
}
.nav-icon-user a:hover {
    color: #04757b;
}
.nav-icon-user .n-user a.active {
    font-weight: bold;
    color: #04757b;
}

.nav-icon-6 .ant-design-coin {
    margin-left: 15px;
    margin-bottom: 10px;
}
.nav-icon-6 a{
    text-decoration: none;
    color: #242424;
}
.nav-icon-6 a:hover{
    color: #04757b;
    transition: color 0.3s ease;
}


.nav-icon-7 .ant-design-cart {
    margin-left: 2px;
    margin-bottom: 10px;
}
.nav-icon-7 a{
    text-decoration: none;
    color: #242424;
}
.nav-icon-7 a:hover{
    color: #04757b;
    transition: color 0.3s ease;
}

button {
    position: relative;
    display: inline-block;
    cursor: pointer;
    outline: none;
    border: 0;
    vertical-align: middle;
    text-decoration: none;
    background: transparent;
    padding: 0;
    font-size: inherit;
    font-family: inherit;
}

button.learn-more {
    width: 11rem;
    height: auto;
    margin: 10px 0;
}

button.learn-more .circle {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: relative;
    display: block;
    margin: 0;
    width: 3rem;
    height: 3rem;
    background: #04757b;
    border-radius: 1.625rem;
}

button.learn-more .circle .icon {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #fff;
}

button.learn-more .circle .icon.arrow {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    left: 0.625rem;
    width: 1.125rem;
    height: 0.125rem;
    background: none;
}

button.learn-more .circle .icon.arrow::before {
    position: absolute;
    content: "";
    top: -0.29rem;
    right: 0.0625rem;
    width: 0.625rem;
    height: 0.625rem;
    border-top: 0.125rem solid #fff;
    border-right: 0.125rem solid #fff;
    transform: rotate(45deg);
}

button.learn-more .button-text {
    transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.47rem 0;
    margin: 0 0 0 1.85rem;
    color: #282936;
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
    text-transform: uppercase;
}

button:hover .circle {
    width: 100%;
}

button:hover .circle .icon.arrow {
    background: #fff;
    transform: translate(1rem, 0);
}

button:hover .button-text {
    color: #fff;
}

/* navbar *//* navbar *//* navbar */
/* navbar */


/* ใช้สำหรับทุกหน้าที่มี hero banner *//* ใช้สำหรับทุกหน้าที่มี hero banner *//* ใช้สำหรับทุกหน้าที่มี hero banner *//* ใช้สำหรับทุกหน้าที่มี hero banner */


.line-md--chevron-small-right {
    display: inline-block;
    width: 24px;
    height: 24px;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 12l-5 -5M15 12l-5 5'/%3E%3C/svg%3E");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.herobanner-page {
    width: 100%;
    height: 300px;
    background: url(pic/Banner1.JPG);
    background-size: cover;
    background-position: center -200px;
    display: flex; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
    margin-top: 100px;
}
.herobanner-page h1 {
    font-size: 48px;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.7);
}

.mini-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.mini-nav a{
    text-decoration: none;
    color: #242424;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.7);
}
.mini-nav a:hover {
    text-decoration: underline;
    color: #04757b;
}



/* ใช้สำหรับทุกหน้าที่มี hero banner *//* ใช้สำหรับทุกหน้าที่มี hero banner *//* ใช้สำหรับทุกหน้าที่มี hero banner */











/*////////////// ABOUT US PAGE/////////////*/
.about {
    display: flex;
    height: 830px;
    width: 100%;
    background-color: #f4f1eb;
    overflow: hidden    ;
}

.box-mini{
    width:3%;
    height: 274px;
    background-color: #04757b;
   
}

.about-text{
    margin-top: 80px;
    margin-right: 50px;
    padding-left: 100px;
    font-size: 20px;
    width: 40%;
    height: 600px;
}

h2 {
    font-size: 48px;
    margin-bottom: 10px;
}


/*////////////////////*/

.slider-container {
    position: relative;
    margin-top: 80px;
    padding-left: 100px;
    width: 60%;
    height: 650px;
    overflow: hidden;
}

.slider {
    display: flex;
    gap: 15px;
    transition: transform 0.6s ease; /* เพิ่มความนุ่มนวล */
    will-change: transform; /* เพิ่มประสิทธิภาพการเคลื่อนไหว */
}

.slide {
    flex: 0 0 380px;
    height: 500px;
    opacity: 0.6;
    transform: scale(0.85);
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.slide.active {
    flex: 0 0 450px;
    height: 600px;
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}


img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.caption {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
}
.prev-btn-1 {
    left: 40px;
    position: absolute;
    z-index: 2;
    top: 45%;
    color:#242424;
    cursor: pointer;
}
.ant-design--left-circle-filled {
  display: inline-block;
  width: 48px;
  height: 48px;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath fill='%23000' d='M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448s448-200.6 448-448S759.4 64 512 64m104 316.9c0 10.2-4.9 19.9-13.2 25.9L457.4 512l145.4 105.2c8.3 6 13.2 15.6 13.2 25.9V690c0 6.5-7.4 10.3-12.7 6.5l-246-178a7.95 7.95 0 0 1 0-12.9l246-178a8 8 0 0 1 12.7 6.5z'/%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.next-btn-1 {
    right: 470px;
    position: absolute;
    top: 45%;
    cursor: pointer;
}
.ant-design--right-circle-filled {
  display: inline-block;
  width: 48px;
  height: 48px;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath fill='%23000' d='M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448s448-200.6 448-448S759.4 64 512 64m154.7 454.5l-246 178c-5.3 3.8-12.7 0-12.7-6.5v-46.9c0-10.2 4.9-19.9 13.2-25.9L566.6 512L421.2 406.8c-8.3-6-13.2-15.6-13.2-25.9V334c0-6.5 7.4-10.3 12.7-6.5l246 178c4.4 3.2 4.4 9.8 0 13'/%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.dots-container {
    text-align: center;
    margin-top: 20px;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #555;
}


















/* **********ประสบการณ์ *********/
.review-customer-container {
    width: 100%;
    height: 650px;
    background-color: #f7f5f0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}

.heading-1 {
    padding-top: 50px;
    text-align: center;
    font-size: 40px;
    color: #242424;
}

.review-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-top: 50px;
}

.card {
    width: 280px;
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    text-align: center;
    padding: 16px;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.card p {
    font-size: 16px;
    color: #333;
    margin: 12px 0;
}

.card button.learn-more {
    margin-top: auto;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.page-btn, .next-btn {
    padding: 8px 16px;
    background-color: #aab7a6;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.page-btn.active {
    background-color: #04757b;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.popup-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    font-family: 'Kanit', sans-serif;
}

.popup-content img.main-image {
    width: 100%;
    border-radius: 10px;
    margin: 20px 0;
}

.sub-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.popup-content h3 {
    font-size: 24px;
    margin: 10px 0;
}

.popup-content p {
    margin: 5px 0;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
}

.popup-content img {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.sub-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.sub-images .thumbnail {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s;
}

.sub-images .thumbnail:hover {
    border: 2px solid #04757b;
}















/* **********ใบรับรอง *********/


.carousel-container {
  width: 100%;
  height: 600px;
  background-color: #faf6ea;
}

.heading-2 {
  padding-top: 50px;
  text-align: center;
  font-size: 40px;
  color: #242424;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.page-carousel {
  overflow: hidden;
  height: 500px;
  width: 1250px;
  margin: 50px auto 0 auto;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
}

.carousel-track img {
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 16px;
  flex-shrink: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.btn {
  position: absolute;
  top: 25%;
  transform: translateY(-25%);
  font-size: 2rem;
  background: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1;
}

/* .prev {
  left: 10px;
}

.next {
  right: 10px;
} */

.prev {
  left: 250px;  /* ✅ ขยับเข้ามาหากลาง */
}

.next {
  right: 250px; /* ✅ ขยับเข้ามาหากลาง */
}


.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: white;
  border-radius: 16px;
  overflow-y: auto;
  padding: 20px;
}

.modal-content img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
  border-radius: 12px;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  background: white;
  color: black;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.zoom-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 9;
}

.zoom-controls button {
  background: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
}

.zoom-controls button:hover {
  transform: scale(1.1);
}







.map {
    background-color: #f7f5f0;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
}

















/* footer *//* footer *//* footer *//* footer *//* footer *//* footer *//* footer *//* footer *//* footer *//* footer */
footer {
    background-color: #04757b;
    color: white;
    width: 100%;

    padding: 40px 5% 20px 5%;
    font-family: sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}

.logo-column img.footer-logo {
    height: 70px;
    width: 80px;
    margin-bottom: 10px;
}

.logo-column p {
    font-size: 14px;
    line-height: 1.6;
}

.link-column a {
    display: block;
    color: white;
    text-decoration: none;
    margin: 15px 0;
    font-size: 14px;
}

.link-column a:hover {
    text-decoration: underline;
}

.subscribe-column p {
    margin-top: 10px;
    margin-bottom: 30px;
    font-weight: 500;
}


.footer-bottom {
    border-top: 1px solid white;
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 13px;
}

.social-icons {
    display: flex;
    justify-content: space-between;
}

.social-icons a {
    display: inline-block;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.facebook_footer {
    background-image: url(pic/Facebook_Logo_\(2019\).png.png);
}

.shopee_footer {
    background-image: url(pic/Logo-Shopee.png);
}

.line_footer {
    background-image: url(pic/OG-Image-LS-1200x630.png);
}

.laz_footer {
    background-image: url(pic/TB1PApewFT7gK0jSZFpXXaTkpXa-200-200.png);
}
/* footer *//* footer *//* footer *//* footer *//* footer *//* footer *//* footer *//* footer *//* footer *//* footer */