@import url('https://fonts.googleapis.com/css2?family=Inter&family=Montserrat:wght@500;700');
@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@200;300;400;500;600;700&display=swap');

:root {
  --main-color: #f5f5f0;
  --secondary-color: #212121;
  --submit: #123458;
  --form-input: #e4e8e5;
  --emphasize: #ff6f61;
  --emphasize-light: #F98866;
  --hover: #6B9797;
  --menu-speed: 0.75s;
  --menu-background: #6B9797D9;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  color: #fff;
  font-size: 10px;
  scroll-behavior: smooth;
  background: var(--secondary-color);
}

body {
  margin: 0 auto;
  font-family: 'Bai Jamjuree', sans-serif;
  font-weight: 500;
  font-size: 1.7rem;
  overflow-x: hidden;
  width: 100%;
  color: #fff;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

a, a:hover {
  text-decoration: none;
  color: var(--main-color);
  -webkit-transition: 0.2s all ease;
  -o-transition: 0.2s all ease;
  transition: 0.2s all ease;
}

.dots::after {
  content: '';
  position: absolute;
  animation: dots 1.2s steps(3, end) infinite;
}

.menu-wrap {
  display: none;
}

@keyframes dots {
  0%   { content: ''; }
  33%  { content: '.'; }
  66%  { content: '..'; }
  100% { content: '...'; }
}

footer a {
  color: var(--main-color);
}

p {
  text-align: justify;
}

header::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 50%;
  /* bring your own prefixes */
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100px;
  z-index: 0;
  background-color: var(--secondary-color);
}

section:not(:first-child) {
  padding: 10px 0;
}

section:nth-child(odd) {
  background-color: coral;
  background-color: var(--main-color);
  color: var(--secondary-color);
}

section:nth-child(even) {
  background-color: var(--secondary-color);
  color: var(--main-color);
}

.container {
  max-width: 1200px;
}

section:not(:first-child) .container {
  margin: 40px auto;
}

section h1 {
  font-weight: 700;
  font-size: 4rem;
  color: var(--emphasize);
}

section h1>span {
  font-size: 2rem;
}


section h2 {
  font-weight: 600;
  font-size: 2rem;
}

.main {
  display: flex;
  gap: 24px;
  align-items: center;
}

.main > div {
  width: 100%;
}

.main h1 {
  text-align: end;
}

.swiper {
  max-width: 520px;
  height: 520px;
}

.footer-swiper {
  height: 300px;
}

.footer-swiper .swiper-slide img {
  filter: saturate(0);
  transition: 0.3s all ease-in-out;
}

.footer-swiper .swiper-slide img:hover {
  filter: saturate(1);
  transition: 0.3s all ease-in-out;
  cursor: pointer;
}

.swiper-slide img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

header, .menu-header {
  height: 100px;
  position: relative;
}

.menu-header {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.7rem;
}

.menu-header .header_links a {
  padding: 0 10px;
}

.menu-header .header_language a {
  padding: 0 3px;
}

header .header_logo {
  height: 100%;
  padding: 10px 0;
}

.header_logo a {
  display: flex;
  width: 100%;
  height: 100%;
}

form .row>.u-full-width input,
form textarea.u-full-width {
  margin-top: 10px;
}

.form input,
.form textarea{
  color: black;
  height: 45px;
  background-color: var(--form-input);
}

.form input[required]:not([type="checkbox"])::placeholder {
  color: var(--emphasize-light);
}

/* .form .six.columns:has(input[required]:not([type="checkbox"])) {
  position: relative;
}

.form .six.columns:has(input[required]:not([type="checkbox"]))::before {
  content: '*';
  position: absolute;
  font-size: 40px;
  opacity: 0.8;
  color: var(--emphasize);
  top: -35%;
  transform: translateY(50%);
} */

.form textarea {
  min-width: 100%;
  max-width: 100%;
  min-height: 100px;
  border: none;
}

#resume-wrap {
  padding: 6px 10px;
  color: black;
  border-radius: 4px;
  margin-left: 0;
  min-width: 225px;
  margin-top: 5px;
}

.form input:focus {
  border: none;
}

.form input, label{
  padding-top: 10px;
  border: none;
  background-color: var(--form-input);
}

form button[name='submitForm'] {
  background-color: var(--emphasize);
  color: #fff;
  border: none;
  transition: .5s;
  margin-top: 5px;
}

form button[name='submitForm']:hover {
  background-color: var(--emphasize-light);
  transition: .5s;
  color: #fff;
}

form .policy-consent {
  background: none;
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 10px 0;
  margin: 0;
}

.policy-consent {
  display: flex;
  align-items: center;
  gap: 12px;
}

.policy-consent input[type="checkbox"] {
  width: 2.2rem;
  height: 2.2rem;
  opacity: 0.6;
}

.policy-consent input[type="checkbox"]:checked {
  outline: 1px solid var(--secondary-color);
  accent-color: var(--emphasize-light);
  opacity: 1;
}

section:nth-child(even) form .policy-consent input[type="checkbox"]:checked {
  outline: 1px solid var(--main-color);
}

form .policy-link {
  text-decoration: underline;
}

section:nth-child(odd) form .policy-link:hover,
section:nth-child(even) form .policy-link:hover {
  color: var(--emphasize);
}

section:nth-child(odd) form .policy-link {
  color: var(--secondary-color);
}

section:nth-child(even) form .policy-link {
  color: var(--main-color);
}

form .policy-link:hover {
  color: var(--emphasize);
}

#what-do-we-do {
  text-align: center;
}

#what-do-we-do .cards {
  display: flex;
  gap: 10px;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 60px;
}

#what-do-we-do .card {
  width: 30%;
  font-size: 2rem;
}

#what-do-we-do .card img {
  max-width: 100px;
  filter: invert(.4);
}

#what-do-we-do .card p {
  text-align: center;
}

footer .row {
  margin: 10px 0;
  min-height: 100px;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: space-between;
}

footer .logo a {
  height: 64px;
  width: 64px;
  display: flex;
}

.header_logo a:hover, footer .logo a:hover {
  -webkit-filter: invert(59%) sepia(12%) saturate(776%) hue-rotate(131deg) brightness(93%) contrast(88%) drop-shadow(0 0 3px var(--hover));
  filter: invert(59%) sepia(12%) saturate(776%) hue-rotate(131deg) brightness(93%) contrast(88%) drop-shadow(0 0 3px var(--hover));
}

footer .logo img {
  width: 100%;
  height: 100%;
}

footer, header {
  font-size: 2rem;
  font-weight: 700;
}

footer a:hover, header a:hover {
  -webkit-filter: drop-shadow(0 0 3px var(--hover));
  filter: drop-shadow(0 0 3px var(--hover));
  color: var(--hover);
}

footer .container:after, footer .row:after {
  content: none;
}

footer .phone {
  display: flex;
  flex-direction: column;
}

.lang.active {
  font-weight: 700;
  color: var(--emphasize);
}

/* Back to Top Button */
#backtotop {
	background-color: var(--emphasize);
	position: fixed;
	left: calc(16px + 2vw);
	bottom: calc(16px + 2vw);
	width: 44.8px;
	height: 44.8px;
	border-radius: 50%;
	cursor: pointer;
	border: none;
	pointer-events: none;
	-webkit-transform: translateX(-112px);
	-ms-transform: translateX(-112px);
	transform: translateX(-112px);
	-webkit-transition: .25s ease, -webkit-transform .8s cubic-bezier(.88, -.36, .16, 1.72);
	transition: .25s ease, -webkit-transform .8s cubic-bezier(.88, -.36, .16, 1.72);
	-o-transition: .25s ease, transform .8s cubic-bezier(.88, -.36, .16, 1.72);
	transition: .25s ease, transform .8s cubic-bezier(.88, -.36, .16, 1.72);
	transition: .25s ease, transform .8s cubic-bezier(.88, -.36, .16, 1.72), -webkit-transform .8s cubic-bezier(.88, -.36, .16, 1.72);
	-webkit-box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.11);
	box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.11);
  z-index: 1;
  padding: unset;
}

#backtotop._active {
	opacity: .8;
	pointer-events: auto;
	-webkit-transform: translateX(0);
	-ms-transform: translateX(0);
	transform: translateX(0);
}

#backtotop svg {
	width: 20px;
	margin-bottom: -4px;
	fill: var(--main-color);
}

#backtotop:hover {
	opacity: 1;
	background: var(--emphasize);
	-webkit-box-shadow: 0px 0px 4px 0px rgb(0 0 0 / 0.5);
	box-shadow: 0px 0px 4px 0px rgb(0 0 0 / 0.5);
}

@media (max-width: 1000px) {
  #main .container {
    width: 100%;
  }

  .menu-header {
    max-width: 95%;
    margin: auto;
  }

  .main .text {
    margin-right: 24px;
  }

  .container {
    width: 90%;
  }
}

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

  .nav-menu {
    display: none;
    flex-direction: column;
    background-color: #222;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li a {
    color: #fff;
  }
}

@media (max-width: 750px) {
  .menu-wrap {
    display: block;
  }
  .header_links {
    display: none;
  }
  .menu-header {
    width: 90%;
  }

  .header_language, .header_logo {
    z-index: 2;
  }

  .main {
    flex-direction: column;
  }

  .main .text {
    margin-right: unset;
    width: 90%;
  }

  .swiper {
    max-width: unset;
  }

  footer .row {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }

  footer .three.columns, footer .six.columns {
    margin-left: unset;
    width: unset;
  }

}

@media (max-width: 550px) {
  #what-do-we-do .cards {
    align-items: center;
    flex-direction: column;
  }
  
  footer .phone {
    margin-bottom: 10px;
  }
}

@media (max-width: 400px) {
  section:not(:first-child) .container {
    margin: 0 auto;
  }
  
  .container {
    width: 95%;
    padding: 0 5px;
  }

  .main .text {
    margin-right: unset;
  }

  .main h1 {
    margin: unset;
  }

  #main .container {
    padding: unset;
  }
}