:root {
  --biggest-font-size: 100px;

  --h1-font-size: 44px;
  --h2-font-size: 25px;
  --h2-numbers-font-size: 40px;
  --h3-font-size: 30px;
  --button-font-size: 20px;
  --normal-p-font-size: 18px;
  --small-font-size: 14px;

  --container-width-pc: 85%;
  --container-width-tablet: 87%;
  --container-width-phone: 94%;

  --color-white: #fff;
  --color-black: #0e0e0e;
  --color-primary: #f36210;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

html {
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
}
img,
svg,
video {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}
h1,
h2,
h3 {
  font-weight: 600;
}
button,
input {
  border: none;
}

button {
  cursor: pointer;
}

input {
  outline: none;
}
.container {
  max-width: var(--container-width-pc);
  margin: 0 auto;
}
.job-positions {
  text-align: left;
  font-size: 18px;
  font-weight: 200;
  color: #ffffff;
  margin-bottom: 20px;
  list-style: disc;
  padding: 0 20px;
}

.global-image {
  filter: brightness(0.3);
}
.header__burger {
  display: none;
  width: 25px;
  height: 20px;
  position: absolute;
  top: 20px;
  right: 20px;
  flex-direction: column;
  cursor: pointer;
}

.header__burger span {
  position: absolute;
  width: 100%;
  height: 2px;
  border-radius: 10px;
  background-color: #5a5a5a;
  transition: 0.2s ease-in-out;
}

.header__burger span:nth-child(1) {
  top: 0;
}

.header__burger span:nth-child(2) {
  top: 50%;
  width: 70%;
}

.header__burger span:nth-child(3) {
  bottom: 0;
}

.header__burger.active span:nth-child(1) {
  top: 50%;
  transform: rotate(45deg);
  transition: 0.2s ease-in-out;
}

.header__burger.active span:nth-child(2) {
  width: 0;
  transition: 0.2s ease-in-out;
}

.header__burger.active span:nth-child(3) {
  top: 50%;
  transform: rotate(-45deg);
  transition: 0.2s ease-in-out;
}

.title-section h2 {
  font-weight: 800;
  font-size: 70px;
  margin-bottom: 20px;
  text-align: center;
  color: #8000ff;
}
.title-section span {
  color: #5c07b0;
}
.header {
  background-color: #fff;
  margin: 10px;
}

.header__nav {
  display: flex;
  align-items: start;
}

.header__nav h2 {
  font-weight: 600;
  font-size: 1.5rem;
  color: #000000;
  margin: 0;
}

.header-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  text-align: center;
  gap: 20px;
  margin-left: auto;
}
.hidden {
  display: none;
}

.header-item {
  margin-left: 0;
}

.header-link {
  text-decoration: none;
  color: #8000ff;
  font-weight: 500;
  font-size: var(--normal-p-font-size);
}
.header-link:hover {
  cursor: pointer;
}

.global {
  height: 800px;
  display: flex;
  align-items: center;
  position: relative;
  justify-content: center;
}

.global-bacround img {
  position: absolute;
  width: 100%;
  height: 800px;
  top: 0;
  object-fit: cover;
  left: 0;
  z-index: -100;
}

.global-container {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 30px;
  justify-content: space-between;
  position: relative;
}
.global-arrow {
  position: absolute;
  bottom: -50%;
  left: 50%;
  transform: translateX(-50%);
  animation: arrow 2s ease-in-out infinite;
}
@keyframes arrow {
  0% {
    bottom: -50%;
  }
  50% {
    bottom: -40%;
  }
  100% {
    bottom: -50%;
  }
}
.global-text {
  flex: 2;
}

.global-text h1 {
  font-weight: 800;
  font-size: 45px;
  color: #ffffff;
  margin-bottom: 35px;
}
.global-text h2 {
  font-weight: 400;
  font-size: var(--h2-font-size);
  line-height: 130.4%;
  color: #fff;
  max-width: 80%;
}
.global-text h2 span {
  font-weight: 700;
}

.global-button {
  padding: 30px 80px;
  font-weight: 700;
  font-size: var(--button-font-size);
  color: #ffffff;
  background: linear-gradient(92.33deg, #8000ff 2.48%, #6b03d3 103.76%);
  box-shadow: -1px 4px 0px #8000ff;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.4s ease-in-out;
  margin-bottom: 10px;
}
.global-button:hover {
  background: linear-gradient(92.33deg, #8818f6 2.48%, #7e1ce0 103.76%);
  box-shadow: -1px 4px 0px #8000ff;
  transition: 0.4s ease-in-out;
}
.global-p {
  display: flex;
  align-items: center;
  gap: 15px;
}
.global-p p {
  font-weight: 400;
  font-size: 35px;
  text-align: start;
  color: #ffffff;
}
.global-p span {
  font-weight: 800;
  color: #ffffff;
}
.global-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 55px;
  margin-left: 85px;
}

#work {
  justify-content: center;
}
.work {
  padding-top: 30px;
}
.about {
  padding-top: 30px;
}
.about-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: start;
  gap: 70px;
}
.about_title {
  font-size: larger;
  font-weight: bolder;
}
.about-item {
  display: flex;
  flex-direction: column;
  align-items: start;
  text-align: start;
  padding: 20px;
  border: none;
  border-radius: 10px;
}
.oneblock {
  display: flex;
  flex-direction: row;
  text-align: center;
  /* width: 300px; */
}
.about-item h2 {
  margin-bottom: 10px;
  text-align: left;
}
.about-text {
  flex: 1;
  text-align: left; /* выравниваем текст по левому краю */
}
.about-item p {
  font-weight: 400;
  font-size: 14px;
  margin-bottom: 20px;
  opacity: 0.7;
}

.about-img {
  margin-left: 30px;
}
.oneblock img {
  width: 100px;
  height: 100px;
  padding-bottom: 20px;
}

.work-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}
.work-blank {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  background: #8000ff;
  border-radius: 20px;
  gap: 40px;
  width: 80%;
}

.work-blank img {
  width: 30px;
  height: 30px;
}
.work-p {
  display: flex;
  align-items: center;
  text-align: center;
}
.work-blank p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: var(--h3-font-size);
  color: #ffffff;
}

.button-work {
  padding: 30px 80px;
  margin-bottom: 30px;
  font-weight: 700;
  font-size: var(--button-font-size);
  color: #000000;
  background: linear-gradient(92.33deg, #ffffff 2.48%, #ffffff 103.76%);
  box-shadow: -1px 4px 0px #036095;
  border-radius: 20px;
  cursor: pointer;
  transition: 0.4s ease-in-out;
}

.button-work:hover {
  background-color: rgb(228, 225, 225);
  transition: 0.3s ease-in-out;
}

.conditions {
  padding: 30px 0;
}
.conditions-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.conditions-text {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.conditions-text ul {
  list-style: none; /* Убираем стандартные стили списка */
  padding: 0; /* Убираем отступы у списка */
  margin: 0;
}

.conditions-text li {
  display: flex; /* Используем flexbox для выравнивания иконки и текста в одной строке */
  align-items: center;
  text-align: start;
  gap: 10px; /* Пробел между иконкой и текстом */
  margin-bottom: 20px; /* Пробел между элементами списка */
  list-style: none;
  font-size: 20px;
}

.conditions-text li::before {
  content: "\2713"; /* Используем символ "галочка" как маркер */
  flex-shrink: 0; /* Предотвращаем сжатие иконки */
  color: #002980;
  font-size: 50px;
}

.conditions-text p {
  font-weight: 600;
  font-size: 20px;
  line-height: 133.5%;
  color: #000000;
}
.conditions-img {
  position: relative;
  display: inline-block; /* Подгоняет размер под изображение */
  padding: 10px; /* Расстояние между изображением и рамкой */
  border: 2px solid #1a37ab; /* Рамка */
  box-sizing: border-box; /* Учитывает рамку и паддинг в размерах элемента */
  width: fit-content; /* Размер адаптируется под изображение */
}

.conditions-img img {
  display: block; /* Убирает пробелы вокруг изображения */
  width: 100%; /* Масштабирование внутри контейнера */
  height: auto; /* Сохранение пропорций */
}
.video-img img {
  height: 100%;
}
.video-img {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 20px;
}

.city {
  background-color: #1a37ab;
  padding-top: 30px;
}
.city-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 50px;
}
.city-title {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.city-title h2 {
  color: #fff;
  font-weight: 700;
  font-size: 45px;
  text-align: center;
  margin-bottom: 50px;
  margin-top: 50px;
}

.city-block {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-evenly;
}
.city-text {
  flex: 1;
  align-items: flex-start;
  display: flex;
  justify-content: center;
  flex-direction: row;
  margin-bottom: 50px;
  gap: 30px;
}

.city-img {
  flex: 1;
  margin-right: 100px;
}

.city-img img {
  border-radius: 13px;
}

.city-text p {
  text-align: left;
  font-weight: 600;
  font-size: 18px;
  max-width: 500px;
  color: #1a37ab;
  display: flex;
  align-items: center;
  background-color: white;
  padding: 20px 20px;
  border-radius: 20px;
  height: 250px;
}

.city-text img {
  margin-right: 10px; /* Відступ між картинкою та текстом */
}

.city-buttons {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.city-buttons {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.city-buttons p {
  font-weight: 700;
  font-size: var(--h3-font-size);
  text-align: center;
  color: #ffffff;
  margin-bottom: 20px;
}

.city-button {
  font-weight: 600;
  font-size: var(--h3-font-size);
  color: #000000;
  display: flex;
  justify-content: center;
  background: #ffffff;
  box-shadow: 7px 8px 0px rgba(0, 0, 0, 0.25);
  border-radius: 35px;
  padding: 40px;
  transition: 0.3s ease-in-out;

  width: 100%;
}

.city-button:hover {
  transition: 0.3s ease-in-out;
  background: #e2e2e2;
}

.contact {
  margin-bottom: 20px;
}
.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}

.container h3 {
  margin-bottom: 50px;
}

.form-container {
  padding: 20px;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 15px;
}

input,
select {
  font-weight: 400;
  width: 100%;
  max-width: 700px;
  font-size: var(--h2-font-size);
  color: #000000;
  padding: 10px;
  border: 0.8px solid #000000;
  border-radius: 15px;
  background-color: #ffffff; /* Зробити фон білим */
  appearance: none; /* Прибираємо стандартний вигляд браузера */
  -webkit-appearance: none; /* Safari і Chrome */
  -moz-appearance: none; /* Firefox */
  outline: none; /* Прибираємо синю рамку при фокусі */
}

select {
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%204%205%22%3E%3Cpath%20fill%3D%22%23000000%22%20d%3D%22M2%200L0%202h4zm0%205L0%203h4z%22/%3E%3C/svg%3E"); /* Іконка стрілки */
  background-repeat: no-repeat;
  background-position: right 20px center; /* Позиціонування іконки стрілки */
  background-size: 10px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  font-size: 14px;
}

input[type="checkbox"] {
  margin-right: 10px;
}

.submit-btn {
  padding: 30px 80px;
  font-weight: 700;
  background: linear-gradient(92.33deg, #8f24f9 2.48%, #8000ff 103.76%);
  box-shadow: -1px 4px 0px #8000ff;
  border-radius: 20px;
  font-size: var(--h2-font-size);
  color: #ffffff;
  transition: 0.3s ease-in-out;
  border: none;
  cursor: pointer;
}

.submit-btn:hover {
  opacity: 0.8;
  transition: 0.3s ease-in-out;
}

.title-section h3 {
  font-size: 30px;
  text-align: center;
}

.fqa-container {
  display: flex;
  flex-direction: column;
}
.fqa {
  padding-bottom: 0px !important;
  margin-top: 20px;
}
.faq-item {
  margin-bottom: 20px;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #000;
  cursor: pointer;
}
.faq-up {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-up span {
  font-weight: 400;
  font-size: 35px;

  transition: 0.3s ease-in-out;
}
.faq-up p {
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 24px;
}
.faq-item.active span {
  transform: rotate(-45deg);
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
.faq-item.active .faq-down {
  max-height: 100%;
  overflow: hidden;
  transition: 0.3s ease-in-out;
}
.faq-down {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s ease-in-out;
}

.footer {
  padding: 50px 0;
  background-color: #8000ff;
  color: white;
  text-align: center;
  margin-top: 100px;
}

.contact-info {
  margin-top: 10px;
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: center;
  align-content: center;
}

.contact-info a {
  color: white;
}
.contact-info a:hover {
  text-decoration: underline;
}
.social-icons {
  margin-top: 15px;
}

.social-icons a {
  margin: 0 10px;
  display: inline-block;
}

.social-icons img {
  width: 30px; /* Размер иконок */
  height: 30px;
}
.rights {
  font-size: 22px;
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.84);
}

.team-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #fff;
}

.team-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #000;
}

.team-description {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 40px;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px;
}

.team-member {
  text-align: center;
  max-width: 200px;
}

.member-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.member-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.member-role {
  font-size: 1rem;
  color: #777;
}
.icon-style {
  filter: brightness(0) saturate(100%) invert(0%) sepia(100%) saturate(500%)
    hue-rotate(260deg) brightness(90%) contrast(100%);
}

@media (max-width: 1250px) {
  .about-container {
    flex-direction: column;
  }

  .about-item {
    width: 100%;
    padding: 0 50px;
  }
  .container {
    max-width: var(--container-width-tablet);
  }
  .global-text h2 {
    max-width: 100%;
  }
  .global-container {
    flex-direction: column;
  }
  .global-item {
    margin-top: 80px;
    flex-direction: row;
    margin-left: 0px;
  }
  .global-text {
    text-align: center;
  }
  .global-arrow {
    display: none;
  }

  .global-p p {
    font-size: 30px;
  }
  .title-section h2,
  .city-title h2 {
    font-size: 50px;
  }
  .conditions-text p {
    font-size: 18px;
  }
  .city-title p {
    font-size: 24px;
  }
  .city-text {
    gap: 40px;
  }
  .conditions-container {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .conditions-text {
    gap: 40px;
  }
  .city-block {
    flex-direction: column;
  }
  .condiotions-img {
    order: -1;
    width: 50%;
  }

  .city-block {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-direction: column;
    text-align: center;
  }

  .city-img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .city-img img {
    width: 100%;
    height: auto;
    border-radius: 13px;
  }
  .city-text p {
    text-align: left;
    font-weight: 600;
    font-size: 18px;
    max-width: 500px;
    color: #1a37ab;
    display: flex;
    align-items: center;
    background-color: white;
    padding: 20px 20px;
    border-radius: 20px;
    height: 350px;
  }
  .job-positions {
    text-align: left;
    font-size: 14px;
    font-weight: 200;
    color: #ffffff;
    margin-bottom: 20px;
    list-style: disc;
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 850px) {
  .about-container {
    flex-direction: column;
  }
  .about-item {
    width: 100%;
  }
  .header__nav:active {
    height: 100%;
  }
  .header__burger {
    display: flex;
  }
  .header__burger.active {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10000;
  }

  .icon-style {
    width: 64px;
    height: 64px;
  }

  .city-text {
    flex-direction: column;
  }
  .city-text p {
    height: auto;
  }
  .header__nav.active {
    width: 100%;
    transition: 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  .header__nav.active .header-list {
    display: flex;
    flex-direction: column;
    text-align: center;
  }
  .header-list {
    display: none;
    flex-direction: column;
    text-align: center;
    margin-left: 0;
  }
  .container {
    max-width: var(--container-width-phone);
  }
  .video-img {
    grid-template-columns: 1fr;
  }
  .faq-up p {
    font-size: 16px;
  }
  :root {
    --h2-font-size: 20px;
    --h3-font-size: 25px;
    --button-font-size: 16px;
  }
  .global-text h1 {
    font-size: 50px;
  }
  .global-p p {
    font-size: 24px;
  }
  .global-item {
    gap: 25px;
    margin-left: 0px;
  }
  .work-blank p {
    text-align: center;
  }
  .city-title p {
    max-width: 100%;
  }

  .about-container {
    grid-template-columns: repeat(1, 1fr);
  }
  .city-block {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-direction: column;
    text-align: center;
  }

  .city-img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .city-img img {
    width: 100%;
    height: auto;
    border-radius: 13px;
  }
}

@media (max-width: 650px) {
  :root {
    --h2-font-size: 16px;
    --h3-font-size: 20px;
    --button-font-size: 14px;
  }
  .global-text h1,
  .title-section h2,
  .city-title h2 {
    font-size: 40px;
  }
  .global-item {
    gap: 10px;
    margin-left: 0px;
  }
  .work-blank {
    padding: 20px;
  }
  .condiotions-img {
    width: 100%;
  }

  .about-container {
    flex-direction: column; /* Столбец в мобильной версии */
  }

  .about-item {
    width: 100%;
  }
  .about-img {
    width: 90%;
  }
  .conditions-text {
    gap: 25px;
  }
  .city-title p {
    font-size: 20px;
  }

  .city-title h2 {
    font-size: 25px;
  }
  .section {
    padding: 70px 0;
  }
  .city-container {
    gap: 20px;
  }

  .city-block {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-direction: column;
    text-align: center;
  }

  .city-img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .city-img img {
    width: 100%;
    height: auto;
    border-radius: 13px;
  }

  .about-item h2 {
    font-size: 20px;
  }
  .about-item p {
    font-size: 14px;
  }
}

@media (max-width: 430px) {
  .header__nav h2 {
    margin-top: 0;
  }
  .header-item {
    margin-left: 20px;
  }
  .header-list {
    padding: 80px 100px;
  }

  .global-button {
    padding: 15px 50px;
  }
  .conditions-text li {
    font-size: 15px;
  }

  .city-text {
    flex-direction: column;
  }
  .city-block {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-direction: column;
    text-align: center;
  }

  .city-img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .about-item {
    width: 100%;
  }
  .city-img img {
    width: 100%;
    height: auto;
    border-radius: 13px;
  }

  .global-text h1,
  .title-section h2,
  .city-title h2 {
    font-size: 25px;
  }
  
  :root {
    --h2-font-size: 16px;
    --h3-font-size: 18px;
    --button-font-size: 14px;
  }
  .faq-down p {
    font-size: 14px;
  }
  .city-text p {
    font-size: 16px;
  }
  .global-item {
    gap: 10px;
    margin-left: 0px;
  }

  .global-p {
    gap: 5px;
  }
  .global-p p {
    font-weight: 800;
    font-size: 12px;
    text-align: center;

    color: #ffffff;
  }
  .faq-down p {
    font-size: 14px;
  }
  .city-title p {
    font-size: 55px;
  }
  .city-title h2 {
    font-size: 30px;
  }

  .button-work {
    padding: 30px 20px;
    font-size: 20px;
  }
  .conditions-text p {
    font-size: 16px;
  }

  .city-button {
    padding: 30px;
  }
  .contact-container input {
    width: 90%;
  }
  .section {
    padding: 50px 0;
  }
}

.thanks {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80vh;
}

.thanks-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.thanks-item a {
  padding: 30px;
  border-radius: 20px;
  border: 1px solid #000;
  color: #000;
  font-size: 24px;
  margin-top: 40px;
  font-weight: 500;
}
.thanks-item h1 {
  font-size: 60px;
}

/* Мобільна адаптація для форм */
@media (max-width: 600px) {
  .contact-container form {
    width: 100%; /* Забезпечує, що форма займає всю ширину контейнера */
    max-width: 100%; /* Обмежує максимальну ширину форми */
    padding: 20px; /* Відступи для мобільного вигляду */
    gap: 0;
  }

  .contact-container input,
  .contact-container select,
  .contact-container button {
    width: 100%;
    max-width: 100%;
    margin: 10px 0;
  }

  .contact-container button {
    padding: 20px;
  }
}
/* Внутрішня частина вже є — просто переконайся, що клас .header-list.active відображається */
@media (max-width: 850px) {
  .header-list {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    position: absolute;
    top: 50px;
    right: 0;
    width: 100%;
    padding: 40px 20px;
    z-index: 1000;
    border-top: 1px solid #ddd;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  }

  .header-list.active {
    display: flex;
  }
}
