.header {
  width: 100%;
  padding: 17px 0;
  /* position: fixed; */
  /* background: #ffffff; */
  top: 0;
  z-index: 9;
  transition: background 0.35s ease-in-out, padding 0.35s ease-in-out;
  /* border-bottom: 1px solid #e1e1e1; */
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  /*max-width: 1820px;*/
  max-width: 96%;
}

.site-logo {
  width: 138px;
}

/* ------------------------------------------------------------ */

.menu-ul {
  margin-left: auto;
  margin-right: 33px;
  display: flex;
  flex-flow: row wrap;
  column-gap: 20px;
}

.menu-link {
  padding: 10px 15px;
  color: #090909;
  text-transform: uppercase;
}

.menu-li .menu-link:hover {
  color: var(--color-primary);
}

.menu-li:last-child .menu-link {
  /* border: 1px solid #090909; */
  border-radius: 6px;
}

.extra-header-active .menu-li:last-child .menu-link:hover {
  background: var(--color-primary-hover);
}

.extra-header-active .menu-li:last-child .menu-link {
  color: #ffffff;
}

/* ------------------------------------------------------------ */

.menu-icon-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-icon-wrap > span {
  color: #090909;
  display: block;
}

.menu-icon {
  height: 15px;
  width: 30px;
  /* z-index: 9; */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-transform: rotate(0);
  transform: rotate(0);
  -webkit-transition: all var(--time) ease-in-out;
  transition: all var(--time) ease-in-out;
  right: 12px;
  border-radius: 0 4px 4px 0;
}

.menu-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 27px;
  background: #090909;
  border-radius: 4px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0);
  transform: rotate(0);
  -webkit-transition: all var(--time) ease-in-out;
  transition: all var(--time) ease-in-out;
}

.menu-icon span:nth-child(1) {
  top: 0;
}

.menu-icon span:nth-child(2),
.menu-icon span:nth-child(3) {
  top: 7px;
}

.menu-icon span:nth-child(4) {
  top: 14px;
}

.menu-icon.open span:nth-child(1) {
  top: 10px;
  width: 0;
  left: 50%;
}

.menu-icon.open span:nth-child(2) {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.menu-icon.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.menu-icon.open span:nth-child(4) {
  top: 10px;
  width: 0;
  left: 50%;
}

/* ------------------------------------------------------------  */

.extra-header {
  position: fixed;
  width: 100%;
  z-index: 8;
  background: #ffffff;
  background-size: cover;
  top: -100%;
  height: 572px;
  left: 0;
  right: 0;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.extra-header-active {
  top: 0;
}

/* ------------------------------------------------------------  */

.extra-header-inside {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: auto;
  max-width: var(--container-width);
}

.extra-header-inside::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background: url(../images/Intersection.png) no-repeat;
  height: 100%;
  width: 190px;
  z-index: -1;
}

.extra-header .header {
  position: unset;
}

.extra-header-left {
  width: 40%;
  color: #090909;
}

.extra-header-left h3 {
  font-size: 79px;
  line-height: 74px;
}
.extra-header-left p {
  margin: 20px 0;
}
.extra-header-left .link {
  color: #ffffff;
  background: var(--color-primary);
  height: 46px;
  line-height: 46px;
  padding: 0 15px;
  font-size: 16px;
  display: block;
  text-transform: uppercase;
  width: fit-content;
  border-radius: 6px;
}
.extra-header-left .link:hover {
  background-color: var(--color-primary-hover);
}

/* .extra-header-right{

} */

/* ------------------------------------------------------------ */

.extra-header-right {
  width: 45%;
  display: flex;
  flex-wrap: wrap;
  row-gap: 25px;
  justify-content: space-between;
  color: #6a6a6a;
}

.tab-menu-left {
  width: 55%;
}

.tab-menu-left ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  row-gap: 13px;
}

.tab-menu-left ul a {
  font-size: 22px;
  font-weight: 700;
  color: #6a6a6a;
}
.tab-menu-left ul .active a,
.tab-menu-left ul a:hover {
  color: var(--color-primary);
}

.tab-menu-right,
.tab-menu-right-wrap,
.tab-menu-sub {
  display: flex;
  flex-wrap: wrap;
}

.tab-menu-right h4 {
  font-size: 16px;
  margin-bottom: 15px;
}

.tab-menu-right-wrap ul {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  row-gap: 10px;
}

.tab-menu-right-wrap ul a:hover {
  color: var(--color-primary);
}

.tab-menu-right {
  flex-direction: column;
  row-gap: 30px;
  width: 45%;
}

.tab-menu-right-wrap {
  justify-content: space-between;
}

.tab-menu-sub {
  width: 48%;
  flex-direction: column;
  row-gap: 30px;
}

.tab-menu-social ul {
  display: flex;
  flex-wrap: wrap;
  column-gap: 10px;
  justify-content: space-between;
}

.tab-menu-social ul img {
  transition: all 0.3s ease-in-out;
}
.tab-menu-social ul img:hover {
  opacity: 0.5;
}

.mobile-icon {
  width: 20px;
  height: 20px;
  background: url(../images/down-arrow.png) no-repeat;
  background-position: center center;
  display: inline-block;
  top: 10px;
  background-size: 18px;
}

@media (max-width: 1600px) {
  .header .container {
    max-width: 96%;
  }
  .extra-header-inside::after {
    width: 120px;
    background-size: 100%;
  }
  .extra-header {
    height:430px;
  }
  .extra-header-inside {
    height: calc(100% - 60px);
    align-items: flex-end;
    padding-bottom: 30px;
  }
  .extra-header-left h3 {
    font-size: 50px;
    line-height: 43px;
  }
  .tab-menu-left ul a {
    font-size: 18px;
  }
}

@media (max-width: 860px) {
  .menu-link {
    padding: 5px 10px;
  }
}
@media (max-width: 767px) {
  .menu-ul,
  .tab-menu-sub ul,
  .extra-header-left,
  .tab-menu-social h4,
  .extra-header-inside::after {
    display: none;
  }
  .header.property_divh .site-logo {
    /* background: red; */
    margin-top: 10%;
}

  .tab-menu-sub,
  .tab-menu-left,
  .tab-menu-right,
  .extra-header-inside,
  .extra-header-right {
    width: 100%;
  }
  .extra-header {
    height: auto;
  }
  .tab-menu-sub {
    row-gap: 0;
  }
  .tab-menu-social {
    padding: 20px;
    border-top: 1px solid #dddddd;
  }
  .tab-menu-social ul {
    justify-content: center;
  }
  .tab-menu-left {
    padding: 25px 25px 0 25px;
  }
  .tab-menu-right-wrap {
    padding: 0 25px;
  }

  .tab-menu-right-wrap ul li + li {
    margin-top: 10px;
  }
  .tab-menu-right-wrap ul {
    margin-bottom: 20px;
  }
  .tab-menu-right-wrap ul li {
    font-size: 16px;
  }
  .tab-menu-sub > div {
    position: relative;
  }
  .tab-menu-sub > div h4 {
    padding-right: 30px;
  }
  .site-logo {
    max-width: 100px;
    margin-inline: auto;
  }
  .tab-menu-right h4 {
    margin-bottom: 20px;
  }
  .header {
    padding: 12px 0;
  }
  .menu-icon {
    position: absolute;
    top: 10px;
  }
  .mobile-icon {
    position: absolute;
    right: 0;
    top: 0;
  }

  .page-banner {
    background-position: center !important;
  }
  .page-careers{
   background:url(../images/mobile_img1.jpg) no-repeat !important;
   background-position: top !important;
   background-size: contain !important;
    }
   .page-agents{
   background:url(../images/mobile_img2.jpg) no-repeat !important;
   background-position: top !important;
   background-size: contain !important;
    }
     .the-team-section
    {
       background:url(../images/mobile_img3.jpg) no-repeat !important;
        background-position: top !important;
   background-size: contain !important;
    }
    .property-main h5{ min-height: 0px !important;}
  .extra-header-inside {
    height: auto;
    padding-bottom: 0;
  }
}

@media (max-width: 600px) {
  .siding_item:nth-child(even) {
    flex-direction: column-reverse;
  }
  .tab-menu-left ul a{
    font-size: 19px;
  }
}
