 
 /*NAVIGATION STYLING

 /* 🎨 Custom Color Palette */
    :root {
      --bs-primary: #0e90ce;
      --yellow: rgb(252,184,23);
      --light-blue: rgb(22,136,201);
      --deep-blue: rgb(23,84,123);
      --blackish: rgb(35,31,32);
       --white: #ffffff;
       --primary: #2c5530;
            --secondary: #e8ac65;
            --dark: #1a202c;
            --light: #f7fafc;
            --gray: #718096;
            --nhc-accent: #ff7e5f;
            --nhc-primary: #17547b;
            --success: #28a745;
            
    }

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

     /* TOP CONTACT STRIP STYLING */
.top-contact-strip {
    background: linear-gradient(135deg, #0e90ce, #0e90ce);
    padding: 0.4rem 0;
    border-bottom: 3px solid #fdb900;
    font-size: 0.875rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040; 
}

.top-contact-strip .contact-info small {
    display: inline-block;
    margin-right: 1.5rem;
}

.top-contact-strip .social-icons a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.top-contact-strip .social-icons a:hover {
    color: #fdb900;
    transform: translateY(-2px);
}
  


/* Responsive adjustments for top strip */
@media (max-width: 768px) {
    .top-contact-strip .contact-info small {
        display: block;
        margin-right: 0;
        margin-bottom: 0.3rem;
    }
    
    .top-contact-strip .text-md-end {
        text-align: left !important;
        margin-top: 0.5rem;
    }
    
    body {
        padding-top: 120px; /* Slightly more on mobile */
    }
}


    /* 📌 Fixed Navbar */
    .navbar {
      background-color: white !important;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      position:fixed;
      top: 35px;
      left: 0;
      right: 0;
      z-index: 1030;
      padding: 0.5rem 1rem;
      border-bottom: 5px solid #fdb900
    }

    /* 🧭 Brand */
    .navbar-brand {

  /* margin-left: 20px; */
  color: var(--deep-blue) !important;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 1px;
}


.navbar-brand.left {
  margin-right: 20px;
}

    .navbar-brand img {
    height: 50px; /* control navbar height */
    width: auto;
}

    /* 🪄 Nav Links */
    .navbar-nav .nav-link {
      color: var(--blackish) !important;
      font-weight: 500;
      margin: 0 15px; /* space between links */
      position: relative;
      transition: all 0.3s ease;
      border-radius: 5px;
    }

    /* ✨ Fancy Hover Effect (Underline Animation) */
    .navbar-nav .nav-link::after {
      content: "";
      background: linear-gradient(135deg, #1a3d7c, #2c5aa0);
      position: absolute;
      bottom: 0;
      left: 0;
      width: 20%;
      height: 3px;
      background-color: var(--light-blue);
      transition: width 0.3s ease;
      border-radius: 2px;
    }

    .navbar-nav .nav-link:hover::after {
      width: 100%;
    }

    .navbar-nav .nav-link:hover {
      color: var(--light-blue) !important;
      transform: translateY(-2px);
    }

    /* Enable hover dropdown on desktop */
      @media (min-width: 992px) {
      .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        pointer-events: all !important;
        
     }

      .navbar-nav .dropdown-menu {
            display: block;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
        }
      }

    /* 🔽 Dropdown Styles */
    .dropdown-menu {
      border: none;
      border-radius: 8px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
      padding: 10px;
      background-color: white;
      margin-top: 10px;
      border-top: 3px solid #fdb900;

    }
      /* Optional: Remove the click arrow behavior */
        .navbar-nav .dropdown-toggle::after {
          transition: transform 0.3s ease;
        }
      

    .dropdown-item {
      color: var(--blackish);
      border-radius: 5px;
      transition: all 0.3s ease;
    }
     
    .dropdown-item:hover {
      background-color: var(--yellow);
      color: var(--blackish);
      transform: translateX(3px);
    }
     

    /* ☰ Toggler */
    .navbar-toggler {
      border-color: var(--deep-blue);
    }

    .navbar-toggler-icon {
      filter: invert(40%) sepia(90%) saturate(400%) hue-rotate(170deg);
    }

    /* 🧍 Add space below the navbar so content isn't hidden */
    body {
      padding-top: 110px;
      
    }


    /* ---------- Carousel ---------- */
.hero-carousel .carousel-item {
    height: 60vh;
    min-height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-carousel .carousel-item::before {
    content:"";
    position:absolute;
    inset:0;
    background: rgba(0,0,0,0.35);
    z-index:1;
}

.hero-overlay {
    position:absolute;
    z-index:2;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    text-align:center;
    color:white;
    max-width:800px;
    padding:1rem 1.5rem;
    border-radius:12px;
   /* backdrop-filter: blur(2px);*/
    backdrop-filter: hue-rotate(90deg); /* Rotate the colors by 90 degrees */
}

.hero-overlay h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom:.6rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.hero-overlay p {
    font-size: 1.1rem;
    margin-bottom:1rem;
}

/* ---------- Video Section ---------- */
.video-section {
    margin: 4rem 0;
}
.video-card {
    background: #fefefe;
    padding:1rem;
    border-radius:12px;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
}
.video-card video {
    width:100%;
    border-radius:8px;
}
.video-meta {
    padding-top:.8rem;
}
.video-meta h4 { color: var(--deep-blue); margin-bottom:.3rem; }
.video-meta p { color:#555; margin-bottom:.2rem; }
.video-bottom-note { font-size:.9rem; color:#777; }

/* ---------- Progress Bars ---------- */
.bars { margin-bottom:1.2rem; }
.progress {
    height:40px;
    border-radius:999px;
    background: rgba(0,0,0,0.05);
    position:relative;
    overflow: visible;
}
.progress-bar {
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:600;
    color:#222;
    transition: width 1.2s ease;
}
.progress-bar.yellow { background: linear-gradient(90deg, var(--yellow), rgba(252,184,23,0.85)); }
.progress-bar.blue { background: linear-gradient(90deg, var(--light-blue), rgba(22,136,201,0.85)); color:white; }
.progress-bar.deep { background: linear-gradient(90deg, var(--deep-blue), rgba(23,84,123,0.85)); color:white; }

.progress .label { position:absolute; left:16px; font-weight:600; }
.progress .percent { position:absolute; right:14px; font-weight:600; }


/*============ LATEST LAUNCHES ============ */

  .launch-img-wrapper {
    height: 100%;
    min-height: 350px;
    max-height: 450px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }
  .launch-img-wrapper img {
    display: block;
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: transform 0.5s ease;
  }
  .launch-img-wrapper:hover img {
    transform: scale(1.05);
  }

  .know-more-link {
    color: #1688c9;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
  }
  .know-more-link:hover {
    color: #17547b;
    border-color: #fcb817;
  }
/*============ NHC PROJECTS ============ */
    /* .project-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
 } */
    .project-card {
            background: #fff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s, box-shadow 0.3s;
        }
 
 .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }

       .project-image {
            position: relative;
            height: 250px;
            overflow: hidden;
        }

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


        /* .project-img-wrapper img {
          height: 100%;
          width: 100%;
          object-fit: cover;
          transition: transform 0.5s ease;
          display: block;
        } */

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

      /* .project-card:hover img {
        transform: scale(1.05);
      } */

    .view-all-link {
      color: #1688c9;
      border-bottom: 2px solid transparent;
      transition: all 0.3s ease;
    }

  .view-all-link:hover {
    color: #17547b;
    border-color: #fcb817;
  }


   /* Projects Grid */
        .projects-section {
            padding: 80px 5%;
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-header {
            text-align: center;
            margin-bottom: 3rem;
        }

        .section-header h2 {
            font-size: 2.5rem;
            color: #17547b;
            margin-bottom: 1rem;
        }

        .section-header p {
            color: #666;
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
        }

        .projects-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .project-status {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: #17547b;
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: bold;
        }

        .project-info {
            padding: 1.5rem;
        }

        .project-info h3 {
            font-size: 1.4rem;
            color: #17547b;
            margin-bottom: 0.5rem;
        }

        .project-location {
            color: #666;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .project-location i {
            color: #17547b;
        }

        .project-features {
            display: flex;
            justify-content: space-between;
            margin-bottom: 1rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid #eee;
        }

        .feature {
            text-align: center;
        }

        .feature span {
            display: block;
            font-size: 0.9rem;
            color: #666;
        }

        .feature .value {
            font-weight: bold;
            color: #17547b;
            font-size: 1.1rem;
        }

        .project-description {
            color: #666;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }



  /*============ ADVERTISEMENT AND NEWS ============*/
  .news-img-wrapper {
    height: 330px;
  }

  .news-img-wrapper img {
    transition: transform 0.6s ease;
  }

  .carousel-item:hover img {
    transform: scale(1.05);
  }

  .btn-outline-primary {
    border-color: #17547b;
    color: #17547b;
    transition: all 0.3s ease;
    background-color: #fcb817;
    
  }

  .btn-outline-primary:hover {
    background-color: #17547b;
    color: #fff;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-color: #17547b;
    border-radius: 50%;
    padding: 15px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 5%;
  }

   /* Property Highlights */
        /* .highlights {
            max-width: 1200px;
            margin: -50px auto 0;
            padding: 0 2rem;
            position: relative;
            z-index: 10;
        } */

        .highlight-cards {
              display: grid;
              grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
              gap: 1.5rem;
              padding: 2rem;
              max-width: 1200px;
              margin: 0 auto;
          }

          .highlight-card {
              background: white;
              padding: 2rem;
              border-radius: 12px;
              text-align: center;
              box-shadow: 0 4px 6px rgba(0,0,0,0.1);
              transition: transform 0.3s;
          }
/* 
        .highlight-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1.5rem;
        } */

        /* .highlight-card {
            background: var(--white);
            padding: 2rem;
            border-radius: 12px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
            text-align: center;
        } */

        
          .highlight-card:hover {
              transform: translateY(-3px);
          }

        .highlight-card i {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 1rem;
        }

        .highlight-card h3 {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
        }

  /*====== BACK TO TOP ARROW ====== */
  .back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #17547b; /* Deep blue */
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex; /* Centers the icon perfectly */
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.25);
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    animation: bounce 2s infinite;
  }

  .back-to-top.show {
    opacity: 1;
    visibility: visible;
  }

  .back-to-top:hover {
    background-color: #fcb817; /* Gold hover color */
    color: #231f20; /* Dark text */
    transform: translateY(-3px);
  }

  /* Bounce animation */
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-8px);
    }
    60% {
      transform: translateY(-4px);
    }
  }




  /*HOUSE PURCHASE PAGE*/
/*<====================================>*/


  body {
      background-color: #f9fbfc;
      color: #231f20;
      font-family: 'Poppins', sans-serif;
    }

    h2.section-title {
      color: #17547b;
      font-weight: 700;
      text-align: center;
      margin-bottom: 10px;
    }

    .section-sub {
      text-align: center;
      max-width: 750px;
      margin: 0 auto 40px;
      color: #555;
    }

    .btn-theme {
      background-color: #fcb817;
      color: #231f20;
      font-weight: 600;
      border: none;
      transition: all 0.3s ease;
    }

    .btn-theme:hover {
      background-color: #17547b;
      color: #fff;
    }

    .accordion-button {
      background-color: #17547b;
      color: #fff;
      font-weight: 500;
    }

    .accordion-button:not(.collapsed) {
      background-color: #fcb817;
      color: #231f20;
    }

    .partner-logos img {
      height: 60px;
      margin: 10px 20px;
      transition: transform 0.3s ease;
    }

    .partner-logos img:hover {
      transform: scale(1.1);
    }

    /* Mortgage calculator styles */
    .calculator {
      background: #fff;
      padding: 30px;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    .sales-team img {
      border-radius: 50%;
      height: 80px;
      width: 80px;
      object-fit: cover;
    }

    .sales-team .card {
      border: none;
      transition: transform 0.3s ease;
    }

    .sales-team .card:hover {
      transform: translateY(-5px);
    }

    .motive {
      background-color: #17547b;
      color: #fff;
      padding: 50px 0;
      text-align: center;
    }

    /*FOOTER STYLING*/
     /* Footer link styling */
  .footer-link {
    color: white;
    text-decoration: none;
    display: block;
    margin: 4px 0;
    transition: color 0.3s ease;
  }

  .footer-link:hover {
    color: rgb(252,184,23);
  }

  footer i:hover {
    color: rgb(252,184,23);
    transform: scale(1.2);
    transition: all 0.3s ease;
  }


   /*MAP STYLING*/

  .contact-map {
    flex: 1;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-map h3 {
    color: #17547b;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}
/*profile contact info*/
.contact-info {
      background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
      border-left: 4px solid var(--nhc-accent);
    }
      .value-icon {
      width: 60px;
      height: 60px;
      background: rgba(23, 84, 123, 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 15px;
    }
    .card-hover {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }


/*management team css*/
      .team-section {
            padding: 2rem 0;
        }
        
        .section-management-title {
            text-align: center;
            margin-bottom: 3rem;
            color: var(--dark);
            position: relative;
        }
        
        .section-management-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: var(--accent);
        }

        
        
        .team-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            overflow: hidden;
            margin-bottom: 2rem;
            position: relative;
            height: 90%;
        }
        
        .team-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
        }
        
        .team-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(to right, var(--primary), var(--secondary));
        }
        
        .team-img-container {
            position: relative;
            overflow: hidden;
            border-radius: 100%;
            width: 150px;
            height: 150px;
            margin: 2rem auto 1rem;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
            border: 5px solid white;
        }
        
        .team-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .team-card:hover .team-img {
            transform: scale(1.1);
        }
        
        .team-content {
            padding: 0 1.5rem 1.5rem;
            text-align: center;
        }
        
        .team-name {
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 0.25rem;
            font-size: 1.25rem;
        }
        
        .team-position {
            color: var(--light-blue);
            font-weight: 600;
            margin-bottom: 1rem;
            font-size: 0.9rem;
        }
        
        .team-description {
            color: #666;
            font-size: 0.9rem;
            line-height: 1.6;
        }
        
        .team-social {
            display: flex;
            justify-content: center;
            margin-top: 1rem;
        }
        
        .team-social a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #f0f4f8;
            color: var(--dark);
            margin: 0 5px;
            transition: all 0.3s ease;
            text-decoration: none;
        }
        
        .team-social a:hover {
            background: var(--secondary);
            color: white;
            transform: translateY(-3px);
        }

        
      
        
        /* Chairperson Highlight */
        .chairperson-card {
            max-width: 400px;
            margin: 0 auto;
        }
        
        .chairperson-card .team-img-container {
            width: 180px;
            height: 180px;
        }
        
        .chairperson-card .team-name {
            font-size: 1.5rem;
        }
        
        .chairperson-card .team-position {
            font-size: 1rem;
        }
        
        /* Animation */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .fade-in {
            animation: fadeInUp 0.8s ease forwards;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .hero-section {
                padding: 3rem 0;
            }
            
            .team-section {
                padding: 3rem 0;
            }
            
            .team-card {
                margin-bottom: 1.5rem;
            }
        }

         /* project page Filter Section */
        .filter-section {
            text-align: center;
            margin-bottom: 3rem;
        }

        .filter-buttons {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
            margin-top: 1rem;
        }

        .filter-btn {
            padding: 0.7rem 1.5rem;
            border: 2px solid #17547b;
            background: transparent;
            color: #17547b;
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: 500;
        }

        .filter-btn.active,
        .filter-btn:hover {
            background: #17547b;
            color: white;
        }

           /* Project Page Stats Section */
        .stats-section {
            background: #f8f9fa;
            padding: 80px 5%;
            text-align: center;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            max-width: 1200px;
            padding: 2rem;
            margin: 0 auto;
        }

        .stat-item h3 {
            font-size: 3rem;
            color: #17547b;
            margin-bottom: 0.5rem;
        }

        .stat-item p {
            color: #666;
            font-weight: 500;
        }

                .stat-item {
                  text-align: center;
              }

        /* Project page Animation for filtering */
            .project-card {
                transition: opacity 0.3s ease, transform 0.3s ease;
            }

            .project-card.hidden {
                opacity: 0;
                transform: scale(0.9);
                pointer-events: none;
                position: absolute;
                
            }


              /* project page Responsive Design */
        @media (max-width: 768px) {
            .navbar {
                flex-direction: column;
                gap: 1rem;
            }

            .nav-links {
                gap: 1rem;
            }

            .projects-hero h1 {
                font-size: 2rem;
            }

            /* .projects-grid {
                grid-template-columns: 1fr;
            } */
            

            /* Projects Grid */
              .projects-grid {
                  display: grid;
                  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
                  gap: 2rem;
                  padding: 2rem;
              }

            .filter-buttons {
                flex-direction: column;
                align-items: center;
            }

            .filter-btn {
                width: 200px;
            }
        }

           /* Contact Section for project-detail page */
        .contact-section {
            background: var(--white);
            padding: 4rem 2rem;
            margin-top: 4rem;
        }

        .contact-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
        }

        .contact-info h2 {
            font-size: 2rem;
            margin-bottom: 1.5rem;
            color: var(--primary);
        }

        .contact-methods {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .contact-method {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .contact-method i {
            width: 50px;
            height: 50px;
            background: var(--primary);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
        }

         /* Features Grid  for project-detail page*/
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 1rem;
            margin: 1.5rem 0;
        }

        .feature-item {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem;
            background: #f8f9fa;
            border-radius: 8px;
        }

        .feature-item i {
            color: #2ecc71;
            font-size: 1.25rem;
        }
               /* Highlight Cards for projects */
.highlight-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.highlight-card:hover {
    transform: translateY(-3px);
}

.highlight-card i {
    font-size: 2.5rem;
    color: #17547b;
    margin-bottom: 1rem;
}

 /* Image Gallery for project-detail page */
        .gallery {
            max-width: 1200px;
            margin: 4rem auto;
            padding: 0 2rem;
        }

        .gallery h2 {
            font-size: 2rem;
            margin-bottom: 2rem;
            color: var(--primary);
            text-align: center;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
        }

        .gallery-item {
            height: 300px;
            border-radius: 12px;
            overflow: hidden;
            position: relative;
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }

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

        /* Property Details  project-detail page*/
        .property-details {
            max-width: 1200px;
            margin: 4rem auto;
            padding: 0 2rem;
            display: grid;
            grid-template-columns: 1fr 400px;
            gap: 4rem;
        }

        .details-content h2 {
            font-size: 2rem;
            margin-bottom: 1.5rem;
            color: var(--primary);
        }

        .price-tag {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 1.5rem;
        }

        .description {
            margin-bottom: 2rem;
            color: var(--gray);
            line-height: 1.8;
        }

        /* ====== LIGHTBOX GALLERY STYLES for project details====== */

/* Lightbox Modal */

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}



.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    width: 100%;
    background: #111;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Close button */
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: #fcb817;
}

/* Navigation arrows */
.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    color: white;
    font-size: 30px;
    font-weight: bold;
    transition: 0.3s;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(23, 84, 123, 0.8);
    color: #fcb817;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

/* Image container */
 .lightbox-image-container {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0; 
    justify-content: center;
    align-items: center;
} 

#lightbox-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

#lightbox-caption {
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
    margin-top: 10px;
    width: 100%;
    max-width: 800px;
}

/* Thumbnail navigation */
.lightbox-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
    max-width: 100%;
    max-height: 100px;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 10px 0;
}



.lightbox-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
    opacity: 0.7;
}

.lightbox-thumbnail:hover,
.lightbox-thumbnail.active {
    border-color: #fcb817;
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .lightbox-content {
        width: 95%;
        height: 95vh;
        padding: 10px;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .lightbox-close {
        font-size: 30px;
        top: 10px;
        right: 20px;
    }
    
    #lightbox-image {
        max-height: 60vh;
    }
    
    .lightbox-thumbnail {
        width: 60px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .lightbox-thumbnails {
        gap: 5px;
    }
    
    .lightbox-thumbnail {
        width: 50px;
        height: 40px;
    }
}


/* Mortgage Calculator */
.calculator input.form-control {
  border: 1px solid #dee2e6;
  padding: 12px 15px;
  border-radius: 8px;
}

.calculator input.form-control:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.25rem rgba(14, 144, 206, 0.25);
}

.btn:hover {
  background-color: var(--deep-blue) !important;
  transition: background-color 0.3s ease;
}

#result {
  border: 1px solid #e0e0e0;
}

#result span:first-child {
  color: #666;
}

#result span.fw-bold {
  color: #17547b;
}

/* Sales team*/

.sales-team .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 12px;
}

.sales-team .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.contact-info a {
  color: var(--bs-primary);
  font-weight: 500;
}

.contact-info a:hover {
  color: var(--deep-blue);
  text-decoration: underline;
}

.contact-info span {
  color: #333;
  font-weight: 500;
}

.contact-icon i {
  font-size: 1rem;
}


.filter-btn.active {
  background-color: var(--bs-primary);
  color: white;
  border-color: var(--bs-primary);
}

.team-card {
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

.page-item.active .page-link {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.page-link {
  color: var(--bs-primary);
}

.page-link:hover {
  color: var(--deep-blue);
}

/* Hero Carousel - Responsive Heights */
#heroCarousel .carousel-item {
    height: 80vh;
    min-height: 550px;
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    #heroCarousel .carousel-item {
        height: 60vh;
        min-height: 400px;
    }
}

@media (max-width: 576px) {
    #heroCarousel .carousel-item {
        height: 50vh;
        min-height: 350px;
    }
}
/* Hero Carousel - Better image display for architectural renders */
#heroCarousel .carousel-item {
    background-color: #17547b; /* NHC deep blue - matches your brand */
}

#heroCarousel .carousel-item {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* Optional: Add subtle pattern overlay for visual interest */
#heroCarousel .carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(23, 84, 123, 0.1);
    pointer-events: none;
}


/* Hero Video Section */
/* ================= HERO VIDEO SECTION - FIX ================= */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: center !important;
    text-align: center !important;
    color: white !important;
    z-index: 2 !important;
    padding-bottom: 80px !important;
}

.hero-video-overlay h1 {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: rgb(252,184,23) !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5) !important;
    margin-bottom: 5px !important;
    letter-spacing: 2px !important;
}

.hero-video-overlay p {
    font-size: 1.1rem !important;
    max-width: 600px !important;
    margin: 0 auto 15px auto !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5) !important;
    opacity: 0.9 !important;
    font-weight: 300 !important;
    letter-spacing: 1px !important;
}

.hero-video-overlay .btn-hero {
    margin-top: 5px !important;
    padding: 8px 30px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    background: rgb(252,184,23) !important;
    color: rgb(23,84,123) !important;
    border: none !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
}

.hero-video-overlay .btn-hero:hover {
    background: rgb(23,84,123) !important;
    color: rgb(252,184,23) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(252,184,23,0.3) !important;
}

.hero-video-overlay .btn-hero i {
    font-size: 0.9rem !important;
    transition: transform 0.3s ease !important;
}

.hero-video-overlay .btn-hero:hover i {
    transform: translateX(5px) !important;
}

.video-mute-toggle {
    position: absolute !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 3 !important;
    background: rgba(0,0,0,0.4) !important;
    color: white !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    backdrop-filter: blur(5px) !important;
    font-size: 1rem !important;
}

.video-mute-toggle:hover {
    background: rgb(252,184,23) !important;
    color: rgb(23,84,123) !important;
    transform: scale(1.1) !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-video-section {
        height: 80vh !important;
        min-height: 400px !important;
    }
    
    .hero-video-overlay {
        padding-bottom: 50px !important;
    }
    
    .hero-video-overlay h1 {
        font-size: 1.8rem !important;
    }
    
    .hero-video-overlay p {
        font-size: 1rem !important;
    }
    
    .hero-video-overlay .btn-hero {
        padding: 6px 20px !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 576px) {
    .hero-video-section {
        height: 60vh !important;
        min-height: 350px !important;
    }
    
    .hero-video-overlay h1 {
        font-size: 1.4rem !important;
    }
    
    .hero-video-overlay p {
        font-size: 0.9rem !important;
    }
}

.language-switcher button{
  border-radius: 20px;
  font-weight: 600;
  padding: 2px 10px;
}

.language-switcher button:hover{
  transform: translateY(-1px);
}