* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Apple Garamond";
  /* font-family: 'Apple Garamond', sans-serif; */
  /* overflow: hidden; */

}
.hamburger-menu {
  position: fixed;
  top: 10px;
  right: 20px;
  z-index: 9999;
}

.hamburger-icon {
  background-image: url('assets/hamburger_full.png'); /* เปลี่ยนเป็น path ของรูปจริงๆ นะคะ */
  background-size: contain; /* ให้ภาพเต็มพื้นที่ */
  background-position: center; /* จัดตำแหน่งกลาง */
  background-repeat: no-repeat; /* ไม่ให้ภาพซ้ำ */
  height:  80px;
  width:80px;
  cursor: pointer;
  color: #F16338;
  z-index: 9999;

}

.dropdown-menu {
  opacity: 0;
  display: block; /* ปรับให้สามารถแอนิเมตได้ */
  pointer-events: none;
  position: absolute;
  top: 80px;
  right: 0;
  padding: 10px;
  min-width: 200px;
  transition: opacity 0.4s ease;
}

.dropdown-menu.show {
  opacity: 1;
  pointer-events: auto;
}

.dropdown-menu a {
  text-align: end;
  display: block;
  font-style: italic;
  color: #7EACDC;
  font-size: 1.6rem;
  font-weight: 300;
  padding: 8px;
  text-decoration: none;
}

.dropdown-menu a:hover {
  opacity: 0.5;
}


/* color!
blue - 7EACDC
cream - FFFAEE
green - 31996E
orange - F16338
pink - F8C2CF */
.blue{
  color: #7EACDC;
}
.cream{
  color: #FFFAEE;
}
.green{
  color: #31996E;
}
.orange{
  color: #F16338;
}
.pink{
  color: #F8C2CF;
}

body,
html {
  width: 100%;
  height: 100%;
  display: block;
  align-items: center;
  justify-content: center;


}

.info-bg {
  background-color: #FFFAEE;

}

.full-height {
  height: 100%;
}

.main {}

.pa {
  padding: 16px;
}

.ma {
  margin: 16px;
}

.mt {
  margin-top: 16px;
}

.my {
  margin: 16px 0;
}

.center {
  text-align: center;
}

.page {
  width: 100%;
  height: 100%;
  padding: 0px 200px;
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 100;
  color: #000000;
  font-size: 3rem;
  text-align: center;
}
#inputText1,#inputText2,#inputText3,#inputText4,#inputText5 {
  width: 80%;
  height: 60%;
  padding: 0 2rem;
  background: transparent;

}
.arrow{
  width: 2rem;
  height: auto;
}
.textarea-wrapper1{
  width: 723px;
  height: 217px;
  align-content: center;
  background-image: url('assets/selfdis/self1.png'); /* เปลี่ยนเป็น path ของรูปจริงๆ นะคะ */
  background-size: contain; /* ให้ภาพเต็มพื้นที่ */
  background-position: center; /* จัดตำแหน่งกลาง */
  background-repeat: no-repeat; /* ไม่ให้ภาพซ้ำ */

  textarea {
    width: 100%;
    height: 100%;
    padding: 15px;
    font-size: 18px;
    border: none;
    border-radius: 31px;
    background-color: #f6f4f0;
    outline: none;
    resize: none;
    color: #7EACDC;
  }
  
  textarea::placeholder {
    color: #7EACDC;
    font-size: 16px;
    font-family: "Overused Grotesk";
    font-style: italic;
  }
}
.textarea-wrapper2{
  width: 723px;
  height: 217px;
  align-content: center;
  background-image: url('assets/selfdis/self2.png'); /* เปลี่ยนเป็น path ของรูปจริงๆ นะคะ */
  background-size: contain; /* ให้ภาพเต็มพื้นที่ */
  background-position: center; /* จัดตำแหน่งกลาง */
  background-repeat: no-repeat; /* ไม่ให้ภาพซ้ำ */
  textarea {
    width: 100%;
    height: 100%;
    padding: 15px;
    font-size: 18px;
    border: none;
    border-radius: 31px;
    background-color: #f6f4f0;
    outline: none;
    resize: none;
    color: #7EACDC;
  }
  textarea::placeholder {
    color: #7EACDC;
    font-size: 16px;
    font-family: "Overused Grotesk";
    font-style: italic;
  }
}
.textarea-wrapper3{
  width: 723px;
  height: 217px;
  align-content: center;
  background-image: url('assets/selfdis/self3.png'); /* เปลี่ยนเป็น path ของรูปจริงๆ นะคะ */
  background-size: contain; /* ให้ภาพเต็มพื้นที่ */
  background-position: center; /* จัดตำแหน่งกลาง */
  background-repeat: no-repeat; /* ไม่ให้ภาพซ้ำ */
  textarea {
    width: 100%;
    height: 100%;
    padding: 15px;
    font-size: 18px;
    border: none;
    border-radius: 31px;
    background-color: #f6f4f0;
    outline: none;
    resize: none;
    color: #31996E;
  }
  textarea::placeholder {
    color: #31996E;
    font-size: 16px;
    font-family: "Overused Grotesk";
    font-style: italic;
  }
}
.textarea-wrapper4{
  width: 723px;
  height: 217px;
  align-content: center;
  background-image: url('assets/selfdis/self4.png'); /* เปลี่ยนเป็น path ของรูปจริงๆ นะคะ */
  background-size: contain; /* ให้ภาพเต็มพื้นที่ */
  background-position: center; /* จัดตำแหน่งกลาง */
  background-repeat: no-repeat; /* ไม่ให้ภาพซ้ำ */
  textarea {
    width: 100%;
    height: 100%;
    padding: 15px;
    font-size: 18px;
    border: none;
    border-radius: 31px;
    background-color: #f6f4f0;
    outline: none;
    resize: none;
    color: #F16338;
  }
  textarea::placeholder {
    color: #F16338;
    font-size: 16px;
    font-family: "Overused Grotesk";
    font-style: italic;
  }
}
.textarea-wrapper5{
  width: 723px;
  height: 217px;
  align-content: center;
  background-image: url('assets/selfdis/self4.png'); /* เปลี่ยนเป็น path ของรูปจริงๆ นะคะ */
  background-size: contain; /* ให้ภาพเต็มพื้นที่ */
  background-position: center; /* จัดตำแหน่งกลาง */
  background-repeat: no-repeat; /* ไม่ให้ภาพซ้ำ */
  textarea {
    width: 100%;
    height: 100%;
    padding: 15px;
    font-size: 18px;
    border: none;
    border-radius: 31px;
    background-color: #f6f4f0;
    outline: none;
    resize: none;
    color: #F16338;
  }
  textarea::placeholder {
    color: #F16338;
    font-size: 16px;
    font-family: "Overused Grotesk";
    font-style: italic;
  }
}





.page_card {
  background-color: #fffaee;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 100;
  color: #000000;
  font-size: 3rem;
  text-align: center;
  z-index: 0;
}


.answer_card {
  /* background-image: url('assets/home/card.webp');
background-position: center;
background-size: contain;
background-repeat: no-repeat; */
  width: 700px;
  height: 100vh;
  z-index: 1;
}

.answer_bg {
  position: absolute;
  top: 10%;
  width: 500px;
  height: auto;
  z-index: 0;
}

.answer_card_des {
  position: absolute;
  width: 700px;
  height: 45vh;
  font-weight: 100;
  color: #F16338;
  font-size: 1.5rem;
  text-align: center;
  margin-top: 12%;
  padding: 2rem 10rem;
  overflow-y: scroll;
  word-wrap: break-word;
  z-index: 100;
}

.top-left {
  position: absolute;
  top: 0px;
  left: 25%;
  width: 300px;
  height: auto;
  z-index: 999;
}

.bottom-right {
  position: absolute;
  bottom: 10%;
  right: 28%;
  width: 200px;
  height: auto;
  z-index: 999;
}
@media (min-width: 1513px) {
  .answer_card_des {
    position: absolute;
    width: 700px;
    height: 45vh;
    font-weight: 100;
    color: #F16338;
    font-size: 2rem;
    text-align: center;
    padding: 2rem 8rem;
    overflow-y: scroll;
    word-wrap: break-word;
    z-index: 100;
  }
  .answer_card {
    width: 700px;
    height: 100vh;
    z-index: 1;
  }
  
  .answer_bg {
    position: absolute;
    top: 10%;
    width: 600px;
    height: auto;
    z-index: 0;
  }
  .top-left {
    position: absolute;
    top: 0px;
    left: 25%;
    width: 350px;
    height: auto;
    z-index: 999;
  }
  
  .bottom-right {
    position: absolute;
    bottom: 15%;
    right: 28%;
    width: 250px;
    height: auto;
    z-index: 999;
  }
}

.answer_card_des::-webkit-scrollbar {
  display: none;
}



.answer_btn {
  position: absolute;
  bottom: 5%;
  padding-top: 10px;
  background-image: url('assets/home/card_btn.webp');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-sizing: border-box;
  font-weight: 400;
  color: #000000;
  font-size: 1.5rem;
  color: #F16338;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 200px;
  height: 80px;
  z-index: 9999;
}

.top-left,
.bottom-right,
.answer_bg {
  transition: transform 0.5s ease;
}

.answer_bg.rotate {
  transform: rotate(5deg);
}

/* รูป A: หมุนไปทางซ้าย */
.top-left:hover {
  transform: rotate(-10deg);
}

/* รูป B: หมุนไปทางขวา */
.bottom-right:hover {
  transform: rotate(10deg);
}


.heading {
  position: sticky;
  top: 0;
  display: flex;
  text-align: center;
  align-items: center;

  /* 
  div {
    flex: 1;
    border-radius: 48.5px;
    height: 45px;
    text-align: center;
    align-content: center;

  } */
  img {
    flex: 1;
    display: block;
    width: 100%;
    padding: 0 6rem;
    height: auto;
    object-fit: fill;
    /* ปรับภาพให้ครอบคลุมพื้นที่โดยไม่ผิดสัดส่วน */
  }
}

.content-3 {
  display: flex;
  width: 100vw;

  img {
    display: block;
    width: 100%;
    padding: 2rem 2rem;
    object-fit: contain;
    flex:1;
  }
  p {
    width: 100%;
    font-family: "Overused Grotesk";
    font-style: normal;
    font-size: 1.2rem;
    font-weight: 300;
  }
  div {
    padding-top: 2rem;
    /* padding-bottom: 50px; */
    flex: 1;


   
  }

  .head {

    color: #31996E;
    font-size: 1.5rem;
    line-height: 2rem;
    font-style: italic;
    font-weight: 300;
    margin: 50px 0;
  }
}


.part1 {
  height: 3000px;

  .p1 {
    position: sticky;
    top: 0;
    color: #f16338;
    padding: 6rem 6rem;
    font-size: 5rem;
    /* font-weight: 400; */
    line-height: 5rem;
    word-wrap: break-word;
    transition: opacity 300ms ease-out;
  }

  #o1,
  #o2,
  #o3,
  #o4,
  #o5 {
    transition: opacity 300ms ease-out;
  }

  #b1,
  #b2,
  #b3,
  #b4 {
    font-style: italic;
    font-weight: 300;
  }

}

.part3 {
  height: 100%;
  width: 100%;
  display: relative;
  background: url("/assets/part3/part3-bg.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right;

  .part3-1 {
    position: absolute;
    /* border: solid 2px #000; */
    justify-content: center;
    height: 100%;

    p {
      color: #7EACDC;
      padding: 6rem;
      height: 100%;
      width: 100%;
      font-size: 80px;
      font-weight: 400;
      line-height: 93px;
      align-content: center;
      text-align: left;
    }
  }

  .part3-2 {
    position: relative;
    width: 100%;
    height: 100%;

    /* border: solid 20px #000; */
    .box::-webkit-scrollbar {
      display: none;
    }

    .box {
      width: 100%;
      height: 100%;
      align-content: center;
      text-align: center;
      /* border: solid 2px #e72a2a; */
      display: flex;
      overflow-y: scroll;

      img {
        flex: 1;
        margin: 80px 0;
        display: block;
        width: auto;
        height: auto;
        object-fit: fill;
        /* ปรับภาพให้ครอบคลุมพื้นที่โดยไม่ผิดสัดส่วน */
      }
    }


  }

  .cards {
    background: #DBD0BC;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    display: grid;
    grid-gap: 1rem;
    grid-auto-flow: column;
    grid-auto-columns: 40%;
    min-height: 100vh;
    width: 100%;
  }

  .cards-content {
    align-items: center;
    background: #fff;
    color: #111;
    display: flex;
    font-weight: 900;
    justify-content: center;
    font-size: 5rem;
    text-transform: uppercase;
  }

  .cards-content:first-child {
    margin-left: 2rem;
  }

  .cards-content:last-child {
    margin-right: 2rem;
  }
}

.part4 {
  display: flex;
  width: 100%;
  height: 100%;

  div {
    flex: 1;
  }

  .part4-1 {
    background-image: url("/assets/pt4/pt4-1.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: sticky;
    top: 0;
    height: 100%;

    /* border: solid 2rem #2f2b9247; */
    p {
      padding: 4rem;
      height: 100%;
      width: 100%;
      font-size: 80px;
      font-weight: 400;
      line-height: 93px;
      color: #f1592f;
      text-align: left;
    }
  }

  .part4-2 {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;

    img {
      width: 100%;
      object-fit: contain;
    }
  }
}

.part5 {
  width: 100%;
  height: auto;
  background-image: url("/assets/article/boxbg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  .p0 {}

  .p1 {
    padding: 4rem 4rem 0;
    font-size: 4rem;
    font-weight: 400;
    line-height: 4remx;
    color: #31996E;
    text-align: left;
    flex: 8;
  }

  .p2 {
    padding: 1rem 4rem 0;

    color: #555;
    font-family: "Overused Grotesk";
    font-style: normal;
    font-size: 1.2rem;
    font-weight: 300;
  }

  .grid-container {
    display: grid;
    grid-template-columns: repeat(3, .5fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px 30px;
    padding: 40px;
  }

  .card {
    color: #31996e;
    background-image: url("/assets/article/imgbg.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: auto;
    padding: 0 2rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
  }

  .title {
    padding: 2rem 3rem 0;
    align-content: end;
    text-align: center;
    font-size: 35px;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 10px;
    height: 200px;

  }

  .content {
    font-family: "Overused Grotesk";
    text-align: center;
    flex-grow: 1;
    font-size: 1rem;
    padding: 0 0 4rem;
    color: black
  }

  .arrow {
    background-image: url("assets/article/arrow1.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 40px;
    height: 40px;
    z-index: 999;
    cursor: pointer;
  }

  .arrow:hover {
    background-image: url("assets/article/arrow2.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 10%;
    right: 10%;
    width: 40px;
    height: 40px;
    z-index: 999;
    cursor: pointer;
  }
  @media (min-width: 1513px) {
    .grid-container {
      display: grid;
      grid-template-columns: repeat(3, .5fr);
      grid-template-rows: repeat(2, 1fr);
      gap: 30px 30px;
      padding: 40px;
    }
    .card {
      color: #31996e;
      background-image: url("/assets/article/imgbg.png");
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
      width: 100%;
      height: auto;
      padding: 4rem;
      border-radius: 12px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
    }
  
    .title {
      padding: 2rem 4rem 0;
      align-content: end;
      text-align: center;
      font-size: 35px;
      font-style: normal;
      font-weight: 400;
      margin-bottom: 10px;
      height: 200px;
  
    }
  
    .content {
      font-family: "Overused Grotesk";
      text-align: center;
      flex-grow: 1;
      font-size: 1rem;
      padding: 0 0 4rem;
      color: black
    }
  
    .arrow {
      background-image: url("assets/article/arrow1.png");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      position: absolute;
      bottom: 10%;
      right: 15%;
      width: 40px;
      height: 40px;
      z-index: 999;
      cursor: pointer;
    }
  
    .arrow:hover {
      background-image: url("assets/article/arrow2.png");
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      position: absolute;
      bottom: 10%;
      right: 15%;
      width: 40px;
      height: 40px;
      z-index: 999;
      cursor: pointer;
    }
  }


  /* MODEL!!! */
  .card button {
    margin-top: auto;
    padding: 10px;
    border: none;
    background: #007BFF;
    color: white;
    border-radius: 5px;
    cursor: pointer;
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(86, 86, 86, 0.6);
    justify-content: center;
    align-items: center;

  }

  .modal-scroll {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.2);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-title {
    font-weight: 500;
    color: #31996e;
    font-size: 3rem;
    padding-left: 30vw; 
    padding-right: 5vw;
    padding-top: 4rem;
  }

  .modal-des {
    padding-left: 30vw; 
    padding-right: 5vw;
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 300;
    font-family: "Overused Grotesk";
  }

  .des {
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 300;
    font-family: "Overused Grotesk";
  }

  .modal-content {
    background: white;
    width: 90%;
    max-height: auto;
    padding: 20px;
    margin: 4rem 4rem 2rem;
    border-radius: 10px;
    overflow-y: auto;
    animation: slideUp 300ms ease-out;
  }

  .gethtml {
    padding-left: 30vw; 
    padding-right: 5vw;
    padding-right: 5vw;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 300;
    font-family: "Overused Grotesk";
    p{
      font-family: "Overused Grotesk";
    }
  }

  .modal-close {
    float: right;
    font-size: 20px;
    cursor: pointer;
  }

  .related-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .related-item {
    background: #eee;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
  }

}

/* ---test--- */
.modal-text-title {
  color: #6d6d6d;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
  font-family: "Overused Grotesk";
}

#item {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.modal-content-img {
  margin-top: 2rem;
  max-width: 400px;
  object-fit: cover;
}

.modal-content-img-with-bg {

  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  max-width: 400px;
  object-fit: cover;
}


.part6 {
  width: 100%;
  height: 100%;
  background-image: url("/assets/advices/bg.svg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;

  div {
    flex: 1
  }

  .p6-1 {
    padding: 4rem 4rem 0;
    font-size: 80px;
    font-weight: 400;
    line-height: 93px;
    color: #f16338;
    text-align: left;

  }

  .p6-2 {
    align-content: end;
  }



  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 0px;
    padding: 100px 50px;
  }

  .image-wrapper {
    position: relative;
    display: inline-block;
    width: 480px;
  }

  .image-wrapper img {
    display: block;
    width: 480px;
    transition: opacity 300ms ease-in-out;
  }

  .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
  }

  .image-wrapper:hover .hover-img {
    opacity: 1;
  }

  .image-wrapper:hover .main-img {
    opacity: 0;
  }

  .card {
    color: #31996e;
    background: transparent;
    position: relative;
  }

  .content {
    text-align: center;
    flex-grow: 1;
    font-size: 1rem;
    color: black
  }

  .icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: #555;
    cursor: pointer;
  }

  .icon:hover {
    color: #000;
  }


}

.sticky-container2 {
  position: relative;
  height: 300vh;

  .sticky-content2 {
    text-align: center;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
  }

  .slide-txt {
    position: relative;
    transform: scale(0.01);
    transition: transform 0.05s;
    will-change: transform;
    white-space: nowrap;
    z-index: 2;
  }

  .text-a {
    color: #F16338;
    font-weight: normal;
    font-size: 10rem;
  }

  .text-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.01);
    width: 100vw;
    z-index: 1;
    transition: transform 0.05s;
    will-change: transform;
    pointer-events: none;
  }
}

.sticky-container {
  position: relative;
  height: 500vh;


  .sticky-content {
    text-align: center;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('assets/slide/slide_bg.webp') center center / cover no-repeat;
    z-index: 1;
    overflow: hidden;
  }

  .slide-txt {
    transform: scale(0.01);
    transition: transform 0.05s;
    will-change: transform;
    white-space: nowrap;
    z-index: 2;

    .text-a {
      color: #F16338;
      font-weight: normal;
      font-size: 6rem;
    }

    .text-b {
      color: #F16338;
      font-style: italic;
      font-weight: normal;
      font-size: 6rem;
    }
  }

  .img-a,
  .img-b {
    position: absolute;
    width: 400px;
    height: auto;
    transition: transform 0.1s ease-out;
    z-index: 1;
  }

  .img-a {
    top: 5%;
    left: 5%;
    transform: translate(-100vw, 100vh);
  }

  .img-b {
    bottom: 5%;
    right: 5%;
    transform: translate(100vw, -100vh);
  }

}

.sticky-but {
  height: 300vh;

  .p1 {
    position: sticky;
    top: 0;
    color: #f16338;
    height: 100vh;
    font-size: 4rem;
    font-weight: 500;
    text-align: center;
    align-content: center;
    line-height: 4rem;
    word-wrap: break-word;
    transition: opacity 300ms ease-out;
  }

  #oo1 #oo2,
  #oo3 {
    transition: opacity 100ms ease-out;
  }

}


.sticky-howto {
  position: relative;
  height: 300vh;

  .sticky-content2 {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .slide-txt {
    height: 100vh;
    width: 60vw;
    align-content: center;
    background-image: url("/assets/slide2/slide2_bg.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    text-align: center;
    transform: translateY(-100vh);
    transition: transform 0.2s;
    z-index: 1;
    white-space: nowrap;
  }

  .text-a {
    font-size: 8rem;
    font-weight: normal;
    color: #F16338;


  }

  .text-bg {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -150vh);
    height: 100vh;
    z-index: 2;
    transition: transform 0.2s;
    pointer-events: none;
  }

}

.part7 {
  height: 500vh;

  .heading1,
  .heading2,
  .heading3,
  .heading4 {
    position: sticky;
    top: 0;
    display: flex;

    img {
      flex: 1;
      display: block;
      width: 100%;
      height: auto;
      object-fit: fill;
      /* ปรับภาพให้ครอบคลุมพื้นที่โดยไม่ผิดสัดส่วน */
    }
  }

  .heading1 {

    img {
      width: 90vw;
    }
  }

  .heading2 {
    padding-top: 45vh;
    justify-content: flex-end;

    img {
      width: 80vw;

    }
  }

  .heading3 {
    padding-top: 5vh;
    padding-left: 5vw;

    img {
      width: 90vw;
    }
  }

  .heading4 {
    padding-top: 50vh;
    padding-left: 5vw;
    justify-content: flex-end;

    img {
      width: 80vw;
    }
  }
}

.part8 {
  position: relative;
  height: 300vh;
.part8-1 {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.slide-txt {
  height: 100vh;
  padding: 2rem;
  position: relative;
  text-align: center;
  transform: translateX(200vh);
  transition: transform 0.2s;
  z-index: 1;
  white-space: nowrap;
}

.text-a {
  font-size: 10rem;
  font-weight: normal;
  color: #F16338;
  

}

}
.part9 {
  width: 100%;
  height: auto;

  img {
    padding: 10px 10vw;
    width: 100vw;
  }

  .image-wrapper {
    position: relative;
    display: inline-block;

    width: 30vw;
  }

  .image-wrapper img {
    /* display: block;
    padding: 10px 10vw;
    width: 50vw; */
    padding: 0;
    width: 30vw;
    transition: opacity 300ms ease-in-out;
  }

  .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
  }

  .image-wrapper:hover .hover-img {
    opacity: 1;
  }

  .image-wrapper:hover .main-img {
    opacity: 0;
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;

    justify-content: center;
    /* จัดกึ่งกลางแนวนอน */
    align-items: center;
    /* จัดกึ่งกลางแนวตั้ง */
  }

  .modal-content {
    /* background: white; */
    /* background-image: url("/assets/article/article1-bg.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center; */


    width: 100vw;
    max-height: auto;
    /* padding: 20px 0; */
    /* margin: 4rem 4rem 2rem; */
    border-radius: 10px;
    /* overflow-x: auto; */

    animation: zoom-in 100ms ease-in;
  }

  .modal-close {
    float: right;
    font-size: 20px;
    cursor: pointer;
  }

  .related-grid {
    /* margin-top: 30px; */
    display: flex;
    width: 100%;
    justify-content: center;
    /* จัดกึ่งกลางแนวนอน */
    align-items: center;
    /* จัดกึ่งกลางแนวตั้ง */
    /* grid-template-columns: repeat(3, 1fr);
    gap: 15px; */
  }

  .related-item {
    background: #eee;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
  }

  .card {}
}
.part10 {
  height: 100vh;
  width: 100vw;
  background: url(assets/final/final_bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 10rem 0;
  display: relative;

    .txt{
      color: #F16338;
      padding: 2rem 6rem 0;
      font-size: 6rem;
      font-weight: 400;
      line-height: 6rem;
      text-align: left;
    }
    .des{
      width: 100vw;
      color: #F16338;
      padding: 0 6rem;
      font-size: 1.5rem;
      font-weight: 300;
      font-family: "Overused Grotesk";
      font-style: normal;
      text-align: left;
    }
    .download_btn {
      width: 300px;
      height: 100px;
      margin: 4rem 5rem;
      padding: 0;
      background-color: transparent;
      background-image: url('assets/home/card_btn.webp'); /* เปลี่ยนเป็น URL รูปที่ต้องการ */
      background-size: cover;
      background-position: center;
      border: none;
      color: #F16338;
      font-size: 2rem;
      font-weight: normal;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      border-radius: 10px; /* ปรับโค้งมุมปุ่มได้ */
    }


}


.part {
  height: 100%;
  /* border: solid 3px #dedede; */
  position: relative;
  display: flex;
  /* เพิ่มบรรทัดนี้ */
  flex-direction: column;
  /* จัดเรียงเนื้อหาภายในแนวตั้ง */
  justify-content: center;
  /* จัดให้อยู่กึ่งกลางแนวนอน */
  align-items: center;
  /* จัดให้อยู่กึ่งกลางแนวตั้ง */
  text-align: center;
  /* จัดข้อความให้อยู่กึ่งกลาง */
}



.holyf {
  color: #000;
  text-align: center;
  font-size: 200px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;
  /* 200px */


}

.holyc {
  color: #000;
  text-align: center;
  font-size: 35px;
  font-style: normal;
  font-weight: 400;
  line-height: 119%;
  /* 41.65px */
}

button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

.home {
  height: 4000px;
  background-color: #555;
}

.answer {
  color: #F16338;
}

.btn_home {
  border-radius: 48.5px;
  background: #000;
  color: #FFF;
  text-align: center;
  font-size: 25px;
  font-style: normal;
  font-weight: 400;
  width: 225px;
  height: auto;
}

.btn_9 {
  border-radius: 48.5px;
  background: #fff;
  color: #000;
  text-align: center;
  font-size: 25px;
  font-style: normal;
  font-weight: 400;
  width: 225px;
  height: auto;
}

.btn_submit {
  font-size: 20px;
  width: 800px;
  text-align: right;
}



.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  opacity: 0;
  transition: opacity 300ms ease-in-out;
}

.video-background.show {
  opacity: 1;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

.content {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 20px;
}

.gray {
  background-color: #75757547;
}

.bgimg {
  background-image: url("/assets/intro/Artboard13-2.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

}

.scroll-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  padding: 10px 0;
}

.scroll-text {
  color: #F16338;
  display: inline-block;
  font-size: 4rem;
  padding-left: 100%;
  animation: scroll-left 15s linear infinite;
}

.part00 {
  /* background-image: url("/assets/article/article5-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center; */
  background: url(assets/home/home_bg.webp);
  background-repeat: no-repeat;
  background-size: cover;

}

.sticky {
  height: 100vh;
  align-items: center;
  text-align: center;
  justify-content: center;
  position: sticky;
  top: 0;

  p {
    height: 100vh;
    width: 100vw;
    font-size: 4rem;
    font-weight: 500;
    color: #31996E;
  }
}

.part0 {
  height: 10000px;
  /* ยาวขึ้น เพราะต้องมีสองข้อความ */
  position: relative;

  .sticky-container {
    position: sticky;
    top: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    transform: translateY(-50%);
    pointer-events: none;
    overflow-x: hidden;
  }

  .text {
    font-size: 6rem;
    font-weight: normal;
    color: #F16338;
    transition: transform 0.1s ease-out, opacity 0.2s ease-out;
    will-change: transform, opacity;
    text-align: center;
    position: absolute;
    scale: (0);
    z-index: 99;
  }

  .text2 {
    font-size: 5rem;
    font-weight: normal;
    color: #31996E;
    transition: transform 0.1s ease-out, opacity 0.2s ease-out;
    will-change: transform, opacity;
    text-align: center;
    position: absolute;
    scale: (0);
    z-index: 99;

  }

  #t5-1,
  #t5-2,
  #t5-3,
  #t1-1,
  #t1-2 {
    transition: transform 0.1s ease-out, opacity 0.2s ease-out;
    will-change: transform, opacity;
  }

  .image-wrapper img {
    position: absolute;
    width: 150px;
    height: auto;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
    will-change: transform, opacity;
  }
}


/* part_animation */

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}


@keyframes slideUp {
  0% {
    transform: translateY(100%);
    opacity: 0.0;
  }

  50% {
    transform: translateY(20%);
    opacity: 0.8;
  }

  100% {
    transform: translateY(0%);
    opacity: 1;
  }
}

@keyframes zoom-in {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}