/* Properties Page Styles */
#propertyDetailsModal {
   display: none;
   position: fixed;
   top: 0;
   left: 0;
   height: 100%;
   width: 100vw;
   height: auto;
   background: rgba(0, 0, 0, 0.7);
   z-index: 9999;
   align-items: center;
   justify-content: center;
 }
 
 .property-details-modal-container {
   position: relative;
   width: 100vw;
   max-width: 100%;
   height: 100vh;
   background: #fff;
   border-radius: 5px;
   overflow: hidden;
   display: flex;
   flex-direction: column;
 }
 
 .property-details-modal-container .close-btn {
   position: absolute;
   top: 10px;
   right: 20px;
   z-index: 10;
   background: #222;
   color: #fff;
   border: none;
   border-radius: 100% !important;
   width: 2.5rem !important;
   height: 2.5rem !important;
   font-size: 1.5rem !important;
   cursor: pointer !important;
   padding: 0 !important;
 
   display: flex;
   justify-content: center;
   align-items: center;
 }
 
 @media (max-width: 1024px) and (min-width: 768px) {
   .property-details-modal-container {
     position: relative;
     width: 90vw;
     max-width: 100%;
     height: 700px !important;
     max-height: 800px !important;
     background: #fff;
     border-radius: 5px;
     overflow: hidden;
     display: flex;
     flex-direction: column;
   }
 
   .property-details-modal-container iframe {
     height: 100% !important;
     width: 100% !important;
   }
 }
 
 @media (max-width: 468px) {
   #propertyDetailsModal {
     display: none;
     position: fixed;
     top: 0;
     left: 0;
     bottom: 0;
     height: 100vh;
     width: 100vw;
     height: auto;
     background: rgba(0, 0, 0, 0.7);
     z-index: 9999;
     align-items: center;
     justify-content: center;
   }
 
   .property-details-modal-container {
     height: 80vh !important;
     max-height: 70vh !important;
     width: 90vw !important;
     max-width: 100% !important;
   }
 
   .property-details-modal-container .close-btn {
     top: 0.5rem;
     right: 0.5rem;
     width: 2rem !important;
     height: 2rem !important;
     font-size: 1rem !important;
   }
 }
 
 /* Hero Section */
 .properties-page .hero {
   background: url("https://newvashaepz.com/wp-content/uploads/2025/08/DJI_20250821165418_0252_D.jpg");
   background-size: cover;
   background-position: center;
   object-position: bottom;
   width: 100%;
   height: 600px;
   max-height: 100svh;
   color: var(--white);
   text-align: center;
   display: flex;
   flex-direction: row;
   justify-content: center;
   align-items: center;
   position: relative;
 }
 
 .properties-page .hero::before {
   content: "";
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background-color: var(--black) !important;
   opacity: 0.55 !important;
   z-index: 1;
 }
 
 .properties-page .container {
   display: flex;
   flex-direction: row;
   justify-content: space-between;
   align-items: center;
   width: 100%;
   height: 100%;
   position: relative;
   z-index: 2;
 }
 
 .properties-page .text-container {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: start;
   width: 50%;
   height: 100%;
 }
 
 .properties-page h1 {
   font-size: 48px;
   margin: 0.5rem 0;
   color: var(--white);
 }
 
 .properties-page p {
   font-size: 16px;
   margin-bottom: 15px;
   text-align: start;
 }
 
 .breadcrumb {
   font-size: 16px;
 }
 
 .breadcrumb a {
   color: var(--white);
   text-decoration: none;
 }
 
 .breadcrumb span {
   color: var(--primary-color);
 }
 
 .properties-page .image-container {
   width: 500px;
   height: 500px;
   display: flex;
   justify-content: center;
   align-items: center;
   border-radius: 10px;
   overflow: hidden;
   margin-bottom: -300px;
   position: relative;
 }
 
 .properties-page .image-container img {
   width: 100%;
   height: 100%;
   object-fit: cover;
 }
 
 .properties-page .image-container .play-btn {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
 }
 
 @media (max-width: 1024px) {
   .properties-page .hero {
     height: 500px;
   }
 
   .properties-page .container {
     flex-direction: column;
     gap: 2rem;
   }
 
   .properties-page .text-container {
     width: 100%;
     text-align: center;
   }
 
   .properties-page h1 {
     font-size: 2.5rem;
   }
 
   .properties-page .image-container {
     width: 400px;
     height: 400px;
     margin-bottom: -200px;
   }
 }
 
 @media (max-width: 768px) {
   .properties-page .hero {
     height: 400px;
   }
 
   .properties-page h1 {
     font-size: 2rem;
   }
 
   .properties-page p {
     font-size: 14px;
   }
 
   .properties-page .image-container {
     width: 80vw;
     height: 300px !important;
     margin-bottom: -220px;
   }
 
   .breadcrumb {
     font-size: 14px;
     margin-top: 80px;
   }
 }
 
 /* -----------------------------Featured Projects Section ----------------------------- */
 .featured-projects {
   padding: 6rem 0 3rem 0;
   background-color: var(--white);
 }
 
 .featured-projects .container {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
 }
 
 .projects-grid {
   width: 100%;
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 1rem;
   margin-bottom: 40px;
 }
 
 .project-card {
   background: var(--white);
   border-radius: 15px;
   overflow: hidden;
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   position: relative;
 }
 
 .project-card:hover {
   transform: translateY(-10px);
   box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
 }
 
 .project-image {
   position: relative;
   height: 275px;
   overflow: hidden;
 }
 
 .project-image img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.3s ease;
 }
 
 .project-card:hover .project-image img {
   transform: scale(1.1);
 }
 
 .project-badge {
   position: absolute;
   top: 20px;
   left: 20px;
   background: var(--primary-color);
   color: var(--white);
   padding: 8px 16px;
   border-radius: 20px;
   font-size: 12px;
   font-weight: 500;
   z-index: 2;
 }
 
 .project-content {
   padding: 30px;
 
   display: flex;
   flex-direction: column;
   justify-content: start;
   align-items: start;
 }
 
 .project-content h3 {
   font-size: 22px;
   color: var(--text-color);
   margin-bottom: 15px;
   font-weight: 600;
 }
 
 .project-content p {
   color: var(--dark-gray);
   margin-bottom: 20px;
   line-height: 1.6;
 }
 
 .project-features {
   display: flex;
   flex-wrap: wrap;
   gap: 0.25rem;
   margin-bottom: 25px;
 }
 
 .project-features ul {
   display: flex;
   flex-direction: column;
   gap: 0.25rem;
   margin-bottom: 25px;
 }
 
 .project-features li {
   font-size: 1rem;
   color: var(--dark-gray);
   gap: 0px;
   list-style: disc;
   margin-left: 1rem;
 }
 
 .project-features i {
   color: #000;
   font-size: 6px;
   margin-right: 1px;
   margin-top: 7px;
 }
 
 .learn-more-btn {
   background: var(--secondary-color);
   color: var(--white);
   border: none;
   padding: 12px 30px;
   border-radius: 25px;
   font-weight: 500;
   cursor: pointer;
   transition: all 0.3s ease;
   width: auto;
   text-align: center;
   display: block;
   font-size: 1rem;
 }
 
 .learn-more-btn:hover {
   background: var(--primary-color);
   transform: translateY(-2px);
 }
 
 @media (max-width: 1024px) {
   .featured-projects {
     padding: 4rem 0 2rem 0;
   }
 
   .projects-grid {
     grid-template-columns: repeat(2, 1fr);
     gap: 1.5rem;
   }
 
   .project-content {
     padding: 1.5rem;
   }
 
   .project-content h3 {
     font-size: 1.25rem;
   }
 
   .learn-more-btn {
     padding: 10px 25px;
     font-size: 14px;
   }
 }
 
 @media (max-width: 768px) {
   .featured-projects {
     padding: 12rem 0 2rem 0;
   }
 
   .projects-grid {
    width: 100%;
     grid-template-columns: 1fr;
     gap: 1.5rem;
     padding-top: 0;
     margin-top: 0;
   }
 
   .project-card {
     margin: 0 auto;
     max-width: 100%;
   }
 
   .project-image {
     height: 200px;
   }
 
   .project-content {
     padding: 1.25rem;
   }
 
   .project-content h3 {
     font-size: 1.1rem;
   }
 
   .project-content p {
     font-size: 14px;
   }
 
   .project-features {
     gap: 10px;
   }
 
   .project-features span {
     font-size: 12px;
   }
 
   .learn-more-btn {
     padding: 0.75rem 1rem;
     font-size: 1rem;
   }
 }
 
 /* -----------------------------On Sale Section ----------------------------- */
 .on-sale {
   padding: 3rem 0;
   background: linear-gradient(150deg, #2c3e3a, #2c3e3a, #84ac8c);
   color: var(--white);
 
   display: flex;
   flex-direction: column;
   justify-content: start;
   align-items: center;
 
   height: 100%;
   width: 100%;
 }
 
 .on-sale .container {
   width: 100%;
   height: 100%;
 
   display: flex;
   flex-direction: column;
   justify-content: start !important;
   align-items: center;
 }
 
 .on-sale .section-header h2 {
   color: var(--white);
   text-align: start;
 }
 
 .sale-left-sect {
   width: 30%;
   height: 100%;
 
   display: flex;
   flex-direction: column;
   justify-content: start;
   align-items: start;
 
   padding: 0 0 1rem 0;
 }
 
 .sale-left-sect .section-header {
   width: 100%;
   height: auto;
   margin-top: 0 !important;
 }
 
 .countdown-timer {
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   justify-content: center;
   align-items: center;
   gap: 1rem;
 
   width: 100%;
   height: auto;
 }
 
 .timer-item {
   text-align: center;
   background: rgba(255, 255, 255, 0.1);
   padding: 20px;
   border-radius: 15px;
   min-width: 100px;
   backdrop-filter: blur(10px);
 
   height: 10rem;
   width: 100%;
 
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
 
   box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
   box-sizing: border-box;
 }
 
 .timer-number {
   display: block;
   font-size: 36px;
   font-weight: 700;
   color: var(--primary-color);
   margin-bottom: 5px;
 }
 
 .timer-label {
   font-size: 14px;
   color: var(--white);
   opacity: 0.8;
 }
 
 .sale-container {
   display: flex;
   flex-direction: row;
   justify-content: center;
   align-items: center;
   gap: 1rem;
 }
 
 .sale-properties {
   width: 70%;
   height: 100%;
 
   display: grid;
   grid-template-columns: repeat(2, 1fr);
   gap: 1rem;
   margin-bottom: 40px;
 }
 
 .sale-card {
   background: var(--white);
   border-radius: 20px;
   overflow: hidden;
   position: relative;
   box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
 }
 
 .sale-badge {
   position: absolute;
   top: 20px;
   right: 20px;
   background: #e74c3c;
   color: var(--white);
   padding: 0.6rem 1.5rem;
   border-radius: 25px;
   font-size: 1rem;
   font-weight: 400;
   z-index: 2;
 }
 
 .sale-badge.available {
   background: #32cd32;
 }
 
 .sale-badge.sold {
   background: #e74c3c;
 }
 
 .sale-image {
   height: 300px;
   overflow: hidden;
 }
 
 .sale-image img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.3s ease;
 }
 
 .sale-card:hover .sale-image img {
   transform: scale(1.05);
 }
 
 .sale-content {
   padding: 30px;
   color: var(--text-color);
 }
 
 .sale-content h3 {
   font-size: 24px;
   margin-bottom: 15px;
   font-weight: 600;
 }
 
 .sale-content p {
   color: var(--dark-gray);
   margin-bottom: 25px;
   line-height: 1.6;
 }
 
 .price-container {
   display: flex;
   align-items: center;
   gap: 15px;
   margin-bottom: 25px;
 }
 
 .original-price {
   font-size: 18px;
   color: var(--dark-gray);
   text-decoration: line-through;
 }
 
 .sale-price {
   font-size: 28px;
   color: var(--primary-color);
   font-weight: 700;
 }
 
 .get-quote-btn {
   background: var(--primary-color);
   color: var(--white);
   border: none;
   padding: 15px 35px;
   border-radius: 30px;
   font-weight: 400;
   cursor: pointer;
   transition: all 0.3s ease;
   width: 100%;
   font-size: 1rem;
 }
 
 .get-quote-btn:hover {
   background: var(--secondary-color);
   transform: translateY(-2px);
 }
 
 @media (max-width: 1024px) {
   .on-sale {
     padding: 2rem 0;
   }
 
   .sale-container {
     flex-direction: column;
     gap: 2rem;
   }
 
   .sale-left-sect {
     width: 100%;
     text-align: center;
   }
 
   .sale-properties {
     width: 100%;
     grid-template-columns: repeat(2, 1fr);
     gap: 1.5rem;
   }
 
   .countdown-timer {
     justify-content: center;
     gap: 1rem;
   }
 
   .timer-item {
     height: 8rem;
     padding: 1rem;
   }
 
   .timer-number {
     font-size: 2rem;
   }
 
   .sale-content {
     padding: 1.5rem;
   }
 
   .sale-content h3 {
     font-size: 1.25rem;
   }
 
   .get-quote-btn {
     padding: 12px 25px;
     font-size: 14px;
   }
 }
 
 @media (max-width: 768px) {
   .on-sale {
     padding: 2rem 0;
   }
 
   .on-sale .section-header {
     padding: 0;
     margin: 0;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     text-align: center !important;
     width: 100%;
     height: auto;
   }
 
   .sale-properties {
     grid-template-columns: 1fr;
     gap: 1.5rem;
   }
 
   .countdown-timer {
     grid-template-columns: repeat(2, 1fr);
     gap: 0.5rem;
 
     margin-top: 2rem;
   }
 
   .timer-item {
     height: 6rem;
     padding: 0.75rem;
   }
 
   .timer-number {
     font-size: 1.5rem;
   }
 
   .timer-label {
     font-size: 12px;
   }
 
   .sale-image {
     height: 200px;
   }
 
   .sale-content {
     padding: 1rem;
   }
 
   .sale-content h3 {
     font-size: 1.1rem;
   }
 
   .sale-content p {
     font-size: 14px;
   }
 
   .price-container {
     flex-direction: column;
     align-items: flex-start;
     gap: 5px;
   }
 
   .original-price {
     font-size: 14px;
   }
 
   .sale-price {
     font-size: 1.5rem;
   }
 
   .get-quote-btn {
     padding: 0.75rem 1rem;
     font-size: 1rem;
   }
 }
 
 /* -----------------------------Recent Projects Section ----------------------------- */
 .recent-projects {
   padding: 4rem 0;
   background-color: var(--light-gray);
 
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
 
   height: 100%;
   width: 100%;
 }
 
 .recent-projects .container {
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
 
   height: 100%;
   width: 100%;
 }
 
 .recent-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   justify-items: center;
   align-content: center;
   gap: 1rem;
 
   width: 100%;
   height: 100%;
 }
 
 .recent-item {
   background: var(--white);
   border-radius: 15px;
   overflow: hidden;
   box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
   transition: transform 0.3s ease;
 
   height: 100%;
   width: 100%;
 
   display: flex;
   flex-direction: column;
   justify-content: flex-start;
   align-items: flex-start;
 
   padding: 0 0 0 0;
 
   /* Safari compatibility */
   -webkit-backface-visibility: hidden;
   backface-visibility: hidden;
   transform: translateZ(0);
 }
 
 .recent-item:hover {
   transform: translateY(-8px);
 }
 
 .recent-image {
   width: 100%;
   height: 250px;
   overflow: hidden;
   position: relative;
   /* Safari fix for image container */
   -webkit-transform: translateZ(0);
   transform: translateZ(0);
 }
 
 .recent-image img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: transform 0.3s ease;
   /* Safari image rendering fix */
   -webkit-backface-visibility: hidden;
   backface-visibility: hidden;
 }
 
 .recent-item:hover .recent-image img {
   transform: scale(1.1);
 }
 
 .recent-content {
   padding: 1.5rem 1.5rem 1.5rem 1.5rem;
   text-align: left;
 
   display: flex;
   flex-direction: column;
   justify-content: flex-start;
   align-items: flex-start;
   height: auto;
   width: 100%;
 
   /* Safari text visibility fix */
   position: relative;
   z-index: 2;
   background: var(--white);
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
 }
 
 .recent-content h4 {
   font-size: 20px;
   color: var(--text-color);
   margin-bottom: 8px;
   font-weight: 600;
   text-align: left;
 
   /* Safari text rendering */
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   opacity: 1;
   visibility: visible;
 }
 
 .recent-content p {
   color: var(--dark-gray);
   font-size: 0.95rem;
 
   /* Safari text rendering */
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
   opacity: 1;
   visibility: visible;
   line-height: 1.6;
 }
 
 .recent-content button {
   width: auto;
   margin-top: 0rem;
   background: var(--secondary-color);
   color: var(--white);
   border: none;
   padding: 0.8rem 2rem;
   border-radius: 25px;
   font-weight: 500;
   cursor: pointer;
   font-size: 1rem;
 }
 
 @media (max-width: 1024px) {
   .recent-projects {
     padding: 3rem 0;
   }
 
   .recent-grid {
     grid-template-columns: repeat(2, 1fr);
     gap: 1.5rem;
   }
 
   .recent-content {
     padding: 1.25rem;
   }
 
   .recent-content h4 {
     font-size: 1.1rem;
   }
 
   .recent-content button {
     padding: 10px 25px;
     font-size: 14px;
   }
 }
 
 @media (max-width: 768px) {
   .recent-projects {
     padding: 2rem 0;
   }
 
   .recent-grid {
     grid-template-columns: 1fr;
     gap: 1.5rem;
   }
 
   .recent-item {
     max-width: 400px;
     margin: 0 auto;
   }
 
   .recent-image {
     height: 200px;
   }
 
   .recent-content {
     padding: 1rem;
   }
 
   .recent-content h4 {
     font-size: 1rem;
   }
 
   .recent-content p {
     font-size: 13px;
   }
 
   .recent-content button {
     padding: 8px 20px;
     font-size: 13px;
   }
 }
 
 /* Safari-specific fixes for recent projects */
 @supports (-webkit-appearance: none) {
   .recent-item {
     /* Force Safari to render properly */
     will-change: transform;
   }
 
   .recent-content {
     /* Ensure text is always visible */
     transform: translateZ(0);
     -webkit-transform: translateZ(0);
   }
 
   .recent-content h4,
   .recent-content p {
     /* Force text rendering */
     will-change: opacity;
     -webkit-text-size-adjust: 100%;
   }
 }
 