html, body {
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden; /* ✅ ป้องกัน scroll ด้านข้าง */
        background-color: #000; /* สำรองถ้ารูปโหลดไม่ทัน */
    }
    body {
      margin: 0;
      padding: 0;
      background-image: url('https://magenta-fly-350500.hostingersite.com/wp-content/uploads/2025/04/42-copy-1.webp');
      background-size: cover;
      background-position: top center;
      background-repeat: repeat;
      background-attachment: fixed;
      font-family: 'Kanit', sans-serif;
    }

    .main-container {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      padding: 40px 0;
      gap: 30px;
    }

    .image-container {
      width: 34.9%;
    }

    .image-container img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 12px;
    }

    .button-container {
      width: 16.7%;
    }

    .elementor-button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(180deg, #FFAA00 0%, #E68A07 100%);
      color: #000000;
      font-size: 20px;
      font-family: 'Kanit', sans-serif;
      font-weight: 500;
      padding: 10px 40px;
      border-radius: 10px;
      text-decoration: none;
      box-shadow: 0 2px 10px 2px rgba(31, 2, 2, 0.96);
      transition: transform 0.3s ease;
    }

    .elementor-button:hover {
      background: linear-gradient(180deg, #FFAA00 0%, #f2295b 100%);
      box-shadow: 0 0 10px rgba(0,0,0,0.5);
      transform: scale(1.05);
    }

    .elementor-button .icon {
      margin-right: 8px;
    }

    svg {
      width: 1em;
      height: 1em;
      fill: currentColor;
    }

    .bottom-container {
      display: flex;
      justify-content: center;
      padding: 20px 0 60px 0;
    }

    .boxed-container {
      width: 100%;
      max-width: 1200px;
      padding: 0 20px;
      display: flex;
      justify-content: center;
    }

    .boxed-container a img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 12px;
      transition: transform 0.3s ease;
    }

    .boxed-container a img:hover {
      transform: scale(1.02);
    }

    .dual-container-wrapper {
  display: flex;
  justify-content: center;
  padding: 40px 0 10px 0; /* ✅ เพิ่ม padding ด้านบน (40px) */
}
.dual-boxed {
  width: 100%;
  max-width: 1200px;
  /* padding: 0 10px; */
  display: flex;
  gap: 20px;
}

.half-container {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.fixed-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.fixed-image:hover {
  transform: scale(1.02);
}
/* Tablet (แนวนอน/แนวตั้ง) */
/* Tablet */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .image-container {
    width: 454px;
  }

  .button-container {
    width: 185px;
  }

  .main-container {
    flex-direction: row;
    padding: 20px;
    gap: 20px;
  }

  .elementor-button {
    width: 100%;
    justify-content: center;
    padding: 12px 0;
    font-size: 18px;
  }
}

/* Mobile */
@media screen and (max-width: 767px) {
  .image-container {
    width: 210px;
  }

  .button-container {
    width: 93px;
  }

  .main-container {
    flex-direction: row;
    padding: 20px;
    gap: 20px;
  }

  .elementor-button {
    width: 100%;
    justify-content: center;
    padding: 10px 0;
    font-size: 16px;
  }
}

/* ✅ Tablet (แสดงแนวนอน 2 กล่อง) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .dual-container-wrapper {
    padding: 30px 60px; /* ✅ เพิ่ม padding ซ้าย/ขวา */
  }

  .dual-boxed {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
  }

  .half-container {
    width: 45%; /* ✅ พอดีเพื่อเว้นทั้งกลางและขอบ */
  }

  .fixed-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
  }
}



/* ✅ Mobile (ซ้อนกันแนวตั้ง) */
@media screen and (max-width: 767px) {
  .dual-container-wrapper {
    padding: 20px 10px;
  }

  .dual-boxed {
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
  }

  .half-container {
    width: 100%;
  }

  .fixed-image {
    width: 100%;
    height: auto;
  }
}

.triple-boxed {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;

}

.third-container {
  width: 32%; /* ✅ Desktop: 3 กล่องในแถวเดียว */
  display: flex;
  justify-content: center;
  align-items: center;
}

.fixed-image {
  max-width: 500px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.fixed-image:hover {
  transform: scale(1.02);
}
.swiper {
      width: 100%;
      max-width: 1200px;
      padding: 20px 0;
    }
    
    .swiper-slide {
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .swiper-slide img {
      width: 100%;
      max-width: 200px;
      border-radius: 12px;
      transition: transform 0.3s ease;
    }
    
    .swiper-slide img:hover {
      transform: scale(1.05);
    }