

.bhk-search__tab__item {
    position: relative;
  
    overflow: hidden;
}

.bhk-search__tab__item span {
    position: absolute;
    width: 100%;
    text-align: center;
    opacity: 0;
    animation: fadeText 6s linear infinite;
}

.bhk-search__tab__item span:nth-child(1) {
    animation-delay: 0s;
}
.bhk-search__tab__item span:nth-child(2) {
    animation-delay: 3s;
}

@keyframes fadeText {
    0%, 20% {
        opacity: 0;
        transform: translateY(100%);
    }
    30%, 50% {
        opacity: 1;
        transform: translateY(0);
    }
    70%, 100% {
        opacity: 0;
        transform: translateY(-100%);
    }
}



    
    
.container {
    max-width: 1200px;
    margin: auto;
    padding: 15px;
}





/* Section Title Container */
.bhk-home__section__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #fff;
    border-bottom: 2px solid #f4f4f4;
}

/* Title Text */
.bhk-home__section__title--text1 {
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

/* Orange Strip Effect */
.strip-orange {
    position: relative;
    padding-left: 10px;
}

.strip-orange::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 80%;
    background: #ff9800;
    border-radius: 3px;
}

/* "See all Properties" Link */
.bhk-home__section__title--anchor-see-all {
    font-size: 16px;
    color: #46576b;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.bhk-home__section__title--anchor-see-all:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bhk-home__section__title {
      /*  flex-direction: column;*/
        align-items: flex-start;
        gap: 10px;
    }

    .bhk-home__section__title--text1 {
        font-size: 18px;
    }

    .bhk-home__section__title--anchor-see-all {
        font-size: 14px;
    }
}



/*search*/
/* General styles */
.bhk-search {
    padding: 20px;
    background-color: #fff3e0;
}
.bhk-container {
    max-width: 1200px;
    margin: 0 auto;
}
.bhk-search-container {
    text-align: center;
}
.bhk-search__heading {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* Tabs */
.bhk-search__tab {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.bhk-search__tab__item, .bhk-search__tab a {
    padding: 1px 15px;
    font-size: 16px;
    color: #333;
   /* background-color: #e3e3e3;*/
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
}
.bhk-search__tab__item.active, .bhk-search__tab__item:hover, .bhk-search__tab a:hover {
    background-color: red;
    color: white;
}

/* Property dropdown */
.bhk-search__relative {
    position: relative;
}
.bhk-search__dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 5px;
    width: 200px;
    z-index: 10;
}
.bhk-search__property__group {
    padding: 10px;
}
.bhk-search__property__title {
    font-weight: bold;
    margin-bottom: 5px;
    cursor: pointer;
}
.bhk-search__property__item {
    padding: 5px;
    cursor: pointer;
}
.bhk-search__property__item:hover {
    background-color: #f1f1f1;
}

/* Search button */
.bhk-search__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 25px;
    background-color: #46576b;
    color: white;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.bhk-search__btn:hover {
    background-color: #0056b3;
}

/* Responsive design */
@media (max-width: 768px) {
    .bhk-search__tab {
        /*flex-direction: column;*/
        align-items: center;
    }
    .bhk-search__tab__item, .bhk-search__tab a {
       /* width: 100%;*/
        text-align: center;
    }
    .bhk-search__heading {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .bhk-search {
        padding: 10px;
    }
    .bhk-search__heading {
        font-size: 18px;
    }
    .bhk-search__btn {
        width: 100%;
        font-size: 16px;
    }
}

.bhk-search__wrap {
    border-radius: 32px;
    box-shadow: 0 3px 12px -9px rgba(0, 0, 0, 0.4);
    border: 1px solid #909090;
    background-color: #ffffff;
}

.bhk-search__lease, .bhk-search__property {
    position: relative;
    cursor: pointer;
}

.bhk-search__title {
    font-weight: bold;
}

.bhk-search__btn {
    background-color: #d8232a;
    color: white;
    border-radius: 26px;
    font-size: 18px;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    text-align: center;
}

.bhk-search__dropdown {
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 1000;
    display: none;
}

.bhk-search__dropdown.active {
    display: block !important;
}

.bhk-search__budget {
    position: relative;
}

.bhk-search__dropdown {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    z-index: 10;
    display: none;
}

.bhk-search__budget__wrap {
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.bhk-search__min-max__item {
    padding: 8px 12px;
    cursor: pointer;
}

.bhk-search__min-max__item:hover {
    background: #f0f0f0;
}

.bhk-home__owner-prop__card--size {
    color: #303030;
    font-size: 18px;
    font-weight: 600;
    padding-left: 12px;
    line-height: 24px;
    position: relative;
}

.bhk-home__owner-prop__card--price {
    color: #303030;
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    padding-bottom: 8px;
}

.bhk-home__owner-prop__card--type {
    color: #303030;
    font-size: 14px;
    font-weight: 400;
    padding-bottom: 2px;
    line-height: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


  /* Custom Styling */
     /* Main Card Container */
.bhk-ldp__comerc-invest__card--content {
    background: #fff;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect */
.bhk-ldp__comerc-invest__card--content:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Tag (Commercial Guru) */
.bhk-ldp__comerc-invest__card__tag {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background: #d32f2f;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
}

/* Card Detail Section */
.bhk-ldp__comerc-invest__card__detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

/* Profile Image */
.bhk-ldp__comerc-invest__card__detail--graphic {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.bhk-ldp__comerc-invest__card__detail--graphic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Agent Info */
.bhk-ldp__comerc-invest__card__detail__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Agent Name */
.bhk-ldp__comerc-invest__card__detail__info--name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
}

/* Buyer Served Info */
.bhk-ldp__comerc-invest__card__detail__info--served {
    font-size: 14px;
    color: gray;
}

/* Company Name */
.bhk-ldp__comerc-invest__card--cname {
    font-size: 16px;
    font-weight: bold;
    color: #2c3e50;
    margin-top: 10px;
}

/* Operating Since */
.bhk-ldp__comerc-invest__card--since {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

/* Properties For Section */
.bhk-ldp__comerc-invest__card__props {
    margin-top: 10px;
}

/* Properties Label */
.bhk-ldp__comerc-invest__card__props--label {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

/* Properties List */
.bhk-ldp__comerc-invest__card__props__list {
    list-style: none;
    padding: 0;
    margin: 5px 0 0;
}

.bhk-ldp__comerc-invest__card__props__list--item {
    font-size: 14px;
    color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bhk-ldp__comerc-invest__card__detail {
       /* flex-direction: column;*/
        align-items: center;
        text-align: center;
    }

    .bhk-ldp__comerc-invest__card__detail--graphic {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .bhk-ldp__comerc-invest__card--content {
        padding: 10px;
    }

    .bhk-ldp__comerc-invest__card__detail--graphic {
        width: 60px;
        height: 60px;
    }

    .bhk-ldp__comerc-invest__card__detail__info--name {
        font-size: 14px;
    }

    .bhk-ldp__comerc-invest__card__detail__info--served {
        font-size: 12px;
    }

    .bhk-ldp__comerc-invest__card--cname {
        font-size: 14px;
    }
}


/* Ensure the image container maintains aspect ratio */
.bhk-home__trend-prop__card--graphic {
    width: 100%;
   
    overflow: hidden;
    border-radius: 10px; /* Rounded corners for a clean look */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f4; /* Light background for consistency */
}

/* Make the image fully responsive */
.bhk-home__trend-prop__card--graphic img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the container */
    border-radius: 10px;
}

/* Responsive Adjustments */
@media (max-width: 1024px) { /* Tablets */
    .bhk-home__trend-prop__card--graphic {
        height: 180px;
    }
}

@media (max-width: 768px) { /* Mobile Devices */
    .bhk-home__trend-prop__card--graphic {
        height: 150px;
    }
}

@media (max-width: 480px) { /* Small Mobile Screens */
    .bhk-home__trend-prop__card--graphic {
        height: 120px;
    }
}



/**/

/* Responsive Scrollable Tabs for Small Screens */
@media (max-width: 768px) { /* Tablets & Mobile */
    .bhk-search__tab {
        display: flex;
 
        scroll-behavior: smooth;
        padding: 10px 5px;
        gap: 5px;
        white-space: nowrap;
    }

    .bhk-search__tab__item {
        flex: 0 0 auto;
        padding: 10px 15px;
        font-size: 14px;
        min-width: 100px;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .bhk-search__tab__item {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 50px;
    }
}

