body {
  margin: 0;
  align-items: center;
  padding: 0;
  background-color: #f8f8fa;
  font-family: "Geologica", sans-serif;
}

:root {
  --gold-color: rgba(235, 194, 113, 1);
}

a {
  color: inherit;
  text-decoration: none;
}

#burger {
  display: none;
}

.navbar {
  color: #000;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;

  .navbar_logo {
    perspective: 1000px;
  }

  .navbar_logo img {
    width: 80px;
    cursor: pointer;
    animation: spinY 4s linear infinite;
  }

  @keyframes spinY {
    from {
      transform: rotateY(0deg);
    }
    to {
      transform: rotateY(360deg);
    }
  }

  .navbar_links {
    display: flex;
    font-weight: 400;
    gap: 20px;
    font-size: 16px;
  }

  .navbar_btns {
    justify-content: end;
    align-items: center;
    display: flex;
    gap: 10px;

    .navbar_btns_search {
      width: 40px;
      cursor: pointer;
    }

    .navbar_btns_lang {
      display: flex;
      gap: 5px;

      .navbar_btns_ru {
        cursor: pointer;
        font-size: 16px;
        display: flex;
        align-items: center;
        border-radius: 8px;
        padding: 0 15px;
        color: white;
        background-color: #ebc271;
        height: 40px;
        transition: transform 0.3s ease-in-out;
      }

      .navbar_btns_ru:hover {
        transform: scale(1.02);
      }

      .navbar_btns_kk {
        cursor: pointer;
        font-size: 16px;
        display: flex;
        align-items: center;
        border-radius: 8px;
        padding: 0 15px;
        color: #ebc271;
        height: 40px;
        transition: transform 0.3s ease-in-out;
      }

      .navbar_btns_kk:hover {
        transform: scale(1.02);
      }
    }

    .navbar_btns_login {
      cursor: pointer;
      justify-content: center;
      height: 41px;
      padding: 0 24px;
      color: white;
      background-color: #ebc271;
      border-radius: 20px;
      display: flex;
      align-items: center;
      transition: transform 0.3s ease-in-out;
    }
    .navbar_btns_login:hover {
      transform: scale(1.02);
    }

  }
}

.burger {
  z-index: 1;
  display: none;
  position: absolute;
  right: 30px;
  top: 30px;
}

.navbar_mobile {
  z-index: 50;
  display: none;
  transition: all 0.3s ease-in-out;
  transform: translateX(100%);
}

@media (max-width: 1400px) {
  .navbar {
    display: none;
  }

  #burger {
    display: block;
  }

  .navbar_mobile {
    display: flex;
    flex-direction: column;
    top: 0;

    z-index: 50;
    gap: 20px;
    position: fixed;
    right: 0;
    height: 100vh;

    background: rgba(255, 255, 255);
    box-shadow: 0 0 10px rgb(0, 0, 0, 0.2);

    padding: 20px;

    .navbar_mobile_logo img {
      width: 50px;
    }

    .navbar_mobile_links {
      font-weight: 300;
      display: flex;
      flex-direction: column;
      gap: 20px;
      font-size: 20px;
      a {
        color: #ebc271;
      }
    }

    .navbar_mobile_btns {
      gap: 20px;
      display: flex;
      flex-direction: column;
      justify-content: center;

      .navbar_btns_search {
        width: 40px;
      }

      .navbar_mobile_btns_up {
        display: flex;
        align-items: center;
        gap: 20px;

        .navbar_mobile_btns_lang {
          display: flex;
          align-items: center;

          .navbar_mobile_btns_ru {
            display: flex;
            align-items: center;
            font-size: 16px;
            border-radius: 8px;
            padding: 0 15px;
            color: white;
            background-color: #ebc271;
            height: 40px;
          }

          .navbar_mobile_btns_kz {
            display: flex;
            align-items: center;
            font-size: 16px;
            border-radius: 8px;
            padding: 0 15px;
            color: #ebc271;
            height: 40px;
          }
        }
      }
    }
    .navbar_mobile_btns_login {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 50px;
      padding: 0 24px;
      color: #ebc271;
      border: 1px solid #ebc271;
      border-radius: 8px;
      align-items: center;
    }
  }
}

.header {
  margin-top: 30px;
  background-color: #ffffff;
  border-radius: 0.7rem;
  padding: 10px;
  justify-content: space-between;
  align-items: center;
  position: unset;
  top: 24px;

  .header_links {
    display: flex; gap: 20px
  }
}



.header_logo img {
  width: 80px;
}

#block-altynsapa-strokanavigacii{
  margin-top: 30px;
}
#block-altynsapa-strokanavigacii .navigation{
  display: flex;
  gap: 15px;
}
.site-button {
  text-decoration: none;
  color: #262b39;
  font-family: Geologica;
  font-size: 14px;
  padding: 8px 12px;
  border: 1px solid #e7e7e7;
  border-radius: 24px;
  line-height: 18px;
  transition: background-color 0.3s ease;
}

.site-button:hover {
  background-color: rgba(235, 194, 113, 1);
}

p {
  font-family: Geologica;
  font-size: 24px;
  line-height: 18px;
}

.img {
  height: 38px;
  width: 48px;
  padding-right: 60px;
  padding-left: 1rem;
}

.btn {
  margin-right: 1rem;
  padding: 0.5rem 0.7rem 0.5rem 0.7rem;
  background-color: white;
  border: rgb(214, 213, 213) solid 1px;
  border-radius: 1rem;
  cursor: pointer;
  font-family: Geologica;
  font-size: 14px;
  line-height: 18px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: rgba(235, 194, 113, 1);
}

.card {
  background-color: white;
  height: auto;
  width: 444px;
  border-radius: 8px;
  margin: 7rem auto;
}

.paragraph {
  font-family: Arial;
  font-weight: 400;
  font-size: 24px;
  line-height: 28px;
  text-align: center;
}

.registration-form {
  display: grid;
  padding-right: 2rem;
  padding-left: 2rem;
}

.info {
  font-size: 16px;
  color: #262b39;
  margin: 0;
  line-height: 20px;
  padding-bottom: 6px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"] {
  margin-bottom: 20px;
  padding: 0.7rem;
  border: 1px solid #e7e7e7;
  border-radius: 0.4rem;
  font-size: 16px;
  outline: none;
  font-family: Geologica;
  font-size: 16px;
  line-height: 20px;
}

button[type="submit"] {
  padding: 0.9rem;
  background-color: #1760a4;
  border: none;
  border-radius: 0.4rem;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #05427a;
}
.ask {
  text-align: center;
  font-size: 16px;
  line-height: 22px;
  color: #737373;
  margin: 0;
  padding-top: 32px;
  margin-bottom: 1.8rem;
}
.more {
  font-size: 13px;
  color: #737373;
  line-height: 18px;
  margin: 0;
  padding-bottom: 32px;
}
.link {
  color: #1760a4;
  text-decoration: none;
  transition: color 0.3s ease;
}
.title {
  line-height: 18px;
  font-family: Geologica;
  font-size: 24px;
}
.password-wrapper {
  position: relative;
  display: block;
  align-items: center;
}

.password-wrapper input {
  flex: 1;
  padding: 0.7rem;
  padding-right: 40px;
  box-sizing: border-box;
  border: 1px solid #e7e7e7;
  border-radius: 0.4rem;
  font-size: 16px;
  outline: none;
  font-family: Geologica;
  width: 100%;
}

.toggle-password {
  position: absolute;
  right: 10px;
  cursor: pointer;
  color: #737373;
  font-size: 16px;
  line-height: 20px;
  display: flex;
  align-items: center;
  height: 100%;
  padding-bottom: 18px;
}

.toggle-password:hover {
  color: #1760a4;
  transition: color 0.3s ease;
}

@media (max-width: 1400px) {
  #burger {
    display: block;
  }
}


@media (max-width: 1200px) {
  body {
    
  }

  .header {
    padding: 10px 100px;
  }
}

@media (max-width: 1024px) {
  body {
    
  }

  .header {
    padding: 0 30px;
  }

  .paragraph {
    font-family: Arial;
    font-weight: 400;
    font-size: 24px;
    text-align: center;
  }

  .registration-form {
    width: 100%;
    display: grid;
    margin: 0 auto;
    padding: 0;
  }

  button[type="submit"] {
    width: initial;
  }

  .card {
    padding: 0 20px;
    width: initial;
  }
}

@media (max-width: 768px) {
  body {
    
  }

  .header {
    width: 100vw;
    padding: 0;
    top: 0;
    left: 0;
    transform: translateX(0);
    margin: 0;
  }
}
.error-message {
  color: red;
  font-size: 14px;
  margin-top: 3px;
  margin-bottom: 10px;
  display: block; width: 100%;
}
button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}
.info.message{
  margin-top: 20px;
}