/* Common CSS Start */

.btn-gradient-blue-brown {
  background-image: linear-gradient(to right, #936539, #123d75, #6d4a2a);
  background-size: 200% auto;
  color: var(--white);
}

.pt-80 {
  padding-top: 80px !important;
}

.section_bg_theme {
  background-color: #f0ece7 !important;
}

/* Common CSS Start */

/* Top Header Start */
header .navbar {
  height: 85px;
}

header nav {
  transition: background-color 0.3s ease;
}

header.sticky.sticky-active nav {
  background-color: #fff;
}

/* Top Header End */

/* NAV SCROLL FIX */
.middle-nav-scroll {
  flex-wrap: nowrap;
  /* Prevent wrapping */
  overflow-x: auto;
  /* Enable horizontal scroll */
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  /* Smooth mobile scrolling */
  scrollbar-width: none;
  /* Firefox */
}

.middle-nav-scroll::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

/* Nav links */
#middleHeader .nav-link {
  color: white;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  white-space: nowrap;
}

/* Center nav on desktop */
@media (min-width: 768px) {
  .middle-nav-scroll {
    justify-content: center;
  }
}

/* NAV SCROLL FIX END  */

/* Middle Header Start */

#middleHeader {
  width: 100%;
  transition: all 0.3s ease;
  z-index: 99;
}

/* Sticky state */
.sticky-activate {
  position: fixed;
  top: 85px;
  left: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.sticky-activate {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#middleHeader .nav li a {
  color: white;
  text-transform: uppercase;
}

#middleHeader .nav-link {
  position: relative;
  transition: all 0.3s ease;
}

#middleHeader .nav-link.active {
  color: #fff;
}

/* underline indicator */
#middleHeader .nav-link.active::after {
  content: "";
  position: absolute;
  left: 10%;
  bottom: 0px;
  width: 80%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: width 0.35s ease;
}

#middleHeader .nav-link.active::after {
  width: 80%;
}

/* Middle Header End */

.modal-logo {
  max-width: 140px;
  height: auto;
  display: block;
  margin: auto;
}

.enquiry-modal .modal-header {
  position: relative;
  padding: 30px 30px 10px;
}

.enquiry-modal .modal-title {
  color: #222;
}

.enquiry-modal p {
  font-size: 14px;
}

.enquiry-modal {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.enquiry-modal .modal-header {
  padding: 30px 30px 10px;
}

.enquiry-modal .modal-body {
  padding: 25px 30px 30px;
}

.enquiry-modal .input-group-text {
  background: #fff;
  border-right: 0;
  color: #0d6efd;
}

.enquiry-modal .form-control {
  border-left: 0;
  height: 55px;
  box-shadow: none;
}

.enquiry-modal .form-control:focus {
  box-shadow: none;
  border-color: #ced4da;
}

.enquiry-modal .input-group:focus-within {
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
  border-radius: 10px;
}

.enquiry-modal .btn {
  font-size: 16px;
  transition: 0.3s;
}

.enquiry-modal .btn:hover {
  color: #222;
  transform: translateY(-2px);
}

.enquiry-modal .input-group-text i {
  color: var(--base-color);
}

/* ==========================================================
   HOME: Story / Purpose / Promise + Projects  (luxury theme)
   ========================================================== */
:root {
  --lux-ink: #14110f;
  --lux-ivory: #f8f5ef;
  --lux-sand: #efe9df;
  --lux-gold: #b8975a;
  --lux-gold-soft: #d6bd8b;
  --lux-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --lux-ease: cubic-bezier(0.7, 0, 0.2, 1);
}

.nsm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--lux-gold);
  margin-bottom: 22px;
}

.nsm-eyebrow i {
  font-style: normal;
  font-family: var(--lux-serif);
  font-size: 18px;
  letter-spacing: 1px;
}

.nsm-eyebrow::after {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--lux-gold);
}

/* ---------- Feature sections ---------- */
.nsm-feature {
  padding: 130px 0;
  overflow: hidden;
  background: #fff;
}

.nsm-feature.nsm-alt-bg {
  background: var(--lux-ivory);
}

.nsm-feature .nsm-title {
  font-family: var(--lux-serif);
  font-weight: 500;
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: var(--lux-ink);
  margin-bottom: 28px;
}

.nsm-feature p {
  color: #6b655e;
  font-size: 16px;
  line-height: 1.95;
  font-weight: 300;
}

.nsm-points {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  border-top: 1px solid rgba(20, 17, 15, 0.12);
}

.nsm-points li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(20, 17, 15, 0.12);
  color: var(--lux-ink);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: padding-left 0.5s var(--lux-ease), color 0.4s;
}

.nsm-points li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--lux-gold);
  transform: rotate(45deg);
  flex: none;
}

.nsm-points li:hover {
  padding-left: 12px;
  color: var(--lux-gold);
}

/* image with left reveal + curtain */
.nsm-media {
  position: relative;
}

.nsm-img-wrap {
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(20, 17, 15, 0.35);
}

.nsm-img-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 4.8;
  object-fit: cover;
  transition: transform 1.6s var(--lux-ease);
}

.nsm-img-wrap:hover img {
  transform: scale(1.05);
}

.nsm-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  z-index: 2;
  background: var(--lux-ink);
  color: #fff;
  padding: 26px 34px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.nsm-badge b {
  display: block;
  font-family: var(--lux-serif);
  font-weight: 500;
  font-size: 54px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--lux-gold-soft);
  margin-bottom: 6px;
}

.nsm-media.nsm-from-right .nsm-badge {
  right: auto;
  left: -30px;
}

/* ---------- Projects ---------- */
.nsm-projects {
  background: var(--lux-ink);
  padding: 130px 0 140px;
}

.nsm-projects-head {
  text-align: center;
  margin-bottom: 80px;
}

.nsm-projects-head .nsm-eyebrow::before {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--lux-gold);
}

.nsm-projects-head h2 {
  font-family: var(--lux-serif);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 70px);
  letter-spacing: -0.5px;
  color: #fff;
  margin: 0;
}

.nsm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px 40px;
}

.nsm-card {
  display: block;
  color: #fff;
  text-decoration: none;
}

.nsm-card:hover {
  color: #fff;
}

.nsm-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #26211d;
}

.nsm-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) brightness(0.92);
  transition: transform 1.6s var(--lux-ease), filter 0.9s ease;
}

.nsm-card:hover .nsm-card-media img {
  transform: scale(1.08);
  filter: saturate(1.05) brightness(1);
}

.nsm-card-media::after {
  /* soft vignette + slim gold hairline that draws on hover */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 8, 6, 0.55), rgba(10, 8, 6, 0) 45%);
  pointer-events: none;
}

.nsm-card-no {
  position: absolute;
  top: 22px;
  left: 24px;
  z-index: 2;
  font-family: var(--lux-serif);
  font-size: 22px;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.nsm-card-view {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.7s var(--lux-ease);
  color: #fff;
}

.nsm-card:hover .nsm-card-view {
  opacity: 1;
  transform: none;
}

.nsm-card-info {
  position: relative;
  padding-top: 26px;
}

.nsm-card-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.nsm-card-info::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--lux-gold);
  transition: width 0.9s var(--lux-ease);
}

.nsm-card:hover .nsm-card-info::after {
  width: 100%;
}

.nsm-card-loc {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--lux-gold);
  margin-bottom: 10px;
}

.nsm-card-title {
  font-family: var(--lux-serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
  margin: 0;
  color: #fff;
  transition: letter-spacing 0.8s var(--lux-ease), color 0.5s;
}

.nsm-card:hover .nsm-card-title {
  letter-spacing: 1px;
  color: var(--lux-gold-soft);
}

@media (hover: none) {
  .nsm-card-view {
    opacity: 1;
    transform: none;
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 1199px) {
  .nsm-grid {
    gap: 56px 28px;
  }

  .nsm-card-title {
    font-size: 28px;
  }
}

@media (max-width: 991px) {
  .nsm-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nsm-feature {
    padding: 80px 0;
  }

  .nsm-media {
    margin-bottom: 60px;
  }

  .nsm-badge {
    right: 12px;
    bottom: -24px;
    padding: 18px 24px;
  }

  .nsm-media.nsm-from-right .nsm-badge {
    left: 12px;
  }

  .nsm-projects {
    padding: 90px 0;
  }
}

@media (max-width: 575px) {
  .nsm-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* ---------- AOS-driven reveals ---------- */
/* image wipe: left -> right (or right -> left) */
[data-aos="nsm-wipe-left"],
[data-aos="nsm-wipe-right"] {
  transition-property: clip-path;
  transition-timing-function: cubic-bezier(0.7, 0, 0.2, 1) !important;
}

[data-aos="nsm-wipe-left"] {
  -webkit-clip-path: inset(0 100% 0 0);
  clip-path: inset(0 100% 0 0);
}

[data-aos="nsm-wipe-right"] {
  -webkit-clip-path: inset(0 0 0 100%);
  clip-path: inset(0 0 0 100%);
}

[data-aos="nsm-wipe-left"].aos-animate,
[data-aos="nsm-wipe-right"].aos-animate {
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
}

/* keep the soft drop shadow once revealed */
.nsm-img-wrap[data-aos].aos-animate {
  -webkit-clip-path: inset(-120px -120px -120px -120px);
  clip-path: inset(-120px -120px -120px -120px);
}

/* inner image settles from zoomed-in while the wipe plays */
.nsm-img-wrap img,
.nsm-card-media img {
  transform: scale(1.3);
}

.nsm-img-wrap.aos-animate img,
.nsm-card-media.aos-animate img {
  transform: scale(1);
}

.nsm-img-wrap.aos-animate:hover img {
  transform: scale(1.05);
}

.nsm-card:hover .nsm-card-media.aos-animate img {
  transform: scale(1.08);
}

/* no JS / AOS failed -> everything stays visible */
html:not(.nsm-aos) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  -webkit-clip-path: none !important;
  clip-path: none !important;
}

html:not(.nsm-aos) .nsm-img-wrap img,
html:not(.nsm-aos) .nsm-card-media img {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {

  [data-aos],
  .nsm-img-wrap img,
  .nsm-card-media img {
    transition: none !important;
    transform: none !important;
    -webkit-clip-path: none !important;
    clip-path: none !important;
    opacity: 1 !important;
  }
}

/* ---------- Project status badge ---------- */
.nsm-card-status {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 14px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(20, 17, 15, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 40px;
  line-height: 1;
  transition: background 0.5s ease, border-color 0.5s ease;
}

.nsm-card-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot, #fff);
  flex: none;
}

.nsm-card:hover .nsm-card-status {
  background: rgba(20, 17, 15, 0.8);
  border-color: var(--dot, #fff);
}

.status-completed {
  --dot: #d6bd8b;
}

/* champagne gold */
.status-upcoming {
  --dot: #8fb4d9;
}

/* soft blue */
.status-ongoing {
  --dot: #7fd1a0;
}

/* soft green */

/* pulsing dot for ongoing projects */
.status-ongoing::before {
  animation: nsmPulse 1.8s ease-out infinite;
}

@keyframes nsmPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(127, 209, 160, 0.7);
  }

  100% {
    box-shadow: 0 0 0 9px rgba(127, 209, 160, 0);
  }
}

/* ==========================================================
   PRELOADER
   ========================================================== */
html.nsm-loading,
html.nsm-loading body {
  overflow: hidden;
}

#nsm-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  /* CSS-only failsafe: if JS never runs, hide after 9s */
  animation: nsmPreFailsafe 0s linear 9s forwards;
}

@keyframes nsmPreFailsafe {
  to {
    visibility: hidden;
    opacity: 0;
  }
}

.nsm-pre-panel {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50.5%;
  background: #14110f;
  transition: transform 1.1s cubic-bezier(0.76, 0, 0.24, 1) 0.35s;
}

.nsm-pre-top {
  top: 0;
}

.nsm-pre-bottom {
  bottom: 0;
}

#nsm-preloader.is-done .nsm-pre-top {
  transform: translateY(-101%);
}

#nsm-preloader.is-done .nsm-pre-bottom {
  transform: translateY(101%);
}

.nsm-pre-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: opacity 0.5s ease, transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
}

#nsm-preloader.is-done .nsm-pre-inner {
  opacity: 0;
  transform: scale(0.94);
}

.nsm-pre-logo {
  width: 150px;
  height: auto;
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  animation: nsmPreLogo 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s forwards;
}

@keyframes nsmPreLogo {
  to {
    opacity: 1;
    transform: none;
  }
}

.nsm-pre-line {
  width: 180px;
  height: 1px;
  margin-top: 34px;
  background: rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.nsm-pre-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: #b8975a;
  transform: scaleX(0);
  transform-origin: left;
}

.nsm-pre-count {
  margin-top: 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  letter-spacing: 3px;
  color: #d6bd8b;
}

.nsm-pre-count::after {
  content: "%";
  font-size: 12px;
  margin-left: 2px;
  opacity: 0.7;
}

@media (max-width: 575px) {
  .nsm-pre-logo {
    width: 120px;
  }

  .nsm-pre-line {
    width: 150px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .nsm-pre-panel,
  .nsm-pre-inner {
    transition-duration: 0.01s;
    transition-delay: 0s;
  }

  .nsm-pre-logo {
    animation-duration: 0.01s;
  }
}

/* ==========================================================
   ABOUT PAGE — extended Story / Purpose / Promise
   ========================================================== */
section[id] {
  scroll-margin-top: 150px;
}

.nsm-sec-head {
  max-width: 820px;
  margin: 0 auto 80px;
  text-align: center;
}

.nsm-sec-head .nsm-eyebrow {
  margin-bottom: 18px;
}

.nsm-sec-head .nsm-eyebrow::before {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--lux-gold);
}

.nsm-sec-head h2 {
  font-family: var(--lux-serif);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.06;
  color: var(--lux-ink);
  margin: 0 0 22px;
}

.nsm-sec-head p {
  font-size: 17px;
  line-height: 1.9;
  color: #6b655e;
  font-weight: 300;
  margin: 0;
}

.nsm-lead {
  font-family: var(--lux-serif);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.5;
  color: var(--lux-ink);
  font-style: italic;
  padding-left: 26px;
  border-left: 1px solid var(--lux-gold);
  margin: 0 0 30px;
}

.nsm-feature .nsm-lead {
  color: var(--lux-ink);
  font-weight: 400;
}

/* stats strip */
.nsm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 110px;
  border-top: 1px solid rgba(20, 17, 15, 0.14);
  border-bottom: 1px solid rgba(20, 17, 15, 0.14);
}

.nsm-stat {
  padding: 46px 20px;
  text-align: center;
  position: relative;
}

.nsm-stat+.nsm-stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 24%;
  height: 52%;
  width: 1px;
  background: rgba(20, 17, 15, 0.14);
}

.nsm-stat b {
  display: block;
  font-family: var(--lux-serif);
  font-weight: 500;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1;
  color: var(--lux-ink);
  margin-bottom: 12px;
}

.nsm-stat b em {
  font-style: normal;
  color: var(--lux-gold);
}

.nsm-stat span {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #6b655e;
  font-weight: 600;
}

/* timeline */
.nsm-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 110px;
}

.nsm-step {
  position: relative;
  padding-top: 38px;
}

.nsm-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: -36px;
  height: 1px;
  background: rgba(20, 17, 15, 0.16);
}

.nsm-step:last-child::before {
  right: 0;
}

.nsm-step::after {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--lux-gold);
  transform: rotate(45deg);
}

.nsm-step small {
  display: block;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--lux-gold);
  font-weight: 700;
  margin-bottom: 12px;
}

.nsm-step h4 {
  font-family: var(--lux-serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--lux-ink);
  margin: 0 0 12px;
}

.nsm-step p {
  font-size: 15px;
  line-height: 1.85;
  color: #6b655e;
  font-weight: 300;
  margin: 0;
}

/* purpose pillars */
.nsm-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 110px;
}

.nsm-pillar {
  background: #fff;
  padding: 52px 42px 46px;
  position: relative;
  overflow: hidden;
  transition: transform 0.7s cubic-bezier(0.7, 0, 0.2, 1), box-shadow 0.7s ease;
}

.nsm-pillar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--lux-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s cubic-bezier(0.7, 0, 0.2, 1);
}

.nsm-pillar:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 70px -35px rgba(20, 17, 15, 0.35);
}

.nsm-pillar:hover::after {
  transform: scaleX(1);
}

.nsm-pillar i {
  display: block;
  font-style: normal;
  font-family: var(--lux-serif);
  font-size: 70px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--lux-gold);
  margin-bottom: 26px;
}

.nsm-pillar h4 {
  font-family: var(--lux-serif);
  font-weight: 500;
  font-size: 30px;
  color: var(--lux-ink);
  margin: 0 0 14px;
}

.nsm-pillar p {
  font-size: 15px;
  line-height: 1.9;
  color: #6b655e;
  font-weight: 300;
  margin: 0;
}

/* promise (dark) */
.nsm-feature.nsm-dark {
  background: var(--lux-ink);
}

.nsm-dark .nsm-sec-head h2,
.nsm-dark .nsm-title {
  color: #fff;
}

.nsm-dark .nsm-sec-head p,
.nsm-dark p {
  color: rgba(255, 255, 255, 0.62);
}

.nsm-dark .nsm-lead {
  color: #fff;
}

.nsm-dark .nsm-eyebrow {
  color: var(--lux-gold-soft);
}

.nsm-dark .nsm-img-wrap {
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}

.nsm-dark .nsm-points {
  border-color: rgba(255, 255, 255, 0.16);
}

.nsm-dark .nsm-points li {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

.nsm-dark .nsm-points li:hover {
  color: var(--lux-gold-soft);
}

.nsm-commit {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 110px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.nsm-commit>div {
  padding: 46px 38px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.6s ease;
}

.nsm-commit>div:hover {
  background: rgba(184, 151, 90, 0.08);
}

.nsm-commit small {
  display: block;
  font-family: var(--lux-serif);
  font-size: 20px;
  color: var(--lux-gold-soft);
  letter-spacing: 2px;
  margin-bottom: 18px;
}

.nsm-commit h4 {
  font-family: var(--lux-serif);
  font-weight: 500;
  font-size: 28px;
  color: #fff;
  margin: 0 0 12px;
}

.nsm-commit p {
  font-size: 15px;
  line-height: 1.85;
  margin: 0;
}

.nsm-cta {
  display: inline-block;
  margin-top: 34px;
  padding: 16px 38px;
  border: 1px solid var(--lux-gold);
  color: #fff;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.5s ease;
}

.nsm-cta:hover {
  background: var(--lux-gold);
  color: #fff;
}

/* feature rows stacked inside one section */
.nsm-row+.nsm-row {
  margin-top: 120px;
}

@media (max-width: 991px) {
  .nsm-sec-head {
    margin-bottom: 56px;
  }

  .nsm-stats {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 80px;
  }

  .nsm-stat:nth-child(3)::before {
    display: none;
  }

  .nsm-stat:nth-child(n+3) {
    border-top: 1px solid rgba(20, 17, 15, 0.14);
  }

  .nsm-timeline {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 80px;
    row-gap: 56px;
  }

  .nsm-step::before,
  .nsm-step:last-child::before {
    right: 0;
  }

  .nsm-pillars {
    grid-template-columns: 1fr;
    margin-top: 80px;
  }

  .nsm-commit {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 80px;
  }

  .nsm-row+.nsm-row {
    margin-top: 80px;
  }
}

@media (max-width: 575px) {

  .nsm-timeline,
  .nsm-commit {
    grid-template-columns: 1fr;
  }

  .nsm-pillar {
    padding: 40px 30px;
  }

  .nsm-commit>div {
    padding: 36px 26px;
  }
}

/* ==========================================================
   SECOND HEADER (sticky section nav) - fix
   ========================================================== */
#middleHeader.sticky-activate {
  position: fixed;
  left: 0;
  right: 0;
  top: 85px;
  /* JS main nav height ke hisaab se override karta hai */
  z-index: 99;
}

#middleHeader .nav-link {
  cursor: pointer;
}

/* ==========================================================
   SINGLE PROJECT PAGE - Nearby locations (2 columns)
   ========================================================== */
.nsm-nearby {
  list-style: none;
  margin: 0;
  padding: 0;
  column-count: 2;
  column-gap: 56px;
}

.nsm-nearby li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  break-inside: avoid;
  border-bottom: 1px solid rgba(20, 17, 15, 0.12);
  color: var(--lux-ink);
  font-size: 15px;
  line-height: 1.45;
}

.nsm-nearby li i {
  flex: none;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--lux-ivory);
  color: #8f6f3a;
  font-size: 15px;
}

@media (max-width: 767px) {
  .nsm-nearby {
    column-count: 1;
  }
}

/* ==========================================================
   PROJECTS PAGE - grouped by status
   ========================================================== */
.nsm-projects-page {
  padding: 120px 0 130px;
}

.nsm-projects-page .nsm-projects-head {
  margin-bottom: 90px;
}

.nsm-projects-page .nsm-projects-head p {
  max-width: 640px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 16px;
  line-height: 1.9;
  font-weight: 300;
}

.nsm-pstats {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 34px;
}

.nsm-pstat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 40px;
  text-decoration: none;
  transition: border-color 0.4s, background 0.4s;
}

.nsm-pstat:hover {
  color: #fff;
  border-color: var(--dot, #fff);
  background: rgba(255, 255, 255, 0.05);
}

.nsm-pstat::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dot, #fff);
}

.nsm-pgroup {
  margin-bottom: 120px;
}

.nsm-pgroup:last-child {
  margin-bottom: 0;
}

.nsm-pgroup-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 26px;
  margin-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.nsm-pgroup-head h3 {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  font-family: var(--lux-serif);
  font-size: clamp(34px, 3.6vw, 52px);
  font-weight: 500;
  line-height: 1;
  color: #fff;
}

.nsm-pgroup-head h3::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--dot, #fff);
  flex: none;
}

.nsm-pgroup-head .status-ongoing::before {
  animation: nsmPulse 1.8s ease-out infinite;
}

.nsm-pgroup-count {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.nsm-projects-page .nsm-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 64px 44px;
}

.nsm-projects-page .nsm-card-media {
  aspect-ratio: 4 / 3;
}

.nsm-projects-page .nsm-card-loc em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 767px) {
  .nsm-projects-page {
    padding: 80px 0 90px;
  }

  .nsm-projects-page .nsm-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .nsm-pgroup {
    margin-bottom: 80px;
  }

  .nsm-pgroup-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* projects page closing CTA */
.nsm-cta-note {
  color: rgba(255, 255, 255, 0.75);
  font-size: 17px;
  font-weight: 300;
  margin: -20px 0 40px;
}

/* Montana projects table */
.montana-projects table {
  border: 1px solid #e4e4e4;
  border-radius: 6px;
  overflow: hidden;
}

.montana-projects thead th {
  background: var(--base-color);
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .5px;
  padding: 14px 18px;
  border: 0;
}

.montana-projects tbody td {
  padding: 14px 18px;
  color: #4a4a4a;
}

.montana-projects tbody tr:nth-child(even) {
  background: #faf7f3;
}

/* ---- Project hero slider: always full width (live server fix) ---- */
.swiper-number-pagination-style-01,
.swiper-number-pagination-style-01 .swiper-wrapper {
  width: 100%;
  max-width: 100%;
}

.swiper-number-pagination-style-01 .swiper-slide {
  width: 100% !important;
}

.swiper-number-pagination-style-01 .swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================================
   LEGAL PAGES (Disclaimer / Terms & Conditions / Privacy Policy)
   ========================================================== */
.nsm-legal {
  max-width: 900px;
  margin: 0 auto;
}

.nsm-legal .nsm-lead {
  margin-bottom: 24px;
}

.nsm-legal-item {
  padding: 48px 0;
  border-top: 1px solid rgba(20, 17, 15, 0.12);
}

.nsm-legal-item:last-child {
  border-bottom: 1px solid rgba(20, 17, 15, 0.12);
}

.nsm-legal-title {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--lux-serif);
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.2;
  color: var(--lux-ink);
  margin: 0 0 22px;
}

.nsm-legal-title i {
  font-style: normal;
  font-size: 20px;
  letter-spacing: 2px;
  color: var(--lux-gold);
}

.nsm-legal .nsm-text {
  padding-left: 46px;
}

.nsm-legal .nsm-text p {
  margin: 0 0 16px;
}

.nsm-legal .nsm-text a {
  color: var(--lux-gold);
  text-decoration: underline;
}

.nsm-legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.nsm-legal-list li {
  position: relative;
  padding: 8px 0 8px 26px;
  color: #6b655e;
  font-size: 16px;
  line-height: 1.8;
  font-weight: 300;
}

.nsm-legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 17px;
  width: 7px;
  height: 7px;
  background: var(--lux-gold);
  transform: rotate(45deg);
}

.nsm-cta.nsm-cta-dark {
  color: var(--lux-ink);
  margin-top: 14px;
}

.nsm-cta.nsm-cta-dark:hover {
  color: #fff;
}

@media (max-width: 767px) {
  .nsm-legal-item {
    padding: 36px 0;
  }

  .nsm-legal .nsm-text {
    padding-left: 0;
  }
}