/* Contact US */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai+Looped:wght@100;200;300;400;500;600;700&family=Lexend:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Thai+Looped:wght@100;200;300;400;500;600;700&family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Lexend:wght@100..900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&display=swap');

:root {
  /*========== Colors ==========*/
  --white-color: #fff;
  --black-color: hsl(210, 12%, 15%);
  --orange-color: rgb(234, 111, 70);
  --light-green-color: rgb(1, 216, 156);
  --egg-color: rgb(210, 212, 146);
  --primary-st-color: rgb(0, 163, 118);
  --primary-nd-color: rgb(195, 222, 215);
  --neutral-blue: #f4fefd;
  --neutral-egg: #f2f2e8;
  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Lexend", sans-serif;
  --th-h-font: "IBM Plex Sans Thai Looped", sans-serif;
  --th-nh-font: "Kanit", sans-serif;
  --logo-font: "Silkscreen", sans-serif;
  --fontcolor-st: #2a3632;
  --fontcolor-nd: #545f5b;
  --fontcolor-rd: #808684;
  --fontcolor-four: #a9afad;
  --fontcolor-five: #d5d7d6;
  --h1-font-size: 2rem;
  --h2-font-size: 1.25rem;
  --normal-font-size: 1.125rem;
  --biggest-font-size: 5rem;
  --bigger-font-size: 3.5rem;
  --big-font-size: 2.5rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;
  --text-line-height: 2rem;
  --head-weight: 600;
  --des-weight: 300;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}
html {
  overflow-x: hidden;
  scroll-padding-top: 7rem;
  scroll-behavior: smooth;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 9px 100px;
  background: rgb(255, 255, 255, 0.85);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 99;
}
header img {
  width: 3rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  user-select: none;
}
.nav-logo img {
  width: 45px;
  margin-right: 0.5rem;
}
.nav-logo h2 {
  font-family: var(--logo-font);
  font-size: 1.45rem;
  font-weight: 300;
  margin-top: -7px;
  letter-spacing: -0.5px;
  color: var(--fontcolor-st);
}
.nav-logo span {
  color: rgb(0, 163, 118);
}
.navigate a {
  position: relative;
  font-size: 1.125rem;
  color: var(--fontcolor-st);
  font-weight: 500;
  margin-left: 40px;
}
.navigate a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  transform-origin: right;
  background-color: var(--primary-st-color);
  border-radius: 5px;
  transform: scaleX(0);
  transition: transform .5s;
}
.navigate a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.btnLogin {
  width: 130px;
  height: 40px;
  background-color: var(--primary-st-color);
  border-radius: 30px;
  cursor: pointer;
  margin-left: 40px;
  transition: .5s;
}
.btnLogin .btn-nav {
  font-size: 1.125rem;
  color: var(--white-color);
  font-weight: 500;
  margin-left: 0;
}
.btnLogin .btn-nav::after {
  height: 0px;
}
.btnLogin:hover {
  background-color: var(--orange-color);
  scale: 1.05;
}
.nav--bar {
  width: 100%;
  height: 40px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav--bar .toggle-nav {
  color: var(--primary-st-color);
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}
.dropdown-menu {
  display: none;
  position: absolute;
  right: 2rem;
  top: 80px;
  width: 300px;
  height: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(5px);
  border-radius: 15px;
  overflow: hidden;
  transition: height .2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.dropdown-menu li {
  list-style: none;
  justify-content: center;
  padding: 0.7rem;
  text-align: center;
}
.dropdown-menu li a {
  color: var(--fontcolor-st);
  font-weight: 500;
}
.dropdown-menu li a:hover {
  color: var(--primary-st-color);
}
.dropdown-menu li button {
  margin: 0;
  width: 100%;
}
.dropdown-menu.open {
  height: 250px;
}
.phd {
  font-family: var(--th-h-font);
  font-weight: 600;
  position: relative;
  color: transparent;
}
.phd::before {
  content: attr(data-text);
  position: absolute;
  color: var(--primary-nd-color);
  width: 200px;
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid white;
  animation: typing 8s linear infinite;
}
.phd::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2.8px;
  background-image: linear-gradient(
    to right,
    var(--primary-nd-color) 10%,
    transparent 90%
  );
  animation: fadeIn 1s ease-in forwards;
}
@keyframes typing {
  0%,
  10%,
  100% {
    width: 0;
  }
  70%,
  90% {
    width: 100%;
  }
}
.phd2 {
  width: 80%;
  margin-top: 20px;
  font-family: var(--th-nh-font);
  font-weight: 300;
  color: #fff;
  opacity: 0;
  animation: fadeIn 1s ease-in forwards;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.text{
  font-weight: 300;
  font-family: var(--th-nh-font);
  opacity: 0.9;
}
.contact-info a{
  color: var(--orange-color);
}
.contact-info a:hover {
  color: var(--primary-st-color);
}
.contact-body{
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1rem;
}
.contact-info{
  margin: 2rem 0;
  text-align: center;
  padding: 2rem 0;
}
.contact-info span{
  display: block;
}
.contact-info div{
  margin: 0.8rem 0;
  padding: 1rem;
}
.contact-info span .fas{
  font-size: 4rem;
  padding-bottom: 0.9rem;
  color: var(--primary-st-color);
}
.contact-info div span:nth-child(2){
  font-weight: 500;
  font-size: 1.1rem;
}
.contact-info .text{
  padding-top: 0.4rem;
}
.contact-form{
  padding: 2rem 0;
  border-top: 1px solid #c7c7c7;
}
.contact-form form{
  padding-bottom: 1rem;
}
.form-control{
  width: 100%;
  border: 1.5px solid #c7c7c7;
  border-radius: 5px;
  padding: 0.7rem;
  margin: 0.6rem 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  outline: 0;
}
.form-control:focus{
  box-shadow: 0 0 6px -3px rgba(48, 48, 48, 1);
}
.contact-form form div{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 0.6rem;
}
.send-btn{
  font-family: var(--body-font);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary-st-color);
  border: none;
  border-radius: 5px;
  padding: 0.7rem 1.5rem;
  cursor: pointer;
  transition: all 0.4s ease;
}
.send-btn:hover{
  opacity: 0.8;
}
.contact-form > div img{
  width: 85%;
}
.contact-form > div{
  margin: 0 auto;
  text-align: center;
}
.contact-footer{
  padding: 2rem 0;
  background: #000;
}
.contact-footer h3{
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1rem;
  text-align: center;
}
.footer-header {
  margin-top: 4rem;
  width: 100%;
  /*position: absolute;*/
  bottom: 0;
  background: linear-gradient(
    to right,
    var(--primary-st-color),
    var(--primary-nd-color)
  );
  color: var(--fontcolor-st);
  padding: 60px 0 30px;
  border-top-left-radius: 125px;
  font-size: 13px;
  line-height: 20px;
  text-align: left;
}
.ft-row {
  width: 85%;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
.ft-col {
  flex-basis: 25%;
  padding: 10px;
}
.ft-col:nth-child(2),
.ft-col:nth-child(3) {
  flex-basis: 15%;
}
.ft-logo {
  width: 80px;
  margin-bottom: 30px;
}
.ft-des {
  text-indent: 2em;
  font-family: var(--th-nh-font);
  font-weight: var(--des-weight);
}
.ft-col h3 {
  width: fit-content;
  margin-bottom: 40px;
  font-weight: var(--head-weight);
  position: relative;
}
.email-id {
  width: fit-content;
  border-bottom: 1px solid var(--fontcolor-nd);
  margin: 20px 0;
}
ul li {
  margin-bottom: 12px;
  font-weight: var(--des-weight);
  list-style: none;
}
ul li a {
  text-decoration: none;
  font-family: var(--body-font);
  color: var(--fontcolor-st);
}
ul li a:hover {
  text-decoration: underline;
}
form {
  padding-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--fontcolor-st);
  margin-bottom: 40px;
}
.ft-col input[type="email"] {
  display: flex;
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  color: var(--fontcolor-st);
  padding: 10px 0 10px 10px;
}
form button {
  background: transparent;
  border: 0;
  outline: none;
  cursor: pointer;
  padding: auto;
}
form button:hover {
  transform: translateX(5px);
}
.social-icons span {
  width: 30px;
  height: 30px;
  padding: auto;
  background: var(--fontcolor-st);
  margin-right: 15px;
  cursor: pointer;
}
.social-icons span:hover {
  background-color: var(--neutral-egg);
  transform: scale(1.2);
}
.heroicons--envelope {
  display: inline-block;
  width: 1.9em;
  height: 1.9em;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75'/%3E%3C/svg%3E");
  background-color: currentColor;
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.ph--arrow-right-bold {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%23000' d='m224.49 136.49l-72 72a12 12 0 0 1-17-17L187 140H40a12 12 0 0 1 0-24h147l-51.49-51.52a12 12 0 0 1 17-17l72 72a12 12 0 0 1-.02 17.01'/%3E%3C/svg%3E");
  background-color: var(--fontcolor-st);
  -webkit-mask-image: var(--svg);
  mask-image: var(--svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

hr {
  width: 90%;
  border: 0;
  border-bottom: 1px solid var(--fontcolor-st);
  margin: 20px auto;
}
.ft-end {
  text-align: center;
}
.underlineani {
  width: 100%;
  height: 5px;
  background: var(--fontcolor-four);
  border-radius: 3px;
  position: absolute;
  top: 25px;
  left: 0;
  overflow: hidden;
}
.underlineani span {
  width: 15px;
  height: 100%;
  background: var(--neutral-blue);
  border-radius: 3px;
  position: absolute;
  top: 0;
  left: 10px;
  animation: moving 2s linear infinite;
}
.social-icons i {
  font-size: 2rem;
  padding: auto;
  color: var(--fontcolor-st);
  margin-right: 15px;
  cursor: pointer;
}
.social-icons i:hover {
  color: var(--neutral-egg);
  transform: scale(1.2);
}
@keyframes moving {
  0% {
    left: -15px;
  }
  100% {
    left: 100%;
  }
}

@media screen and (min-width: 768px){
  .contact-info{
      display: grid;
      grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 992px){
  .contact-form{
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      align-items: center;
  }
}

@media screen and (min-width: 1200px){
  .contact-info{
      grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1029px) {
  footer {
    bottom: unset;
  }
}

/* iPhone */
@media (max-width: 568px) {
  header {
      padding: 4px 10px;
  }
  header img {
      width: 20px;
  }
  .nav--bar {
      height: 70px;
  }
  .nav-logo h2 {
      font-size: 1.35rem;
  }
  .dropdown-menu {
      left: 2rem;
      width: unset;
  }
  .hero_reveal {
      margin-top: 2rem;
  }
  .phd {
      width: 100%;
      font-size: 1.5rem;
  }
  .capa-container .capa-card {
      position: relative;
      min-width: 350px;
      height: 710px;
      box-shadow: inset 5px 5px 5px rgba(0, 0, 0, 0.15),
                  inset -5px -5px 5px rgba(255, 255, 255, 0.5),
                  5px 5px 5px rgba(0, 0, 0, 0.15),
                  -5px -5px 5px rgba(255, 255, 255, 0.5);
      border-radius: 15px;
      margin: 25px;
  }
}
@media (max-width: 1029px) {
  .nav--bar .navigate,
  .nav--bar .btnLogin {
      display: none;
  }
  .nav--bar .toggle-nav {
      display: block;
  }
  .dropdown-menu {
      display: block;
  }
  footer {
      bottom: unset;
      text-align: left;
  }
  .ft-col {
      flex-basis: 100%;
  }
  .ft-col:nth-child(2),
  .ft-col:nth-child(3) {
      flex-basis: 100%;
  } 
}


@media (min-width: 568px) and (max-width: 780px) {
}

/* laptop1 */
@media screen and (min-width: 1029px) and (min-height: 605px){

}

/* iPad */
@media (min-width: 750px) and (max-width: 1366px) {
  header {
      padding: 4px 10px;
  }
}
