/* ===================================
   IMPORT FONTS
   =================================== */
   @import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');


/* ===================================
   THE SEASONS FONT - OTF VERSION
   REPLACE YOUR EXISTING @font-face DECLARATIONS WITH THIS
   =================================== */

/* Light - 300 (This is what your mockup uses for h1, h2) */
@font-face {
  font-family: 'The Seasons';
  src: url('../fonts/The_Seasons/theseasons-lt.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Light Italic - 300 */
@font-face {
  font-family: 'The Seasons';
  src: url('../fonts/The_Seasons/theseasons-ltit.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* Regular - 400 */
@font-face {
  font-family: 'The Seasons';
  src: url('../fonts/The_Seasons/theseasons-reg.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Regular Italic - 400 */
@font-face {
  font-family: 'The Seasons';
  src: url('../fonts/The_Seasons/theseasons-it.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Bold - 700 */
@font-face {
  font-family: 'The Seasons';
  src: url('../fonts/The_Seasons/theseasons-bd.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Bold Italic - 700 */
@font-face {
  font-family: 'The Seasons';
  src: url('../fonts/TheSeasons/fonnts_com-theseasons-bdit.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ===================================
 TYPOGRAPHY - UPDATED FOR MOCKUP MATCH
 =================================== */
*{
  margin: 0;
  padding:0 0px;
}
h1 {
  font-family: 'The Seasons', serif;
  font-size: 60px;
  font-weight: 300;  /* Light weight for thin appearance */
  line-height: 1.2;
  margin: 0 0 0 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 768px) {
  h1 {
      font-size: 38px;
  }
}

h2 {
  font-family: 'The Seasons', serif;
  font-size: 48px;
  font-weight: 300;  /* Light weight for thin appearance */
  line-height: 1.3;
  color: #000;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 768px) {
  h2 {
      font-size: 35px;
  }
}

h3 {
  font-family: 'The Seasons', serif;
  font-size: 24px;
  font-weight: 700;  /* Bold as specified */
  line-height: 1.3;
  color: #000;
}

h4 {
  font-family: 'The Seasons', serif;
  font-size: 22px;
  font-weight: 700;  /* Bold as specified */
  line-height: 1.3;
  margin-bottom: 15px;
}

h5 {
  font-family: 'The Seasons', serif;
  font-size: 20px;
  font-weight: 700;  /* Bold as specified */
  line-height: 1.3;
  margin-bottom: 15px;
}

h6 {
  font-family: 'The Seasons', serif;
  font-size: 18px;
  font-weight: 700;  /* Bold as specified */
  line-height: 1.3;
  margin-bottom: 15px;
}
   
   p {
     font-family: 'Manrope', sans-serif;
     font-size: 15px;
     font-weight: 400;
     line-height: 1.5em;
     color: white;
     text-align: justify;
   }
   
   a {
     text-decoration: none;
     font-family: 'Manrope', sans-serif;
     color: inherit;
   }
button {
    font-family: 'Manrope', sans-serif;
}
   
   .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 60px;
  }
   
.hero-section .section-content p{
  text-align: center;
   font-size: 20px;
  font-weight: 400;
}

@media (max-width: 768px) {

  .hero-section .section-content p{
  text-align: center;
   font-size: 16px;
  font-weight: 400;
  padding:0 10px;
}

}
/*.amp {
    font-family: sans-serif;
    font-weight: 400;
    font-size: 24px;
}*/


   /* ===================  NAVBAR STYLES ============================== */
      .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px 50px;
        background-color: #fff;
        border-bottom: 1px solid #eaeaea;
        position: relative;
      }
      
      .logo {
    display: inline-block;
    z-index: 1001;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 160px;
    display: block;
}

      .nav-links {
        display: flex;
        list-style: none;
        gap: 25px;
        margin: 0;
      }
      
      .nav-links a {
        text-decoration: none;
        color: #888;
        font-size: 13px;
        font-weight: 500;
        transition: color 0.3s;
      }
      
      .nav-links a:hover, 
      .nav-links a.active {
        color: #a31d1d; 
      }
      
      .contact-section-header {
        display: flex;
        align-items: center;
        gap: 30px;
        z-index: 1001;
        
      }
      
      .phone {
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: bold;
        font-size: 14px;
        color: #000;
      }
      
      .contact-btn {
    background-color: #8b1515;
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 1px;
    transition: background 0.3s;
    display: inline-block;
}
      
      .contact-btn:hover {
        background-color: #000000;
      }
      
      /* Mobile Menu Toggle Button */
      .menu-toggle {
        display: none;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
      }
      
      .menu-toggle span {
        width: 28px;
        height: 3px;
        background-color: #333;
        transition: all 0.3s ease;
        border-radius: 2px;
      }
      
      .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
      }
      
      .menu-toggle.active span:nth-child(2) {
        opacity: 0;
      }
      
      .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
      }
      
      /* Mobile Responsive Styles */
      @media (max-width: 1024px) {
        .navbar {
          padding: 15px 30px;
        }
      
        .menu-toggle {
          display: flex;
        }
      
        .nav-links {
          position: fixed;
          top: 0;
          right: -100%;
          width: 300px;
          height: 100vh;
          left: auto;
          background-color: #fff;
          flex-direction: column;
          padding: 100px 40px 40px;
          gap: 0;
          box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
          transition: right 0.4s ease;
          z-index: 1000;
          overflow-y: auto;
          display: flex;
        }
      
        .nav-links.active {
          right: 0;
        }
      
        .nav-links li {
          border-bottom: 1px solid #eaeaea;
        }
      
        .nav-links a {
          display: block;
          padding: 18px 0;
          font-size: 15px;
          color: #333;
        }
      
        .nav-links a:hover,
        .nav-links a.active {
          color: #a31d1d;
        }
      
        .contact-section-header {
          display: none;
        }
      
        /* Show contact info inside mobile menu */
        .nav-links::after {
          content: '';
          display: block;
          margin-top: 30px;
        }
      }
      
      @media (max-width: 768px) {
        .navbar {
          padding: 12px 20px;
        }
      
        .logo-top {
          font-size: 14px;
        }
      
        .logo-middle {
          font-size: 16px;
        }
      
        .line {
          width: 20px;
        }
      
        .logo-tagline {
          font-size: 7px;
        }
      
        .nav-links {
          width: 280px;
          padding: 80px 30px 30px;
        }
      }
      
     /* Small Mobile */
@media (max-width: 480px) {
    .navbar {
        padding: 10px 15px;
    }

    .nav-links {
        right: -110%;
        width: 70%;
        padding: 70px 25px 25px;
    }

    .nav-links.active {
        right: 0;
    }
}
   
   /* =====================  PRIMARY BUTTON ============================ */
   a.btn-primary {
     display: inline-block !important;
     background-color: transparent !important;
     color: #fff !important;
     padding: 15px 50px !important;
     border-radius: 50px !important;
     font-size: 13px !important;
     text-transform: uppercase !important;
     letter-spacing: 0.5px !important;
     border: 1px solid #fff !important;
     cursor: pointer !important;
     text-align: center !important;
   }

   /*==================  home page ==================*/

.marquee-bar {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: 10;

}

.marquee-track {
    position: relative;
    height: 50px;
}

.slide-text {
    position: absolute;
    left: 40px;
    font-family: 'Manrope', sans-serif;
    font-size: 25px;
    font-weight: 200;
    line-height: 50px;
    letter-spacing: -0.02em;
    color: #ffffff;
    white-space: nowrap;
    opacity: 0;
    animation: slideInOut 16s infinite;
}

.s1 { animation-delay: 0s; }
.s2 { animation-delay: 4s; }
.s3 { animation-delay: 8s; }
.s4 { animation-delay: 12s; }

@keyframes slideInOut {
    0%   { transform: translateY(20px); opacity: 0; }
    8%   { transform: translateY(0px);  opacity: 1; }
    18%  { transform: translateY(0px);  opacity: 1; }
    26%  { transform: translateY(-20px); opacity: 0; }
    100% { transform: translateY(20px);  opacity: 0; }
}

@media (max-width: 768px) {
    .slide-text {
        left: 0;
        right: 0;
        text-align: center;
        font-size: 14px;
        white-space: normal;
        padding: 0 15px;
        line-height: 1.4;
    }
}
 
/*------Team Section--------*/
   .team-section {
    background-color: #fff;
    padding: 80px 0;
}

.parent-div {
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.first-div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.second-div {
  display: flex;
    flex: 1;
    
}

.first-div h2 {
    width: 100%;
    margin-bottom: 0;
    font-weight: 400;
}

.first-div p {
    width: 100%;
    color: #222A2C;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: -0.02em;
    margin-bottom: 0;
}

.first-div p + p {
    margin-top: 16px;
}

.first-div .contact-btn {
    width: fit-content;
    margin: 10px 0 20px 0;
}

.first-div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.second-div img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.section-tagline {
        padding: 10px 0px;
    margin: 0 0;
}

.section-tagline h3 {
    color: #8D1215;
    font-size: 30px;
    font-weight: 400;
    margin: 0;
}

@media (max-width: 768px) {
    .section-tagline h3 {
        font-size: 28px;
    }
}

.section-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    
}

.btn-primary-red {
    background-color: #8D1215;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    transition: background-color 0.3s;
    display: inline-block;
    width: fit-content;
}

.btn-primary-red:hover {
    background-color: black;
}

.btn-outline-dark {
    background-color: #fff;
    color: #000;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    border: 1px solid #000;
    transition: all 0.3s;
}

.btn-outline-dark:hover {
    background-color: #8D1215;
    color: #fff;
    border-color: #8D1215;
}

@media (max-width: 768px) {
    .section-buttons {
        justify-content: center;
    }
    
    .btn-primary-red,
    .btn-outline-dark {
        width: auto;
        text-align: center;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .team-section {
        padding: 60px 0;
    }
    
    .parent-div {
        flex-direction: column;
        gap: 30px;
        padding: 0 5px;
    }
    
    .first-div {
      text-align: center;
      align-items: center;
  }

    .first-div h2 {
        width: 100%;
    }
    
    .first-div p {
        width: 100%;
        font-size: 18px;
    }
    
    .first-div .contact-btn {
        width: 100%;
        text-align: center;
    }
    .first-div img,
    .second-div img {
        height: auto;  /* Let images use natural height on mobile */
    }

}

  /* ===================================
   FEATURES SECTION
   =================================== */
.features-section {
    background-color: #fff;
    padding: 60px 0;
}

.features-section h2 {
    text-align: center;
    padding: 0 0 40px 0;
}

.features-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    
    gap: 20px;
    max-width: 1300px;
    margin: 0 auto;
}

.feature-item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-icon i {
    font-size: 32px;
    color: #1a1a1a;
}

.feature-item h4 {
    font-family: 'The Seasons';
    font-size: 18px;
    font-weight: 400;
    color: #8D1215;
    margin-bottom: 15px;
    line-height: 1.3;
}

.feature-item p {
    font-family: 'Manrope', sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    color: #666;
    margin: 0;
    margin-top: auto;
}

.feature-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 30px;
    flex-shrink: 0;
    gap: 8px;
}

.feature-arrow::before {
    content: '';
    width: 1px;
    height: 60px;
    background-color: #d0d0d0;
    display: block;
}

.feature-arrow::after {
    content: '';
    width: 1px;
    height: 60px;
    background-color: #d0d0d0;
    display: block;
    border-radius: 0;
}

/* Home page divider styles */
.home .feature-arrow .divider-line {
    width: 1px;
    background-color: #d0d0d0;
    height: 60px;
}

.home .feature-arrow .divider-diamond {
    width: 8px;
    height: 8px;
    background-color: transparent;
    border: 1px solid #ccc;
    transform: rotate(45deg);
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .features-grid {
        flex-wrap: wrap;
        gap: 40px;
        justify-content: center;
    }

    .feature-item {
        flex: 1 1 calc(50% - 20px);
        min-width: 200px;
        text-align: center;
        align-items: center;
        justify-content: center;
    }

    .feature-item p,
    .feature-item h4 {
        text-align: center;
        width: 100%;
    }

    .feature-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .features-section {
        padding: 40px 0;
    }

    .features-grid {
        flex-direction: column;
        padding: 0 20px;
        gap: 30px;
    }

    .feature-item {
        flex: 1 1 100%;
        padding-bottom: 30px;
        text-align: center;
        align-items: center;
    }

    .feature-item p,
    .feature-item h4 {
        text-align: center;
        width: 100%;
    }

    .feature-item:nth-child(1),
    .feature-item:nth-child(3),
    .feature-item:nth-child(5),
    .feature-item:nth-child(7),
    .feature-item:nth-child(9) {
        border-bottom: 1px solid #e0e0e0;
    }

    .feature-item h4 {
        font-size: 16px;
    }

    .feature-item p {
        font-size: 12px;
    }
}   

/* Home page divider styles */
.home .feature-arrow .divider-line {
  width: 1px;
  background-color: #d0d0d0;
  height: 60px;
}

.home .feature-arrow .divider-diamond {
  width: 8px;
  height: 8px;
  background-color: transparent;
  border: 1px solid #ccc;
  transform: rotate(45deg);
  flex-shrink: 0;
}

/*========= Tabs ===============*/

.tabbed-section {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.section-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px; /* Controls space between content and tabs */
}

.tab-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-content.active {
  opacity: 1;
}

.tab-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.content-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  max-width: 700px;
  padding: 0 30px;
  margin-bottom: 60px; /* Space for tab navigation below */
}

.content-wrapper h2 {
  
  font-weight: 300;
  margin-bottom: 20px;
  letter-spacing: 1px;
  color: #fff;
}

.content-wrapper p {
  font-size:18px;
  line-height: 1.8;
  opacity: 0.95;
  font-weight: 300;
}

.tab-navigation {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 15px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  padding: 8px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
  width: fit-content;
}

.tab-button {
  padding: 12px 30px;
  background: transparent;
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.tab-button.active {
  background: #a31d1d;
}

@media (max-width: 768px) {
  .tabbed-section {
      height: 50vh;
  }

  .content-wrapper {
      margin-bottom: 60px;
  }


  .tab-navigation {
      bottom: 80px;
      gap: 8px;
      padding: 8px;
      width: fit-content;
  }

  .tab-button {
      padding: 8px 12px;
      font-size: 0.75rem;
      white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .content-wrapper { 
      padding: 0 20px;
  }
}


/* ============  CONSTRUCT YOUR VISION SECTION ============ */

   .vision-section {
    background-color: #fff;
    padding: 80px 0;
}

.vision-section .section-header {
    margin-bottom: 35px;
}

.vision-section h2 {
    color: #000;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.vision-card {
    text-align: center;
}

.vision-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    margin-bottom: 25px;
}

.vision-card h4 {
    color: #000;
    margin-bottom: 15px;
    font-weight: 400;
}

.vision-card p {
    color: #666;
    font-size: 13px;
    max-width: 320px;
    margin: 0 auto;
}

/* Vision Section Divider */
.vision-divider {
  width: 100%;
  height: 1px;
  background-color: #7585894A;
  margin-top: 25px;
}


/*-------------Mobile and tablet*/

@media (max-width: 992px) {
  .vision-grid {
      grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .vision-grid {
      grid-template-columns: 1fr;  /* stack vertically */
  }

  .vision-card {
      text-align: center;
  }

  .vision-card img {
    height: 350px; /* optional: better mobile proportion */
}
}

.home .hero-section .section-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-end;
  position: absolute;
  bottom: 80px;
  left: 40px; /* or flex-start */
  
}

.home .hero-section .section-content h2 {
  margin-left: auto !important;
  margin-right: auto !important;
  color: #fff !important;

}

.home .section-content p {
  max-width: 70% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  
}

.home .parent-div {
  padding: 0 !important;
}

/* Mobile */
@media (max-width: 768px) {

  .home .hero-section h2 {
        max-width: 100% !important;
    }

    .home .hero-section p {
        max-width: 100% !important;
    }

  .home .hero-section .section-content {
        left: 0;
        right: 0;
        align-items: center;
        text-align: center;
        padding: 0 20px;
    }
}


.home .site-driven-text p {
  color: #222A2C;
}

.property-page .hero-section .section-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.property-page .hero-section {
    height: 80vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.property-page .hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.property-page .hero-section .section-content {
    position: relative;
    z-index: 2;
}

.property-page .hero-section .section-content p{
  max-width: 70%;
}



/* ===== TESTIMONIAL SECTION ===== */
.testimonial-section {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    align-items: center;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.testimonial-slide.active {
    opacity: 1;
}

.testimonial-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.233);
}

.testimonial-heading {
    z-index: 10;
    color: #fff;
    font-family: 'The Seasons', serif;
    font-weight: 300;
    font-size: 48px;
    text-align: center;
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    margin: 0;
}

.testimonial-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    max-width: 700px;
    padding: 0 30px;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
}

.testimonial-content p {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    color: #fff;
    font-style: italic;
}


.testimonial-arrow {
     position: absolute;
    top: 55%;
    transform: translateY(-50%);
    z-index: 10;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 60px;
    cursor: pointer;
    padding: 10px 20px;
    transition: opacity 0.3s;
    line-height: 1;
    font-weight: 200;
}

.testimonial-arrow:hover {
    opacity: 0.6;
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

@media (max-width: 768px) {
    .testimonial-section {
        height: 60vh;
    }

    .testimonial-heading {
        font-size: 32px;
        top: 20%;
    }

    .testimonial-content {
        width: 90%;
    }

    .testimonial-content p {
        font-size: 14px;
    }

    .testimonial-arrow {
        font-size: 40px;
        padding: 10px;
    }
}
@media (max-width: 768px) {
    .testimonial-content {
        width: 80%;
        top: 45%;
    }
}
 /* ========Residence page========================== */

 /* Layout + spacing */
.design-inspiration .hero-section .section-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

/* Width control */
.design-inspiration .hero-section .section-content h1 {
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}

.design-inspiration .hero-section .section-content p {
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile */
@media (max-width: 768px) {
  .design-inspiration .hero-section .section-content h1,
  .design-inspiration .hero-section .section-content p {
      max-width: 100%;
  }
}


   /*============== HERO SECTION ================ */
   .hero-section {
     height: 80vh;
     background-image: url("../images/resources_banner.webp");
     background-size: cover;
     background-position: center;
     background-repeat: no-repeat;
     display: flex;
     align-items: center;
     justify-content: center;
     position: relative;
     color: #fff !important;
     text-align: center;
     z-index: 1;
   }
   
   .hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }
  
  .hero-section .section-content {
    position: relative;
    z-index: 2;
  }
   
  
   /* =========  SECTION 2 - TWO IMAGES
   =================================== */
   .two-images-section {
    padding: 60px 0;
    background-color: #fff;
  }
  
  
  .image-container {
    display: flex;
    gap: 30px;
  }
  
  .image-large {
    width: 70%;
  }
  
  .image-large img {
    width: 100%;
    height: 500px;
    object-fit: cover;
  }
  
  .image-small {
    width: 30%;
  }
  
  .image-small img {
    width: 100%;
    height: 500px;
    object-fit: cover;
  }

/* Mobile Responsive */
@media (max-width: 768px) {
    .two-images-section {
        padding: 40px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .image-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .image-large,
    .image-small {
        width: 100%;
    }
    
    .image-large img,
    .image-small img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .image-large img,
    .image-small img {
        height: 250px;
    }
}
/*=====  Featured projects section =====================*/

.featured-projects {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 40px 30px;
}

.section-header {
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 58px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.section-header p {
    color:#222A2C;
    width: 40%;
}
@media (max-width: 768px) {
    .section-header p {
        width: 100%;
    }
}
.project-info-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.project-location {
    width: 20%;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 500;
}

.project-location i {
    color: #8D1215;
    font-size: 16px;
    margin-top: 2px;
}

.project-title {
    width: 30%;
}

.project-title h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

.project-description {
    width: 40%;
}

.project-description p {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .project-info-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .project-location,
    .project-title,
    .project-description {
        width: 100%;
    }
}

.project-images {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.project-images img {
    height: 400px;
    object-fit: cover;
    border-radius: 0;
}

.project-images img:first-child {
    width: 20%;
}

.project-images img:last-child {
    width: calc(80% - 15px);
}

.project-images2 img {
    height: 400px;
    object-fit: cover;
    border-radius: 0;
}

.project-images2 img:first-child {
    width: calc(80% - 15px);
}

.project-images2 img:last-child {
    width: 20%;
}

/* Responsive */
@media (max-width: 768px) {
    .project-images {
        flex-direction: column;
    }
    
    .project-images img:first-child,
    .project-images img:last-child {
        width: 100%;
        height: 300px;
    }
}


/* ===================================
   PROPERTY SINGLE PAGE
   =================================== */

.property-hero {
    width: 100%;
    height: 60vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-bottom: 60px;
}

.property-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.6) 0%,
        rgba(0,0,0,0.1) 50%,
        rgba(0,0,0,0) 100%
    );
    z-index: 1;
}

.property-hero-content {
    position: relative;
    z-index: 2;
    padding-left: 60px;
}

.property-hero-content h1 {
    color: #fff;
    font-family: 'The Seasons', serif;
    font-size: 48px;
    font-weight: 400;
    margin: 0;
}

.property-status-tag {
    display: inline-block;
    background-color: #8D1215;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 10px;
    margin-bottom: 12px;
}

.property-gallery {
    padding: 10px;
    max-width: 1300px;
    margin: 50px auto;
}

.property-gallery-grid {
     display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 0 auto;
}

.property-gallery-item {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.property-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .property-hero {
        height: 60vh;
    }

    .property-hero-content {
        padding-left: 20px;
    }

    .property-hero-content h1 {
        font-size: 32px;
    }

    .property-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .property-gallery-grid {
        grid-template-columns: 1fr;
    }

    .property-gallery {
        padding: 10px;
    }
}

/*===========Footer============*/



.project-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.project-status {
    display: flex;
    align-items: center;
    gap: 15px;
}

.status-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.status-badge {
    font-size: 14px;
    color: #039700;
    font-weight: 600;
    margin: 0;
    border: 2px solid  #0000004D;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
}

.status-badge2 {
    font-size: 14px;
    color: #8D1215;
    font-weight: 600;
    margin: 0;
    border: 2px solid #0000004D;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
}

.view-project-btn {
    background-color: #8D1215;
    color: white;
    padding: 10px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
    display: inline-block;
}

.view-project-btn:hover {
    background-color: #6d0f11;
}

/* Responsive */
@media (max-width: 768px) {
    .project-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

.view-project-btn svg {
    transition: transform 0.3s;
}

.view-project-btn:hover svg {
    transform: translate(2px, -2px);
}

/*=============== Mobile & Tab view ================*/

/* ============== MOBILE RESPONSIVE ===================== */

/* Tablet */
@media (max-width: 992px) {
    .section-header h2 {
        font-size: 45px;
    }
    
    .featured-projects {
        padding: 30px 20px;
    }
    
    .project-info-row {
        gap: 15px;
    }
    
    .project-location {
        width: 25%;
        font-size: 13px;
    }
    
    .project-title {
        width: 30%;
    }
    
    .project-title h4 {
        font-size: 15px;
    }
    
    .project-description {
        width: 45%;
    }
    
    .project-description p {
        font-size: 12px;
    }
    
    .project-images img {
        height: 300px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 36px;
    }
    
    .section-header p {
        width: 100%;
        font-size: 14px;
    }
    
    .featured-projects {
        padding: 30px 15px;
    }
    
    .project-card {
        margin-bottom: 50px;
    }
    
    /* Each item in separate row */
    .project-info-row {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .project-location,
    .project-title,
    .project-description {
        width: 100%;
    }
    
    .project-location {
        font-size: 13px;
    }
    
    .project-title h4 {
        font-size: 18px;
    }
    
    .project-description p {
        font-size: 14px;
    }
    
    /* Hide second image on mobile */
    .project-images {
        gap: 0;
        margin: 15px 0;
    }
    
    .project-images img:first-child {
        width: 100%;
        height: 250px;
    }
    
    .project-images img:last-child {
        display: none;
    }

   /* Desktop - normal */
.project-images img:first-child {
    width: 20%;
}

.project-images img:last-child {
    width: calc(80% - 15px);
}
    
    /* Footer stays horizontal */
    .project-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 15px;
        flex-wrap: nowrap;
    }
    
    .project-status {
        flex-direction: row;
        gap: 8px;
        flex-shrink: 1;
    }
    
    .status-label {
        font-size: 12px;
        white-space: nowrap;
    }
    
    .status-badge {
        font-size: 11px;
        padding: 4px 8px;
        white-space: nowrap;
    }
    
    .view-project-btn {
        padding: 8px 15px;
        font-size: 12px;
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    .view-project-btn svg {
        width: 12px;
        height: 12px;
    }
    
    .project-divider {
        margin-top: 40px;
    }
}

    .project-divider {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 20px;
        gap: 8px;
    }
    
    .divider-dot {
        width: 4px;
        height: 4px;
        background-color: #ccc;
        border-radius: 50%;
    }
    
    .divider-line {
        height: 1px;
        flex: 1;
        background-color: #d0d0d0;
    }
    
    .divider-diamond {
        width: 8px;
        height: 8px;
        background-color: transparent;
        border: 1px solid #ccc;
        transform: rotate(45deg);
    }
    
    .project-card:last-child .project-divider {
        display: none;
    }

   /* ====== CONTACT SECTION================= */
.contact_section {
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    min-height: 800px;
}

.contact_image {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto 0 auto;
    overflow: visible;
    position: relative;
    min-height: fit-content; 
}

.contact_image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
    display: block;
    max-width: 100%;
}

.contact_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 0;
}

.overlay_column {
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay_left {
    width: 55%;
    background: rgba(0, 0, 0, 0.3);
    height: 100%;
}

.overlay_right {
    width: 40%;
    background-color: #F1EFEB;
    padding: 50px 5px 50px 5px;
}

.contact_section h3 {
    font-family: 'The Seasons';
    color: #000000;
    font-size: 45px;
}

.contact_section p {
    font-size: 20px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 20px;
}

/* Contact Form Styles */
.contact_form_wrapper {
    width: 80%;
    max-width: 450px;
    display: flex;              
    flex-direction: column;     
    gap: 10px;  
}
.contact_section h2 {
  font-size: 40px;
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}

.contact_section p {
  font-size: 18px;
  line-height: 1.7em;
  font-weight: 300 !important;
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}
.contact_form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form_row {
    display: flex;
    gap: 15px;
    width: 100%;
    background-color: #F1EFEB !important;
}

.form_input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-bottom: 1px solid #cecece;
    border-radius: 5px;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    color: #333;
    background-color: #F1EFEB;
    outline: none;
    transition: border-color 0.3s;
}

.form_input:focus {
    border-color: #8b1515;
}

.form_textarea {
    resize: vertical;
    min-height: 100px;
}

.form_input::placeholder {
    color: #999;
}

/* Checkbox Styles */
.checkbox_wrapper {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 5px;
    
}

.form_checkbox {
    width: 18px;
    height: 18px;
    margin-top: 4px;
    cursor: pointer;
    accent-color: #8b1515;
    flex-shrink: 0;
}

.checkbox_label {
    font-family: 'Manrope', serif;
    font-size: 14px;
    color: #000000;
    line-height: 1.4;
    cursor: pointer;
    user-select: none;
    font-weight: 400;
}

.submit_btn {
    background-color: #8b1515;
    font-family: 'The Seasons', serif !important;
    color: #fff;
    padding: 12px 40px;
    border: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 400;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    cursor: pointer;
    align-self: flex-start;
    transition: background-color 0.3s;
}

.submit_btn:hover {
    background-color: #6a1010;
}

/* ===================================
   MOBILE RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    .contact_section {
        padding: 40px 15px;
        min-height: auto;
    }
    
    /* Hide the background image on mobile */
    .contact_image img {
        display: none;
    }
    
    .contact_image {
        background-color: #F1EFEB;
        max-width: 100%;
        margin: 0;
    }
    
    .contact_overlay {
        position: static;
        width: 100%;
    }
    
    /* Hide left overlay (image with dark overlay) */
    .overlay_left {
        display: none;
    }
    
    /* Make form section full width */
    .overlay_right {
        width: 100%;
        background-color: #fff;
        padding: 30px 20px;
    }
    
    .contact_form_wrapper {
        width: 100%;
        max-width: 100%;
    }
    
    .form_input {
        font-size: 16px;
        padding: 10px 12px;
        background-color: #fff !important;
    }
    
    .checkbox_label {
        font-size: 14px;
    }
    
    .submit_btn {
        font-size: 16px;
        padding: 10px 35px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact_section h3 {
        font-size: 28px;
    }
    
   

    .contact_section p {
        font-size: 14px;
    }
    
    .form_input {
        font-size: 14px;
    }
    
    .checkbox_label {
        font-size: 13px;
    }
}

.form_field {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form_input.error {
  border-color: #d32f2f;
  border-bottom-width: 2px;
}

/* Error Message Styles */
.error_message {
  color: #d32f2f;
  font-size: 13px;
  font-family: 'Manrope', sans-serif;
  margin-top: 5px;
  min-height: 18px;
  display: block;
}

/* Form Message (Success/Error) */
.form_message {
  padding: 12px 15px;
  border-radius: 5px;
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  margin-bottom: 10px;
}

.success_message {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.error_message_box {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.submit_btn:disabled {
  background-color: #999;
  cursor: not-allowed;
}

/* Mobile responsive for error messages */
@media (max-width: 768px) {
  .error_message {
      font-size: 12px;
  }
  
  .form_message {
      font-size: 13px;
  }
}

@media (max-width: 480px) {
  .error_message {
      font-size: 11px;
  }
}
  
/* ===================================
   CTA SECTION
   =================================== */
   
   .CTA_section_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: #fff;
    overflow: hidden;
  }
  
  .CTA_section {
    padding: 70px 0;
    min-height: 40vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: #fff;
    text-align: center;
    width: 100%;
    max-width: 1300px;
    overflow: hidden;
    /* Default visible state */
    opacity: 1;
    transform: scaleX(1) scaleY(1);
    transform-origin: center center;
  }
  
  /* Only apply initial hidden state if animation is supported */
  .CTA_section.will-animate {
    opacity: 0;
    transform: scaleX(1.5) scaleY(1.3);
    transition: none;
  }
  
  /* Add this class when section is visible */
  .CTA_section.animate-in {
    animation: compressIn 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  }
  
  /* Compress animation - starts large, squeezes to normal size */
  @keyframes compressIn {
    0% {
      opacity: 0;
      transform: scaleX(1.5) scaleY(1.3);
    }
    50% {
      opacity: 0.6;
      transform: scaleX(1.2) scaleY(1.15);
    }
    100% {
      opacity: 1;
      transform: scaleX(1) scaleY(1);
    }
  }
  
  .CTA_section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    opacity: 1; /* Default visible */
  }
  
  .CTA_section.will-animate::before {
    opacity: 0;
  }
  
  .CTA_section.animate-in::before {
    animation: fadeIn 1.2s ease-out forwards;
  }
  
  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }
  
  .CTA_content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    /* Default visible state */
    opacity: 1;
    transform: translateY(0);
  }
  
  .CTA_section.will-animate .CTA_content {
    opacity: 0;
    transform: translateY(30px);
  }
  
  .CTA_section.animate-in .CTA_content {
    animation: fadeInUp 1s ease-out 0.4s forwards;
  }
  
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .CTA_section h2 {
    color: #fff;
  }
  
  .CTA_section p {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    color: #fff;
    max-width: 700px;
  }
  
  .btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: #fff;
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid #fff;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 15px;
  }
  
  .btn-secondary i {
    margin-right: 8px;
  }
  
  .btn-secondary:hover {
    background-color: #fff;
    color: #333;
  }
  /* ========================================================================
   CTA BACKGROUND IMAGES (Page-specific)
   =========================================================================== */
.cta-home {
    background-image: url('../images/CTA_home.webp');
}

.cta-news {
    background-image: url('../images/CTA_news_img.webp');
}

.cta-neighbourhood {
  background-image: url('../images/neighbourhood_cta_img.webp');
}


  /*=====================================
            News page
  ==========================*/



  .news .hero-section .section-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center; /* or flex-start */
}



.news .section .section-content h1 {
  max-width: 70% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.news .section-content p {
  max-width: 70% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Mobile */
@media (max-width: 768px) {
    .news .hero-section h1 {
        max-width: 100% !important;
    }
    
    .news .hero-section p {
        max-width: 100% !important;
    }
}
  
  .topics-parent {
    display: flex;
    flex-direction: column;
    gap: 0; /* no gap between rows */
  }
  
  .topics-row {
    display: flex;
    gap: 0; /* no gap between columns */
  }
  
  .topic-card {
    flex: 1;
    border: 1px solid #CCCCCC;
    padding: 40px 40px 40px 40px;
    box-sizing: border-box;
  }

.topic-card1 {
    flex: 1;
    border: 1px solid #CCCCCC;
    border-right: 0px;
    padding: 40px 40px 40px 40px;
    box-sizing: border-box;
  }

.topic-card img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.topic-card1 img {
    width: 40px;
    height: 55px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

  .topic-card p{
    color: #222A2C;
    font-size: 18px ;
    
  }

   .topic-card1 p{
    color: #222A2C;
    font-size: 18px ;
    
  }
  .topic-card h3{
   
    margin-bottom: 10px;
  }

  .topic-card1 h3{
   
    margin-bottom: 10px;
  }


  /* First row */
  .topics-parent .topics-row:first-child .topic-card:first-child {
    border-right: none;
    border-bottom: none;
  }
  
  .topics-parent .topics-row:first-child .topic-card:last-child {
    border-bottom: none;
  }
  
  /* Second row */
  .topics-parent .topics-row:last-child .topic-card:first-child {
    border-right: none;
  }
  
  /* 4th div keeps all borders */
  
  
   
  .featured-topics {
    padding: 50px 20px;
  }
  
  .featured-topics h2 {
        margin-bottom: 30px;
    padding-bottom: 10px;
    max-width: 400px;
  }
  
  .learn-more {
    color: #d0021b; /* bright red */
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
  }
  
  .learn-more span {
    font-weight: 700;
    margin-left: 5px;
  }
  
/*==========================Mobile view=========================*/

  /* Mobile-friendly Featured Topics: stack 4 cards vertically */
@media (max-width: 768px) {
    .topics-parent {
        flex-direction: column; /* stack rows vertically */
    }

    .topics-row {
        flex-direction: column; /* stack columns vertically */
    }

    .topic-card {
        width: 100%; /* take full width */
        margin-bottom: 20px;
        border-right: 1px solid #CCCCCC; /* optional, can remove if you want clean edges */
        border-bottom: 1px solid #CCCCCC; /* maintain separation */
    }

    /* Remove extra borders for stacked layout */
    .topics-parent .topics-row:first-child .topic-card:first-child,
    .topics-parent .topics-row:first-child .topic-card:last-child,
    .topics-parent .topics-row:last-child .topic-card:first-child,
    .topics-parent .topics-row:last-child .topic-card:last-child {
        border-right: 1px solid #CCCCCC; /* keep right border consistent */
        border-bottom: 1px solid #CCCCCC; /* keep bottom border consistent */
    }
    .topics-parent .topics-row:last-child .topic-card:last-child {
        margin-bottom: 0;
    }
   /* Page-specific images - MUST come AFTER .CTA_section */

}


/*==================gallery page===================*/

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: #fff;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

/* Grid Container */
.gallery-grid-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* First Row - 2 images */
.gallery-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Second Row - 3 images */
.gallery-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

/* Gallery Item */
.gallery-item {
    position: relative;
    overflow: hidden;
    height: clamp(250px, 40vw, 600px);
}

.gallery-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-image {
    transform: scale(1.05);
}

/* Dark gradient overlay */
.gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.6) 0%,
        rgba(0,0,0,0.1) 50%,
        rgba(0,0,0,0) 100%
    );
    z-index: 1;
}

/* Title bottom left */
.gallery-item-info {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 2;
}

.gallery-item-title {
    font-family: 'The Seasons', serif;
    font-size: 45px;
    font-weight: 400;
    color: #fff;
    margin: 0;
    max-width: 70%;
}

/* Responsive */
@media (max-width: 992px) {
    .gallery-row-3 {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    .gallery-row-2,
    .gallery-row-3 {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .gallery-item-image {
        height: 300px;
    }

    .gallery-item-title {
        font-size: 28px;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .gallery-item-image {
        height: 250px;
    }

    .gallery-item-title {
        font-size: 20px;
        max-width: 100%;
    }

}

.for-sale-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10;
    background-color: #8D1215;
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 10px;
    pointer-events: none;
}

/*====================================
        Neighbourhood Page
  ====================================*/

  .neighbourhood .hero-section .section-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center; /* or flex-start */
}

  .neighbourhood .hero-section .section-content h1{
    max-width: 70%;
  margin-left: auto;
  margin-right: auto;
  }



  .neighbourhood .hero-section .section-content h2 {
    margin-left: auto !important;
    margin-right: auto !important;
    color: #fff !important;
  
  }
  
  .neighbourhood .section-content p {
    max-width: 70% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  
  /* Mobile */
  @media (max-width: 768px) {
      .neighbourhood .hero-section h2 {
          max-width: 100% !important;
      }
      
      .neighbourhood .hero-section p {
          max-width: 100% !important;
      }
  }

  .neighbourhood .site-driven-text p {
    color: #222A2C;
  }

  .hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

/* ===================================
   SITE-DRIVEN CONSTRUCTION SECTION
   =================================== */
   .site-driven-section {
    background-color: #fff;
    padding: 80px 0;
  }
  
  .site-driven-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  
  /* Top section */
  .site-driven-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
  }
  
  
  /* Bottom section: Full width image */
  .site-driven-bottom {
    width: 100%;
  }
  
  .site-driven-bottom img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
  }
  
  /* ===================================
     RESPONSIVE
     =================================== */
  @media (max-width: 992px) {
    .site-driven-top {
      grid-template-columns: 1fr;
      gap: 30px;
    }
    
  }
  @media (max-width: 768px) {
    .site-driven-section {
      padding: 60px 0;
    }
    
    .site-driven-wrapper {
      gap: 30px;
    }
    
    .site-driven-bottom img {
      max-height: 350px;
    }
  }
  
  @media (max-width: 480px) {
    .site-driven-section {
      padding: 40px 0;
    }
    
    .site-driven-bottom img {
      max-height: 250px;
    }
  }

/* =======================
   RESPONSIBLE ON-SITE EXECUTION SECTION
   ======================= */
   .execution-section {
    background-color: #fff;
    padding: 80px 0;
  }
  
  .execution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
  
  /* Left Content */
  .execution-content h2 {
    font-family: 'The Seasons', serif;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    color: #000;
    margin-bottom: 20px;
  }
  
  .execution-content > p {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: #4a4a4a;
    margin-bottom: 40px;
    max-width: 520px;
  }
  
  /* Icon Boxes Container */
  .execution-features {
    display: flex;
    gap: 30px;
    align-items: flex-start;
  }
  
  .execution-feature-item {
    flex: 1;
  }
  
  .feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;
  }
  
  .feature-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .execution-feature-item h4 {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 10px;
    line-height: 1.3;
  }
  
  .execution-feature-item p {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #6b6b6b;
    margin: 0;
  }
  
  /* Divider between icon boxes */
  .execution-divider {
    width: 1px;
    height: 150px;
    background-color: #e0e0e0;
    flex-shrink: 0;
  }
  
  /* Right Image */
  .execution-image {
    width: 100%;
  }
  
  .execution-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 8px;
  }
  
  /* ==========================
     RESPONSIVE
     ==========================*/
  @media (max-width: 992px) {
    .execution-grid {
      grid-template-columns: 1fr;
      gap: 50px;
    }
    
    .execution-content h2 {
      font-size: 40px;
    }
    
    .execution-content > p {
      max-width: 100%;
    }
  }
  
  @media (max-width: 768px) {
    .execution-section {
      padding: 60px 0;
    }
    
    .execution-content h2 {
      font-size: 36px;
      margin-bottom: 15px;
    }
    
    .execution-content > p {
      font-size: 15px;
      margin-bottom: 30px;
    }
    
    /* Keep icon boxes horizontal */
    .execution-features {
      gap: 20px;
    }
    
    .execution-feature-item h4 {
      font-size: 15px;
    }
    
    .execution-feature-item p {
      font-size: 12px;
    }
    
    .execution-divider {
      height: 120px;
    }
  }
  
  @media (max-width: 480px) {
    .execution-section {
      padding: 40px 0;
    }
    
    .execution-content h2 {
      font-size: 32px;
    }
    
    .execution-content > p {
      font-size: 14px;
      margin-bottom: 25px;
    }
    
    .execution-features {
      gap: 15px;
    }
    
    .execution-feature-item h4 {
      font-size: 14px;
    }
    
    .execution-feature-item p {
      font-size: 11px;
    }
    
    .feature-icon {
      margin-bottom: 10px;
    }
    
    .feature-icon svg {
      width: 20px;
      height: 20px;
    }
    
    .execution-divider {
      height: 100px;
    }
  }


/*============================================================================
  Contact Us
==============================================================================*/

.contact .hero-section h1 {
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}
.contact .hero-section p {
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
}

/* Mobile */
@media (max-width: 768px) {
  
  .contact .hero-section h1 {
      max-width: 100%;
      padding: 10px 10px;
  }

.contact .hero-section p {

  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;
  font-size: 16px;
}

}

.contact .hero-section {
margin-bottom: 0;
z-index: 1;
}

.contact .contact-section {
    position: relative;
    margin-top: -130px;
    z-index: 10;
    padding-bottom: 150px;
    margin-left: 160px;
    margin-right: 160px;
}

@media (max-width: 768px) {
  
    .contact .contact-section {
        margin-top: 10px;
        margin-left: 0;
        margin-right: 0;
        padding-bottom: 50px;
    }
}

.contact .contact-section .container {
background-color: #F1EFEB;
padding: 60px;
}

.contact-left h2 {
font-size: 2rem;
color: #000000;
margin-bottom: 20px;
line-height: 1.3;
}

.contact-left p {
color: #222a2cb2;
margin-bottom: 40px;
line-height: 1.6;
font-size: 16px;
}

.contact-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
}

.contact-info-wrapper {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
margin-bottom: 30px;
}

.contact-info-box h4 {
margin-top: 10px;
color: #8D1215;
font-size: 18px;
margin-bottom: 15px;
}

.contact-info-box p {
font-size: 14px;
color: #222a2cb2;
margin: 0;
}

.contact-item {
display: flex;
align-items: flex-start;
gap: 10px;
margin-bottom: 12px;
}

.contact-item .icon {
width: 20px;
height: 20px;
color: #8D1215;
flex-shrink: 0;
}

.contact-item a {
color: #222a2cb2;
font-size: 14px;
text-decoration: none;
}

.contact-item a:hover {
color: #8D1215;
}

.map-container {
width: 100%;
height: 300px;
border-radius: 8px;
overflow: hidden;
}

/*------- Mobile ---------*/
@media (max-width: 768px) {
 .contact .contact-section {
    margin-top: 10px;
 }

 .contact .contact-section .container {
    padding: 30px 20px;
    background-color: white;
 }

 .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
 }

 .contact-info-wrapper {
    grid-template-columns: 1fr;
 }

 .map-container {
    height: 250px;
 }

 .contact-left h2 {
    font-size: 1.5rem;
  }
}

/* Contact Page Form Specific Styles */
.contact .contact_form_wrapper {
  width: 100%;
  max-width: 100%;
}

.contact .form_row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background-color: transparent !important;
  margin-bottom: 20px; 
}

.contact .form_double_row {
  display: flex;
  gap: 15px;
  width: 100%;
}

.contact .form_double_row .form_row {
  flex: 1;
}

.contact .form_label {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 0;
}

.contact .form_input {
  background-color: #ffffff;
  border-radius: 5px;
  padding: 12px 15px;
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  color: #333;
}

.contact .form_input::placeholder {
  color: #999;
}

.contact .form_input:focus {
  border-color: #8b1515;
  outline: none;
}

.contact .form_textarea {
  min-height: 350px;
}

/* Mobile */
@media (max-width: 768px) {
  .contact .form_double_row {
      flex-direction: column;
  }
  .contact .form_double_row {
      flex-direction: column;
  }
  
  .contact .contact-section {
      padding: 0 10px 50px 10px;  
  }
  
  .contact .contact-section .container {
      padding-bottom: 30px;  
  }
}



/*=======================Gallery=======================*/

.portfolio .hero-section .section-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.portfolio .section .section-content h1 {
max-width: 70% !important;
margin-left: auto !important;
margin-right: auto !important;
}

.portfolio .section-content p {
max-width: 70% !important;
margin-left: auto !important;
margin-right: auto !important;
}

/* Mobile */
@media (max-width: 768px) {
  .gallery .hero-section h1 {
      max-width: 100% !important;
  }
  
  .gallery .hero-section p {
      max-width: 100% !important;
  }
}



/* ==========  FOOTER STYLES   ========================== */
.site-footer {
  background-color: #F3F1EE;
  padding: 80px 0 50px;
  font-family: 'Manrope', sans-serif;
  color: #1a1a1a;
}

.footer-wrap {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 70px;
}

.footer-logo {
    display: inline-block;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    max-width: 160px;
    display: block;
}
.footer-heading {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
  margin-top: 0;
}

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

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  text-decoration: none;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 0.7;
}

.loc-block {
  margin-bottom: 25px;
}

.loc-title {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.loc-block:nth-child(3) .loc-title {
  text-transform: none;
}

.loc-text {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  margin: 0;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 30px;
}

.contact-info a {
  text-decoration: none;
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 400;
}

.social-heading {
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 10px;
}


.footer-bottom {

  text-align: center ;
  border-top: none;
  padding-top: 10px;
  
}

.copyright {
  display: flex;
  font-size: 12px;
  color: #1a1a1a;
  margin-bottom: 10px;
  font-weight: 400;
  justify-content: center !important;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 25px;
}

.legal-links a {
  text-decoration: none;
  color: #1a1a1a;
  font-size: 12px;
  font-weight: 600;
}

/* ===================================
   FOOTER RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
  .footer-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 50px 0 30px;
  }
  
  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 20px;
    margin-bottom: 40px;
    text-align: left;
  }
  
  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-logo {
    align-items: flex-start;
  }
  
  .footer-heading {
    text-align: left;
  }
  
  .footer-links {
    text-align: left;
  }
  
  /* Hide Quick Links on mobile */
  .footer-col:nth-child(2) {
    display: none;
  }
  
  /* Location blocks side by side */
  .footer-col:nth-child(3) {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;
    justify-content: left;
  }
  
  .footer-col:nth-child(3) .footer-heading {
    display: none;
  }
  
  .loc-block {
    text-align: left;
    margin-bottom: 0;
  }
  
  .loc-title {
    font-size: 11px;
  }
  
  .loc-text {
    font-size: 11px;
  }
  
  /* Contact section */
  .contact-info {
    align-items: flex-start;
    margin-bottom: 20px;
  }
  
  .contact-info a {
    font-size: 11px;
  }
  
  /* Social icons - remove default padding */
  .social-icons {
    padding: 10px 0;
    justify-content: flex-start;
    gap: 8px;
  }
  
  .social-icons svg {
    width: 35px;
    height: 35px;
  }
  
  .social-heading {
    margin-bottom: 10px;
    margin-top: 10px;
  }
  
  /* Footer bottom */
  .legal-links {
    flex-direction: column;
    gap: 5px;
  }
  
  .copyright {
    font-size: 11px;
    margin-bottom: 8px;
  }
  
  .legal-links a {
    font-size: 11px;
  }
}