<em></em>/* รีเซ็ตค่าเริ่มต้น */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #FFFFFF;
  color: #333;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  color: #333;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
}

.left-section {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.site-name h1 {
  font-size: 1.5em;
  margin-left: 15px;
  color: #333;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  position: relative;
}

.main-nav li {
  position: relative;
}

.main-nav a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  padding: 10px;
  display: block;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #FF7800;
}
.has-dropdown {
  position: relative;
}

.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  min-width: 180px;
  border-radius: 6px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

.has-dropdown:hover .dropdown {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li {
  width: 100%;
}

.dropdown a {
  display: block;
  padding: 12px 18px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.dropdown a:hover {
  background-color: #f8f8f8;
  color: #FF7800;
}
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
    width: 100%;
  }

  .main-nav li {
    width: 100%;
  }

  .has-dropdown .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border-radius: 0;
    padding-left: 10px;
    background-color: #f9f9f9;
    display: none;
  }

  .has-dropdown.active .dropdown {
    display: block;
  }

  .dropdown a {
    padding: 10px 15px;
    font-size: 14px;
  }
}


/* Services Section */
.services {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.services h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #000000;
}

.service-list {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.service-item {
  flex: 1 1 250px;
  background: #f7f7f7;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.service-item h3 {
  margin-bottom: 15px;
  color: #FF7800;
}

/* Contact Section */
.contact-us {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-us h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #333;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-weight: bold;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
}

.contact-form button {
  padding: 12px;
  background-color: #007acc;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #005fa3;
}

/* Award Section */
.award-section {
  padding: 50px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.award-section h1 {
  font-size: 2.8rem;
  color: #000000;
  font-weight: bold;
  margin-bottom: 30px;
  text-align: center;
}

.award-section p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 20px;
}

.award-section .image-containerr {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.award-section .image-containerr img {
  width: 48%;
  height: 500px;
  border-radius: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

/* เพิ่มเอฟเฟกต์เมื่อ hover รูปภาพ */
.award-section .image-containerr img:hover {
  transform: scale(1.05);
}

/* Footer */
.site-footer {
  background-color: #222;
  color: #ccc;
  text-align: center;
  padding: 25px 20px;
}

.site-footer .footer-content p {
  margin: 0;
  font-size: 1rem;
}

.site-footer a {
  color: #007acc;
  text-decoration: none;
  margin: 0 10px;
}

.site-footer a:hover {
  color: #ffcc00;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #007acc;
  color: white;
  padding: 10px 20px;
  border-radius: 50%;
  text-align: center;
  font-size: 1.5rem;
  display: none;
  cursor: pointer;
}

.back-to-top:hover {
  background-color: #ffcc00;
}

.main-nav a:hover {
  color: #FF6600;
}
.contact-us {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-us h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #FF6600;
}

.contact-info {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #FF6600;
}

.contact-info ul {
  list-style: none;
  font-size: 1.2rem;
}

.contact-info li {
  margin-bottom: 15px;
}

.contact-info i {
  margin-right: 10px;
  color: #FF6600;
}

.contact-info a {
  color: #FF6600;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* Google Map */
.google-map {
  margin-top: 40px;
}

.google-map iframe {
  border-radius: 8px;
}
.site-footer {
  background-color: #000000;
  color: #ccc;
  text-align: center;
  padding: 25px 20px;
}

.site-footer .footer-content p {
  margin: 0;
  font-size: 1rem;
}

.site-footer .social-icons {
  margin-top: 10px;
}

.site-footer .social-icon {
  color: #fff;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.site-footer .social-icon:hover {
  color: #FF6600;
}
.clients {
  padding: 60px 20px;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}
.clients h2 {
  font-size: 2.8rem;
  margin-bottom: 40px;
  color: #FF6600;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.client-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  justify-items: center;
  margin-top: 40px;
  transition: transform 0.3s ease;
}
.client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 20px;
}

.client-logo img,
.client-logo span {
  width: 100%;
  height: auto;
  max-width: 200px;
  object-fit: contain;
}

.client-logo span {
  text-align: center;
  font-size: 1rem;
  color: #333;
  font-weight: bold;
  margin-top: 10px;
}

.client-logo img {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-logo img:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .client-logos {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }
}
.philosophy {
  padding: 60px 20px;
  text-align: center;
  background-color: #fff;
}

.philosophy h2 {
  font-size: 2.8rem;
  margin-bottom: 30px;
  color: #FF6600;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.philosophy p {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.site-footer {
  background-color: #222;
  color: #ccc;
  text-align: center;
  padding: 25px 20px;
}

.site-footer p {
  margin: 0;
  font-size: 1rem;
}

.site-footer .social-icons {
  margin-top: 10px;
}

.site-footer .social-icon {
  color: #fff;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}
.philosophy {
  padding: 60px 20px;
  text-align: center;
  background-color: #fff;
}

.philosophy h2 {
  font-size: 2.8rem;
  margin-bottom: 30px;
  color: #FF6600;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.philosophy-columns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.philosophy-column {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 300px;
}

.philosophy-column h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #FF6600;
}

.philosophy-column p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
}
.about-us {
  padding: 60px 20px;
  text-align: center;
  background-color: #fff;
}

.about-us h2 {
  font-size: 2.8rem;
  margin-bottom: 30px;
  color: #FF6600;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-us p {
  font-size: 1.2rem;
  color: #333;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.about-info ul {
  list-style: none;
  font-size: 1.2rem;
  color: #333;
}

.about-info li {
  margin-bottom: 10px;
}

.about-info i {
  color: #FF6600;
  margin-right: 8px;
}
.factories {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.factory {
  width: 100%;
  max-width: 250px;
  text-align: center;
}
.factory h4 {
  font-size: 1.5rem;
  color: #FF6600;
  margin-bottom: 10px;
}

.factory p {
  font-size: 1rem;
  color: #333;
}
.factory-img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-top: 15px;
}
.factory-img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.site-footer {
  background-color: #222;
  color: #ccc;
  text-align: center;
  padding: 25px 20px;
}
.site-footer .footer-content p {
  margin: 0;
  font-size: 1rem;
}
.site-footer .social-icons {
  margin-top: 10px;
}
.site-footer .social-icon {
  color: #fff;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}
.site-footer .social-icon:hover {
  color: #FF6600;
}
.equipment {
  padding: 60px 20px;
  text-align: center;
  background-color: #fff;
  color: #333;
}

.equipment h2 {
  font-size: 2.8rem;
  margin-bottom: 30px;
  color: #FF6600;
  font-weight: bold;
  text-transform: uppercase;
}
.machine-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}
.machine {
  width: 100%;
  max-width: 250px;
  background-color: #f7f7f7;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}
.machine h3 {
  font-size: 1.5rem;
  color: #FF6600;
  margin-bottom: 10px;
}
.machine p {
  font-size: 1.2rem;
  color: #333;
}
.feed-coil {
  margin-top: 30px;
  font-size: 1.2rem;
  color: #333;
}
.total-machine {
  margin-top: 30px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
}
.machine-images {
  display: flex;
  justify-content: space-around;
  gap: 30px;
  margin-top: 40px;
}
.machine-images div {
  width: 45%;
  text-align: center;
}
.machine-images img {
  width: 100%;
  height: 500px;
  border-radius: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.machine-images img:hover {
  transform: scale(1.05);
}
.site-footer {
  background-color: #222;
  color: #ccc;
  text-align: center;
  padding: 25px 20px;
}
.site-footer .footer-content p {
  margin: 0;
  font-size: 1rem;
}
.site-footer .social-icons {
  margin-top: 10px;
}
.site-footer .social-icon {
  color: #fff;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}
.site-footer .social-icon:hover {
  color: #FF6600;
}
.total-machines {
  padding: 60px 20px;
  text-align: center;
  background-color: #fff;
  color: #333;
}
.total-machines h2 {
  font-size: 2.8rem;
  margin-bottom: 30px;
  color: #FF6600;
  font-weight: bold;
  text-transform: uppercase;
}
.machine-category {
  margin-bottom: 40px;
}
.machine-category h3 {
  font-size: 2rem;
  color: #FF6600;
  margin-bottom: 10px;
}
.machine-category p {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
}
.machine-img {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.machine-img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}
.site-footer {
  background-color: #222;
  color: #ccc;
  text-align: center;
  padding: 25px 20px;
}
.site-footer .footer-content p {
  margin: 0;
  font-size: 1rem;
}
.site-footer .social-icons {
  margin-top: 10px;
}
.site-footer .social-icon {
  color: #fff;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}
.site-footer .social-icon:hover {
  color: #FF6600;
}
.welding-machine {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
  color: #333;
}
.welding-machine h2 {
  font-size: 2.8rem;
  margin-bottom: 30px;
  color: #FF6600;
  font-weight: bold;
  text-transform: uppercase;
}
.welding-machine p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.machine-category {
  margin-bottom: 30px;
}
.machine-category h4 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #FF6600;
}
.machine-category p {
  font-size: 1.2rem;
  color: #333;
}
.machine-img-container {
  margin-top: 30px;
}
.machine-img {
  max-width: 100%;
  width: 500px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.machine-img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.site-footer {
  background-color: #222;
  color: #ccc;
  text-align: center;
  padding: 25px 20px;
}
.site-footer .footer-content p {
  margin: 0;
  font-size: 1rem;
}
.site-footer .social-icons {
  margin-top: 10px;
}
.site-footer .social-icon {
  color: #fff;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}
.site-footer .social-icon:hover {
  color: #FF6600;
}
.production-line {
  padding: 60px 20px;
  background-color: #fafafa;
  color: #333;
}
.production-line h2 {
  font-size: 2.8rem;
  color: #FF6600;
  text-align: center;
  margin-bottom: 50px;
}
.section-block {
  margin-bottom: 60px;
}
.section-block .sub-section-title {
  font-size: 2.2rem;
  color: #333;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 3px solid #FF6600;
  padding-bottom: 8px;
}
.line-images {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.image-container {
  flex: 1 1 30%;
  max-width: 30%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}
.image-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}
.image-container:hover img {
  transform: scale(1.05);
}
.instrument-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.instrument-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  text-align: center;
  padding: 25px 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.instrument-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
}
.instrument-card img {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}
.instrument-card:hover img {
  transform: scale(1.03);
}
.instrument-card p {
  font-size: 1.1rem;
  color: #333;
  margin: 0;
  font-weight: 600;
}
@media (max-width: 768px) {
  .image-container {
    flex: 1 1 45%;
    max-width: 45%;
  }
}
@media (max-width : 1231px ){
  .image-container {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .section-block .sub-section-title {
    font-size: 1.6rem;
  }
  .production-line h2 {
    font-size: 2.2rem;
  }
}
.instrument-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.instrument-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 20px 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instrument-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.instrument-card img {
  width: 100%;
  max-height: 160px;
  object-fit: contain;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.instrument-card:hover img {
  transform: scale(1.05);
}

.instrument-card p {
  font-weight: bold;
  font-size: 1.1rem;
  color: #333;
  margin: 0;
}

.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.site-footer {
  background-color: #2B2B2B;
  color: #4E4E4E;
  padding: 40px 20px;
  position: relative;
  font-family: 'Arial', sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-section {
  width: 22%;
  margin-bottom: 20px;
}
.footer-section h3 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 10px;
  color: #FFFFFF;
  text-transform: uppercase;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #989898;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #FFFFFF;
}
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

.language-selector {
  margin-top: 10px;
}

.language-selector a {
  color: #ecf0f1;
  text-decoration: none;
  margin: 0 10px;
  font-size: 10px;
}

.language-selector a:hover {
  color: #565656;
}
.footer-logo {
  position: absolute;
  bottom: 20px;
  right: 20px;
}

.footer-logo-img {
  width: 80px;
  height: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.footer-logo-img:hover {
  opacity: 1;
}
@media (max-width: 768px) {
  .footer-section {
    width: 48%;
  }
}
@media (max-width : 1231px ){
  .footer-section {
    width: 100%;
    text-align: center;
  }
}
@import url('https://fonts.googleapis.com/css2?family=Athiti:wght@400;700&display=swap');

body {
  font-family: 'Athiti', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}
p, li {
  font-weight: 400;
}
  .our-clients-section {
    background-color: #f1f6f9;
    padding: 60px 20px;
    text-align: center;
    font-family: 'Arial', sans-serif;
  }
  .section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #3e3e3e;
    margin-bottom: 15px;
    letter-spacing: 1px;
  }
  .section-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  .client-logos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    justify-items: center;
  }
  .client-logo-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    width: 100%;
    max-width: 250px;
  }
  .client-logo-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }
.client-logo-container {
  display: flex;
  flex-wrap: wrap; /* ให้ขึ้นบรรทัดใหม่เมื่อเต็ม */
  justify-content: center; /* จัดให้อยู่ตรงกลาง */
  gap: 20px; /* ระยะห่างระหว่างรูป */
  padding: 20px;
}

.client-logo-item {
  flex: 0 0 auto; /* ไม่ยืด ไม่หด */
  padding: 10px;
}

.client-logo-img {
  max-width: 100%;
  height: 80px;
  transition: transform 0.3s ease;
}

.client-logo-item:hover .client-logo-img {
  transform: scale(1.1);
}

  .client-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
  }
  .client-info {
    font-size: 0.95rem;
    color: #777;
    margin-top: 5px;
    line-height: 1.4;
  }
  @media (max-width: 768px) {
    .section-title {
      font-size: 2.2rem;
    }

    .section-description {
      font-size: 1rem;
    }

    .client-name {
      font-size: 1rem;
    }

    .client-info {
      font-size: 0.85rem;
    }
  }

#backToTop {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background-color: #ff6600; /* สีส้ม */
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: background-color 0.3s ease;
}
#backToTop:hover {
  background-color: #cc5200;
}
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}
.main-nav {
  display: block;
}
.dropdown {
  display: none;
  position: absolute;
  background: white;
  list-style: none;
  padding: 0;
  margin: 0;
}
.has-dropdown:hover > .dropdown {
  display: block;
}

@media (max-width: 768px) {
  /* แสดงปุ่มเมนู */
  .menu-toggle {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
  }
  .main-nav {
    display: none;
    width: 100%;
  }
  .main-nav.active {
    display: block;
  }
  .nav-links {
    flex-direction: column;
    padding-left: 0;
  }

  .nav-links li {
    position: relative;
    border-bottom: 1px solid #ccc;
  }
  .dropdown {
    position: static;
    display: none;
    padding-left: 15px;
  }
  .has-dropdown > a::after {
    content: " ▼";
    float: right;
  }
  .has-dropdown.active > .dropdown {
    display: block;
  }
}

.hero-slider .swiper {
  width: 100%;
  height: 70vh;
}
.hero-slider .swiper-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  padding-left: 50px;
  box-sizing: border-box;
  border: none;
  box-shadow: none;
  outline: none;
}

.hero-slider .slide-content {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
}


.hero-slider .slide-content h2 {
  font-size: 58px;
  margin-bottom: 20px;
}

.hero-slider .slide-content p {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 30px;
}

.hero-slider .btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: #ffcc00;
  color: #000;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  max-width: fit-content;
  white-space: nowrap;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}
.hero-slider .btn:hover {
  background-color: #e6b800;
  color: #fff;
}


@media (max-width: 768px) {
  .hero-slider .swiper {
    height: 400px;
  }
  .hero-slider .swiper-slide {
    height: 400px;
  }
  .hero-slider .slide-content {
    max-width: 90%;
    padding: 20px 15px;
  }
  .hero-slider .slide-content h2 {
    font-size: 24px;
  }
  .hero-slider .slide-content p {
    font-size: 16px;
  }
  .hero-slider .btn {
    padding: 10px 20px;
    font-size: 16px;
  }
}

.total-machines .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.total-machines h2 {
  text-align: center;
  margin-bottom: 40px;
}

.total-machines {
  background-color: #f9f9f9;
}

.total-machines .machine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.machine-category {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.machine-category h3 {
  margin-bottom: 10px;
}

.machine-category p {
  margin-bottom: 15px;
  font-weight: bold;
}

.machine-category img.machine-img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .total-machines .machine-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .total-machines .machine-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* —————— START: CSS เสริมสำหรับ Responsive —————— */

/* สำหรับหน้าจอมือถือ / แท็บเล็ต (กว้างไม่เกิน 768px) */
@media (max-width: 768px) {
  /* ส่วนหัว */
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }
  .left-section {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  .main-nav {
    width: 100%;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
  }
  .main-nav li {
    width: 100%;
  }
  .has-dropdown .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border-radius: 0;
    background-color: #f9f9f9;
    padding-left: 10px;
  }
  .has-dropdown.active .dropdown {
    display: block;
  }

  /* ขนาดตัวอักษร & spacing */
  body {
    font-size: 14px;
  }
  h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
  }
  .services h2,
  .contact-us h2,
  .award-section h1,
  .clients h2,
  .philosophy h2,
  .equipment h2 {
    font-size: 1.8rem;
  }

  /* ส่วน services */
  .service-list {
    flex-direction: column;
    gap: 20px;
  }
  .service-item {
    width: 100%;
  }

  /* ส่วน contact */
  .contact-form {
    width: 100%;
    padding: 0 10px;
  }
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    width: 100%;
    font-size: 1em;
  }

  /* Section award */
  .award-section .image-containerr {
    flex-direction: column;
    gap: 20px;
  }
  .award-section .image-containerr img {
    width: 100%;
    height: auto;  /* ปรับให้สูงอัตโนมัติ */
  }

  /* ส่วน clients / โลโก้ลูกค้า */
  .client-logos {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
  }

  /* ส่วนภาพใน production / image-container */
  .image-container {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* ส่วน instrument-grid / การ์ด */
  .instrument-grid {
    grid-template-columns: 1fr;  /* แสดงคอลัมน์เดียว */
  }
  .instrument-card {
    padding: 20px;
  }

  /* Footer */
  .footer-section {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }
  .footer-section ul li a {
    font-size: 14px;
  }

  /* ปุ่มกลับขึ้นบน (Back to Top) */
  .back-to-top {
    bottom: 15px;
    right: 15px;
    font-size: 1.2rem;
    padding: 8px 12px;
  }

  /* Hamburger menu toggle */
  .menu-toggle {
    display: block;
  }
  .main-nav {
    display: none;
  }
  .main-nav.active {
    display: block;
  }
  .nav-links li {
    border-bottom: 1px solid #ccc;
  }
  .has-dropdown > a::after {
    content: " ▼";
    float: right;
  }
  .has-dropdown.active > .dropdown {
    display: block;
  }

  /* Hero slider */
  .hero-slider .swiper {
    height: 300px;
  }
  .hero-slider .swiper-slide {
    height: 300px;
  }
  .hero-slider .slide-content {
    padding: 15px 10px;
    width: 90%;
  }
  .hero-slider .slide-content h2 {
    font-size: 22px;
  }
  .hero-slider .slide-content p {
    font-size: 14px;
  }
  .hero-slider .btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  /* ส่วน total-machines / grid ของเครื่องจักร */
  .total-machines .machine-grid {
    grid-template-columns: 1fr;
  }

  /* ส่วน production-line subsection titles */
  .section-block .sub-section-title {
    font-size: 1.5rem;
  }
  .production-line h2 {
    font-size: 2rem;
  }

} /* สิ้นสุด @media max-width: 768px */


/* —————— สำหรับจอเล็กมาก (เช่น มือถือแนวตั้ง <480px) —————— */
@media (max-width : 1231px ){
  body {
    font-size: 13px;
  }
  .site-name h1 {
    font-size: 1.2em;
  }
  .site-header {
    padding: 8px;
  }
  .services h2,
  .contact-us h2,
  .award-section h1 {
    font-size: 1.5rem;
  }
  .contact-form button {
    padding: 10px;
  }
  .footer-section ul li a {
    font-size: 13px;
  }
  .hero-slider .slide-content h2 {
    font-size: 20px;
  }
  .hero-slider .slide-content p {
    font-size: 13px;
  }
  .hero-slider .btn {
    font-size: 13px;
    padding: 6px 12px;
  }
} /* สิ้นสุด @media max-width: 480px */
/* Base font */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  background-color: #fff;
  margin: 0;
  padding: 0;
}

.services {
  background-color: #f4f6f9;
  padding: 80px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 60px;
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.service-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 40px 30px;
  width: 320px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-item .icon {
  font-size: 42px;
  color: #FF7E00;
  margin-bottom: 25px;
}

.service-item h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #2c3e50;
}

.service-item p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .service-list {
    flex-direction: column;
    align-items: center;
  }

  .service-item {
    width: 100%;
    max-width: 500px;
  }
}
