* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Lato", sans-serif;
  margin: 0;
  padding: 0;
  font-weight: 300;
  font-size: 18px;
  line-height: 25px;
  color: #000;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.header {
  width: 100%;
  height: 60px;
  background-color: white;
  position: sticky;
  top: 0;
  transition: background-color 0.3s ease; /* плавное изменение */
}

/* прозрачность при скролле */
.header.scrolled {
  background-color: rgb(255, 255, 255, 0.9); /* 60% прозрачности */
  backdrop-filter: blur(8px); /* красиво размывает фон (по желанию) */
}

.header_wrap,
.header_container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 100px;
}

.header_logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  font-weight: 900;
  font-size: 36px;
  line-height: 50px;
  font-family: "Merriweather", serif;

  color: #005fa3;
}

.header_logo img {
  width: 56px;
  height: 56px;
}

.header_menu ul {
  display: flex;
  align-items: center;
  gap: 68px;
}

.header_menu ul li a {
  display: block;
  font-weight: 700;
  font-size: 14px;
  line-height: 17px;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #222222;
}

.about_us {
  padding: 100px;
  background-image: url("/img/about/background2.jpg");
  height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
}

.about_wrap {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 50px;
}

.about_info {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: white;
}

.about_info h1 {
  font-size: 48px;
  font-weight: 900;
  margin: 0;
  font-family: "Lato", serif;
}

.about_info p {
  font-size: 22px;
  font-weight: 300;
  line-height: 1.6;
}

.about_btns {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn_more_info {
  padding: 14px 32px;
  background: linear-gradient(135deg, #008cff 0%, #0051c9 100%);
  border-radius: 14px;
  display: inline-block;
  transition: 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 140, 255, 0.5);
}

.btn_more_info a {
  color: white;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.06em;
}

.btn_more_info:hover {
  transform: scale(1.04);
  box-shadow: 0 0 25px rgba(0, 140, 255, 0.9), 0 0 45px rgba(0, 120, 255, 0.6),
    0 0 70px rgba(0, 110, 255, 0.4);
}

.services {
  background: linear-gradient(90deg, #09021f 0%, #09021f 70%, #130837 100%);

  transition: all 0.3 ease;
}

.services_wrap {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 100px;
  justify-content: center;
  align-items: center;
  color: white;
  gap: 40px;
}

.services_header h1 {
  font-size: 48px;
  font-weight: 900;
  margin: 0;
  font-family: "Lato", sans-serif;
  text-align: center;
}

.services_header p {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  color: #a3adc2;
}

.services_blocks {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
}

.services_block {
  display: flex;
  flex-direction: column;
  gap: 32px;

  border-radius: 12px;
  border: 1px solid #1b224b;

  padding: 40px;
  min-width: 380px;
  width: 25%;
  height: 550px;
  opacity: 1;

  background-color: rgba(20, 25, 57, 0.7);
  transition: all 0.3s ease;
}

.services_block:hover {
  border: 1px solid #3c54dd;
  box-shadow: 0 0 50px 2px rgba(60, 84, 221, 0.35);
}

.services_block:hover .block_icon {
  background-color: #3c54dd;
}

.services_block:hover .block_icon svg {
  color: white;
}

.services_block:hover .block_info h2 {
  color: #3c54dd;
}

.block_icon {
  display: flex;
  width: 64px;
  min-height: 64px;
  border-radius: 10px;
  background-color: #181e49;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

.block_icon svg {
  width: 32px;
  height: 32px;
  color: #3c54dd;
  transition: all 0.3s ease;
}

.block_info h2 {
  font-size: 24px;
  font-weight: 900;

  font-family: "Lato", sans-serif;
  transition: all 0.3s ease;
}

.block_info p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;

  color: #a3adc2;
}

.contacts {
  background: linear-gradient(
    135deg,
    #09021f 0%,
    #0a0321 30%,
    #0a0321 46%,

    #0d0528 55%,
    #130837 100%
  );
  height: 100vh;
}

.contacts_wrap {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 100px;
  justify-content: flex-start;
  align-items: center;
  color: white;
  gap: 40px;
}

.contacts_blocks {
  display: flex;
  width: 80%;
  justify-content: space-between;
  align-items: flex-start;
}

.contacts_info {
  width: 50%;
  height: 100%;
}

.contacts_form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background-color: rgba(20, 25, 57, 0.7);
  border: 1px solid #1b224b;
  transition: all 0.3s ease;
  padding: 36px;
  border-radius: 12px;
}
.contacts_form .form_row {
  display: flex;
  gap: 24px;
}
.contacts_form .form_input,
.contacts_form .form_textarea {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.contacts_form label {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.6px;
  color: #fff;
}
.contacts_form input,
.contacts_form textarea {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: #0a0c23;
  border: 1px solid #1b224b;
  color: #fff;
  font-size: 14px;
  outline: none;
}
.contacts_form textarea {
  height: 120px;
  resize: none;
}
.contacts_form button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: #4353ff;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}
.contacts_form button:hover {
  background: #3c54dde6;
}

.contacts_form:hover {
  border: 1px solid #3c54dd;
  box-shadow: 0 0 40px rgba(60, 84, 221, 0.25);
}

/* Brighter placeholder */
.contacts_form input::placeholder,
.contacts_form textarea::placeholder {
  color: #a3adc2;
}

/* Focus outline glow */
.contacts_form input:focus,
.contacts_form textarea:focus {
  border: 1px solid #3c54dd;
  box-shadow: 0 0 15px rgba(60, 84, 221, 0.6);
}

.contacts_info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contacts_info_block span {
  font-size: 18px;
  font-weight: 400;
}

.contacts_info h1 {
  margin-bottom: 32px;
  font-size: 50px;
  font-weight: 900;
}

.contacts_info svg {
  width: 24px;
  height: 24px;
  color: white;
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(
    135deg,
    #09021f 0%,
    #0a0321 5%,
    #0a0321 14%,

    #0d0528 30%,
    #130837 100%
  );
  height: 156px;
}

.footer_wrap {
  text-align: center;
}

.footer_wrap a {
  font-size: 16px;
  color: #ffffffcc;
  font-weight: 400;
  letter-spacing: 0.6px;
}

.footer_wrap a:hover {
  color: #3c54dd;
}

.footer_wrap p {
  font-size: 14px;
  color: #ffffff99;
  font-weight: 400;
  letter-spacing: 0.8px;
}

/* Modal Background */
.modal {
  display: none; /* скрыт по умолчанию */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  backdrop-filter: blur(5px); /* блюр фона */
  background-color: rgba(0, 0, 0, 0.5); /* полупрозрачный черный */
}

/* Modal Content */
.modal_content {
  background-color: #fff;
  margin: 10% auto;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
  max-height: 80%;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Close Button */
.close {
  color: #333;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: red;
}
