:root {
  --color-white-100: hsl(206, 5%, 98%);
  --color-black-500: hsl(220, 18%, 3%);
  --color-gray-400: hsl(326, 4%, 66%);
  --color-gray-500: hsl(336, 2%, 50%);
  --shadow-medium: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --blue: #1f47d1;
  --white: #fff;
  --primary: #20bec8;
  --white1: #fff;
  --white2: #f7f7f7;
  --grey1: #6d6d6d;
  --grey2: #a7a7a7;
  --black: #0b0b0b;
}

*,
*::before,
*::after {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  list-style-type: none;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

html {
  font-size: 100%;
  box-sizing: inherit;
  scroll-behavior: smooth;
  height: -webkit-fill-available;
}

body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  height: -webkit-fill-available;
  color: var(--color-black-500);
  background-color: var(--color-white-100);
}

a,
button {
  cursor: pointer;
  border: none;
  outline: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background: none;
  box-shadow: none;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
}

.container {
  max-width: 75rem;
  height: auto;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.brand-header {
  width: 130px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 100;
  margin: 0 auto;
  box-shadow: var(--shadow-medium);
  background-color: var(--color-white-100);
}

.header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  -moz-column-gap: 1rem;
  column-gap: 1rem;
  row-gap: 2rem;
  width: 100%;
  height: 56px;
  margin: 0 auto;
  max-width: 1320px;
}

@media screen and (max-width: 1024px) {
  .header .navbar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100%;
    z-index: 10;
    opacity: 0;
    overflow-y: auto;
    visibility: hidden;
    box-shadow: var(--shadow-medium);
    background-color: var(--color-white-100);
    transition: all 0.5s ease;
  }
  .header .navbar.active {
    left: 0rem;
    opacity: 1;
    visibility: visible;
  }
}

.header .menu-item {
  position: relative;
  display: inline-block;
  margin-left: 1.5rem;
}
.header .menu-link {
  display: flex;
  justify-content: center;
  align-items: center;
  -moz-column-gap: 0.25rem;
  column-gap: 0.25rem;
  /* font-family: inherit; */
  font-size: 1rem;
  font-weight: 500;
  line-height: inherit;
  cursor: pointer;
  text-transform: capitalize;
  color: var(--color-black-500);
  transition: all 0.3s ease-in-out;
}
.header .menu-link > i.bx {
  font-size: 1.35rem;
  line-height: 1.5;
  color: inherit;
}
.header .menu-link:hover {
  outline: none;
  color: var(--color-gray-500);
}
header button {
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  background-color: var(--black);
  color: white;
  padding: 12px 24px;
  margin-left: 30px;
  border-radius: 8px;
}
@media only screen and (min-width: 1024px) {
  .header .menu-dropdown:hover > .submenu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(25);
  }
  .header .wrapper {
    height: 72px;
  }
}
@media only screen and (max-width: 1024px) {
  header button {
    margin-left: 0px;
    padding: 10px 12px;
  }
  .header .menu {
    width: 100%;
    height: auto;
    padding: 1rem 0;
  }
  .header .menu-item {
    display: block;
    margin: 0 auto;
  }
  .header .menu-link {
    justify-content: space-between;
    padding: 0.5rem 1.25rem;
    line-height: initial;
  }
}

.header .submenu {
  z-index: 99;
  position: absolute;
  top: 41px;
  left: -2rem;
  min-width: 13rem;
  height: auto;
  padding: 0 1rem 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  border-radius: 0 0 0.25rem 0.25rem;
  border-top: 2px solid var(--color-gray-400);
  box-shadow: var(--shadow-medium);
  background-color: var(--color-white-100);
  transition: all 0.3s ease-in-out;
}
.header .submenu-item {
  display: block;
  margin-top: 0.75rem;
  line-height: initial;
}
.header .submenu-link {
  /* font-family: inherit; */
  font-size: 1rem;
  font-weight: 500;
  line-height: inherit;
  cursor: pointer;
  color: var(--color-black-500);
  transition: all 0.35s ease;
}
.header .submenu-link:hover {
  outline: none;
  color: var(--color-gray-500);
}
@media only screen and (max-width: 1024px) {
  .header .submenu {
    position: relative;
    top: -0.5rem;
    left: 2.5rem;
    width: calc(100% - 2.5rem);
    /* width: 100%; */
    max-height: 0;
    padding: 0px;
    border: none;
    outline: none;
    opacity: 1;
    overflow: hidden;
    visibility: visible;
    transform: translateY(0px);
    box-shadow: none;
    background: transparent;
  }
}

.header .burger {
  position: relative;
  display: none;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 22px;
  height: 1rem;
  opacity: 0;
  visibility: hidden;
  background: transparent;
}

/* .burger::after {
  content: "Contact us";
  position: absolute;
  top: 50%;
  left: -72px;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 36px;
  background-color: var(--blue);
  color: white;
  display: none;
  align-items: center;
  justify-content: center;
} */
.header button.contact {
  width: 110px;
  height: 36px;
  background-color: var(--blue);
  color: var(--white);
}

.header .burger-line {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 2px;
  opacity: 1;
  border: none;
  outline: none;
  background: var(--color-black-500);
}
.header .burger-line:nth-child(1) {
  top: 0px;
}
.header .burger-line:nth-child(2) {
  top: 0.5rem;
}
.header .burger-line:nth-child(3) {
  top: 1rem;
}
@media only screen and (max-width: 1024px) {
  .header .burger {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  .header .burger::after {
    display: flex;
  }
}

.header .overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 9;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease-in-out;
  background-color: rgba(0, 0, 0, 0.65);
}
@media only screen and (max-width: 1024px) {
  .header .overlay.active {
    display: block;
    opacity: 1;
    visibility: visible;
  }
  .header .menu-item.active::after {
    width: 120%;
  }
}

/* form ================== */
.form-service {
  background-color: #fff;
  padding: 40px 20px;
}
.form-service h2 {
  font-weight: 700;
  font-size: 24px;
  line-height: 30px;
  text-align: center;
  letter-spacing: 0.06em;
}
.form-service label {
  font-weight: 500;
  font-size: 14px;
  line-height: 21px;
}
.menu-item.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  height: 3px;
  width: 140%;
  background-color: var(--black);
  z-index: 2;
}

@media only screen and (max-width: 374px) {
  .header button img {
    display: none;
  }
}
