body {
  max-width: 100%;
  overflow-x: hidden;
}
.container-fluid {
  max-width: 100%;
  overflow-x: hidden;
}
.home_page {
  /* The image used */
  /* background-image: url("/login_page/static/src/img/header_house.jpeg"); */
  background: linear-gradient(
      0deg,
      rgba(0, 15, 36, 0.57),
      rgba(0, 15, 36, 0.57)
    ),
    url("/login_page/static/src/img/first_section.jpeg");
  width: 100%;
  height: 650px;
  /* Full height */
  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* position: ; */
}
.home_page_icon_text_wrap {
  margin-top: -100px;
}

.home_page_text {
  /* width: fit-content; */
  position: relative;
  height: 146px;
  font-style: normal;
  font-weight: 900;
  font-size: 67px;
  line-height: 113.5%;
  /* top: 50%; */
  height: max-content;
  margin-top: 60px;
  /* or 73px */
  text-align: center !important;
  letter-spacing: -0.03em;

  text-shadow: 0px 4px 4px rgba(0, 23, 55, 0.5);
}
.home_page_sub_text {
  font-style: normal;
  font-weight: 400;
  font-size: 30px;
  line-height: 30px;
  color: #ffffff;
  text-shadow: 0px 4px 7px rgba(0, 0, 0, 0.45);
  margin-top: 30px;
}

.first_section_logo {
  width: 150px;
}

.home_page_about_us {
  background: linear-gradient(
      10deg,
      rgba(252, 248, 242, 0.877),
      rgba(247, 243, 238, 0.87)
    ),
    url("/login_page/static/src/img/pattern.png"), #ffffff;
  width: 100%;
  height: 500px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.home_page_what_we_do {
  background: linear-gradient(
      71.74deg,
      rgba(13, 21, 31, 0.63) 0%,
      rgba(7, 14, 24, 0.88) 100%
    ),
    url("/login_page/static/src/img/third_section.jpeg");
  width: 100%;
  height: 860px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.text_about_us {
  color: black;
  font-family: "Tajawal" !important;
  font-weight: 900;
  font-size: xx-large;
}

.p_header {
  font-size: xx-large;
  color: #cd9d51;
  font-weight: bolder;
}
.p_about_us_text {
  font-size: 25px;
  font-weight: bold;
  text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
}
.p_what_we_do_text {
  font-size: 25px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 0px 4px 4px rgba(0, 23, 55, 0.5);
}
.carousel-indicators {
  color: #cd9d51;
  margin-top: -30px;
}
.carousel-control.right {
  background: transparent;
  background-image: transparent;
  border: #cd9d51;
  border-radius: 20%;
}
.carousel-control.left {
  background: transparent;
  background-image: transparent;
  border: #cd9d51;
  border-radius: 20%;
}

.prev,
.next {
  cursor: pointer;
  padding: 16px;
  color: #cd9d51 !important;
  font-weight: bold;
  font-size: 16px;
  transition: 0.6s ease;
  border: 1px solid #cd9d51;
  border-radius: 50px;
  user-select: none;
  margin: 5px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: #cd9d51;
  color: #ffffff !important;
}

.about_us_item {
  display: none;
}
.about_us_item.active {
  display: inherit;
}

.what_we_do_item {
  display: none;
}
.what_we_do_item.active {
  display: inherit;
}

.section_number {
  font-weight: bolder;
  background-color: #cd9d51;
  border-radius: 8px;
  color: #ffffff !important;
  padding: 15px;
  display: block;
  font-size: 20px;
  width: fit-content;
  margin: auto;
}
/* new main menu */
/* .main-home-header {
} */
.main-home-about-us {
  /* background: linear-gradient(180deg, #a2d8ee, #a2d8eeaf),
    url("/login_page/static/src/img/pattern.png");
  background-repeat: repeat;
  background-size: contain;
  background-position: center center; */
  background-color: #002d74d1;
}
.main-home-header-slogen {
  margin-top: 100px;
  margin-bottom: 50px;
}
.main-row {
  height: 100vh;
  padding-top: 100px;
}
.bg-main-1 {
  background: linear-gradient(0deg, #ffffffa2, #002c74f1),
    url("/login_page/static/src/img/option1.jpg");
  /* background-attachment: fixed; */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right center;
}
.bg-main-3 {
  background: url("/login_page/static/src/img/option3.jpg");
  /* background-attachment: fixed; */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
  border-radius: 200px;
}
.bg-main-4 {
  background: url("/login_page/static/src/img/about-bg-1.png");
  /* background-attachment: fixed; */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
}
.practice-wrapper {
  margin-top: 90px;
  margin-bottom: 90px;
  color: #dfa64d;
  text-shadow: 0px 4px 4px rgba(0, 23, 55, 0.5);
  font-size: 2.1rem;
}
.practice-wrapper .contactus-button {
  font-size: 1.2rem;
  text-shadow: none;
  text-align: right;
}
.practice-wrapper h1 {
  color: #dfa64d;
  font-size: 4rem;
  text-align: right;
}
.practice-wrapper p {
  color: #ffffff;
  font-size: 1.2rem;
  text-align: right;
}
.bet-practice-about {
  background-color: #274c89;
}
#final-about-us-div {
  background: linear-gradient(180deg, #274c89, #274d89a1, #ffffff);
}
.about-bg-img-wrapper {
  width: 100%;
}
.our-service-img-wrapper {
  width: 100%;
}
.our-service-img-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.even-our-service {
  display: none;
}
.div-devider {
  background: url("/login_page/static/src/img/pattern2.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  /* width: 100%;
  height: 100px; */
}
.about-bg-img-img {
  height: auto;
  width: 100%;
}
.about-bg-img-img400 {
  height: auto;
  width: 100%;
  display: none;
}
#our-services {
  padding-top: 100px;
  padding-bottom: 100px;
  background-color: #ffffff;
}
#our-services .practice-wrapper {
  padding-right: 10px;
  padding-top: 10px;
  background-color: white;
}
#our-services p {
  color: black;
  text-shadow: none;
  text-align: justify;
}
#our-services h1 {
  text-shadow: none;
  width: fit-content;
}
.contactus-button {
  margin: 0 auto;
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  background-color: #ffffff;
  color: #002c74c0;
  width: fit-content;
  box-shadow: 0px 4px 7px rgba(0, 0, 0, 0.25);
}
#about-us-text-h1 {
  color: aliceblue;
  margin-top: 130px;
  font-size: 3.3rem;
  font-weight: bolder;
  text-shadow: 0px 4px 7px rgba(0, 0, 0, 0.25);
}

.about-us-text-p {
  color: #ffffff;
  text-shadow: 0px 4px 7px rgba(0, 0, 0, 0.25);
  margin: 0 10px;
}
.about-us-img {
  width: 80%;
  margin: 0 auto;
  padding: 20px;
}
.about-us-img img {
  border: 3px solid #ffffff;
  border-right: none;
  border-radius: 20px 0px 0px 20px;
  height: auto;
  width: 100%;
  height: auto;
  margin-top: 40px;
  mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.75) 60%
  );
  -webkit-mask-image: linear-gradient(
    to left,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.75) 60%
  );
}
.contactus-button a {
  color: rgba(0, 0, 0, 0.781) !important;
  text-decoration: none;
  font-weight: bolder;
}
.contactus-button a:hover {
  color: #002c74c0 !important;
  text-decoration: none;
}

@media (max-width: 1158px) {
  .our-service-img-wrapper img {
    width: 400px;
    height: 324px;
  }
}
/* col-md */
@media (max-width: 991px) {
  .our-service-img-wrapper img {
    width: 70%;
    height: auto;
  }
  .about-us-img img {
    mask-image: unset;
    -webkit-mask-image: unset;
    border-radius: 20px;
    border-right: 3px solid white;
  }
  .even-our-service {
    display: inherit;
  }
  .odd-our-service {
    display: none;
  }
}
@media (max-width: 989px) {
  .first_section_logo {
    width: 150px;
  }
  .home_page_sub_text {
    font-size: 25px;
  }
  .home_page,
  .home_page_what_we_do {
    height: 600px;
  }
  .home_page_about_us {
    height: max-content;
  }
}

@media (max-width: 700px) {
  .main-home-header-slogen {
    margin-top: 40px;
  }
  #about-us-text-h1 {
    font-size: 2.3rem;
    margin-top: 40px;
  }
  .main-row {
    height: 100vh;
    /* old 600px */
  }
  .practice-wrapper h1 {
    color: #dfa64d;
    font-size: 2.3rem;
    text-align: right;
  }
  .practice-wrapper p {
    text-align: justify;
  }
  .bg-main-1 {
    background: linear-gradient(0deg, #002c7483, #002c7483),
      url("/login_page/static/src/img/option1.jpg");
    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .about-bg-img-img400 {
    display: inherit;
  }
  .about-bg-img-img {
    display: none;
  }
  .our-service-img-wrapper img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 500px) {
  .first_section_logo {
    width: 100px;
  }
  .home_page_sub_text {
    font-size: 20px;
  }
  .home_page,
  .home_page_what_we_do {
    height: 500px;
  }
  .p_about_us_text {
    font-size: 18px;
  }
  .p_what_we_do_text {
    font-size: 18px;
  }
  .home_page_about_us {
    height: max-content;
  }
}

@media (max-width: 400px) {
  .main-row {
    height: 100vh !important;
  }
  .about-us-img img {
    display: none;
  }
  .about-us-text-p {
    text-align: justify;
  }
  .our-service-img-wrapper img {
    width: 100%;
    height: auto;
  }
}
