body {
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

* {
  margin: 0;
  box-sizing: border-box;
  padding: 0;
}

.btn:first-child:active {
  border: 0;
}

.based_location .based_location_2 {
  margin-top: 20px;
}

.navbar-nav .nav-link {
  font-weight: 700;
  font-size: 13px;
  color: black;
}

.navbar-nav .nav-link:hover {
  color: #B08149;
}

.navbar-nav .nav-link.active {
  color: #B08149;
}

/* .navbar-brand img { height: 50px; } */
.navbar {
  background-color: white;
  border: 1px solid #B08149;
}

.form-control:focus,
.only-border-color:focus,
textarea:focus {
  border: solid 1px #B08149 !important;
}

.nav .admin-header-menu:hover,
.nav .admin-header-menu:focus {
  color: #B08149 !important;
}

.dropdown-menu .dropdown-item {
  color: black;
  font-weight: 500;
}

.card1 {
  background-color: #B08149;
  color: white;
}

.only-color {
  background-color: #B08149;
  color: white;
}

.only-color:hover {
  background: black;
  color: white;
}

.cardsection {
  background-color: black;
  color: white;
}

.card-image-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
}

.card-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.4s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-image-wrapper img.hover-img {
  opacity: 0;
}

.card-image-wrapper:hover img.hover-img {
  opacity: 1;
}

.card-image-wrapper:hover img.default-img {
  opacity: 0;
}

.bgsection {
  background-color: #B08149;
  background-image: url('storage/images/Ellipse_867.png');
  color: white;
}

.testimonalis {
  background-color: white;
  color: black;
  padding-top: 50px;
}

.footer {
  background-color: black;
  color: white;
}

.footer .footer-menu a , .footer p{
  font-size: 16px;
  color: white;
  cursor: pointer;
}

.background-container {
  background-image: url('storage/images/Ellipse_867.png');
  background-size: 40%;
  background-position: right;
  background-repeat: no-repeat;
  position: relative;
}

/* --- Desktop Phone Overlap --- */
.phone-image-desktop-container {
  position: relative;
  height: 400px;
}

.phone-overlap-1,
.phone-overlap-2 {
  position: absolute;
  /* height: 350px; */
  height: 100%;
}

.phone-overlap-1 {
  top: 10px;
  right: 150px;
  transform: rotate(-10deg);
  z-index: 2;
}

.phone-overlap-2 {
  top: 90px;
  right: 40px;
  transform: rotate(5deg);
  z-index: 1;
}

/* --- Mobile Phone Images --- */
.phone-image-mobile-container {
  display: none;
  position: relative;
  height: 300px;
  margin-top: 30px;
  /* padding-top: 300px; */
}

.phone-image-mobile {
  position: absolute;
  height: 280px;
}

.phone-mobile-1 {
  top: 0;
  left: 10px;
  transform: rotate(-8deg);
  z-index: 1;
}

.phone-mobile-2 {
  top: 40px;
  left: 80px;
  transform: rotate(8deg);
  z-index: 2;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
  padding: 0;
  margin: 0;
  justify-content: start !important;
}

.screen_all_box .card img {
  width: 100%;
  height: 100%;
}

.blogimg:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

.btn-icon {
  font-size: 24px;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 40px;
  border-radius: 5px;
}

#screen1 {
  display: block;
}

#screen2 {
  display: none;
}

.screen {
  padding: 20px;
}

.toggle-icons {
  /* display: flex; */
  gap: 10px;
  /* margin: 20px; */
  /* float: right; */
}

.propery {
  background: url('http://103.241.45.120/property_management/public/storage/images/banner1.png');
  color: white;
  background-size: cover;
  padding-top: 90px;
  padding-bottom: 90px;
}

/* --- Responsive Media Queries --- */
/* Small Devices: 320px to 480px */
@media (max-width: 480px) {
  h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .background-container {
    background-size: 80%;
    background-position: center bottom;
    padding-bottom: 280px;
  }

  .phone-image-mobile-container {
    display: block;
    height: 190px;
  }

  .phone-image-desktop-container {
    display: none;
    left: 23px;
  }

  .subscribe-button {
    width: 100%;
    /* margin-top: 10px; */
  }
}

/* Medium Devices: 481px to 768px */
@media (min-width: 481px) and (max-width: 768px) {
  h1 {
    font-size: 2.8rem;
  }

  .background-container {
    background-size: 50%;
    background-position: right;
    padding-bottom: 300px;
  }

  .phone-image-mobile-container {
    display: block;
  }

  .phone-image-desktop-container {
    display: none;
    left: 45px;
  }

  .subscribe-button {
    width: 60%;
    /* margin-top: 10px; */
  }
}

/* Large Devices: ≥768px */
@media (min-width: 768px) {
  .phone-image-mobile-container {
    display: none;
  }

  .phone-image-desktop-container {
    display: block;
    left: 35px;
  }
}

/* carousel */
.testimonial-card {
  background-color: aliceblue;
  padding: 30px 20px;
  height: 100%;
}

.testimonial-carousel .carousel-inner {
  display: flex;
}

.testimonial-carousel .carousel-item {
  flex: 0 0 100%;
  transition: transform 0.6s ease;
}



.testimonial-stars i {
  color: #000042;
}

.contact-info-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 0;
  flex-wrap: wrap;
}

.contact-info-card {
  background: #ffffff;
  padding: 20px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 200px;
  box-sizing: border-box;
}

.contact-info-card .icon {
  background-color: #B08149;
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.contact-info-card .icon img {
  width: 35px;
  height: 35px;
}

.contact-info-card h4 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

.contact-info-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  word-break: break-word;
}


/* hover */
.image-hover-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 600px;
}

.image-hover-container img {
  width: 100%;
  display: block;
}

.second-image {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  transition: top 0.5s ease-in-out;
  object-fit: cover;
}

.herosection h1 {
  font-size: 50px;
  font-weight: 700;
  color: black;
}

.cardsection .based_your_loacation {
  font-weight: 700;
  font-size: 60px;
}

.cardsection .see_all {
  float: right;
  font-weight: 700;
}

.cardsection .all_property_titel {
  float: left;
  font-weight: 700;
}

.testimonalis .testimonalis_title {
  font-size: 52px;
  font-weight: 700;
}

.image-hover-container:hover .second-image {
  top: 0;
}
.favrite-view-button {
  background: #B08149;
  border:solid 2px #fff;
  color:white;
  text-align: center;
}
.favrite-view-button:hover {
  background: #000;
  color:white;
}

@media (min-width: 426px) and (max-width: 768px) {

  .herosection h1,
  .cardsection .based_your_loacation,
  .check_out_homerenters .check_out_homerenters_title,
  .latest_updates .latest_updates_title,
  .testimonalis .testimonalis_title,
  .display-4 {
    font-size: 34px;
  }

  .based_location .based_location_2 {
    margin-top: 0;
  }

  .check_out_homerenters .img-fluid {
    width: 134px !important;
  }

}

@media (max-width: 768px) {
  .display-3 {
    font-size: 30px;
  }
}
/* --- Base Testimonial Styles --- */

.testimonial-columns {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.testimonial-card-wrapper {
  flex: 0 0 calc(33.33% - 20px);
  max-width: calc(33.33% - 20px);
}

.testimonial-card {
  height: 100%;
  width: 100%;
}

@media (max-width: 767px) {
  .testimonial-carousel .carousel-inner {
      padding: 0 5px; 
  }

  .testimonial-columns {
      flex-wrap: nowrap; 
      justify-content: flex-start; 
      gap: 0; 
      padding: 0; 
      margin: 0;
  }

  .testimonial-card-wrapper {
      flex: 0 0 100%; 
      max-width: 100%;
      padding: 0 15px;
  }

  .testimonial-card {
      width: 100%; 
      margin: 0;
      padding: 20px; 
  }

  .carousel-control-prev,
  .carousel-control-next {
      width: 15%;
      background-color: transparent;
  }
}
@media (min-width: 768px) and (max-width: 820px) {
  .phone-overlap-1{
    right: 125px;
    /* height: 297px; */
  }
  .property-card .card-title{
    font-size:20px; 
  }
  .filter_properties_form .filter_properties_title{
    font-size: 18px;
  }
  .footer .footer-menu a ,.footer p{
    font-size:14px;
  }
}
@media (min-width: 800px) and (max-width: 1025px) {
  .herosection h1 , .cardsection .based_your_loacation , .display-3, .display-4 ,.testimonalis .testimonalis_title{
    font-size: 40px;
  }
}
@media (min-width: 320px) and (max-width: 425px) {
  .cardsection .all_property_titel, .cardsection .see_all , .card-body .card-title ,.featured_title ,.footer .footer-menu a{
    font-size: 15px;
  }
  .testimonalis .testimonalis_title , .herosection h1 , .cardsection .based_your_loacation , .display-3 , .display-4 {
	font-size:25px;	
  }
  .property-card .card-title{
     	font-size:20px; 
  }
}