@font-face {
  font-family: "Roboto";
  src: url('../fonts/Roboto-Regular.ttf');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url('../fonts/Roboto-Medium.ttf');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url('../fonts/Roboto-SemiBold.ttf');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url('../fonts/Roboto-Bold.ttf');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Roboto";
  src: url('../fonts/Roboto-ExtraBold.ttf');
  font-weight: 800;
  font-display: swap;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #EDEDED;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
}

header {
  background: url("../img/header-bg.png") no-repeat center/cover;
  padding-bottom: 1092px;
}

.main-logo-top {
  padding-top: 50px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo span {
  font-weight: 400;
  font-size: 48px;
  line-height: 100%;
  color: #fff;
}

main {
  margin-top: -1140px;
}

.main-logo {
  display: flex;
  justify-content: end;
}

.agent {
  display: flex;
  flex-direction: column;
  align-items: end;
}

.agent-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: start;
}

.agent-header h2 {
  width: 100%;
  max-width: 829px;
  font-weight: 800;
  font-size: 56px;
  line-height: 110%;
  text-transform: uppercase;
  color: #fff;
  text-align: left;
}

.agent-header p{
  max-width: 829px;
  width: 100%;
  font-size: 16px;
  color: #DFDFDF;
  font-weight: 400;
  line-height: 150%;
  text-align: left;
  margin-top: 47px;
}

.agent-table-holder {
  position: relative;
  z-index: 3;
  margin-top: 86px;
  width: 100%;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 24px;
}

.agent-table-holder-item-wrap {
  display: flex;
}

.agent-table-holder-item {
  width: 100%;
  background-color: #fff;
  display: flex;
  padding: 56px 46px;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 
  0px 5px 11px 0px #1D1B1B0F,
  0px 20px 20px 0px #1D1B1B0D,
  0px 46px 27px 0px #1D1B1B08,
  0px 81px 33px 0px #1D1B1B03,
  0px 127px 36px 0px #1D1B1B00;
  backdrop-filter: blur(4px);
  border-radius: 10px;
}

.agent-table-holder-item-logo {
  width: 100%;
  max-width: 185px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  gap: 20px;
}

.agent-table-holder-item-adv {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.agent-table-holder-item-adv-block {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
}

.agent-table-holder-item-adv-block span {
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  text-align: center;
  text-transform: lowercase;
  color: #444444;
}

.agent-table-holder-item-assets {
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 27px;
}

.agent-table-holder-item-assets-block {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border: 1px solid #117939;
  border-radius: 6px;
}

.agent-table-holder-item-assets-block .text {
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  color: #117939;
}

.agent-table-holder-item-assets-block .number {
  font-weight: 700;
  font-size: 18px;
  line-height: 100%;
  text-align: center;
  color: #444444;
}

.agent-table-holder-item-assets-block:nth-child(2) .number {
  color: #299F56;
}

.agent-table-holder-item-link {
  width: 100%;
  max-width: 247px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
}

.agent-table-holder-item-link a {
  align-self: stretch;
  width: 100%;
  font-size: 18px;
  font-weight: 700;
  background-color: #117939;
  line-height: 24px;
  color: #fff;
  text-align: center;
  padding: 16px; 
  transition: all ease 0.3s;
  border-radius: 3px;
}

.agent-table-holder-item-link a:hover {
  background-color: #17a04c;;
}

.faq-block-holder-wrap {
  padding: 86px 0;
}

.faq-block-holder {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.faq-block-holder h2 {
  font-weight: 600;
  font-size: 48px;
  line-height: 100%;
  text-align: center;
  text-transform: uppercase;
  color: #444444;
}

.faq-block-holder-items {
  width: 100%;
  max-width: 1230px;
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-block-questions-item {
  width: 100%;
  cursor: pointer;
}

.faq-block-questions-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid transparent;
  padding: 36px;
  transition: all ease .3s;
  background: #117939;
}

.faq-block-questions-item-icon {
  width: 100%;
  max-width: 26px;
  height: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url("../img/white-plus.png");
  background-repeat: no-repeat;
  background-position: center;
  transition: all ease .3s;
}

.faq-block-questions-item-label {
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  line-height: 100%;
  text-align: center;
  color: #fff;
}

.faq-block-questions-item-bottom {
  height: 0;
  color: #444444;
  background-color: #fff;
  font-size: 16px;
  line-height: 100%;
  font-weight: 400;
  overflow: hidden;
  opacity: 0;
  transition: all ease 0.3s;
}

.faq-block-questions-item.active .faq-block-questions-item-icon {
  background-image: url("../img/white-minus.png");
}

.faq-block-questions-item.active .faq-block-questions-item-bottom {
  padding: 36px;
  height: auto;
  opacity: 1;
}

footer {
  padding: 84px 0;
  background: url("../img/footer-bg.png") no-repeat center/cover;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 64px;
}

.footer-top {
  width: 100%;
}

.footer-bottom {
  width: 100%;
}

.footer-top-content {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.footer-right {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

footer .logo span {
  color: #fff;
}

.footer-content-top-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}

.footer-content-top-links a {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #E4E4E4;
}

.footer-middle-content {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.footer-middle-content-items {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
}
.footer-middle-content-items .footer-block-text-item {
  width: 100%;
  max-width: 702px;
}
.footer-block-text-item h3 {
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  color: #fff;
  border-bottom: 1px solid #117939;
  padding-bottom: 12px;
}

.footer-block-text-item p {
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: #B9B9B9;
  margin-top: 32px;
}

.footer-bottom-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}

.footer-bottom-content p {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #E4E4E4;
}

.footer-block-images {
  display: flex;
  align-items: center;
  gap: 30px;
}

.footer-top-text {
  margin-top: 64px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-top-text .footer-block-text-item {
  width: 100%;
  max-width: 458px;
}

.footer-top-text .footer-block-text-item h3 {
  border-bottom: none;
  padding-bottom: 0;
}

.footer-top-text .footer-block-text-item p {
  margin-top: 20px;
}

@media screen and (max-width: 1440px) {
  .container {
    max-width: 90%;
  }

  .footer-bottom-content {
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (max-width: 1280px) {
  .agent-table-holder-number {
    display: none;
  }

  .footer-middle-content-items {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .footer-block-text-item {
    max-width: 100%;
  }
}

@media screen and (max-width: 1180px) {
  main {
    margin-top: -1030px;
  }
}

@media screen and (max-width: 992px) {
  .agent-table-holder-item {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    max-width: 385px;
  }

  .agent-table-holder-item-wrap {
    width: 100%;
    max-width: 380px;
  }

  .agent-table-holder {
    justify-items: center;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: center;
  }

  .footer-top-content {
    flex-direction: column;
    align-items: center;
  }

  .agent-header,
  .agent-header p {
    max-width: 100%;
  }

  .agent-header h2,
  .agent-header p {
    text-align: center;
  }

  .footer-middle-content-items {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .agent-header {
    flex-direction: column;
    align-items: center;
  }

  .faq-block-holder,
  .footer-top-content {
    padding-left: 0;
  }

  .footer-right {
    gap: 20px;
    align-items: center;
  }

  .footer-content-top-links {
    align-items: center;
  }

  .agent-header h2, 
  .agent-header p {
    margin-left: 0;
  }

  .agent-table-holder-item-logo {
    align-self: center;
    padding: 20px;
  }

  .footer-top-text {
    flex-direction: column;
    align-items: center;
  }

  .footer-top-text .footer-block-text-item {
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .footer-content-top {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer-block-images {
    justify-content: center;
  }

  .footer-content-middle {
    flex-direction: column;
    align-items: center;
  }

  .footer-content-middle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .agent-header {
    margin-left: 0;
  }

  .agent-header h2 {
    font-size: 40px;
  }

  .footer-right {
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (max-width: 480px) {
  .footer-block-images,
  .footer-content-top-links {
    flex-direction: column;
    align-items: center;
  }

  .footer-top-content-wrap {
    flex-direction: column;
    align-items: center;
  }

  .faq-block-questions-item-top {
    padding: 18px 24px;
  }

  .faq-block-questions-item-label {
    font-size: 20px;
  }

  .faq-block-questions-item.active .faq-block-questions-item-bottom {
    padding: 20px;
  }

  .footer-bottom-content p {
    text-align: center;
  }
}