.properties-h2 {
    height: 3rem;
    width: 100%;
    padding-top: 6rem;
    padding-bottom: 2.75rem;
    align-items: center;
    display: flex;
    justify-content: center;
}

.properties-blocks {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.property-type1,
.property-type2 {
    margin-top: 2%;
    margin: 5.5% 0;
    width: calc(91% - 0rem);
    height: 32rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2%;
}

.image-container-left {
    width: calc(55% - 5rem);
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    /* Hide overflow */
}

.yoga-container-left {
    width: calc(55% - 5rem);
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    /* Hide overflow */
}

.yoga-container-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-container-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-container-left {
    width: calc(61% - 6rem);
    height: 80%;
    margin-right: 2%;
    padding: 1rem;
}

.icon-location,
.icon-price {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #ffffff;
    text-align: center;
    margin-right: 0.03125rem;
    line-height: 1.5rem;
    gap: 0.1rem;
    margin-left: -1rem;
}

.icon-location img,
.icon-price img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.location,
.price {
    flex-basis: 45%;
    display: flex;
    align-items: center;
    margin: 0rem 0;
}

.contact-info .price {
    flex-basis: 100%;
}

.image-container-right {
    width: calc(55% - 5rem);
    border-radius: 10px;
    height: 100%;
    overflow: hidden;
}

.image-container-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-container-right {
    width: calc(61% - 6rem);
    height: 80%;
    margin-right: 2%;
}

.h3-detail-property {
    font-size: 3rem;
    font-weight: 500;
    font-family: "Lora", serif;
    color: #57423D;
    padding-bottom: 1rem;
    margin-top: -1rem;
}

.h3-subheading-property {
    font-size: 2rem;
    font-weight: 500;
    font-family: "Lora", serif;
    color: #658D2A;
}

.h3 {
    font-size: 2.8rem;
    font-weight: 500;
    font-family: "Lora", serif;
    color: #57423D;
    margin-bottom: 2%;
}

.property-details {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: #383738;
    padding-bottom: 1rem;
}

.location {
    margin-top: 3%;
    margin-bottom: 0%;
}

.properties-location-prise-text {
    margin-left: 1%;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #57423D;
}

.book-now-btn {
    background-color: #658D2A;
    /* Green color */
    height: 3rem;
    width: 9rem;
    border-radius: 0;
    border: 1px solid #658D2A;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: white;
    text-decoration: none;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.book-now-btn:hover {
    background-color: white;
    border-color: #658D2A;
    color: #658D2A;
    cursor: pointer;
}

.view-property-details {
    height: 3rem;
    width: 9rem;
    background-color: white;
    border-radius: 0;
    border: 1px solid #658D2A;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #658D2A;
    text-decoration: none;
    transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.view-property-details:hover {
    background-color: #658D2A;
    color: white;
    cursor: pointer;
}

.view-properties-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2.5rem auto 0 auto;
}



/* --- Updated Gallery Design to match Image --- */
.interior-section {
    background-color: #F9FBFC;     
} 

/* Filter Section - Pill Buttons */
.filter-container {    
    text-align: center;    
}

.filter-btn {    
    font: normal 1rem "Poppins", "Work Sans", "sans-serif";
    font-weight: 500;
    background: #fff;
    margin: 0 10px;
    padding: 10px 20px;    
    border-radius: 25px;
    border: 0;    
    cursor: pointer;    
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.filter-btn.active {
    background: #f38020;
    color: #fff;
}

/* Gallery Heading */
.gallery-container h2 {    
    margin: 40px 0;
    color: #f38020; 
}

/* Gallery Grid & Rounded Items */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;    
}

.gallery-item {
    width: 100%;    
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

 /* Overlay background */
.image-modal{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.7);
    z-index:9999;
    justify-content:center;
    align-items:center;
}

/* White popup container */
 .modal-container{
    background:#fff;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    height:90vh; 
}

/* Image area */
.modal-body{
    width:100%;
    height:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

/* Image styling */
.modal-image{
    width:100%;
    height:100%;
    object-fit:contain;
}

/* Close button */
.close-btn{
    position:absolute;
    top:0px;
    right:-40px;
    font-size:32px;
    cursor:pointer;
    line-height:1;
    width:40px;
    height:40px;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#fff
}

@media screen and (max-width: 680px) {
    /* Overlay background */
        .modal-container{
            background:transparent;
            width:90%;
            max-width:90%;
            height:320px;
            padding:0;
        }

        .modal-body{
            width:100%;
            height:100%;
        }

        .modal-image{
            width:100%;
            height:100%;
            object-fit:contain;
        }

        .close-btn{
            color:#fff;
            font-size:30px;
            top:-40px;
            right:0px;
        }
        .filter-btn {
            margin: 0 10px 10px 10px;
        }
        .gallery-grid {
            grid-template-columns: 1fr;
            gap: 1.2rem;
        }
}
/* --- End of Updated Design --- */