.agent__nav {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 50;
}
.agent__nav__logo {
  flex: 0 0 60px;
  overflow: hidden;
  position: relative;
  z-index: 3;
}

.agent__nav::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  z-index: 2;
}
.signup__form {
    max-width: 400px !important;
    width: 100% !important;
}
.agent__text-signup {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 31px;
}
.agent__text-signup a {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 22px;
    color: #8D81FD;
    text-decoration: none;
}
.footer__menu-item {
    font-family: Source Sans Pro;
    font-style: normal;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    outline: none;
    letter-spacing: -0.355556px;
    color: #12022F;
    text-decoration: none;
    margin-right: 38px;
}

@media only screen and (max-width: 420px){
    .footer__menu-item {
        margin-right: 0;
    }
}

.footer__menu-item:hover {
    color: #12022F;
}
/*.footer__menu-logo {*/
/*    max-width: 40px;*/
/*    width: 100%;*/
/*    margin-right: 40px;*/
/*}*/
.footer__menu-logo {
    /*max-width: 40px;*/
    /*width: 100%;*/
    /*margin-right: 40px;*/
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.footer__menu-logo a {
    margin: 10px 0 0 0;
}
.footer__hr {
    width: 100%;
    height: 1px;
    background: #E7E5EA;
    margin-top: 50px;
}
.footer__menu {
    max-width: 456px;
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
}
.footer__menuTwo {
    max-width: 456px;
    width: 100%;
    display: flex;
    justify-content: end;
    align-items: center;
    margin-bottom: 0 !important;
    padding-left: 0 !important;
}
.footer__bottom_text {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
    margin-top: 32px;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    color: #594D6D;

}
.nav__agent_custom-btn {
  /*max-width: 120px;*/
  width: 100%;
  padding: 12px 30px;
  color: var(--light);
  border-radius: 4px;
  margin-left: 20px;
}

.nav__agent-burger {
  display: none;
}

.agent__header {
  background: var(--light);
  margin-top: 85px;
}

.agent__header_box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 44px;
}

.agent__header_box_img img {
  max-width: 400px;
  width: 100%;
}

.agent__benefits {
  background: #282669;
  padding-top: 104px;
  padding-bottom: 90px;
  margin-top: 80px;
}

.agent__benefits-data {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.agent__benefits-block {
  display: flex;
  max-width: 220px;
  width: 100%;
}
.agent__benefits-block img {
  margin-right: 30px;
}

.agent__benefits-block_text {
  max-width: 160px;
  width: 100%;
}

.agent__about_flex {
  display: flex;
  justify-content: space-between;
  padding-top: 80px;
}

.agent__about-btn {
  max-width: 169px;
  width: 100%;
  padding: 5px;
  background: #403A7A;
  color: #FFFFFF;
  border-radius: 4px;
}

.header__agent-img {
  max-width: 490px;
}
.header__agent-img img {
  width: 100%;
}

.agent__about-box {
  display: flex;
  align-items: center;
}
.agent__about-box span {
  max-width: 44px;
  width: 100%;
  height: 44px;
  padding: 4px;
  background: #E9EBF0;
  border-radius: 50%;
  text-align: center;
  font-size: 24px;
  margin-right: 20px;
}

.agent__slider {
  background: #282669;
  padding-top: 60px;
}

.agent__carousel-track {
  padding: 0;
  margin: 0;
  list-style: none;
  position: relative;
  height: 100%;
  background: #2B2B42;
  transition: transform 700ms ease-in;
}

.agent__slider {
  max-width: 100%;
  position: relative;
  margin: auto;
  height: 590px;
}

.agent__slider .agent__slider-item img {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 300px;
  border: none !important;
  box-shadow: none !important;
}

.agent__slider-item {
  text-align: center;
}

.agent__slider .prev, .agent__slider .next {
  cursor: pointer;
  position: absolute;
  top: 0;
  top: 50%;
  text-decoration: none;
  width: auto;
  margin-top: -60px;
  padding: 73px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  margin-right: 50px;
  margin-left: 50px;
}

.agent__slider .next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.slideText {
  position: absolute;
  color: #fff;
  font-size: 35px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 1px 1px 1px #000, 0 0 1em #000;
}

.slider-dots {
    position: absolute;
    bottom: 0;
    left: 50%;
  text-align: center;
  background:  #282669;
  margin-top: 2px;
}

.slider-dots_item {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 2px;
  background-color: #ddd;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.slider-dots_item:hover {
  background-color: #aaa;
}

.slider .item {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}
.agent__contact {
  background:#282669;
  padding-top: 50px;
  padding-bottom: 50px;
}

.agent__contact-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.contact__agent_input {
    display: block;
  max-width: 460px;
  width: 100%;
  background:  #282669;
  border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 15px;
  color: #E9EBF0;
  box-sizing: border-box;
  border-radius: 4px;
  outline: none;
}
.contact__agent_input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.contact__agent_input:hover {
  border: 1px solid white;
}

.agent__contact-btn {
  max-width: 460px;
  width: 100%;
  padding: 15px;
  background: #403A7A;
  border-radius: 5px;
}

.agent__contact_flex {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

@media (max-width: 992px) {
  .agent__about_flex img {
    max-width: 300px;
    width: 100%;
    margin-right: 12px;
  }

  .agent__benefits-block img {
    margin-right: 5px;
  }

  .agent__contact-img {
    display: none;
  }

  .agent__contact_flex {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
}
@media (max-width: 992px) {
  .nav__agent-burger {
    display: block;
    position: relative;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 3;
  }

  .nav__agent-burger::before,
.nav__agent-burger::after {
    content: "";
    background-color: #050505;
    position: absolute;
    width: 30px;
    height: 2px;
    left: 0;
    transition: all 0.3s ease 0s;
  }

  .nav__agent-burger::before {
    top: 0;
  }

  .nav__agent-burger::after {
    bottom: 0;
  }

  .nav__agent-burger.burger__active::before {
    transform: rotate(45deg);
    top: 9px;
    background-color: #2B2B42;
  }

  .nav__agent-burger.burger__active::after {
    transform: rotate(-45deg);
    bottom: 9px;
    background-color: #2B2B42;
  }

  .nav__agent-burger.burger__active span {
    transform: scale(0);
  }

  .nav__agent-burger span {
    position: absolute;
    background-color: var(--dark);
    left: 0;
    width: 30px;
    height: 2px;
    top: 9px;
    transition: all 0.3s ease 0s;
  }

  .agent__benefits-block {
    margin-right: 10px;
  }

  .agent__about_flex {
    flex-direction: column;
  }
  .agent__about_flex img {
    margin: 0 auto;
  }

  .agent__about_flex-img {
    padding-top: 20px;
  }
}
@media (max-width: 992px) {
    .footer__menuTwo {
        justify-content: start;
        margin-left: 80px;
    }
    .footer__menu {
        margin-top: 32px;
        margin-left: 80px;
    }
}
@media (max-width: 600px) {
  .agent__slider .prev, .agent__slider .next {
    margin-top: -25px;
    padding: 16px;
  }
}
@media (max-width: 566px) {
  .agent__benefits-block {
    flex-direction: column;
  }
  .agent__benefits-block img {
    width: 44px;
  }

  .carousel__slide_text {
    max-width: 280px;
    width: 100%;
    font-size: 14px;
  }

  .agent__slider .prev, .agent__slider .next {
    margin-right: 0;
    margin-left: 0;
  }
}
@media (max-width: 420px) {
  .agent__benefits-data {
    flex-direction: column;
    margin-top: 0;
  }
    .footer__menuTwo {
        margin-left: 0px;
        flex-direction: column;
    }
    .footer__menu {
        margin-left: 0px;
        flex-direction: column;
    }
  .agent__benefits-block {
    text-align: center;
    margin-top: 20px;
  }
  .agent__benefits-block img {
    margin: 0 auto;
  }

  .agent__benefits-block_text {
    margin: 0 auto;
  }

  .agent__benefits {
    padding-top: 50px;
  }

  .agent__about_flex img {
    max-width: 100px;
    width: 100%;
  }

  .agent__about_flex-img {
    order: -2;
  }
}
