  /* โหลดฟอนต์ 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: #ffffff !important; 
    font-weight: bold !important; 
}

  .fadeUp {
    animation: fadeUp both;
    animation-timeline: view();
  }

  .timeline-item:nth-child(1) {
    animation-range: entry 20% cover 10%;
  }

  .timeline-item:nth-child(2) {
    animation-range: entry 40% cover 60%;
  }

  .timeline-item:nth-child(3) {
    animation-range: entry 60% cover 80%;
  }


  @keyframes fadeUp {
    from {
      opacity: 1;
      transform: translateY(10px) scale(0.5);
    }

    to {
      opacity: 1;
      transform: translateY(0) scale(1);
    }
  }


  /* --- sm xs --- */
  @media (min-width: 200px) and (max-width: 767px) {
    .fadeUp {
      animation: none;
    }

  }

  :root {
    --pure-black: #070A0F;
    --near-black: #070A0F;
    --dark-gray: #1a1d23;
    --medium-gray: #555555;
    --light-gray: #aaaaaa;
    --very-light-gray: #e0e0e0;
    --off-white: #f5f5f5;
    --pure-white: #ffffff;
  }

  body {
    font-family: 'Inter', sans-serif;
    background-color: var(--pure-white);
    color: var(--near-black);
  }

  .navbar {
    background: var(--white);
    padding: 1rem 0;
    position: fixed !important;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  /* Desktop */
  .responsive-section {
    padding: 112px 64px;
  }

  /* Mobile */
  @media (max-width: 768px) {}

  /* --- md --- */
  @media (min-width: 768px) and (max-width: 1024px) {
    .responsive-section {
      padding: 80px 20px !important;
    }
  }

  /* --- sm xs --- */
  @media (min-width: 200px) and (max-width: 767px) {
    /* .responsive-section {
      padding: 80px 20px !important;
    } */
  }

  .navbar-monochrome.sticky-top {
    top: 0;
    z-index: 1030;
    /* Bootstrap default for navbar sticky */
  }


  .btn-stroke-light {
    /* width: 100%;
  height: 100%; */
    padding: 8px 20px;
    border-radius: 100px !important;
    outline: 1px rgba(255, 255, 255, 0.2) solid;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .btn-stroke-light:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .btn-filled-light {
    /* width: 100%;
  height: 100%; */
    padding: 8px 20px;
    background: white;
    border-radius: 100px !important;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.3s ease, box-shadow 0.3s ease;
  }

  .btn-filled-light:hover {
    background: #f2f2f2;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
  }

  /* Navbar and Footer Styles */
  .navbar-monochrome {
    background-color: var(--near-black);

  }


  /* Typography */
  .text-light-gray {
    color: var(--light-gray) !important;
  }

  .text-very-light {
    color: var(--very-light-gray) !important;
  }

  /* Button Styles */
  .btn-outline-white {
    color: var(--pure-white) !important;
    border-color: var(--pure-white) !important;
  }

  .btn-outline-white:hover {
    background-color: var(--pure-white) !important;
    color: var(--near-black) !important;
  }

  .btn-white {
    background-color: var(--pure-white) !important;
    color: var(--near-black) !important;
  }

  .btn-white:hover {
    background-color: var(--off-white) !important;
    color: var(--pure-black) !important;
  }

  .btn-black {
    background-color: var(--near-black) !important;
    color: var(--pure-white) !important;
  }

  .btn-black:hover {
    background-color: var(--pure-black) !important;
    color: var(--pure-white) !important;
  }

  /* Link Styles */
  .nav-link-monochrome {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .nav-link-monochrome:hover {
    color: var(--pure-white);
  }

  /* Dropdown Styles */

  .dropdown-Products[data-bs-popper] {
    top: 100%;
    left: -50px !important;
    margin-top: var(--bs-dropdown-spacer);
  }

  .dropdown-menu-monochrome {
    background-color: var(--dark-gray);
    border: 1px solid var(--medium-gray);
  }

  .dropdown-item-monochrome {
    color: var(--light-gray);
  }

  .dropdown-item-monochrome:hover {
    background-color: var(--medium-gray);
    color: var(--pure-white);
  }

  /* Footer Link Styles */
  .footer-link-monochrome {
    color: var(--light-gray);
    text-decoration: none;
    transition: all 0.2s ease;
    display: block;
    padding: 0.25rem 0;
  }

  .footer-link-monochrome:hover {
    color: var(--pure-white);
    transform: translateX(5px);
  }

  /* Section Styles */
  .section-light {
    background-color: var(--pure-white);
  }

  .section-dark {
    background-color: var(--near-black);
    color: var(--pure-white);
  }

  .section-gray {
    background-color: var(--off-white);
  }

  /* Card Styles */
  .card-monochrome {
    border: none;
    background-color: var(--pure-white);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .card-monochrome-dark {
    border: none;
    background-color: var(--dark-gray);
    color: var(--pure-white);
  }

  /* Animation for navbar collapse */
  .navbar-collapse {
    transition: all 0.3s ease;
  }

  /* Back to top button */
  .back-to-top-monochrome {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--near-black);
    color: var(--pure-white);
    text-align: center;
    line-height: 40px;
    z-index: 99;
    transition: all 0.3s ease;
  }

  .back-to-top-monochrome:hover {
    background: var(--pure-black);
  }

  /* Cookie consent banner */
  .cookie-consent-monochrome {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-gray);
    color: var(--pure-white);
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding: 1rem 0;
    transform: translateY(100%);
    transition: transform 0.5s ease;
  }

  .cookie-consent-monochrome.show {
    transform: translateY(0);
  }

  /* Superscript styling */
  .superscript-monochrome {
    font-size: 60%;
    vertical-align: super;
    color: var(--pure-white);
  }

  /* Breadcrumb styling */
  .breadcrumb-monochrome {
    background-color: var(--off-white);
  }

  .breadcrumb-link-monochrome {
    color: var(--medium-gray);
    text-decoration: none;
  }

  .breadcrumb-link-monochrome:hover {
    color: var(--dark-gray);
  }

  /* Footer link styling */
  .footer-link {
    color: #495057;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
    padding: 0.25rem 0;
  }


  /* Header */

  .logo {
    max-height: 40px;
    height: auto;
    width: auto;
    display: block;
  }


  /*  */

  .dropdown-menu {
    background-color: #000 !important;
    color: #fff !important;
    border-radius: 12px !important;
    padding: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
  }

  .dropdown-menu .dropdown-item {
    color: #fff !important;
    background-color: transparent !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    transition: background 0.2s ease !important;
  }

  .dropdown-menu .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.08) !important;
  }

  .dropdown-menu small,
  .dropdown-menu .text-light-gray,
  .dropdown-menu .text-secondary {
    color: #ccc !important;
    font-size: 14px !important;
    font-weight: 400 !important;
  }

  .dropdown-menu .dropdown-divider {
    background-color: rgba(255, 255, 255, 0.15) !important;
    margin: 4px 0 !important;
  }




  .section-footer {
    background-color: #070a0f;
    color: #fff;
    padding: 80px 64px;
  }

  /* .footer-logo img {
    width: 80px;
    height: 16px;
  } */

  .footer-container {
    max-width: 1280px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
  }

  .footer-top {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: space-between;
  }


  .contact-button {
    text-decoration: none !important;
    background-color: #073966;
    color: white;
    border: none;
    border-radius: 100px;
    padding: 8px 20px;
    cursor: pointer;
    font-weight: 500;
  }

  .footer-links {
    flex: 2 1 600px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
  }

  .footer-column h4 {
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500;
  }

  .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #fff;
  }

  .footer-column li {
    margin: 8px 0;
    font-size: 14px;
    font-weight: 400;
  }

  .footer-column a {
    text-decoration: none;
    color: #fff;
  }


  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
  }

  .footer-policies a {
    margin-left: 24px;
    color: white;
    text-decoration: underline;
    font-weight: 400;
  }

  @media (max-width: 768px) {
    .footer-top {
      flex-direction: column;
    }

    .footer-links {
      flex-direction: column;
    }

    .footer-policies a {
      margin-left: 0;
      margin-right: 16px;
    }
  }

  @media (prefers-color-scheme: light) {
    .section-footer {
      background-color: #070a0f;
      color: #0b0a0a;
    }

    .contact-button {
      background-color: #004b8d;
    }

    .footer-policies a {
      color: #ffffff;
    }
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 400px;
  }

  .footer-logo img {
    width: 100px;
    /* height: 16px; */
  }

  .footer-description {
    font-size: 18px;
    line-height: 1.5;
    color: #ffffff;
    font-weight: 400;
  }

  .footer-contact-btn {
    padding: 8px 20px;
    background-color: var(--brand-color, #073966);
    color: var(--button-text-color, #ffffff);
    border: none;
    border-radius: 100px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
  }

  @media (prefers-color-scheme: light) {
    .footer-description {
      color: #ffffff;
    }

    .footer-contact-btn {
      background-color: #004b8d;
      color: #fff;
    }
  }


  .contact-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 8px 20px;
    gap: 8px;
    background-color: var(--color-brand-darker, #073966);
    border-radius: 100px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .contact-button span {
    color: var(--color-white, #ffffff);
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    line-height: 24px;
    white-space: nowrap;
  }

  /* Optional: Hover Effect */
  .contact-button:hover {
    background-color: #0a497a;
  }

  /* Light Mode (if system theme changes) */
  @media (prefers-color-scheme: light) {
    .contact-button {
      background-color: #004b8d;
    }

    .contact-button span {
      color: #fff;
    }
  }



  .footer-grid {
    display: flex;
    /* flex-wrap: wrap; */
    gap: 30px;
    color: white;
  }

  .footer-col {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .footer-col h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
  }

  .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-col li {
    padding: 6px 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
    color: #fff !important;
  }

  .footer-col .icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: white;
    margin-right: 8px;
  }



  .footer-grid {
    display: flex;
    flex-wrap: wrap;
    /* gap: 10px; */
    justify-content: space-between;
  }

  .footer-column {
    flex: 1 1 130px;
    min-width: 130px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .social-link {
    cursor: pointer;
  }




  @media (max-width: 768px) {

    /* .footer-column {
    flex: 1 1 50px;
    min-width: 50px;
    display: flex;
    flex-direction: column;
    gap: 16px;
} */
    .footer-brand {
      display: flex;
      flex-direction: column;
      gap: 20px;
      width: 100%;
      max-width: 100%;
    }


    .footer-container {
      max-width: 1280px;
      margin: auto;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .footer-grid {
      flex-wrap: wrap;
      justify-content: space-between;
    }

    .footer-column {
      width: calc(50% - 16px);
      margin-bottom: 24px;
    }

    .footer-column h3 {
      margin-bottom: 8px;
    }

    .footer-column ul {
      padding: 0;
      color: #fff;
    }

    .footer-column li {
      margin-bottom: 6px;
    }
  }

  /* Active Menu Style */
  .navbar-nav .nav-item.active .nav-link-monochrome {
    color: var(--Color-Brand--Light, #59B0FF);
    /* หรือสีที่คุณต้องการ */
    font-weight: bold;
    /* หรือปรับการเน้นข้อความตามต้องการ */
  }


  /* สำหรับ mobile navbar */
  @media (max-width: 992px) {
    .navbar-nav .nav-item {
      margin: 0.75rem 0;
      /* ระยะห่างระหว่าง menu item */
    }

    .navbar-nav .nav-link-monochrome {
      padding: 0.5rem 1rem;
      line-height: 1.6;
      font-size: 1rem;
    }

    .navbar-nav .dropdown-menu {
      background-color: transparent;
      /* ให้ dropdown ต่อกับเมนู */
      border: none;
      box-shadow: none;
    }

    .dropdown-menu .dropdown-item {
      padding: 0.5rem 1.25rem;
      font-size: 0.95rem;
    }
  }

  /* --- sm xs --- */
  @media (min-width: 200px) and (max-width: 767px) {
    .navbar-brand {
      padding-right: 1rem !important;
      padding-left: 1rem !important;
    }
  }

  .navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E") !important;
  }

  .div-item {
    align-items: center;
  }

  /* --- sm xs --- */
  @media (min-width: 200px) and (max-width: 767px) {
    .h-hamberger {
      height: 100vh !important;
      transition: 0.3s all;
    }

    .responsive-mobile {
      padding: 64px 20px !important;
    }

    .responsive-hero {
      padding: 134px 20px 64px 20px !important;
    }

    .section-footer {
      background-color: #070a0f;
      color: #fff;
      padding: 64px 20px;
    }


    .div-gap {
      display: flex !important;
      flex-direction: column !important;
      align-items: stretch !important;
    }

    .px-lang__details:not(:focus-within)>.px-lang__menu {
      opacity: 1 !important;
    }


    .px-lang__menu {
      position: relative !important;
      right: 0;
      top: calc(100% + 8px);
      min-width: 100px;
      padding: 10px 0;
      margin: 0;
      border-radius: var(--px-radius);
      background-color: #000 !important;
      border: 1px solid rgba(255, 255, 255, 0.15) !important;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
    }
  }


  /* ถ้า active อยู่บน <a> */
  .navbar-nav .nav-link-monochrome.active {
    color: var(--Color-Brand--Light, #59B0FF) !important;
    font-weight: bold;
  }

  /* ถ้าคุณยังมีกรณี active อยู่บน <li> ด้วย ก็รองรับไว้ทั้งคู่ */
  .navbar-nav .nav-item.active .nav-link-monochrome {
    color: var(--Color-Brand--Light, #59B0FF) !important;
    font-weight: bold;
  }

  .navbar-nav .nav-link-monochrome.active,
  .navbar-nav .nav-item.dropdown .dropdown-toggle.active {
    color: var(--Color-Brand--Light, #ffffff) !important;
    font-weight: bold;
  }



  /* ===== PromptX Language Dropdown (scoped) ===== */
  .px-lang {
    /* ปรับตำแหน่ง container เองได้ตาม layout ของคุณ */
    position: relative;
    z-index: 30;

    /* ตัวแปรสี/ขนาด (มีผลเฉพาะในคอมโพเนนต์นี้) */
    --px-font: Inter, system-ui, Arial, sans-serif;
    --px-panel: #fff;
    --px-text: #0f0f0f;
    --px-muted: #6b7280;
    --px-radius: 16px;
    --px-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    --px-gap: 8px;
    --px-pad: 8px 12px;
    --px-item-font: 16px;
  }



  .px-lang__details {
    position: relative;
  }

  /* ปุ่ม summary */
  .px-lang__summary {
    list-style: none;
    /* ซ่อน marker ดั้งเดิม */
    cursor: pointer;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: var(--px-gap);
    padding: var(--px-pad);
    border-radius: 10px;
    background: transparent;
    color: #fff;
    font: 500 16px/1 var(--px-font);
    outline: none;
  }

  .px-lang__summary::-webkit-details-marker {
    display: none;
  }

  .px-lang__chev {
    width: 18px;
    height: 18px;
    transform: translateY(1px) rotate(0deg);
    transition: transform .2s ease;
  }

  .px-lang__details[open] .px-lang__chev {
    transform: translateY(1px) rotate(180deg);
  }

  /* แผงเมนู */
  .px-lang__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 100px;
    /* background: var(--px-panel);
    box-shadow: var(--px-shadow); */
    padding: 10px 0;
    margin: 0;
    border-radius: var(--px-radius);
    background-color: #000 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
  }

  /* รายการ */
  .px-lang__item {
    display: block;
    padding: 10px 18px;
    margin: 2px 8px;
    border-radius: 10px;
    text-decoration: none;
    color: #fff;
    font: 400 var(--px-item-font)/1.3 var(--px-font);
    white-space: nowrap;
    transition: background .15s ease, color .15s ease;
  }

  .px-lang__item:hover,
  .px-lang__item:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    outline: none;
  }

  /* ปิด/เปิดแบบนุ่มนวล (ไม่กระทบองค์ประกอบอื่น) */
  .px-lang__details:not(:focus-within)>.px-lang__menu {
    opacity: 0
  }



  /* --- xl --- */
@media (min-width: 1281px){
 .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 300px;
}
}
/* --- lg --- */
@media (min-width: 1025px) and (max-width: 1280px){
 .footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 250px;
}
}
/* --- md --- */
@media (min-width: 768px) and (max-width: 1024px){
 
}
/* --- sm xs --- */
@media (min-width: 200px) and (max-width: 767px){
 
}