@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
:root {
  --btn-color: rgb(40, 59, 98);
  --btn-bg: rgb(40, 59, 98);
}
* {
  margin: 0;
  padding: 0;
  font-size: 16px !important;
  font-family: 'Open Sans', sans-serif;
  box-sizing: border-box;
}

/* Default style */
.navbar {
  height: 100px !important;
  transition: background-color 0.3s ease, box-shadow 0.3s ease !important;
  background-color: transparent !important;
  color: #fff !important;
}

.nav-border h1 {
  font-size: 18px !important;
  font-weight: 600;
}

.nav-border a {
  position: relative;
  display: inline-block;
  font-size: 18px !important;
  font-weight: 600;
}

/* .nav-border a::before {
    width: 0%;
    height: 3px;
    position: absolute;
    top: 90%;
    left: 15%;
    background: rgb(203, 180, 146) !important;
    content: "";
    transition: width 0.5s ease-in-out;
}

.nav-border a:hover::before {
    width: 80%;
} */

.nav-border a {
  position: relative;
  display: inline-block;
  /* Ensure it's inline and allows the pseudo-element to position correctly */
}

.nav-border a::before {
  width: 0;
  height: 3px;
  position: absolute;
  top: 90%;
  left: 10%;
  /* Adjusting left to make it centered better */
  background: rgb(203, 180, 146) !important;
  content: '';
  transition: width 0.5s ease-in-out;
  /* Make sure the width is responsive */
}

.nav-border a:hover::before {
  width: 80%;
  /* You can also adjust this percentage as per the requirement */
}

.navbar {
  z-index: 10000 !important;
}

.navbar.scrolled a,
.navbar.scrolled a:active,
.navbar.scrolled h1,
.navbar.scrolled span,
.navbar.scrolled i {
  color: #fff;
}
/* When scrolled */
.navbar.scrolled {
  background-color: var(--btn-bg) !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}
/* end */
.logo-font {
  padding: 0;
  margin: 0;
  font-family: 'helvetica-w01-bold', 'helvetica-w02-bold',
    'helvetica-lt-w10-bold', sans-serif;
}

.banner-img {
  position: relative;
  background-image: url('img/banner.jpg');
  background-size: cover;
  background-position: center center;
  object-fit: cover;
  height: 800px;
  /* margin-top: -30px; */
}

.contact-num {
  position: absolute;
  content: '';
  background-color: rgba(42, 59, 98, 0.9);
  top: 0;
  left: 961px;
  /* width: 200px; */
  color: white;
  padding: 20px 30px;
}

.heading_text {
  color: var(--btn-color);
}

.banner-box {
  color: white;
  content: '';
  position: absolute;
  background-color: rgba(42, 59, 98, 0.9);
  bottom: 0;
  left: 225px;
  top: 360px;
  padding: 50px 30px;
  height: 550px;
  width: 400px;
}

.rental-row1 {
  background-color: var(--btn-bg);
  color: white;
}

.rental-row2 {
  background-color: var(--btn-bg);
  color: white;
  padding: 100px 0 0px 0 !important;
}

.rental-img img {
  height: 490px;
}

.rental-img {
  margin-top: -100px;
}

.rental-img2 {
  margin-left: 30px;
  margin-top: 30px;
}

.rental-text h6 {
  color: white;
  padding: 20px 0;
  font-size: 18px !important;
  font-weight: 400;
}

.rental-text P:last-child {
  color: var(--btn-color);
  font-size: 24px !important;
  font-weight: 700;
}

.rental_img {
  object-fit: cover;
  height: 490px;
}

.realtor-img {
  width: 80px;
  text-align: center;
}

.ourClient-cont {
  position: sticky;
  background-image: url('img/img6.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 2222;
}

.overlay-ourClient {
  position: absolute;
  background: var(--btn-bg);
  opacity: 0.58;
  height: max(100lvh, calc(100% - 200lvh));
  width: 100%;
  top: 0px;
  left: 0;
  content: '';
  margin-bottom: calc(100lvh - max(100lvh, var(--motion-comp-height, 100%)));
  display: block;
  padding: 0px;
  z-index: 111;
}

.ourClient-text {
  font-size: 20px;
  color: white;
}

.ourClient-cont h1,
.ourClient-card {
  z-index: 333;
  justify-content: center;
  display: flex;
  align-items: center;
}

.contact_btn {
  background: var(--btn-bg) !important;
  color: white;
  padding: 12px 40px;
  border-radius: 0;
}

footer {
  background: rgb(40, 59, 98);
  color: white;
  padding: 0;
  text-align: center;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.footer-icon {
  background: white;
  border-radius: 50px;
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 0 6px;
}

.footer-icon a {
  text-decoration: none;
  cursor: pointer;
  color: var(--btn-color) !important;
}

/* Tab Content */

.tabs {
  display: flex;
  border-bottom: 1px solid var(--btn-bg);
}

.tab-button {
  background-color: transparent;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  margin-right: 5px;
  transition: background-color 0.3s;
  font-size: 16px;
}

.tab-button.active {
  background-color: transparent;
  border-bottom: 3px solid var(--btn-bg);
}

.tab-content {
  display: none;
  border-top: 1px solid #ccc;
  padding: 20px;
  background-color: #f9f9f9;
}

.tab-content.active {
  display: block;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab_button {
  background: var(--btn-bg);
  color: white;
  padding: 8px 20px;
}

.tab_button:hover {
  text-decoration: underline !important;
}

.btns:hover {
  background: var(--btn-bg) !important;
  color: white !important;
}

.img_hover:hover {
  cursor: pointer !important;
  filter: brightness(0.7) !important;
}

.agent_bg {
  position: absolute;
  top: 0;
  left: 0;
  content: '';
  width: 100% !important;
  background: var(--btn-bg);
  color: white;
  height: 100%;
}

.text_goldern {
  color: var(--btn-bg) !important;
  text-align: left !important;
}

.footer-icon i {
  font-size: 24px !important;
}

.count-bg {
  margin: 0 !important;
  background-color: #f1f1f1;
  padding: 80px 0;
}

.count {
  font-size: 5rem !important;
  text-align: center;
}

.label {
  text-align: center;
  font-size: 1.5re;
  color: #555;
  margin-top: 0.5rem;
}

.text_buyer {
  padding: 25px 50px;
  width: 100%;
  text-align: center;
  background-color: var(--btn-bg);
  border-style: none;
  border-top-right-radius: 1rem;
  border-top-left-radius: 1rem;
  color: white !important;
}

.btn-buyer button,
.btn-buyer a {
  padding: 20px 120px;
  background-color: var(--btn-bg);
  color: rgb(255, 255, 255);
  text-decoration: none;
  font-size: 16px !important;
  transition: 0.3s ease-in-out;
  border: 1px solid var(--btn-bg);
}

.btn-buyer2 button,
.text_buyer2 {
  background-color: var(--btn-bg) !important;
  color: white !important;
  transition: 0.5s ease-in-out !important;
  border: 1px solid var(--btn-bg);
}

.btn-buyer button:hover,
.btn-buyer a:hover {
  background: #fff !important;
  border: 1px solid var(--btn-bg) !important;
  color: var(--btn-bg) !important;
}

.btn-buyer2 button:hover,
.btn-buyer2 a:hover {
  background: #fff !important;
  border: 1px solid var(--btn-bg) !important;
  color: var(--btn-bg) !important;
}

.card-shedow {
  /* margin-bottom: 150px !important; */
  box-shadow: 0 31px 28px -23px #00000040;
}

.modal-height {
  height: 100% !important;
}

.is-invalid {
  border-color: #dc3545 !important;
}

.modal-top {
  margin-top: 70px;
}
.img-cont {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.img-cont1 {
  width: 100%;
  height: 185px;
  object-fit: fill;
}
/* .btn-color{

}
.btn-color:{} */
/* Responsive Size */
@media screen and (max-width: 1240px) {
  .contact-num {
    left: 72%;
  }
}

@media screen and (max-width: 992px) {
  .navbar-nav {
    margin-top: 10px !important;
    background: white !important;
    color: blue;
  }

  .sticky-top2 a {
    color: blue !important;
  }

  .nav-border a {
    margin-top: 50px;
  }

  .rental-img2 img,
  .rental-img img {
    width: 100%;
    object-fit: cover;
    margin-left: 0;
    margin-top: 0;
    height: 450px;
  }

  .contact-num {
    left: 60%;
  }

  .nav-border a::before {
    top: 80%;
    left: 2%;
    /* Adjust the position for smaller screens */
  }

  .nav-border a:hover::before {
    width: 20%;
    /* Slightly larger on smaller screens */
  }
}

@media screen and (max-width: 768px) {
  .contact-num {
    display: none;
  }

  .banner-box {
    left: 5%;
    top: 50%;
  }

  .ourClient-cont,
  .overlay-ourClient {
    height: 990px;
  }

  .rental-text > .card-body {
    margin: 0px !important;
    padding: 0px !important;
  }

  .rental-text {
    justify-content: flex-start !important;
  }

  .rental-img {
    width: 100% !important;
    padding: 10px;
    margin: 0;
  }

  .rental-img2 img,
  .rental-img img {
    width: 100%;
    object-fit: cover;
    margin-left: 0;
    margin-top: 0 !;
    height: 350px;
  }

  .rental-img2 {
    margin-left: 10px;
  }

  .nav-border a::before {
    top: 80%;
    left: 3%;
    /* Adjust the position for smaller screens */
  }

  .nav-border a:hover::before {
    width: 25%;
    /* Slightly larger on smaller screens */
  }
  footer {
    padding: 15px 0;
  }
}

@media screen and (max-width: 620px) {
  .rental_img img,
  .rental-img2 img {
    width: 100%;
    object-fit: cover;
    margin-left: 0;
    margin-top: 0;
    height: 330px;
  }

  .footer-icon {
    margin-top: 20px;
  }

  .counter-box {
    width: 100%;
  }
}

@media screen and (max-width: 448px) {
  .nav-border a::before {
    top: 85%;
    /* Even further adjustments for mobile screens */
  }

  .nav-border a:hover::before {
    width: 95%;
    /* Full width on mobile */
  }

  .banner-box {
    left: 2%;
    top: 50%;
    padding: 50px 15px;
    height: 550px;
    width: 350px;
  }

  .footer-icon {
    margin-top: 20px;
  }

  .navbar-brand {
    padding: 0px !important;
  }
}

@media screen and (max-width: 375px) {
  .banner-box {
    left: 2%;
    top: 50%;
    padding: 50px 5px;
    height: 550px;
    width: 280px;
  }
}

/* Responsive Size */
