  /* โหลดฟอนต์ Prompt */
  @import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600&display=swap');

  html[lang="th"] body {
      font-family: 'Prompt' !important;
  }

  body {
      font-family: 'Helvetica Neue', sans-serif;
      color: var(--text-color);
      line-height: 1.6;
  }

  [class*="active"] {
      color: #000 !important;
      font-weight: 500 !important;
      font-style: normal !important;
  }

  .products-header {
    text-align: center;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

  .architecture-container {
      width: 100%;
      max-width: 768px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      gap: 16px;
  }

  .architecture-header {
      display: flex;
      justify-content: flex-start;
      align-items: center;
  }

  .architecture-title {
      color: var(--Color-Scheme-1-Text, white);
      font-size: 16px;

      font-weight: 500;
      line-height: 24px;
      word-wrap: break-word;
  }

  .architecture-body {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      gap: 24px;
  }

  .architecture-main-title {
      color: var(--Color-Scheme-1-Text, white);
      font-size: 52px;

      font-weight: 500;
      text-transform: capitalize;
      line-height: 62.4px;
      word-wrap: break-word;
  }

  .architecture-description {
      color: var(--Color-Scheme-1-Text, white);
      font-size: 18px;
      font-weight: 400;
      line-height: 27px;
      word-wrap: break-word;
  }

  .enterprise-container {
      width: 100%;
      padding: 112px 64px;
      background-color: var(--Color-Scheme-1-Background, #05070B);
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .enterprise-wrapper {
      width: 100%;
      max-width: 1280px;
      display: flex;
      flex-direction: column;
      gap: 80px;
  }

  .enterprise-content {
      display: flex;
      flex-direction: row;
      gap: 80px;
  }

  .enterprise-image {
      width: 500px;
      height: auto;
      border-radius: 16px;
  }

  .enterprise-text-content {
      display: flex;
      flex-direction: column;
      gap: 32px;
      flex: 1;
  }

  .enterprise-header {
      display: flex;
      flex-direction: column;
      gap: 24px;
  }

  .enterprise-title {
      font-size: 52px;
      font-weight: 500;
      color: var(--Color-Scheme-1-Text, white);
  }

  .enterprise-subtitle {
      font-size: 18px;
      font-weight: 400;
      color: var(--Color-Scheme-1-Text, white);
  }

  .enterprise-features {
      display: flex;
      flex-direction: column;
      gap: 30px;
  }

  .enterprise-feature {
      display: flex;
      align-items: flex-start;
      gap: 16px;
  }

  .enterprise-icon {
      width: 32px;
      height: 32px;
      position: relative;
      border: 2px solid var(--Icon-Positive-Tertiary, #14AE5C);
      border-radius: 50%;
  }

  .enterprise-feature-title {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 6px;

      color: var(--Color-Scheme-1-Text, white);
  }

  .enterprise-footer {
      display: flex;
      justify-content: flex-start;
      align-items: flex-start;
  }

  .enterprise-note {
      font-size: 18px;
      font-weight: 400;
      color: var(--Color-Scheme-1-Text, white);
  }

  /* Media Queries for Responsiveness */
  @media (max-width: 1024px) {
      .enterprise-content {
          flex-direction: column;
          align-items: center;
      }

      .enterprise-image {
          width: 100%;
          max-width: 400px;
      }
  }

  @media (max-width: 768px) {
      .enterprise-container {
          padding: 60px 32px;
      }

      .enterprise-title {
          font-size: 42px;
      }

      .enterprise-subtitle,
      .enterprise-note {
          font-size: 16px;
      }

      .enterprise-feature-title {
          font-size: 20px;
      }
  }


  .section-automate {
      padding: 112px 64px;
      background-color: #191919;
      color: rgb(0, 0, 0) !important;
  }



  /* 
@import url('https://fonts.googleapis.com/css2?family=Prompt:wght@300;400;500;600&display=swap');


html[lang="th"] body {
  font-family: 'Prompt', sans-serif !important;
}


html[lang="en"] body {
  font-family: 'Helvetica Neue', sans-serif !important;
}


html[lang="th"] .sub-tab-button {
  font-family: 'Prompt', sans-serif !important;
}

html[lang="en"] .sub-tab-button {
  font-family: 'Helvetica Neue', sans-serif !important;
}


body {
  font-family: 'Helvetica Neue', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
} */


  /* เพิ่ม class active สำหรับเนื้อหาที่แสดง */
  .tab-content {
      visibility: hidden;
      opacity: 0;
      transition: visibility 0s, opacity 0.3s ease-in-out;
      position: absolute;
      width: 100%;
      height: 100%;
  }

  /* แสดงเนื้อหาของแท็บที่เลือก */
  .tab-content.active {
      visibility: visible;
      opacity: 1;
      transition: opacity 0.3s ease-in-out;
      position: relative;
  }


  /* ซ่อนเนื้อหาของแต่ละแท็บที่ไม่ใช่ AutomationX */
  #tab-2-content,
  #tab-3-content {
      display: none;
  }

  /* ซ่อนเนื้อหาของทุกแท็บเมื่อไม่เลือก */
  .tab-content {
      display: none;
  }

  /* แสดงเนื้อหาของแท็บที่เลือก */
  .tab-content.active {
      display: block;
  }

  /* แสดงเนื้อหาของแท็บ 1 (AutomationX) เป็นค่าเริ่มต้น */
  #tab-1-content {
      display: block;
  }

  /* ซ่อนการแสดงแท็บย่อยสำหรับ AppX และ AgentX */
  .product-category[data-tab="2"].category-active~#tab-2-content,
  .product-category[data-tab="3"].category-active~#tab-3-content {
      display: block;
  }

  /* เพิ่มคลาส .category-active ให้กับหมวดหมู่ที่เลือก */
  .product-category.category-active {
      font-weight: bold;
      color: #0052cc;
  }

  /* เพิ่มคลาส .tab-active ให้กับแท็บที่เลือก */
  .tab.tab-active {
      background-color: #f0f0f0;
      border-bottom: 2px solid #0052cc;
  }

  /* แสดงแท็บย่อยเมื่อเลือก AutomationX */
  .product-category[data-tab="1"].category-active #automationx-tabs {
      display: block;
  }

  /* เพิ่มการเน้นแท็บที่เลือก */
  .product-category.category-active {
      font-weight: bold;
      color: #0052cc;
      /* สีของแท็บที่เลือก */
  }

  .tab.tab-active {
      background-color: #f0f0f0;
      border-bottom: 2px solid #0052cc;
  }




  /* Base styles */
  .hero-section {
      width: 100%;
      height: 100%;
      padding: 160px 64px 96px 64px;
      /* padding: 96px 64px; */
      overflow: hidden;
      background-image: url(../images/Hero-BG.svg);
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 64px;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      background-attachment: fixed;



  }

  .hero-content {
      flex: 1;
      max-width: 1280px;
      display: flex;
      justify-content: flex-start;
      align-items: flex-start;
      gap: 64px;
      padding: 0rem 1.5rem 0rem 1.5rem;
  }

  .hero-text {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 32px;
  }

  .hero-heading {
      display: flex;
      flex-direction: column;
      gap: 16px;
  }

  .hero-title {
      font-size: 48px;
      font-weight: 700;
      color: var(--text-primary, black);
      word-wrap: break-word;
      line-height: 1.4;
  }

  .hero-description {
      font-size: 20px;
      font-weight: 400;
      line-height: 28px;
      color: var(--text-secondary, #666666);
      word-wrap: break-word;
  }

  .hero-buttons {
      display: flex;
      gap: 12px;
  }

  .btn-getStarted,
  .btn-Talktosales {
      height: 44px;
      padding: 12px;
      border-radius: 8px;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
  }

  .btn-getStarted {
      background: var(--Brand-Third, #0052CC);
  }

  .btn-Talktosales {
      background: none;
      outline: 1px solid var(--border-brand, #0052CC);
      color: var(--text-brand, #0052CC);
  }

  .btn-text {
      font-size: 16px;
      font-weight: 400;
      line-height: 22.4px;
      word-wrap: break-word;
      cursor: pointer;

  }

  .text-tab {
      color: var(--text-primary, #000);
      font-size: 28px;
      font-style: normal;
      font-weight: 600;
      line-height: 120%;
      /* 33.6px */
      display: block;
      max-width: 500px;
      /* ความกว้างสูงสุด */
      word-wrap: break-word;
      white-space: normal;
  }

  .hero-steps {
      display: flex;
      gap: 24px;
  }

  .hero-step {
      display: flex;
      align-items: center;
      gap: 12px;
  }

  .step-icon {
      width: 24px;
      height: 24px;

  }

  .step-text {
      font-size: 14px;
      font-weight: 400;
      line-height: 19.6px;
      color: var(--text-primary, black);
  }

  /* Image styling */
  .hero-image {
      width: 625px;
      height: 468px;

  }

  /* Responsive styles */
  @media (max-width: 768px) {
      .hero-section {
          padding: 120px 20px 60px 20px;
      }

      .hero-content {
          flex-direction: column;
          align-items: center;
          gap: 32px;
          padding: 0px;
      }

      .hero-text {
          align-items: center;
          text-align: center;
      }

      .hero-title {
          font-size: 37px;
          line-height: 1.4;
      }

      .hero-description {
          max-width: 100%;
      }

      .hero-buttons {
          /* flex-direction: column; */
          gap: 16px;
      }

      .hero-image {
          width: 100%;
          height: auto;
      }

      .hero-steps {
          display: flex;
          gap: 12px;
          flex-wrap: wrap;
      }

      .main-heading {
          text-align: center;
          font-size: 28px !important;
          font-weight: 700;
          color: var(--text-primary, black);
      }

      .text-tab {
          font-size: 20px !important;
      }
  }


  /* --- md --- */
  @media (min-width: 768px) and (max-width: 1024px) {
      .px-lang__menu {
          position: absolute;
          right: 0;
          top: calc(100% + 8px);
          min-width: 160px !important;
          background: var(--px-panel);
          border-radius: var(--px-radius);
          box-shadow: var(--px-shadow);
          padding: 10px 0;
          margin: 0;
      }

      .hero-section {
          padding: 120px 20px 60px 20px;
      }

      .hero-content {
          flex-direction: column;
          align-items: center;
          gap: 32px;

      }

      .hero-text {
          align-items: center;
          text-align: center;
      }

      .hero-title {
          font-size: 37px;
          line-height: 1.4;
      }

      .hero-description {
          max-width: 100%;
      }

      .hero-buttons {
          /* flex-direction: column; */
          gap: 16px;
      }

      .hero-image {
          width: 100%;
          height: auto;
      }

      .hero-steps {
          display: flex;
          gap: 12px;
          flex-wrap: wrap;
      }
  }

  /* Base styles */
  .our-products-section {
      width: 100%;
      height: 100%;
      padding: 96px 64px;
      background: #E7E8E9;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      gap: 32px;
  }

  .our-products-content {
      width: 100%;
      max-width: 1280px;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      gap: 32px;
  }

  .section-header {
      width: 100%;
      max-width: 1280px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 16px;
  }

  .section-title-container {
      padding: 8px 12px;
      background: var(--Background-section, white);
      border-radius: 99px;
      outline: 1px solid var(--border-divider, #E8E8E8);
      display: flex;
      justify-content: center;
      align-items: center;
  }

  .section-Ourproducts {
      color: var(--Color-Scheme-1-Text, #020A03);
      font-size: 16px;
      font-weight: 700;
      word-wrap: break-word;
  }

  .main-heading {
      text-align: center;
      font-size: 37px;
      font-weight: 700;
      color: var(--text-primary, black);
  }

  .product-categories {
      display: flex;
      gap: 12px;
  }

  .product-category {
      width: 150px;
      padding: 12px 0;
      text-align: center;
      font-size: 16px;
      font-weight: 400;
      cursor: pointer;
  }

  .category-active {
      color: var(--text-brand, #0052CC);
      border-bottom: 2px solid var(--border-brand, #0052CC);
  }

  .tabs-container {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      border-radius: 99px;
      border: 1px solid var(--border-divider, #E8E8E8);
  }

  .tab {
      height: 40px;
      min-width: 80px;
      padding: 8px 16px;
      border-radius: 47px;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 16px;
      font-weight: 400;
      cursor: pointer;
      background: none;
  }

  .tab-active {
      border-radius: 47px;
      border: 1px solid var(--color-text-tab-active, #1677FF);
  }

  /* Base Styles */
  .product-featured {
      width: 100%;
      max-width: 1280px;
      display: flex;
      justify-content: flex-start;
      /* จัดให้องค์ประกอบอยู่เริ่มต้นจากซ้าย */
      align-items: flex-start;
      /* จัดให้แต่ละองค์ประกอบอยู่ที่ด้านบน */
      gap: 32px;
      /* กำหนดระยะห่างระหว่างแต่ละองค์ประกอบ */
      flex-wrap: wrap;
      /* อนุญาตให้ย้ายองค์ประกอบไปที่บรรทัดใหม่เมื่อพื้นที่ไม่พอ */
  }

  .product-featured-item {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 32px;
      flex-wrap: wrap;
      width: 100%;
      flex-direction: row-reverse;
  }

  /* .product-image */
  .product-image {
      position: relative;
      background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%);
      background-image: url(https://placehold.co/624x468);
      height: 468px;
      display: flex;
      justify-content: center;
      align-items: center;
      flex: 1 1 40%;
      /* ทำให้ภาพยืดหยุ่นได้และรองรับในขนาดเล็ก */
  }

  /* .image-overlay */
  .image-overlay {
      position: absolute;
      background: rgba(0, 0, 0, 0.30);
      border-radius: 100px;
      padding: 16px;
      display: flex;
      justify-content: center;
      align-items: center;
  }

  /* .overlay-text */
  .overlay-text {
      color: white;
      font-size: 16px;
      font-weight: 500;
  }

  /* .product-description */
  .product-description {
      padding: 32px;
      border-radius: 16px;
      outline: 1px solid var(--border-divider, #E8E8E8);
      display: flex;
      flex-direction: column;
      gap: 24px;
      flex: 1 1 40%;
      /* ทำให้ product-description ใช้พื้นที่ที่เหลือ */
  }

  .appX-feature {
      display: flex;
      align-items: flex-start;
      gap: 24px;
      align-self: stretch;
  }

  .custom-wrapper {
      width: 100%;
      height: 100%;
      display: inline-flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: flex-start;
      gap: 16px;
  }

  .custom-title {
      align-self: stretch;
      color: var(--Color-Scheme-1-Text, #020A03);
      font-size: 20px;
      font-weight: 600;
      line-height: 26px;
      word-wrap: break-word;
  }

  .custom-description {
      align-self: stretch;
      color: var(--text-secondary, #666666);
      font-size: 16px;
      font-weight: 400;
      line-height: 22.4px;
      word-wrap: break-word;
  }


  /* .product-feature */
  .product-feature {
      display: flex;
      align-items: flex-start;
      gap: 20px;
  }

  /* .feature-icon {
      width: 16px;
      height: 16px;
  } */

  .feature-text {
      font-size: 18px;
      font-weight: 400;
      line-height: 22.40px;
  }

  /* .cta-buttons */
  .Explore-buttons {
      display: flex;
      gap: 12px;
      flex: 1 1 40%;
      /* ทำให้ปุ่ม CTA ยืดหยุ่นได้ */
  }

  /* .cta-button-primary, .cta-button-secondary */
  .cta-button-primary,
  .cta-button-secondary {
      height: 44px;
      padding: 12px;
      border-radius: 8px;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
  }

  /* .cta-button-primary */
  .cta-button-primary {
      background: var(--Brand-Third, #0052CC);
  }

  /* .cta-button-secondary */
  .cta-button-secondary {
      background: none;
      outline: 1px solid var(--border-brand, #0052CC);
      color: var(--text-brand, #0052CC);
  }

  /* .cta-button-text */
  .cta-button-text {
      font-size: 16px;
      font-weight: 400;
      line-height: 22.40px;
  }

  /* Responsive styles */
  @media (max-width: 768px) {

      /* เปลี่ยนการจัดการการแสดงผลเมื่อหน้าจอเล็กลง */
      .product-featured {
          flex-direction: column;
          /* เรียงแบบคอลัมน์ */
          align-items: center;
          /* จัดให้ตรงกลาง */
      }

      .product-featured-item {
          margin-bottom: 32px;
          /* เพิ่มระยะห่างระหว่าง items */
          width: 100%;
          /* ทำให้แต่ละ item ใช้ความกว้างเต็มหน้าจอ */
      }

      /* ปรับให้ .product-image และ .product-description ใช้พื้นที่เต็มที่ */
      .product-image,
      .product-description,
      .Explore-buttons {
          flex: 1 1 100%;
          /* ทำให้แต่ละองค์ประกอบขยายเต็มที่ */
      }

      .cExplore-buttons {
          flex-direction: column;
          /* วางปุ่ม CTA ในแนวตั้ง */
          gap: 16px;
      }

      .product-description {
          padding: 24px;
          /* ปรับขนาด padding */
      }
  }

  /* --- md --- */
  @media (min-width: 768px) and (max-width: 1024px) {

      /* เปลี่ยนการจัดการการแสดงผลเมื่อหน้าจอเล็กลง */
      .product-featured {
          flex-direction: column;
          /* เรียงแบบคอลัมน์ */
          align-items: center;
          /* จัดให้ตรงกลาง */
      }

      .product-featured-item {
          margin-bottom: 32px;
          /* เพิ่มระยะห่างระหว่าง items */
          width: 100%;
          /* ทำให้แต่ละ item ใช้ความกว้างเต็มหน้าจอ */
      }

      /* ปรับให้ .product-image และ .product-description ใช้พื้นที่เต็มที่ */
      .product-image,
      .product-description,
      .Explore-buttons {
          flex: 1 1 100%;
          /* ทำให้แต่ละองค์ประกอบขยายเต็มที่ */
      }

      .cExplore-buttons {
          flex-direction: column;
          /* วางปุ่ม CTA ในแนวตั้ง */
          gap: 16px;
      }

      .product-description {
          padding: 24px;
          /* ปรับขนาด padding */
      }
  }


  /* Style for the video popup */
  /* Style for the video popup */
  .video-popup {
      display: none;
      /* Hide by default */
      position: fixed;
      z-index: 9999;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.7);
      /* Semi-transparent background */
      justify-content: center;
      align-items: center;
      text-align: center;
  }

  .popup-content {
      position: relative;
      background-color: #fff;
      padding: 20px;
      border-radius: 10px;
      max-width: 90%;
      width: 80%;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }

  .close-popup {
      position: absolute;
      top: 10px;
      right: 20px;
      color: #aaa;
      font-size: 28px;
      font-weight: bold;
      cursor: pointer;
  }

  .close-popup:hover,
  .close-popup:focus {
      color: black;
      text-decoration: none;
      cursor: pointer;
  }

  .video-container iframe {
      width: 100%;
      height: 100%;
      border: none;
      border-radius: 8px;
  }

  /* Optional: Button styling for "Explore AutomationX" */
  .open-video-btn {
      background-color: #0052CC;
      color: white;
      padding: 12px 24px;
      border-radius: 8px;
      font-size: 16px;
      border: none;
      cursor: pointer;
      transition: background-color 0.3s ease;
  }

  .open-video-btn:hover {
      background-color: #0041a1;
  }


  /* Base Styles for Buttons */
  .button-explore,
  .button-use-case {
      height: 44px;
      padding: 12px 24px;
      border-radius: 8px;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      font-size: 16px;
      font-weight: 400;
      cursor: pointer;
      transition: all 0.3s ease;
      /* การเปลี่ยนแปลงทั้งหมดในเวลา 0.3 วินาที */
  }

  /* ปุ่ม Explore AutomationX */
  .button-explore {
      background: #0052CC;
      color: white;
      border: none;
      position: relative;
  }

  .button-explore:hover {
      transform: translateY(-5px);
      /* ขยับปุ่มขึ้นเล็กน้อย */
      box-shadow: 0 4px 15px rgba(0, 82, 204, 0.3);
      /* เพิ่มเงา */
  }

  .button-explore:hover .button-text {
      color: #F5F5F5;
      /* เปลี่ยนสีของข้อความ */
  }

  .button-explore .button-text {
      display: flex;
      align-items: center;
      gap: 8px;
  }

  /* ปุ่ม See Use Case */
  .button-use-case {
      background: none;
      outline: 1px solid #0052CC;
      color: #0052CC;
      border: none;
      position: relative;
  }

  .button-use-case:hover {
      transform: translateY(-5px);
      /* ขยับปุ่มขึ้นเล็กน้อย */
      box-shadow: 0 4px 15px rgba(0, 82, 204, 0.3);
      /* เพิ่มเงา */
      background: #F5F5F5;
      /* เปลี่ยนสีพื้นหลัง */
  }

  .button-use-case:hover .button-text {
      color: #0052CC;
      /* เปลี่ยนสีข้อความ */
  }

  /* ปรับสัญลักษณ์ (Arrow) */
  .button-explore .button-text::after {
      content: ' →';
      transition: transform 0.3s ease;
  }

  .button-explore:hover .button-text::after {
      transform: translateX(5px);
      /* ทำให้ลูกศรเคลื่อนไหวเมื่อ hover */
  }



  /* Header */
  .product-tag {
      text-transform: uppercase;
      font-size: 0.9em;
      color: #555;
      margin-bottom: 5px;
  }

  h1 {
      font-size: 2.5em;
      font-weight: 700;
      margin-top: 0;
      margin-bottom: 30px;
  }

  /* Main Tabs (AutomationX, AppX, AgentX) */



  .tab-button {
      background: none;
      border: none;
      padding: 10px 25px;
      cursor: pointer;
      font-size: 1em;
      color: #555;
      border-radius: 0px;
      transition: background-color 0.3s, color 0.3s;
      font-weight: 600;
  }

  .tab-button.active {
      font-weight: bold;
      color: #0052cc;
      border-bottom: 2px solid var(--border-brand, #0052CC);
  }

  .tab-content {
      display: none;
  }

  .tab-content.active {
      display: block;
  }

  /* Sub Tabs (Marketing, Customer Support, etc.) */
  .sub-tabs {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 28px;
      border: 1px solid #ffffff;
      border-radius: 40px;
      /* width: fit-content; */
      margin: auto auto 30px auto;
  }

  .sub-tab-button {
      background: none;
      border: none;
      padding: 8px 15px;
      cursor: pointer;
      font-size: 0.9em;
      color: #555;
      border-radius: 47px;
      transition: background-color 0.3s, border-color 0.3s, color 0.3s;
      border: 1px solid transparent;
  }

  .sub-tab-button.active {
      border-radius: 99px;
      border: 1px solid var(--Color-Scheme-1-Border-dark, rgba(0, 0, 0, 0.15));
      background: #FFF;
      color: var(--Color-Neutral-Darkest, #000);

  }

  /* Content Area (Left/Right Sections) */
  .sub-content-area {
      display: flex;
      justify-content: space-between;
      gap: 40px;
      text-align: left;
  }

  .left-section {
      flex: 1;
      min-width: 45%;
  }

  .right-section {
      flex: 1;
      min-width: 45%;
  }

  .content-box {
      background-color: white;
      padding: 40px;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  }

  .content-box h2 {
      font-size: 1.8em;
      font-weight: 700;
      margin-top: 0;
      margin-bottom: 20px;
  }

  /* List Styling */
  .content-box ul {
      list-style: none;
      padding: 0;
      margin-bottom: 30px;
  }

  .content-box li {
      display: flex;
      align-items: flex-start;
      margin-bottom: 15px;
      line-height: 1.4;
      font-size: 1em;
      color: #333;
  }

  .check {
      color: #007bff;
      /* Blue checkmark */
      font-size: 1.2em;
      margin-right: 15px;
      font-weight: bold;
  }

  /* Video Placeholder (Left Section) */
  .video-placeholder {
      width: 100%;
      /* Aspect ratio 16:9 */
      padding-top: 56.25%;
      background-color: #222;
      border-radius: 10px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      /* Set a dark background image or color */
      background-image: url('placeholder-background.jpg');
      /* Replace with a dark image if needed */
      background-size: cover;
  }

  .video-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.4);
      /* Dark overlay */
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      color: white;
      padding: 20px;
      box-sizing: border-box;
  }

  .logo-image {
      position: absolute;
      top: 20px;
      left: 20px;
      font-size: 1.2em;
      font-weight: bold;
  }

  .play-button {
      font-size: 3em;
      border: 2px solid white;
      border-radius: 50%;
      width: 80px;
      height: 80px;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      margin-bottom: 20px;
      padding-left: 10px;
      /* Adjust for triangle shape */
  }

  .video-overlay h2 {
      font-size: 2em;
      margin-bottom: 5px;
      text-align: center;
  }

  .video-overlay p {
      margin: 0;
      font-size: 1em;
      opacity: 0.8;
  }

  .website {
      position: absolute;
      bottom: 20px;
      left: 20px;
      font-size: 0.8em;
      opacity: 0.7;
  }

  /* Action Buttons */
  .actions {
      display: flex;
      gap: 15px;
      margin-top: 30px;
  }

  .primary-button,
  .secondary-button {
      padding: 12px 25px;
      border-radius: 5px;
      cursor: pointer;
      font-weight: 600;
      font-size: 1em;
      transition: background-color 0.3s;
  }

  .primary-button {
      background-color: #007bff;
      color: white;
      border: none;
  }

  .primary-button:hover {
      background-color: #0056b3;
  }

  .secondary-button {
      background-color: white;
      color: #007bff;
      border: 1px solid #007bff;
  }

  .secondary-button:hover {
      background-color: #f0f8ff;
  }

  /* Utility Class for Hiding Content */
  .hidden {
      display: none !important;
  }

  /* Responsive adjustments */
  @media (max-width: 900px) {
      .sub-content-area {
          flex-direction: column;
      }

      .left-section,
      .right-section {
          min-width: 100%;
      }

      .sub-tabs {
          flex-wrap: wrap;
          padding: 10px;
      }

      .actions {
          flex-direction: column;
      }
  }

  /* Utility Class for Hiding Content - ต้องมีใน styles.css */
  .hidden {
      display: none !important;
  }

  /* --- Styling for AppX Content --- */

  .appx-content-layout {
      display: flex;
      justify-content: space-between;
      gap: 40px;
      text-align: left;
  }

  /* AppX UI Placeholder (Left Section) */
  /* --- Styling for AppX Content --- */

  .appx-content-layout {
      display: flex;
      justify-content: space-between;
      gap: 40px;
      text-align: left;
  }

  /* AppX UI Placeholder (Left Section) */
  .appx-ui-placeholder {
      width: 100%;
      height: 600px;
      background-color: #f0f0f0;
      border-radius: 10px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      border: 1px solid #ddd;
      background-color: white;
  }

  .appx-title {
      position: absolute;
      top: 0;
      left: 0;
      padding: 15px 20px;
      font-size: 1.1em;
      font-weight: bold;
      color: #444;
      background-color: #e5e5e5;
      width: 100%;
      box-sizing: border-box;
      border-bottom: 1px solid #ccc;
  }

  .appx-screen {
      padding-top: 50px;
      padding-left: 20px;
      padding-right: 20px;
      height: 100%;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      align-items: center;
  }

  .appx-screen .description {
      text-align: center;
      color: #777;
      margin-top: 20px;
  }

  .app-list-placeholder {
      height: 400px;
      width: 100%;
      background-color: #f7f7f7;
      border: 1px solid #eee;
      margin-top: 30px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #bbb;
      font-size: 0.9em;
      /* จำลองการแสดงภาพ UI ภายใน */
      background-image: linear-gradient(to bottom, #f0f0f0, #e0e0e0);
      border-radius: 5px;
  }

  /* AppX Feature List (Right Section) */
  .feature-list {
      margin-top: 20px;
  }

  .feature-item {
      display: flex;
      align-items: flex-start;
      margin-bottom: 30px;
  }


  .feature-item h3 {
      margin: 0;
      font-size: 1.2em;
      font-weight: bold;
  }

  .feature-item p {
      margin-top: 5px;
      color: #555;
  }

  /* Responsive adjustments */
  @media (max-width: 900px) {
      .appx-content-layout {
          flex-direction: column;
      }

      .appx-ui-placeholder {
          height: 400px;
      }
  }


  /* --- Styling for AgentX Content --- */

  /* ใช้ layout เดียวกับ AppX แต่กำหนดคลาสเฉพาะเพื่อความยืดหยุ่น */
  .agentx-content-layout {
      display: flex;
      justify-content: space-between;
      gap: 40px;
      text-align: left;
  }

  /* AgentX UI Placeholder (Left Section) */
  .agentx-ui-placeholder {
      width: 100%;
      height: 600px;
      background-color: #f0f0f0;
      border-radius: 10px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      border: 1px solid #ddd;
      background-color: #444;
      /* ใช้พื้นหลังสีเข้มตามภาพ AgentX */
  }

  .agentx-title {
      position: absolute;
      top: 0;
      left: 0;
      padding: 15px 20px;
      font-size: 1.1em;
      font-weight: bold;
      color: #fff;
      /* เปลี่ยนเป็นสีขาวสำหรับพื้นหลังเข้ม */
      background-color: #333;
      width: 100%;
      box-sizing: border-box;
      border-bottom: 1px solid #666;
  }

  .agentx-screen {
      padding-top: 50px;
      padding-left: 20px;
      padding-right: 20px;
      height: 100%;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      /* จัดให้อยู่ตรงกลางของพื้นที่ */
  }

  .agent-setup-placeholder {
      /* จำลอง UI modal/setup screen */
      height: 500px;
      width: 90%;
      background-color: #d0d0d0;
      /* สีพื้นหลังของ modal */
      border: 1px solid #bbb;
      border-radius: 8px;
      display: flex;
      justify-content: center;
      align-items: center;
      color: #777;
      font-size: 0.9em;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  }

  /* Responsive adjustments */
  @media (max-width: 900px) {
      .agentx-content-layout {
          flex-direction: column;
      }

      .agentx-ui-placeholder {
          height: 400px;
      }

      .agent-setup-placeholder {
          height: 350px;
      }
  }


  /* ส่วนที่ควรมีใน styles.css เพื่อให้ JavaScript ทำงาน */

  /* คลาสสำหรับซ่อนเนื้อหา */
  .tab-content,
  .sub-content-area.hidden {
      display: none;
  }

  /* คลาสสำหรับแสดงเนื้อหาที่ active */
  .tab-content.active,
  .sub-content-area:not(.hidden).active {
      display: flex;
      /* ใช้ flex เพื่อให้ content-layout ภายในทำงาน */
      /* สำหรับ tab-content หลัก คุณอาจต้องการให้เป็น block หรือ flex ตามการออกแบบหลัก */
      flex-direction: column;
      width: 100%;
      max-width: 1280px;
  }


  /* 1. คอนเทนเนอร์ของปุ่ม: ใช้ Flexbox เพื่อจัดเรียงแนวนอน */
  .Explore-buttons {
      display: flex;
      /* ทำให้องค์ประกอบลูกเรียงเป็นแถว */
      align-items: center;
      gap: 15px;
      /* กำหนดระยะห่างระหว่างปุ่ม */
      margin-top: 10px;
      /* เพิ่มระยะห่างจากรายการด้านบน */
  }




  /* --- xl --- */
  @media (min-width: 1281px) {}

  /* --- lg --- */
  @media (min-width: 1025px) and (max-width: 1280px) {}

  /* --- md --- */
  @media (min-width: 768px) and (max-width: 1024px) {}

  /* --- sm xs --- */
  @media (min-width: 200px) and (max-width: 767px) {}

  @media (max-width: 480px) {
      .our-products-section {
          padding: 60px 20px;
      }
  }



  .video-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      display: none;
      /* initially hidden */
      justify-content: center;
      align-items: center;
      z-index: 1000;
      /* margin-top: 50px; */
  }

  .video-wrapper {
      position: relative;
      width: 80%;
      max-width: 960px;
      aspect-ratio: 16/9;
      background: black;
  }

  .video-wrapper iframe {
      width: 100%;
      height: 100%;
      border-radius: 8px;
  }



  .video-close {
      position: absolute;
      top: -50px;
      left: 50%;
      transform: translateX(-50%);
      color: white;
      cursor: pointer;
      z-index: 9999;
      border-radius: 99px;
      background: var(--Color-Neutral-Darkest, #000);
      box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
      display: flex;
      padding: 8px;
      align-items: center;
      gap: 10px;
      transition: all 0.3s ease;
  }

  /* hover effect */
  .video-close:hover {
      transform: translateX(-50%) scale(1.1);
      box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
      background: rgba(0, 0, 0, 0.85);
  }



  .allvideos-play-icon svg {
      transition: transform 0.3s ease, filter 0.3s ease;
  }

  .allvideos-card:hover .allvideos-play-icon svg {
      transform: scale(1.2);
      filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
  }

  .allvideos-card:active .allvideos-play-icon svg {
      transform: scale(0.9);
  }


  /* --- xl --- */
  @media (min-width: 1281px) {}

  /* --- lg --- */
  @media (min-width: 1025px) and (max-width: 1280px) {}

  /* --- md --- */
  @media (min-width: 768px) and (max-width: 1024px) {
      .courses-title {
          color: black;
          font-size: 50px;
          font-weight: 500;
          line-height: normal;
      }
  }

  /* --- sm xs --- */
  @media (min-width: 200px) and (max-width: 767px) {
      .courses-title {
          color: black;
          font-size: 36px;
          font-weight: 500;
          line-height: normal;
      }

      .courses-text {
          display: flex;
          flex-direction: column;
          gap: 0px;
          flex: 1 1 0px;
      }
  }

  .allvideos-section {
      width: 100%;
      padding: 112px 64px;
      background: #05070B;
      display: flex;
      justify-content: center;
  }

  .allvideos-container {
      max-width: 1280px;
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 24px;
      color: white;
  }

  .allvideos-title {
      font-size: 28px;
      font-weight: 500;
      line-height: 39.2px;
  }

  .allvideos-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 24px;
  }

  .allvideos-card {
      flex: 1 1 calc(33% - 24px);
      /* 
      border-radius: 16px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      overflow: hidden;
      display: flex;
      flex-direction: column; */
  }

  .allvideos-thumbnail {
      position: relative;
      width: 100%;
      height: 250px;
      background-size: cover;
      background-position: center;
  }

  .allvideos-play-overlay {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 128px;
      height: 102px;
      /* background: rgba(0, 0, 0, 0.15); */
      transform: translate(-50%, -50%);
  }

  .allvideos-play-icon {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 53px;
      height: 53px;
      /* background: white; */
      transform: translate(-50%, -50%);
  }

  .allvideos-card-content {
      padding: 24px;
  }

  .allvideos-card-title {
      font-size: 22px;
      font-weight: 500;
      line-height: 30.8px;
  }

  .allvideos-pagination {
      padding-top: 32px;
      display: flex;
      justify-content: space-between;
      align-items: center;
  }

  .allvideos-page-btn {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 8px 20px;
      border-radius: 100px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      background: transparent;
      color: white;
      font-size: 16px;
      font-weight: 500;
      cursor: pointer;
  }

  .allvideos-page-numbers {
      display: flex;
      gap: 2px;
  }

  .allvideos-page {
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 8px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      font-size: 18px;
      cursor: pointer;
  }

  .allvideos-page.active {
      background: rgba(255, 255, 255, 0.15);
  }

  /* Responsive adjustments */
  @media (max-width: 1024px) {
      .allvideos-card {
          flex: 1 1 calc(50% - 24px);
      }
  }

  @media (max-width: 600px) {
      .allvideos-card {
          flex: 1 1 100%;
      }

      .allvideos-pagination {
          flex-direction: column;
          gap: 16px;
      }
  }






  .allvideos-card {
      flex: 1 1 calc(33.33% - 24px);
      border-radius: 20px;

  }

  /* เมื่อ hover ให้ card ขยาย */
  /* .allvideos-card:hover {
      transform: scale(1.05);
  } */

  /* ปรับความสูงของ thumbnail */
  .allvideos-thumbnail {
      position: relative;
      width: 100%;
      height: 300px;
      /* เพิ่มความสูง */
      background-size: cover;
      background-position: center;
      transition: transform 0.3s ease-in-out;
      /* เพิ่มการเคลื่อนไหว */
  }

  /* เมื่อ hover ให้ thumbnail ขยาย */
  /* .allvideos-card:hover .allvideos-thumbnail {
      transform: scale(1.1);
  } */

  /* การปรับความใหญ่ของ play icon */
  .allvideos-play-icon {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 64px;
      /* ขยาย icon */
      height: 64px;
      cursor: pointer;
      transition: transform 0.3s ease, filter 0.3s ease;
  }

  /* เพิ่ม effect เมื่อ hover บน play icon */
  .allvideos-thumbnail:hover .allvideos-play-icon {
      transform: translate(-50%, -50%) scale(1.2);
      /* ขยาย icon เมื่อ hover */
      filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
      /* ให้ icon มีเงา */
  }

  /* ปรับการแสดงผลสำหรับ mobile */
  @media (max-width: 1024px) {
      .allvideos-card {
          flex: 1 1 calc(50% - 24px);
          /* เปลี่ยนให้เป็น 2 คอลัมน์บนหน้าจอขนาดกลาง */
      }
  }

  @media (max-width: 600px) {
      .allvideos-card {
          flex: 1 1 100%;
          /* เปลี่ยนให้เป็น 1 คอลัมน์บนหน้าจอขนาดเล็ก */
      }

      .allvideos-thumbnail {
          height: 250px;
          /* ลดความสูงของ thumbnail บนหน้าจอเล็ก */
      }
  }



  /* คอนเทนเนอร์หลัก */
  .banner-container {
      max-width: 1280px;
      width: 100%;
      overflow: hidden;
      position: relative;
      padding: 20px 0;
      /* เพิ่มระยะห่างด้านบนและล่าง */
      background-color: #f8f8f8;
      /* เพิ่มพื้นหลัง */
  }

  /* กลุ่มโลโก้ */
  .logo-group {
      display: flex;
      transition: transform 0.5s ease-in-out;
      /* การเลื่อนที่ราบรื่น */
      will-change: transform;
      /* บอกเบราว์เซอร์ว่าเราจะใช้การเปลี่ยนแปลงที่นี้ */
  }

  /* โลโก้แต่ละอัน */
  .product-logo {
      /* width: 80px;   */
      height: auto;
      margin: 0 20px;
      object-fit: contain;
      transition: transform 0.3s ease-in-out;
  }

  /* เอฟเฟกต์เมื่อเลื่อน */
  .product-logo:hover {
      transform: scale(1.1);
  }

  /* ทำให้การเลื่อนมองเห็นมากขึ้น */
  @media screen and (max-width: 768px) {
      .product-logo {
          /* width: 80px;   */
          margin: 0 10px;
      }
  }



  @keyframes slide {
      0% {
          transform: translateX(0);
      }

      100% {
          transform: translateX(-100%);
      }
  }


  .banner-container {
      width: 100%;
      overflow: hidden;
      position: relative;
      padding: 20px 0;
  }

  .logo-track {
      display: flex;
      flex-wrap: nowrap;
      /* บังคับให้เป็นแถวเดียว */
      align-items: center;
      gap: 30px;
      /* ระยะห่างระหว่างโลโก้ */
      width: max-content;
      /* กว้างเท่าที่เนื้อหาจริงใช้ */
      animation: scrollLoop 20s linear infinite;
  }

  .product-logo {
      /* width: 80px;             */
      height: auto;
      object-fit: contain;
  }

  /* เลื่อนวนลูปอย่างเนียน */
  @keyframes scrollLoop {
      from {
          transform: translateX(0);
      }

      to {
          transform: translateX(-50%);
      }
  }



  /* --- sm xs --- */
  @media (min-width: 200px) and (max-width: 767px) {

      .button-explore,
      .button-use-case {
          height: 44px;
          padding: 10px 9px;
          border-radius: 8px;
          display: flex;
          justify-content: center;
          align-items: center;
          gap: 8px;
          font-size: 16px;
          font-weight: 400;
          cursor: pointer;
          transition: all 0.3s ease;
      }
  }




  /* -------------- Mobile -------------- */
  @media (max-width: 900px) {
      .px-lang__menu {
          position: absolute;
          right: 0;
          top: calc(100% + 8px);
          min-width: 160px !important;
          background: var(--px-panel);
          border-radius: var(--px-radius);
          box-shadow: var(--px-shadow);
          padding: 10px 0;
          margin: 0;
          left: -50px;
      }

      .sub-tabs {
          display: flex !important;
          flex-wrap: nowrap !important;
          /* ห้ามตกบรรทัด */
          overflow-x: auto !important;
          /* เลื่อนซ้าย–ขวา */
          -webkit-overflow-scrolling: touch !important;
          justify-content: flex-start !important;
          /* ชิดซ้าย */
          gap: 12px !important;
          padding: 0px !important;
          white-space: nowrap !important;
          margin: 8px 8px !important;
      }

      .sub-tab-button {
          flex: 0 0 auto !important;
          /* ขนาดตามเนื้อ ไม่ยืด */
          font-size: 13px !important;
          padding: 8px 18px !important;
          white-space: nowrap !important;
      }

      /* ซ่อน scrollbar ให้ดูสะอาด */
      .sub-tabs::-webkit-scrollbar {
          display: none !important;
      }

      .sub-tabs {
          scrollbar-width: none !important;
          /* Firefox */
      }

      .Explore-buttons {
          display: flex;
          gap: 15px;
          margin-top: 10px;
          flex-direction: column;
          align-items: unset;
      }
  }