body,
html {
  font-family: 'Poppins', sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
}
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
}
h2 {
  font-weight: 500;
  line-height: 140%;
  letter-spacing: 3%;
  font-size: 28px;
  color: #ffffff;
}
h3 {
  color: rgb(25, 57, 133);
  font-size: 26px;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: 3%;
  margin: 75px 0 60px 0;
  display: inline-block;
  position: relative;
}
h3::after {
  content: '';
  display: block;
  margin-top: 6px;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
  height: 4px;
  background: linear-gradient(to right, #1d4c9e 0%, #90b4f2 100%);
  border-radius: 5px;
}
h4 {
  color: rgb(0, 0, 0);
  font-size: 18px;
  font-weight: 700;
  line-height: 130%;
  letter-spacing: 3%;
  text-align: center;
}
h5 {
  color: rgb(255, 255, 255);
  font-size: 20px;
  font-weight: 400;
  line-height: 130%;
  letter-spacing: 3%;
}
@media (max-width: 768px) {
  h5 {
    font-size: 18px;
  }
}
h6 {
  color: rgb(0, 0, 0);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 130%;
  letter-spacing: 3%;
}

p {
  color: rgb(0, 0, 0);
  font-family: 'Raleway';
  font-size: 18px;
  font-weight: 300;
  line-height: 170%;
  letter-spacing: 3%;
  text-align: left;
}
p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}
a {
  color: #608dfd;
  font-weight: 400;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #608dfd;
}
ul,
ol {
  list-style: none;
}
ul,
ol {
  padding: 0;
  webkit-padding: 0;
  moz-padding: 0;
}
hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #1e7a46;
  margin-bottom: 20px;
  border: 0;
}
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease-in-out, transform 0.7s ease-in-out;
}
.fade-in-visible {
  opacity: 1;
  transform: translateY(0px);
}
.slide-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.slide-right {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.slide-visible {
  opacity: 1;
  transform: translateX(0px);
}
/* Navigation */
.mail-btn {
  cursor: pointer;
  display: flex;
  white-space: nowrap;
  align-items: center;
  width: fit-content;
  height: fit-content;
  border-radius: 35px;
  background: rgb(202, 215, 248);
  margin-top: 6px;
  transition: background-color 0.3s ease;
}
.mail-btn:hover {
  background-color: rgb(218, 227, 251);
}
.mail-btn-toggle {
  display: none;
  white-space: nowrap;
  align-items: center;
  width: fit-content;
  height: fit-content;
  border-radius: 35px;
  background: rgb(202, 215, 248);
  margin-top: 20px;
}
.text-mail-btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: rgb(38, 81, 181);
  white-space: nowrap;
  display: inline-block;
  padding: 12px 24px;
}
#menu {
  padding: 15px;
  transition: all 0.8s;
}
#menu.navbar-default {
  background-color: #fff;
  border-color: rgba(231, 231, 231, 0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}
#menu a.navbar-brand-large {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: left;
}

#menu a.navbar-brand-large {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #737c8b;
  margin-bottom: -5px;
}
#menu a.navbar-brand-small {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #737c8b;
}
#menu.navbar-default .navbar-nav > li > a {
  font-family: 'Poppins', sans-serif;
  color: #193985;
  font-size: 18px;
  font-weight: 400;
  padding: 8px 2px;
  border-radius: 0;
  margin: 9px 10px 0;
}
#menu.navbar-default .navbar-nav > li > a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 3px;
  background: #2651b5 !important;
  border-radius: 5px;
  content: '';
  transition: width 0.2s;
}
#menu.navbar-default .navbar-nav > li > a:hover:after {
  width: 60%;
}
#menu.navbar-default .navbar-nav > li > a.active {
  position: relative;
  color: #2651b5; /* Цвет текста активной ссылки */
}

#menu.navbar-default .navbar-nav > li > a.active:after {
  width: 60% !important;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: transparent;
}

.navbar-toggle {
  border-radius: 0;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #fff;
  border-color: #608dfd;
}
.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: #608dfd;
}
/* navbar hiding */
.navbar.nav-hidden {
  top: -320px;
}

.navbar.nav-visible {
  top: 0;
}
.section-title {
  margin-bottom: 60px;
}
.section-title h3 {
  display: inline-block;
  position: relative;
  margin-top: 65px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
.section-title h3::after {
  content: '';
  display: block;
  margin-top: 6px;
  margin-left: auto;
  margin-right: auto;
  width: 60%;
  height: 4px;
  background: linear-gradient(to right, #145da0 0%, #6caee4 100%);
  border-radius: 5px;
}
.section-title p {
  font-size: 18px;
}
.btn-custom {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background-color: #2651b5;
  padding: 20px 65px;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  border-radius: 14px;
  transition: all 0.5s linear;
  border: 0;
  box-shadow: 0px 5.98px 8.54px 0px rgba(0, 0, 0, 0.15);
}
.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #fff;
  background-image: none;
  background-color: #3b74d5;
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}
/* Header Section */
.intro {
  display: table;
  width: 100%;
  padding: 0;
  height: auto;
  background: url('../img/mainBg.jpg') center center repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center 0;
  transition: background-position 1s ease-out;
}
.intro .overlay {
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
}
.intro h1 {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  font-size: clamp(18px, 7vw, 54px);
  font-weight: 800;
  margin-top: 0;
  margin-bottom: 3px;
  white-space: nowrap;
}
.intro h1 span {
  font-weight: 800;
  color: #5ca9fb;
}
.intro h2 {
  font-size: clamp(16px, 2vw, 28px);
}

header .intro-text {
  padding-top: 20%;
  padding-bottom: 25%;
  text-align: left;
}
.aboutus {
  display: flex;
  background-color: #fff;
  margin: auto;
  max-width: 600px;
  width: 100%;
  padding: 0 15px;
  border-radius: 12px;
  margin-bottom: 15%;
}
.aboutus-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
}
@media (max-width: 768px) {
  .aboutus-content {
    padding: 40px 0 20px 0;
  }
}
.aboutus-content h3 {
  margin-top: 0px;
  margin-bottom: 30px;
}
.title-opacity {
  opacity: 0;
  animation: opacity 1.2s ease-in-out forwards 0.3s;
}
@keyframes opacity {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.typewriter {
  opacity: 0;
  overflow: hidden;
  animation: typing 0.8s ease-in-out forwards 0.7s;
}
@keyframes typing {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 110%;
    opacity: 1;
  }
}
.intro-arrow {
  position: fixed;
  padding: 10px 10px;
  top: 92%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.intro-arrow:hover {
  animation: moveUpDown 1s ease-in-out infinite;
  cursor: pointer;
}
@keyframes moveUpDown {
  0%,
  100% {
    transform: translate(-50%, -57%); /* Движение вверх */
  }
  50% {
    transform: translate(-50%, -43%); /* Движение вниз */
  }
}
/* Features Section */
.features-section {
  background-color: rgb(250, 250, 250);
}
.features-cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  padding: 0 0px 75px 0px;
}

.feature-card {
  flex: 1 1 calc(33.333% - 30px);
  min-width: 250px;
  border-radius: 16px;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.1);
  padding: 40px;
  background-color: #fff;
  text-align: center;
}
@media (max-width: 768px) {
  .feature-card {
    padding: 40px 15px 20px 15px;
  }
}
.feature-card h4 {
  padding: 30px 0;
  margin: 0;
}
.feature-card h4 {
  padding: 20px 0;
  margin: 0;
}
/* Interest Section */
.interest {
  display: flex;
  flex-direction: row;
  gap: 40px;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.interest .btn-custom {
  transform: translateY(-9px);
  background-color: #fff;
  color: rgb(25, 57, 133);
}
.interest .btn-custom:hover {
  background-color: rgb(218, 227, 251);
}
/* About Section */
.about-grid-container {
  display: grid;
  align-items: center;
  grid-template-columns: 3fr 2fr;
  gap: 20px;
}
.about-image img {
  margin: 0 auto;
  width: 100%;
  min-width: 300px;
  max-width: 450px;
}

@media (max-width: 992px) {
  .about-grid-container {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .about-image img {
    width: 100%;
  }
}

#about .about-text li {
  list-style: none;
  padding: 0;
}

#about p {
  margin-top: 15px;
}
.why-choose {
  display: flex;
  align-items: center;
  align-content: center;
  margin-bottom: 30px;
  height: fit-content;
  gap: 10px;
}
.why-choose-text {
  font-family: 'Poppins', sans-serif;
  color: rgb(0, 0, 0);
  font-size: 16px;
  font-weight: 600;
  line-height: 130%;
  letter-spacing: 3%;
}
.checkbox-icon {
  max-width: 24px;
  height: auto;
}
.spacer {
  display: block;
  height: 20px;
}
#steps h5 {
  color: #000;
  margin-top: -10px;
  margin-bottom: 30px;
}
.steps-section {
  background-color: #fafafa;
}
.steps-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 45px;
}
@media (max-width: 992px) {
  .steps-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .steps-grid-container {
    grid-template-columns: 1fr;
  }
}
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-content: center;
  justify-content: flex-start;
  text-align: center;
  width: 100%;
  margin-bottom: 30px;
}
.step h4 {
  margin-top: 40px;
  height: 40px;
}
.step img {
  width: 75%;
  max-width: 200px;
}

/* Testimonials Section */
.swiper-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0 0 75px 0;
}
.swiper-prev {
  transform: translateX(-60px);
}
.swiper-next {
  transform: translateX(60px);
}
@media (max-width: 1100px) {
  .swiper-prev {
    display: none;
  }
  .swiper-next {
    display: none;
  }
}
.review-card {
  display: flex;
  flex-direction: column;
  gap: 50;
  padding: 30px;
  background: rgb(250, 250, 250);
  border-radius: 16px;
}
.review-logo,
.review-company {
  align-self: center;
  color: #193985;
}
.review-logo {
  width: 64px;
  height: 64px;
  align-content: center;
}
.quote-top {
  width: 20px;
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Contact Section */
.contact-section {
  background: #fafafa;
}
.contact-grid {
  margin: 0 0 75px 0;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 50px;
}
.contact-info {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.1);
  background: rgb(255, 255, 255);
  padding: 40px;
}
.contact-element {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 10px 0;
}
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-info {
    box-shadow: none;
    background: #fafafa;
    align-items: center;
    padding: 0;
  }
}
.copy-message {
  background-color: #193985;
  color: white;
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 5px;
  position: absolute;
  opacity: 1;
  transition: opacity 2s ease-in-out;
  animation: fadeOut 3s forwards;
  transform: translateY(-70px);
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/* Footer Section*/
#footer {
  background: #000;
  padding: 75px 40px;
}
.footer-grid {
  display: grid;
  justify-items: center;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
}
.footer-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .footer-grid {
    justify-items: left;
  }
}
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-brand-large {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 900;
  color: #737c8b;
  margin-bottom: -5px;
}
.footer-brand-small {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #737c8b;
}
#footer p {
  color: #fff;
  font-size: 16px;
  margin: 0;
  max-width: 260px;
}
#footer a {
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
}
#footer a:hover {
  border-bottom: 2px solid #2651b5;
  width: fit-content;
}
.footer-divider {
  border-bottom: 1px solid #343a42;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: -10%;
  margin-right: -10%;
}

/* Modal */
.modal {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: white;
  padding: 40px 0 20px 0;
  border-radius: 16px;
  min-width: 90%;
  min-height: 80%;
  max-width: 80%;
  max-height: 90%;
  position: relative;
  transform: translateY(40px);
}
.modal-impressum {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-impressum-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  padding: 70px 150px 70px 150px;
  overflow-y: auto;
  position: relative;
}
.close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 34px;
  cursor: pointer;
  transform: translateX(10px) translateY(-10px);
}
/* burger button */
.unique-burger-button {
  display: none;
  flex-direction: column;
  width: 45px;
  cursor: pointer;
}
.unique-burger-line {
  background: rgb(115, 124, 139);
  border-radius: 10px;
  height: 4px;
  margin: 3px 0;
  transition: 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}
.unique-burger-line:nth-of-type(1) {
  width: 50%;
}

.unique-burger-line:nth-of-type(2) {
  width: 80%;
}
.unique-burger-line:nth-of-type(3) {
  width: 75%;
}
.unique-burger-checkbox {
  display: none;
}
.unique-burger-checkbox:checked ~ .unique-burger-line:nth-of-type(1) {
  transform-origin: bottom;
  transform: rotate(45deg) translate(4px, 2px);
}
.unique-burger-checkbox:checked ~ .unique-burger-line:nth-of-type(2) {
  transform-origin: top;
  transform: rotate(-45deg);
}
.unique-burger-checkbox:checked ~ .unique-burger-line:nth-of-type(3) {
  transform-origin: bottom;
  width: 50%;
  transform: translate(11px, -6px) rotate(45deg);
}

@media (max-width: 768px) {
  /* mailbtn visibility on mobile */
  #mail-btn-toggle {
    display: flex;
  }
  #burgerBtn {
    display: flex;
  }
  h3 {
    font-size: 22px;
    margin: 50px 0;
  }
  h4 {
    font-size: 16px;
  }
  p {
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 0;
  }
  #about p {
    margin-top: 0;
    margin-bottom: 0;
  }
  #about h3 {
    margin: 50px 0;
  }
  .intro {
    background-size: 300%;
  }
  header .container {
    width: 100vw;
  }
  .interest {
    flex-direction: column;
    gap: 0;
  }
  .navbar-cheat {
    display: none;
  }
}

@media (max-width: 992px) {
  #mail-btn {
    display: none;
  }
  header .intro-text {
    padding-top: 40%;
    padding-bottom: 65%;
  }
}
