/* NeoLiv Project Pages Corporate UI Revamp */
:root {
  --corp-blue: #3557a3;
  --corp-deep: #10234d;
  --corp-ink: #152750;
  --corp-paper: #f4f7fb;
  --corp-line: #d7dfec;
  --corp-accent: #295ec9;
}

body.project-page {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  color: var(--corp-ink) !important;
  background-color: #fff !important;
  overflow-x: hidden !important;
  -webkit-font-smoothing: antialiased;
}

/* --- SECTION TAGS & INDICES --- */
.section-tag, .project-index, .corp-index {
  display: block !important;
  font-size: 10.5px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  color: var(--corp-blue) !important;
  font-weight: 600 !important;
  padding-bottom: 16px !important;
  margin-bottom: 28px !important;
  border-bottom: 1px solid var(--corp-line) !important;
}

.section-tag.light, .project-index.light, .corp-index.light {
  color: #c9d8f5 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* --- HERO SECTION REVAMP --- */
.project-hero {
  position: relative !important;
  margin: 0 3vw 48px !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  min-height: clamp(600px, 85vh, 800px) !important;
  background: var(--corp-deep) !important;
  color: #fff !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  padding: 48px clamp(24px, 5vw, 64px) !important;
  box-shadow: 0 25px 70px rgba(16, 35, 77, 0.15) !important;
}

.project-hero img.hero-bg, .project-hero > img:first-child, .project-hero > picture img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  filter: none !important;
  z-index: 1 !important;
}

.project-hero::before {
  display: none !important;
}

.project-hero::after, .project-hero-shade {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(0deg, rgba(8, 25, 68, 0.88) 0%, rgba(8, 25, 68, 0.4) 38%, transparent 65%) !important;
  z-index: 2 !important;
}

/* Top Left Project Logo */
.project-hero .project-page-logo,
.project-page-logo {
  position: absolute !important;
  top: 32px !important;
  left: 48px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 10 !important;
  width: auto !important;
  max-width: clamp(140px, 16vw, 190px) !important;
  height: auto !important;
  max-height: 44px !important;
  object-fit: contain !important;
  object-position: left center !important;
  transform: none !important;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.6)) !important;
  margin: 0 !important;
  display: block !important;
}

.forest-prive .project-page-logo,
.forest-hero .project-page-logo {
  height: auto !important;
  max-height: 140px !important;
  max-width: 280px !important;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.95)) drop-shadow(0 0 2px #000) brightness(1.3) !important;
}

.project-hero .project-page-logo.project-wordmark,
.project-page-logo.project-wordmark {
  position: absolute !important;
  top: 32px !important;
  left: 48px !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 10 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 3px !important;
  margin: 0 !important;
  transform: none !important;
}

.project-page-logo.project-wordmark img {
  width: 78px !important;
  max-width: 78px !important;
  height: auto !important;
  filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(0,0,0,0.6)) !important;
  transform: none !important;
}

.project-page-logo.project-wordmark strong {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
  letter-spacing: 0.08em !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7) !important;
}

.project-hero-content, .project-hero > div:not(.hero-bg) {
  position: relative !important;
  z-index: 3 !important;
  max-width: 980px !important;
}

.project-hero .project-hero-top {
  position: absolute !important;
  top: 32px !important;
  left: clamp(24px, 5vw, 64px) !important;
  right: clamp(24px, 5vw, 64px) !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-size: 9.5px !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase !important;
  z-index: 4 !important;
  color: #e2eaf8 !important;
  font-weight: 600 !important;
}

.project-hero h1 {
  font-size: clamp(48px, 6.4vw, 96px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.055em !important;
  font-weight: 500 !important;
  color: #fff !important;
  margin: 16px 0 24px !important;
}

.project-hero h1 em, em, i {
  font-style: normal !important;
  font-weight: 400 !important;
}

.project-hero p.hero-subtitle, .project-hero .hero-lead {
  font-size: clamp(15px, 1.4vw, 19px) !important;
  line-height: 1.6 !important;
  color: #dce5f8 !important;
  max-width: 640px !important;
  margin: 0 0 32px !important;
}

.project-hero-actions {
  display: flex !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
  align-items: center !important;
}

.project-hero-actions a.btn-primary, .project-hero-actions a.btn-explore {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;
  min-width: 220px !important;
  padding: 16px 24px !important;
  background: #fff !important;
  color: var(--corp-deep) !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.project-hero-actions a.btn-primary:hover {
  background: var(--corp-blue) !important;
  color: #fff !important;
  box-shadow: 0 10px 30px rgba(53, 87, 163, 0.4) !important;
}

.project-hero-actions a.btn-outline {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 15px 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  color: #fff !important;
  border-radius: 4px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
}

.project-hero-actions a.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: #fff !important;
}

/* --- STATS STRIP / HIGHLIGHTS (CORP-FACTS STYLE) --- */
.project-stats, .project-facts-strip {
  margin: -24px 3vw 64px !important;
  position: relative !important;
  z-index: 5 !important;
}

.project-stats-grid, .project-facts-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  gap: 16px !important;
  background: #fff !important;
  border: 1px solid var(--corp-line) !important;
  border-radius: 16px !important;
  padding: 28px 36px !important;
  box-shadow: 0 18px 50px rgba(21, 39, 80, 0.06) !important;
}

.project-stat-item, .project-fact-item {
  display: flex !important;
  flex-direction: column !important;
  padding: 8px 16px !important;
  border-left: 1px solid #eef2f8 !important;
}

.project-stat-item:first-child, .project-fact-item:first-child {
  border-left: none !important;
}

.project-stat-item strong, .project-fact-item strong {
  font-size: clamp(28px, 2.8vw, 44px) !important;
  font-weight: 600 !important;
  color: var(--corp-deep) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.03em !important;
  margin-bottom: 6px !important;
}

.project-stat-item span, .project-fact-item span {
  font-size: 11.5px !important;
  color: #647493 !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

/* --- SECTION LAYOUTS --- */
.project-section {
  padding: clamp(64px, 7vw, 105px) clamp(24px, 6vw, 7.5vw) !important;
  position: relative !important;
}

.project-section.alt-bg {
  background: var(--corp-paper) !important;
}

.project-section h2, .section-header h2 {
  font-size: clamp(38px, 4.8vw, 72px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.05em !important;
  font-weight: 500 !important;
  color: var(--corp-deep) !important;
  margin: 0 0 20px !important;
}

.project-section h2 em, .section-header h2 em, h2 em, h3 em, p em {
  font-style: normal !important;
  font-weight: 400 !important;
}

/* --- HERO CARD CONTRAST SAFEGUARD --- */
.project-hero-card {
  background: rgba(13, 36, 85, 0.88) !important;
  color: #ffffff !important;
}

.project-hero-card > span {
  color: #cbd8f5 !important;
}

.project-hero-card > strong {
  color: #ffffff !important;
}

.project-hero-card b {
  color: #ffffff !important;
}

.project-hero-card small {
  color: #cbd8f5 !important;
}

.project-hero-card > a, .project-hero-card a {
  color: #ffffff !important;
  text-decoration: none !important;
}

.project-hero-card a:hover {
  color: #92b4f8 !important;
}

/* --- BLUE BACKGROUND CONTRAST SAFEGUARDS --- */
.location, .enquiry, .project-stats, .commitments, .corp-platform, .corp-contact, .project-enquiry-card {
  color: #ffffff !important;
}

.location h2, .location p, .location strong, .location span,
.enquiry h2, .enquiry p, .enquiry span, .enquiry label,
.distance-grid strong, .distance-grid span,
.project-stats strong, .project-stats span {
  color: #ffffff !important;
}

.distance-grid span, .location-copy p, .enquiry p {
  color: #dce5f8 !important;
}

.project-form input, .project-form input[readonly] {
  color: #ffffff !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.project-form label span {
  color: #cbd8f5 !important;
}

/* --- EDITORIAL 2-COLUMN SPLIT (OVERVIEW & LOCATION) --- */
.project-split-grid {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  gap: clamp(32px, 6vw, 84px) !important;
  align-items: start !important;
  margin-top: 36px !important;
}

.project-split-copy p {
  font-size: 15px !important;
  line-height: 1.8 !important;
  color: #556788 !important;
  margin-bottom: 20px !important;
}

.project-split-copy p:first-of-type {
  font-size: 17px !important;
  color: #243862 !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
}

/* --- AMENITIES CARDS (CORP ENGINE GRID STYLE) --- */
.amenities-grid, .project-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)) !important;
  gap: 24px !important;
  margin-top: 48px !important;
}

.amenity-card, .project-amenity-item {
  background: #fff !important;
  border: 1px solid var(--corp-line) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: flex !important;
  flex-direction: column !important;
}

.amenity-card:hover, .project-amenity-item:hover {
  transform: translateY(-8px) !important;
  border-color: var(--corp-blue) !important;
  box-shadow: 0 24px 60px rgba(16, 35, 77, 0.12) !important;
}

.amenity-card-img-wrap {
  height: 220px !important;
  overflow: hidden !important;
  position: relative !important;
}

.amenity-card-img-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.6s ease !important;
}

.amenity-card:hover .amenity-card-img-wrap img {
  transform: scale(1.06) !important;
}

.amenity-card-body {
  padding: 24px 28px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.amenity-card-body span.card-index {
  font-size: 10px !important;
  letter-spacing: 0.16em !important;
  color: var(--corp-blue) !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
}

.amenity-card-body h3 {
  font-size: 20px !important;
  font-weight: 500 !important;
  color: var(--corp-deep) !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 10px !important;
}

.amenity-card-body p {
  font-size: 13px !important;
  line-height: 1.65 !important;
  color: #647493 !important;
  margin: 0 !important;
}

/* --- SPECIFICATIONS TABLE / MATRIX --- */
.spec-matrix {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap: 20px !important;
  margin-top: 40px !important;
}

.spec-item {
  background: var(--corp-paper) !important;
  border: 1px solid #e0e7f4 !important;
  border-radius: 12px !important;
  padding: 24px !important;
  transition: all 0.3s ease !important;
}

.spec-item:hover {
  background: #fff !important;
  border-color: var(--corp-blue) !important;
  box-shadow: 0 12px 35px rgba(16, 35, 77, 0.08) !important;
}

.spec-item dt {
  font-size: 11px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--corp-blue) !important;
  font-weight: 600 !important;
  margin-bottom: 6px !important;
}

.spec-item dd {
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--corp-deep) !important;
  margin: 0 !important;
}

/* --- ENQUIRY / CONTACT CARD --- */
.project-enquiry-card {
  background: linear-gradient(135deg, #10234d 0%, #1a3978 100%) !important;
  color: #fff !important;
  border-radius: 20px !important;
  padding: clamp(36px, 6vw, 72px) !important;
  box-shadow: 0 30px 80px rgba(16, 35, 77, 0.22) !important;
  margin-top: 48px !important;
}

.project-enquiry-card h2 {
  color: #fff !important;
}

.project-enquiry-card p {
  color: #d1dcf5 !important;
}

.project-enquiry-form {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  margin-top: 36px !important;
}

.project-enquiry-form .full-width {
  grid-column: 1 / -1 !important;
}

.project-enquiry-form input,
.project-enquiry-form select,
.project-enquiry-form textarea {
  width: 100% !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 8px !important;
  padding: 14px 18px !important;
  color: #fff !important;
  font-size: 14px !important;
  font-family: inherit !important;
  outline: none !important;
  transition: border-color 0.3s ease !important;
}

.project-enquiry-form input:focus,
.project-enquiry-form select:focus,
.project-enquiry-form textarea:focus {
  border-color: #fff !important;
  background: rgba(255, 255, 255, 0.14) !important;
}

.project-enquiry-form select option {
  background: #10234d !important;
  color: #fff !important;
}

.project-enquiry-form button[type="submit"] {
  grid-column: 1 / -1 !important;
  background: #fff !important;
  color: var(--corp-deep) !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 18px 32px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  margin-top: 12px !important;
}

.project-enquiry-form button[type="submit"]:hover {
  background: var(--corp-blue) !important;
  color: #fff !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3) !important;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .project-hero {
    margin: 0 0 36px !important;
    border-radius: 0 !important;
    min-height: 520px !important;
  }
  .project-stats {
    margin: 0 4vw 48px !important;
  }
  .project-split-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .project-enquiry-form {
    grid-template-columns: 1fr !important;
  }
}

/* Tight Modern Spacing for Project Sections (eliminates huge blank white space) */
.project-section {
  padding: clamp(48px, 5vw, 68px) clamp(24px, 5vw, 64px) !important;
}

.project-intro {
  margin-bottom: clamp(20px, 2.5vw, 32px) !important;
}

.editorial-image {
  height: auto !important;
  max-height: 520px !important;
  margin-top: clamp(20px, 2.5vw, 32px) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

.editorial-image img {
  width: 100% !important;
  height: auto !important;
  max-height: 520px !important;
  object-fit: cover !important;
}

.forest-masterplan {
  padding: 16px !important;
  margin-top: 18px !important;
  background: #f0f3fa !important;
  border-radius: 12px !important;
}

.forest-masterplan img {
  max-height: 540px !important;
  object-fit: contain !important;
}

.project-heading {
  margin-bottom: clamp(20px, 2.5vw, 32px) !important;
}

body.forest-prive .amenities .project-heading h2,
body.forest-prive .amenities .project-heading h2 em {
  color: #ffffff !important;
}

body.forest-prive .amenities,
body.forest-prive .amenities .section-tag,
body.forest-prive .amenities .project-heading,
body.forest-prive .amenities .project-heading p,
body.forest-prive .amenities .amenity-grid article,
body.forest-prive .amenities .amenity-grid h3 {
  color: #ffffff !important;
}

body.forest-prive .amenities .project-heading p,
body.forest-prive .amenities .amenity-grid p {
  color: #dce5f8 !important;
}

body.forest-prive .amenities .amenity-grid article::before {
  color: #bfcdf0 !important;
}

.spec-layout {
  margin-bottom: 18px !important;
}

.spec-layout .spec-list {
  margin-top: 18px !important;
}
