@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@500;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Anonymous+Pro:wght@700&family=Roboto:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #f1f6f9;
}

/* navbar */
.navbar {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 4% !important;
  background-color: #f1f6f9;
  box-shadow: 0px 3px #212a3e;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  flex-wrap: nowrap !important;
}
.navbar .logo {
  width: 60%;
}
.navbar .logo img {
  height: 4rem;
}
.navbar .lg-mobile {
  display: none;
}

.navbar .navbar-nav {
  display: inline-block;
}
.navbar .navbar-nav a {
  color: #212a3e;
  font-size: 1.2rem;
  font-family: 'Quicksand', sans-serif;
  margin: 0 1rem;
  font-weight: 300;
  text-decoration: none;
}
.navbar .navbar-nav a:hover {
  font-weight: bold;
  padding-bottom: 0.5rem !important;
  border-bottom: 0.1rem solid #212a3e !important;
  transform: scaleX(0) !important;
  transition: 0.2s linear !important;
}
.navbar .navbar-nav a:hover::after {
  transform: scaleX(0.5) !important;
}
.navbar .navbar-nav a.active {
  font-weight: bold;
  padding-bottom: 0.5rem !important;
  border-bottom: 0.1rem solid #212a3e !important;
  transform: scaleX(0) !important;
  transition: 0.2s linear !important;
}

#menu-bar {
  display: none;
}

/* mobile responsive */

@media screen and (max-width: 758px) {
    html {
    font-size: 62.5%;
  }
  #menu-bar {
    display: inline-block;
    color: #212a3e;
  }

  .navbar .logo {
    display: none;
  }
  .navbar .lg-mobile {
    display: block;
  }
  .navbar .lg-mobile img {
    height: 5rem;
  }
  .navbar .navbar-nav {
    position: absolute !important;
    top: 100%;
    right: -100% !important;
    background-color: #212a3e;
    width: 50vw !important;
    height: 100vh;
    transition: 0.3s;
  }
  .navbar .navbar-nav.active {
    right: 0 !important;
  }
  .navbar .navbar-nav a {
    color: #f1f6f9;
    display: block;
    margin: 1.5rem;
    padding: 0.5rem;
    font-size: 1.5rem;
  }
  .navbar .navbar-nav a:hover {
    color: #f1f6f9;
  }
  .navbar .navbar-nav a::after {
    transform-origin: 0 0;
  }
  .navbar .navbar-nav a:hover::after {
    transform: scaleX(0.2);
  }
}
/* mobile phone */
@media (max-width: 450px) {
  html {
    font-size: 55%;
  }
}
/* navbar */

/* carousel */
.c-item {
  height: calc(100vh - 78px);
}

.c-img {
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
}

.carousel-caption {
  position: absolute !important;
  color: #f1f6f9;
  top: 230px;
  left: 0px;
  right: 0px;
}

.carousel-caption h1 {
  margin-bottom: 30px;
  font-weight: 800px !important;
  font-family: 'Kanit', sans-serif;
  font-size: 3.3rem;
}

@media screen and (max-width: 768px) {
  .carousel-caption {
    top: 200px !important;
  }
  .carousel-caption h1 {
    font-size: 2rem !important;
  }
}
/* carousel */

/* service */
.srv {
  height: 100vh;
  background-color: #f1f6f9;
  padding: 100px 150px;
  text-align: center;
  margin-left: 15px;
}

.srv p {
  color: #394867;
  font-size: 20px;
  font-family: 'Kanit', sans-serif;
}

.srv h1 {
  color: #394867;
  font-family: 'Crimson Text', serif;
  margin-top: -20px;
  font-size: 40px;
  font-weight: bolder;
  margin-bottom: 50px;
}

.srv ul {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.srv ul li {
  position: relative;
  list-style: none;
  margin: 50px 35px;
  padding: 10px;
  width: 250px;
  height: 250px;
  /* justify-content: space-around; */
  background-color: #394867;
  border-radius: 20px;
}

.srv ul li .ico {
  width: 48px;
  height: 48px;
  background-color: white;
  border-radius: 10px;
  margin: auto;
  margin-top: 15px;
  margin-bottom: 25px !important;
  color: #212a3e;
  padding: 10px;
}

.srv ul li .ico i {
  font-size: 1.5rem;
}
.srv ul li h3 {
  font-size: 18px;
  color: white;
  font-family: 'Anonymous Pro', monospace;
  font-weight: 700;
  margin-bottom: 10px;
}

.srv ul li p {
  font-size: 15px;
  color: white;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

.b-home {
  display: none;
}

/* mobile ver */
@media screen and (max-width: 768px) {
  .srv {
    margin-left: 0px;
    padding: 90px 2px;
  }

  .srv p {
    font-size: 10px !important;
    margin-top: 20px;
  }

  .srv h1 {
    font-size: 20px !important;
    margin-bottom: 2px !important;
  }

  .srv ul {
    padding: 10px;
    flex-wrap: wrap;
  }
  .srv ul li{
    width: 400px !important;
    height: 123px !important;
    margin: 2px;
  }

  .srv ul li .srv-c{
    width: 100%;
    height: 100%;
  }

  .srv ul li .ico {
    width: 20px;
    border-radius: 3px;
    height: 20px;
    padding: 1px;
  }

  .srv ul li .ico i {
    font-size: 1rem;
  }

  .srv ul li h3 {
    font-size: 15px;
    margin-top: 0px;
    margin-bottom: 0px !important;
  }

  .srv ul li p {
    font-size: 13px;
    margin-top: 0px !important;
  }

  .b-home {
    display: block;
    color: #212a3e;
  }

  .b-home i {
    font-size: 1.5rem;
  }
}
/* mobile ver */
/* service */

/* about */
.aus {
  height: 100vh;
  display: flex;
  background-color: #212a3e;
  color: #f1f6f9;
}

.aus-left {
  width: 45%;
  padding: 110px 80px;
  text-align: center;
}

.aus-left .t-aus {
  text-align: center !important;
  font-size: 18px;
  font-family: 'Kanit', sans-serif;
  margin: auto;
}

.aus-left h1 {
  font-family: 'Crimson Text', serif;
  margin-top: -7px;
  font-size: 40px;
  font-weight: bolder;
  margin-bottom: 50px;
}

.aus-left p {
  font-size: 20px;
  font-family: 'Roboto', sans-serif;
  text-align: justify !important;
  font-weight: 400;
}

.aus-right {
  width: 55%;
  background-position: center;
  background-size: 100%;
  background-repeat: no-repeat;
}

.aus-right img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}
.aus .b-home {
  display: none;
}

@media screen and (max-width: 768px) {
  .aus {
    display: flex;
    flex-direction: column-reverse;
  }

  .aus-left {
    width: 100vw;
    height: 50vh;
    padding: 12px;
  }
  .aus-left  .t-aus{
    font-size: 12px;
    margin-bottom: 5px;
  }
  .aus-left p {
    font-size: 15px;
  }
  .aus-left h1{
    font-size: 20px;
  }
  .aus-right {
    width: 100vw;
    height: 50vh;
  }

  .aus .b-home {
    display: block;
    color: white;
  }

  .aus .b-home i {
    font-size: 1.5rem;
  }
}

/* mobile */
/* mobile */
/* about */

/* project */
.proj {
  height: 100vh;
  background-color: #f1f6f9;
  padding: 50px 100px !important;
  text-align: right;
  margin-left: 15px;
}

.proj p {
  margin-top: 33px;
  color: #394867;
  font-size: 20px;
  font-family: 'Kanit', sans-serif;
}

.proj h1 {
  color: #394867;
  font-family: 'Crimson Text', serif;
  margin-top: -25px;
  font-size: 40px;
  font-weight: bolder;
  margin-bottom: -30px;
}

.container {
  position: absolute;
  width: 100vw;
  height: 650px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -10px !important;
}

.slider {
  position: absolute;
  inset: 80px 200px 80px 80px;
  background: #212a3e;
  border-radius: 20px;
}

.slider .slides {
  position: absolute;
  width: 240px;
  height: 320px;
  top: 20%;
  transform: translateY(-5%);
  border-radius: 20px;
  background-size: cover !important;
  background-position: center !important;
  background: var(--img);
  transition: 0.5s;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

.slider .slides:nth-child(1),
.slider .slides:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(0%);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0);
  background-size: cover !important;
}

.slider .slides:nth-child(3) {
  left: calc(50% + 240px);
  background-size: cover !important;
}
.slider .slides:nth-child(4) {
  left: calc(50% + 500px);
  background-size: cover !important;
}
.slider .slides:nth-child(5) {
  left: calc(50% + 760px);
  background-size: cover !important;
}
.slider .slides:nth-child(6) {
  left: calc(50% + 1020px);
  background-size: cover !important;
}
.buttons {
  position: absolute;
  bottom: 35px;
  display: flex;
  gap: 20px;
  margin-bottom: 0px;
}
.buttons span {
  position: relative;
  width: 35px;
  height: 35px;
  background: black;
  cursor: black;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.buttons span::before {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  border-top: 4px solid white;
  border-left: 4px solid white;
  transform: rotate(315deg) translate(2px, 2px);
}

.buttons span:nth-child(2)::before {
  transform: rotate(135deg) translate(2px, 2px);
}

.buttons span:active {
  opacity: 0.5;
}

.content {
  position: relative;
  padding: 40px;
  max-width: 500px;
  transition: 0.25s;
  transition-delay: 0s;
  text-align: left;
  transform: translateY(40px);
  z-index: 10000;
  opacity: 0;
}

.content h2 {
  color: #f1f6f9;
  font-size: 30px;
  font-weight: bold;
  font-family: 'Crimson Text', serif;
  background: #212a3e;
}

.content p {
  color: #f1f6f9;
  font-family: 'Kanit', sans-serif;
  margin-top: 0px !important;
  background: #394867;
}

.slider .slides:nth-child(1) .content,
.slider .slides:nth-child(2) .content {
  opacity: 1;
  transform: translateY(0px);
  transition-delay: 0.5s;
}

.proj .b-home {
  display: none;
}

/* mobile responsive */
@media screen and (max-width: 768px) {
  .proj {
    padding: 110px 10px !important;
  }

  .proj p {
    margin-top: 0px;
    font-size: 13px;
  }
  .proj h1 {
    margin-bottom: 5px;
    font-size: 25px;
  }
  .container {
    height: 600px !important;
    right:0 !important;
  }
  .slider {
    position: absolute;
    inset: 40px 40px 200px 40px;
  }

  .slider .slides {
    width: 100px;
    height: 100px;
    bottom: -120px;
    /* margin-top: 700px; */
    top: initial;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  }
  .slider .slides:nth-child(1),
  .slider .slides:nth-child(2) {
    top: initial !important;
    bottom: 0px !important;
  }
  .slider .slides:nth-child(3) {
    left: 0px;
  }
  .slider .slides:nth-child(4) {
    left: 120px;
  }
  .slider .slides:nth-child(5) {
    left: 240px;
  }
  .slider .slides:nth-child(6) {
    left: 360px;
  }
  .content h2 {
    font-size: 15px;
  }

  .proj .b-home {
    display: block;
    color: #212a3e;
  }

  .proj .b-home i {
    font-size: 1.5rem;
  }
}
/* mobile responsive */

/* project */

/* clients  */
.cli{
  background:#212a3e; 
  height: 100vh; 
  padding: 200px 100px; 
  color: white; 
  text-align:left;
}
.cli p{
  font-size: 20px;
  font-family: 'Kanit', sans-serif;
}
.cli h1{
  font-family: 'Crimson Text', serif;
  margin-top: -25px;
  font-size: 40px;
  font-weight: bolder;
  margin-bottom: 70px !important;
}

.cli-slider img {
  width: 500px;
  height: 100px;
  animation: scroll 60s linear infinite;
}

.cli-slide-track {
  width: 100%;
  display: flex;
  gap: 5.5em;
  overflow: hidden;
}

.cli-slider {
  background-color: #212a3e;
  margin-top: 30px !important;
  padding: 3em 2em;
}

@keyframes scroll {
  0% {transform: translateX(0%);}
  100% {transform: translatex(-500%)}
}
.cli .b-home {
  display: none;
}
@media screen and (max-width: 768px) {
  .cli{
    padding: 100px 10px;
    text-align: center;
  }
  .cli p{
    margin: 20px 0px;
    font-size: 13px;
  }
  .cli h1 {
    margin-bottom: 150px !important;
    font-size: 25px;
  }
  .cli-slider img {
    width: 300px;
    height: 100px;
    animation: scroll 30s linear infinite;
  }
  
  .cli .b-home {
    display: block;
    color: #f1f6f9;
    margin: auto;
  }


  .cli-slider {
    margin-bottom: 100px;
  }
  .cli .b-home i {
    font-size: 1.5rem;
    justify-content: center !important;
    align-items: center !important;
  }

}
/* clients  */


/* Contacts */
.con {
  margin: 100px 50px;
  padding: 110px 200px;
  /* height: 100vh; */
  background: white !important;
}


.con p{
  font-size: 20px;
  text-align: center;
  font-family: 'Kanit', sans-serif;
}
.con h1{
  font-family: 'Crimson Text', serif;
  text-align: center;
  margin-top: -25px;
  font-size: 40px;
  font-weight: bolder;
  margin-bottom: 70px !important;
}
.con #map {
  width: 100%;
  height: 400px;
  background-color: grey;
  margin: 50px 0px;
  
}
.ccon {
  display: flex;
}
.cus {
  width: 50%;
  float: left;
}
.cus h1 {
  text-align: left !important;
  padding: 30px 0px 20px 0px !important;
  font-size: 1.7rem !important;
  font-weight: bold;
  margin-bottom: 20px !important;
}
.cus p {
  /* text-align: justify; */
  font-family: 'Lato', sans-serif;
  font-weight: 300px;
  text-align: right;
  font-size: 16px !important;
}
.ccus form input:hover{
  border: 1px solid #212A3E !important;
}
.ccus .btn {
 width: 100px;
 border-radius: 0px;
 background-color: #212A3E;
 color: white;
 float: right;
}
.cinfo {
  float: right;
  width: 50%;
  padding: 0px 100px;
}
.cinfo h1{
  text-align: left !important;
  padding: 30px 0px 20px 0px !important;
  font-size: 1.7rem !important;
  font-weight: bold;
  margin-bottom: 20px !important;
}
.cinfo p {
  text-align: justify;
  font-family: 'Lato', sans-serif;
  font-weight: 300px;
  font-size: 16px !important;
}
.cinfo hr{
  border-radius: 0px !important;
  margin: 250px 0px 20px 0px !important;
}

.con .b-home{
  display: none ;
}

@media only screen and (max-width: 768px) {
  .con {
      padding: 100px 25px;
  }
  .con .b-home{
    display: block;
    margin-top: 30px;
    margin-bottom: 30px;
    color: #212A3E;
  }

  .con .b-home i {
    font-size: 1.5rem;
  }
  
  .ccon {
      flex-flow: column nowrap;
  }
  .cus{
      width: 100%;
  }
  .cinfo{
      padding: 0px !important;
      text-align: center;
      width: 100% !important;
  }
  .cinfo hr {
      display: none;
  }
  .cinfo .quote {
      display: none;
  }

}
/* Contacts */


/* Footer */
footer{
  background: #212A3E;
  padding: 10px 0px;
  bottom: 0px;
}
footer h1{
  text-align: center;
  color: #F1F6F9;
  font-size: 1rem;
  
}
/* Footer */