html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  max-width: 100vw;         /* จำกัดความกว้างสูงสุด */
  overflow-x: hidden;       /* ❗ ปิดการเลื่อนซ้าย-ขวา */
  overflow-y: auto;
  scroll-behavior: smooth;  /* ถ้าอยากให้ scroll ลื่น */
}

body {
  background: #ffffff;
  font-size: 1rem;
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE 10+ */
}

body::-webkit-scrollbar {
  display: none;                /* Chrome, Safari */
}
/*===============================*/
/*           FONT FACES         */
/*===============================*/
@font-face {
  font-family: 'inter';
  src: url('inter.ttf') format('ttf'); /* เปลี่ยน path ให้ตรงกับที่คุณวางไฟล์ */
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DB Adman X';
  src: url('fonts/DBAdmanX.woff2') format('woff2'); /* เปลี่ยน path ให้ตรงกับที่คุณวางไฟล์ */
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DB adman X';
  src: url('DB-Adman-X-Bd.ttf') format('woff2');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('Gilroy-Regular.ttf') format('truetype');
}

/*===============================*/
/*           PRELOADER           */
/*===============================*/
#preloader {
  position: fixed;
  inset: 0;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.slide-bar {
  position: relative;
  width: 250px;
  height: 50px;
  border-radius: 50px;
  background-color: white;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.1);

  
}


.slider-ball {
  width: 40px;
  height: 40px;
  background-color: #ececec;
  border-radius: 50%;
  position: absolute;
  top: 5px;
  left: 5px;
  z-index: 2;
  transition: left 0.3s ease;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05), 
              0 4px 12px rgba(0, 0, 0, 0.1);

}

.slide-label {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: 'DB Adman X';
  color: #eb660e;
  z-index: 3;
}

.slide-label .line1 {
  font-size: 1.2rem;
}

.slide-label .line2 {
  font-size: 1rem;
  margin-top: 4px;
}

#loader-percent {
  position: absolute;
  bottom: -30px;
  right: 10px;
  font-family: 'DB Adman X';
  font-size: 1rem;
  color: #999;
  z-index: 3;
}


/*===============================*/
/*           TOP BAR            */
/*===============================*/

/* ซ่อน Quickbar บน desktop */
.quickbar {
  display: none;
}


.top-bar {
    position: relative;
    height: 50px;
    top: 10px;
    left: -29%;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.top-bar.fade-up.animate {
  animation: slideUpFade 1.3s ease forwards;
  animation-delay: 1.5s;
  /* แก้ปัญหากระตุกด้วย fill-mode */
  animation-fill-mode: both;
}





#logosoftcolor {
  position: fixed;
  top: 5px;
  right: 1%;
  width: 3rem;
  height: 3.5rem;
  background: url('Logo soft color.png') no-repeat center center;
  background-size: contain;
  z-index: 1001;

  /* ✅ เพิ่มบรรทัดนี้เพื่อซ่อนก่อน */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#logosoftcolor.show {
  opacity: 1;
  transform: translateY(0);
}

.top-left {
  flex: 0 0 auto;
}

.top-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.top-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    margin-right: 2%;
    font-family: 'Gilroy';
}

/* displayFlex คงไว้ */
.displayFlex {
font-family: 'Gilroy';
    display: flex;
    gap: 4.5rem;
    font-size: clamp(1rem, 5vw, 1.2rem);
}

/*------------------------------------*/
/* CONTACT HOVER EFFECT + DROPDOWN */
/*------------------------------------*/

.nav-contact-wrapper {
  position: relative;
}

.nav-contact {
  display: inline-block;
  transition: transform 0.6s ease;
}

.nav-contact:hover {
  transform: rotateY(360deg);
}

/* Contact dropdown styles */
.contact-dropdown {
  position: absolute;
  top: 150%;
  left: 50%;
  transform: translate(-50%, -10px);
  background-color: rgba(255, 255, 255, 0);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 1rem;
  font-family: 'Gilroy';
  font-size: 1rem;
  color: #585858;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  min-width: 100px; /* ✅ เพิ่มความกว้าง */
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease,
    transform 0.4s ease;
  z-index: 1000;
}

.contact-dropdown a,
.contact-dropdown div {
  display: block;
  margin-bottom: 1rem;
  color: #585858;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-dropdown a:hover {
  color: #eb660e;
}

.nav-contact-wrapper:hover .contact-dropdown,
.nav-contact-wrapper:focus-within .contact-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(5px);
}

.nav-contact-wrapper:hover .contact-dropdown,
.nav-contact-wrapper.show .contact-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0); /* ✅ กลับมาตรงกลางด้านล่าง */
}

/*===============================*/
/*         NAVIGATION TEXTS     */
/*===============================*/


#t1, #t2, #t3, #t4, #t5, #t6, #t7 {
  font-family: 'DB Adman X';
  font-size: clamp(1rem, 5vw, 1.2rem);
  color: #585858;
  white-space: nowrap;
}

#t5, #t6, #t7 {
  font-size: 1.3rem;
  font-family: 'Gilroy';
}


.nav-link {
  text-decoration: none;
  color: #585858;
  transition: opacity 0.5s ease;
}

.nav-link:hover {
  opacity: 0.6;
}

/*===============================*/
/*           CONTAINER          */
/*===============================*/
.container {
  max-width: 1920px;
  margin: 0 auto;
  background: white;

}

/*===============================*/
/*           IMAGES LIFT4             */
/*===============================*/

.image-container {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden; /* ป้องกันข้อความล้นออก */
}

.liftimg1 {
  width: 100%;
  height: auto;
  display: block;
}

.text-overlay {
  position: absolute;
  top: 47%;
  left: 75%;
  transform: translate(-50%, -50%);
  width: 38%;
  padding: 1.5rem;
}

/* สไตล์สำหรับ <h2> */

.text-overlay h3 {
    font-family: 'Gilroy';
    font-size: 2.9rem;
    color: #585858;
    margin-bottom: 0.6rem;
    text-align: left;
}

.text-overlay h2 {
    font-family: 'Gilroy';
    font-size: 2.2rem;
    color: #eb660e;
    margin-bottom: 0.5rem;
    text-align: left;
}

/* สไตล์สำหรับ <p> */
.textmap h6 {
    font-family: 'Gilroy';
    font-weight: normal;
    font-size: 1.8rem;
    color: #eb660e;
    margin: 0;
    text-align: left;
    line-height: 2.1;
}

/* สไตล์สำหรับ <p> */
.text-overlay p {
font-family: 'DB Adman X';
    font-size: 1.4rem;
    color: #555;
    margin: 0;
    text-align: left;
    width: 42rem;
    line-height: 1.1;
}
/* Animation Fade-up */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.center-message2 {
text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    top: -14rem;
}

.center-message2 h1 {
font-family: 'Gilroy';
    font-weight: normal;
    font-size: 3.5rem;
    color: #585858;
    margin-bottom: -1.5rem;
}

.center-message2 p {
font-family: 'DB Adman X';
    font-weight: normal;
    font-size: 2.5rem;
    color: #585858;
}

/* Animation Fade Up */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/*===============================*/
/*           IMAGES             */
/*===============================*/


.img6, .intro {
  display: flex;
  margin: 0 auto;
  width: 100%;
  max-width: 1920px;
  height: auto;
}

.hero1 {
position: relative;
    width: 100%;
    overflow: hidden;
    top: -38rem;
}

.img-wrapper {
    position: relative;
    width: 95%;
    height: 100%;
    overflow: hidden;
    top: -13rem;
    left: 39rem;
    border-radius: 20px;
}

.img1 {
    position: relative;
    width: 71%;
    height: 100%;
    animation: revealBox 1.2s linear 0.5s forwards;
    will-change: clip-path;
    margin-bottom: -20rem;
    top: -3rem;
}

@keyframes revealBox {
  0% {
    clip-path: inset(10% 100% 100% 10%);
  }
  60% {
    clip-path: inset(5% 30% 30% 5%);
  }
  80% {
    clip-path: inset(2% 12% 12% 2%);
  }
  92% {
    clip-path: inset(1% 4% 4% 1%);
  }
  100% {
    clip-path: inset(0% 0% 0% 0%);
  }
}

.homelift {
  text-align: left;   /* จัดแนวรูปใน container */
}

.lift-img {
  width: 40%;           /* ขนาดรูป 40% */
  height: auto;         /* รักษาสัดส่วน */
}



.fade-in {
  opacity: 0;
  transform: translateY(40px); /* เลื่อนลงก่อน */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/*===============================*/
/*         VIDEO SECTION        */
/*===============================*/
.Video-Liff, .video {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0;
  height: auto;
  border: none;
  display: block;
  padding: 0;
}



/*===============================*/
/*           SECTION            */
/*===============================*/

section {
height: auto;
}

/*===============================*/
/*           CHAT BOT           */
/*===============================*/
.chat-window {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  max-height: 400px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);

}



.chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-family: 'Gilroy';
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  max-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: 'DB Adman X', sans-serif;
}

.chat-message {
  max-width: 80%;
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge */
  padding: 10px 15px;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  word-wrap: break-word;
  line-height: 1.4;
}

.chat-messages::-webkit-scrollbar {
  display: none;                  /* Chrome, Safari */
}

.bot {
  align-self: flex-start;
  background-color: #f0f0f0;
  color: #333;
}

.bot::before {
  content: "";
  position: absolute;
  top: 10px;
  left: -10px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent #f0f0f0 transparent transparent;
}

.user {
  align-self: flex-end;
  background-color: #0084ff;
  color: white;
}

.caption {
    font-size: 1rem;
    font-family: 'Gilroy';
    margin-top: 2%;
    margin-bottom: -0.7%;
  }



.caption4 {
position: absolute;
    left: 38%;
    font-size: 2rem;
    font-family: 'DB adman X', sans-serif;
    font-weight: normal;
    color: #585858;
    bottom: 6%;
}

.user::before {
  content: "";
  position: absolute;
  top: 10px;
  right: -10px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent transparent #0084ff;
}

.options {
  margin-top: 10px;
}

.options button {
  margin-right: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  background-color: #eb660e;
  color: white;
  border-radius: 20px;
  cursor: pointer;
  font-family: 'DB Adman X', sans-serif;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.options button:hover {
  background-color: #cf530a;
  transform: scale(1.05);
}

.chat-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1001;
  background-color: white;
  color: #333;
  border: none;
  border-radius: 10px;
  padding: 0.2rem 0.7rem;
  font-size: 1.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;

  /* ✅ เพิ่ม 2 บรรทัดนี้เพื่อซ่อนตอนเริ่ม */
  opacity: 0;
  transform: translateY(20px);

  /* ✅ ใส่ transition ให้กับ opacity ด้วย */
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

#chat-icon.show {
  opacity: 1;
  transform: translateY(0);
}

.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.map-crop {
    width: 1920px;
    overflow: hidden;
    position: relative;
    margin-top: 250px;
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.map-image {
width: 100%;
    height: auto;
    display: block;
}

.textmap {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: left;
    padding-top: 23rem;
    padding-bottom: 7rem;
}

.textmap a {
font-family: 'Gilroy';
    color: #666;
    font-size: 1.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.textmap a:hover {
  color: #cfcfcf; /* เปลี่ยนเป็นสีส้มเมื่อ hover */
  background-color: rgba(255, 255, 255, 0.85);
  transform: scale(1.05);
}

/* ===== Cursor Ball ===== */
.cursor-ball {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #999; /* ← สีปกติ */
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, background-color 0.15s ease;

}

.cursor-ball.hovering {
  background-color: #eb660e; /* ← สีตอน hover */
}



/*===============================*/
/*         RESPONSIVE           */
/*===============================*/

@media (min-width: 1200px) and (max-width: 1599px)
 {

    .top-bar {
        height: 3.2rem;
        width: 65%;
        top: 15px;
        left: -14.5%;
    }

    .hero1 {
        width: 113%;
        top: -14rem;
        left: -11rem;
        height: 53rem;
    }



 .img1 {
    width: 100%;
    height: 100%;   
}

.intro {
width: 80%;
margin-top: 25px;
display: flex;
}

#logosoftcolor {
        height: 2rem;
        top: 1rem;
        right: 1rem;
        width: 4rem;
}

.lift-img {
width: 70%;
margin-bottom: 2rem;
}

  #t1, #t2, #t3, #t4, #t5, #t6, #t7 {
    font-size: 1rem;
  }

.displayFlex {
        font-family: 'Gilroy';
        gap: 2.5rem;
        font-size: clamp(0.6rem, 5vw, 1.2rem);
}

.displayFlex2 {
  font-family: 'Gilroy';
  font-size: 0.5rem;
  display: flex;
  margin-right: 2%;
  gap: 0.3rem;
}


  .row-img {
    width: 60%;
    border-radius: 10px;
  }

  .caption {
    font-size: 1rem;
    font-family: 'DB Adman X';
    margin-top: 2%;
    margin-bottom: -0.7%;
  }

  .contact-icons {
    bottom: 16%;
    left: 0.7rem;
    gap: 0.3rem;
    width: 29%;

  }

  .contact-icons .icon-text,
  .contact-icons .icon-text2,
  .contact-icons .icon-text3,
  .contact-icons .icon-text4 {
    font-size: 0.5rem; /* ปรับตามขนาดที่ต้องการ */
    white-space: nowrap;       /* ห้ามขึ้นบรรทัดใหม่ */
 
    text-overflow: ellipsis;   /* ถ้าเกินให้เป็น ... */
  }
  

  .imgicon1, .imgicon2, .imgicon3, .imgicon4 {
    width: 10%;
    max-width: 20%;
  }

  .carousel-dots .dot  {
    height: 9px;
    width: 9px;
    margin: 0 4px;
}

.chat-icon {
    padding: 0.3rem 0.6rem;
    font-size: 1.2rem;
    bottom: 15px;
    right: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }

  
    .caption4 {
        font-size: 1.8rem;
        left: 34%;
        bottom: 0%;
  }

    .map-crop {
        position: relative;
        width: 100vw;
        height: 299px;
        overflow: hidden;
    }

    .map-image {
        position: absolute;
        width: 167%;
        right: -148px;
        bottom: -6px;
        height: auto;
        object-fit: cover;
    }

    .textmap a {
font-size: 1.7rem;
        line-height: 1.5;
    }

  .homelift {
  padding: 0px 0;
}

  .container {
    padding-top: 0%;
  }

  .image-wrapper {
  width: 98%;
    height: 111%;
  
  }

    .text-overlay {
top: 45%;
        left: 71%;
        width: 38%;
        padding: 1.5rem;
    }

.liftimg1 {
width: 100%;
        margin-top: 37rem;
}

.text-overlay h2 {
font-size: 2rem;
        margin-bottom: 2.5rem;
        text-align: left;
}

.text-overlay h3 {
font-size: 1.9rem;
        margin-bottom: 0.6rem;
        text-align: left;
}

.text-overlay p {
font-size: 1.6rem;
        margin: 0;
        width: 29rem;
        line-height: 1.2;
}

    .center-message2 h1 {
        font-size: 3rem;
        margin-bottom: -0.2rem;
        line-height: 4rem;
        text-align: left;
    }

.center-message2 p {
font-size: 3rem;
        text-align: center;
        margin-top: 1rem;
}

.textmap {
padding-bottom: 5rem;
        margin-top: -2rem;
        width: 54rem;
        left: 44%;
    }

.center-message2 {
margin-top: -25rem;
}

.textmap h6 {

font-size: 3.4rem;
        width: 42rem;
        line-height: 2.1;
}

}





@media (min-width: 992px) and (max-width: 1199px)
 {

    .top-bar {
        height: 3.2rem;
        width: 65%;
        top: 15px;
    }

    .hero1 {
        position: relative;
        width: 138%;
        overflow: hidden;
        top: -10rem;
        left: -11rem;
        height: 62rem;
    }



 .img1 {
    width: 100%;
    height: 100%;   
}

.intro {
width: 80%;
margin-top: 25px;
display: flex
;
}

#logosoftcolor {

height: 3.5rem;
        top: 1rem;
        left: 4rem;
        width: 4rem;
}

.lift-img {
width: 70%;
margin-bottom: 2rem;
}

  #t1, #t2, #t3, #t4, #t5, #t6, #t7 {
    font-size: 1rem;
  }

.displayFlex {
        font-family: 'Gilroy';
        gap: 5.5rem;
        font-size: clamp(0.6rem, 5vw, 1.5rem);
 
}

.displayFlex2 {
  font-family: 'Gilroy';
  font-size: 0.5rem;
  display: flex;
  margin-right: 2%;
  gap: 0.3rem;
}


  .row-img {
    width: 60%;
    border-radius: 10px;
  }

  .caption {
    font-size: 1rem;
    font-family: 'DB Adman X';
    margin-top: 2%;
    margin-bottom: -0.7%;
  }

  .contact-icons {
    bottom: 16%;
    left: 0.7rem;
    gap: 0.3rem;
    width: 29%;

  }

  .contact-icons .icon-text,
  .contact-icons .icon-text2,
  .contact-icons .icon-text3,
  .contact-icons .icon-text4 {
    font-size: 0.5rem; /* ปรับตามขนาดที่ต้องการ */
    white-space: nowrap;       /* ห้ามขึ้นบรรทัดใหม่ */
 
    text-overflow: ellipsis;   /* ถ้าเกินให้เป็น ... */
  }
  

  .imgicon1, .imgicon2, .imgicon3, .imgicon4 {
    width: 10%;
    max-width: 20%;
  }

  .carousel-dots .dot  {
    height: 9px;
    width: 9px;
    margin: 0 4px;
}

.chat-icon {
    padding: 0.3rem 0.6rem;
    font-size: 1.2rem;
    bottom: 15px;
    right: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }

  
    .caption4 {
font-size: 2rem;
        left: 29%;
        bottom: 6%;
  }

    .map-crop {
        position: relative;
        width: 100vw;
        height: 299px;
        overflow: hidden;
    }

    .map-image {
        position: absolute;
        width: 167%;
        right: -148px;
        bottom: -6px;
        height: auto;
        object-fit: cover;
    }

    .textmap a {
font-size: 1.5rem;
        white-space: normal;
        line-height: 1.5;
    }

  .homelift {
  padding: 0px 0;
}

  .container {
    padding-top: 0%;
  }

  .image-wrapper {
    margin-top: 476px;
  }

    .text-overlay {
        position: absolute;
        top: -26%;
        left: 43%;
        width: 70%;
        padding: 1.5rem;
    }

.liftimg1 {
    width: 214%;
    margin-top: 37rem;
}

.text-overlay h2 {
font-size: 3.2rem;
        margin-bottom: 1.5rem;
        text-align: left;
}

.text-overlay h3 {
font-size: 3.9rem;
        margin-bottom: 0.6rem;
        text-align: left;
}

.text-overlay p {
font-size: 1.8rem;
        margin: 0;
        width: 50rem;
        line-height: 1;
}

    .center-message2 h1 {
        font-size: 2.5rem;
        margin-bottom: -0.2rem;
        line-height: 4rem;
        text-align: left;
    }

.center-message2 p {
font-size: 2.5rem;
        text-align: center;
        margin-top: 1rem;
}

.textmap {
padding-bottom: 5rem;
        margin-top: -23rem;
        width: 54rem;
        left: 45%;
}

.center-message2 {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    padding-top: 40rem;
    bottom: -3rem;
}

.textmap h6 {

        font-size: 2.4rem;
        width: 42rem;
        line-height: 2.1;
}

}

@media (min-width: 769px) and (max-width: 991px) 
 {

    .top-bar {
        height: 3.2rem;
        width: 65%;
        top: 2px;
        left: 40rem;
    }


    .hero1 {
        position: relative;
        width: 122%;
        overflow: hidden;
        top: -18rem;
        left: -11rem;
        height: 45rem;
    }



 .img1 {
width: 112%;
height: 100%;  
}

.intro {
width: 80%;
margin-top: 25px;
display: flex
;
}

#logosoftcolor {
height: 4.5rem;
        top: -0.5rem;
        left: 1rem;
        width: 2.5rem;
}

.lift-img {
width: 70%;
margin-bottom: 2rem;
}

  #t1, #t2, #t3, #t4, #t5, #t6, #t7 {
    font-size: 1rem;
  }

.displayFlex {
        font-family: 'Gilroy';
        gap: 2.5rem;
        font-size: clamp(0.6rem, 5vw, 1rem);
 
}

.displayFlex2 {
  font-family: 'Gilroy';
  font-size: 0.5rem;
  display: flex;
  margin-right: 2%;
  gap: 0.3rem;
}





  .row-img {
    width: 60%;
    border-radius: 10px;
  }

  .caption {
    font-size: 1rem;
    font-family: 'DB Adman X';
    margin-top: 2%;
    margin-bottom: -0.7%;
  }

  .contact-icons {
    bottom: 16%;
    left: 0.7rem;
    gap: 0.3rem;
    width: 29%;

  }

  .contact-icons .icon-text,
  .contact-icons .icon-text2,
  .contact-icons .icon-text3,
  .contact-icons .icon-text4 {
    font-size: 0.5rem; /* ปรับตามขนาดที่ต้องการ */
    white-space: nowrap;       /* ห้ามขึ้นบรรทัดใหม่ */
 
    text-overflow: ellipsis;   /* ถ้าเกินให้เป็น ... */
  }
  

  .imgicon1, .imgicon2, .imgicon3, .imgicon4 {
    width: 10%;
    max-width: 20%;
  }

  .carousel-dots .dot  {
    height: 9px;
    width: 9px;
    margin: 0 4px;
}

.chat-icon {
    padding: 0.3rem 0.6rem;
    font-size: 1.2rem;
    bottom: 15px;
    right: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }

  
    .caption4 {
font-size: 1.5rem;
        left: 29%;
    }

    .map-crop {
        position: relative;
        width: 100vw;
        height: 299px;
        overflow: hidden;
    }

    .map-image {
        position: absolute;
        width: 167%;
        right: -148px;
        bottom: -6px;
        height: auto;
        object-fit: cover;
    }

    .textmap a {
font-size: 1.5rem;
        white-space: normal;
        line-height: 1.5;
    }

  .homelift {
  padding: 0px 0;
}

 

  .image-wrapper {
    margin-top: 476px;
  }

    .text-overlay {
position: absolute;
        top: 47%;
        left: 73%;
        width: 40%;
        padding: 1.5rem;
    }

.liftimg1 {
        width: 100%;
        margin-top: 23rem;
}

.text-overlay h2 {
font-size: 1.5rem;
        margin-bottom: 1.5rem;
        text-align: left;
}

.text-overlay h3 {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
        text-align: left;
}

.text-overlay p {
font-size: 1.5rem;
        margin: 0;
        width: 21rem;
        line-height: 1;
}

    .center-message2 h1 {
        font-size: 2.5rem;
        margin-bottom: -0.2rem;
        line-height: 4rem;
        text-align: left;
    }

.center-message2 p {
font-size: 2.5rem;
        text-align: center;
        margin-top: 1rem;
}

.textmap {
        padding-bottom: 5rem;
        margin-top: -23rem;
        width: 49rem;
        left: 51%;
}

.center-message2 {
        padding: 2rem;
        margin-top: -35rem;
}

.textmap h6 {

        font-size: 2.4rem;
        width: 42rem;
        line-height: 2.1;
}

}


@media (max-width: 768px) {
  .top-bar {
    height: 1rem;
    min-height: 30px;
  }

.hero1 {
        position: relative;
        width: 150%;
        overflow: hidden;
        top: 0rem;
        left: -11rem;
        height: 56rem;
}


.img-wrapper {
        position: relative;
        width: 112%;
        height: 100%;
        overflow: hidden;
}

 .img1 {
        width: 282%;
        height: 100%;
        left: -37.5rem;
        top: -4rem;
}

.intro {
width: 80%;
margin-top: 25px;
display: flex
;
}

#logosoftcolor {
height: 2rem;
top: 20px;
left: 19px;
}

.lift-img {
width: 70%;
margin-bottom: 2rem;
}

  #t1, #t2, #t3, #t4, #t5, #t6, #t7 {
    font-size: 1rem;
  }

.displayFlex {
    font-family: 'DB Adman X';

    gap: 1.5rem;
    font-size: clamp(0.6rem, 5vw, 0.8rem);
}

.displayFlex2 {
  font-family: 'Gilroy';
  font-size: 0.5rem;
  display: flex;
  margin-right: 2%;
  gap: 0.3rem;
}


  .row-img {
    width: 60%;
    border-radius: 10px;
  }

  .caption {
    font-size: 1rem;
    font-family: 'DB Adman X';
    margin-top: 2%;
    margin-bottom: -0.7%;
  }

  .contact-icons {
    bottom: 16%;
    left: 0.7rem;
    gap: 0.3rem;
    width: 29%;

  }

  .contact-icons .icon-text,
  .contact-icons .icon-text2,
  .contact-icons .icon-text3,
  .contact-icons .icon-text4 {
    font-size: 0.5rem; /* ปรับตามขนาดที่ต้องการ */
    white-space: nowrap;       /* ห้ามขึ้นบรรทัดใหม่ */
 
    text-overflow: ellipsis;   /* ถ้าเกินให้เป็น ... */
  }
  

  .imgicon1, .imgicon2, .imgicon3, .imgicon4 {
    width: 10%;
    max-width: 20%;
  }

  .carousel-dots .dot  {
    height: 9px;
    width: 9px;
    margin: 0 4px;
}

.chat-icon {
    padding: 0.3rem 0.6rem;
    font-size: 1.2rem;
    bottom: 15px;
    right: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }

  
    .caption4 {
font-size: 1.2rem;
        left: 19%;
        bottom: 15%;
  }

    .map-crop {
        position: relative;
        width: 100vw;
        height: 299px;
        overflow: hidden;
    }

    .map-image {
        position: absolute;
        width: 167%;
        right: -148px;
        bottom: -6px;
        height: auto;
        object-fit: cover;
    }

    .textmap a {
        font-size: 1rem;
        white-space: normal;
        line-height: 1.5;
    }

  .homelift {
  padding: 0px 0;
}

  .container {
    padding-top: 0%;
  }

  .image-wrapper {
    margin-top: 476px;
  }

    .text-overlay {
        position: absolute;
        top: 126%;
        left: 43%;
        width: 70%;
        padding: 1.5rem;
    }

.liftimg1 {
    width: 214%;
    margin-top: 7rem;
}

.text-overlay h2 {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
    text-align: left;
}

.text-overlay h3 {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    text-align: left;
}

.text-overlay p {
    font-size: 1.2rem;
    margin: 0;
    width: 20rem;
    line-height: 1.1;
}

    .center-message2 h1 {
        font-size: 2.5rem;
        margin-bottom: -0.2rem;
        line-height: 4rem;
        text-align: left;
    }

.center-message2 p {
font-size: 1.8rem;
        text-align: left;
}

.textmap {
        padding-bottom: 6rem;
        margin-top: -47rem;
        width: 20rem;
}

.center-message2 {
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px 2rem;
    padding-top: 0rem;
    bottom: -3rem;
}

.textmap h6 {
    font-family: 'Gilroy';
    font-weight: normal;
    font-size: 1.4rem;
    color: #eb660e;
    margin: 0;
    text-align: left;
    width: 42rem;
    line-height: 2.1;
}

}


