@font-face {
  font-family: 'Noto Sans Thai';
  font-weight: 400;
src: local("Noto Sans Thai"),local("NotoSansThai"),local("Noto Sans Thai Regular"),local("NotoSansThai-Regular"),url(https://www.forex4you.com/th/wp-content/landing/th/sem-clients/fonts/NotoSansThai-Regular.woff2) format("woff2");
}

@font-face {
  font-family: 'Noto Sans Thai';
  font-weight: 700;
    src: local("Noto Sans Thai Bold"),local("NotoSansThai-Bold"),url(https://www.forex4you.com/th/wp-content/landing/th/sem-clients/fonts/NotoSansThai-Bold.woff2) format("woff2");
}

html {
  scroll-behavior: smooth;
}

:root {
  font-size: 16px;
  --green: #78BA1E;
  --pink: #E5266E;
  --navy: #202F3D;
  --text-primary: #191919;
  --text-white: #ffffff;
}

p, span, h1 {
  font-family: "Noto Sans Thai", sans-serif;
}

.container {
  padding: 15px 50px;
}

.container-fluid {
  padding: 0;
}

@media screen and (max-width: 991px) {
  .container {
    padding: 15px;
  }
}

.pink-btn {
  display: block;
  width: fit-content;
  background-color: var(--pink);
  color:  var(--text-white);
  padding: 1rem 2rem;
  border-radius: 6px;
  border: 0;
}

.green-btn {
  font-size: 1.25rem;
  display: block;
  width: fit-content;
  background-color: var(--green);
  color:  var(--text-white);
  padding: .5rem 1rem;
  border-radius: 6px;
  border: 0;
  width: 100%;
}

.sub-menu {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  background-color: #141414;
  text-align: left;
  top: 70%;
  padding: 15px 10px 15px 21px;
  width: 280px;
  z-index: 1;
  border-radius: 0px;
}

a:hover, button:hover {
  color: white;
  text-decoration: none;
  filter: brightness(1.2);
}

.body {
  position: relative;
  scroll-behavior: smooth;
}

/* country select */
.iti {
  width: 100% !important;
}

.iti__country-list {
  height: 120px !important;
}

.iti__country-list li {
  color: black !important;
}

/* header */
header {
  position: fixed;
  z-index: 999;
  left: 0;
  right: 0;
}

header .container {
  font-family: "Noto Sans Thai", sans-serif;
  z-index: 9;
  top: 15px;
  left: 0;
  right: 0;
  padding-left: 0;
  padding-right: 0;
}

header .help-popup {
  display: none;
  width: fit-content;
  margin-left: auto;
  background: white;
  transform: translateX(-60px) translateY(-28px);
  visibility: hidden;
  padding: 1rem;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

header .help-popup.visible {
  display: flex;
  flex-direction: column;
}

@media screen and (max-width: 991px) {
  header .help-popup {
    transform: translateX(-40px) translateY(-23px);
  }
}

@media screen and (max-width: 600px) {
  header .help-popup {
    padding: .5rem;
    border-radius: 6px;
    transform: translateX(-15px) translateY(-18px);
  }
}

header .help-popup a {
  /* width: 100px; */
  text-align: center;
  color: var(--text-primary);
}

header .help-popup a:hover {
  text-decoration: underline;
}

header .container .navbar {
  background-color: #d9d9d970;
  padding: 20px 50px;
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
}

header .container .navbar-nav {
  background-color: #ffffff;
  border-radius: .5rem;
  padding: .5rem;
  position: relative;
}

header .container .header-btn-pink {
    display: block;
    width: fit-content;
    background-color: var(--pink);
    color:  var(--text-white);
    padding: .5rem 1rem;
    border-radius: 6px;
    border: 0;
}

header .container .header-btn-transparent {
  display: block;
  width: fit-content;
  background-color: transparent;
  color:  var(--text-primary);
  padding: .5rem 1rem;
  border-radius: 6px;
  border: 1px solid var(--pink)
}

@media screen and (max-width: 991px) {
  header .container .navbar {
    padding: 15px 30px;
  }
}

@media screen and (max-width: 600px) {
  header .container .navbar {
    padding: 15px;
  }

  header .container .navbar-brand img {
    width: 105px;
  }

  header .container .navbar-nav {
    padding: 0;
    background-color: transparent;
    font-size: .7rem;
  }
}

.section-hero {
  position: relative;
  background-image: url(https://www.forex4you.com/th/wp-content/landing/th/sem-clients/img/hero-partners.png);
  background-size: cover;
  background-position: top center;
  height: calc(95vh - 80px);
}

.section-hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0,0,0,0.3);
}

.section-hero .scrolldown {
  position: absolute;
  bottom: 0;
  left: 50%;
  background-color: white;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  padding: 15px;
  transform: translateX(-50%) translateY(50%);
  box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
}

.section-hero .scrolldown img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section-hero .title {
  font-weight: 700;
  font-size: 3rem;
}

@media screen and (max-width: 991px) {
  .section-hero .title {
    font-size: 2rem;
  }

  .section-hero .scrolldown {
    width: 80px;
    height: 80px;
  }
}

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

.section-info .txt-container {
  text-align: left;
}

.section-info .txt-left {
  font-size: 2.55rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.section-info .txt-right {
  color: var(--text-primary);
  font-size: 1.55rem;
  line-height: 1.2;
}

@media screen and (max-width: 1198px) {
  .section-info .txt-left {
    font-size: 2rem;
  }
  
  .section-info .txt-right {
    font-size: 1.35rem;
  }
}

@media screen and (max-width: 991px) {
  .section-info .txt-container {
    text-align: center;
  }

  .section-info .txt-left {
    font-size: 2rem;
  }

  .section-info .txt-right {
    font-size: 1.5rem;
  }
}

.section-form {
  margin: 0 auto;
  width: clamp(200px, 100%, 1240px);
  clip-path: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
}

.section-form .form {
  background-color: var(--pink);
  padding: 1rem 0;
  margin-bottom: 50px;
  font-family: "Noto Sans Thai", sans-serif;
  color: var(--text-white);
}

.section-form .form .form-group {
  margin-bottom: .5rem;
}

.section-form .form .form-group .txt-warning {
  display: none;
}

.section-form .form .form-group.error .txt-warning {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.section-form .form .form-group label {
  font-size: 1.25rem;
  margin-bottom: .25rem;
}

.section-form .form .form-group input {
  background-color: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid white;
  padding: 0.375rem 0;
  color: var(--text-white);
}

.section-form .form .form-group input.inputPhone {
  padding-left: 70px;
}

.section-form .form .form-group input::placeholder {
  color: #eee;
}

.section-form .form .text-small {
  font-size: .8rem;
}

.section-form .form .form-left {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
}

@media screen and (max-width: 991px) {
  .section-form .form .form-left {
    font-size: 1.75rem;
  }
}

@media screen and (max-width: 600px) {
  .section-form .container {
    padding: 15px 30px;
  }
}

.section-why {
  padding: 50px 0;
  background-color: var(--navy);
}

.section-why .text-big {
  font-size: 2rem;
  font-weight: 700;
}

.section-why .container img {
  mix-blend-mode: lighten;
}

.section-why .container .list-icon {
   width: 24px;
   height: auto;
   object-fit: contain;
}

@media screen and (max-width: 991px) {
  .section-why .text-big {
    font-size: 1.75rem;
  }
}

.section-image-with-text {
  padding: 50px 0 80px;
}

.section-image-with-text .content-block p {
  color: var(--text-primary);
}

.section-image-with-text .content-block .main {
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.2;
}

@media screen and (max-width: 991px) {
  .section-image-with-text .content-block .main {
    font-size: 1.75rem;
  }
}

.thank-you-page .section-main-text {
  padding: 150px 0 80px;
}

.thank-you-page .section-main-text .title {
  color: var(--green);
  font-size: 3rem;
  font-weight: 700;
}

.thank-you-page .section-main-text .subtitle {
  color: var(--text-primary);
  font-weight: 400;
  font-size: 1.5rem;
}

@media screen and (max-width: 991px) {
  .thank-you-page .section-main-text .title {
    font-size: 2rem;
  }

  .thank-you-page .section-main-text .subtitle {
    font-size: 1.25rem;
  }
}

.thank-you-page .section-video {
  padding: 50px 0 80px;
  background-color: #333333;
}

.thank-you-page .section-video .title {
  color: var(--green);
  font-size: 3rem;
  font-weight: 700;
}

.thank-you-page .section-video iframe {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 1040px;
  aspect-ratio: 16/9;
}

@media screen and (max-width: 991px) {
  .thank-you-page .section-video .title {
    font-size: 2rem;
  }
}

footer {
  font-family: "Noto Sans Thai", sans-serif;
  padding: 20px 0 80px;
  background-color: var(--navy);
}

footer h2 {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 1rem;
}

footer ul {
    list-style-type: none;
    padding-inline-start: 0;
}


footer .row-1 {
  margin-bottom: 1.5rem;
}

footer a{
  color: var(--text-white) !important;
}

footer a:hover {
  cursor: pointer !important;
  text-decoration: underline;
}

footer .social-media ul {
    gap: 30px;
    margin: 0 0 24px;
}

footer .apps ul {
    gap: 1rem;
    margin: 0;
}