html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: sans-serif;
}

header {
  background: #f5f5f5;
  padding: 20px 0;
}

.header__wrapp {
  max-width: 1900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
}

.header__title {
  font-size: 24px;
  font-weight: bold;
}

.scroll__button {
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 500;
  background-color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.scroll__button:hover {
  background-color: #005fa3;
  transform: translateY(-2px);
}

main {
  max-width: 1900px;
  margin: 0 auto;
  padding: 40px;
}

section {
  padding: 60px 0;
  background-color: #fff;
}

.spiral {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

.spiral-steps {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

.spiral-step {
  position: relative;
  color: white;
  padding: 30px 30px 40px 80px;
  margin: 30px 0;
  border-radius: 5px;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 55% 90%, 50% 100%, 45% 90%, 0 90%);
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.spiral-step.left {
  margin-right: auto;
  width: 80%;
  margin-left: 0;
  text-align: left;
  transform: translateX(-40px);
}

.spiral-step.right {
  margin-left: auto;
  width: 80%;
  margin-right: 0;
  text-align: left;
  transform: translateX(40px);
}

.spiral-step.visible {
  opacity: 1;
  transform: translateX(0);
}

.spiral-step .number {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: bold;
  background: white;
  color: black;
  padding: 8px 14px;
  border-radius: 50%;
}

.green {
  background: #7ac142;
}

.lightgreen {
  background: #8dc63f;
}

.blue {
  background: #2e8dc3;
}

.darkblue {
  background: #1c3c66;
}

.orange {
  background: #f26522;
}

.banner {
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.banner__wrapp {
  flex: 1;
  min-width: 300px;
}

.banner__wrapp img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.banner__title {
  font-size: 36px;
  font-weight: bold;
  color: #1c3c66;
  margin-bottom: 20px;
}

.banner__description {
  font-size: 18px;
  color: #555;
}

.article {
  max-width: 1900px;
  margin: 0 auto;
  padding: 0 40px;
}

.article__wrapp {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;

}

.article__icon {
  width: 60px;
  height: 60px;
}

.article__text {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
  margin: 0 0 15px;
}

.article__text2 {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

.slider {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slider__title {
  text-align: center;
  margin-bottom: 30px;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(122, 193, 66, 0.15);
  background: #f9fdfd;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  gap: 20px;
  will-change: transform;
}

.card {
  flex: 0 0 100%;
  max-width: 600px;
  background: #e7f0ff;
  padding: 25px 30px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  color: #1c3c66;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

.card__text {
  white-space: pre-line;
  font-size: 14px;
  line-height: 1.4;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: 700;
  color: #2e6bb2;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  background: #7ac142;
  border: none;
  color: white;
  font-size: 26px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 5px 12px rgba(122, 193, 66, 0.6);
  user-select: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background-color: #5a9d2f;
  transform: scale(1.1);
}

.carousel-btn.left {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  z-index: 10;
  background: #7ac142;
  border: none;
  color: white;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-btn.right {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  z-index: 10;
  background: #7ac142;
  border: none;
  color: white;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

#btnApply {
  margin-top: 30px;
  background-color: #7ac142;
  color: white;
  border: none;
  padding: 15px 50px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(122, 193, 66, 0.6);
  transition: background-color 0.3s ease, transform 0.2s ease;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#btnApply:hover {
  background-color: #5a9d2f;
  transform: scale(1.05);
}

h2 {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #405d27;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.3;
  margin-bottom: 30px;
  text-align: center;
}

.blog {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: stretch;
}

.blog__text {
  flex: 1;
  font-size: 18px;
  color: #333;
  line-height: 1.6;
}

.blog__title {
  font-size: 32px;
  color: #222;
  margin-bottom: 24px;
}

.blog__right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 20px;
  max-width: 500px;
}

.blog__right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  flex-grow: 1;
}

.contact__link {
  display: inline-block;
  padding: 14px 28px;
  background-color: #2e8dc3;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  box-shadow: 0 6px 15px rgba(46, 141, 195, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    transform 0.2s ease;
  cursor: pointer;
}

.contact__link:hover {
  background-color: #246aa1;
  box-shadow: 0 8px 20px rgba(36, 106, 161, 0.6);
  transform: scale(1.05);
}

.section {
  max-width: 1000px;
  margin: 0 auto;
}

.section h2 {
  font-size: 32px;
  color: #222;
  margin-bottom: 24px;
  text-align: center;
}

.section p {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
}

#application-section {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-family: Arial, sans-serif;
  margin-top: -100px;
}

#application-section h2 {
  text-align: center;
  margin-bottom: 30px;
}

form {
  max-width: 500px;
  margin: 40px auto;
  padding: 30px 35px;
  background: #f9fdfa;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(122, 193, 66, 0.25);
  display: flex;
  flex-direction: column;
  gap: 25px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #2c3e50;
}

label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 16px;
  color: #405d27;
}

input {
  margin-top: 8px;
  padding: 12px 15px;
  font-size: 16px;
  border: 2px solid #7ac142;
  border-radius: 10px;
  transition: border-color 0.3s ease;
}
input:focus {
  border-color: #4e7c1f;
  outline: none;
}
textarea {
  margin-top: 8px;
  padding: 12px 15px;
  font-size: 16px;
  border: 2px solid #7ac142;
  border-radius: 10px;
  resize: vertical;
  min-height: 100px;
  transition: border-color 0.3s ease;
  font-family: inherit;
}
textarea:focus {
  border-color: #4e7c1f;
  outline: none;
}
.submit__button {
  background-color: #7ac142;
  color: white;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 0;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(122, 193, 66, 0.5);
  transition: background-color 0.3s ease, transform 0.2s ease;
  width: 100%;
}

.submit__button:hover {
  background-color: #5a9d2f;
  transform: scale(1.05);
}

#thank-you-message {
  display: none;
  text-align: center;
  padding: 20px;
  font-size: 18px;
  color: #333;
}

footer {
  background-color: #f9f9f9;
  padding: 50px 20px;
  font-family: Arial, sans-serif;
  color: #333;
}

.footer__wrapp {
  max-width: 1200px;
  margin: 0 auto;
}

.footer__logo {
  text-align: center;
  margin-bottom: 30px;
}

.footer__second {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer__second__wrapp {
  flex: 1 1 500px;
}

.footer__second h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

.footer__second p {
  line-height: 1.6;
  margin-bottom: 10px;
}

.pcontakt {
  line-height: 1.6;
}

.footer__bottom {
  text-align: center;
  border-top: 1px solid #ddd;
  padding-top: 20px;
  font-size: 14px;
  color: #666;
}

footer a {
  color: #2e6bb2;
}
