@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --primary-color1: rgb(108, 137, 255);
  --primary-color2: rgb(46, 52, 109);
  --primary-color3: rgba(35, 61, 166, 0.85);
  --primary-color4: rgb(108, 167, 255);
  --primary-color5: rgb(88, 106, 178);
  --white: rgb(255, 255, 255);
  --grey: rgba(108, 137, 255, 0.05);
  --text-basic: rgba(46, 52, 109, 0.7);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  color: var(--primary-color2);
  line-height: 1.6;
  background: var(--grey);
}

#about,
#challenges,
#solution,
#free-tool,
#team,
#contact-us {
  scroll-margin-top: 120px;
}

@media (max-width: 835px) {
  #about,
  #challenges,
  #solution,
  #free-tool,
  #team,
  #contact-us {
    scroll-margin-top: 78px;
  }
}

.header {
  padding: 10px 0 0 0;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.burger {
  display: none;
}

.nav {
  width: 95%;
  height: 90px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin: 10px auto;
  padding: 24px 10px 24px 40px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo img {
  margin-top: 8px;
}

.nav-menu {
  display: flex;
  list-style: none;
  padding: 10px;
  background: var(--grey);
  border-radius: 100px;
  transition: 0.3s;
}

.nav-menu li a {
  text-decoration: none;
  color: rgba(46, 52, 109, 0.5);
  border-radius: 100px;
  margin: 0 5px;
  padding: 0 25px;
  position: relative;
}

.nav-menu li a:hover {
  color: var(--primary-color1);
  cursor: pointer;
  background: var(--white);
}

.nav-menu li.active a {
  color: var(--primary-color1);
  background: var(--white);
}

.nav-menu li.active a::before {
  opacity: 1;
  visibility: visible;
}

.nav-menu li a::before {
  content: "";
  position: absolute;
  width: 13px;
  height: 13px;
  top: 5px;
  left: 5px;
  border-radius: 50%;
  background: var(--primary-color1);
  opacity: 0;
  visibility: hidden;
}

.nav-menu li a:hover::before {
  background: rgb(from var(--primary-color1) r g b / 0.5);
  opacity: 1;
  visibility: visible;
}

.button {
  position: relative;
  background: var(--primary-color2);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 100px;
  text-decoration: none;
  width: 196px;
  height: 42px;
  transition: 0.3s;
}

.button:hover {
  background-color: var(--primary-color1);
}

.button:active {
  background: var(--white);
  color: var(--primary-color2);
}

.button::before {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  top: 4px;
  right: 4px;
  border-radius: 50%;
  background: var(--white);
}

.button::after {
  content: url("../img/btn-arrow.svg");
  position: absolute;
  width: 7px;
  height: 14px;
  right: 17px;
  top: 11px;
}

.btn {
  display: none;
}

.header-content {
  width: 95%;
  margin: auto;
  display: flex;
  gap: 10px;
}

.left-block {
  background: var(--white);
  height: auto;
  border-radius: 10px;
  width: 55%;
  padding: 40px 85px 0 40px;
}

.left-block p {
  font-size: 1.63rem;
  font-weight: 300;
  line-height: 1.3;
  margin-top: 30px;
  color: var(--text-basic);
}

.left-block .button {
  display: block;
  margin: 50px 0 20px 0;
}

.header-content h1 {
  font-size: 50px;
  font-weight: 500;
  line-height: 40px;
  text-align: left;
  color: var(--primary-color2);
}

.left-block h1 {
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  color: var(--primary-color2);
}

.right-block {
  width: 45%;
}

/* Стили для правой группы навигации */
.nav-right-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Стили для языкового селектора */
.language-selector-container {
  position: relative;
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
}

.current-language {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  border-radius: 100px;
  background-color: rgba(108, 137, 255, 0.05);
  height: 32px;
  width: 32px;
  transition: background-color 0.3s;
}

.current-language:hover,
.current-language.active {
  background-color: rgba(108, 137, 255, 0.1);
}

.flag-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.language-dropdown {
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  min-width: 120px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
  z-index: 101;
  overflow: hidden;
}

.language-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-option {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.language-option:hover {
  background-color: rgba(108, 137, 255, 0.05);
}

.language-name {
  margin-left: 8px;
  font-size: 0.9rem;
  color: var(--primary-color2);
}

/* Адаптивные стили для мобильных устройств */
@media (max-width: 835px) {
  /* Стили для правой группы на мобильных */
  .nav-right-group {
    display: flex;
    align-items: center;
    gap: 5px; /* Уменьшенный отступ между элементами */
    margin-left: auto; /* Прижимаем к правому краю */
  }

  /* Скрываем кнопку демо на мобильных */
  .nav-right-group .button {
    display: none;
  }

  /* Показываем кнопку бургер и языковой селектор в одной линии */
  .burger {
    display: block;
    margin-left: 5px; /* Небольшой отступ от языкового селектора */
  }

  /* Уменьшаем размер языкового селектора на мобильных */
  .language-selector-container {
    margin: 0;
  }

  .current-language {
    height: 28px;
    width: 28px;
    padding: 4px;
  }

  .flag-icon {
    font-size: 1rem;
  }

  .language-dropdown {
    right: -10px;
    top: calc(100% + 10px);
  }

  .nav.show-menu .nav-menu {
    right: 0;
  }

  /* Стили для открытого меню бургера */
  .show-menu .top-string {
    transform: rotate(45deg);
    top: 11px;
  }

  .show-menu .middle-string {
    opacity: 0;
  }

  .show-menu .bottom-string {
    transform: rotate(-45deg);
    top: 11px;
  }
}

@media (max-width: 440px) {
  .nav-right-group {
    gap: 3px;
  }

  .current-language {
    height: 24px;
    width: 24px;
  }

  .language-dropdown {
    min-width: 100px;
  }

  .language-option {
    padding: 6px 8px;
  }

  .language-name {
    font-size: 0.8rem;
  }
}

.feature-boxes {
  display: grid;
  grid: 1fr 0.65fr / none;
  height: 100%;
}

.feature-boxes .emergency {
  width: 100%;
  background: linear-gradient(0deg, rgba(108, 137, 255, 0.8), rgba(108, 137, 255, 0.8)), left 20% top 20% / 120% no-repeat url(../img/emergency.png);
}

.feature-boxes .full-screening {
  flex-grow: 1;
  background: linear-gradient(0deg, rgba(46, 52, 109, 0.8), rgba(46, 52, 109, 0.8)), left / 190% no-repeat url(../img/full-screening.jpg);
}

.feature-boxes p {
  color: rgba(255, 255, 255, 0.6);
}

.feature-boxes h1 {
  color: var(--white);
  padding-right: 300px;
  font-size: 1.93rem;
}

.feature-boxes .report h1 {
  font-size: 1.63rem;
  font-weight: 300;
}

.feature-boxes .feature-box-line {
  display: flex;
  margin: 10px 0 0 0;
  gap: 10px;
  width: 100%;
}

.follow-ups {
  bottom: 22px !important;
  right: 22px !important;
}

.key-features {
  display: flex;
  margin: 10px 0 0 0;
  gap: 10px;
  height: 220px;
  width: 100%;
}

.key-features span {
  font-size: 1.63rem;
  font-weight: 500;
}

.key-features p {
  font-size: 1.63rem;
  font-weight: 200;
}

.key-features .title {
  font-size: 0.75rem;
  font-weight: 400;
}

.feature-box {
  background: var(--primary-color4);
  color: var(--white);
  width: 220px;
  padding: 20px 30px;
  border-radius: 10px;
  text-align: left;
}

.challenges,
.solution-main,
.team-content {
  background: var(--white);
  border-radius: 10px;
  width: 95%;
  margin: 30px auto;
  text-align: center;
  padding: 75px 150px;
}

.challenges,
.summary-solution {
  position: relative;
  overflow: hidden;
}

.solution-main {
  background: linear-gradient(0deg, rgba(46, 52, 109, 0.8), rgba(46, 52, 109, 0.8)), center 15% / 150% no-repeat rgba(46, 52, 109, 0.8) url(../img/scans.jpg);
}

.team-content {
  background: linear-gradient(0deg, rgba(46, 52, 109, 0.8), rgba(46, 52, 109, 0.8)), center no-repeat rgba(46, 52, 109, 0.8) url(../img/doctors.jpg);
  background-size: cover;
}

.team-members {
  display: grid;
  grid: min-content 1fr / repeat(3, 1fr);
  gap: 20px 40px;
  border-radius: 10px;
  background: var(--white);
  padding: 50px;
  width: 95%;
  margin: 30px auto;
}

.team-members .row-label {
  grid-column: 1 / 4;
  font-size: 1.63rem;
  font-weight: 500;
  color: var(--primary-color2);
}

.member-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: start;
}

.member-card img {
  align-self: center;
  height: 100%;
  width: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.member-card .name {
  color: var(--text-basic);
  font-size: 1.13rem;
  font-weight: 500;
  text-wrap: nowrap;
  padding: 8px 16px;
  border: 1.5px solid rgba(46, 52, 109, 0.3);
  border-radius: 100px;
}

.member-card .position {
  color: var(--primary-color1);
  font-size: 1.13rem;
  font-weight: 600;
  text-wrap: nowrap;
}

.member-card a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-color2);
  font-size: 1rem;
  font-weight: 300;
  text-decoration: underline;
}

.member-card a::before {
  content: "";
  display: inline-block;
  height: 1rem;
  width: 1rem;
  background: center no-repeat var(--white) url(../img/linkedin-c1-icon.svg);
  background-size: contain;
  border-radius: 4px;
}

.team-content img {
  position: absolute;
  top: 20%;
  left: 0;
  width: 100%;
}

.challenges h1,
.solution-main h1,
.solution-features h1,
.answers h1,
.freetool h1,
.team-content h1 {
  font-size: 1.93rem;
  font-weight: 500;
}

.challenges h2,
.solution-main h2 {
  font-size: 2.63rem;
  font-weight: 275;
  line-height: 1.25em;
}

.challenges span,
.solution-main span {
  color: var(--primary-color1);
  font-weight: 500;
}

.challenges p,
.solution-main p {
  font-size: 1.13rem;
  color: var(--text-basic);
}

.solution-main h1,
.solution-main h2,
.solution-main p {
  color: var(--white);
}

.team-content h1,
.team-content h2,
.team-content p {
  color: var(--white);
}

.challenges {
  display: grid;
  grid: min-content 1fr 1fr 1fr / 1fr 1fr;
  gap: 10px;
  text-align: left;
  padding: 30px;
}

.challenges h1 {
  text-align: center;
  grid-column: 1 / 3;
}

.challenges h2 {
  font-size: 1.63rem;
}

.challenge {
  display: grid;
  grid: none / min-content 1fr;
  padding: 30px;
  gap: 20px;
  background: var(--grey);
  border-radius: 10px;
}

.challenge:nth-of-type(odd):last-of-type {
  grid-column: 1 / 3;
}

.challenge p {
  margin-left: 40px;
}

.solution-aspects {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  row-gap: 20px;
  border-radius: 10px;
  background: var(--white);
  padding: 30px;
  width: 95%;
  margin: 30px auto;
}

.solution-aspects p {
  font-weight: 300;
  font-size: 1.13rem;
  line-height: 1.3;
}

.cell {
  display: grid;
  gap: 20px;
  grid: 1fr 1fr / none;
  align-items: start;
  background: var(--grey);
  padding: 30px;
  border-radius: 10px;
}

.cell h3 {
  display: flex;
  align-items: center;
  font-size: 1.13rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-basic);
  margin-bottom: 24px;
}

.cell p {
  color: rgba(46, 52, 109, 0.5);
}

.cap-tap-cts {
  display: flex;
  gap: 10px;
  grid-column: 1 / 5;
  padding-top: 20px;
  border-radius: 10px;
  background-color: var(--primary-color1);
}

.cap-tap-cts .left {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.cap-tap-cts .right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: end;
  width: 50%;
}

.cap-tap-cts .img {
  height: 100%;
  min-height: 600px;
  background: center no-repeat url(/assets/img/xaid-desktop.png);
  background-size: cover;
  flex-grow: 1;
}

.cap-tap-cts .card {
  max-width: 100%;
  width: max-content;
  color: var(--white);
  background-color: rgba(46, 52, 109, 0.4);
}

.cap-tap-cts .card p:first-of-type {
  font-weight: 500;
}

.cap-tap-cts .left .card {
  padding: 20px 40px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.cap-tap-cts .right .card {
  width: 100%;
  padding: 30px 50px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}

.cap-tap-cts .left .card p {
  font-size: 1.63rem;
}

.cap-tap-cts .dicom-sr {
  width: 100%;
  background: 0 0 no-repeat url(/assets/img/dicom-sr.png);
  background-size: cover;
  border-top-left-radius: 10px;
  border-bottom-right-radius: 10px;
  flex-grow: 1;
}

.product-modules {
  display: flex;
  gap: 20px;
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  width: 95%;
  margin: 30px auto;
}

.product-modules h2 {
  font-size: 1.93rem;
  font-weight: 500;
}

.product-modules p {
  font-size: 1.13rem;
  font-weight: 300;
  color: rgba(46, 52, 109, 0.5);
  padding: 20px 20% 20px 0;
}

.product-modules .human-body {
  width: 100%;
}

.product-modules .human-body canvas {
  display: block;
  background: top 0 left 50% no-repeat url(../img/human-body.png);
  background-size: contain;
}

.product-modules .modules-description {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  height: min-content;
}

.product-modules li button {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 1.63rem;
}

.product-modules li button:before {
  content: "";
  width: 64px;
  height: 64px;
}

.product-modules li.chest-ct-module button:before {
  background: url(../img/lungs-icon.svg);
  background-size: contain;
}

.product-modules li.abdominal-ct-module button:before {
  background: url(../img/liver-icon.svg);
  background-size: contain;
}

.product-modules li.module .module-pathologies {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 20px 30px 20px 0;
}

.product-modules li.module .module-pathologies span {
  color: rgba(46, 52, 109, 0.5);
  padding: 8px 24px;
  border: solid 1px rgba(46, 52, 109, 0.5);
  border-radius: 10px;
}

.product-modules .contact-us-button {
  display: block;
}

.solution-features {
  display: grid;
  grid: min-content 1fr / 1fr 1fr 1fr;
  gap: 10px;
  border-radius: 10px;
  background: var(--white);
  padding: 30px;
  width: 95%;
  margin: 30px auto;
  text-align: center;
}

.solution-features h1 {
  grid-column: 1 / 4;
}

.solution-feature {
  display: flex;
  border-radius: 10px;
  background: var(--grey);
  padding: 30px;
}

.solution-feature .title {
  display: grid;
  grid: none / 0.07fr 1fr;
  gap: 20px;
  width: 100%;
  text-align: left;
}

.solution-feature .title h3 {
  font-size: 1.63rem;
  font-weight: 275;
  line-height: 1.25em;
  color: var(--text-basic);
}

.solution-feature .title img {
  width: 100%;
}

.solution-feature .bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 80%;
}

.solution-feature .bullet {
  display: flex;
  gap: 10px;
  width: max-content;
  color: rgba(46, 52, 109, 0.5);
  background: var(--white);
  border-radius: 10px;
  padding: 10px;
}

.accordion {
  width: 100%;
  list-style-type: none;
}

.accordion li {
  margin-bottom: 10px;
}

.answers_accordion_content-button {
  margin-bottom: 40px;
}

.accordion-toggle {
  width: 100%;
  padding: 15px 10px;
  color: var(--primary-color2);
  background: var(--white);
  border: none;
  border-bottom: 1px solid var(--text-basic);
  cursor: pointer;
  text-align: left;
  font-size: 2.63rem;
  font-weight: 275;
  position: relative;

  scroll-margin-top: 120px;
}

.accordion-toggle:after {
  content: url("../img/arrow-down.svg");
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
}

.accordion-toggle.active:after {
  content: url("../img/arrow-up.svg");
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 10px;
  color: var(--text-basic);
  background-color: var(--white);
  border-top: none;
  border-radius: 0 0 5px 5px;
}

.accordion-content ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.accordion-content li {
  display: flex;
  gap: 10px;
  position: relative;
  width: 240px;
  padding: 30px 20px 0;
  font-size: 1.63rem;
  font-weight: 275;
}

.accordion-content li::before {
  content: "";
  width: 20px;
  height: 20px;
  background-color: var(--primary-color1);
  border-radius: 50%;
  transform: translateY(50%);
}

.answers {
  width: 95%;
  margin: auto auto 30px auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 30px 30px 50px;
  background-color: var(--white);
  border-radius: 10px;
}

.answers h1 {
  margin-top: 75px;
  margin-bottom: 80px;
}

.answers_accordion_content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 24px;
  font-weight: 300;
}

.answers_accordion_content-title {
  font-weight: 500;
}

.answers_accordion_content li {
  width: 100%;
  padding: 0 0 0 18px;
  font-size: 24px;
}

.answers ul {
  display: flex;
  flex-direction: column;
  margin: 10px 15px;
}

.freetool {
  background-image: url("../img/xaid_free_background.webp");
  background-size: cover;
  background-position: bottom;
  width: 95%;
  margin: 30px auto;
  padding: 110px 30px 76px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 10px;

  @media (max-width: 821px) {
    padding: 20px 30px;
  }
}

.freetool-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.freetool-content h2,
.team-content h2 {
  font-size: 34px;
  font-weight: 500;
  line-height: 46px;
  margin-bottom: 20px;
  text-align: center;

  @media (max-width: 835px) {
    font-size: 16px;
    line-height: 18px;
  }
}

.freetool-content p,
.team-content p {
  font-size: 24px;
  font-weight: 300;
  line-height: 33px;
  text-align: center;

  @media (max-width: 835px) {
    font-size: 12px;
    line-height: 15px;
  }
}

.freetool-content .buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 54px;
}

@media (max-width: 835px) {
  .freetool-content .buttons {
    gap: 10px;
    margin-top: 20px;
  }
}

.freetool-content .buttons a {
  background: var(--primary-color1);
  border-radius: 100px;
  text-align: center;
  color: var(--white);
  padding: 15px 50px;
  text-decoration: none;

  @media (max-width: 835px) {
    font-size: 12px;
    line-height: 16px;
    padding: 7px 30px;
  }
}

.xaid_free_container {

  .form_nav_back {
    width: 95%;
    height: 100%;
    margin: 0 auto;
    display: flex;
    border-radius: 10px;
    text-align: center;
    background: var(--white);
    padding: 30px 20px;
    gap: 20px;

    .nav_back_btn {
      outline: none;
      border: none;
      text-decoration: none;
      color: var(--primary-color2);
      background: var(--white);
      display: flex;
      align-items: center;
      cursor: pointer;

      img {
        height: 20px;
        margin-right: 32px;
        transform: rotate(180deg);
      }

      span {
        font-size: 14px;
        font-weight: 400;
        line-height: 19px;
        text-align: left;
      }
    }
  }

  .banner {
    background-image: url("../img/request_features_background.webp");
    background-size: cover;
    background-position: bottom;
    height: 230px;
    width: 95%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;

    @media (max-width: 821px) {
      height: 85px;
    }

    h2 {
      font-size: 42px;
      font-weight: 500;
      line-height: 47px;
      text-align: center;
      color: var(--white);

      @media (max-width: 821px) {
        font-size: 16px;
      }
    }
  }

  .xaid-free-form-container {
    .steps {
      width: 95%;
      height: 100%;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      border-radius: 10px;
      text-align: center;
      background: var(--white);
      padding: 30px;
      gap: 20px;

      @media (max-width: 821px) {
        padding: 20px 12px;
      }

      h2 {
        display: none;
        font-size: 16px;
        font-weight: 400;
        line-height: 21px;

        @media (max-width: 821px) {
          display: block;
        }
      }

      .container {
        display: flex;
        gap: 10px;

        @media (max-width: 821px) {
          flex-direction: column;
        }
      }

      .step_block {
        padding: 40px 20px;
        background: rgba(108, 137, 255, 0.05);
        display: flex;
        flex-direction: column;
        gap: 32px;
        border-radius: 10px;

        @media (max-width: 821px) {
          flex-direction: row;
          padding: 16px 12px;
          border-radius: 5px;
        }

        .step_number {
          font-size: 26px;
          line-height: 32px;
          color: var(--primary-color1);

          @media (min-width: 821px) {
            .dot {
              display: none;
            }
          }

          @media (max-width: 821px) {
            .dot {
              display: block;
            }

            .step_noun {
              display: none;
            }

            display: flex;
          }

          @media (max-width: 951px) {
            font-size: 24px;
          }
        }

        .step_content {
          display: flex;
          flex-direction: column;
          gap: 8px;
          font-size: 18px;

          @media (max-width: 951px) {
            font-size: 12px;
          }

          @media (max-width: 821px) {
            text-align: left;
          }

          .step_description {
            font-weight: 275;
            line-height: 22px;
            color: var(--text-basic);
          }
        }
      }
    }
  }
}

.xaid-free-form-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 30px;
}

.xaid-free-form-container .welcome_banner {
  background-image: url(../img/xaid_free_form_banner_background.webp);
  background-size: cover;
  background-position: bottom;
  width: 95%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  padding: 80px 0;

  @media (max-width: 821px) {
    padding: 26px 0;
  }
}

.xaid-free-form-container .solution h2 {
  font-size: 26px;
  line-height: 34px;
}

.xaid-free-form-container .welcome_banner .banner-content h2 {
  font-size: 58px;
  font-weight: 500;
  line-height: 64px;
  text-align: center;
  color: var(--white);
  padding: 12px;
}

.xaid-free-form-container .solution {
  width: 100%;
}

.xaid-free-form-container .solution .solution-main {
  margin: 0 auto;
}

@media (max-width: 835px) {
  .xaid-free-form-container {
    gap: 8px;
  }

  .xaid-free-form-container .welcome_banner .banner-content h2 {
    font-size: 16px;
    line-height: 36px;
  }

  .xaid-free-form-container .solution h2 {
    font-weight: 275;
  }

  .xaid-free-form-container .solution p {
    display: inline-block;
  }
}

.xaid-free-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 95%;
  margin: 0 auto;
  padding: 30px;
  border-radius: 10px;
  background: var(--white);
}

.xaid-free-features h2 {
  font-size: 26px;
  font-weight: 500;
  line-height: 31px;
}

.xaid-free-features .feature {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px 20px 60px 20px;
  border-radius: 10px;
  background-color: var(--primary-color5);
  color: var(--white);
}

.xaid-free-features .feature-desc {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;

  text-align: center;
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
}

.xaid-free-features .feature-desc p {
  color: rgba(255, 255, 255, 0.7);
}

.xaid-free-features .feature img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

@media (max-width: 835px) {
  .xaid-free-features {
    grid-template-columns: unset;
    grid-template-rows: repeat(3, 1fr);
    gap: 4px;
  }

  .xaid-free-features h2 {
    font-size: 12px;
  }

  .xaid-free-features .feature {
    padding: 16px 20px;
  }

  .xaid-free-features .feature-desc {
    gap: 6px;
    font-size: 12px;
    align-items: start;
    text-align: start;
  }

  .xaid-free-features .feature img {
    display: none;
  }
}

.request-form {
  width: 95%;
  height: 230px;
  border-radius: 10px;
  color: var(--white);
  text-align: center;
  align-content: center;
  background: url(../img/xaid-free-landscape.png);
  background-size: cover;
}

.request-form h1 {
  font-size: 42px;
  font-weight: 500;
}

@media (max-width: 835px) {
  .request-form {
    height: 83px;
  }

  .request-form h1 {
    font-size: 16px;
  }
}

#xaid-free-form .d-none {
  display: none;
}

.xaid-free-form {
  width: 95%;
  border-radius: 10px;
  background-color: var(--white);
  padding: 40px 30px;
}

.xaid-free-form label {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  text-align: left;
  color: var(--text-basic);
}

.xaid-free-form select,
.xaid-free-form input,
.xaid-free-form textarea {
  width: 100%;
  padding: 21px 30px;
  background: rgba(108, 137, 255, 0.08);
  border-radius: 8px;
  outline: none;
  border: none;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  text-align: left;
  resize: none;
}

.xaid-free-form h1 {
  font-size: 26px;
  font-weight: 500;
  line-height: 32px;
  margin-bottom: 40px;
}

@media (max-width: 835px) {
  .xaid-free-form {
    padding: 30px 20px;
  }

  .xaid-free-form h1 {
    font-size: 16px;
    line-height: 19px;
    margin-bottom: 32px;
  }
}

.xaid-free-form .personal-information-container {
  display: flex;
  gap: 20px;
}

@media (max-width: 835px) {
  .xaid-free-form .personal-information-container {
    flex-direction: column;
  }
}

.xaid-free-form .personal-information-input {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.xaid-free-form .personal-information-input .select-wrapper::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 16px;
  right: 30px;
  top: calc(50% + 8px);
  background: no-repeat url(../img/btn-arrow.svg);
  transform: rotate(90deg);
}

.xaid-free-form.contact {
  width: 95%;
  padding: 0;
  background-color: unset;

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.xaid-free-form .contact-information,
.xaid-free-form .preferred-contact-method {
  padding: 40px 30px;
  background-color: var(--white);
  border-radius: 10px;
}

@media (max-width: 835px) {
  .xaid-free-form.contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .xaid-free-form .contact-information,
  .xaid-free-form .preferred-contact-method {
    padding: 30px 20px;
  }
}

.xaid-free-form .contact-information-phone {
  display: grid;
  grid-template-columns: 30% auto;
  gap: 12px;
  margin-bottom: 24px;
}

.xaid-free-form .contact-information-phone-input,
.xaid-free-form .contact-information-email-input {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.xaid-free-form .preferred-contact-method-fieldset-wrapper fieldset {
  outline: none;
  border: none;
  padding: 0;
}

.xaid-free-form .preferred-contact-method-fieldset-wrapper legend {
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  text-align: left;
  color: var(--text-basic);
}

.xaid-free-form .preferred-contact-method-fieldset .radio:not(:last-child) {
  margin-bottom: 12px;
}

.xaid-free-form .preferred-contact-method-fieldset .radio label {
  position: relative;
  display: flex;
  justify-content: start;
  align-items: center;
  border: 2px solid var(--grey);
  border-radius: 10px;
  padding: 20px;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  text-align: left;

  cursor: pointer;
}

.xaid-free-form .preferred-contact-method-fieldset .radio label:has(+ input:checked)::before {
  content: "";
  position: absolute;
  left: 0;
  height: 100%;
  width: 10px;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  background: var(--primary-color4);
}

.xaid-free-form .preferred-contact-method-fieldset .radio label .radio-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  margin-left: auto;
  height: 25px !important;
  width: 25px !important;
  border: 2px solid var(--grey);
  border-radius: 50%;
  background-color: var(--white);
}

.xaid-free-form .preferred-contact-method-fieldset .radio label .radio-circle .checkmark {
  height: 10px !important;
  width: 10px !important;
  border-radius: 50%;
}

.xaid-free-form .preferred-contact-method-fieldset .radio label:has(+ input:checked) .radio-circle .checkmark {
  background-color: var(--primary-color4);
}

.xaid-free-form .preferred-contact-method-fieldset .radio input {
  display: none;
}

.xaid-free-form .details-of-use-input {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.xaid-free-form .details-of-use-input textarea {
  height: 7lh;
}

.xaid-free-form.submit {
  display: flex;
  justify-content: end;
}

.xaid-free-form.submit .submit-btn {
  width: 260px;
  height: 50px;
  border: none;
  border-radius: 100px;
  background-color: var(--primary-color1);
  color: var(--white);
  font-size: 1.13rem;
  font-weight: 400;
  cursor: pointer;
}

@media (max-width: 835px) {
  .xaid-free-form.submit {
    justify-content: center;
    background-color: unset;
  }

  .xaid-free-form.submit .submit-btn {
    width: 95%;
    font-size: 16px;
  }
}

.success-form-submission-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.success-form-submission-container .submitted {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  width: 95%;
  padding: 70px 30px;
  background-color: var(--white);
  border-radius: 10px;
  text-align: center;
}

.success-form-submission-container .submitted-icon {
  height: 140px;
  width: 140px;
  background: var(--grey) center no-repeat url(../img/success_icon.svg);
  border-radius: 50%;
}

.success-form-submission-container .submitted-text {
  padding: 0 15%
}

.success-form-submission-container .submitted-text h1 {
  font-size: 26px;
  font-weight: 500;
}

.success-form-submission-container .submitted-text p {
  font-size: 24px;
  font-weight: 300;
  color: var(--text-basic);
}

.success-form-submission-container .goback-link {
  width: 20%;
  padding: 15px;
  margin-top: 20px;
  background: var(--primary-color1);
  border-radius: 100px;
  text-align: center;
  color: var(--white);
  text-decoration: none;
}

@media (max-width: 835px) {
  .success-form-submission-container {
    gap: 8px;
  }

  .success-form-submission-container .submitted-text h1 {
    font-size: 16px;
  }

  .success-form-submission-container .submitted-text p {
    font-size: 12px;
  }

  .success-form-submission-container .goback-link {
    width: 60%;
  }
}

.limitations_ul li::before {
  content: "";
  width: 8px;
  height: 8px;
  background-color: var(--text-basic);
  border-radius: 50%;
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
}

.footer {
  display: flex;
  justify-content: space-between;
  padding: 60px 30px 30px 60px;
  background-color: var(--primary-color2);
  width: 95%;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.7);
  margin: 30px auto;
}

.contact-info {
  padding-right: 40px;
  width: 40%;
}

.contact-info h1,
.contact-form h1 {
  font-size: 1.13rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.contact-info p {
  color: var(--white);
  font-size: 1.63rem;
  font-weight: 300;
  line-height: 120%;
  margin-bottom: 50px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 50%;
}

.contact-form .submit {
  align-self: end;
  width: 260px;
  height: 50px;
  border: none;
  border-radius: 100px;
  background-color: var(--white);
  color: var(--primary-color2);
  font-size: 1.13rem;
  font-weight: 400;
  cursor: pointer;
}

@media (max-width: 835px) {
  .contact-form .submit {
    width: 100%;
    font-size: 16px;
  }
}

.form-group input::placeholder {
  font-size: 1.75rem;
  font-weight: 275;
  color: rgba(255, 255, 255, 0.4);
}

.required:after {
  content:" *";
  color: red;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 1.13rem;
  font-weight: 500;
  margin-bottom: 5px;
}

.form-group input {
  padding: 20px 40px;
  height: 68px;
  border: 3px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  font-size: 1.75rem;
}

.form-group input:focus {
  outline: inherit;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15em, 1fr));
  gap: 20px;
  width: 100%;
}

.footer-line {
  width: 85%;
  height: 1px;
  background: rgba(46, 52, 109, 0.1);
  margin: 60px auto 0;
}

.privacy {
  font-size: 1.13rem;
  font-weight: 275;
  display: flex;
  justify-content: space-between;
  width: 95%;
  margin: 60px 35px;
  padding: 0 30px;
}

.privacy a {
  text-decoration: none;
  color: var(--primary-color2);
}

.privacy a:visited {
  color: var(--primary-color2);
}


@media (max-width: 1386px) {
  .solution-aspects {
    padding: 12px;
    row-gap: 10px;
  }
}

@media (max-width: 1314px) {
  .accordion-toggle {
    font-size: 1.5rem;
  }
  .accordion-content li {
    font-size: 1.2rem;
  }
  .answers p {
    font-size: 1.2rem;
  }
  .accordion li {
    margin-bottom: 5px;
  }
  .accordion-toggle:after {
    right: 10px;
    top: 50%;
    transform: translateY(-50%) scale(0.7);
    font-size: 10px;
  }
}

@media (max-width: 1282px) {
  .nav-menu li a {
    padding: 0 10px;
    font-size: 12px;
    margin: 0 3px;
  }

  .nav-menu li a::before {
    width: 10px;
    height: 10px;
    top: 4px;
    left: -2px;
  }

  .header-content h1 {
    font-size: 3rem;
  }

  .left-block p {
    font-size: 1.4rem;
  }

  .feature-boxes h1 {
    font-size: 1.4rem;
    padding-right: unset;
  }

  .solution-main,
  .team-content {
    padding: 40px;
  }

  .challenges h1,
  .solution-main h1,
  .solution-features h1,
  .answers h1,
  .freetool h1,
  .team-content h1 {
    font-size: 1rem;
  }

  .challenges h2,
  .solution-main h2,
  .team-content h2 {
    font-size: 1.63rem;
  }

  .challenges span,
  .solution-main span {
    font-weight: 500;
  }

  .challenges p,
  .solution-main p {
    font-size: 1rem;
    font-weight: 300;
  }

  .challenge {
    padding: 30px;
  }

  .challenge p {
    margin-left: 20px;
  }

  .product-modules h2 {
    font-size: 1.63rem;
  }

  .product-modules p {
    font-size: 1rem;
    padding: 10px 0;
  }

  .product-modules li button {
    font-size: 1.13rem;
  }

  .product-modules li button:before {
    height: 48px;
    width: 48px;
  }

  .product-modules li.module .module-pathologies {
    gap: 6px;
  }

  .product-modules li.module .module-pathologies span {
    font-size: 0.85rem;
    padding: 6px 18px;
  }

  .solution-feature .title h3 {
    font-size: 1.13rem;
  }

  .team-members {
    padding: 30px;
    gap: 15px 30px;
  }

  .team-members .row-label {
    font-size: 1.13rem;
  }

  .member-card {
    gap: 10px;
  }

  .member-card .name {
    font-size: 1rem;
  }

  .member-card .position {
    font-size: 1rem;
  }

  .member-card a {
    font-size: 0.93rem;
  }
}

@media (max-width: 1152px) {
  .footer {
    padding: 30px;
  }

  .contact-info {
    padding-right: 0;
  }

  .contact-info h1,
  .contact-form h1 {
    font-size: 1rem;
  }

  .contact-info p {
    font-size: 1.2rem;
  }

  .form-group input::placeholder {
    font-size: 1.5rem;
  }

  .form-group label {
    font-size: 1rem;
  }

  .form-group input {
    padding: 10px 30px;
    height: 58px;
    font-size: 1.5rem;
  }

  .submit {
    font-size: 1rem;
  }
}

@media (max-width: 950px) {
  .nav {
    padding: 24px 10px;
  }

  .button,
  .left-block .button {
    padding: 4px 13px;
    height: 30px;
    font-size: 0.9rem;
  }

  .button::before {
    width: 23px;
    height: 23px;
  }

  .button::after {
    right: 11px;
    top: 8px;
  }

  .logo img {
    width: 66px;
    height: auto;
  }

  .feature-box {
    width: 180px;
  }

  .accordion-content li {
    font-size: 1rem;
  }

  .accordion-toggle {
    font-size: 1.2rem;
    padding: 13px 10px;
  }

  .accordion li {
    margin-bottom: 0;
  }

  .answers p {
    font-size: 1rem;
  }
}

@media (max-width: 835px) {
  .logo img {
    width: 46px;
    height: 19px;
  }

  .burger {
    z-index: 6;
    display: block;
    position: relative;
    width: 24px;
    height: 24px;
    cursor: pointer;
    padding: 5px 3px;
  }

  .top-string,
  .middle-string,
  .bottom-string {
    width: 24px;
    height: 3px;
    background-color: var(--primary-color1);
    transition: 0.3s;
    border-radius: 20px;
  }

  .top-string {
    position: absolute;
    top: 2px;
  }

  .middle-string {
    position: absolute;
    top: 11px;
  }

  .bottom-string {
    position: absolute;
    top: 20px;
  }

  .nav {
    padding: 12px;
    height: 48px;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    z-index: 5;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: rgb(248, 248, 248);
    border-radius: 10px;
    transition: right 0.3s ease-in-out;
  }

  .nav-menu li {
    width: 100%;
    margin-bottom: 20px;
  }

  .nav-menu li a {
    padding: 15px 30px;
    width: 90%;
    display: block;
  }

  .nav-menu li a::before {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    top: 18px;
    left: 9px;
    border-radius: 50%;
    background: var(--primary-color1);
    opacity: 0;
    visibility: hidden;
  }

  .left-block .button,
  .button {
    display: none;
  }

  .btn {
    display: flex;
    background: var(--white);
    color: var(--primary-color2);
    border-radius: 100px;
    text-decoration: none;
    width: 115px;
    height: 28px;
    font-size: 0.75rem;
    justify-content: center;
    align-items: center;
    margin-left: auto;
  }

  .left-block .btn {
    background: var(--primary-color2);
    color: var(--white);
    justify-content: center;
    align-items: center;
    margin-left: 0;
    margin-top: 20px;
  }

  .show-menu .nav-menu {
    right: 0;
  }

  .show-menu .top-string {
    transform: rotate(45deg);
    top: 11px;
  }

  .show-menu .middle-string {
    opacity: 0;
  }

  .show-menu .bottom-string {
    transform: rotate(-45deg);
    top: 11px;
  }

  .header-content {
    flex-direction: column;
  }

  .feature-boxes {
    display: block;
  }

  .feature-boxes .feature-box-line {
    flex-direction: column-reverse;
    gap: 0;
    height: auto;
    width: 100%;
  }

  .feature-box {
    width: 100%;
    margin-bottom: 10px;
  }

  .feature-box.report {
    margin-bottom: 0;
  }

  .left-block {
    width: 100%;
    padding: 30px 12px;
  }

  .right-block {
    width: 100%;
  }

  .header-content h1 {
    font-size: 1.93rem;
  }

  .left-block p {
    font-size: 1rem;
  }

  .feature-boxes h1 {
    padding-right: 0;
  }

  .feature-boxes .emergency {
    height: auto;
  }

  .challenges {
    padding: 12px;
  }

  .challenge {
    padding: 12px;
  }

  .challenge p {
    margin-left: 0;
  }

  .cell {
    grid: none / 0.1fr 1fr;
    padding: 20px 12px;
  }

  .cell img {
    width: 100%;
    height: 100%;
  }

  .cell h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 16px;
  }

  .cell p {
    font-size: 1rem;
    font-weight: 300;
    line-height: 130%;
  }

  .solution-aspects {
    display: flex;
    flex-direction: column;
    padding: 12px;
    row-gap: 10px;
    margin: 10px auto;
  }

  .cap-tap-cts {
    flex-direction: column;
  }

  .cap-tap-cts .card p,
  .cap-tap-cts .left .card p {
    font-size: 1rem;
  }

  .cap-tap-cts .left {
    width: 100%;
  }

  .cap-tap-cts .right {
    width: 90%;
    align-self: flex-end;
  }

  .cap-tap-cts .right .card {
    padding: 20px 30px;
  }

  .cap-tap-cts .dicom-sr {
    height: 300px;
  }

  .product-modules {
    padding: 12px;
    margin: 10px auto;
  }

  .product-modules h2 {
    font-size: 1rem;
  }

  .product-modules p {
    font-size: 0.75rem;
  }

  .product-modules .modules-description {
    gap: 10px;
  }

  .product-modules li button {
    font-size: 1rem;
  }

  .product-modules li button:before {
    height: 32px;
    width: 32px;
  }

  .product-modules li.module .module-pathologies {
    gap: 4px;
    margin: 10px 0;
  }

  .product-modules li.module .module-pathologies span {
    font-size: 0.75rem;
    padding: 4px 12px;
  }

  .solution-features {
    grid: min-content repeat(3, 1fr) / none;
    padding: 12px;
    margin: 10px auto;
  }

  .solution-features h1 {
    grid-column: unset;
  }

  .solution-feature {
    padding: 20px 12px;
  }

  .solution-feature .bullets {
    flex-direction: column;
  }

  .solution-feature .title h3 {
    font-size: 1rem;
  }

  .accordion {
    list-style-type: none;
  }

  .accordion li {
    margin-bottom: 15px;
  }

  .accordion-toggle {
    padding: 5px;
    font-size: 1rem;
    font-weight: 275;

    scroll-margin-top: 78px;
  }

  .accordion-toggle:after {
    right: 10px;
    top: 50%;
    transform: translateY(-50%) scale(0.5);
    font-size: 10px;
  }

  .accordion-content {
    padding: 0 10px;
  }

  .accordion-content ul {
    padding: 0;
    margin: 10px 0;
  }

  .accordion-content li {
    padding: 0 20px;
    font-size: 1rem;
  }

  .solution-main,
  .team-content {
    margin: 10px auto;
    text-align: center;
    padding: 40px 12px;
  }

  .challenges h2,
  .solution-main h2 {
    font-size: 1rem;
  }

  .challenges span,
  .solution-main span {
    font-weight: 500;
  }

  .challenges p {
    font-size: 0.75rem;
  }

  .solution-main p {
    display: none;
  }

  .answers {
    margin: 10px auto;
  }

  .answers h1 {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .freetool {
    margin: 10px auto;
  }

  .team-members {
    padding: 12px;
    margin: 10px auto;
    gap: 12px;
  }

  .team-members .row-label {
    grid-column: 1 / 4;
    font-size: 1rem;
  }

  .member-card {
    gap: 6px;
  }

  .member-card .name {
    font-size: 0.75rem;
    padding: 4px 8px;
  }

  .member-card .position {
    font-size: 0.75rem;
  }

  .member-card a {
    font-size: 0.63rem;
  }

  .members-summary-container .name,
  .members-summary-container .position,
  .members-summary-container a {
    display: none;
  }

  .footer {
    flex-direction: column;
    padding: 22px 12px;
    margin: 10px auto;
  }

  .contact-info {
    padding: 0;
    width: 100%;
  }

  .contact-info h1,
  .contact-form h1 {
    font-size: 0.75rem;
  }

  .contact-info p {
    font-size: 1rem;
    line-height: 130%;
  }

  .contact-form {
    width: 100%;
  }

  .contact-form input {
    height: 34px;
    width: 100%;
    margin: auto;
  }

  .form-group label {
    font-size: 0.75rem;
  }

  .form-group input {
    padding: 20px;
    font-size: 0.75rem;
  }

  .form-group input::placeholder {
    font-size: 0.75rem;
  }

  .submit {
    width: 100%;
    margin: auto;
  }

  .footer-line {
    width: 95%;
    margin-top: 40px;
  }

  .privacy {
    margin: auto;
    padding: 20px 0;
    font-size: 0.75rem;
  }
}

@media (max-width: 440px) {
  .header-content h1 {
    font-size: 1.25rem;
    line-height: 35px;
  }

  .left-block h1 {
    font-size: 2rem;
  }

  .team-members {
    grid: 1fr 1fr / 1fr 1fr;
  }

  .team-members .row-label {
    grid-column: 1 / 3;
  }
}
