:root {
  --color-text-link: #27272B;
  --color-text-title: #27272B;
  --bgc-btn: #00AFF0;
  --color-btn-text: #fff;
  --hover-btn: #008CC4;
  /* Darker shade of #00AFF0 */
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  max-width: 100%;
}

button {
  cursor: pointer;
}

img {
  width: auto;
  height: auto;
  max-width: 100%;
  height: auto;
}

a {
  text-transform: none;
  text-decoration: none;
  transition: color 0.3s ease;
}

.container {
  width: 100%;
  max-width: 1410px;
  margin: 0 auto;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  background-color: #E5EFFE;
  overflow-x: hidden;
}

main {
  position: relative;
  z-index: 1;
}

.no-scroll {
  overflow: hidden;
}

/*Start NavBar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #E5EFFE;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 999;
  padding: 27px 0;
}

.navbar.scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  /* Додається тінь після скролу */
}

.wrapper_nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.mobile_none {
  display: none;
}

.logo {
  height: 54px;
  width: auto;
}

img.logo {
  padding: 5px;
}


.menu ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 40px;
}

.link {
  color: var(--color-text-link);
  font-weight: 500;
  font-size: 16px;
  line-height: 18px;
  position: relative;
}

.link::after {
  content: '';
  width: 0%;
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  background-color: var(--color-text-link);
  transition: width 0.3s ease-in-out;
}

.link:hover::after {
  width: 100%;
}

.apply-button {
  background-color: var(--bgc-btn);
  color: var(--color-btn-text);
  text-transform: uppercase;
  font-weight: 700;
  padding: 17px 30px;
  border-radius: 10px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: inline-block;
}

.submit {
  background-color: var(--bgc-btn);
  color: var(--color-btn-text);
  text-transform: uppercase;
  font-weight: 700;
  padding: 17px 40px;
  border-radius: 10px;
  font-weight: 700;
  position: relative;
  z-index: 1;
  overflow: hidden;
  display: inline-block;
  border: none;
  width: 260px;
}

.submit::after {
  background-color: var(--hover-btn);
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 100%;
  transition: width 0.3s ease, left 0.3s ease;
  z-index: -1;
  transform: translate(-50%, -50%);
}

.apply-button::after {
  background-color: var(--hover-btn);
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 100%;
  transition: width 0.3s ease, left 0.3s ease;
  z-index: -1;
  transform: translate(-50%, -50%);
}

.apply-button:hover::after {
  width: 100%;
}

.submit:hover::after {
  width: 100%;
}

.apply.mobile {
  display: none;
}

.hamburger {
  display: flex;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 29px;
  height: 29px;
  cursor: pointer;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: #19181E;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.apply-button.mobile {
  display: none;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -5px);
}

/* End NavBar */

/* Start First Section */
.recruitment {
  padding-top: 173px;
  padding-bottom: 200px;
}

.container_full {
  width: 95%;
  padding: 0 2rem;
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  margin-bottom: 200px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  height: auto;
  width: 56%;
  gap: 20px;
}

.main_title {
  font-size: 64px;
  line-height: 76px;
  font-weight: 700;
  color: var(--color-text-title);
  margin-bottom: 50px;
}

.highlight {
  color: var(--color-btn-text);
  background-color: var(--bgc-btn);
  margin-top: 10px;
  font-style: italic;
}

.highlight.block {
  display: inline-block;
  margin-top: 20px
}

.main_text {
  font-size: 20px;
  line-height: 28px;
  font-weight: 500;
  color: var(--color-text-link);
  font-weight: 500;
  margin-bottom: 30px;
}

.main_text.last {
  margin-bottom: 60px;
}

.text-content {
  width: 50%;
}

.video-container {
  width: 400px;
  height: 700px;
  max-width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.video-container video,
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-wrapper {
  margin-bottom: 30px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  display: none;
  /* Hidden on desktop by default */
}

.desktop-visible {
  display: block;
}

.mobile-visible {
  display: none;
}

.info-lists {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  margin-bottom: 107px;
  /* Add some space before stats if needed, or stick to whatever was there */
}

.info-column {
  flex: 1;
  background-color: #fff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.info-column h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-title);
  margin-bottom: 24px;
}

.info-column ul {
  list-style: none;
  padding: 0;
}

.info-column li {
  font-size: 18px;
  color: var(--color-text-link);
  margin-bottom: 16px;
  padding-left: 20px;
  position: relative;
  font-weight: 500;
  line-height: 1.4;
}

.info-column li::before {
  content: '';
  width: 8px;
  height: 8px;
  background-color: var(--bgc-btn);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 9px;
}

.info-column li:last-child {
  margin-bottom: 0;
}

.text-content>.apply-button {
  display: inline-block;
}

.link.mobile {
  display: none;
}

.hero-cta-wrapper {
  text-align: center;
  margin: 40px 0 60px 0;
  width: 100%;
}

.hero-cta-wrapper .apply-button {
  display: inline-block;
}


.stats {
  background-color: var(--bgc-btn);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 40px 0;
  text-align: center;
  position: relative;
}

.number {
  font-size: 72px;
  font-weight: 700;
  color: var(--color-btn-text);
  line-height: 74px;
}

.number_text {
  font-size: 32px;
  color: var(--color-btn-text);
  font-weight: 600;
}

.stats-grid .stat-item {
  position: relative;
}

.stats-grid .stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  height: 40px;
  border-radius: 10px;
  width: 2px;
  background-color: #fff;
  transform: translateY(-50%);
}

.cross_line {
  display: none;
}

.services {
  margin-bottom: 194px;
}

.services_title {
  font-size: 64px;
  color: var(--color-text-title);
  font-weight: 700;
  line-height: 68px;
  text-align: center;
  margin-bottom: 32px;
}

.services_text {
  font-size: 20px;
  line-height: 28px;
  color: var(--color-text-link);
  font-weight: 500;
  text-align: center;
  margin-bottom: 88px;
}

.services_wrapper {
  display: flex;
  justify-content: space-between;
  gap: 80px;
  margin-bottom: 163px;
}

.icon_services {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 20px;
  background-color: var(--color-btn-text);
}

.item_title {
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  color: var(--color-text-link);
  margin: 16px 0;
}

.item_text {
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  color: var(--color-text-link);
}

.icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.opportunities_wrapper {
  padding: 60px 92px 80px 90px;
  background-color: var(--color-btn-text);
  border-radius: 40px;
  box-shadow: 0px 7px 16.6px 0px rgba(0, 0, 0, 0.05);
}

.opportunities_wrapper_item {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.opportunities_title {
  font-size: 64px;
  line-height: 68px;
  color: var(--color-text-title);
  margin-bottom: 32px;
}

.opportunities_text {
  font-size: 20px;
  color: var(--color-text-link);
  font-weight: 500;
  line-height: 25px;
}

.opportunities_item {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 24px 0 8px 0;
}

.wrapper--title {
  position: relative;
  margin-bottom: 53px;

}

.wrapper--title::before {
  content: '';
  display: block;
  position: absolute;
  width: 3px;
  height: 100%;
  background-color: #00A6E6;
  top: 0;
  left: -32px;
  border-radius: 100px;
  overflow: hidden;
}

.result_line {
  display: flex;
  justify-content: space-between;
  gap: 13px;
  align-items: flex-end;
  padding-bottom: 16px;
}

.line_left {
  padding-left: 24px;
}

.line_right {
  padding-right: 16px;
}

.title_graph {
  font-size: 20px;
  font-weight: 700;
  line-height: 22px;
  color: var(--color-text-title);
  padding-bottom: 8px;
  padding-left: 24px;
}

.total {
  color: #1F2327;
  opacity: 0.5;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
  margin-top: 16px;
}

.sum {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: var(--color-text-title);
}

.ranking {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  background: rgba(62, 209, 105, 0.05);
  padding: 4px 8px;
  gap: 6px;
  width: 75px;
}

.ranking_text {
  font-size: 12px;
  font-weight: 600;
  line-height: 14px;
  letter-spacing: 0.12px;
  color: #3ED169;
}

.wrapper_rating {
  display: flex;
  gap: 13px;
}

.border {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.chat-section {
  position: relative;
}

.wrapper_content {
  display: flex;
  gap: 26px;
}

.chat-content {
  position: relative;
  z-index: 1;
  width: 134%;
}

.chat-image-container {
  width: 100%;
  position: relative;
}

.message_icon_first {
  max-width: 201px;
  position: absolute;
  top: 15vw;
  left: 0;
}

.message_icon_second {
  max-width: 124px;
  position: absolute;
  right: 3vw;
  top: 9vw;
}

.chat-title {
  font-size: 64px;
  color: var(--color-text-title);
}

.chat-description {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: var(--color-text-link);
}

.chat-details {
  margin-top: 40px;
}

.chat-detail-title {
  font-size: 20px;
  color: var(--color-text-link);
  font-weight: 700;
  line-height: 28px;
  margin-bottom: 16px;
}

.chat-detail-box.last {
  margin-bottom: 60px;
}

.chat-detail-box {
  overflow: hidden;
  padding: 30px;
}

.chat-detail-box ul {
  list-style-position: inside;
}

.chat-detail-list {
  list-style: none;
}

.chat-detail-box {
  background-color: #fff;
  border-radius: 40px;
}

.chat-detail-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  font-weight: 500;
}

.highlight_second {
  color: var(--bgc-btn);
}

.chat-detail-list>li {
  margin-bottom: 12px;
}

.chat-detail-list .last {
  margin-bottom: 0;
}

.chat-detail-box:first-child {
  margin-bottom: 24px;
}

.chat-detail-list li::before {
  content: '';
  background-image: url('/img/Polygon\ 1.svg');
  background-size: contain;
  background-repeat: no-repeat;
  width: 12px;
  height: 12px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.steps_section {
  background: url("../images/bg-second2.webp") no-repeat center;
  background-size: cover;
}

.steps_section {
  padding-top: 160px;
  padding-bottom: 160px;
}

.wrapper_title-steps {
  display: flex;
  justify-content: center;
  color: var(--bgc-btn);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 26px;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 64px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
}

.section-description {
  font-size: 20px;
  font-weight: 500;
  line-height: 28px;
  color: #fff;
  margin-bottom: 60px;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: left;
  margin-bottom: 60px;
}

.step-box {
  border-radius: 40px;
  background: #1A374C;
  padding-top: 50px;
  padding-left: 25px;
  padding-bottom: 62px;
}

.number_step {
  font-size: 64px;
  line-height: 68px;
  color: var(--hover-btn);
  font-weight: 700;
  margin-bottom: 10px;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
  color: #fff;
  margin-bottom: 16px;
}

.descr_text {
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
  color: #fff;
  opacity: 0.8;
}

.wrapper_btn {
  display: flex;
  justify-content: center;
}

.reviews {
  margin-top: 160px;
  margin-bottom: 160px;
}

.reviews_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.reviews_img {
  border-radius: 25px;
  overflow: hidden;
}

.reviews_title {
  font-size: 64px;
  font-weight: 700;
  text-align: center;
  color: var(--color-text-title);
  margin-bottom: 32px;
}

.reviews_description {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text-link);
  margin-bottom: 80px;
}

.reviews_wrapper {
  display: flex;
  gap: 12px;
}

.chat-operator {
  color: var(--color-text-title);
  opacity: 0.5;
  font-size: 12px;
}

.name_operator {
  color: var(--color-text-title);
  font-size: 16px;
  font-weight: 500;
}

.reviews_img {
  margin-bottom: 18px;
}

/* End First Section */

/* Start FAQ Section */
.container.small {
  max-width: 990px;

}

.faq-section {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding: 160px 0;
}

.faq-heading {
  text-align: center;
  margin-bottom: 60px;
  font-size: 64px;
  color: var(--color-text-title);
  font-weight: 700;
}

.faq-item {
  margin-bottom: 10px;
  border-radius: 40px;
  overflow: hidden;
  background-color: #ffffff;
  transition: padding 0.3s ease;
  padding: 40px;
  margin-bottom: 30px;
}

.faq-question {
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-title);
  line-height: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.faq-toggle-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.3s ease;
}

.faq-toggle-icon::before,
.faq-toggle-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--color-text-title);
  top: 50%;
  left: 0;
  transform-origin: center;
  transition: transform 0.3s ease;
}

.faq-toggle-icon::before {
  transform: rotate(0deg);
}

.faq-toggle-icon::after {
  transform: rotate(90deg);
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-toggle-icon::before {
  transform: rotate(-45deg);
}

.faq-item.active .faq-toggle-icon::after {
  transform: rotate(-45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  padding: 0 15px;
  position: relative;
  margin-left: 20px;
}

.faq-answer p {
  margin-top: 7px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: var(--color-text-link);
  margin-left: 10px;
}

.faq-answer::before {
  content: '';
  width: 3px;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: var(--hover-btn);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
  margin-top: 27px;
}

.wrapper_icon {
  display: none;
}

.custom-select {
  position: relative;
  width: 100%;
  font-family: 'Montserrat', sans-serif;
  color: var(--color-text-link);
  margin-top: 5px;
}

.select-header {
  width: 100%;
  background-color: #f6f9ff;
  padding: 12px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  color: rgb(25, 24, 30, 0.5);
  font-weight: 500;
  transition: border-color 0.3s;
  font-family: 'Montserrat';
}

.select-header img {
  z-index: 10;
  pointer-events: none;
}


.select-options {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  list-style: none;
  background-color: #fff;
  border-radius: 10px;
  margin: 0;
  padding: 0;
  position: absolute;
  width: 100%;
  top: 100%;
  left: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border: 1px solid #ccc;
  z-index: 10;
}

.select-options li {
  padding: 8px 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 14px;
  color: rgb(25, 24, 30, 0.5);
  font-weight: 400;
}

.select-options.show {
  max-height: 200px;
  opacity: 1;
  padding: 10px 0;
}

.select-options li:hover {
  background-color: #00A6E6;
  color: #fff;
}

.wrappper_bread {
  display: flex;
  align-items: center;
  color: var(--color-text-link);
  text-transform: uppercase;
  line-height: 20px;
  font-size: 12px;
  margin-bottom: 56px;
}

.select-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  right: 20px;
  width: 20px;
  transition: transform 0.3s ease-in-out;
}

.select-header.active .select-arrow {
  transform: translateY(-50%) rotate(180deg);
}

/* End FAQ Section */

/* Start Footer */
footer {
  background: url("../images/bg-second2.webp") no-repeat center;
  background-size: cover;
}

.menu_footer {
  list-style: none;
}

.wrapper_footer {
  display: flex;
  justify-content: space-between;
  gap: 190px;
  padding-top: 80px;
  padding-bottom: 60px;
}

.wrapper_left {
  display: flex;
  gap: 240px;
}

.right_footer {
  display: flex;
  gap: 160px;
}

.link_footer {
  color: var(--color-btn-text);
  font-size: 16px;
  font-weight: 500;
  position: relative;
}

.menu_footer li {
  margin-bottom: 24px;
}

.link_footer::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: var(--color-btn-text);
  transition: width .2s ease-in-out;
}

.link_footer:hover::after {
  width: 100%;
}

.link_footer.last {
  margin-bottom: 0;
}

.footer_title {
  font-size: 20px;
  color: var(--color-btn-text);
  font-weight: 700;
  margin-bottom: 4px;
}

.footer_text {
  color: var(--color-btn-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 23px;
  margin-bottom: 23px;
}

/* End Footer */
.copy_text {
  color: var(--color-btn-text);
  font-size: 16px;
  color: var(--color-btn-text);
  font-weight: 500;
  text-align: center;
}

.copyright {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.error_title {
  text-align: center;
  font-size: 300px;
  color: #00A6E6;
}

.error_description {
  font-size: 64px;
  font-weight: 700;
  color: var(--color-text-link);
  text-align: center;
  margin-bottom: 40px;
}

.error_page {
  padding-top: 172px;
  padding-bottom: 273px;
}

.privacy {
  padding-top: 134px;
  padding-bottom: 160px;
}

.privacy_title {
  font-size: 48px;
  margin-bottom: 16px;
}

.privacy_text {
  color: var(--color-text-link);
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  margin-bottom: 40px;
}

.privacy_link {
  text-decoration: underline;
  font-style: italic;
  color: #2245FF;
}

.link_privacy {
  text-decoration: underline;
  color: #2245FF;
}

.title_privacy_second {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: var(--color-text-link);
}

.swing {
  animation: swing 3s ease-in-out infinite alternate;
  transform-origin: center bottom;
}

/* Pop Up Start */
.popup-overlay {
  position: fixed;
  /* Заміна position на fixed */
  top: 60px;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  box-sizing: border-box;
  backdrop-filter: blur(10px);
  z-index: 100;
}

.popup-form,
.popup-success {
  max-width: 100%;
  max-height: 100%;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 200;
  padding: 30px 60px;
}

.contact_form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form_title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text-link);
  text-align: center;
  margin-bottom: 8px;
}

.form_description {
  color: var(--color-text-link);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 12px;
}

.label {
  font-size: 12px;
  color: var(--color-text-link);
  font-weight: 600;
  display: block;
}

.input {
  background-color: #F6F9FF;
  display: block;
  padding: 12px 20px;
  border: 0;
  width: 100%;
  font-size: 14px;
  color: rgb(25, 24, 30, 0.5);
  font-family: serif;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  margin-top: 5px;
}

.popup-form {
  max-height: 90vh;
  /* Ограничиваем высоту вьюпорта */
  overflow-y: auto;
  width: 570px;
  z-index: 200;
  border-radius: 40px;
}

.popup-success {
  width: 690px;
}

.popup-close {
  position: absolute;
  top: 25px;
  right: 25px;
  cursor: pointer;
  font-size: 24px;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-close::before {
  content: '\00d7';
  /* Символ хрестика */
  font-size: 36px;
  cursor: pointer;
}

.disclaimer {
  color: #80828D;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
}

.error-message {
  display: none;
  color: #FF4747;
  font-size: 12px;
  margin-top: 5px;
  text-align: right;
}

.input-error {
  outline: 1px solid #FF4747;
}

.input.error+.error {
  display: block;
}

.popup-overlay {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.popup-overlay.show {
  display: flex;
  opacity: 1;
}

.popup-form,
.popup-success {
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.popup-overlay.show .popup-form,
.popup-overlay.show .popup-success {
  transform: scale(1);
}

footer .apply-button {
  position: relative;
  z-index: 0;
}

/* Pop Up End */

@keyframes swing {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(5deg);
  }

  50% {
    transform: rotate(0deg);
  }

  75% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.animated-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-animated-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scroll-animated-text.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Start Media style */
@media (max-width: 1440px) {
  .container {
    max-width: 1170px;
    width: 100%;
  }

  .menu ul {
    justify-content: flex-start;
    gap: 20px;
  }

  .content {
    gap: 30px;
    margin-bottom: 40px;
  }

  .image-grid {
    width: 223px;
    height: 223px;
    width: 40%;
  }

  .recruitment {
    padding-top: 190px;
  }

  .opportunities_wrapper {
    padding: 60px 70px 70px 70px;
  }

  .reviews {
    margin-top: 130px;
    margin-bottom: 130px;
  }

  .reviews_description {
    font-size: 18px;
  }

  .wrapper_footer {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .wrapper_footer {
    gap: 170px;
  }

  .wrapper_left {
    gap: 102px;
  }

  .right_footer {
    gap: 115px;
  }

  .privacy {
    padding-top: 135px;
    padding-bottom: 147px;
  }

  .message_icon_first {
    max-width: 200px;
  }

}


@media (max-width: 1230px) {
  .chat-content {
    width: 100%;
  }

  .container {
    padding: 0 40px;
  }

  .hamburger {
    display: flex;
  }

  .menu_nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    height: 100vh;
    border-top: 1px solid rgba(25, 24, 30, 0.10);
    z-index: 1000;
    transform: translateY(-125%);
    transition: all .3s;
    background: url('../images/main-bg.webp') no-repeat center;
    background-size: cover;
    align-items: flex-start;
    overflow-y: hidden;
    padding: 60px 40px;
  }

  .link.mobile {
    display: block;
  }

  .menu ul {
    padding: 60px 40px;
  }

  .apply {
    display: none;
  }

  .apply.mobile {
    display: block;
    color: var(--color-btn-text);
  }

  .menu_nav.show {
    display: flex;
    transform: translateY(0);
  }

  .content {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .desktop-visible {
    display: none;
  }

  .mobile-visible {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto 30px auto;
    aspect-ratio: 400 / 700;
  }

  .video-wrapper video {
    height: 100%;
  }

  .image-grid {
    width: 70%;
    height: auto;
  }

  .text-content {
    width: 100%;
  }

  .number {
    font-size: 72px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 80px;
    padding: 60px 0;
  }

  .stats-grid .stat-item:not(:last-child)::after {
    content: none;
  }

  .cross_line {
    width: 100px;
    height: 100px;
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .line_bottom {
    width: 100%;
    height: 2px;
    position: absolute;
    background-color: #fff;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .line_top {
    width: 2px;
    height: 100px;
    position: absolute;
    background-color: #fff;
    display: block;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .services_wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }

  .services_item {
    width: 40%;
  }

  .services_item.last {
    width: 50%;
  }

  .reviews {
    margin-top: 80px;
    margin-bottom: 80px;
  }

  .reviews_title {
    font-size: 48px;
    margin-bottom: 16px;
  }

  .reviews_description {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 60px;
  }

  .reviews_grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
    column-gap: 20px;
  }

  .mobile_none {
    display: block;
  }

  .reviews {
    margin-top: 60px;
    margin-bottom: 60px;
  }

  .wrapper_content {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
  }

  .chat-title {
    font-size: 48px;
  }

  .navbar {
    background: url("../images/bg_small.webp") no-repeat center;
    background-size: cover;
  }
}

@media(max-width:1163px) {
  .opportunities_wrapper {
    padding: 60px 30px;
  }

  .opportunities_wrapper_item {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .opportunities_item {
    width: 48%;
  }

  .wrapper--title::before {
    display: none;
  }

  .services {
    margin-top: 80px;
    margin-bottom: 80px;
  }

  .services_wrapper {
    margin-bottom: 80px;
  }

  .opportunities_title {
    font-size: 48px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }

  .steps_section {
    padding-bottom: 60px;
    padding-top: 60px;
  }

  .wrapper_title-steps {
    margin-bottom: 8px;
  }

  .section-subtitle {
    margin-bottom: 16px;
    font-size: 48px;
    font-weight: 700;
    line-height: 50px;
  }

  .faq-section {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .faq-heading {
    font-size: 48px;
    margin-bottom: 60px;
  }

  .faq-item {
    padding-top: 30px;
    padding-left: 24px;
    padding-bottom: 26px;
  }

  .wrapper_footer {
    gap: 0;
  }

  .wrapper_left {
    gap: 50px;
  }

  .right_footer {
    gap: 50px;
  }
}

@media(max-width:960px) {

  .wrapper_left {
    flex-direction: column;
    justify-content: flex-start;
  }

  .right_footer {
    flex-direction: column-reverse;
    justify-content: flex-start;
    gap: 20px;

  }

  .link_footer.last {
    margin-bottom: 0;
  }

  .menu_footer li:last-child {
    margin-bottom: 0;
  }

  .error_page {
    padding-top: 180px;
    padding-bottom: 260px;
  }

  .error_title {
    font-size: 260px;
  }

  .error_description {
    font-size: 48px;
    margin-bottom: 40px;
  }

  .menu_nav {
    top: 12vw;
  }

  .message_icon_first {
    top: 11vw;
  }

}

@media (max-width: 769px) {
  .container {
    padding: 0 33px;
  }

  .info-lists {
    flex-direction: column;
  }



  .content {
    margin-bottom: 107px;
  }

  .recruitment {
    padding-top: 90px;
  }

  .image-grid {
    width: 100%;
  }

  .navbar {
    padding: 13px 0;
  }

  .highlight.block {
    margin-top: 9px;
  }

  .main_title {
    margin-bottom: 24px;
  }

  .main_text.last {
    margin-bottom: 32px;
  }

  .recruitment {
    padding-bottom: 60px;
  }

  .services_wrapper {
    gap: 40px;
  }

  .services_title {
    font-size: 48px;
    margin-bottom: 16px;
  }

  .services_text {
    font-size: 18px;
    line-height: 140%;
    margin-bottom: 80px;
  }

  .services_item {
    width: 100%;
  }

  .services_item.last {
    width: 100%;
  }

  .opportunities_wrapper {
    padding: 60px 30px;
  }

  .opportunities_title {
    margin-bottom: 16px;
  }

  .opportunities_text {
    font-size: 18px;
    line-height: 25px;
  }

  .wrapper--title {
    margin-bottom: 40px;
  }

  .copyright {
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .message_icon_first {
    top: 38vw;
  }

  .privacy {
    padding-top: 135px;
    padding-bottom: 120px;
  }

  .privacy_title {
    font-size: 32px;
  }

  .title_privacy_second {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
  }

  .privacy_text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
  }
}

@media (max-width: 730px) {
  .main_title {
    font-size: 50px;
    line-height: 58px;
  }
}

@media (max-width: 672px) {
  .number {
    font-size: 36px;
    line-height: 38px;
  }

  .number_text {
    font-size: 18px;
    line-height: 21px;
  }

  .services_title {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 15px;
  }

  .services_text {
    font-size: 16px;
    line-height: 23px;
    margin-bottom: 60px;
  }

  .services_wrapper {
    gap: 30px;
  }

  .opportunities_wrapper {
    padding: 40px 20px;
  }

  .opportunities_title {
    font-size: 24px;
    margin-bottom: 12px;
    line-height: 28px;
  }

  .opportunities_text {
    font-size: 16px;
    line-height: 22px;
  }

  .wrapper--title {
    margin-bottom: 40px;
  }

  .opportunities_item {
    width: 100%;
  }

  .title_graph {
    padding-left: 16px;
  }

  .line_left {
    padding-left: 16px;
  }

  .sum {
    font-size: 20px;
  }

  .total {
    font-size: 14px;
  }

  .opportunities_wrapper {
    padding: 40px 13px;
  }

  .faq-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .menu_nav {
    top: 12vw;
  }
}

@media (max-width: 543px) {
  .select-header {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    max-width: 469px;
  }

  .select-arrow {
    right: 5px;
  }

  .popup-form {
    width: 90%;
    /* Адаптируем ширину под экран */
    max-height: 85vh;
    /* Немного уменьшаем высоту */
  }
}

@media (max-width: 525px) {
  .container {
    padding: 0 15px;
  }

  .navbar {
    padding: 5px 0;
  }

  .recruitment {
    padding-top: 120px;
  }

  .content {
    margin-bottom: 60px;
  }

  .main_title {
    font-size: 32px;
    line-height: 38px;
  }

  .main_text {
    font-size: 16px;
    line-height: 23px;
    margin-bottom: 23px;
  }

  .steps-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .section-subtitle {
    font-size: 24px;
    line-height: 28px;
  }

  .section-description {
    font-size: 16px;
    margin-bottom: 12px;
    font-weight: 500;
    line-height: 20px;
    margin-bottom: 28px;
  }

  .hero-cta-wrapper {
    margin: 30px 0 40px 0;
  }


  .reviews_title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .reviews_description {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 23px;
  }

  .reviews_grid {
    grid-template-columns: repeat(1, 1fr);
    row-gap: 30px;
  }

  .faq-heading {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .faq-item {
    padding-top: 24px;
    padding-left: 16px;
    padding-bottom: 24px;
  }

  .faq-question {
    font-size: 16px;
  }

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

  .right_footer {
    flex-direction: column;
    gap: 56px;
  }

  .wraper_footer_logo {
    width: 90px;
  }

  .wrapper_left {
    gap: 35px;
  }

  .wrapper_footer {
    padding: 60px 0;
  }

  .copyright {
    padding: 16px 0;
  }

  .error_page {
    padding-top: 140px;
    padding-bottom: 195px;
  }

  .error_title {
    font-size: 140px;
    font-weight: 700;
  }

  .error_description {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .privacy {
    padding-top: 90px;
    padding-bottom: 80px;
  }

  .privacy_title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .title_privacy_second {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 4px;
    line-height: 28px;
  }

  .privacy_text {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    margin-bottom: 40px;
  }

  .popup-form {
    padding: 60px 15px;
  }

  .menu_nav {
    top: 15vw;
  }

  .message_icon_first {
    top: 32vw;
  }
}


/* End Media style */

/* === QUIZ STYLES === */

/* Quiz Container */
.quiz-container {
  background: white;
  border-radius: 20px;
  padding: 60px 80px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
}

/* Progress Bar */
.quiz-progress {
  width: 100%;
  height: 8px;
  background-color: #E5EFFE;
  border-radius: 10px;
  margin-bottom: 40px;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--bgc-btn) 0%, var(--hover-btn) 100%);
  border-radius: 10px;
  transition: width 0.4s ease;
  width: 25%;
  /* Default first step */
}

/* Quiz Steps */
.quiz-steps {
  position: relative;
  min-height: 300px;
}

.quiz-step {
  display: none;
  animation: fadeInUp 0.4s ease;
}

.quiz-step.active {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Quiz Title & Description */
.quiz-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-text-title);
  margin-bottom: 16px;
  text-align: center;
}

.quiz-description {
  font-size: 18px;
  font-weight: 500;
  color: var(--color-text-link);
  margin-bottom: 40px;
  text-align: center;
  opacity: 0.8;
}

/* Quiz Options */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.quiz-option {
  background: white;
  border: 2px solid #E5EFFE;
  border-radius: 12px;
  padding: 20px 30px;
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-title);
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.quiz-option:hover {
  border-color: var(--bgc-btn);
  background-color: rgba(0, 175, 240, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 175, 240, 0.1);
}

.quiz-option.selected {
  background-color: var(--bgc-btn);
  color: white;
  border-color: var(--bgc-btn);
  box-shadow: 0 5px 15px rgba(0, 175, 240, 0.3);
}

/* Quiz Error Message */
.quiz-error {
  display: none;
  background-color: #FFE5E5;
  color: #D32F2F;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  margin-top: 20px;
  text-align: center;
  border-left: 4px solid #D32F2F;
}

/* Quiz Form */
.quiz-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quiz-form .label {
  display: flex;
  flex-direction: column;
  color: var(--color-text-title);
  font-weight: 600;
  font-size: 16px;
  gap: 8px;
}

.quiz-form .input {
  padding: 16px 20px;
  border: 2px solid #E5EFFE;
  border-radius: 10px;
  font-size: 16px;
  font-family: 'Montserrat', sans-serif;
  transition: all 0.3s ease;
}

.quiz-form .input:focus {
  outline: none;
  border-color: var(--bgc-btn);
  box-shadow: 0 0 0 3px rgba(0, 175, 240, 0.1);
}

.quiz-form .input.input-error {
  border-color: #D32F2F;
}

.quiz-form .error-message {
  display: none;
  color: #D32F2F;
  font-size: 14px;
  margin-top: 4px;
}

/* Quiz Navigation */
.quiz-navigation {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 40px;
}

.quiz-btn {
  flex: 1;
  padding: 18px 40px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.quiz-btn-back {
  background-color: white;
  color: var(--color-text-title);
  border: 2px solid #E5EFFE;
}

.quiz-btn-back:hover {
  background-color: #F5F5F5;
  border-color: var(--color-text-title);
}

.quiz-btn-next,
.quiz-btn-submit {
  background-color: var(--bgc-btn);
  color: white;
  border: none;
}

.quiz-btn-next::after,
.quiz-btn-submit::after {
  background-color: var(--hover-btn);
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 100%;
  transition: width 0.3s ease, left 0.3s ease;
  z-index: -1;
  transform: translate(-50%, -50%);
}

.quiz-btn-next:hover::after,
.quiz-btn-submit:hover::after {
  width: 100%;
}

.quiz-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .quiz-container {
    padding: 40px 30px;
    width: 95%;
  }

  .quiz-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .quiz-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .quiz-option {
    padding: 16px 20px;
    font-size: 16px;
  }

  .quiz-navigation {
    flex-direction: column-reverse;
  }

  .quiz-btn {
    width: 100%;
  }
}

@media (max-width: 543px) {
  .quiz-container {
    padding: 30px 20px;
    max-height: 85vh;
  }

  .quiz-title {
    font-size: 20px;
  }

  .quiz-description {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .quiz-options {
    gap: 12px;
  }

  .quiz-option {
    padding: 14px 16px;
    font-size: 14px;
  }

  .quiz-form {
    gap: 20px;
  }

  .quiz-form .input {
    padding: 14px 16px;
    font-size: 14px;
  }

  .quiz-btn {
    padding: 14px 30px;
    font-size: 14px;
  }
}

/* === REJECTION POPUP STYLES === */

.popup-rejection {
  background: white;
  border-radius: 20px;
  padding: 60px 40px;
  max-width: 600px;
  width: 90%;
  position: relative;
  text-align: center;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
}

.rejection-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  animation: shake 0.5s ease;
}

@keyframes shake {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-10px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(10px);
  }
}

.popup-rejection .form_title {
  color: #D32F2F;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
}

.popup-rejection .form_description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-link);
  margin-bottom: 30px;
}

.popup-rejection .form_description strong {
  color: #D32F2F;
  font-weight: 700;
}

.popup-rejection .wrapper_btn {
  display: flex;
  justify-content: center;
}

.popup-rejection .apply-button {
  padding: 16px 40px;
  background-color: var(--bgc-btn);
  min-width: 200px;
}

@media (max-width: 543px) {
  .popup-rejection {
    padding: 40px 20px;
  }

  .popup-rejection .form_title {
    font-size: 22px;
  }

  .popup-rejection .form_description {
    font-size: 14px;
  }

  .rejection-icon svg {
    width: 60px;
    height: 60px;
  }
}