
.rh-ultra-property-slider-container .rh-ultra-thumb-action-box.rh-ultra-action-buttons{
    width: 90%;
}

.rh-ultra-action-buttons.hover-dark .add-to-compare-span a:hover, .rh-ultra-action-buttons.hover-dark .add-to-compare-span span:hover{
    background: var(--rh-global-color-primary);
}

.description-content h3{
    font-size: 1.8rem;
}
.filter-popup {
    position: fixed;
    top: 30px;
    right: -100%; 
    width: 30vw; 
    height: 100vh;
    background: #fff; 
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
    z-index: 20000000;
    transition: right 0.3s ease-in-out; 
    overflow-y: auto;
    padding: 20px;
}

.filter-popup.open {
    right: 0; 
}

@media screen and (max-width: 768px){
    .filter-popup{
        width: 85vw;
    }
    .filter-popup.open{
        top: 0;
    }
    .rh-compound__heading{
        font-size: 18px;
    }
}

.filter-titel-contener{
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    align-items: center;
}

/* Style for the filter form container */
.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px; /* Spacing between form elements */
    margin-bottom: 20px;
    padding: 15px;
    background-color:  var(--rh-global-color-primary-light);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

/* Style for select dropdowns */
.filter-form select {
    width: 100%;
    max-width: 100%; /* Adjust based on your design */
    padding: 10px;
    border: 1px solid #dcdcdc;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    transition: all 0.3s ease;
}

#ajax-filter-form input{
    border-radius: 20px;
    width: 100%;
    max-width: 100%;
    border: 1px solid #dcdcdc;
    padding: 0.7rem 1rem;
    
}

/* Change border color on focus */
.filter-form select:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.5);
}

/* Style for the submit button */
.filter-form input[type="submit"] {
    padding: 10px 20px;
    background-color:  var(--rh-global-color-primary);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for submit button */
.filter-form input[type="submit"]:hover {
    background-color: #005c89;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for smaller screens */
@media screen and (max-width: 768px) {
    .filter-form select,
    .filter-form input[type="submit"] {
        max-width: 100%; /* Full width on smaller screens */
    }
}

.developer-contact-form-wrapper {
    position: sticky; 
    top: 20px; 
    z-index: 10;
}

.rh-ultra-pagination {
    display: flex;
    justify-content: center; 
    align-items: center; 
}
.rh-ultra-pagination #load-more-properties{
    
}

.rh-page-head{
    display: none;
}

.rh-ultra-property-carousel-wrapper{
    display: flex;
    margin-top: 15px;
}

.leaflet-popup{
    opacity: 0;
}

.compound-page-container{
    max-width: 85%;
    margin-top: -80px;
}

.rh-ultra-content-container{
    padding-left: 0px; 
    padding-right: 0px;
}

.rhea_ultra_search_form_wrapper{
    width: 93%;
    margin: 0 auto;
}

.page-head-inner {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.developer-image img {
    width: 100px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 4px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.developer-image img:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1);
}

.compound-description-section .description-title{
    margin-bottom: 4rem;
}

.compound-content-section h4{
    margin-bottom: 4rem;
}

.rh-payment-plans{
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.headline-3.entity-title {
    font-weight: bold;
    margin-bottom: 20px;
}

.payments-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: start;
}

.payment-plan-card {
    background: var(--rh-global-color-primary-light);
    border-radius: 8px;
    padding: 15px;
    width: 150px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.payment-plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1);
    border-color: #007BFF;
    background: #fff;
}

.payment-plan-card .compound-plan {
    margin: 0;
    font-size: 16px;
}

.down-payment, .installment-years, .plan-type {
    margin-bottom: 10px;
    font-weight: bold;
}

.down-payment span {
    display: block;
}

.down-payment span:first-child, .installment-years span:first-child {
    font-size: 23px;
    color: var(--rh-global-color-primary);
    margin-bottom: 5px;
}

/* Styling for the icon group */
.project-icons {
    margin-top: 2rem;
    display: flex;
}

.project-icons .icon-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    border-radius: 7px;
    padding: 17px 20px;
    transition: 0.2s all linear;
    background: var(--rh-global-color-primary-light);
}

.project-icons .icon-button:hover {
    background: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.project-icons .icon-button i {
    color: var(--rh-global-color-primary);
    font-size: 30px;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.project-icon-item{
    width: 180px;
}

.project-icons .icon-button p {
    color: var(--rh-global-color-link)
    font-size: 14px;
    margin: 0;
    transition: color 0.3s ease;
}

.rh-ultra-property-thumb-container{
    display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-icons .icon-button {
        padding: 10px;
    }
    .project-icons .icon-button i {
        font-size: 20px;
    }
    .project-icons .icon-button p {
        font-size: 13px;
    }
    
    .project-icon-item{
        width: 50%;
    }
}

/* Custom Modal Styles */

.custom-modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; 
    background-color: rgba(0, 0, 0, 0.8); 
        z-index: 2000000;
}

.custom-modal-content {
    background-color: #fff;
    margin: 2% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    position: relative;
}

.custom-modal-close {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.custom-modal-close:hover,
.custom-modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.custom-modal-title {
    margin-bottom: 20px;
    text-align: center;
}

/* Swiper within Modals */
.custom-modal .swiper-container {
    width: 100%;
}

.custom-modal .swiper-slide img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: cover;
  border-radius: 5px;
}

    #read-more-btn {
        margin-top: 10px;
    }

.compound-features-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Create 5 equal-width columns */
    gap: 16px; /* Add some space between items */
    list-style: none; /* Remove default list styling */
    padding: 0;
    margin: 0;
}

.compound-feature-item img{
    width: 15%;
}
.compound-feature-item {
    display: flex;
    align-items: center;
    gap: 8px; /* Space between the icon and the text */
    font-size: 14px; /* Adjust font size */
}

.compound-feature-item svg {
    flex-shrink: 0; /* Prevent the SVG from shrinking */
}

.compound-feature-item a {
    text-decoration: none;
}

.compound-features-section{
        margin: 2rem 0px;
}

    .compound-description-section{
        width: 60%;
    }
    
        #compound-content-section-schedule-a-tour{
       width: 40%; 
    }

.rh-ultra-property-title-price .property-title, .rh-ultra-property-title-price h1{
    margin-bottom: 10px;
}

.rh-ultra-property-thumb-box{
    padding: 10px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .compound-features-list {
        grid-template-columns: repeat(auto-fit, minmax(100px, 2fr));
    }
    
    .compound-page-container{
        margin-top: 0px !important;
    }
    .rh-ultra-price{
        font-size: 19px !important;
        margin-bottom: 1.5rem;
    }
    .project-icons{
        flex-direction: row;
    }
    .rh-ultra-property-thumb-box{
        padding: 0px;
    }
    
    .rh-ultra-property-title-price .property-title, .rh-ultra-property-title-price h1{
        font-size: 22px;
    }
    .developer-image img{
        width: 100%;
        height: auto;
        border-radius: 15px;
    }
    .page-head-inner{
        margin-top: 2rem;
    }
    .compound-wrapper-section.rh-ultra-content-container{
        flex-direction: column;
        max-width: 100%;
    }
    .compound-description-section{
        margin: 0px;
        width: 100%;
    }
        #compound-content-section-schedule-a-tour{
       width: 100%; 
    }
    .payment-plan-card{
        width: 150px;
    }
    .down-payment span:first-child, .installment-years span:first-child{
        font-size: 20px;
    }
    
    .rh-ultra-content-container{
        max-width: 85%;
    }
    
    .custom-modal-content{
        width: 100%;
    }
    
    .developer-image {
        max-width: 120px;
        flex: 1;
        margin-bottom: 15px !important;
        position: absolute;
        top: -115px;
        left: 16px;
    }

}

    .compound-wrapper-section.rh-ultra-content-container{
        display: flex;
        gap: 2rem;
        margin: 2rem 0px;
    }

.rh_property__sat .sat_left_side{
        width: 100%;
    }
    
    .rh_property__sat{
        width: 100%;
    position: sticky;
    top: 75px;
    padding-top: 50px;
    }

.rh-ultra-dark{
    fill: var(--rh-global-color-primary);
}

.rh-ultra-action-buttons.rh-ultra-action-dark .add-to-compare-span .rh-ultra-dark{
    fill: var(--rh-global-color-primary);
}

.rh-ultra-action-buttons.rh-ultra-action-dark .add-to-compare-span .rh-ultra-light{
    fill: var(--rh-global-color-primary);
}

.rh-ultra-action-buttons.rh-ultra-action-dark .add-to-compare-span a, .rh-ultra-action-buttons.rh-ultra-action-dark .add-to-compare-span span{
    background: #fff;
}

.page-head-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 15px !important;
}

.developer-image {
    max-width: 120px;
    flex: 1;
    margin-bottom: 15px !important;
}

.rh-ultra-property-title-price {
    flex: 2;
    flex-direction: column;
    align-items: start;
    max-width: 600px;
}

.rh-ultra-property-tag-wrapper {
    flex: 1;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
}

.rh-ultra-price {
    font-size: 25px;
    font-weight: 500 !important;
    margin-bottom: 0 !important;
}

@media (min-width: 768px) {
    .page-head-inner {
        flex-direction: row !important;
        text-align: left !important;
    }

    .developer-image {
        margin-right: 20px !important;
        margin-bottom: 0 !important;
    }

    .rh-ultra-property-tag-wrapper {
        flex-direction: row !important;
        gap: 15px !important;
    }
}