/* === CUSTOMIZE HOME PAGE === */


/* OUR TEAM SECTION FOR MOBILE MODIFICATION */

@media screen and (max-width: 480px) {
  .flat-agents .row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 0;
  }

  .flat-agents .box.col {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 90%;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    background-color: #fff;
  
  }
  
  .flat-agents .box-img {
    width: 100%;
    height: auto;
    max-height: 180px;
    overflow: hidden;
  }

  .flat-agents .box-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  .flat-agents .content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 8px;
  }

  .flat-agents h6.link {
    font-size: 14px;
    margin: 6px 0;
  }

  .flat-agents .list-info {
    font-size: 11px;
    padding: 0;
    margin: 4px 0 0;
    list-style: none;
  }

  .flat-agents .list-info li {
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .flat-agents .list-info a {
    font-size: 11px;
    color: #333;
    text-decoration: none;
  }

  .flat-agents svg.icon {
    width: 12px;
    height: 12px;
    stroke: #666;
  }
  
  /* Remove extra spacing inside the agent box */
  .flat-agents .box-agent {
    padding: 0 !important;
    margin-bottom: 8px !important;
  }


  /* Eliminate spacing below image */
  .flat-agents .box-img {
    margin-bottom: 4px !important;
    padding: 0 !important;
  }

  /* Reduce gap between image and name */
  .flat-agents .info {
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Reduce heading spacing */
  .flat-agents h6.link {
    font-size: 15px;
    font-weight: 600;
    margin: 0px 0 2px 0 !important;
    text-align: center;
  }

  /* Reduce spacing above and below list */
  .flat-agents .list-info {
    margin-top: 2px !important;
    margin-bottom: 4px !important;
    padding: 0 !important;
  }

  /* Tighten spacing between list items */
  .flat-agents .list-info li {
    margin-bottom: 0px !important;
    gap: 0px;
  }
}  

/* END OF OUR TEAM SECTION FOR MOBILE MODIFICATION */


/* Style for each agent box FOR DESKPTOP */
.flat-agents .box.col {
  border: 1px solid #ddd; /* Light gray border */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06); /* Soft shadow */
  border-radius: 8px; /* Optional rounded corners */
  padding: 10px; /* Optional internal spacing */
  background-color: #fff; /* Ensure content doesn't blend with page */
  box-sizing: border-box; /* Prevent overflow from padding */
}

/* Equalize card heights in grid */
.flat-agents .row {
  align-items: stretch; /* Ensures grid items stretch to same height */
}

.flat-agents .box.col {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Keeps spacing balanced */
}


/* Enf of Style for each agent box FOR DESKPTOP */


/* === CUSTOMIZE Text Home page === */

.flat-section.flat-recommended .text-subtitle.text-primary {
    font-size: 24px;       /* Change size */
    font-weight: 600;      /* Change font weight */
    margin-bottom: 8px;    /* Add spacing below if needed */
    text-transform: uppercase; /* Optional: Makes it all caps */
  
}

.flat-section.flat-agents .text-subtitle.text-primary {
    font-size: 24px;     /* Adjust size as needed */
    font-weight: 600;    /* Options: 400 (normal), 500, 600, 700 (bold) */
    text-transform: capitalize; /* Optional: make it “Our Teams” */
}


  .box-img {
    width: 300px;
    height: 300px; /* Set your preferred height */
    overflow: hidden;
    position: relative;
}


#header.main-header.fixed-header {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18);
}


/* 1. Change color, size, and weight of the subtitle */
.flat-benefit-v2 .text-subtitle.text-primary {
  color: #ffffff !important; /* Change to your preferred color */
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 10px;
}

/* 2. Change font size of section title */
.flat-benefit-v2 .section-title {
  font-size: 28px;
  font-weight: 700;
}

/* 3. Reduce top spacing before subtitle */
.flat-benefit-v2 {
  padding-top: 20px; /* Adjust to desired spacing */
}

/* 4. Add extra horizontal padding on mobile only */
@media screen and (max-width: 480px) {
  .flat-benefit-v2 {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* 5. Modify all texts inside right-hand column (swiper container) */
.flat-benefit-v2 .col-lg-8 .box-benefit .title {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff; /* or any color you prefer */
}

.flat-benefit-v2 .col-lg-8 .box-benefit .description {
  font-size: 14px;
  color: #dddddd;
  line-height: 1.6;
}


/* === End of CUSTOMIZE Text Home page === */




/* === CUSTOMIZE PROPERTY PAGE === */

/* 1. Property Title */
.property-item.homeya-box .link.line-clamp-1 {
    font-size: 16px;        /* Adjust as needed */
    font-weight: 600;       /* Options: 400 (normal), 600 (semi-bold), 700 (bold) */
   margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
}

/* 2. Location (Text) */
.property-item.homeya-box .desc p.line-clamp-1 {
    font-size: 14px;
    font-weight: 500;
  
    margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px
    
  
}


p.line-clamp-1 {
    color: #000000; /* Black */
}


.property-item.homeya-box .flag-tag.style-2 {
    display: none !important;
}

/* 3. Location Icon */
.property-item.homeya-box .desc .icon.icon-mapPin {
    font-size: 18px;
    margin-right: 0px;
    vertical-align: middle;
    color: #000000; /* Keeps color black */
        margin-top: 4px;
  margin-bottom: 0px;
  margin-left: 0px;
  
}

.property-item.homeya-box .desc {
/* Adjust this value as needed */
  margin-right: 0px;
          margin-top: 8px;
  margin-bottom: 0px;
  margin-left: 125px;
}



/* 4. Meta Info (Bedrooms, Bathrooms) */
.property-item.homeya-box .meta-list .item {
    font-size: 12px;
    font-weight: 300;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-right: 5px;
  
      margin-top: -53px;
  margin-bottom: 0px;
  margin-left: 0px;
  

}

.property-item.homeya-box .meta-list .item i {
    font-size: 16px; /* Icon size */
}


/* Agent info hide*/
.property-item.homeya-box .archive-bottom .avatar,
.property-item.homeya-box .archive-bottom span {
    display: none !important;
}


/* 6. Price */
.property-item.homeya-box .archive-bottom h6 {
    font-size: 16px; /* Adjust this value as needed */
    font-weight: 600;
    color: inherit;

}

/* 6. Price Margin*/
.property-item.homeya-box .archive-bottom {
  /* Adjust to your preferred spacing */
  	margin-right: 275px;
    margin-top: -64px;
  	margin-bottom: -10px;
  	margin-left: 0px;
  

}



.property-item.homeya-box .images-group {
    padding: 12px; /* You can adjust this to 16px or any value */
    box-sizing: border-box;
}

.property-item.homeya-box {
    border-radius: 3px; /* Change 12px to any value you prefer */
    overflow: hidden; /* Ensures child elements (like images) follow the rounded corners */
}

.nice-select.list-page.select_js {
    display: none !important;
}

.flat-title-page.style-2 {
    padding: 10px; /* Adjust the value as needed */
}

h1.text-center.page-title {
    font-size: 24px; /* Adjust this value to your desired size */
    font-weight: 600; /* Optional: control how bold it is */
  margin-top: 10px;
  margin-bottom: 10px;
  margin-left: 10px;
  margin-right: 10px;

}
/* Soft shadow */
.property-item.homeya-box {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow */
}


/* Hide on screens smaller than 992px */
.nav-tab-filter.w-auto {
    display: none;
}

/* Show only on desktop (992px and above) */
@media (min-width: 992px) {
    .nav-tab-filter.w-auto {
        display: flex; /* or block, depending on layout */
    }
}



/* Add a soft drop‑shadow to each card */
.homeya-box {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);   /* X‑offset, Y‑offset, blur, color */
    /* Optional extras:
       border-radius: 12px;       rounded corners to match shadow
       transition: box-shadow .2s; subtle animation if you add a hover effect
    */
}