    .container-fluid {
      margin-top: 0;

    }

    .top-bar {
      background-color: #0dd6b5; /* สีเหลือง */
      color: #000;
      font-size: 14px;
      padding: 10px 0;
    }

    .top-bar .container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 90%;
      max-width: 1295px;
      margin: 0 auto;
    }

    .top-bar .contact-info span.separator {
      margin: 0 8px;
    }

    .top-bar .social-icons a {
      color: #000;
      margin-left: 10 px;
      text-decoration: none;
      font-weight: 500;
    }

    .top-bar .social-icons a:hover {
      text-decoration: underline;
    }
    .custom-topbar {
      background-color: #0dd6b5; 
      color: white;
      width: 100%;
      height: 40px;

    }
    .navbar {
      background-color: bg-dark; 
    }

    /* กำหนดสไตล์สำหรับ Main Banner */
    .carousel-inner img {
      width: 100%;       /* ให้รูปแสดงเต็มความกว้างของ container */
      height: 680px;     /* กำหนดความสูงคงที่ตามที่ต้องการ */
      object-fit: cover; /* ปรับให้ภาพครอบคลุม container โดยรักษาอัตราส่วนและตัดส่วนเกินออก */
    }
    @media (max-width: 768px) {
    .carousel-inner img {
      height: 50vh; /* ลดความสูงลง */
      }
    }

    .carousel-item::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.6); /* เพิ่มความมืดให้กับพื้นหลัง */
    }
    .machine-image-wrapper {
      max-width: 480px;   /* จำกัดความกว้างสูงสุด */
      width: 100%;        /* แต่ให้ยืดเต็มที่เมื่อเล็กลง */
    }

    .machine-image-wrapper img {
      height: auto;       /* ป้องกันภาพยืด */
      display: block;
      margin-left: auto;
      margin-right: auto;
    }

    .hero-section {
      background-size: cover;
      height: 70vh;
      position: relative;
      color: white;
    }
    .hero-section .hero-text {
      position: absolute;
      top: 50%;
      left: 35%;
      transform: translate(-50%, -50%);
      text-align: left;
      padding: 0 16px;
    }
    @media (max-width: 768px) {
    .hero-section .hero-text h1 {
      font-size: 1.75rem;
      line-height: 1.3;
    }

    .hero-section .hero-text p {
      font-size: 1rem;
      line-height: 1.5;
    }

    .hero-section .hero-text a.btn {
      font-size: 0.9rem;
      padding: 10px 20px;
      border-radius: 16px;
      white-space: nowrap; /* ป้องกันปุ่มขึ้นบรรทัดใหม่ */
    }
    }


    .content-icon {
      font-size: 3rem; /* ปรับขนาดไอคอนตามที่ต้องการ */
      color: #808a88; /* สีของไอคอน */
      margin-bottom: 10px; /* ระยะห่างระหว่างไอคอนและข้อความ */
    }

    .service-overlay {
      position: absolute;  /* ให้ element นี้อยู่เหนือรูปภาพ */
      top: 50%;            /* ปรับตำแหน่งแนวนอน */
      left: 50%;  
      width: 100%;         /* ให้ครอบคลุมทั้งรูปภาพ */
      height: 100%;        /* ให้ครอบคลุมทั้งรูปภาพ */
      transform: translate(-50%, -50%); /* เคลื่อนตำแหน่งกลับมาเพื่อให้ตรงกลาง */
      background: rgba(0, 0, 0, 0.5); /* สามารถกำหนดสีพื้นหลังโปร่งแสงได้ */
      color: #fff;
      padding: 20px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end; /* จัดตำแหน่งเนื้อหาให้ชิดด้านล่าง */
      gap: 10px; 
      text-align: left;
      border-radius: 8px;  /* ถ้าต้องการความโค้งมน */
      object-fit: cover;
    }
    .service-overlay h5 {
      font-size: 1.5rem; /* ปรับขนาดตัวอักษรตามที่ต้องการ */
      margin: 0;
      color: #ffffff; /* สีตัวอักษร */
      font-weight: bold; /* ทำให้ตัวอักษรหนา */
    }
    .service-card {
      position: relative; /* ให้ container สามารถเป็นจุดอ้างอิงของ absolute ได้ */
      border: 1px solid #ddd;
      overflow: hidden;
      background-color: #fff;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      border-radius: 4px;
    }
    .service-card:hover {
      transform: scale(1.03);
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    }
    .card-image-top {
      position: relative;  /* กำหนดให้ container สามารถเป็นจุดอ้างอิงของ absolute ได้ */
      display: inline-block;
      width: 100%;        
      height: 400px;      
      object-fit: cover;  
      transition: transform 0.3s ease, filter 0.3s ease;
    }
    .card-image-top:hover {
      filter: grayscale(0%);
      transform: scale(1.05);
    }

    .card-img-gallery {
      width: 100%;        
      height: 200px;      
      object-fit: cover;  
      transition: transform 0.3s ease, filter 0.3s ease;
    }
    .card-img-gallery:hover {
      filter: grayscale(0%);
      transform: scale(1.05);
    }

    /* ปรับแต่งโลโก้ให้มีเอฟเฟกต์เปลี่ยนสีและขยายในช่วง hover */
    .brand-logos img {
      filter: grayscale(100%);
      transition: transform 0.3s ease, filter 0.3s ease;
      object-fit: contain;
      mix-blend-mode: multiply;
    }

    .brand-logos img:hover {
      filter: grayscale(0%);
      transform: scale(1.05);
    }

    body {
      font-family: 'inter', sans-serif;
      background-color: #f8f9fa; /* สีพื้นหลังของหน้าเว็บ */
    }

    h1, h2, h3, .card-title {
      font-family: 'inter', sans-serif;
    }
    .btn-custom {
      background-color: #0dd6b5;  /* เลือกสีที่คุณต้องการ */
      color: #fff;                /* กำหนดสีข้อความ */
      border: none;
      padding: 0.4rem 1rem;       /* กำหนดความหนาของปุ่ม */
      border-radius: 20px;     /* กำหนดมุมโค้ง */
      transition: background-color 0.3s;
      font-family: 'inter', sans-serif;
      font-size: 0.9rem;
      width: 45%;
      display: inline-block;
            
    }
    .btn-custom:hover {
      background-color: #099c84;  /* สีเมื่อ hover */

    }
    .btn-hero {
      background-color: #0dd6b5;  /* เลือกสีที่คุณต้องการ */
      color: #fff;                /* กำหนดสีข้อความ */
      border: none;
      padding: 0.5rem 1rem;       /* กำหนดความหนาของปุ่ม */
      border-radius: 20px;     /* กำหนดมุมโค้ง */
      transition: background-color 0.3s;
      font-family: 'inter', sans-serif;
    }
    .btn-hero:hover {
      background-color: #099c84;  /* สีเมื่อ hover */

    }
    .custom-img {
      width: 100%;
      height: 350px; /* ปรับความสูงได้ตามที่คุณต้องการ */
      object-fit: cover; /* ทำให้รูปครอบคลุมพื้นที่ที่กำหนดไว้โดยไม่ผิดสัดส่วน */
    }
    @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(30px);
      }
      to {
      opacity: 1;
      transform: translateY(0);
      }
    }

    .animate-fade-up {
      opacity: 0;
      animation: fadeUp 1s ease-out forwards;
      animation-delay: 0.3s;
    }
    :root {
      --primary-color: #0dd6b5;
      --background-color: #ffffff;
      --text-color: #333333;
      --hover-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      --active-background: #0dd6b5; /* สีของ active menu */
    }
    .categories {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      justify-content: center;
      padding: 20px;
    }

    .category-item {
      text-decoration: none; 
      background: var(--background-color);
      padding: 12px;
      border-radius: 8px;
      text-align: center;
      width: 150px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      transition: box-shadow 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
      cursor: pointer;
      position: relative;
      color: inherit;
    }
    .category-item i {
      font-size: 24px;
      margin-bottom: 10px;
      display: block;
      color: var(--primary-color);
      transition: color 0.3s;
    }

    .category-item:hover {
      box-shadow: var(--hover-shadow);
      transform: translateY(-5px);
      background-color: var(--active-background);
      color: #ffffff;
    }
    .category-item:hover i{
      color: #ffffff !important; /* เปลี่ยนสีไอคอนเมื่อ hover */
    }

    
    /* สไตล์ของเมนูที่ active */
    .category-item.active {
      background-color: var(--active-background);
      color: #ffffff;
    }
    
    /* เส้น indicator ด้านล่างของ active menu */
    .category-item.active::after {
      content: "";
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 40px;
      height: 4px;
      background-color: var(--active-background);
      border-radius: 2px;
    }

    
    
    .category-item.active > i {
      color: black;  
    }
    

    .category-item h3 {
      font-family: 'Inter', sans-serif;
      font-size: 16px;
      margin: 8px 0 4px;
      font-weight: 700;
    }

    .category-item p {
      font-size: 14px;
      margin: 0;
    }

    /* Responsive design: ปรับขนาด item ตามหน้าจอที่เล็กลง */
    @media (max-width: 768px) {
      .category-item {
        width: calc(50% - 1rem);
      }
    }
    @media (max-width: 480px) {
      .category-item {
        width: 100%;
      }
    }
    