.divider {
  width: 100px;
  height: 5px;
  background-color: #be8c27;
  margin-bottom: 20px;
}

.divider.divider-half {
  width: 50px;
  margin: 0;
}

/* main navbar */
.main--navbar {
  width: 100%;
  background-color: transparent;
  position: -webkit-sticky;
  /* for browser compatibility */
  position: sticky;
  top: 0;
  z-index: 1000;
  color: white;
}

.main--navbar .header__inner {
  padding: 10px 0;
  width: 80%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-bgLight {
  background-color: #182434;
  transform: translateY(-100%);
  animation: headerSticky 0.3s forwards;
}

@keyframes headerSticky {
  to {
    transform: translateY(0);
  }
}

/* Header */
header {
  position: absolute;
  height: 100dvh;
  width: 100%;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-size: cover;
}

header::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  opacity: 0.8;
  background-color: #1b2735;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo a img {
  width: 60px;
  border-radius: 50%;
  background-color: #ffffff;
}

.header__nav ul {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

li.header__nav-item a {
  font-size: 1.2rem;
  font-weight: 500;
  padding: 8px 12px;
  font-family: "Poppins", sans-serif;
}

li.header__nav-item a.active {
  border-bottom: 1px solid #be8c27;
  color: #be8c27;
}

li.header__nav-item a:hover {
  color: #be8c27;
  border-bottom: 1px solid #be8c27;
}

/* call me section */
.contact__me {
  background-color: #be8c27;
  padding: 8px 12px;
  color: #ffffff;
  text-align: center;
  border-radius: 8px;
}

.contact__me:hover {
  background-color: #cba557;
}

.contact__me a {
  display: inline-block;
  padding-top: 2px;
  color: #ffffff;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  white-space: nowrap;
}

/* header content */
.header__content {
  width: 80%;
  height: calc(100dvh - 140px);
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 50px;
  color: #ffffff;
}

.header__content-inner {
  width: 50%;
}

.header__title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 2;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

.header__subtitle {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 30px;
  line-height: 1.3;
}

.header__btn {
  padding: 10px 20px;
  background-color: #be8c27;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: 500;
  cursor: pointer;
}

.header__btn:hover {
  background-color: #cba557;
}

/** footer content */
footer {
  background-color: #182434;
  color: #ffffff;
}

.footer__inner {
  width: 80%;
  margin: auto;
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer__inner > div > h3 {
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
  font-size: 1.5rem;
}

.footer__inner-logo a {
  display: inline-block;
  width: 80px;
  height: 80px;
}

.footer__inner-logo a img {
  background-color: white;
  border-radius: 50%;
  width: 60px;
}

.footer__inner-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.footer__inner-contact-info :where(strong, p, a) {
  font-family: "Poppins", sans-serif;
}

.footer__inner-social-media-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.footer__inner-social-media-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
}

.footer__inner-social-media-link > span {
  font-family: "Poppins", sans-serif;
}

.footer__inner-social-media-link img {
  width: 25px;
  height: 25px;
  margin-right: 10px;
}

/* normaltime burger menu */

.collapse {
  /* position: relative; */
  transition: opacity 0.5s ease;
  position: absolute;
  width: 100%;
  top: 75px;
  left: 0;
  opacity: 0;
}

.show {
  opacity: 1;
}

/* .collapse, */
.bgBody {
  /* background-color: transparent !important; */
  background-color: #182434;
  height: auto;
  padding: 30px;
  text-align: center;
  display: flex;
  /* flex-wrap: wrap; */
  flex-direction: column;
  pointer-events: none;
  display: none;
}

.navbar-toggler {
  display: none;
}

.bgBody button {
  width: 125px;
  margin-left: 195px;
}

.header__nav-list a {
  color: rgb(255, 255, 255);
  text-decoration: none;
}

#select-lang {
  border-radius: 6px;
  color: #fff;
  /* font-size: 1.2rem; */
  font-weight: 500;
  /* padding: 8px 12px; */
  font-family: "Poppins", sans-serif;
  background: transparent;
  height: 26px;
  margin: auto;
}

#select-lang option {
  background-color: #182434;
  color: #fff;
  font-family: "Poppins", sans-serif;
}

/* responsive design */
@media (max-width: 576px) {
  .header__inner > div:last-child {
    margin-left: auto;
  }

  .header__inner {
    padding: 10px !important;
    width: 100% !important;

    .header__logo {
      text-align: center;
      /* order: 1; */
    }
  }

  .header__content {
    width: 100%;
    align-items: center;
  }

  .header__content-inner {
    width: 100% !important;
  }

  .navbar-toggler {
    display: block !important;
  }

  .header__nav {
    display: none;
  }

  .header__nav-item {
    padding-top: 5px;
  }

  .header__title {
    font-size: 25px;
    line-height: 1.7;
  }

  .header__content {
    margin: 0;
    padding: 15px;
    position: relative;
  }

  .navbar {
    display: block;
    width: 66px;
    order: 3;
  }

  .navbar i {
    font-size: 20px;
  }

  .navbar-toggler {
    background-color: transparent;
    border: none;
    margin: auto;
  }

  .contact__me {
    display: none;
  }

  .about {
    margin-top: 70px;
  }

  /* practice areas */
  .practice-areas__inner {
    display: block !important;
  }

  .practice-areas__header {
    width: 100% !important;
  }

  .practice-areas__content {
    padding-top: 60px;
    padding-left: 20px !important;
    width: 100% !important;
  }

  .about__image {
    width: 90% !important;
  }

  /* how-it-works__content */
  .how-it-works__content {
    flex-direction: column;
    gap: 15px;
  }

  .how-it-works__item {
    width: 100% !important;
  }

  /* blogs__content */

  .blogs__content {
    display: grid !important;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }

  .blog__item {
    width: 100% !important;
    max-width: 100% !important;
  }

  .blogs {
    margin-top: 70px;
  }

  .collapse.show .bgBody {
    display: block;
    padding: 0px;
    pointer-events: auto;
  }

  .header__nav-item {
    padding-bottom: 5px;
  }

  /* footer */

  .footer__inner {
    display: block !important;
    width: 90% !important;
  }

  .footer__inner > div > h3 {
    margin-top: 20px;
  }

  .footer__inner-logo {
    width: 100%;
  }

  .footer__inner-contact {
    margin-top: 10px;
  }

  .footer__inner-social-media-links {
    flex-direction: column !important;
  }
}

@media ((min-width: 577px) and (max-width: 768px)) {
  .main--navbar .header__inner {
    width: 100% !important;
    padding: 10px 20px;
  }

  .header__nav ul {
    gap: 0px;
  }

  li.header__nav-item a {
    font-size: 16px;
    padding: 6px 10px;
  }

  .contact__me {
    padding: 6px 10px;
  }

  .contact__me a {
    font-size: 14px;
    padding-top: 4px;
  }

  .header__content-inner {
    width: 100%;
    margin: auto;
  }

  .footer__inner {
    width: 90%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .footer__inner-logo {
    order: 2;

    > a > img {
      width: 80px;
      height: 80px;
    }
  }

  .footer__inner-social-media {
    order: 3;
    flex-grow: 1;
  }

  .footer__inner-contact {
    order: 1;
    flex-grow: 1;
  }

  .footer__inner-social-media-links {
    flex-direction: row;
  }

  /* nihad's codes */
  .header__content {
    margin-top: 0;
  }

  .header__title {
    font-size: 29px;
    line-height: 1.7;
  }

  .header__btn {
    padding: 7px 12px;
  }

  .practice-areas__inner {
    display: block !important;
  }

  .practice-areas__header {
    width: 100% !important;
  }

  .practice-areas__content {
    width: 100% !important;
    margin-top: 60px;
    padding-left: 20px;
  }

  .how-it-works__content {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .how-it-works__item {
    width: 100% !important;
  }

  .blogs__content {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .blog__item {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media ((min-width: 767px) and (max-width: 992px)) {
  .main--navbar .header__inner,
  .about > div,
  .main.practice-areas > div,
  .footer__inner {
    width: 95%;
  }

  .header__nav ul {
    gap: 10px;
  }

  .header__content {
    width: 95%;
  }

  .header__content-inner {
    width: 80%;
    margin: auto;
  }

  /* nihad's codes */

  .about {
    margin-top: 40px;
  }

  .header__content {
    margin-top: 0px;
  }

  .header__title {
    font-size: 25px;
  }
}
