.pc {
  display: block;
}

.mobile {
  display: none;
}

.workplace-pc {
  display: block;
}

.workplace {
  display: none;
}

.margin-bottom-services {
  margin-bottom: 3rem;
}

.font-weight-our-way p {
  font-weight: 100;
}

@media only screen and (max-width: 1199px) {
  .pc {
    display: none;
  }

  .mobile {
    display: block;
  }

  .workplace-pc {
    display: block;
  }
}

.milestone-jty-banner {
  justify-content: center !important;
}

@media only screen and (max-width: 991px) {
  .workplace {
    display: block;
  }
  .workplace-pc {
    display: none;
  }

  .margin-bottom-services {
    margin-bottom: 0rem;
  }
}

/* STYLE FONT */
.text-highlights,.highlights-rem-thin span{
  font-family: "REM", Thin;
  font-size: 45px;
  font-weight: 100;
}

.text-rem-thin {
  font-family: "REM", Thin;
  font-weight: 100;
}

.text-Montserrat-thin h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 45px;
  font-weight: 500 !important;
}

.text-Montserrat-thin em {
  font-weight: 600 !important;
}


.text-cormorant-garamond h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 45px;
}

.text-rem h1 {
  font-family: "DM Sans", sans-serif;
  font-size: 40px;
}


b, strong {
  font-weight:bold;
}


p {
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-weight: 200;
}

.text-rem-med span {
  font-family: "REM", Thin;
  font-size: 45px;
}

.text-rem-med-home em {
  font-family: "REM", Thin;
  font-size: 45px;
}

.text-rem-med-60 h1 {
  font-family: "REM", Thin;
  font-size: 45px;
}

.text-rem-100 h2 {
  font-family: "REM", Thin;
  font-size: 30px;
  font-weight: 100;
}

.text-rem-contact-title h2 {
  font-family: "REM", Thin;
  font-size: 26px;
  font-weight: 500;
}


#download .text-rem h2 {
  font-family: "REM", Thin;
  font-size: 30px;
}

.login-download h2 {
  font-family: "REM", Thin;
  font-size: 30px;
}


.text-rem-weight {
  font-weight: 500;
  font-family: "REM", Thin !important;
}

h4 {
  font-family: "REM", Thin;
  font-size: 40px;
}

@media (max-width: 1399px) {
  .text-rem-100 h2 {
    font-family: "REM", Thin;
    font-size: 30px;
    font-weight: 100;
  }
  
}

@media (max-width: 1199px) {
  .text-highlights,.highlights-rem-thin span{
    font-family: "REM", Thin;
    font-size: 28px;
    font-weight: 100;
  }

  .text-Montserrat-thin h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
  }

  p {
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    font-weight: 200;
  }

  .text-rem-med-60 h1 {
    font-family: "REM", Thin;
    font-size: 30px;
  }

  .text-rem-med-home em {
    font-family: "REM", Thin;
    font-size: 30px;
  }

  .text-rem-100 h2 {
    font-family: "REM", Thin;
    font-size: 25px;
    font-weight: 100;
  }
  
}

@media (max-width: 991px) {
  .text-highlights,.highlights-rem-thin span{
    font-family: "REM", Thin;
    font-size: 28px;
    font-weight: 100;
  }
}

.download-margin {
  margin-bottom: 3rem;
}

@media (max-width: 575px) {
  .text-highlights,.highlights-rem-thin span{
    font-family: "REM", Thin;
    font-size: 28px;
    font-weight: 100;
  }

  .download-margin {
    margin-bottom: 0rem;
  }

  .milestone-jty-banner {
    justify-content: start !important;
  }
}



@media (max-width: 375px) {
  .text-highlights,.highlights-rem-thin span{
    font-family: "REM", Thin;
    font-size: 20px;
    font-weight: 100;
  }
  .text-Montserrat-thin h1 {
      font-family: 'Montserrat', sans-serif;
      font-size: 20px;
  }
  p {
    font-size:12px;
  }
  .download-margin {
    margin-bottom: 0rem;
  }
}

/* .all-banner .font-rem {
  font-family: "REM", Thin;
  font-size: 45px;
  font-weight: 100;
}

.all-banner .font-intalic span {
  font-style: italic;
} */

/* END STYLE FONT */

.section {
  padding: 80px 0;
}

.section-top {
  padding: 80px 0 0 0;
}

.section-top-workplace {
  padding: 40px 0 0 0;
}


.section-services {
  padding: 40px 0 0 0;
}

.section-bottom {
  padding: 0 0 80px 0;
}

.section-for {
  padding: 50px 0;
}

.section-mb-top-40 {
  padding: 40px 0 0 0;
}

.section-mb-bottom-40 {
  padding: 0 0 40px 0;
}

.section-mb-my-40 {
  padding: 40px 0;
}

.section-certificate {
  padding: 80px 0 0 0;
}

.our-services-margin h1 {
  margin: -10px 0 0 0;
}

.section-go-top {
  padding:50px 0;
}

.evo-margin {
  margin-left: 3rem;
}

@media only screen and (max-width: 991px) {
  .section {
    padding: 40px 0;
  }


.section-top {
  padding: 40px 0 0 0;
}

.section-top-workplace {
  padding: 40px 0 0 0;
}


  .section-services {
    padding: 80px 0 0 0;
  }

  .section-go-top {
    padding:25px 0;
  }

  .our-services-margin h1 {
    margin: 0px 0 0 0;
  }

  .margin-certificate {
    margin-top: 3rem;
  }

  .evo-margin {
    margin-left: 0rem;
  }

  .section-home-top-40 {
    padding-top: 40px;
  }
}

@media only screen and (max-width: 767px) {
  .section-certificate {
    padding: 80px 0 80px 0;
  }

  .section-services {
    padding: 40px 0 0 0;
  }
  
}





/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    color: #444444;
    font-size: 14px;
    background: #fff;
  }
  
  #footer .footer-top {
    padding: 30px 0 0px 0;
    background: #000;
    /* box-shadow: 0px 2px 15px rgba(25, 119, 204, 0.1); */
  }
  
  #footer .footer-top .footer-contact h4 {
    font-size: 22px;
    margin: 0 0 30px 0;
    padding: 2px 0 2px 0;
    line-height: 1;
    font-weight: 700;
  }
  
  #footer .footer-top h4 {
    font-size: 16px;
    font-weight: bold;
    color: #444444;
    position: relative;
    padding-bottom: 12px;
  }
  
  #footer .footer-top .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  #footer .footer-top .footer-links ul i {
    padding-right: 2px;
    color: #1c84e3;
    font-size: 18px;
    line-height: 1;
  }
  
  #footer .footer-top .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
  }
  
  #footer .footer-top .footer-links ul li:first-child {
    padding-top: 0;
  }
  
  #footer .footer-top .footer-links ul a {
    color: #777777;
    transition: 0.3s;
    display: inline-block;
    line-height: 1;
  }

  #footer .footer-menu-a a {
    color: #545456;
  }

  #footer .footer-menu-a a:hover {
    color: #fff;
  }
  
  #footer .footer-top .footer-links ul a:hover {
    text-decoration: none;
    color: #1977cc;
  }
  
  .footer-links {
    padding-left: 4rem;
  }
  
  .footer-contact:first-child {
    border-left: unset;
    border-right: unset;
    padding-right: 4rem;
  
  }
  
  .footer-contact .me-social:last-child {
    margin-right: 0;
  }
  
  .footer-contact {
    border-left: 1px solid #545456;
    /* border-right: 1px solid #fff; */
  }
  
  #footer .credits {
    padding-top: 5px;
    font-size: 13px;
    color: #444444;
  }
  
  #footer .social-links a {
    font-size: 18px;
    display: inline-block;
    background: #1977cc;
    color: #fff;
    line-height: 1;
    padding: 8px 0;
    margin-right: 4px;
    border-radius: 50%;
    text-align: center;
    width: 36px;
    height: 36px;
    transition: 0.3s;
  }
  
  #footer .social-links a:hover {
    background: #1c84e3;
    color: #fff;
    text-decoration: none;
  }
  
  #footer .logo {
    padding: 0;
    margin: auto;
    position: unset;
    transform: unset;
  }
  
  #footer .footer-logo {
    background: #000;
    /* border-top: 1px solid #F4F4F4; */
  }
  
  .media {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    margin-bottom: 10px;
  }
  
  #footer .media-body {
    -ms-flex: 1;
    flex: 1;
    margin: auto;
    color: #fff;
    padding-left: 5px;
    font-weight: 200;
  }

  #footer .media-body p {
    font-size: 12px;
    font-weight: 200;
  }
  
  
  #footer .media-body a {
    color: #fff;
  }
  
  .copyright {
    color: #000;
  }
  
  .line-footer {
    margin: 1.5rem 0;
    border: 0;
    border-top: 1px solid #545456;
    opacity: 1;
  }
  
  .footer-menu {
    margin-left: 0rem;
  }
  
  .footer-menu a {
    color: #fff;
  }
  
  .footer-menu a:hover {
    color: #999;
  }
  
  #footer .footer-contact {
    padding-left: 4rem;
  }
  

  #footer .container-fluid {
    background-color: #6C0A44; 
  }
  
  #footer .copyright {
    color: #fff;
   
  }
  
  #footer .company-profile {
    background-color: #707070; 
    color: #fff; 
  }
  
  #footer .company-profile a {
    color: #fff; 
    text-decoration: none; 
  }

  #footer .company-profile a:hover {
    color: #fff; 
    text-decoration: none; 
    font-weight: 500;
  }


  .me-social {
    margin-right: 2rem;
}

  @media (max-width: 1299px) { 
    #footer .footer-contact {
      padding-left: 3rem;
    }
  
    .footer-contact:first-child {
      padding-right: 3rem;
    }
  
    .footer-links {
      padding-left: 3rem;
    }
  
    .footer-menu {
      margin-left: 0rem;
    }
  }
  
  @media (max-width: 1199px) { 
    .footer-menu {
      margin-left: 0rem;
    }
  }
  
  @media (max-width: 991px) { 
    #footer .footer-contact {
      padding-left: 0.75rem;
      border: unset;
    }
    .footer-contact:first-child {
      padding-right: 3rem;
      border: unset;
    }
    .footer-links {
      padding-left: unset;
    }
    .footer-menu {
      margin-left: 0;
    }
  }
  
  @media (max-width: 768px) { 
    #footer .logo {
      position: unset;
    }
  }
  
  @media (max-width: 430px) { 
    .copyright {
      font-size: 10px;
    }
  
    #footer .media-body {
      font-size: 12px;
    }
  }


/*--------------------------------------------------------------
# END Footer
--------------------------------------------------------------*/


/* HERO */
.site-hero {
  background-size: cover;
  height: 75vh;
  width: 100%;
  position: relative;
}

.site-hero .heading {
  font-weight: bold;
}

.site-hero .scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  color: #fff;
}

.site-hero.overlay:before {
  content: "";
  position: absolute;
  height: 100vh;
  min-height: 700px;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.site-hero.inner-page {
  height: 50vh;
  min-height: 700px;
}

.site-hero.inner-page.overlay:before {
  height: 50vh;
  min-height: 700px;
}

.site-hero-inner {
  height: 90vh;
  min-height: 100%;
}

.our-ali .site-hero-inner {
  height: 90vh;
  min-height: 100%;
}

.site-hero-inner .heading {
  font-size: 80px;
  color: #fff;
  line-height: 1;
  font-weight: bold;
}

@media (max-width: 991.98px) {
  .site-hero-inner .heading {
    font-size: 40px;
  }
}

@media (max-width: 575px) {
  .site-hero-inner {
    height: 60vh;
    min-height: 100%;
  }
  .our-ali .site-hero-inner {
    height: 60vh;
    min-height: 100%;
  }
}

.site-hero-inner .sub-heading {
  font-size: 30px;
  font-weight: 200;
  color: #fff;
  line-height: 1.5;
}

@media (max-width: 991.98px) {
  .site-hero-inner .sub-heading {
    font-size: 18px;
  }
}

.inner-page .site-hero-inner {
  height: 50vh;
  min-height: 700px;
}

.page-inside .site-hero-inner,
.page-inside {
  height: 75vh;
  min-height: 500px;
}

.contactus.site-hero-inner {
  height: 90vh;
  min-height: 100%;
}

.contactus.site-hero-inner .heading {
  font-size: 80px;
  color: #fff;
  line-height: 1;
  font-weight: bold;
}

@media (max-width: 991.98px) {
  .contactus.site-hero-inner .heading {
    font-size: 40px;
  }
}

@media (max-width: 575px) {
  .contactus.site-hero-inner {
    height: 60vh;
    min-height: 100%;
  }
}

.contactus.site-hero-inner .sub-heading {
  font-size: 30px;
  font-weight: 200;
  color: #fff;
  line-height: 1.5;
}

@media (max-width: 991.98px) {
  .contactus.site-hero-inner .sub-heading {
    font-size: 18px;
  }
}

.contactus.inner-page .site-hero-inner {
  height: 50vh;
  min-height: 700px;
}

.contactus.page-inside .site-hero-inner,
.contactus.page-inside {
  height: 75vh;
  min-height: 500px;
}
/* END HERO */
  
  

.bg-header {
  width: 100%;
  height: 75vh;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-header h1 em {
  font-size: 45px;
  font-style: italic;
}

.text-half-header {
  position: absolute;
  bottom: 20%;
  left: 5%;
}

.container-iframe iframe {
  width: 100%;
  height: 450px;
  border: 0;
}

.bg-half-text {
  width: 100%;
  height: 45vh;
  background-repeat: no-repeat;
  background-size: cover;
  align-content: end;
}

.bg-half-text-media {
  width: 100%;
  height: 48vh;
  background-repeat: no-repeat;
  background-size: cover;
  align-content: end;
}

.bg-half-text-services {
  width: 100%;
  height: 37vh;
  background-repeat: no-repeat;
  background-size: cover;
  align-content: end;
}

@media (max-width: 1600px) {
  .bg-half-text-services {
    width: 100%;
    height: 47vh;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: end;
  }
}

@media (max-width: 1440px) {
  .bg-half-text-services {
    width: 100%;
    height: 43vh;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: end;
  }
}


@media (max-width: 992px) {
  .bg-header {
    height: 50vh;
  }


.bg-half-text-services {
  width: 100%;
  height: 40vh;
  background-repeat: no-repeat;
  background-size: cover;
  align-content: end;
}

  .container-iframe iframe {
    width: 100%; 
    height: 500px; 
    border: 0;
  }
}


@media (max-width: 767px) {

  .bg-half-text-services {
    width: 100%;
    height: 35vh;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: end;
  }

}



@media (max-width: 575px) {

  .bg-half-text-services {
    width: 100%;
    height: 35vh;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: end;
  }

  

}


@media (max-width: 450px) {
  .bg-half-text-services {
    width: 100%;
    height: 35vh;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: end;
  }

  .bg-half-text {
    width: auto;
    height: 35vh;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: end;
  }
}

@media (max-width: 430px) {
  .bg-half-text-services {
    width: 100%;
    height: 27vh;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: end;
  }

  .bg-half-text-media {
    height: 30vh;
  }

  .bg-half-text {
    height: 27vh;
  }
}

@media (max-width: 375px) {
  .bg-half-text-services {
    width: 100%;
    height: 35vh;
    background-repeat: no-repeat;
    background-size: cover;
    align-content: end;
  }

  .bg-half-text {
    height: 35vh;
  }

  .bg-half-text-media {
    height: 39vh;
  }
}



/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
}

#hero.page-other {
  margin-bottom: 0;
}

#myVideo {
  height: 100vh;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}

#hero .container {
  position: relative;
}

#hero h1 {
  margin: 0;
  font-size: 45px;
  font-weight: 700;
  line-height: 70px;
  color: #fff;
}


#hero h2 {
  color: #fff;
  margin: 10px 0 0 0;
  font-size: 24px;
}

#hero p {
  font-size: 18px;
}

.text-banner {
  top: 60%;
  left: 50%;
  transform: translate(-50%, -60%);
  text-align: start;
}

.text-banner2 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.bg-circle {
  bottom: -45%;
  width: 100vw;
}

.bg-circle-banner-img {
  bottom: -20%;
  width: 100vw;
}

.bg-gray-circle {
  margin-top: -150px;
}

@media (min-width: 992px) {
  #hero {
    background-attachment: fixed;
  }
}

@media (max-width: 1499px) {
  .bg-circle {
    bottom: -35%;
  }
}

@media (max-width: 1399px) {
  #hero h1 {
    font-size: 43px;
  }
}

@media (max-width: 1199px) {
  #hero {
    background-attachment: fixed;
  }

  .bg-circle {
    bottom: -30%;
  }

  .bg-circle-banner-img {
    bottom: -10%;
  }

  #hero .container {
    padding-bottom: 63px;
  }

  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  #hero h2 {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  .bg-gray-circle {
    margin-top: -100px;
  }
}

@media (max-width: 991px) {
  .bg-gray-circle {
    margin-top: -70px;
  }
  
}

@media (max-width: 768px) {
  .bg-gray-circle {
    margin-top: -60px;
  }
}
@media (max-width: 767px) {
  .bg-circle {
    width: 100vw;
  }
  .background-ps {
      background-position-x: center !important;
  }
}
@media (max-height: 600px) {
  #hero {
    height: 110vh;
  }
  
}

@media (max-width: 430px) {
  .bg-gray-circle {
    margin-top: -40px;
  }
  .bg-circle-banner-img {
    bottom: -5%;
  }
  
}

@media (max-width: 375px) {
  #hero h1 {
    font-size: 20px;
    line-height: 1.4;
  }

  #hero p {
    font-size: 14px;
  }
}


/* Media */

.video-thumbnail video {
  height: 273.73px;
}


@media (max-width: 1399px) {
  .video-thumbnail video {
    height: 234.51px;
  }
}

@media (max-width: 1199px) {
  .video-thumbnail video {
    height: 195.27px;
  }
}

@media (max-width: 990px) {
  .video-thumbnail video {
    height: 221px;
  }
}

@media (max-width: 767px) {
  .video-thumbnail video {
    height: 338.11px;
  }
}
/* END Media */

/* NAVBAR for Black Screen */
#header a {
  color: #fff;
  cursor: pointer;
}

/* เพิ่มการ scale เมื่อ hover บนลิงก์ทั่วไป ยกเว้นใน dropdown */
#header a:hover {
  transform: scale(1.1);
}

/* ปิดการ scale สำหรับลิงก์ใน dropdown โดยใช้เงื่อนไขที่เฉพาะเจาะจง */
#header .dropdown-item:hover {
  transform: none !important;
}

#header .dropdown-item a:hover {
  transform: none !important;
}

/* เพิ่มการ scale 1.1 เมื่อ hover บนปุ่มหลัก (เฉพาะปุ่มหลัก) */
#header .btn.nav-black:hover {
  transform: scale(1.1);
}

/* ปิดการ scale สำหรับลิงก์ใน dropdown */
#header .dropdown-item:hover, 
#header .dropdown-item a:hover {
  transform: none !important;
}

#header.header-scrolled,
#header.header-inner-pages {
  background: #fff;
}

#header.header-scrolled .menu,
#header.header-inner-pages .menu {
  color: #000;
}

#header.header-scrolled .dropdown,
#header.header-inner-pages .dropdown {
  color: #000;
}

#header.header-scrolled a,
#header.header-inner-pages a {
  color: #000;
}

#header.header-scrolled a:hover,
#header.header-inner-pages a:hover {
  color: #fff!important;
}

#header.header-scrolled .btn a:hover,
#header.header-inner-pages .btn a:hover {
  color: #000!important; 
} 

#header.header-scrolled .nav-item a:hover,
#header.header-inner-pages .nav-item a:hover {
  color: #000!important; 
} 

#header.header-scrolled ul li .dropdown-menu a:hover,
#header.header-inner-pages ul li .dropdown-menu a:hover {
  color: #fff !important;;
}

#header .button-white-black {
  color: #fff !important;
}

#header.header-scrolled .button-white-black,
#header.header-inner-pages .button-white-black {
  color: #000 !important;
}

#header.header-scrolled .button-white-black:hover,
#header.header-inner-pages .button-white-black:hover {
  color: #000 !important;
}

.border-bottom-lang {
  border-bottom: 1px solid white;
}

.dropdown-active .border-bottom-lang {
  border-bottom: 1px solid black;
}

#header.header-scrolled .border-bottom-lang,
#header.header-inner-pages .border-bottom-lang {
  border-bottom: 1px solid #003368;
}

#header {
  transition: all 0.5s;
  z-index: 997;
}

.navbar-brand-centered {
  position: absolute;
  left: 50%;
  display: block;
  width: 160px;
  text-align: center;
  background-color: transparent;
}

.navbar>.container .navbar-brand-centered,
.navbar>.container-fluid .navbar-brand-centered {
  margin-left: -80px;
}

.nav-item {
  padding: 0;
}

@media (max-width: 1199px) {
  .nav-item {
    padding: 0 10px;
  }
}

.dropdown-menu[data-bs-popper] {
  border-radius: 0px;
  /* top: 194%; */
  left: 0;
}

#header .dropdown-item {
  padding: 20px 35px;
  color: #000;
}

#header .dropdown-item:hover,
.dropdown-item:focus {
  color: #fff;
  background-color: #000;
}

#header .navbar-brand img {
  width: 60px;
}

#header .nav-item a {
  cursor: pointer;
}

.btn-check:checked + .btn,
:not(.btn-check) + .btn:active,
.btn:first-child:active,
.btn.active,
.btn.show {
  border: 1px solid transparent;
}

a {
  text-decoration: none;
}

#header .dropdown-menu {
  background-color: #fff;
  border-radius: 0;
}
/* END NAVBAR */

/* NAVBAR for White Screen */
#header-white a {
  color: #000;
  cursor: pointer;
}
/* เพิ่มการ scale เมื่อ hover บนลิงก์ทั่วไป ยกเว้นใน dropdown */
#header-white a:hover {
  transform: scale(1.1);
}

/* ปิดการ scale สำหรับลิงก์ใน dropdown โดยใช้เงื่อนไขที่เฉพาะเจาะจง */
#header-white .dropdown-item:hover {
  transform: none !important;
}

#header-white .dropdown-item a:hover {
  transform: none !important;
}

/* เพิ่มการ scale 1.1 เมื่อ hover บนปุ่มหลัก (เฉพาะปุ่มหลัก) */
#header-white .btn.nav-black:hover {
  transform: scale(1.1);
}

#header-white.header-scrolled,
#header-white.header-inner-pages {
  background: #000;
}

#header-white.header-scrolled .menu,
#header-white.header-inner-pages .menu {
  color: #fff;
}

#header-white.header-scrolled .dropdown,
#header-white.header-inner-pages .dropdown {
  color: #fff;
}

#header-white.header-scrolled a,
#header-white.header-inner-pages a {
  color: #fff;
}

#header-white.header-scrolled a:hover,
#header-white.header-inner-pages a:hover {
  color: #000;
}

#header-white.header-scrolled .btn a:hover,
#header-white.header-inner-pages .btn a:hover {
  color: #fff!important; 
} 

#header-white.header-scrolled .nav-item a:hover,
#header-white.header-inner-pages .nav-item a:hover {
  color: #fff!important; 
} 

#header-white.header-scrolled ul li .dropdown-menu a:hover,
#header-white.header-inner-pages ul li .dropdown-menu a:hover {
  color: #000 !important;;
}

.button-black-white {
  color: #000 !important;
}

#header-white.header-scrolled .button-black-white,
#header-white.header-inner-pages .button-black-white {
  color: #fff !important;
}

#header-white.header-scrolled .button-black-white:hover,
#header-white.header-inner-pages .button-black-white:hover {
  color: #fff !important;
}

.border-bottom-lang-white {
  border-bottom: 1px solid black;
}

.dropdown-active .border-bottom-lang-white {
  border-bottom: 1px solid white;
}

#header-white.header-scrolled .border-bottom-lang-white,
#header-white.header-inner-pages .border-bottom-lang-white {
  border-bottom: 1px solid #003368;
}

#header-white {
  transition: all 0.5s;
  z-index: 997;
}

.navbar-brand-centered-white {
  position: absolute;
  left: 50%;
  display: block;
  width: 160px;
  text-align: center;
  background-color: transparent;
}

.navbar>.container .navbar-brand-centered-white,
.navbar>.container-fluid .navbar-brand-centered-white {
  margin-left: -80px;
}

.nav-item-white {
  padding: 0 20px;
}

@media (max-width: 1199px) {
  .nav-item-white {
    padding: 0 10px;
  }
}

.dropdown-menu[data-bs-popper] {
  border-radius: 0px;
  /* top: 194%; */
  left: 0;
}

#header-white .dropdown-item {
  padding: 20px 35px;
  color: #fff;
}

#header-white .dropdown-item:hover,
.dropdown-item:focus {
  color: #000;
  background-color: #fff;
}

#header-white .navbar-brand img {
  width: 55px;
}

#header-white .nav-item a {
  cursor: pointer;
}

.btn-check:checked + .btn,
:not(.btn-check) + .btn:active,
.btn:first-child:active,
.btn.active,
.btn.show {
  border: 1px solid transparent;
}

a {
  text-decoration: none;
}

#header-white .dropdown-menu {
  background-color: #000;
  border-radius: 0;
}

#header-white .button-white-black {
  color: #000 !important;
}

#header-white.header-scrolled .button-white-black,
#header-white.header-inner-pages .button-white-black {
  color: #fff !important;
}

#header-white.header-scrolled .button-white-black:hover,
#header-white.header-inner-pages .button-white-black:hover {
  color: #fff !important;
}

.h-45 {
  height: 45px;
}
/* END NAVBAR */

#header .navbar-mobile a {
  color: #000;
  cursor: pointer;
}

#header .navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}

.navbar .dropdown ul li.radius-top {
  border-radius: 18px 18px 0 0;
}

.navbar .dropdown ul li {
  padding: 30px 0;
  min-width: 200px;
}

@media (max-width: 1199px) {
  .mobile-nav-toggle {
      display: block;
  }

  .navbar ul {
      display: none;
  }
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
      display: block;
  }

  .navbar ul {
      display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(28, 47, 65, 0.9);
  transition: 0.3s;
  z-index: 999;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: grid;
  position: absolute;
  width: auto;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  border-radius: 18px;
  background-color: #fff;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile svg path {
  fill: #505155;
}

.navbar-mobile>ul>li {
  padding: 15px;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 18px;
  color: #505155;
  border: none;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #000 !important;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

/* .navbar-mobile .dropdown ul a {
  padding: 10px 20px;
} */

.navbar-mobile .dropdown ul li:hover,
.navbar-mobile .dropdown ul li.active {
  background-color: #fff;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a,
.navbar-mobile .dropdown ul li.active>a {
  color: #000 !important;
}

.navbar-mobile .dropdown .dropdown:hover svg path,
.navbar-mobile .dropdown li.active svg path {
  fill: #000 !important;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
  visibility: visible !important;
}

.navbar-mobile .dropdown>.dropdown-active svg {
  transform: rotate(0deg);
}

/* .navbar-mobile .dropdown ul a {
  padding: 10px 20px;
} */

/*--------------------------------------------------------------
# nav-fix (Nav no banner)
--------------------------------------------------------------*/
#header.nav-fix {
  background-color: #fff;
  box-shadow: 0 4px 8px #00000017;
}

.nav-fix .navbar a {
  color: #505155;
}

.nav-fix .navbar svg path {
  fill: #505155;
}

.nav-fix .mobile-nav-toggle {
  color: #505155;
}

.bi-list::before {
  content: "\f479";
}

.img-logo {
  height: 60px;
}

.navbar {
    padding: 0;
    width: 100%;
}

.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  /* display: none; */
  line-height: 0;
  transition: 0.5s;
}

#header-white .mobile-nav-toggle {
  color: #000;
  font-size: 28px;
  cursor: pointer;
  /* display: none; */
  line-height: 0;
  transition: 0.5s;
}


#header-white-mb .mobile-nav-toggle {
  color: #000;
  font-size: 28px;
  cursor: pointer;
  /* display: none; */
  line-height: 0;
  transition: 0.5s;
}

.mobile-nav-toggle.bi-x, #header.header-scrolled .mobile-nav-toggle.bi-x {
  color: #fff;
}

#header.header-scrolled .mobile-nav-toggle {
  color: #505155;
}



@media (max-width: 1199px) {
  #header {
    padding: 15px 0;
  }

  #header-white {
    padding: 15px 0;
  }
  .navbar {
    justify-content: end;
  }

  #header.header-scrolled a:hover, #header.header-inner-pages a:hover {
    color: #000 !important;
}
}



/* Custom CSS for modal */
.modal-header h5 {
  font-size: 1.5rem;
  font-weight: bold;
}
.modal-body input, .modal-body textarea {
  margin-bottom: 15px;
}
.modal-body input::placeholder, .modal-body textarea::placeholder {
  color: #ccc;
}
.btn-confirm {
  background-color: #000;
  color: #fff;
}

.contactus .modal-body {
  margin-top: 20px;
  margin-bottom: 50px;
  margin-left: 120px;
  margin-right: 120px;
}

.form-check-input:checked[type=checkbox] {
  background-image:none;
}

.form-check-input:checked {
  background-color: #000;
  border-color: #000;
}

.modal-header {
  border-bottom: none;
}

.form-control {
  border-radius: 0rem;
  height: 62px;
}

.form-select {
  border-radius: 0rem;
  height: 62px;
  border-bottom: 1px solid #707070;
  border-top: 0px;
  border-left: 0px;
  border-right: 0px;
}

.btn-confirm {
  height: 70px;
  width: 50%;
  border-radius: 0px;
}

.modal-content {
  border-radius: 0px;
}

.login-download .btn-confirm {
  height: 60px;
  width: 100%;
  border-radius: 0px;
}

.login-download .input-group-text {
  padding: 0.375rem 0rem;
}

.login-download .modal-body {
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 16px;
  margin-right: 16px;
}

.login-download .btn:hover {
  background-color: #222;
  color: #fff;
}

.login-download .modal-body input, .modal-body textarea {
  margin-bottom: 0px;
}

.login-download .form-control {
  border-top: 0px;
  border-left: 0px;
  border-right: 0px;
  border-bottom: 1px solid #000;
}

.login-download .input-group-text {
  border-bottom: 1px solid #000;
  border-top: 0px;
  border-left: 0px;
  border-right: 0px;
  border-radius: 0;
  background-color: transparent;
}

#header-mb.header-scrolled,
#header-mb.header-inner-pages {
  background: #fff;
}

#header-mb.header-scrolled .mobile-nav-toggle,
#header-mb.header-inner-pages .mobile-nav-toggle {
  color: #000;
  font-size: 28px;
  cursor: pointer;
  /* display: none; */
  line-height: 0;
  transition: 0.5s;
}


#header-white-mb.header-scrolled,
#header-white-mb.header-inner-pages {
  background: #000;
}

#header-white-mb.header-scrolled .mobile-nav-toggle,
#header-white-mb.header-inner-pages .mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  /* display: none; */
  line-height: 0;
  transition: 0.5s;
}


@media (max-width: 991px) {
  .contactus .modal-body {
    margin-top: 20px;
    margin-bottom: 50px;
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (max-width: 1199px) {
  #header-mb {
      padding: 15px 0;
  }
  #header-white-mb {
    padding: 15px 0;
}
}

.parallax-title {
  position: absolute;
  transform: translateX(0) translateY(-50%);
  transition: transform 0.3s, opacity 0.3s, z-index 0.3s;
  white-space: nowrap;
}

@media (max-width: 1440px) {
  .parallax-title {
    position: absolute;
    transform: translateX(0) translateY(-40%);
    transition: transform 0.3s, opacity 0.3s, z-index 0.3s;
    white-space: nowrap;
  }
}

.hidden-title {
  display: none;
  opacity: 0;
  z-index: -1;
}

/* owl-carousel dot */
#download.owl-carousel.slide-home .owl-dots, 
#download.owl-carousel.slide-home .owl-dot:focus {
    outline: none;
    text-align: center;
}

#download.owl-carousel.slide-home .owl-dot {
    position: relative;
    background: #e5e7ea;
    padding: 0;
    width: 100px;
    height: 2px;
    margin: 0 5px;
    border-radius: 10px;
}

#download.owl-carousel.slide-home .owl-dot.active, 
#download.owl-carousel.slide-home .owl-dot.active:hover {
    background: #003368;
    border: none;
}

  .owl-carousel .owl-nav {
  text-align: center;
  padding-left: 10px;
  }
  #download .row.no-gutters {
      margin: 0;
  }

  #download .col-md-6 {
      padding: 0;
  }
  #download .owl-next {
      position: absolute;
      top: 40%;
      right: 5%;
      display: block;
  }

  #download .owl-prev {
      display:none;
      position: absolute;
      top: 40%;
      left: 5%;
  }

  #carousel_rows_about .owl-dots, #carousel_rows_about1 .owl-dots, #download .owl-dots{
  margin-top: 75px;
  margin-left: -4rem;
  }
  /* download */

  .explore-more-link {
    position: absolute;
    bottom: 5%;
    right: 5%;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.explore-more-link svg {
    margin-left: 25px;
    margin-right: 10px;
}

.explore-more-link-left svg {
  margin-left: 25px;
  margin-right: 10px;
}

.explore-more-link-left:hover svg {
  transform: translateX(7px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.image-container {
    position: relative;
    
}

.gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,1) -10%, rgba(0,0,0,0) 60%);
}

.owl-stage{padding-left:0px !important;}

    .owl-prev {
        display:none;
        position: absolute;
        top: 30%;
        left: 2%;
    }

    .owl-next {
        position: absolute;
        top: 30%;
        right: 6.5%;
        /* display: block !important; */
    }
.owl-prev i, .owl-next i {transform : scale(1,6); color: #ccc;}

@media (max-width: 1199px) {
  .owl-prev {
      /* display:block !important; */
      position: absolute;
      top: 30%;
      left: 3%;
  }

  

  .owl-next {
      position: absolute;
      top: 30%;
      right: 3%;
      /* display: block !important; */
  }
  }

@media (max-width: 1199px) {

   
    .section-for-home {
      padding-bottom:60px
    }
    }

    .img-container {
        position: relative;
    }

    .img-container img {
        width: 100%;
        height: auto;
        display: block;
    }

    .bg-black-content {
        background-color: black;
        color: white;
        padding: 15px; /* ปรับแต่งตามความต้องการ */
        align-content: center !important;
    }

    .owl-carousel .item {
        display: flex;
        align-items: stretch;
    }

    .owl-carousel .item .col-md-6 {
        display: flex;
        align-items: stretch;
    }

    

   
    .padding-start-3 {
        padding-left: 0rem !important;
    }

    @media (max-width: 1440px) {
      .padding-start-3 {
          padding-left: 3rem !important;
      }
      .padding-end-3 {
        padding-right: 3rem !important;
      }
  }

    @media (max-width: 991px) {
        .padding-start-3 {
            padding-left: 0rem !important;
        }

        .padding-end-3 {
          padding-right: 0rem !important;
        }

        .padding-download {
          padding-left: 3rem !important;
          padding-right: 3rem !important;
        }
    }

    @media (max-width: 767px) {
        #certificate .owl-prev {
            bottom: 0%;
            right: 0%;
            top: 110%;
            left: -15%;
        }

        #certificate .owl-next {
            bottom: 0%;
            right: 0%;
            top: 110%;
            left: 15%;
        }
    }

.btn-group .nav-black {
  padding: 0px;
}

.btn-group .nav-white {
  padding: 0px;
}

.home-margin-top {
  margin: 3rem 0 0 0;
}


@media (max-width: 2600px) {
  #home_services_main .container-fluid {
    width: 1320px !important;
  }

  #download_main .container-fluid {
    width: 1320px !important;
  }
}

/* @media (max-width: 1980px) {
  .container-fluid {
    width: 100% !important;
  }
} */

@media (max-width: 1440px) {
  #home_services_main .container-fluid {
    width: 100% !important;
  }

  #download_main .container-fluid {
    width: 100% !important;
  }

  .jty-center {
    justify-content: center;
  }
}

@media (max-width: 991px) {
  .margin-4 {
    margin-bottom: 1.5rem !important;
  }

  .home-margin-top {
    margin: 1rem 0 0 0;
  }
}

.footer-start {
  align-items: center;
}

@media (max-width: 575px) {
  #carousel_rows_about .owl-dots, #carousel_rows_about1 .owl-dots, #download .owl-dots{
    margin-top: 40px;
    margin-left: 0rem;
    }
}
@media (max-width: 495px) {
  .footer-start {
    align-items: start;
  }
}



.workplace-line h1 {
  line-height: 1.1;
}

.login-download .btn-close {
  position: absolute;
  right: 15px;
  top: 15px;
  color: #fff;
}

.contactus .btn-close {
  position: absolute;
  right: 15px;
  top: 15px;
  color: #fff;
}

.btn-close {
  position:absolute;
  right:-30px;
  top:0;
  color:#fff;
  }

  .padding-left-footer {
    padding-left: 20px;
  }

  .padding-for-right-footer {
    padding-left: 60px;
  }

  .padding-left-center-footer {
    padding-left: 65px;
  }

  @media (max-width: 991px) {
    .padding-left-footer {
      padding-left: 0px;
      padding-right: 0px;
    }
  
    .padding-for-right-footer {
      padding-left: 0px;
      padding-right: 0px;
    }
  
    .padding-left-center-footer {
      padding-left: 0px;
      padding-right: 0px;
    }
  }
  

/* เริ่มต้นการตั้งค่าสไตล์สำหรับ Carousel */
.item {
  position: relative;
  overflow: hidden;
  border-radius: 0px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

#home_services .image-container {
  position: relative;
}

/* #home_services img {
  transition: transform 0.4s ease, filter 0.4s ease;
  width: 100%;
  border-radius: 0px;
} */

#home_services .gradient-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  border-radius: 0px;
  z-index: 1; /* ให้ overlay อยู่ด้านหน้าภาพ */
}

/* สไตล์เมื่อ hover */
#home_services .item:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}

#home_services .item:hover .gradient-overlay {
  opacity: 1;
  transform: scale(1.05); /* ขยายขนาด overlay ให้ตรงกับภาพ */
}

#home_services .item:hover .explore-more-link {
  opacity: 1;
  transform: translateY(0);
}

#home_services .item:hover .explore-more-link svg {
  transform: translateX(5px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#home_services .explore-more-link {
  z-index: 2; /* ทำให้ลิงก์อยู่เหนือ gradient-overlay */
}

#certificate .item {
  overflow: hidden;
  padding: 10px; /* เพิ่มพื้นที่รอบภาพ */
  box-sizing: border-box; /* ทำให้ padding ไม่ส่งผลต่อขนาด container */
}

#certificate .item img {
  transition: transform 0.3s ease-in-out;
  display: block;
  margin: 0 auto;
}

#certificate .item img:hover {
  transform: scale(1.1);
}

#download .item:hover svg {
  transform: translateX(5px);
  transition: transform 0.3s ease-in-out;
}

#carousel_rows_media .item {
  overflow: hidden; /* ป้องกันไม่ให้ภาพขยายเกินกรอบ */
  cursor: auto;
}

#carousel_rows_media .item img {
  width: 100%;
  height: auto;
  object-fit: cover; /* รักษาสัดส่วนของภาพและครอบคลุมพื้นที่ทั้งหมด */
  transition: transform 0.3s ease-in-out;
}

#carousel_rows_media .item img:hover {
  transform: scale(1.1); /* ลดขนาดของภาพลงเมื่อ hover */
}


#carousel_rows_media .item .image-height {
  transition: transform 0.3s ease-in-out;
}

#carousel_rows_media .item .image-height:hover {
  transform: scale(1.1); /* ลดขนาดของภาพลงเมื่อ hover */
  cursor: pointer;
}

#slide-promotion .item {
  overflow: hidden;
  padding: 10px; /* เพิ่มพื้นที่รอบภาพ */
  box-sizing: border-box; /* ทำให้ padding ไม่ส่งผลต่อขนาด container */
}

#slide-promotion .item img {
  transition: transform 0.3s ease-in-out;
  display: block;
  margin: 0 auto;
}

#slide-promotion .item img:hover {
  transform: scale(1.1);
}

button a:hover {
  scale: 1.1;
}

.btn-group .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%; /* ให้ dropdown ชิดกับปุ่ม */
  margin-top: 39px; /* ลดระยะห่างระหว่างปุ่มกับ dropdown */
}

.btn-group:hover .dropdown-menu {
  display: block;
  pointer-events: auto; /* อนุญาตให้ dropdown ถูกคลิกได้ */
}

.btn-group:hover {
  position: relative; /* ทำให้กลุ่มปุ่มเป็นตำแหน่งอ้างอิง */
}

.dropdown-menu {
  display: none; /* ซ่อนเมนูโดยเริ่มต้น */
}

.dropdown-menu.show {
  display: block; /* แสดงเมนูเมื่อมี class 'show' */
}

/* ซ่อน dropdown-menu โดยใช้ visibility และ opacity */
.btn-group .dropdown-menu {
  position: absolute;
  top: 100%;
  margin-top: 39px;
  display: block; /* ใช้ block เพื่อป้องกันการกระโดดของเมนู */
  opacity: 0;
  visibility: hidden; /* ซ่อนเมนูในตอนแรก */
  transform: translateY(0px); /* ให้เริ่มที่ตำแหน่งล่าง */
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}

.btn-group:hover .dropdown-menu {
  opacity: 1;
  visibility: visible; /* แสดงเมนูเมื่อ hover */
  transform: translateY(0); /* เลื่อนเมนูขึ้นมาที่ตำแหน่งปกติ */
}

.btn-group .dropdown-menu .dropdown-item {
  opacity: 0;
  transform: translateY(20px); /* เริ่มที่ตำแหน่งล่าง */
  transition: opacity 1s ease, transform 1s ease;
  pointer-events: none; /* ป้องกันการคลิกก่อน animation เสร็จ */
}

.btn-group:hover .dropdown-menu .dropdown-item {
  opacity: 1;
  transform: translateY(0); /* เลื่อนกลับมาตำแหน่งเดิม */
  pointer-events: auto; /* อนุญาตให้คลิกเมื่อ animation เสร็จ */
}

.owl-carousel.owl-rtl .owl-item {
  float: left;
}

.owl-carousel.owl-rtl {
  direction: rtl;
}
.owl-carousel.owl-rtl .text-content {
  direction: ltr; /* องค์ประกอบข้อความที่ต้องการแสดงเป็น LTR */
}

.footer-bottom p {
  margin-bottom: auto;
}

/* .videowrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}
.videowrapper::before {
  content: "";
  display: block;
  background: #000;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
.videowrapper #player {
position: absolute;
top: 50%;
left: 50%;
min-width: 180%;
min-height: 180%;
width: auto;
height: auto;
-webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
z-index: -1;
display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.videowrapper:before{
  background: rgba(0, 0, 0, 10%);
}
.videowrapper iframe {
  height:calc(100vh - 4px);
  width:calc(100vw - 4px);
}

@media only screen and (device-width: 1024px) and (device-height: 1366px){
  .videowrapper {
    height: 59.6vh;
  }
  .full-height {
    height: 56vh;
  }
}

@media (max-width:834px) {
  .videowrapper {
    height: 75vh;
  }
}

@media (max-width:430px) {
  .special-header{
    height: 32vh;
  }
  .box-with-image {
    left: 20px;
  }
  .read-more-popup-close {
    right: 0;
    top: -30px;
  }
  .videowrapper {
    height: 35vh;
  }
  .social-menu a {
    width: 35px;
  }
} */