@font-face {
  font-family: "Raleway";
  src: url("/fonts/Raleway/Raleway-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Raleway";
  src: url("/fonts/Raleway/Raleway-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Raleway";
  src: url("/fonts/Raleway/Raleway-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Raleway";
  src: url("/fonts/Raleway/Raleway-Italic.ttf") format("truetype");
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: "Raleway";
  src: url("/fonts/Raleway/Raleway-BoldItalic.ttf") format("truetype");
  font-weight: bold;
  font-style: italic;
}


:root {
  --font-main: "Raleway", sans-serif;
  --font-size-base: 16px;
  --font-size-lg: 20px;
  --font-size-xl: 40px;
  --primary-color: #333;
  --secondary-color: rgba(137, 167, 115, 0.6);
  --background-color: rgb(250, 250, 250);
  --border-color: rgba(137, 167, 115, 0.6);
  --box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  --max-width: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

body.preload {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
  overflow-x: hidden;
}

body.loaded {
  opacity: 1;
  pointer-events: auto;
}

body {
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  background-color: var(--background-color);
  background-color: rgb(250, 250, 250);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: 1200px;
}

header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 100px;
  align-items: center;
  border-bottom: 1px solid rgba(137, 167, 115, 0.6);
}

nav {
  display: flex;
  justify-content: space-between;
  max-width: 150px;
  width: 100%;
  gap: 30px;
  margin: 0 0 0 40px;
}

.contact-button {
  display: flex;
  gap: 10px;
  border: 1px solid;
  border-radius: 30px;
  cursor: pointer;
  padding: 12px 20px;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-button a {
  white-space: nowrap;
  transition: transform 0.3s ease, color 0.3s ease;
}

.contact-button:hover {
  transform: scale(1.02);
  color: rgba(137, 167, 115, 0.6);
}

.contact-button:active {
  transform: scale(0.95);
}

a {
  text-decoration: none;
  color: rgb(0, 0, 0);
}

nav a {
  color: #333;
  transition: color 0.3s ease;
}

nav a:hover {
  color: rgba(137, 167, 115, 0.6);
}

.contact-button .arrow {
  width: 20px;
  height: 20px;
  margin-left: 10px;
  transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
  align-items: center;
}

.contact-button:hover .arrow {
  transform: translateX(10px);
  opacity: 0.8;
}

.contact-button:active .arrow {
  transform: translateX(-5px);
  opacity: 1;
  color: rgba(137, 167, 115, 0.6);
}

.wrap-emblem {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px;
}

header .emblem img {
  width: 80px;
}

footer .emblem img {
  width: 60px;
  opacity: 50%;
}

#introduction {
  display: flex;
  flex-direction: row;
  gap: 100px;
  padding: 140px 0;
}

#banner {
  padding: 60px;
  margin: 0 auto;
  width: 800px;
  overflow: visible;
  position: relative;
}

#animation-sequence-logo {
  width: 1400px;
  top: -300px;
  left: -550px;
  height: auto;
  display: block;
  user-select: none;
  pointer-events: none;
  position: absolute;
}

#briefly-about-us {
  font-size: 40px;
}

#basic-information {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  gap: 20px;
}

#introduction-foundation {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: 30px;
  transform: translateY(-20px);
}

#introduction-name {
  font-weight: bold;
}

#introduction-foundation-text {
  color: rgb(99, 99, 99);
}

#running-line {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  font-size: 100px;
  overflow: hidden;
  position: relative;
  padding-bottom: 60px;
}

#running-line-2 {
  width: 100%;
  height: 60px;
  background-color: #2b2b2ac0;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* === CASES SECTION WITH IMPROVED CORNER BORDERS & INTERACTION === */

#cases {
  width: 100%;
  padding: 60px 0;
}

#cases-mob {
  display: none;
  width: 100%;
  padding: 60px 0;
}

#cases-wrapper-mob {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 22px;
  padding: 60px 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  min-height: 280px;

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}


#cases-wrapper-mob::before,
#cases-wrapper-mob::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 0, 0, 0.36);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#cases-wrapper-mob::before {
  top: 35%;
  left: 35%;
  border-right: none;
  border-bottom: none;
  border-radius: 18px 0 0 0;
}

#cases-wrapper-mob::after {
  bottom: 35%;
  right: 35%;
  border-left: none;
  border-top: none;
  border-radius: 0 0 18px 0;
}

#cases-title-mob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  font-weight: 600;
  opacity: 1;

  cursor: pointer;
  user-select: none;
}

#cases-wrapper {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 22px;
  padding: 60px 40px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  min-height: 280px;

  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#cases-wrapper::before,
#cases-wrapper::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 0, 0, 0.36);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#cases-wrapper::before {
  top: 35%;
  left: 35%;
  border-right: none;
  border-bottom: none;
  border-radius: 18px 0 0 0;
}

#cases-wrapper::after {
  bottom: 35%;
  right: 35%;
  border-left: none;
  border-top: none;
  border-radius: 0 0 18px 0;
}

#cases-wrapper:hover::before {
  top: 10px;
  left: 10px;
  border-color: rgba(0, 0, 0, 0.55);
}

#cases-wrapper:hover::after {
  bottom: 10px;
  right: 10px;
  border-color: rgba(0, 0, 0, 0.55);
}

#cases-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 32px;
  font-weight: 600;
  opacity: 1;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#cases-list {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(20px);

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: center;

  width: 90%;
  max-width: 1050px;

  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.case-item {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  padding: 22px;
  text-align: center;

  transition: all 0.35s ease;
  transform: translateZ(0);
}

.case-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-6px) scale(1.035);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.case-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.case-desc {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.45;
}

#cases-wrapper:hover #cases-list {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

#cases-wrapper:hover #cases-title {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.96);
}

.scrolling-wrapper {
  display: flex;
  width: max-content;
  position: absolute;
  animation: scrollText 50s linear infinite;
}

.scroll-text-2 {
  white-space: nowrap;
  font-size: 28px;
  color: #fff;
  letter-spacing: 2px;
  font-weight: 600;
  font-family: "Arial Black", sans-serif;
  padding-right: 20px;
}

.scroll-text {
  white-space: nowrap;
  position: absolute;
  animation: scrollText 30s linear infinite;
  user-select: none;
  /* стандартный способ */
  -webkit-user-select: none;
  /* Safari/Chrome */
  -ms-user-select: none;
  /* IE/Edge */
  -moz-user-select: none;
  /* Firefox */
}

@keyframes scrollText {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-50%);
  }
}

.highlight {
  color: rgb(184, 184, 184);
}

#decoration {
  content: "";
  display: block;
  width: 100%;
  height: 67px;
  background: transparent;
  border: 1px solid rgb(137, 167, 115);
  border-bottom: none;
  border-radius: 100px 100px 0 0;
  opacity: 0.6;
}

#about-us-info {
  display: flex;
  align-items: center;
}

#about-us-info h2 {
  transform: rotate(-90deg);
  white-space: nowrap;
  margin: 0;
  font-weight: lighter;
  font-size: 22px;
  transform-origin: center center;
  max-height: 100%;
  padding-left: 50px;
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.text-info {
  font-size: 26px;
  padding: 20px;
  text-align: justify;
}

#about-us-wrapper {
  display: flex;
  flex-direction: column;
  background-image: url("img/logo-fon.png");
  background-position: center center;
  background-repeat: no-repeat;
  gap: 60px;
}

#decoration+#about-us-info {
  margin-top: -30px;
}

#information-for-partners {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 300px;
  overflow: hidden;
  min-height: 300px;
  text-align: center;
  padding: 100px 20px;
}

#information-for-partners #question-wrapper,
#information-for-partners .text-info {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: 700px;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: transform 1.8s ease, opacity 1.8s ease;
  text-align: center;
  pointer-events: none;
  padding: 0 20px;
  box-sizing: border-box;
}

#information-for-partners #question-wrapper {
  opacity: 1;
  transform: translate(-50%, -50%);
  pointer-events: auto;
}

#information-for-partners #question-wrapper.hidden {
  transform: translate(-150%, -50%);
  opacity: 0;
  pointer-events: none;
}

#information-for-partners .text-info {
  transform: translate(50%, -50%);
  opacity: 0;
  pointer-events: none;
}

#information-for-partners .text-info.visible {
  transform: translate(-50%, -50%);
  opacity: 1;
  pointer-events: auto;
}

#information-for-partners #question {
  font-size: 60px;
  line-height: 1.3;
  color: #000;
}

.question-line {
  display: block;
}

.highlight-name {
  color: rgb(99, 99, 99);
  font-weight: 600;
}

#our-values {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: stretch;
  padding: 20px 0;
  flex-wrap: nowrap;
}

.value {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  padding: 20px;
  max-width: 250px;
  width: 100%;
  font-size: 18px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  flex-grow: 1;
}

.value:hover {
  transform: translateY(-3px);
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.2);
}

.value img {
  width: 80%;
  max-width: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.value .text {
  text-align: center;
  line-height: 1.6;
  margin-bottom: 10px;
  hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.name {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
}

#statistics {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

h3 {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.value-of-statistics {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  text-align: center;
  width: 100%;
}

.value-of-statistics:not(:last-child) {
  border-right: 2px solid #dcdcdc;
  padding-right: 20px;
}

.number {
  font-size: 60px;
  font-weight: bold;
  color: #333;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  transition: all 1s ease-in-out;
}

.magnitude {
  font-size: 16px;
  color: #777;
}

#geography {
  display: flex;
  justify-content: center;
  padding: 60px 40px;
}

#geography img {
  width: 800px;
}

#contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

#for-partners {
  display: flex;
  flex-direction: column;
  max-width: 780px;
  width: 100%;
  padding-top: 60px;
}

#for-partners>*:not(:first-child) {
  margin-top: -40px;
}

#for-candidates {
  display: flex;
  flex-direction: column;
  max-width: 780px;
  width: 100%;
}

#for-candidates>*:not(:first-child) {
  margin-top: -40px;
}

#parent-1 {
  display: flex;
  justify-items: center;
  gap: 30px;
  justify-content: center;
}

#text-block-1 {
  display: flex;
}

#arrow-block-1 {
  opacity: 10%;
}

#button-block-1 {
  display: flex;
  align-self: center;
}

#parent-2 {
  display: flex;
  justify-items: center;
  gap: 30px;
}

#arrow-block-2 {
  opacity: 10%;
}

#text-block-2 {
  display: flex;
  justify-content: flex-end;
}

#button-block-2 {
  display: flex;
  align-items: center;
}

#arrow-sequence-1,
#arrow-sequence-2 {
  width: 400px;
}

.connection {
  font-size: 26px;
  color: #333;
  letter-spacing: 1px;
}

footer {
  border-top: 1px solid rgba(137, 167, 115, 0.6);
  width: 100%;
  background-color: #fafafa;
  box-sizing: border-box;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 150px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 30px 20px 10px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-group {
  display: flex;
  align-items: center;
  gap: 30px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  align-items: center;
}

.footer-nav nav a div {
  font-weight: 500;
  color: #333;
  transition: color 0.3s ease;
}

.footer-nav nav a:hover div {
  color: #89a773;
}

.footer-contacts {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
}

.footer-contacts a {
  color: #444;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-contacts a:hover {
  color: #89a773;
  text-decoration: underline;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #555;
  font-size: 16px;
}

.telegram-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(24, 46, 35, 0.329);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.telegram-circle:hover {
  transform: scale(1.1);
  background-color: rgba(43, 94, 68, 0.521);
}

.telegram-circle img {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  width: 100%;
  text-align: center;
  padding: 15px 10px;
  font-size: 14px;
  color: #777;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-bottom a {
  color: #777;
  text-decoration: underline;
  font-size: 12px;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #89a773;
}

.telegram-icon {
  margin-left: 5px;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

.fade-in-up.animated {
  animation: fadeInUp 0.8s ease-out forwards;
}

.decorative-svg svg path {
  animation: waveFloat 6s ease-in-out infinite;
}

@keyframes waveFloat {
  0% {
    d: path("M0,50 C100,0 200,100 300,50");
  }

  50% {
    d: path("M0,50 C100,30 200,70 300,50");
  }

  100% {
    d: path("M0,50 C100,0 200,100 300,50");
  }
}

.decorative-svg {
  width: 100%;
  height: 60px;
  opacity: 0.2;
  margin-top: 40px;
  margin-bottom: 40px;
}

.decorative-svg svg {
  width: 100%;
  height: 100%;
}

@keyframes floatDot {
  0% {
    transform: translateY(0);
    opacity: 0.4;
  }

  50% {
    transform: translateY(-6px);
    opacity: 0.7;
  }

  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
}

@media screen and (max-width: 360px) {

  #arrow-block-1,
  #arrow-block-2 {
    display: none;
  }

  #for-partners>*:not(:first-child) {
    margin-top: 0px;
  }

  #for-candidates {
    max-width: 300px;
  }

  #for-partners {
    max-width: 300px;
    flex-direction: row;
    padding-top: 20px;
  }

  #for-candidates>*:not(:first-child) {
    margin-top: -20px;
  }

  #contact {
    gap: 20px;
    padding: 20px 10px;
  }

  .connection {
    font-size: 10px;
  }

  .scroll-text {
    animation: scrollText 15s linear infinite;
  }

  #information-for-partners #question {
    font-size: 30px;
  }
}

@media screen and (max-width: 479px) {
  header {
    align-items: center;
    gap: 0px;
    border-bottom: 1px solid rgba(137, 167, 115, 0.4);
  }

  nav {
    text-align: center;
    gap: 5px;
    font-size: 8px;
    justify-content: space-around;
  }

  header .emblem img {
    width: 50px;
  }

  #banner {
    padding: 10px 30px;
  }

  #introduction {
    gap: 10px;
    padding: 60px 10px;
  }

  #introduction-name {
    font-size: 8px;
  }

  .scroll-text {
    animation: scrollText 15s linear infinite;
  }

  #introduction-foundation {
    margin-bottom: 0;
    transform: translateY(-5px);
  }

  #introduction-foundation-text {
    font-size: 8px;
  }

  #briefly-about-us {
    font-size: 12px;
  }

  #running-line {
    height: 80px;
    padding-bottom: 20px;
  }

  .scroll-text {
    font-size: 50px;
  }

  #decoration {
    height: 30px;
    opacity: 0.4;
  }

  #about-us-info {
    gap: 0px;
  }

  #about-us-info h2 {
    font-size: 18px;
  }

  .text-info {
    font-size: 14px;
  }

  #information-for-partners {
    gap: 30px;
  }

  #information-for-partners .text-info {
    font-size: 14px;
    max-width: 300px;
  }

  #information-for-partners #question {
    font-size: 30px;
    padding: 5px 5px;
  }

  #our-values {
    flex-wrap: wrap;
    gap: 15px;
  }

  #our-values .value .name {
    font-size: 16px;
    margin-bottom: 0px;
  }

  #our-values .value .text {
    font-size: 14px;
  }

  #statistics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    align-items: start;
    justify-content: center;
    padding: 10px;
  }

  #statistics .narrow-block {
    border: none;
  }

  #statistics h3 {
    margin: 0;
    font-size: 16px;
    align-self: center;
  }

  .value-of-statistics {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    text-align: center;
    border-right: none;
  }

  .number {
    font-size: 30px;
  }

  .magnitude {
    font-size: 10px;
  }

  #contact {
    padding: 0px;
  }

  .connection {
    font-size: 12px;
  }

  .contact-button .arrow {
    display: none;
  }

  .contact-button {
    padding: 7px 14px;
    border-radius: 30px;
    font-size: 10px;
  }

  #contact {
    padding: 20px 0;
  }

  #parent-1 {
    gap: 5px;
  }

  #parent-2 {
    gap: 5px;
  }

  #for-partners {
    max-width: 360px;
  }

  #for-partners>*:not(:first-child) {
    margin-top: -10px;
  }

  #for-candidates {
    max-width: 360px;
  }

  #for-candidates>*:not(:first-child) {
    margin-top: -10px;
  }

  #arrow-sequence-1,
  #arrow-sequence-2 {
    width: 200px;
  }

  #about-us-wrapper {
    gap: 10px;
    background-image: url("img/logo-fon-mini.png");
    background-position: center top;
  }

  #animation-sequence-logo {
    width: 600px;
    top: -135px;
    left: -190px;
  }

  footer {
    padding: 30px 15px;
    text-align: center;
  }

  .footer-content {
    flex-direction: column-reverse;
    align-items: center;
    gap: 30px;
    padding: 10px 0px;
  }

  .footer-group {
    justify-content: space-between;
    width: 100%;
  }

  .footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-column.footer-logo img {
    width: 50px;
  }

  .footer-column.footer-nav nav {
    display: flex;
    gap: 10px;
    font-size: 12px;
  }

  .telegram-circle img {
    width: 14px;
  }

  .footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-end;
  }

  .footer-nav nav {
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
  }

  .footer-bottom {
    font-size: 10px;
    margin-top: 20px;
  }

  .footer-bottom a {
    font-size: 10px;
    display: block;
    margin-top: 5px;
  }

  .floating-dot {
    display: none;
  }

  #geography img {
    width: 400px;
  }

  #running-line-2 {
    height: 30px;
  }

  .scroll-text-2 {
    font-size: 14px;
    padding-right: 10px;
  }

  #cases-wrapper-mob {
    padding: 40px 15px;
    min-height: 200px;
  }

  #cases-list-mob {
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
    max-width: none;
    gap: 16px;
    padding: 0;
  }

  .case-item {
    padding: 18px;
  }

  .case-title {
    font-size: 14px;
  }

  #cases-wrapper-mob::before {
    top: 8px;
    left: 8px;
  }

  #cases-wrapper-mob::after {
    bottom: 8px;
    right: 8px;
  }

  .case-desc {
    font-size: 12px;
  }

  #cases-title-mob {
    font-size: 16px;
  }

  #cases-mob {
    display: block;
  }
}

@media screen and (min-width: 769px) {
  .floating-dot {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(137, 167, 115, 0.3);
    border-radius: 50%;
    animation: floatDot 5s ease-in-out infinite;
    z-index: 0;
    pointer-events: none;
  }

  #about-us-wrapper {
    position: relative;
  }

  .dot-about-1 {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
  }

  .dot-about-2 {
    top: 70%;
    right: 10%;
    animation-delay: 2s;
  }

  #contact {
    position: relative;
    overflow: hidden;
  }

  .dot-contact-1 {
    top: 10%;
    left: 3%;
    animation-delay: 0s;
  }

  .dot-contact-2 {
    top: 25%;
    right: 4%;
    animation-delay: 1s;
  }

  .dot-contact-3 {
    bottom: 30%;
    left: 6%;
    animation-delay: 2s;
  }

  .dot-contact-4 {
    bottom: 15%;
    right: 7%;
    animation-delay: 2.5s;
  }

  footer {
    position: relative;
  }

  .dot-footer-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0.5s;
  }

  .dot-footer-2 {
    top: 50%;
    right: 20%;
    animation-delay: 1.2s;
  }

  .dot-footer-3 {
    bottom: 10%;
    left: 45%;
    animation-delay: 2s;
  }
}

@media screen and (max-width: 768px) and (min-width: 480px) {
  header {
    align-items: center;
    gap: 10px;
  }

  nav {
    text-align: center;
    gap: 10px;
    font-size: 14px;
  }

  #introduction {
    gap: 10px;
  }

  .scroll-text {
    animation: scrollText 15s linear infinite;
  }

  #introduction-name {
    font-size: 10px;
  }

  #introduction-foundation {
    margin-bottom: 0;
    transform: translateY(-10px);
  }

  #introduction-foundation-text {
    font-size: 10px;
  }

  #briefly-about-us {
    font-size: 20px;
  }

  .scroll-text {
    font-size: 60px;
  }

  #introduction {
    padding: 80px 10px;
  }

  #decoration {
    height: 40px;
  }

  #about-us-info {
    gap: 0px;
  }

  #about-us-info h2 {
    font-size: 19px;
  }

  .text-info {
    font-size: 16px;
  }

  #information-for-partners {
    gap: 30px;
  }

  #information-for-partners .text-info {
    font-size: 14px;
    max-width: 300px;
  }

  #information-for-partners #question {
    font-size: 40px;
  }

  #our-values {
    flex-wrap: wrap;
    gap: 25px;
  }

  #our-values .value .name {
    font-size: 20px;
    margin-bottom: 10px;
  }

  #our-values .value .text {
    font-size: 16px;
  }

  #statistics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
    justify-content: center;
    padding: 20px;
  }

  #statistics h3 {
    margin: 0;
    font-size: 20px;
    align-self: center;
  }

  #statistics .narrow-block {
    border: none;
  }

  .value-of-statistics {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    text-align: center;
    border-right: none;
  }

  .number {
    font-size: 30px;
  }

  #contact {
    padding: 30px;
  }

  .connection {
    font-size: 14px;
  }

  .contact-button {
    padding: 8px 16px;
    border-radius: 35px;
    font-size: 10px;
  }

  #contact {
    padding: 20px 0;
  }

  #parent-1 {
    gap: 10px;
  }

  #parent-2 {
    gap: 10px;
  }

  #for-partners {
    max-width: 460px;
    padding-top: 40px;
  }

  #for-partners>*:not(:first-child) {
    margin-top: -15px;
  }

  #for-candidates {
    max-width: 460px;
  }

  #for-candidates>*:not(:first-child) {
    margin-top: -15px;
  }

  #arrow-sequence-1,
  #arrow-sequence-2 {
    width: 250px;
  }

  .contact-button .arrow {
    display: none;
  }

  #geography img {
    width: 600px;
  }

  #about-us-wrapper {
    background-image: url("img/logo-fon-mini.png");
    background-position: center top;
    gap: 30px;
  }

  .floating-dot {
    display: none;
  }

  #animation-sequence-logo {
    width: 800px;
    top: -185px;
    left: -280px;
  }

  #running-line-2 {
    height: 40px;
  }

  .scroll-text-2 {
    font-size: 18px;
    padding-right: 12px;
  }

  footer {
    padding: 30px 15px;
    text-align: center;
  }

  .footer-content {
    flex-direction: column-reverse;
    align-items: center;
    gap: 30px;
    padding: 10px 0px;
  }

  .footer-group {
    justify-content: space-between;
    width: 100%;
  }

  .footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-column.footer-logo img {
    width: 50px;
  }

  .footer-column.footer-nav nav {
    display: flex;
    gap: 10px;
    font-size: 12px;
  }

  .telegram-circle img {
    width: 14px;
  }

  .footer-contacts {
    display: flex;
    flex-direction: row;
    gap: 15px;
  }

  .footer-nav nav {
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
  }

  .footer-bottom {
    font-size: 13px;
    margin-top: 20px;
  }

  .footer-bottom a {
    font-size: 12px;
    display: block;
    margin-top: 5px;
  }

  #cases-mob {
    display: block;
    padding: 20px 0;
  }

  #cases-list-mob {
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
    width: 90%;
    margin: 0 auto;
  }

  #cases-title-mob {
    font-size: 20px;
  }

  .case-title {
    font-size: 14px;
  }

  .case-desc {
    font-size: 12px;
  }


}

@media screen and (max-width: 768px) and (min-width: 650px) {
  #animation-sequence-logo {
    width: 800px;
    top: -185px;
    left: -230px;
  }
}

@media screen and (max-width: 1270px) and (min-width: 1025px) {
  #animation-sequence-logo {
    width: 1300px;
    top: -230px;
    left: -450px;
  }

  #cases-wrapper::before {
    top: 30%;
    left: 30%;
    border-right: none;
    border-bottom: none;
    border-radius: 18px 0 0 0;
  }

  #cases-wrapper::after {
    bottom: 30%;
    right: 30%;
    border-left: none;
    border-top: none;
    border-radius: 0 0 18px 0;
  }

  #cases-wrapper:hover::before {
    top: -15px;
    left: 10px;
    border-color: rgba(0, 0, 0, 0.55);
  }

  #cases-wrapper:hover::after {
    bottom: -15px;
    right: 10px;
    border-color: rgba(0, 0, 0, 0.55);
  }
}

@media screen and (max-width: 1035px) and (min-width: 1025px) {
  footer {
    padding: 40px 20px;
    text-align: center;
  }

  .footer-content {
    display: flex;
    align-items: center;
    gap: 30px;
  }

  .footer-group {
    align-items: center;
    gap: 20px;
  }

  .footer-column.footer-nav nav {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-column.footer-contacts {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
  }

  .telegram-circle img {
    width: 14px;
    height: 14px;
  }

  .footer-bottom {
    font-size: 12px;
    margin-top: 30px;
  }

  .footer-bottom a {
    font-size: 13px;
    display: block;
    margin-top: 5px;
  }

  #cases-wrapper::before {
    top: 30%;
    left: 30%;
    border-right: none;
    border-bottom: none;
    border-radius: 18px 0 0 0;
  }

  #cases-wrapper::after {
    bottom: 30%;
    right: 30%;
    border-left: none;
    border-top: none;
    border-radius: 0 0 18px 0;
  }

  #cases-wrapper:hover::before {
    top: -15px;
    left: 10px;
    border-color: rgba(0, 0, 0, 0.55);
  }

  #cases-wrapper:hover::after {
    bottom: -15px;
    right: 10px;
    border-color: rgba(0, 0, 0, 0.55);
  }
}

@media screen and (max-width: 1024px) and (min-width: 769px) {
  header {
    align-items: center;
    gap: 20px;
  }

  nav {
    text-align: center;
    gap: 20px;
  }

  #introduction {
    gap: 20px;
  }

  #introduction-name {
    font-size: 15px;
  }

  #introduction-foundation {
    margin-bottom: 0;
  }

  #introduction-foundation-text {
    font-size: 15px;
  }

  #briefly-about-us {
    font-size: 25px;
  }

  #introduction {
    padding: 100px 15px;
  }

  .scroll-text {
    font-size: 70px;
  }

  .text-info {
    font-size: 20px;
  }

  #information-for-partners .text-info {
    font-size: 22px;
    max-width: 500px;
  }

  #information-for-partners #question {
    font-size: 50px;
  }

  #our-values {
    flex-wrap: wrap;
    gap: 60px;
  }

  #statistics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
    justify-content: center;
    padding: 20px;
  }

  #statistics .narrow-block {
    width: 275px;
    padding-left: 35px;
    border: none;
  }

  #statistics h3 {
    margin: 0;
    font-size: 26px;
    align-self: center;
  }

  .value-of-statistics {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    text-align: center;
    border-right: none;
  }

  #animation-sequence-logo {
    width: 1000px;
    top: -220px;
    left: -330px;
  }

  .number {
    font-size: 40px;
  }

  .connection {
    font-size: 18px;
  }

  .contact-button {
    padding: 10px 18px;
    border-radius: 40px;
    font-size: 12px;
  }

  .contact-button .arrow {
    width: 18px;
    height: 18px;
  }

  #contact {
    padding: 40px 0;
  }

  #for-partners {
    max-width: 700px;
    padding-top: 40px;
  }

  #for-candidates {
    max-width: 700px;
  }

  #parent-1 {
    display: flex;
    justify-items: center;
    gap: 30px;
    justify-content: center;
  }

  #arrow-sequence-1,
  #arrow-sequence-2 {
    width: 350px;
  }

  #running-line-2 {
    height: 54px;
  }

  .scroll-text-2 {
    font-size: 24px;
    padding-right: 16px;
  }

  footer {
    padding: 40px 20px;
    text-align: center;
  }

  .footer-content {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 30px;

    padding: 0 0;
  }

  .footer-group {
    align-items: center;
    gap: 10px;
  }

  .footer-column.footer-nav nav {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 0 0 0 0;
    font-size: 14px;
  }

  .footer-column.footer-contacts {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
  }

  .telegram-circle img {
    width: 14px;
    height: 14px;
  }

  .footer-bottom {
    font-size: 12px;
    margin-top: 0;
    padding: 15px 10px 0;
  }

  .footer-bottom a {
    font-size: 13px;
    display: block;
    margin-top: 5px;
  }

  #cases-mob {
    display: block;
    padding: 60px 0;
  }

  #cases-title-mob {
    font-size: 30px;
  }

  .case-title {
    font-size: 18px;
  }

  .case-desc {
    font-size: 14px;
  }

}

@keyframes floatSoft {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-6px) rotate(0.4deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }


}

@media screen and (max-width: 1024px) {

  #cases {
    display: none;
  }

  #cases-list-mob {
    grid-template-columns: repeat(1, 1fr);
    gap: 26px;
    align-items: center;

    width: 90%;
    max-width: 1050px;
    margin: 0 auto;

    transition: none !important;
    transform: none !important;
    opacity: 1 !important;

    display: none;
  }

  .cases-opened #cases-title-mob {
    opacity: 0;
    pointer-events: none;
    height: 0;
    overflow: hidden;
  }

  .cases-opened #cases-list-mob {
    display: grid;
  }

  .cases-opened#cases-wrapper-mob::before {
    top: 10px;
    left: 10px;
    border-color: rgba(0, 0, 0, 0.55);
  }

  .cases-opened#cases-wrapper-mob::after {
    bottom: 10px;
    right: 10px;
    border-color: rgba(0, 0, 0, 0.55);
  }

  .cases-opened#cases-wrapper-mob {
    cursor: default;
  }
}

@media screen and (min-width: 1025px) {
  #our-values .value:nth-child(1) {
    animation: floatSoft 6s ease-in-out infinite;
    animation-delay: 0s;
  }

  #our-values .value:nth-child(2) {
    animation: floatSoft 6s ease-in-out infinite;
    animation-delay: 1.2s;
  }

  #our-values .value:nth-child(3) {
    animation: floatSoft 6s ease-in-out infinite;
    animation-delay: 2.4s;
  }

  #our-values .value:nth-child(4) {
    animation: floatSoft 6s ease-in-out infinite;
    animation-delay: 0.8s;
  }


}

@media screen and (min-width: 1600px) {
  .container {
    max-width: 1400px;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: 2em;
  }

  nav {
    font-size: 25px;
    max-width: 300px;
  }

  #introduction {
    gap: 150px;
    padding: 200px 0;
  }

  .wrapper {
    gap: 60px;
  }

  #about-us-wrapper {
    gap: 100px;
  }

  #decoration+#about-us-info {
    margin-top: -60px;
  }

  .decorative-svg {
    margin-top: 60px;
    margin-bottom: 60px;
  }

  #introduction-name {
    font-size: 26px;
  }

  #introduction-foundation-text {
    font-size: 24px;
  }

  #briefly-about-us {
    font-size: 48px;
  }

  #about-us-info h2 {
    font-size: 30px;
  }

  .text-info {
    font-size: 30px;
  }

  #information-for-partners .text-info {
    font-size: 30px;
    max-width: 1200px;
  }

  #information-for-partners #question {
    font-size: 70px;
  }

  #statistics {
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
  }

  .number {
    font-size: 80px;
  }

  .magnitude {
    font-size: 18px;
  }

  #our-values {
    gap: 40px;
  }

  .value {
    max-width: 310px;
    font-size: 24px;
  }

  .contact-button {
    padding: 20px 30px;
    font-size: 25px;
    border-radius: 35px;
  }

  #contact {
    padding: 80px 0;
  }

  #for-partners {
    max-width: 1200px;
  }

  #for-partners>*:not(:first-child) {
    margin-top: -30px;
  }

  #for-candidates {
    max-width: 1200px;
  }

  #for-candidates>*:not(:first-child) {
    margin-top: -30px;
  }

  #parent-1 {
    display: flex;
    justify-items: center;
    gap: 30px;
    justify-content: center;
  }

  #text-block-1 {
    display: flex;
  }

  #arrow-block-1 {
    opacity: 10%;
  }

  #parent-2 {
    gap: 30px;
  }

  #arrow-block-2 {
    opacity: 10%;
  }

  .connection {
    font-size: 40px;
  }

  #arrow-sequence-1,
  #arrow-sequence-2 {
    width: 600px;
  }

  #geography img {
    width: 1200px;
  }

  .telegram-icon {
    width: 40px;
    height: 40px;
  }

  #animation-sequence-logo {
    width: 1600px;
    top: -330px;
    left: -630px;
  }

  footer {
    max-width: none;
  }

  .scroll-text {
    font-size: 150px;
  }

  #running-line {
    height: 200px;
    padding-bottom: 100px;
  }

  .footer-contacts {
    gap: 30px;
  }

  .footer-contacts a {
    font-size: 20px;
    padding: 22px 22px;
  }

  .telegram-icon {
    width: 48px;
    height: 48px;
  }

  .footer-bottom {
    font-size: 20px;
    margin-top: 20px;
  }

  .footer-bottom a {
    font-size: 18px;
  }

  #cases {
    padding: 70px 0;
  }

  #cases-wrapper::before,
  #cases-wrapper::after {
    position: absolute;
    width: 32px;
    height: 32px;
    border: 2px solid rgba(0, 0, 0, 0.36);
  }

  #cases-wrapper::before {
    top: 32%;
    left: 32%;
    border-right: none;
    border-bottom: none;
    border-radius: 18px 0 0 0;
  }

  #cases-wrapper::after {
    bottom: 32%;
    right: 32%;
    border-left: none;
    border-top: none;
    border-radius: 0 0 18px 0;
  }

  #cases-wrapper:hover::before {
    top: -15px;
    left: 10px;
    border-color: rgba(0, 0, 0, 0.55);
  }

  #cases-wrapper:hover::after {
    bottom: -15px;
    right: 10px;
    border-color: rgba(0, 0, 0, 0.55);
  }

  #cases-title {
    font-size: 46px;
    font-weight: 600;
  }

  #cases-list {
    gap: 28px;
    max-width: 1600px;
  }

  .case-title {
    font-size: 26px;
  }

  .case-desc {
    font-size: 18px;
  }

}