* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.img-mobile-line{
   display:none; 
}

.spacer-mobile{
	display:none;
}

.about-us-layout-One {
  background-color: rgba(26, 26, 26, 255);
  height: auto;
}

.about-us-layout-Two {
  background-color: rgba(237, 235, 222, 255);
  height: auto;
}

.about-us-layout-Three {
  background-color: rgba(237, 235, 222, 255);
  height: auto;
}

.text-about {
  /* font-family: "GothamBold", sans-serif; */
  color: white;
}

.text-aboutus-detail {
  font-size: 18px;
  font-family: var(--font-book);
}

.text-aboutus-detail-right {
  font-size: 18px;
  font-family: var(--font-book);
}



/* .our-clients {
  background-color: rgba(237, 235, 222, 255);
  border-radius: 50px;
  color: rgb(0, 0, 0);
  margin: 20px;
} */
.head-text-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.head-text-logo>h1 {
  color: white;
  text-transform: uppercase;
  font-size: var(--header-font-size);
  font-family: var(--font-bold);
  line-height: 1;
  margin: 0;
}

.text-at {
  font-family: "GothamBold", sans-serif;
  font-size: 50px;
  font-weight: bold;
  color: transparent;
  font-size: 80px;
  -webkit-text-stroke: 1px black;
  /* ขอบสีดำ */
}

h1.company-header-text {
  font-family: "GothamMedium", sans-serif;
  font-size: 80px;
  font-weight: regular;
}

h1.milestone-header-text {
  font-family: "GothamMedium", sans-serif;
  font-weight: regular;
  font-size: 100px;
  display: flex;
  align-items: center;
}

h1.company-culture-header-text {
  font-family: "GothamMedium", sans-serif;
  font-weight: bold;
  font-size: 100px;
  display: flex;
  align-items: center;
  height: 100%;
}

h3.text-number {
  font-family: "GothamMedium", sans-serif;
  font-weight: bold;
  font-size: clamp(24px, 5vw, 50px);
  background-color: rgb(0, 0, 0);
  color: white;
  text-align: center;
  padding: 10px;
  width: clamp(150px, 40vw, 200px);
  border-radius: 20px;
}

div.text-milestone {
  font-family: "GothamBook", sans-serif;
  font-size: 25px;
}

div.spacer {
  margin-bottom: 50px;
}

p.company-detail-text {
  font-family: "GothamBook", sans-serif;
  color: rgb(0, 0, 0);
  font-size: 30px;
}

p.company-year-text {
  font-family: "GothamBook", sans-serif;
  color: rgb(0, 0, 0);
  font-size: 50px;
  font-weight: bold;
}

img.line-img {
  margin-bottom: 50px;
}

p.company-culture-detail-text {
  font-family: "GothamBook", sans-serif;
  color: rgb(0, 0, 0);
  font-size: 30px;
}

.text-achievements {
  font-family: "GothamMedium", sans-serif;
  color: rgb(0, 0, 0);
  font-size: 100px;
}

.video-part {
  background-color: rgb(134, 138, 138);
  height: 500px;
  width: 1300px;
  border-radius: 50px;
}

.img-achievements {
  background-color: rgb(122, 122, 122);
  width: 250px;
  height: 200px;
  border-radius: 20px;
}

.company-culture-img {
  background-color: rgb(122, 122, 122);
  width: 600px;
  height: 800px;
  border-radius: 50px;
}

.text-us {
  font-family: "GothamBold", sans-serif;
  color: white;
  font-size: 120px;
  font-weight: bold;
  color: transparent;
  -webkit-text-stroke: 2px white;
  font-family: Arial, sans-serif;
}

.img-about {
  font-size: 120px;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 10px 0;
  justify-content: center;
}

.text-detail-aboutus {
  font-family: "GothamBook";
  color: white;
  font-size: 30px;
  text-wrap: pretty;
}

.text-young-blood {
  font-size: 20px;
}

b.text-achievements-bold {
  font-family: "GothamBook", sans-serif;
  font-weight: bold;
  color: rgb(0, 0, 0);
  font-size: 25px;
}

h1.outline-text-us {
  color: transparent;
  -webkit-text-stroke: 1px rgb(255, 255, 255);
}

.partnership-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10rem;
  padding: 1rem;
}

.partnership-item {
  flex: 1 1 150px;
  max-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-section {
  padding: 30px 30px;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid transparent;
  /* for visual alignment */
  border-bottom: 1px solid transparent;
  max-width: 1800px;
  margin: 0 auto;
  /* border: 1px solid red; */
  height: 200px;
}

.partner-item {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  background-color: transparent;
}

.mobile-part {
  display: none;
}



.mobile-line {
  display: none;
}



.timeline {
  position: relative;
  margin: 50px auto;
  max-width: 1100px;
  padding: 0 20px;
}

.timeline-line-img {
  position: absolute;
  top: 0px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  z-index: 0;
  pointer-events: none;
  height: 100%;
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 0px 30px;
  box-sizing: border-box;
  z-index: 1;
}

.timeline-item.left {
  left: -20px;
  text-align: right;
}

.timeline-item.right {
  left: 51%;
  text-align: left;
}

.year-label {
  font-size: 24px;
  font-weight: bold;
  background: black;
  color: white;
  padding: 5px 15px;
  display: inline-block;
  border-radius: 5px;
  margin-bottom: 10px;
}

.partner-item img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}

.partnership-item img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

#myImage-about {
  height: 110px;
  width: auto;
  object-fit: contain;
  display: inline-block;
  position: relative;
}

.mobile-circle-size {
  display: none;
}

.mobile-circle {
  display: none;
}


@supports (-webkit-touch-callout: none) {
  #myImage-about {
    /* ค่าที่ใช้อยู่แล้ว */
    /* height: 42px; */
    top: -6px;
  }
}

html.android-device #myImage-about,
html.ios-mobile-device #myImage-about {
  position: relative;
  top: -3px !important;
}

.box-logo-left {
  margin-right: 35px;
}

.box-logo-right {
  margin-left: 35px;
}

.line-one {
  top: -100px;
}

.line-two {
  top: -85px;
}

.line-three {
  top: 20px;
}

.line-four {
  top: 162px;
}

.line-five {
  top: 215px;
}

.line-six {
  top: 338px;
}


.line-seven {
  top: 373px;
}

.text-style {
  font-family: "GothamBold", sans-serif;
}


@media (max-width: 1440px) {
  .partnership-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0rem;
  }

  .text-achievements {
    font-size: 60px;
  }

  h1.company-header-text {
    font-size: 50px;
  }

  h3.text-number {
    border-radius: 10px;
  }

  .head-text-logo h1 {
    font-size: 80px;
  }

  #myImage-about {
    height: 80px;
  }

  .text-young-blood {
    margin-top: 25px !important;
    font-size: 20px;
  }

  .partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-color: transparent;
  }

  .partner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-top: 1px solid transparent;
    /* for visual alignment */
    border-bottom: 1px solid transparent;
    max-width: 1800px;
    margin: 0 auto;
    /* border: 1px solid red; */
    height: 220px;
  }

  .timeline-item.left {
    left: -10px;
    text-align: right;
  }

  .timeline-item.right {
    left: 50%;
    text-align: left;
  }

  .box-logo-left {
    margin-right: 35px;
  }

  .box-logo-right {
    margin-left: 35px;
  }

  .img-year {
    width: 150px;
  }

  .img-year-double {
    width: 260px;
  }

  .text-aboutus-detail {
    font-size: 15px;
  }

  .line-two {
    top: -77px;
  }

  .line-three {
    top: 18px;
  }

  .line-four {
    top: 166px;
  }

  .line-five {
    top: 208px;
  }

  .line-six {
    top: 338px;
  }

  .line-seven {
    top: 372px;
  }


}

@media (max-width: 1201px) {
  .partnership-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0rem;
  }

  .text-achievements {
    font-size: 60px;
  }

  h1.company-header-text {
    font-size: 50px;
  }

  h3.text-number {
    border-radius: 10px;
  }

  .head-text-logo h1 {
    font-size: 80px;
  }

  #myImage-about {
    height: 80px;
  }

  .text-young-blood {
    margin-top: 25px !important;
    font-size: 20px;
  }

  .partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-color: transparent;
  }

  .partner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-top: 1px solid transparent;
    /* for visual alignment */
    border-bottom: 1px solid transparent;
    max-width: 1800px;
    margin: 0 auto;
    /* border: 1px solid red; */
    height: 220px;
  }

  .timeline-item.left {
    left: -10px;
    text-align: right;
  }

  .timeline-item.right {
    left: 50%;
    text-align: left;
  }

  .text-aboutus-detail-right {
    font-size: 15px;
    font-family: var(--font-book);
    margin-left: 0px;
  }

  .box-logo-left {
    margin-right: 35px;
  }

  .box-logo-right {
    margin-left: 35px;
  }

  .img-year {
    width: 150px;
  }

  .img-year-double {
    width: 260px;
  }

  .text-aboutus-detail {
    font-size: 15px;
  }

  .line-two {
    top: -85px;
  }

  .line-three {
    top: 22px;
  }

  .line-four {
    top: 162px;
  }

  .line-five {
    top: 222px;
  }

  .line-six {
    top: 346px;
  }

  .line-seven {
    top: 370px;
  }


}

@media (max-width: 1200px) {
  .partnership-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0rem;
  }

  .text-achievements {
    font-size: 60px;
  }

  h1.company-header-text {
    font-size: 50px;
  }

  h3.text-number {
    border-radius: 10px;
  }

  .head-text-logo h1 {
    font-size: 80px;
  }

  #myImage-about {
    height: 80px;
  }

  .text-young-blood {
    margin-top: 25px !important;
    font-size: 20px;
  }

  .partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-color: transparent;
  }

  .partner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-top: 1px solid transparent;
    /* for visual alignment */
    border-bottom: 1px solid transparent;
    max-width: 1800px;
    margin: 0 auto;
    /* border: 1px solid red; */
    height: 220px;
  }

  .timeline-item.left {
    left: 0px;
    text-align: right;
  }

  .timeline-item.right {
    left: 50%;
    text-align: left;
  }

  .timeline-line-img {
    position: absolute;
    top: 0px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    z-index: 0;
    pointer-events: none;
    height: 100%;
  }

  .text-aboutus-detail-right {
    font-size: 15px;
    font-family: var(--font-book);
    margin-left: 0px;
  }

  .box-logo-left {
    margin-right: 35px;
  }

  .box-logo-right {
    margin-left: 35px;
  }

  .img-year {
    width: 115px;
  }

  .img-year-double {
    width: 250px;
  }

  .text-aboutus-detail {
    font-size: 15px;
  }

  .line-two {
    top: -85px;
  }

  .line-three {
    top: 18px;
  }

  .line-four {
    top: 155px;
  }

  .line-five {
    top: 213px;
  }

  .line-six {
    top: 330px;
  }

  .line-seven {
    top: 355px;
  }


}


@media (max-width: 1000px) {
  .partnership-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0rem;
  }

  .text-achievements {
    font-size: 60px;
  }

  h1.company-header-text {
    font-size: 50px;
  }

  h3.text-number {
    border-radius: 10px;
  }

  .head-text-logo h1 {
    font-size: 80px;
  }

  #myImage-about {
    height: 80px;
  }

  .text-young-blood {
    margin-top: 25px !important;
    font-size: 20px;
  }

  .partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-color: transparent;
  }

  .partner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-top: 1px solid transparent;
    /* for visual alignment */
    border-bottom: 1px solid transparent;
    max-width: 1800px;
    margin: 0 auto;
    /* border: 1px solid red; */
    height: 220px;
  }

  .timeline-item.left {
    left: -37px;
    text-align: right;
  }

  .timeline-item.right {
    left: 50%;
    text-align: left;
  }

  .text-aboutus-detail-right {
    font-size: 15px;
    font-family: var(--font-book);
    margin-left: 25px;
  }

  .box-logo-left {
    margin-right: 35px;
  }

  .box-logo-right {
    margin-left: 35px;
  }

  .img-year {
    width: 150px;
  }

  .img-year-double {
    width: 260px;
  }

  .text-aboutus-detail {
    font-size: 15px;
  }

  .line-two {
    top: -82px;
  }

  .line-three {
    top: 30px;
  }

  .line-four {
    top: 175px;
  }

  .line-five {
    top: 215px;
  }

  .line-six {
    top: 345px;
  }

  .line-seven {
    top: 370px;
  }


}


@media (max-width: 992px) {
  .partnership-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0rem;
  }

  .text-achievements {
    font-size: 60px;
  }

  h1.company-header-text {
    font-size: 50px;
  }

  h3.text-number {
    border-radius: 10px;
  }

  .head-text-logo h1 {
    font-size: 80px;
  }

  #myImage-about {
    height: 80px;
  }

  .text-young-blood {
    margin-top: 25px !important;
    font-size: 19px;
  }

  .partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-color: transparent;
  }

  .partner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-top: 1px solid transparent;
    /* for visual alignment */
    border-bottom: 1px solid transparent;
    max-width: 1800px;
    margin: 0 auto;
    /* border: 1px solid red; */
    height: 220px;
  }

  .timeline-item.left {
    left: -50px;
    text-align: right;
  }

  .timeline-item.right {
    left: 50%;
    text-align: left;
    width: 450px;
  }

  .box-logo-left {
    margin-right: -20px;
  }

  .box-logo-right {
    margin-left: 25px;
  }

  .img-year {
    width: 125px;
  }

  .img-year-double {
    width: 260px;
  }

  .text-aboutus-detail {
    font-size: 12px;
  }

  .text-aboutus-detail-right {
    font-size: 12px;
    font-family: var(--font-book);
    margin-left: 10px;
  }

  .line-two {
    top: -83px;
  }

  .line-three {
    top: 26px;
  }

  .line-four {
    top: 145px;
  }

  .line-five {
    top: 213px;
  }

  .line-six {
    top: 329px;
  }

  .line-seven {
    top: 342px;
  }

}


@media (max-width: 768px) {
  .partnership-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0rem;
  }

  .text-achievements {
    font-size: 60px;
  }

  h1.company-header-text {
    font-size: 50px;
  }

  h3.text-number {
    border-radius: 10px;
  }

  .head-text-logo h1 {
    font-size: 80px;
  }

  #myImage-about {
    height: 80px;
  }

  .text-young-blood {
    margin-top: 25px !important;
    font-size: 25px;
  }

  .partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-color: transparent;
  }

  .partner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    border-top: 1px solid transparent;
    /* for visual alignment */
    border-bottom: 1px solid transparent;
    max-width: 1800px;
    margin: 0 auto;
    /* border: 1px solid red; */
    height: 220px;
  }

  .timeline-item.left {
    left: -70px;
    text-align: right;
  }

  .timeline-item.right {
    left: 50%;
    text-align: left;
    width: 450px;
  }

  .img-year {
    width: 115px;
  }

  .box-logo {
    width: 60px;
  }

  .img-year-double {
    width: 250px;
  }

  .text-aboutus-detail {
    font-size: 12px;
  }

  .text-aboutus-detail-right {
    font-size: 12px;
    font-family: var(--font-book);
    margin-left: 0px;
  }

  .line-one {
    top: -97px;
  }

  .line-two {
    top: -82px;
  }

  .line-three {
    top: 25px;
  }

  .line-four {
    top: 139px;
  }

  .line-five {
    top: 208px;
  }

  .line-six {
    top: 319px;
  }

  .line-seven {
    top: 333px;
  }

.img-mobile-line{
   display:block; 
  }

  .size-line-mobile {
    display: block;      /* เปลี่ยนจาก inline เป็น block */
    margin-left: auto;   /* ดันขอบซ้าย */
    margin-right: auto;  /* ดันขอบขวา */
    
    /* เพิ่มเติม: ปรับขนาดความกว้างตามต้องการเพื่อให้เห็นผลชัดเจน */
    max-width: 100%;     
    height: auto;
	}

.timeline{
	display:none;
}


}

@media (max-width: 480px) {
  .circle-size {
    width: 35px;
  }

  .text-achievements {
    font-size: 35px;
  }

  .size-img {
    width: 75px;
  }

  .text-young-blood {
    font-size: 17px;
  }

  h1.company-header-text {
    font-size: 35px;
  }


  .head-text-logo {
    font-size: 40px;
  }

  .partner-item img {
    max-width: 280%;
  }

  .img-fluid {
    max-width: 90%;
    height: auto;
  }

  .desktop-circle {
    display: none;
  }

  .mobile-circle {
    display: block;
  }

  .circle-size-desktop {
    display: none;
  }

  .partner-grid {
    display: none;
  }

  .mobile-part {
    display: block;
  }

  .img-year {
    width: 85px;
  }

  .desktop-line {
    display: none;
  }

  .mobile-line {
    display: none;
  }

  .img-mobile-line{
   display:block; 
  }

  .size-line-mobile {
    display: block;      /* เปลี่ยนจาก inline เป็น block */
    margin-left: auto;   /* ดันขอบซ้าย */
    margin-right: auto;  /* ดันขอบขวา */
    
    /* เพิ่มเติม: ปรับขนาดความกว้างตามต้องการเพื่อให้เห็นผลชัดเจน */
    max-width: 100%;     
    height: auto;
	}

  .head-text-logo>h1 {
    color: white;
    text-transform: uppercase;
    font-size: 40px;
    font-family: var(--font-bold);
    line-height: 1;
    margin: 0;
  }

  #myImage-about {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: inline-block;
    position: relative;
  }

  .timeline-line-img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    z-index: 0;
    pointer-events: none;
    height: 100%;
  }

  .timeline {
    position: relative;
    margin: 50px auto;
    max-width: 900px;
    padding: 0 0px;
  }

  .timeline-item {
    position: relative;
    width: 50%;
    padding: 0px 0px;
    box-sizing: border-box;
    z-index: 1;
    /* border: 1px solid salmon; */
  }

  .box-logo {
    width: 190px;
  }

  .box-linetext {
    width: 190px;
    font-size: 11px;
    font-family: var(--font-book);
  }

  .box-imgyear {
    width: 200px;
  }

  .box-logobox {
    width: 200px;
  }

  .box-logo-right {
    margin-left: 20px;
  }

  .box-imgyear-right {
    margin-left: 15px;
  }

  .box-linetext-right {
    margin-left: 16px;
    font-size: 11px;
    font-family: var(--font-book);
  }

  .box-logobox-right {
    margin-left: 10px;
  }

.about-us-layout-Two {
    background-color: rgba(237, 235, 222, 255);
    height: auto;
}

.spacer-desktop{
	display:none; 
}

.spacer-mobile{
	display:block;
}

}

