h1,
h2,
p,
ul {
  color: #fff;
  margin-bottom: 0;
}

.wrapper-inner {
  max-width: 1076px;
  margin: 0 auto;
}

section.banner {
  background: url("../../assets/img/brokers/broke-bg.jpg") no-repeat center
    center/cover;
  padding-top: 200px;
  padding-bottom: 200px;

  @media (max-width: 1199px) {
    padding-top: 70px;
    padding-bottom: 170px;
  }

  @media (max-width: 768px) {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .content {
    @media (max-width: 768px) {
      text-align: center;
    }
  }

  .content p {
    max-width: 520px;
    font-size: 19px;
    line-height: 26px;

    @media (max-width: 768px) {
      max-width: 100%;
    }
  }

  .img-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;

    @media (max-width: 768px) {
      justify-content: center;
    }
  }
}

section.broker-sec1 {
  padding-bottom: 0;

  @media (min-width: 768px) {
    padding-top: 0;
    margin-top: -100px;
  }

  h2 {
    font-weight: 700;
    margin-bottom: 24px;
    @media (min-width: 1200px) {
      font-size: 40px;
    }
  }

  .img-container {
    background: url("../../assets/img/brokers/broker-1.png") no-repeat center
        center/cover,
      #144f6f;
    height: 100%;
    display: flex;
    align-items: end;
    border-radius: 10px 0 0 10px;

    @media (max-width: 991px) {
      border-radius: 10px 10px 0 0;
      min-height: 600px;
      background-position: top center;
    }

    @media (max-width: 576px) {
      min-height: 400px;
    }
  }
  .content-info {
    padding: 24px 40px;

    a {
      color: #ffd41c;
      font-weight: 700;
      text-decoration: none;
      overflow-wrap: anywhere;
    }
  }

  .lists {
    padding: 71px 40px;
    border-radius: 0 10px 80px 0;
    background: #144f6f;
    display: flex;
    flex-direction: column;
    gap: 30px;

    @media (max-width: 991px) {
      padding: 30px;
      border-radius: 0 0 80px 10px;
    }

    p {
      color: rgba(255, 255, 255, 0.8);
    }
  }

  ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
}

@media (min-width: 992px) {
  .col-lg-7 {
    width: 60%;
  }
  .col-lg-5 {
    width: 40%;
  }
}

section.broker-sec2,
section.broker-sec3 {
  margin-top: 40px;
  padding-top: 0;
  padding-bottom: 0;

  h2 {
    font-weight: 700;
    @media (min-width: 1200px) {
      font-size: 40px;
    }
  }

  .img-container {
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: end;
    border-radius: 10px;
  }

  .content-info {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: 100%;

    @media (max-width: 991px) {
      padding: 30px;
      flex-direction: column;
      align-items: start;
    }
  }
}

section.broker-sec2 .img-container {
  background: url("../../assets/img/brokers/job-card-1.png") no-repeat center
      center/cover,
    #144f6f;
}

section.broker-sec3 .img-container {
  background: url("../../assets/img/brokers/job-card-2.png") no-repeat center
      center/cover,
    #144f6f;
}

section.questions {
  padding-top: 40px;
  padding-bottom: 40px;

  .content {
    padding: 30px;
    min-height: 186px;
    border-radius: 18px;
    background: #144f6f;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 23px;

    @media (max-width: 576px) {
      flex-direction: column;
      gap: 20px;
    }
  }

  .p-title {
    font-size: 28px;
  }
}

section.pop-up-form {
  background: var(--bs-white);
  border: 0;
  border-radius: 10px;
  padding: 0;

  .content-form {
    padding: 50px 30px;

    @media (max-width: 991px) {
      padding: 50px 20px;
    }
  }

  form {
    input:not([type="submit"]),
    .label {
      padding: 12.5px 25px;
      border-radius: 10px;
      border: 1px solid #ccc;
      background: #ece9e5;
      outline: none;
      width: 100%;
    }

    .file-label,
    .label {
      width: 100%;
      display: block;
    }

    .file-label {
      br {
        display: none;
      }
    }

    input::placeholder,
    .label {
      color: #757575;
    }

    .wpcf7-list-item {
      margin: 0;
    }

    .wpcf7-list-item-label {
      color: #676767;
      font-size: 11px;
    }

    button,
    input[type="submit"] {
      border: 0;
    }

    .hidden-input {
      display: none !important;
    }
  }
}

[popover]::backdrop {
  background-color: rgba(0, 0, 0, 0.85);
}
