header {
  background-image: url("../images/hero-section.jpg");
}

.memberships {
  background-color: #f5f7f8;
  padding: 50px 0;
}

.memberships-inner {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.memberships-inner > h3 {
  margin-top: 20px;
  margin-bottom: 20px;
  line-height: 1.3;
  color: #182434;
  font-size: 28px;
}

.memberships-inner > p {
  margin: 0% 25%;
  text-align: center;
  font-family: sans-serif;
  color: #808285;
  line-height: 1.6;
  font-size: 16px;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

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

/* Faq content */
.faq {
  margin: 30px auto;
  padding: 50px 0;
}

.faq__inner {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq__inner > h2 {
  margin-bottom: 20px;
  line-height: 1.3;
  color: #182434;
  font-size: 36px;
  font-family: Amiri;
}

.faq__container {
  width: 650px;
  margin-top: 40px;
}

.faq__item {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  user-select: none;
}

.faq__item--question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 20px;
  border-bottom: 1px solid #d5d8dc;
}

.faq__item--question > h4 {
  color: #182434;
  font-weight: 600;
  font-family: Poppins, sans-serif;
}

.faq__item--question > img {
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.faq__item--answer {
  display: none;
}

.faq__item.active .faq__item--question > h4 {
  color: #cba558;
}

.faq__item.active .faq__item--answer {
  display: block;
  color: #4b4f58;
  font-family: sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.5px;
  padding: 10px 20px;
}

/* Practice Areas */
.practice__header {
  background-color: #ffffff;
  padding: 50px 0;
}

.practice__header-inner {
  width: 80%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.inner-left-section {
  width: 33%;
  display: flex;
  gap: 10px;
}

.inner-left-section > h2 {
  font-size: 2.5rem;
}

.inner-left-section > .divider-low {
  height: 1px;
  margin-top: 40px;
}

.inner-right-section {
  width: 60%;
  display: flex;
  justify-content: space-between;
}

.inner-right-section > p {
  font-family: Popins, sans-serif;
  width: 45%;
  color: #808285;
  line-height: 1.6;
  font-size: 16px;
}

/** practice */
.practice {
  background-color: #f5f7f8;
}

.practice__inner {
  width: 80%;
  margin: 0 auto;
  padding: 50px 0 0;
}

.practice__inner > h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
}

.practice-section > .practice__content--container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 60px 15px;
}

.practice-section:nth-child(2n) .practice__content {
  order: 1;
}

.practice__content {
  width: 45%;
}

.practice__content > img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}

.practice__content > h3 {
  font-size: 2em;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 10px;
  color: #1a1a1a;
  line-height: 1.3em;
}

.practice__content > p {
  font-size: 16px;
  color: #5a5a5a;
  font-family: "Poppins", sans-serif;
  margin-bottom: 20px;
}

.practice__content > .practice__content-link {
  font-size: 16px;
  color: #be8c27;
  font-family: "Poppins", sans-serif;
  border: 1px solid #be8c27;
  padding: 5px 12px;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
  display: flex;
  align-items: center;
  width: fit-content;
}

.practice__content > .practice__content-link:hover {
  background-color: #be8c27;
  color: white;
}

.practice__image {
  width: 45%;
}

/* nihads */

@media (max-width: 576px) {
  .faq__container {
    width: 100%;
  }

  .practice__inner {
    width: 90%;
  }

  .practice__content--container {
    gap: 40px !important;
  }

  .practice__header-inner {
    display: block;
    width: 90%;
  }

  .inner-left-section > h2 {
    font-size: 1.5rem;
  }

  .inner-left-section {
    width: 100%;
    display: block;
  }

  .inner-right-section {
    width: 100%;
    margin-top: 30px;
    flex-direction: column;
  }

  .inner-right-section > p {
    width: 100%;
    margin-bottom: 20px;
  }

  .practice__content--container {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr);
  }

  .practice__content,
  .practice__image {
    width: 100%;
  }

  .practice__image {
    order: 2;
  }

  .memberships-inner,
  .faq__inner {
    width: 90%;
  }
  .memberships-inner > p {
    margin: 0% 5%;
  }
  .memberhips__container {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media ((min-width: 577px) and (max-width: 768px)) {
  .footer__inner-logo .divider {
    margin: auto;
  }

  .practice__header-inner {
    display: block;
  }

  .inner-left-section {
    width: 100%;
    display: block;
  }

  .inner-right-section {
    width: 100%;
    margin-top: 30px;
  }
}

@media ((min-width: 767px) and (max-width: 992px)) {
  .faq__container {
    width: 100%;
  }

  .practice {
    margin-top: 100px;
    /* margin-left: auto; */
    padding-left: 20px;
  }

  .practice__header-inner {
    display: block;
  }

  .inner-left-section {
    width: 100%;
    display: block;
  }

  .inner-right-section {
    width: 100%;
    margin-top: 30px;
  }
}
