@font-face {
  font-family: "Montserrat";
  src: url('../fonts/Montserrat-Regular.ttf');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url('../fonts/Montserrat-Medium.ttf');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url('../fonts/Montserrat-SemiBold.ttf');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url('../fonts/Montserrat-Bold.ttf');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url('../fonts/Montserrat-Black.ttf');
  font-weight: 900;
  font-display: swap;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #F3F3F3;
}

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/h-bg-img.png") no-repeat center/cover;
  padding-bottom: 886px;
}

.main-logo-top {
  padding-top: 109px;
}

.logo a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.logo span {
  font-weight: 600;
  font-size: 36px;
  line-height: 100%;
  text-align: center;
  text-transform: lowercase;
  color: #fff;
}

main {
  margin-top: -838px;
  border-bottom: 1px solid #DBDBDB;
}

.main-logo {
  display: flex;
  justify-content: center;
}

.broker {
  display: flex;
  flex-direction: column;
  align-items: end;
}

.broker-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.broker-header h2 {
  width: 100%;
  font-size: 56px;
  font-weight: 900;
  color: #fff;
  line-height: 100%;
  text-align: center;
  max-width: 774px;
}

.broker-header p{
  width: 100%;
  font-size: 18px;
  color: #DAD8D8;
  font-weight: 400;
  line-height: 150%;
  text-align: center;
  margin-top: 24px;
  max-width: 774px;
}

.broker-table-holder {
  position: relative;
  z-index: 3;
  margin-top: 60px;
  width: 100%;
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
}

.broker-table-holder-item-wrap {
  display: flex;
}

.broker-table-holder-item {
  width: 100%;
  background-color: #F3F3F3;
  display: flex;
  padding: 76px 46px;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  box-shadow: 
  0px 6px 13px 0px #1F1F1F05,
  0px 23px 23px 0px #1F1F1F05,
  0px 52px 31px 0px #1F1F1F03,
  0px 93px 37px 0px #1F1F1F00,
  0px 145px 41px 0px #1F1F1F00;
  border: 1px solid #DBDBDB;
  border-radius: 12px;
}

.broker-table-holder-item-logo {
  width: 100%;
  max-width: 185px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  gap: 20px;
}

.broker-table-holder-item-adv {
  width: 100%;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.broker-table-holder-item-adv-block {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: flex-start;
}

.broker-table-holder-item-adv-block span {
  font-size: 16px;
  line-height: 100%;
  font-weight: 400;
  color: #737373;
  text-transform: capitalize;
}

.broker-table-holder-item-assets {
  width: 100%;
  max-width: 264px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
}

.broker-table-holder-item-assets-block {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #D2D2D2;
}

.broker-table-holder-item-assets-block .text {
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: #1D1D1D;
}

.broker-table-holder-item-assets-block .number {
  font-size: 18px;
  font-weight: 400;
  line-height: 100%;
  color: #117939;
}

.broker-table-holder-item-link {
  width: 100%;
  max-width: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.broker-table-holder-item-link-img {
  display: flex;
  gap: 12px;
}

.broker-table-holder-item-link a {
  align-self: stretch;
  width: 100%;
  font-size: 18px;
  font-weight: 600;
  background-color: #1BC15A;
  line-height: 100%;
  color: #fff;
  text-align: center;
  padding: 16px; 
  transition: all ease 0.3s;
  border-radius: 8px;
}

.broker-table-holder-item-link a:hover {
  background-color: #169948;
}

.faq-block-holder-wrap {
  padding: 100px 0;
}

.faq-block-holder {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  
}

.faq-block-holder h2 {
  font-size: 36px;
  line-height: 100%;
  font-weight: 500;
  text-align: center;
  color: #1D1D1D;
}

.faq-block-holder-items {
  width: 100%;
  margin-top: 46px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1020px;
}

.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: 24px 36px;
  transition: all ease .3s;
  background: #1BC15A;
}

.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;
  border-radius: 50%;
  transition: all ease .3s;
}

.faq-block-questions-item-label {
  color: #fff;
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  transition: all ease .3s;
  border: 1px solid transparent;
}

.faq-block-questions-item-bottom {
  height: 0;
  color: #5B5B5B;
  background-color: #fff;
  font-size: 18px;
  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-top {
  padding: 64px 0;
}

.footer-top-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}

.footer-top-content-wrap .logo {
  display: flex;
  justify-content: center;
}

.footer-top-content-wrap .logo span {
  color: #1D1D1D;
}

.footer-content-top-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}

.footer-content-top-links a {
  font-size: 16px;
  font-weight: 400;
  color: #1D1D1D;
  line-height: 150%;
}

.footer-middle-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.footer-middle-content-items {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 48px;
  max-width: 942px;
}
.footer-block-text-item h3 {
  font-size: 18px;
  line-height: 100%;
  font-weight: 700;
}

.footer-middle-content-items .footer-block-text-item h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #1D1D1D;
}

.footer-block-text-item p {
  margin-top: 10px;
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  text-align: center;
  margin-top: 20px;
  color: #6D6D6D;
}

.footer-middle-content-subitems {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: start;
  gap: 36px;
}

.footer-middle-content-subitems .footer-block-text-item {
  width: 100%;
  max-width: 702px;
  padding: 24px 36px;
  background-color: #1BC15A;
}

.footer-middle-content-subitems .footer-block-text-item h3 {
  color: #fff;
}

.footer-middle-content-subitems .footer-block-text-item p {
  color: #fff;
  text-align: left;
}

.footer-bottom {
  padding: 36px 0;
  background-color: #000;
}

.footer-bottom-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-bottom-content p {
  font-size: 16px;
  line-height: 150%;
  font-weight: 400;
  color: #E4E4E4;
  width: 100%;
}

.footer-block-images {
  width: 100%;
  display: flex;
  justify-content: end;
  gap: 68px;
}

@media screen and (max-width: 1440px) {
  .container {
    max-width: 90%;
  }
}

@media screen and (max-width: 1280px) {
  .broker-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: 992px) {
  .broker-table-holder-item {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    max-width: 385px;
  }

  .broker-table-holder-item-wrap {
    width: 100%;
    max-width: 380px;
  }

  .broker-table-holder {
    justify-items: center;
  }

  .footer-top-content {
    flex-direction: column;
    align-items: center;
  }

  .broker-header,
  .broker-header p {
    max-width: 100%;
  }

  .broker-header h2,
  .broker-header p {
    text-align: center;
  }

  .footer-middle-content-items {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .broker-header {
    flex-direction: column;
    align-items: center;
  }

  .faq-block-holder,
  .footer-top-content {
    padding-left: 0;
  }

  .footer-right {
    gap: 20px;
  }

  .footer-content-top-links {
    align-items: center;
  }

  .broker-header h2, 
  .broker-header p {
    margin-left: 0;
  }

  .broker-table-holder-item-logo {
    align-self: center;
    padding: 20px;
  }

  .footer-bottom-content {
    flex-direction: column-reverse;
    align-items: center;
  }

  .footer-block-images {
    justify-content: center;
  }

  .footer-bottom-content p {
    text-align: center;
  }
}

@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;
  }

  .broker-header {
    margin-left: 0;
  }

  .broker-header h2 {
    font-size: 40px;
  }
}

@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;
  }
}