@import "./reset.css";
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --container-width: 1240px;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #fafafa;
  color: #010101;
  max-width: 100%;
  min-width: 1440px;
}

.none {
  display: none !important;
}

/* HEADER */

.nav {
  display: flex;
  margin: 0;
  backdrop-filter: blur(24.92799949645996px);
  box-shadow: inset -52px 52px 52px 0 rgba(255, 255, 255, 0.02),
    inset 52px -52px 52px 0 rgba(188, 192, 192, 0.02);
  background: rgba(248, 253, 252, 0.02);
  width: 100%;
  min-width: 1440px;
  max-height: 118px;
  z-index: 1000;
  position: relative;
  position: fixed;
  top: 0;
  align-items: center;
  margin: 0;
}

.nav a {
  color: #010101;
}

.nav-list {
  display: inline-block;
  column-gap: 0;
  margin-top: 28px;
  margin-bottom: 28px;
  margin-right: 100px;
  margin-left: auto;
}

.logo {
  display: inline-block;
  margin-top: 8px;
  margin-bottom: 8px;
  margin-left: 100px;
}

.nav-list-item {
  display: inline-block;
  padding: 8px 16px;
  margin-top: 8px;
  margin-bottom: 8px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 18px;

  /* line-height: 27px; */
  line-height: 150%;
}
.nav-list-item:hover {
  border-bottom: 1px solid #155a54;
}

.nav-list-item:active {
  border: 1px solid #155a54;
}

.nav-list-item-lang {
  display: inline-block;
  padding: 8px 16px;
  margin-top: 8px;
  margin-bottom: 8px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;

  /* line-height: 27px; */
  line-height: 150%;
}

.nav-list-item-lang:hover {
  border-bottom: 1px solid #155a54;
}

.nav-list-item-lang:active {
  border: 1px solid #155a54;
}

.nav-list-item-button {
  display: inline-block;
  border: 4px solid #e4976c;
  padding: 16px 32px;
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 18px;

  /* line-height: 27px; */
  line-height: 150%;
}

.nav-list-item-button:hover {
  border: 4px solid #eab187;
}

.nav-list-item-button:active {
  border: 4px solid #d96a36;
}

.header-all {
  margin: 0 auto;
  padding: 0;
  position: relative;
  z-index: 1;
  min-height: 900px;
  max-width: 1440px;
}

.header-content {
  margin: 417px 741px 100px 100px;
  max-width: 599px;
  max-height: 383px;
  position: relative;
  z-index: 1;
}

.header-content-4 {
  position: absolute;
  top: -417px;
  right: 0;
}

.header-content-1 {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 64px;

  /* line-height: 77px; */
  line-height: 120%;
  color: #062d2b;
  margin-bottom: 24px;
}

.header-content-2 {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 28px;

  /* line-height: 42px; */
  line-height: 150%;
  color: #010101;
  margin-bottom: 24px;
}

.header-content-3 {
  display: block;
  padding: 16px 48px;
  width: 436px;
  height: 62px;
  background: #36cbb5;
  margin: 0px 0px 0px 0px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 20px;

  /* line-height: 30px; */
  line-height: 150%;
  color: #010101;
}

.header-content-3 a {
  color: #010101;
}

.header-content-3:hover {
  background: #6ce4ce;
}

.header-content-3:active {
  background: #1cb09b;
}

/* ABOUT COMPANY */

.About-company {
  margin: 0 auto;
  padding: 0;
  min-height: 1066px;
  max-width: 1440px;
  margin-top: -417px;
}

.About-name {
  margin: 100px 100px 80px 100px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 48px;

  /* line-height: 72px; */
  line-height: 150%;
  color: #062d2b;
}

.About-main {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 100px;
  width: 1239px;
  height: 714px;
}

/* .About-main {
  margin-left: 100px;
  margin-right: 100px;
  margin-bottom: 100px;
  min-width: 1239px;
  max-width: 100%;
  min-height: 714px;
  max-height: 100%;
} */

.About-line-1 {
  display: flex;
}

.About-line-2 {
  display: flex;
}

.About-1 {
  padding: 40px;
  width: 397px;
  height: 345px;
  min-width: 361px;
  background: #cef9ef;
  margin: 0 24px 24px 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;

  /* line-height: 27px; */
  line-height: 150%;
  color: #010101;
}

.About-1:hover {
  background: #6ce4ce;
}

.About-2 {
  padding: 40px;
  width: 397px;
  height: 345px;
  min-width: 361px;
  background: #cef9ef;
  margin: 0 0 24px 24px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;

  /* line-height: 27px; */
  line-height: 150%;
  color: #010101;
}

.About-2:hover {
  background: #6ce4ce;
}

.About-3 {
  padding: 40px;
  width: 397px;
  height: 345px;
  min-width: 361px;
  background: #cef9ef;
  margin: 0 24px 0 24px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;

  /* line-height: 27px; */
  line-height: 150%;
  color: #010101;
}

.About-3:hover {
  background: #6ce4ce;
}

.img-about-1 {
  margin-bottom: 24px;
}

.about-number {
  border: 1px solid #155a54;
  padding: 8px 8px 8px 16px;
  width: 44px;
  height: 44px;
  margin-bottom: 0;
  margin-right: 0;
  margin-left: auto;
  margin-top: 4px;
}

.about-text {
  height: 217px;
}

/* SERVICES */

.Services {
  margin: 0 auto;
  padding: 100px 100px 60px 100px;
  height: 982px;
  width: 1440px;
  margin-top: -117px;
}

.Services-name {
  margin-bottom: 80px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 48px;

  /* line-height: 72px; */
  line-height: 150%;
  color: #062d2b;
}

.Services-main {
  display: flex;
  width: 1240px;
  height: 670px; /* дозволяє контенту розширювати блок */
  overflow: visible; /* дозволяє контенту виходити за межі, якщо потрібно */
  flex-wrap: nowrap; /* запобігає переносу секцій на новий рядок */
}

.section {
  flex: 1;
  max-width: 856px;
  max-height: 670px;
  transition: flex 0.5s ease;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section:not(.active) .content {
  writing-mode: vertical-rl; /* 👈 вертикальний текст знизу вверх */
  transform: rotate(180deg); /* 👈 щоб читалося знизу вверх */
  text-align: center;
  height: 670px;
  max-width: 120px;
  overflow: hidden;
  opacity: 0.5;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  background-color: rgba(206, 249, 239, 0.8);
  p {
    opacity: 0;
  }
}

.section.active .content {
  max-height: 670px;
  opacity: 1;
}

.section.active {
  padding: 0;
  margin: 0;
  min-width: 856px;
  min-height: 670px;
  flex: 3;
  background-color: rgba(206, 249, 239, 0.8);
}

.content {
  /* padding: 20px 40px; */
  transition: opacity 0.3s ease;
  text-align: left;
}

.section img {
  width: 856px;
  height: 400px;
  object-fit: cover;
}

.Section-name {
  padding: 20px 40px 0px 40px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 30px;

  /* line-height: 45px; */
  line-height: 150%;
  color: #010101;
}

.section-text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;

  /* line-height: 27px; */
  line-height: 150%;
  color: #010101;
  padding: 23px 40px 20px 40px;
}

/* ADVANTAGES */

.Advantages {
  margin: 0 auto;
  padding: 100px 100px 100px 100px;
  min-height: 594px;
  max-width: 1440px;
  /* margin-top: -417px; */
}

.Advantages-name {
  margin-bottom: 80px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 48px;

  /* line-height: 72px; */
  line-height: 150%;
  color: #062d2b;
}

.Advantages-list {
  display: flex;
  width: 1244px;
  height: 242px;
}

.Advantages-item {
  width: 292px;
  height: 242px;
  min-width: 293px;
  max-width: 365px;
  background: #cef9ef;
  margin-right: 24px;
}

.Advantages-item:hover {
  background: #6ce4ce;
}

.Advantages-img {
  width: 41px;
  height: 40px;
  margin-left: 126px;
  margin-right: 126px;
  margin: 40px 126px 0px 126px;
}

.Advantages-text {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 20px;

  /* line-height: 30px; */
  line-height: 150%;
  text-align: center;
  color: #010101;
  margin: 32px 40px 40px 40px;
}

/* FORM */

.Form {
  margin: 0 auto;
  padding: 0;
  min-height: 1183px;
  max-width: 1440px;
  position: relative;
}

.Form-name {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 32px;

  /* line-height: 48px; */
  line-height: 150%;
  color: #062d2b;
  margin: 100px 666px 32px 100px;
  z-index: 3;
  position: relative;
}

.form-list-1 {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;

  /* line-height: 27px; */
  line-height: 150%;
  color: #010101;
  margin: 0 666px 100px 100px;
  z-index: 3;
  position: relative;
}

.form-list-item-1 {
  margin-bottom: 24px;
  z-index: 3;
  position: relative;
}

.img-form {
  top: 222px;
  left: 0;
  position: absolute;
  z-index: 1;
}

.form-block {
  z-index: 3;
  position: relative;
  border: 2px solid #062d2b;
  padding: 40px;
  width: 819px;
  height: 634px;
  margin: 100px 100px 140px 521px;
}

.form-column {
  display: flex;
  gap: 24px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;

  /* line-height: 24px; */
  line-height: 150%;
  margin-bottom: 16px;
}

.form-article {
  margin-bottom: 4px;
}

.form-block-item {
  width: 357px;
  height: 71px;
}

.form-block-item-input {
  border: 1px solid #062d2b;
  padding: 8px 16px;
  width: 357px;
  height: 43px;
  color: #5d5d5d;
}

.form-column-tel {
  display: flex;
  gap: 0;
}

.form-tel-1 {
  border-left: 1px solid #062d2b;
  border-top: 1px solid #062d2b;
  border-bottom: 1px solid #062d2b;
  padding: 8px 8px 8px 16px;
  width: 100px;
  height: 43px;
}

.form-tel-2 {
  border: 1px solid #062d2b;
  padding: 0px 16px;
  width: 257px;
  height: 43px;
}

select:focus option[disabled] {
  display: none;
}

.comments {
  margin-bottom: 16px;
}

.comments-input {
  border: 1px solid #062d2b;
  padding: 8px 16px;
  width: 739px;
  height: 100px;
}

.note {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;

  /* line-height: 21px; */
  line-height: 150%;
  color: #010101;
}

.form-column-submit {
  display: flex;
  padding: 0;
  width: 739px;
  height: 62px;
}

.form-block-item-button {
  padding: 16px 48px;
  width: 321px;
  height: 62px;
  background: #36cbb5;
  margin-right: 0;
  margin-left: auto;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 20px;

  /* line-height: 30px; */
  line-height: 150%;
  color: #010101;
}

/* CONTACTS */

.Contacts a {
  color: #010101;
}

.Contacts {
  margin: 0 auto;
  min-height: 579px;
  max-width: 100%;
  margin-top: -90px;
  background: #cef9ef;
}

.Contacts-block {
  margin: 0 auto;
  padding: 50px 100px;
  min-height: 579px;
  max-width: 1440px;
}

.Contacts1 {
  display: flex;
  border-bottom: 0.5px solid #010101;
  padding: 0px 0px 20px 0px;
  width: 1240px;
  height: 122px;
}

.Contacts1-1 {
  width: 184px;
  height: 40px;
  margin: 62px 876px 20px 60px;
  display: flex;
}

.Contacts-img-1 {
  width: 40px;
  height: 40px;
}

.Contacts-img-2 {
  width: 40px;
  height: 40px;
  margin-left: 32px;
  margin-right: 32px;
}

.Contacts-img-3 {
  width: 40px;
  height: 40px;
}

.Contacts2 {
  display: flex;
  width: 1240px;
  height: 216px;
  margin-top: 60px;
}

.contacts2-1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 24px;

  /* line-height: 36px; */
  line-height: 150%;
  color: #010101;
  width: 199px;
  height: 36px;
  margin-right: auto;
}

.contacts2-2 {
  width: 199px;
  height: 216px;
  margin: 0 auto;
}

.contacts2-2-services {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 24px;

  /* line-height: 36px; */
  line-height: 150%;
  color: #010101;
  margin-bottom: 24px;
}

.contacts2-2-serv-list {
  width: 199px;
  height: 156px;
}

.contacts2-2-serv-list-item {
  width: 199px;
  height: 27px;
  margin-bottom: 16px;
}

.contacts2-3 {
  width: 148px;
  height: 36px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 24px;

  /* line-height: 36px; */
  line-height: 150%;
  color: #010101;
  margin: 0 auto;
}

.contacts2-4 {
  width: 192px;
  height: 130px;
  margin-left: auto;
}

.contacts-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 24px;

  /* line-height: 36px; */
  line-height: 150%;
  color: #010101;
  margin-bottom: 24px;
}

.contacts-tel {
  width: 192px;
  height: 27px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;

  /* line-height: 27px; */
  line-height: 150%;
  color: #010101;
  margin-bottom: 16px;
}

.contacts-mail {
  width: 184px;
  height: 27px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 18px;

  /* line-height: 27px; */
  line-height: 150%;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #010101;
  margin: auto;
}
