@font-face {
  font-family: 'THSarabunNewBold';
  src: url('fonts/THSarabunNew Bold.ttf') format('truetype');
}

body {
  margin: 0;
  font-family: 'THSarabunNewBold', sans-serif;
  background: #f7740b;
}

.force-fontsize, .force-fontsize *, .force-fontsize p, .force-fontsize span, .force-fontsize div, .force-fontsize b, .force-fontsize strong, .force-fontsize li {
    font-size: 1.5rem !important;
    line-height: 1.7;
    font-weight: normal;
}

.thsb_18px {
  font-family: 'THSarabunNew', 'TH SarabunPSK', 'Sarabun', sans-serif;
  font-size: 18px;
  color: #000000;
}

.thsb_20px {
  font-family: 'THSarabunNew', 'TH SarabunPSK', 'Sarabun', sans-serif;
  font-size: 20px;
  color: #000000;
}

.thsb_22px {
  font-family: 'THSarabunNew', 'TH SarabunPSK', 'Sarabun', sans-serif;
  font-size: 22px;
  color: #000000;
}

.thsb_25px {
  font-family: 'THSarabunNew', 'TH SarabunPSK', 'Sarabun', sans-serif;
  font-size: 25px;
  color: #000000;
}

::-webkit-scrollbar {
  width: 10px;
  background: #fff; /* พื้นหลังช่อง scrollbar */
}

.thumb-img:hover {
  box-shadow: 0 0 8px #1c8edb;
  transform: scale(1.07);
  transition: 0.13s;
}

::-webkit-scrollbar-thumb {
  background: #dd6403; /* สีปุ่มเลื่อน */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ef8c36; /* สีปุ่มเลื่อนตอน hover */
}

::-webkit-scrollbar-track {
  background: #fff; /* สีแถบพื้นหลัง scrollbar */
  border-radius: 10px;
}

.section-bg-wrapper {
  position: relative;
  width: 100%;
  min-height: 920px; /* ป้องกันโลโก้ตกจอถ้าภาพเตี้ย */
  overflow: hidden;
}

#bg-image {
  width: 100%;
  display: block;
}

.navmenu-container {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.main-navbar {
  background: linear-gradient(to bottom, #f7740b, #f7740b);
  padding: 10px 20px;
  border-radius: 25px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.17);
  width: 90%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  /* เพิ่มเส้นขอบขาว */
 border: 3px solid #fff;
 /* เพิ่มเงาชัดๆ */
 box-shadow:
   0 6px 32px 0 rgba(60, 30, 10, 0.23),
   0 1.5px 18px 0 rgba(0,0,0,0.21),
   0 1.5px 1px 0 rgba(247,116,11,0.14);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.nav-list li a {
  font-size: 1.8rem;
  color: white;
  text-decoration: none;
  padding: 5px 10px;
  display: inline-block;
  font-family: 'THSarabunNewBold', sans-serif;
}

/* Hamburger Icon */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  background: white;
  width: 100vw;
  height: 100vh;
  display: none;
  flex-direction: column;
  z-index: 1000;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 40px auto;
  text-align: center;
}

.mobile-menu ul li {
  margin: 20px 0;
}

.mobile-menu ul li a {
  font-size: 1.8rem;
  color: #f7740b;
  text-decoration: none;
  font-family: 'THSarabunNewBold', sans-serif;
}

.close-btn {
  font-size: 2.5rem;
  position: absolute;
  top: 20px;
  right: 25px;
  color: #f7740b;
  cursor: pointer;
}

/* Logo & Vision Section */
.section-logo {
  position: absolute;
  top: 190px;   /* เมนูสูง ~50px + เว้น 15px */
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 5;
}

.logo-img {
  width: auto;
  height: auto;
  max-width: 100%;
  margin-top: 15px;
  margin-bottom: 10px;
  display: inline-block;
}

.vision-img {
  width: auto;
  height: auto;
  max-width: 100%;
  margin-top: 10px;
  display: inline-block;
}

/* Responsive (มือถือ) */
@media (max-width: 991px) {
  .main-navbar {
    width: 98%;
    padding: 8px 8px;
    border-radius: 15px;
  }
  .section-logo {
    top: 68px;
  }
  .logo-img, .vision-img {
    max-width: 80vw;
  }
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 10px;
    right: 22px;
    z-index: 20;
  }
  .main-navbar {
    padding: 8px 8px;
    border-radius: 12px;
    width: 99vw;
  }
  .section-logo {
    top: 62px;
  }
  .logo-img, .vision-img {
    max-width: 90vw;
  }
}

.section-3col {
  position: absolute;
  width: 100%;
  left: 0;
  /* top: ...px;  กำหนดค่าที่เหมาะสมให้ต่อจาก vision.png */
  top: 380px; /* ลองปรับเลขนี้ให้ตรงตำแหน่งใต้ vision จริง เช่น 330, 350, 370 ตามความสูงของ logo+vision */
  z-index: 4;
  margin: 0;
}

.mayor-box, .palad-box {
  /* background: rgba(255,255,255,0.94);  เอาออก */
  border-radius: 16px;
  padding: 26px 10px;
  min-height: 120px;
  font-size: 2rem;
  font-weight: bold;
  /*box-shadow: 0 2px 10px rgba(0,0,0,0.08);*/
  margin: 0 8px;
  background: transparent; /* ← ใส่ไว้เฉยๆ เผื่อมีซ้อน theme */
}


.place-img {
  border-radius: 50%;
  width: auto;
  height: auto;
  max-width: 100%;
  /*box-shadow: 0 2px 10px rgba(0,0,0,0.13); */
  background: #fff;
  padding: 6px;
    /* เพิ่มขนาดเท่าจริงบน Desktop ถ้าใหญ่ไป ใช้ max-width: 350px; */
}

/* Responsive: 3 คอลัมน์เรียงแนวตั้งเมื่อจอแคบ */
@media (max-width: 991px) {
  .section-3col {
    top: 295px;
  }
  .place-img {
    max-width: 220px;
  }
}

@media (max-width: 768px) {
  .section-3col {
    position: static;
    margin-top: 15px;
  }
  .mayor-box, .palad-box {
    margin-top: 10px;
  }
  .place-img {
    max-width: 170px;
  }
}

.nayok-img {
  width: 60%;
  height: auto;
  max-width: 100%;
  margin-bottom: 10px;
  /* ถ้าอยากให้แสดงขนาดจริง 1:1 เอา max-width:100% ออกได้ */
}

.nayok-name {
  color: #fff;
  font-size: 2rem;
  font-weight: normal;
  text-shadow:
    0 0 3px #000,
    1px 1px 5px #000,
    -1px -1px 5px #000,
    2px 2px 7px #222;
  /* เอฟเฟกต์ stoke+เงา */
}

.nayok-position, .nayok-tel {
  color: #fff;
  font-size: 1.8rem;
  font-weight: normal;
  text-shadow:
    0 0 2px #000,
    1px 1px 5px #000,
    -1px -1px 5px #000,
    2px 2px 7px #222;
}

.nayok-line {
  background-color: #ff0000;
  color: white;
  padding: 3px 8px;
  border-radius: 5px;
  font-size: 1.4rem;
  font-weight: normal;
  text-shadow:none;
  text-decoration: none;
}

.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }

@media (max-width: 768px) {
  .main-navbar {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .place-img {
    display: none !important;
  }
}

/* --- Dropdown hover แสดงทันที --- */
@media (min-width: 992px) {
  .main-navbar .nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    z-index: 9999;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
  }
  .main-navbar .nav-item.dropdown .dropdown-menu {
    display: none;
    opacity: 0;
    transition: opacity 0.22s;
    pointer-events: none;
  }
  .main-navbar .nav-item.dropdown:hover > .dropdown-toggle,
  .main-navbar .nav-item.dropdown:focus > .dropdown-toggle {
    color: #fff !important;
    background: #ef8c36 !important;
  }
}

.custom-dropdown {
  background: #dd6403 !important;
  border: 3px solid #fff !important;
  border-radius: 15px;
  box-shadow:
    0 6px 24px 0 rgba(60, 30, 10, 0.30),
    0 1.5px 8px 0 rgba(0,0,0,0.18);
  min-width: 250px;
  padding: 0.5rem 0;
}

.custom-dropdown .dropdown-item {
  background: transparent !important;  /* ป้องกัน Bootstrap ขาวทับ */
  color: #fff !important;
  font-size: 1.5rem !important;
  font-family: 'THSarabunNewBold', sans-serif !important;
  display: flex;
  align-items: center;
  gap: 10px;
  border: none !important;
}

.custom-dropdown .dropdown-item i {
  color: #fff !important;
  font-size: 1.5rem !important;
  min-width: 22px;
}

/* Hover/Active */
.custom-dropdown .dropdown-item:hover,
.custom-dropdown .dropdown-item:focus,
.custom-dropdown .dropdown-item.active {
  background: #ef8c36 !important;
  color: #fff !important;
}

/* แก้ padding-ระยะห่างแนวตั้ง dropdown */
.custom-dropdown .dropdown-item {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  padding-left: 24px !important;
  padding-right: 18px !important;
  border-radius: 8px;
}

.custom-banner {
  display: flex;
  align-items: center;
  border-radius: 60px;
  overflow: hidden;
  background: none;
  width: 90%;
  margin: 0 auto;
  box-shadow: 0 6px 28px 0 rgba(80,40,20,0.15), 0 1px 8px 0 rgba(0,0,0,0.15);
}

.banner-left {
  background: linear-gradient(120deg, #c05500 65%, transparent 100%);
  min-width: 330px;
  padding: 0.8rem 2.5rem 0.8rem 2.7rem;
  display: flex;
  align-items: center;
  border-top-left-radius: 60px;
  border-bottom-left-radius: 60px;
  box-shadow: 0 3px 12px rgba(120, 60, 25, 0.10);
}

.banner-title {
  font-size: 2rem;
  color: #fff;
  font-weight: normal;
  letter-spacing: 0.01em;
  text-shadow:
    -1.5px -1.5px 0 #000,
    2px 2px 7px #000,
    0 1px 6px #222;
  /* stroke + shadow */
  font-family: 'THSarabunNewBold', sans-serif;
}

.banner-right {
  flex: 1;
  padding: 0.6rem 2rem 0.6rem 0.7rem;
  background: linear-gradient(180deg, #f7eee6 85%, #c05500 100%);
  display: flex;
  align-items: center;
  min-height: 70px;
  border-top-right-radius: 60px;
  border-bottom-right-radius: 60px;
  box-shadow: 0 3px 16px rgba(120, 60, 25, 0.11) inset;
  position: relative;
  overflow: hidden;
}

.marquee-wrap {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-text {
  display: inline-block;
  white-space: nowrap;
  font-size: 2rem;
  color: #ce5f06;
  font-family: 'THSarabunNewBold', sans-serif;
  transform: translateY(-100%) translateX(0);
  text-shadow:
    -1.5px -1.5px 0 #fff,
    2px 2px 7px #fff,
    0 1px 6px #ffff;
  font-weight: normal;
  /* marquee animation */
  animation: scroll-left 30s linear infinite;
  will-change: transform;
  cursor: pointer;
}

.marquee-wrap:hover .marquee-text {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(-10%);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .custom-banner {
    flex-direction: column;
    border-radius: 32px;
  }
  .banner-left, .banner-right {
    border-radius: 0 !important;
    min-width: unset;
    width: 100%;
    justify-content: center;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: center;
  }
}

.vision-text {
  font-size: 3rem;
  color: #fff;
  width: 60%;
  margin: 0 auto;
  text-align: center;
  font-family: 'THSarabunNewBold', 'sans-serif';
  text-shadow:
    0 2px 10px #000,
    0 1px 6px #000,
    0 0 2px #222;
  line-height: 1.2;
  font-weight: normal;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 991px) {
  .vision-text {
    width: 90%;
    font-size: 2rem;
  }
}
@media (max-width: 576px) {
  .vision-text {
    width: 98%;
    font-size: 1.2rem;
  }
}

.section-logo {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: center;
}

.logo-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px; /* ระยะห่างโลโก้กับข้อความ */
}

.logo-img {
  max-width: 167px;
  height: auto;
}

.logo-title-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* ปรับเป็น center ถ้าอยากให้ข้อความอยู่กลาง */
}

.logo-title-th {
  color: #fff;
  font-size: 2.5rem;
  font-weight: normal;
  text-shadow:
    0 0 4px #222,
    0 2px 8px #000,
    0 1px 1px #222;
  letter-spacing: 1px;
  margin-bottom: 2px;
  line-height: 1.13;
}

.logo-title-en {
  color: #fff;
  font-size: 2rem;
  font-weight: normal;
  text-shadow:
    0 0 4px #222,
    0 2px 8px #000,
    0 1px 1px #222;
  letter-spacing: 1px;
  margin-bottom: 2px;
  line-height: 1.13;
}

/* Responsive มือถือ */
@media (max-width: 768px) {
  .logo-flex {
    flex-direction: column;
    gap: 12px;
  }
  .logo-title-text {
    align-items: center;
    text-align: center;
  }
}

.main-bg-section {
  background: url('img/bgmain.jpg') no-repeat center center;
  background-size: cover;
  /* เอา margin-top ที่นี่ด้วยถ้าไม่ใช้ mt-2 ของ bootstrap */
  margin-top: 10px;
}

.section-col {
  background: #fff;
  border: 8px solid #fc7a12;
  border-radius: 10px;
  box-shadow: 0 4px 32px 0 rgba(255,255,255,0.35);
  font-size: 1.6rem;
  font-family: 'THSarabunNewBold', sans-serif;
  font-weight: normal;
  padding: 18px 10px;
  min-height: 70px;
  /* ถ้าอยากให้ shadow สีขาวเห็นเด่น ใช้ filter ด้วย */
  filter: drop-shadow(0 0 7px #fff);
}

/* Responsive: ถ้าจอแคบ < 992px ให้เรียงแนวตั้ง */
@media (max-width: 991.98px) {
  .section-col {
    margin-bottom: 10px;
  }
}

.custom-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  box-shadow: 0 3px 12px 0 rgba(160,80,0,0.09);
}
.custom-detail {
  color: #d06006;
  font-size: 1.3rem;
  font-family: 'THSarabunNewBold', sans-serif;
  font-weight: normal;
}

.menu-hover:hover {
  background: #ffb873 !important;
  color: #222 !important;
  border-radius: 6px;
}

.main-bg-section {
  background: url('img/bg_main.webp') no-repeat center center;
  background-size: cover;
  margin-top: 0px !important;
  position: relative;
  overflow: hidden;
}

.main-bg-section2 {
  background: url('img/bg_main2.webp') no-repeat center center;
  background-size: cover;
  margin-top: 0px !important;
  position: relative;
  overflow: hidden;
}

.section-bottom-wave {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 60px;  /* ปรับความสูงตามต้องการ */
  z-index: 2;
  pointer-events: none;
}
.section-bottom-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.stat-box {
  background: #fff;
  border: 3px solid #f46d1c;
  border-radius: 18px;
  padding: 10px;
  box-shadow:
    0 4px 16px 2px rgba(255,255,255,0.72),
    0 2px 12px 0 rgba(244,109,28,0.23);
  text-align: center;
  font-size: 1.6rem;
  color: #111;
  max-width: 260px;
  margin: 0 auto;
}

.stat-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 2px 0;
  font-size: 1.5rem;
}

.stat-row span {
  color: #111;
  font-family: inherit;
}

.img-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
  width: 100%;
  max-width: 1000px; /* หรือปรับตามขนาดที่ต้องการ */
  margin: 0 auto;
}

.menu-img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 260px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.img-row a {
  flex: 1 1 0;
  min-width: 180px;
  max-width: 260px;
}

@media (max-width: 900px) {
  .img-row {
    flex-wrap: wrap;
  }
  .img-row a {
    min-width: 45%;
    max-width: 48%;
  }
}
@media (max-width: 600px) {
  .img-row a {
    min-width: 90%;
    max-width: 95%;
  }
}

.custom-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}



.custom-carousel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 10px;
  width: 100%;
  max-width: 960px;
  scroll-snap-type: x mandatory;

  /* ✅ เพิ่ม 2 บรรทัดนี้ */
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE 10+ */
}

.custom-carousel::-webkit-scrollbar {
  display: none;                /* Chrome, Safari, Opera */
}

 .custom-carousel a {
   flex: 0 0 auto;
   scroll-snap-align: start;
   width: calc((100% - 20px) / 4); /* 3 รูปต่อแถว */
 }

 .carousel-img {
    /*width: 100%;*/
   height: auto;
   border-radius: 8px;
   transition: transform 0.2s;
 }

 .carousel-img:hover {
   transform: scale(1.03);
   /* box-shadow: 0 4px 16px #b44141a1;*/
 }

 .carousel-arrow {
   background: #d06006;
   color: #fff;
   border: none;
   font-size: 2.5rem;
   border-radius: 50%;
   width: 45px;
   height: 45px;
   display: flex;
   align-items: center;
   justify-content: center;
   position: relative;
   z-index: 10;
   cursor: pointer;
   transition: background 0.2s;
 }

 .carousel-arrow:hover {
   background: #ff8e1b;
 }

 .carousel-arrow.left {
   margin-right: 10px;
 }

 .carousel-arrow.right {
   margin-left: 10px;
 }

 /* Responsive: 2 รูป */
 @media (max-width: 900px) {
   .custom-carousel a {
     width: calc((100% - 10px) / 2);
   }
 }

 /* Responsive: 1 รูป */
 @media (max-width: 600px) {
   .custom-carousel a {
     width: 92vw;
   }

   .carousel-arrow {
     font-size: 2rem;
     width: 38px;
     height: 38px;
   }
 }

.row-img-menu {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;   /* ไม่ขึ้นบรรทัดใหม่ */
  /* width: 100%;     << อย่าใส่! */
  /* padding: 0;      << ถ้ามีให้ลบออก */
  /* margin: 0 auto;  << ถ้ามีให้ลบออก */
}

.mt-img-row {
  margin-top: 20px;
}

.img-menu-effect {
  display: block;
  /* ใช้ขนาดจริงของรูป ไม่ตั้ง width/height */
  border-radius: 12px;
  transition: transform 0.17s cubic-bezier(.5,1.8,.6,1.1), box-shadow 0.18s;
  box-shadow: 0 4px 16px 0 rgba(0,0,0,0.07);
  cursor: pointer;
}

.img-menu-effect:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px 0 rgba(240, 124, 10, 0.24);
}

/* Responsive: แถวละ 2-3 รูปบนจอเล็ก */
@media (max-width: 991px) {
  .row-img-menu { gap: 10px; }
  .img-menu-effect { border-radius: 8px; }
}
@media (max-width: 768px) {
  .row-img-menu { flex-wrap: wrap; justify-content: center; gap: 6px; }
  .img-menu-effect { margin-bottom: 6px; }
}

.news-tabs-wrapper {
  width: 100%;          /* กว้างเต็มพื้นที่ container พ่อแม่ (col-md-9) */
  max-width: 100%;      /* ไม่จำกัดความกว้างสูงสุด */
  margin: 0 auto;       /* กึ่งกลางแนวนอน (ถ้ากว้างน้อยกว่าพื้นที่) */
  font-family: 'Kanit', sans-serif;
}

/* แท็บเมนูด้านบน */
.news-tabs {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* ปุ่มแท็บ */
.tab-btn {
  font-family: 'THSarabunNew', 'TH SarabunPSK', 'Sarabun', sans-serif;
  background-color: #f26c00;
  color: white;
  border: none;
  padding: 12px 24px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  cursor: pointer;
  position: relative;
  font-size: 1.9rem;
  margin-right: 2px;
  transition: background 0.2s;
}

/* สามเหลี่ยมด้านล่างปุ่มที่ active */
.tab-btn::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #f26c00 transparent transparent transparent;
  display: none;
}

/* แสดงสามเหลี่ยมเมื่อ active */
.tab-btn.active::after {
  display: block;
}

/* เอฟเฟกต์ hover */
.tab-btn:hover {
  background-color: #e25a00;
}

/* กล่องเนื้อหาข่าว */
.news-content-box {
  border: 3px solid #f26c00;
  border-radius: 0 0 8px 8px;
  padding: 20px;
  /*min-height: 200px;*/
  font-size: 1.2rem;
  color: #333;
  background: #fff;
  width: 100%; /* กว้างเต็มกล่อง wrapper */
  box-sizing: border-box; /* ให้ padding ไม่บวกเพิ่มความกว้าง */
}

/* style.css: ปุ่มโซเชียลมุมล่างขวา */
.floating-social-wrapper {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.floating-icon {
  position: relative;
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.floating-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  background-color: white;
  padding: 5px;
}

.floating-icon:hover {
  transform: scale(1.1);
}

.tooltip-text {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background-color: #000;
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, right 0.3s ease;
  font-family: 'AnakotmaiLight', sans-serif;
}

.floating-icon:hover .tooltip-text {
  opacity: 1;
  right: 70px;
}

.floating-menu-top {
  position: fixed;
  top: 100px; /* ปรับเป็น 30px ตามต้องการ */
  left: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-btn-top {
  position: relative;
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.floating-btn-top img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease;
}

.floating-btn-top:hover img {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transform: scale(1.1);
}

/* Tooltip */
.tooltip-top {
  position: absolute;
  top: 50%;
  left: 60px;
  transform: translateY(-50%);
  background-color: #000;
  color: #fff;
  padding: 6px 12px;
  font-size: 1.5rem;
  white-space: nowrap;
  border-radius: 5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10000;
}

.floating-btn-top:hover .tooltip-top {
  opacity: 1;
  transform: translateY(-50%) translateX(5px);
}

.ita-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.ita-popup-content {
  position: relative;
  background-color: #fff;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  text-align: center;
}

.ita-popup-close {
  position: absolute;
  top: -15px;
  right: -15px;
  background: #fff;
  border: none;
  color: #000;
  font-size: 24px;
  font-weight: bold;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
  transition: background 0.3s;
}

.ita-popup-close:hover {
  background: #eee;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
  }

  .info-box {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    font-size: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 9px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    color: #000;
    font-weight: 500;
    text-decoration: none !important;
  }

  .info-box:hover {
    text-decoration: none !important;
    background-color: #cd5a06;
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  }
