.goog-te-combo {
    background: transparent;
    border-color: lightgray;
}

.favorite-btn {
    border: 1px solid lightgray;
    padding: 6px 10px;
    border-radius: 20px;
    cursor: pointer
}

.favorite-btn:hover {
    background-color: #006aff;
    color: white !important;
}

.favorited {
    color: red;
}

.map-swap-btn {
    border: 1px solid lightgray;
    padding: 5px 10px;
    border-radius: 20px;
    background-color: #006aff;
    color: white;
}

.map-swap-btn:hover {
    color: lightgray;
    text-decoration: none;
}

.button-effect {
    margin-bottom: -5px !important;
}

/* Fix image links to be clickable - CRITICAL FIX */
.homes {
    position: relative;
    z-index: 100 !important;
}

.homes-img {
    position: relative !important;
    z-index: 999 !important;
    display: block !important;
    cursor: pointer !important;
    text-decoration: none !important;
    pointer-events: auto !important;
    width: 100% !important;
    height: 100% !important;
}

/* Apply to all variations */
.portfolio .project-head .homes-img,
.recently .project-head .homes-img,
.featured .project-head .homes-img,
.featured.portfolio .project-head .homes-img,
.portfolio-items .project-head .homes-img,
.project-head .homes-img,
.properties-right .project-head .homes-img,
.blog .project-head .homes-img,
.bg-white-2 .project-head .homes-img,
.rec-pro .project-head .homes-img {
    position: relative !important;
    z-index: 999 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}

/* Make ALL overlays allow clicks to pass through */
.portfolio .project-head:before,
.recently .project-head:before,
.featured .project-head:before,
.featured.portfolio .project-head:before,
.portfolio-items .project-head:before,
.project-head:before,
.properties-right .project-head:before,
.bg-white-2 .project-head:before,
.rec-pro .project-head:before {
    pointer-events: none !important;
    z-index: 1 !important;
}

/* Make project-bottom allow clicks through except for its links */
.project-bottom {
    pointer-events: none !important;
    z-index: 333 !important;
}

.project-bottom a,
.project-bottom h4,
.project-bottom h4 a {
    pointer-events: auto !important;
    cursor: pointer;
}

/* Ensure image itself is clickable */
.homes-img img {
    position: relative;
    z-index: 1;
    pointer-events: auto;
    width: 100%;
    height: auto;
    cursor: pointer;
}

/* Tags and prices should not block clicks */
.homes-tag,
.homes-price {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

/* Make sure containers don't block clicks */
.project-inner {
    position: relative;
}

.project-head {
    position: relative;
}

/* Ensure button-effect doesn't block the image link */
.button-effect {
    pointer-events: none !important;
}

.button-effect a,
.button-effect .btn {
    pointer-events: auto !important;
}

/* Additional fix for home page featured section - MOST SPECIFIC */
.featured.portfolio .project-head .homes .homes-img,
.portfolio-items .project-head .homes .homes-img,
.rec-pro .project-head .homes .homes-img,
.bg-white-2.featured.portfolio .project-head .homes-img,
.full-l.featured.portfolio .project-head .homes-img,
.homepage-1 .featured.portfolio .project-head .homes-img,
.homepage-1 .portfolio-items .project-head .homes-img,
.featured.portfolio.bg-white-2.rec-pro.full-l .project-head .homes-img,
.featured.portfolio.bg-white-2.rec-pro.full-l .project-head .homes .homes-img {
    z-index: 9999 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    display: block !important;
}

.featured.portfolio .project-head .homes,
.portfolio-items .project-head .homes,
.rec-pro .project-head .homes {
    z-index: 100 !important;
    position: relative;
}

/* Ensure project-single and project-head don't block */
.featured.portfolio .project-single,
.portfolio-items .project-single {
    position: relative;
}

.featured.portfolio .project-inner,
.featured.portfolio .project-head,
.portfolio-items .project-inner,
.portfolio-items .project-head {
    position: relative;
}

/* Ensure the overlay on home page is non-interactive */
.featured.portfolio .project-head:before,
.portfolio-items .project-head:before,
.bg-white-2 .project-head:before,
.full-l .project-head:before,
.homepage-1 .featured.portfolio .project-head:before,
.homepage-1 .portfolio-items .project-head:before {
    pointer-events: none !important;
    z-index: 1 !important;
}

/* CRITICAL: Homepage specific fixes */
.homepage-1 .featured.portfolio .project-head .homes-img,
.homepage-1 .portfolio-items .project-head .homes-img,
.homepage-1 .featured .project-head .homes-img {
    z-index: 99999 !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.homepage-1 .featured.portfolio .homes,
.homepage-1 .portfolio-items .homes {
    z-index: 1000 !important;
    position: relative !important;
}

.homepage-1 .featured.portfolio .project-head:before,
.homepage-1 .portfolio-items .project-head:before {
    pointer-events: none !important;
    z-index: 1 !important;
}

.leaflet-div-icon, .map-marker {
    background-color: #e0e0e0 !important;
}

.leaflet-div-icon:after, .map-marker:after {
    background-color: transparent !important;
}

.network-not-found {
    display: flex;
    flex-direction: column;
    margin-top: 100px;
    align-items: center;
    height: 80vh;
    font-style: italic;
    font-weight: 100;
    opacity: 0.5;
}

.inner-pages.listing .form-group {
    margin-bottom: 10px !important;
}

.rld-single-input .home-search-panel {
    width: 41% !important;
}

.home-search-input {
    width: 85% !important;
}

/* Testimonial cards equal height and width */
.homepage-1 .singleJobClinet {
    width: 100% !important;
    height: 420px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    background: #fff !important;
    border-radius: 15px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    padding: 44px 40px 55px !important;
    margin: 15px !important;
    border: 1px solid #e7e7e7 !important;
    box-sizing: border-box !important;
}

.homepage-1 .singleJobClinet:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15) !important;
}

.homepage-1 .singleJobClinet p {
    flex-grow: 1 !important;
    margin-bottom: 25px !important;
    font-style: italic !important;
    line-height: 1.6 !important;
    color: #555 !important;
    font-size: 16px !important;
    text-align: center !important;
    padding: 0 10px !important;
    letter-spacing: 0.32px !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 6 !important;
    -webkit-box-orient: vertical !important;
}

.homepage-1 .detailJC {
    margin-top: auto !important;
    text-align: center !important;
    padding-left: 0 !important;
    position: relative !important;
    padding-top: 80px !important;
}

.homepage-1 .detailJC span {
    position: absolute !important;
    left: 50% !important;
    top: 0 !important;
    transform: translateX(-50%) !important;
    width: 68px !important;
    height: 68px !important;
    padding: 4px !important;
    border-radius: 50% !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.homepage-1 .detailJC span i {
    font-size: 28px !important;
    color: #333 !important;
    margin: 0 !important;
}

.homepage-1 .detailJC h5 {
    font-size: 19px !important;
    line-height: 28px !important;
    letter-spacing: 0.38px !important;
    margin-bottom: 0 !important;
    font-weight: 600 !important;
    color: #333 !important;
}

.homepage-1 .detailJC p {
    font-size: 14px !important;
    color: #666 !important;
    font-style: normal !important;
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: normal !important;
}

/* Force equal dimensions for carousel items */
.testimonials .owl-stage {
    display: flex !important;
    align-items: stretch !important;
}

.testimonials .owl-item {
    display: flex !important;
    align-items: stretch !important;
    width: auto !important;
}

.testimonials .owl-carousel .owl-item {
    display: flex !important;
    align-items: stretch !important;
}

.testimonials .owl-carousel .owl-item .singleJobClinet {
    width: 100% !important;
    height: 420px !important;
    min-height: 420px !important;
    max-height: 420px !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .homepage-1 .singleJobClinet {
        height: 380px !important;
        min-height: 380px !important;
        max-height: 380px !important;
        padding: 30px 20px 40px !important;
    }
}

@media (max-width: 480px) {
    .homepage-1 .singleJobClinet {
        height: 360px !important;
        min-height: 360px !important;
        max-height: 360px !important;
        padding: 25px 15px 35px !important;
    }
}

.homepage-1 .singleJobClinet:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 35px rgba(0,0,0,0.15) !important;
}

.homepage-1 .singleJobClinet p {
    flex-grow: 1 !important;
    margin-bottom: 25px !important;
    font-style: italic !important;
    line-height: 1.6 !important;
    color: #555 !important;
    font-size: 16px !important;
    text-align: center !important;
    padding: 0 10px !important;
    letter-spacing: 0.32px !important;
}

.homepage-1 .detailJC {
    margin-top: auto !important;
    text-align: center !important;
    padding-left: 0 !important;
    position: relative !important;
    padding-top: 7px !important;
}

.homepage-1 .detailJC span {
    position: absolute !important;
    left: 50% !important;
    top: 0 !important;
    transform: translateX(-50%) !important;
    width: 68px !important;
    height: 68px !important;
    padding: 4px !important;
    border-radius: 50% !important;
    background: #006aff !important;
    display: block !important;
}

.homepage-1 .detailJC span img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: none !important;
    box-shadow: none !important;
}

.homepage-1 .detailJC h5 {
    font-size: 19px !important;
    line-height: 28px !important;
    letter-spacing: 0.38px !important;
    margin-bottom: 0 !important;
    font-weight: 600 !important;
    color: #333 !important;
}

.homepage-1 .detailJC p {
    font-size: 14px !important;
    color: #666 !important;
    font-style: normal !important;
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: normal !important;
}

/* Ensure owl stage has equal height items */
.testimonials .owl-stage {
    display: flex !important;
    align-items: stretch !important;
}

.testimonials .owl-item {
    display: flex !important;
    align-items: stretch !important;
}

/* Make all testimonial cards equal to the tallest one */
.testimonials .owl-carousel .owl-item {
    display: flex !important;
    align-items: stretch !important;
}

.testimonials .owl-carousel .owl-item .singleJobClinet {
    height: 100% !important;
    min-height: 400px !important;
}

/* Partners section - ensure all logos are the same size */
.partners .style2 .owl-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 120px !important;
    padding: 15px 25px !important;
}

.partners .style2 .owl-item img {
    max-width: 250px !important;
    max-height: 100px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}

/* Consistent image heights for related properties */
.similar-property .homes-img {
    height: 250px !important;
    overflow: hidden !important;
    display: block !important;
}

.similar-property .homes-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Wider spacing for related properties */
.similar-property .portfolio-items {
    margin: 0 -15px !important;
}

.similar-property .portfolio-items .item {
    padding: 0 15px !important;
}

.similar-property .project-single {
    margin-bottom: 0 !important;
}