* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


#text-font{
      font-family: 'Montserrat', 'sans-serif';
       font-weight: 700; 
}
#para1{
     margin-bottom: 15px;
    color:white;

}
    
:root {
    --primary-color: #006D5B;
    --secondary-color: #F5A623;
    --text-color: #333;
    --light-text: #666;
    --white: #fff;
    --light-bg: #f9f9f9;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scrolling across the whole page */
}

body {
    line-height: 1.6;
    color: var(--text-color);
    width: 100%;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 15px;
    color: var(--light-text);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    /* max-width: 100%; */
    height: 300px;
    display: block;
}
/* Filter Section */
.filter-section {
    padding: 25px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.filter-toggle-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
}

.segmented-group{
    display:flex;
    align-items:center;
    gap:0;
}

.segmented-control{
    display:flex;
    background:#e2e2e2;
    height:44px;
    border-top-left-radius:9999px;
    border-bottom-left-radius:9999px;
    border-top-right-radius:0;
    border-bottom-right-radius:0;
    overflow:hidden;
}

.seg-btn{
    appearance:none;
    border:0;
    background:transparent;
    color:#6c757d;
    font-weight:600;
    font-size:14px;
    padding:0 22px;
    display:flex;
    align-items:center;
    gap:10px;
    cursor:pointer;
    height:100%;
    transition:background .2s ease,color .2s ease;
}
.seg-btn i{ font-size:16px; color:#6c757d; }
.seg-btn:first-child{ border-top-left-radius:9999px;border-bottom-left-radius:9999px; }
.seg-btn:last-child{ border-top-right-radius:0;border-bottom-right-radius:0; }

.seg-btn.active{
    background:#145B59;            /* dark teal like screenshot */
    color:#fff;
}
.seg-btn.active i{ color:#ffffff; }

.attached-dropdown{
    display:flex;
    align-items:center;
    background:#e2e2e2;
    height:44px;
    padding:0 14px 0 12px;
    border-top-right-radius:9999px;
    border-bottom-right-radius:9999px;
    margin-left:0;
    transition:none;
}
.attached-dropdown:hover{ background:#e2e2e2; }

.attached-dropdown select{
    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;
    border:0;
    background:transparent;
    padding-right:22px;
    font-size:14px;
    font-weight:600;
    color:#4b5563;
    line-height:44px;
    height:44px;
    outline:none;
    min-width:220px;
    border-radius:0;
    cursor:pointer;
    box-shadow:none;
}
.attached-dropdown select:hover{
    background:transparent;
    color:#4b5563;
}
.attached-dropdown select:focus,
.attached-dropdown select:focus-visible{
    outline:none;
    box-shadow:none;
}

.attached-dropdown .chevron{
    margin-left:-20px;
    pointer-events:none;
    color:#6b7280;
    font-size:12px;
}

.search-bar {
    display: flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 25px;
    overflow: hidden;
    background-color: white;
    flex: 1;
    max-width: 450px;
    margin-right: -10px;
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
    color: #6c757d;
}

.search-bar input::placeholder {
    color: #adb5bd;
}

.btn-search {
    background-color: #145B59;
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 0;
}

.btn-search:hover {
    background-color: #0a4d42;
}
/* Filter Controls Section */
.filter-controls {
    margin-bottom: 20px;
}

.filter-controls div {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-controls label {
    margin-right: 8px;
    font-weight: 500;
}

.filter-controls select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.filter-controls button {
    padding: 8px 16px;
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
}


/* Responsive */
@media screen and (max-width: 768px) {
  .search-container {
    flex-direction: column;
    align-items: stretch;
  }

  .search-bar {
    width: 100%;
  }
}

 .search-section {
    padding: 60px 0;
} 

.btn {
   
    display: inline-block;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    /* transition: var(--transition); */
}

.btn-primary {
    background: linear-gradient(90deg, #946500, #D7B434, #946500);
    color: var(--white);
    /* border: 2px solid var(--secondary-color); */
}

.btn-primary:hover {
    /* background-color: #006d5b; */
    color:white;
}

.btn-secondary {
    background: linear-gradient(90deg, #946500, #D7B434, #946500);
    color: var(--white);
    /* border: 2px solid var(--secondary-color); */
}

.btn-secondary:hover {
    /* background-color: #006d5b; */
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.center-button {
    text-align: center;
    margin-top: 40px;
}

.highlight-gold {
    color: var(--secondary-color);
}
.highlight-green{
    color: var(--primary-color);
}

.highlight-black {
    color:#333;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 80px;
}


.hero-content {
    flex: 2;
}

.hero-content h1 {
 
    font-size: 60px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}


.hero-buttons {
    display: flex;
    gap: 15px;
}
#image1{
    height: 100%;
}
#image4{
    height: 100%;
}

.hero-images {
    position: relative;
    flex: 1;
    right:0;          /* was -250px causing horizontal overflow */
    width: 100%;       /* was 5px making the image appear tiny */
    height: auto;      /* let content size naturally */
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    border-radius: 50% 0% / 50% 0% ;
    overflow: hidden;
    height: 500px;
}
.image-grid1 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: end;
    height: 100%;
    gap: 10px;
    overflow: visible;
    margin: 0 0 0 120px;
    padding-top: 0;
    width: calc(100% - 120px); /* Ensure consistent width calculation */

}

.image-grid1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    border-radius: 30px; /* Ensure image respects container's border radius */
}

.image-grid1 > div {
    position: relative;
    overflow: hidden; /* Changed back to hidden to contain the image */
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
}

.image-grid1 > div:first-child {
    height: 320px; /* Increased from 260px */
    margin-top: 20px; /* Slightly reduced to maintain spacing */
}

.image-grid1 > div:nth-child(2) {
    height: 360px; /* Slightly increased to maintain the height difference */
    margin: 0;
    width: auto;
}

.image-grid1 > div:last-child {
    height: 320px; /* Increased from 260px */
    margin-top: 20px; /* Slightly reduced to maintain spacing */
}

/* Property Buttons */
.property-btn {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    min-width: 100px;
    max-width: 120px;
    padding: 6px 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    color: white;
    font-weight: 500;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.image-item {
    overflow: hidden;
    
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-item:hover img {
    transform: scale(1.1);
}

.image-item.large {
    grid-row: span 2;
}

/* Properties Highlight Section */
.properties-highlight {
   color: #006d5b; 
    text-align: center;
    padding: 60px 0;
    margin-bottom: 80px;
}

.properties-highlight h2 {
     color: #006d5b; 
    font-size: 32px;
    margin-bottom: 15px;
}

.partner-logos {
    display: flex;
    width: 80%;
    padding: 60px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 30px;
}

/* Logo item styles moved to mobile.css for better mobile control */

.logo-item:hover img {
    opacity: 1;
}


/* Find Your Home Section */
.find-home {
    padding: 50px 0 60px; /* Added more bottom padding */
}

.find-home .container {
    display: flex;
    gap: 40px;
}

.find-home-content {
    flex: 1;
}

.find-home-content h2 {
    font-size: 45px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.find-home-content p {
    font-size: 1.1rem;
    color: #666;
    max-width: 500px;
}

.find-home-image {
    flex: 1;
    position: relative;
    margin-top: -90px; /* Reduced negative margin to move down slightly */
    position: relative;
    top: -50px; /* Additional upward movement */
}

/* Property Grid Layout */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 15px;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

/* Property Card */
.property-card {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 300px; /* Fixed height for consistency */
    display: flex;
    flex-direction: column;
    background: #fff;
    color: #333;
}

/* Card Hover Effect */
.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Property Image */
.property-image {
    position: relative;
    width: 100%;
    height: 150px; /* Slightly reduced height */
    overflow: hidden;
    z-index: 1;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

/* Property Info */
.property-info {
    position: relative;
    z-index: 2;
    padding: 12px 15px;
    background: #fff;
    color: #333;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.property-info h3 {
    margin: 0 0 4px 0;
    font-size: 1rem;
    color: #222;
    font-weight: 600;
    line-height: 1.3;
}

.property-info p {
    margin: 2px 0;
    color: #666;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1.3;
}

.property-info p i {
    color: #ffffff !important;
    width: 16px;
    text-align: center;
}

/* Tag */
.tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff9800;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

/* Property card buttons */
.property-actions, .ready-to-move .explore {
    position: relative;
    margin: -30px 0 0 0;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    z-index: 2;
}

/* Button styles for all property cards */
.property-actions .btn,
.ready-to-move .explore .btn-primary {
    background: linear-gradient(90deg, #a37100, #e8c55f, #a37100);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    top: -22px;
    margin: 0;
    display: inline-block;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 180px;
    text-align: center;
    text-decoration: none;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.property-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .property-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .property-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 15px;
        padding: 0 10px;
    }
    
    .property-image {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .property-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}
/*
.property-grid1 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 40px 0;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}
.property-card1 {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s ease;
    aspect-ratio: 1/1;
    min-height: 250px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: 10px; /* Added margin for better spacing 
    width: calc(100% - 20px); 
}

.property-card1 .property-images {
    width: 100%;
    height: 100%;
}

.property-card1 .property-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card1:hover .property-images img {
    transform: scale(1.1);
}

.property-card1 .property-info1 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.property-card1:hover .property-info1 {
    transform: translateY(0);
}

.property-card1 h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: white;
}

.property-card1 p {
    margin: 5px 0 15px;
    font-size: 0.9rem;
    opacity: 0.9;
    color: #eee;
}

.property-image1 {
    grid-column: span 2;
    grid-row: span 2;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 520px;
}

.property-image1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-image1:hover img {
    transform: scale(1.05);
}

.property-image1 .property-info1 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.property-image1 h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
}

.property-image1 p {
    margin-bottom: 20px;
    font-size: 1rem;
    color: #eee;
}

.property-image1 .btn {
    display: inline-block;
    padding: 12px 30px;
    background: #F5A623;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.property-image1 .btn:hover {
    background: #e6951a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}*/

/* Responsive adjustments */
@media (max-width: 1200px) {
    .property-grid1 {
        /* grid-template-columns: repeat(3, 1fr); */
        gap: 15px;
    }
    
    .property-card1 {
        margin: 8px;
        width: calc(100% - 16px);
    }
    
    .property-image1 {
        grid-column: span 3;
        grid-row: span 1;
        min-height: 400px;
        margin: 15px;
        width: calc(100% - 30px);
    }
}

@media (max-width: 768px) {
    .property-grid1 {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .property-card1 {
        margin: 6px;
        width: calc(100% - 12px);
    }
    
    .property-image1 {
        grid-column: span 2;
        min-height: 350px;
        margin: 10px;
        width: calc(100% - 20px);
    }
}

@media (max-width: 576px) {
    .property-grid1 {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 10px;
    }
    
    .property-card1 {
        margin: 8px 0;
        width: 100%;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .property-image1 {
        grid-column: span 1;
        min-height: 300px;
        width: 100%;
        margin: 10px 0;
    }
}

/* About Us Section */
.about-us {
    background-color: var(--light-bg);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.about-content h2:after {
    content: '';
    position: absolute;
    width: 50%;
    height: 3px;
    background: var(--secondary-color);
    bottom: -10px;
    left: 25%;
    border-radius: 3px;
}

.about-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 50px;
    color: var(--text-color);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 60px -15px 0;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    flex: 1;
    min-width: 200px;
    margin: 15px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.stat-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item.animated:before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    transition: all 0.5s ease;
    position: relative;
    display: inline-block;
}

.stat-item.animated h3 {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(0, 109, 91, 0.2);
}

.stat-item p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.stat-item:hover p {
    color: var(--primary-color);
}

/* Animation for stats counter */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-item.animated {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .about-content h2 {
        font-size: 2.5rem;
    }
    
    .about-content p {
        font-size: 1.1rem;
    }
    
    .stat-item {
        min-width: 160px;
        padding: 25px 15px;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .about-us {
        padding: 80px 0;
    }
    
    .stats {
        margin-top: 40px;
    }
    
    .stat-item {
        min-width: calc(50% - 30px);
        margin: 10px;
    }
}

@media (max-width: 480px) {
    .about-content h2 {
        font-size: 2rem;
    }
    
    .stat-item {
        min-width: 100%;
        margin: 10px 0;
    }
}

/* Video Gallery Section */
.video-gallery {
    text-align: center;
    padding: 80px 0;
    background-color: var(--light-bg);
}

.video-gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.video-gallery p {
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
}

.video-grid {
    display: flex;
    gap: 0;
    padding: 20px 0;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    width: 100%;
    overflow: hidden;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.video-grid::-webkit-scrollbar {
    display: none;
}

.video-card {
    flex: 0 0 100%;
    max-width: 350px;
    margin: 0 12.5px;
    background: white;
    border-radius: 30px 30px 30px 30px; /* Explicitly set all corners */
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height:100%;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    cursor: pointer;
}

.play-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: translate(-50%, -50%);
}

.video-card p {
    padding: 15px 20px;
    margin: 0;
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Navigation arrows */
.video-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
    opacity: 0.8;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.video-nav:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.video-nav.prev {
    left: 10px;
}

.video-nav.next {
    right: 10px;
}

/* Property Grid Sections */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
    padding: 0 10px;
}


/* Removing duplicate .property-card styles */

.property-image {
    flex: 1 1 auto;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    height: 100%; /* Make image take full height */
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-image .tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 12px;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 130px;
    background: rgba(169, 146, 146, 0.35);
    backdrop-filter: blur(3px);
    padding: 15px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.property-info h3 {
    padding-left: 5px;
    font-size: 16px;
    margin: 0 0 4px 0;
    color: white;
    font-weight: 600;
    line-height: 1.3;
}

.property-info h5 {
    padding-left: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 6px 0;
    font-weight: 500;
}

.property-info p {
    padding-left: 5px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    margin: 2px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.property-info p i {
    color: var(--white);
}

.property-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: -10px; /* Moved up by reducing margin */
    margin-bottom: 5px; /* Added to maintain spacing at the bottom */
}

.property-info .btn {
    background: linear-gradient(45deg, #946500, #D7B434, #946500);
    color: white;
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 500;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    min-width: 100px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.property-info .btn:hover {
    background: linear-gradient(45deg, #a37100, #e6c05e, #a37100);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Additional styles from the truncated part (reconstructed based on context) */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr 1fr 1fr;
    gap: 8px;
    padding: 20px 0;
    width: 100%;
    box-sizing: border-box;
    align-items: flex-end;
    min-height: 500px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.projects-grid::-webkit-scrollbar {
    display: none;
}

.project-card {
    width: 100%;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 380px;
    cursor: pointer;
    align-self: flex-end;
    max-width: 100%;
    background: #fff;
    transform: translateY(0);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.project-card:nth-child(1) { height: 380px; }
.project-card:nth-child(2) { height: 420px; }
.project-card:nth-child(3) { height: 460px; }
.project-card:nth-child(4) { height: 420px; }
.project-card:nth-child(5) { height: 380px; }

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

/* Simple Modal Styles */
.property-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    padding: 40px 30px 30px;
    border-radius: 25px;
    max-width: 500px;
    width: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.property-details h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #222;
}

.property-details p {
    margin: 8px 0;
    color: #555;
    font-size: 1.1rem;
}

.property-details .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #D7B434;
    margin: 15px 0;
}

/* Simple Explore Button */
.explore-btn {
    display: inline-block;
    background: linear-gradient(90deg, #946500, #D7B434, #946500);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.explore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(90deg, #946500, #D7B434, #946500);
}

/* Project Card Styles */
.project-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    color: white;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
    border-radius: 25px;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    pointer-events: none; /* Allow clicks to pass through to the card */
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    text-align: center;
    width: 100%;
}

.project-overlay p {
    margin: 5px 0;
    font-size: 1.1rem;
    color: #eee;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
    text-align: center;
    width: 100%;
}

.project-overlay .explore-btn {
    transform: translateY(20px);
    transition: all 0.4s ease 0.2s;
    pointer-events: auto; /* Make button clickable */
    margin-top: 20px;
    padding: 10px 25px;
    font-size: 0.9rem;
    background: linear-gradient(90deg, #D7B434, #e8c55f, #D7B434);
    border: none;
    border-radius: 25px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.project-overlay .explore-btn:hover {
    transform: translateY(-2px) translateY(20px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.project-card:hover .project-overlay h3,
.project-card:hover .project-overlay p,
.project-card:hover .project-overlay .explore-btn {
    transform: translateY(0);
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.project-location {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #eee;
    font-weight: 400;
}

.project-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 10px 0 15px;
    background: rgba(0, 0, 0, 0.3);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 15px;
}

.explore-btn {
    background: linear-gradient(90deg, #946500, #D7B434, #946500);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    margin: 20px auto 0;
    min-width: 150px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
}

.explore-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.explore-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 183, 0, 0.4);
}

/* Footer */
footer {
    background-color: #0d5c4d; /* Green background */
    color: #fff;
    padding: 60px 80px; /* Bigger padding for more space */
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
    min-height: 350px; /* Extends the footer height */
  } 

  .footer-left, .footer-right {
    flex: 1;
    min-width: 280px;
  }

  .footer-left h3 {
    margin-bottom: 25px;
  }

  .footer-left ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-left ul li {
    margin-bottom: 12px; 
  }

  .footer-left ul li a {
    color: #d3d3d3;
    text-decoration: none;
    font-size: 15px;
  }

  .footer-right h4 {
    margin-top: 0;
    margin-bottom: 10px;
  }

  .footer-right p {
    margin: 0 0 30px; /* More gap between each section */
    font-size: 15px;
    color: #d3d3d3;
    line-height: 1.6;
  }

  .terms {
    margin-top: 40px;
  }

  .terms h4 {
    margin: 0 0 10px;
  }

  .terms a {
    color: #d3d3d3;
    font-size: 15px;
    text-decoration: none;
  }

  /* Socials fixed to bottom-right */
  .social-icons {
    position: absolute;
    right: 80px;
    bottom: 30px;
    display: flex;
    gap: 25px;
  }

  .social-icons a {
    color: white;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s;
  }

  .social-icons a:hover {
    color: #ccc;
  }
/* Responsive Styles */
@media (max-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }
  
  .project-card {
    height: 350px;
  }
  
  .project-card:nth-child(1) { height: 350px; }
  .project-card:nth-child(2) { height: 400px; }
  .project-card:nth-child(3) { height: 450px; }
  .project-card:nth-child(4) { height: 400px; }
  .project-card:nth-child(5) { height: 350px; }
}

@media (max-width: 1024px) {
  .team-container {
      grid-template-columns: repeat(2, 1fr);
  }
  
  .mission-vision-container {
      flex-direction: column;
  }
  
  .requirements-container {
      flex-direction: column;
  }
  
  .requirements-text, .requirements-form {
      width: 100%;
  }
}

@media (max-width: 768px) {
  nav {
      display: none;
  }
  
  .award-content {
      flex-direction: column;
  }
  
  .award-text {
      padding-right: 0;
      padding-bottom: 20px;
  }
  
  .subscribe-box {
      flex-direction: column;
      text-align: center;
  }
  
  .subscribe-box p {
      margin-right: 0;
      margin-bottom: 15px;
  }
  
  .footer-content {
      flex-direction: column;
      gap: 30px;
  }
  
  .footer-bottom {
      flex-direction: column;
      gap: 20px;
  }
}

@media (max-width: 576px) {
     .form-row {
      flex-direction: row;
  }

  .form-row input {
      flex: 1;
  }

  
  .experts-section {
  padding: 30px 15px;
}

.section-title2 {
  margin: 10px;
  font-size: 20px;
}

.form-row {
  flex-direction: column;
}
.contact-form{
  text-align:center;
}
/* .contact-form .btn {
  margin:10px
}
 */
 .btn{
   margin:10px

 }
}


/* Responsive Adjustments */
@media (max-width: 992px) {
    .properties-highlight {
        margin-bottom: 40px;
    }
    
    .find-home {
        padding: 30px 20px;
    }
    
    .image-grid1 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        margin: 0 0 0 60px;
        align-items: end;
    }
    
    .image-grid1 > div {
        position: relative;
        width: 100%;
        height: 300px;
        border-radius: 15px;
        overflow: hidden;
    }
    
    .image-grid1 > div:first-child,
    .image-grid1 > div:last-child {
        height: 280px;
        margin-top: 30px;
    }
    
    .image-grid1 > div:nth-child(2) {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .properties-highlight {
        margin-bottom: 30px;
    }
    
    .find-home {
        padding: 20px 15px;
    }
    
    .image-grid1 {
        margin: 0 10px;
        gap: 10px;
    }
    
    .image-grid1 > div {
        height: 150px;
    }
    
    .image-grid1 > div:first-child,
    .image-grid1 > div:last-child {
        height: 130px;
        margin-top: 15px;
    }
    
    .image-grid1 > div:nth-child(2) {
        height: 170px;
    }
    
    .property-btn {
        padding: 4px 12px;
        font-size: 0.7rem;
        min-width: 90px;
        bottom: 10px;
    }
}
/* Responsive Styles */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .find-home .container {
        flex-direction: column;
    }
    
    .find-home-content {
        text-align: center;
        margin: 0 auto 40px;
    }
    
    .find-home-content p {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
        padding-top: 80px;
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links ul {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-links ul li {
        margin: 15px 0;
    }
    
    .fa-bars {
        display: block;
    }
    
    .fa-times {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    
    .nav-buttons {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .image-grid {
        height: 300px;
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    /* Navigation */
    nav {
        display: none;
    }
    
    .logo-item {
        display: flex;
    }
   
    
    /* section {
         padding: 60px 0; 
        
    } */
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .image-grid {
        /* height: 100%; */
        /* grid-template-columns: 1fr; */
        grid-template-rows: repeat(2, 1fr);
        /* border-radius: 10px; */
    }
    
    .image-item.large {
        grid-row: span 1;
    }
    
    .property-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
    
   
    /* Hero Section */
    .hero-content {
        padding: 20px 15px;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        padding: 0 10px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0;
        padding: 12px 20px;
    }
    
    /* About Section */
    .about-content {
        padding: 20px 15px;
    }
    
    .about-content h2 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .about-content p {
        font-size: 15px;
        line-height: 1.6;
    }
    
    /* Video Section */
    .video-section {
        padding: 30px 15px;
    }
    
    .video-container {
        margin: 0 auto;
        max-width: 100%;
    }
    
    /* Top Picks Section */
    .top-picks {
        padding: 20px 15px;
    }
    
    .top-picks h2 {
        font-size: 24px;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .property-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .property-card {
        margin: 0;
        width: 100%;
    }
    
    /* General Adjustments */
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .btn {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px 15px;
    }
    
    .explore {
        padding-left: 0;
        text-align: center;
        margin: 20px 0;
    }
    
    .explore-buttons {
        display: flex;
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Logo Carousel */
.scroll-container {
    width: 100%;
    overflow: hidden;
    background: #fff;
    padding: 30px 0 10px 0;
    margin: 20px 0 10px 0;
    position: relative;
}

.partner-logos {
    display: flex;
    width: max-content;
    padding: 20px 0;
    animation: scrollLogos 25s linear infinite;
}

.partner-logos:hover {
    animation-play-state: paused;
}

.logo-item {
    flex: 0 0 auto;
    margin: 0 15px; /* Reduced from 40px */
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 280px; /* Reduced from 320px */
    padding: 15px 0; /* Reduced vertical padding */
}

.logo-item img {
    height: 180px; /* Increased from 140px */
    width: auto;
    max-width: 300px; /* Increased from 260px */
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 20px));
    }
}