@import "../../vendors/inter-font/css/style.css";
@import "colors.css";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  background-color: var(--snow);
}

.advantages-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 100px;
  scroll-margin-top: 100px;
  background-color: var(--alabaster);
}

.advantages-items {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  max-width: 1240px;
}

.advantages-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-basis: 50%;
  gap: 24px;
  padding: 32px;
  text-align: center;
  border-radius: 16px;
  background-color: var(--seasalt);
}

.advantages-item h4 {
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--onyx);
}

.advantages-item-text {
  line-height: 1.8;
  color: var(--outer-gray);
}

.advantages-icon {
  width: min-content;
  height: 54px;
  padding: 10px;
  border-radius: 6px;
  background-color: var(--linen);
}

.contact-section {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 80px 100px;
  min-height: 844px;
  scroll-margin-top: 80px;
  background-color: var(--azure);
}

.contact-content,
.contact-message {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-message {
  max-width: 600px;
  text-align: center;
}

.contact-message h2 {
  margin-bottom: 16px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--black-bean);
}

.contact-message p {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--onyx);
}

.clients-section {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  align-items: center;
  padding: 80px 100px;
  scroll-margin-top: 100px;
  background-color: var(--snow);
}

.clients-items {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  max-width: 1240px;
}

.clients-item {
  flex-basis: 50%;
  padding: 32px;
  border-radius: 16px;
  text-align: center;
  background-color: var(--seasalt);
}

.clients-item h3 {
  margin-bottom: 8px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--onyx);
}

.clients-item img {
  width: 100%;
  margin-bottom: 24px;
  border-radius: 8px;
}

.clients-item-text {
  line-height: 1.8;
  color: var(--outer-gray);
}

.d-none {
  display: none;
}

.details-section {
  position: relative;
  scroll-margin-top: 100px;
}

.details-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 100px;
}

.details-content-text {
  max-width: 610px;
  margin-bottom: 48px;
  line-height: 1.8;
  text-align: center;
  color: var(--onyx);
}

.details-items {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 1240px;
}

.details-item:nth-child(2n) {
  flex-direction: row-reverse;
}

.details-item {
  display: flex;
  gap: 16px;
  width: 100%;
}

.details-item ul {
  margin-top: 16px;
  list-style-type: none;
}

.details-item-count {
  width: 54px;
  height: 54px;
  padding: 6px;
  margin-bottom: 24px;
  border-radius: 8px;
  background-color: var(--champagne-pink);
}

.details-item-count div {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  background-color: var(--accent-orange);
}

.details-item-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-basis: 50%;
}

.details-item-section h3 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--black-bean);
}

.details-item-section li {
  line-height: 1.8;
  color: var(--outer-gray);
}
.details-item-section img {
  width: 100%;
  height: auto;
  display: block;
}

.form {
  position: relative;
  width: 33%;
  min-width: 400px;
  margin-top: 21px;
  z-index: 1;
}

.form label {
  display: inline-block;
  position: relative;
  left: 24px;
  transform: translateY(50%);
  padding: 1px 10px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  border-radius: 8px;
  color: var(--black-bean);
  background-color: var(--columbia-blue);
}

.form textarea {
  height: 168px;
  resize: none;
}

.form input, .form textarea {
  width: 100%;
  margin-bottom: 13px;
  padding: 19px 24px 20px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  line-height: 1.8;
  transition: background-color 0.3s ease;
  color: var(--eerie-black);
  background-color: var(--periwinkle);
}

.form input::placeholder, .form textarea::placeholder {
  color: var(--outer-gray);
}

.form input:focus, .form textarea:focus {
  outline: none;
  border: none;
  background-color: var(--gray-white);
}

.form button {
  width: 100%;
  margin-top: 8px;
  padding: 15px 24px;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  line-height: 1.3;
  color: var(--white);
  background-color: var(--accent-orange);
}

.header {
  position: relative;
  z-index: 2;
  background-color: var(--snow);
}

.header .navbar {
  padding: 0 16px;
  position: fixed;
  width: 100%;
  overflow: hidden;
}

.header-badge {
  width: fit-content;
  padding: 3px 15px;
  border: 0.5px solid var(--light-blue);
  border-radius: 30px;
  background-color: var(--powder-blue);
}

.header-badge-text {
  font-size: 12px;
  line-height: 1.6;
  font-weight: 500;
  background: linear-gradient(91.35deg, #004890 0%, #3086E2 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-button {
  margin-top: 8px;
  padding: 15px 24px;
  width: fit-content;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--white);
  background-color: var(--accent-orange);
}

.header-content {
  display: flex;
  justify-content: space-between;
  gap: 110px;
  position: relative;
  top: 104px;
  padding-left: 100px;
  padding-bottom: 244px;
  overflow: hidden;
}

.header-data {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.header-data-block {
  position: relative;
  flex-basis: calc(50% - 30px);
  align-self: center;
}

.header-data-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--dim-gray);
}

.header-heading {
  font-size: 56px;
  line-height: 1.15;
  color: var(--black-bean);
}

.header-gradient {
  position: absolute;
  left: -100px;
  bottom: -60px;
  width: 130%;
  height: 700px;
}

.header-gradient img {
  width: 100%;
  height: 100%;
}

.header-image {
  width: fit-content;
  background-image: linear-gradient(144.21deg, #FCE886 14.15%, #FF6503 46.45%, #C59C6A 90.78%);
  background-size: cover;
}

.header-image-block {
  display: flex;
  justify-content: flex-end;
  align-self: flex-start;
  flex-basis: 50%;
  z-index: 1;
}

.header-image img {
  position: relative;
  right: 80px;
  top: 60px;
  width: 100%;
  max-height: 656px;
}

.header-lines {
  position: absolute;
  left: -15px;
  max-width: 50%;
  z-index: -1;
}

.header-lines img {
  width: 100%;
}

.general-section {
  position: relative;
  scroll-margin-top: 100px;
  background-color: var(--azure);
}

.general-section-data {
  display: flex;
  flex-direction: column;
  padding: 80px 100px;
}

.general-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  max-width: 612px;
  margin-bottom: 48px;
}

.general-content-text {
  text-align: center;
  line-height: 1.8;
  color: var(--outer-gray);
}

.general-gradient {
  position: absolute;
  top: 0;
  width: 20%;
  height: 100%;
  background: linear-gradient(46.35deg, rgba(229, 239, 242, 0) 34.56%, rgba(130, 179, 222, 0.1) 74.39%);
}

.general-gradient-first {
  left: 0;
}

.general-gradient-second {
  transform: rotate(-180deg);
  right: 0;
}

.general-gradient-middle {
  position: absolute;
  top: -120px;
  left: 25%;
  width: 50%;
  height: 400px;
}

.general-gradient-middle img {
  width: 100%;
  height: 100%;
}

.iframe-container {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* Співвідношення сторін 16:9 для відео */
  height: 0;
  z-index: 1;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 698px;
  border: 0;
}

.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 104px;
  z-index: 2;
  background-color: var(--alice-blue);
}

.logo {
  position: absolute;
  left: 100px;
  top: 24px;
  height: 56px;
}

.nav-list {
  display: flex;
  flex-wrap: nowrap;
  list-style: none;
}

.nav-link {
  display: inline-block;
  padding: 5px;
  margin: 0 15px;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.8;
  white-space: nowrap;
  color: var(--onyx);
}

.nav-link:hover {
  color: var(--black-bean);
}

.header .nav-link.active {
  position: relative;
  font-weight: 500;
  line-height: 1.6;
  color: var(--accent-orange);
}

.header .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -35px;
  left: 5px;
  width: calc(100% - 10px);
  height: 2px;
  background-color: var(--accent-orange);;
}

.section-title {
  margin-bottom: 16px;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--black-bean);
}

.section-subtitle {
  margin-bottom: 24px;
  line-height: 1.6;
  font-weight: 500;
  background: linear-gradient(91.35deg, #004890 0%, #3086E2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-lines {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: absolute;
  left: 0;
  top: 0;
  width: 26%;
  margin-top: 90px;
}

.section-lines-right {
  align-items: flex-end;
  right: 0;
  left: auto;
}

.section-lines hr {
  height: 1px;
  background-color: var(--uranian-blue);
  border: none;
}

.section-lines hr:first-child {
  width: 72%;
}

.section-lines hr:nth-child(2) {
  width: 83%;
}

.section-lines hr:last-child {
  width: 100%;
}

.section-single-line {
  position: absolute;
  left: 0;
  bottom: 104px;
  width: calc((100% - 474px) / 2);
  height: 1px;
  background-color: var(--uranian-blue);
  border: none;
}

.section-single-line:nth-child(2n) {
  left: auto;
  right: 0;
}

.toggle-icon {
  display: none;
}

.footer {
  padding: 80px 100px;
}

.footer p {
  margin-top: 24px;
  text-align: center;
  line-height: 1.8;
  color: var(--outer-gray);
}

.footer .logo {
  left: 0;
  top: 0;
}

.footer .navbar {
  padding-bottom: 32px;
  height: 88px;
  border-bottom: 1px solid var(--stroke-medium);
  background-color: var(--white);
}

.footer .nav-link {
  margin: 0 19px;
}

@media (min-width: 768px) and (max-width: 1440px) {
  .navbar nav {
    position: relative;
    left: 56px;
  }
}

@media (min-width: 1440px) {
  .section-single-line {
    width: 34%;
  }
}

@media (max-width: 1120px) {
  .header-heading {
    font-size: 40px;
  }
  .general-gradient {
    width: 80px;
  }
}
