/* ============================================================
   NCR Realty Hub — Master Stylesheet
   Brand: Navy #0A1F3D | Gold #B8933E | Parchment #F6F1E7
   Typography: Space Grotesk (headings), Inter (body), Instrument Serif (quotes)
   ============================================================ */

/* --- Google Fonts --- */
/* Google Fonts loaded via <link> in HTML <head> */

/* --- CSS Variables --- */
:root {
  --navy: #0A1F3D;
  --navy-light: #132d54;
  --navy-dark: #061529;
  --gold: #B8933E;
  --gold-light: #d4ad5a;
  --gold-dark: #96772e;
  --parchment: #F6F1E7;
  --parchment-dark: #ede5d4;
  --white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --success: #059669;
  --danger: #DC2626;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-serif: 'Instrument Serif', serif;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }

/* --- Global Container & Alignment Fixes --- */
.container {
  max-width: 1320px;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 768px) {
  .container { padding-left: 24px; padding-right: 24px; }
}

/* --- Prevent text overflow in key areas --- */
.hero-section p,
.hero-section .lead {
  max-width: 600px;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* --- Section headers alignment --- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-header h2 {
  margin-bottom: 0.5rem;
}

/* --- Feature card alignment --- */
.feature-card {
  text-align: center;
  padding: 28px 20px;
  height: 100%;
}
.feature-card h4 {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}
.feature-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* --- Invest number callout alignment --- */
.row.g-4 .col-6,
.row.g-4 .col-lg-3 {
  display: flex;
}

/* --- Hero CTA buttons responsive fix --- */
@media (max-width: 575.98px) {
  .hero-cta-group .btn-outline-gold {
    font-size: 0.85rem;
    padding: 12px 20px;
  }
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: var(--gray-700);
  background: var(--white);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

/* --- Typography (MNC-Grade) --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 0.5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.3rem, 3vw, 1.85rem); font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
h5 { font-size: 1.1rem; font-weight: 600; }

p { margin-bottom: 1rem; color: var(--gray-600); line-height: 1.8; }

.lead { font-size: 1.18rem; color: var(--gray-600); line-height: 1.85; }

.text-gold { color: var(--gold) !important; }
.text-navy { color: var(--navy) !important; }
.text-serif { font-family: var(--font-serif); font-style: italic; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-heading { font-family: var(--font-heading); }

/* --- Utility --- */
.bg-navy { background-color: var(--navy) !important; }
.bg-parchment { background-color: var(--parchment) !important; }
.bg-gold { background-color: var(--gold) !important; }
.bg-white { background-color: var(--white) !important; }

.section-padding { padding: 100px 0; }
.section-padding-sm { padding: 60px 0; }
.section-padding-lg { padding: 120px 0; }

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 16px auto 0;
  border-radius: 2px;
}
.section-divider.left { margin-left: 0; }

/* --- Buttons --- */
.btn-gold {
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gold);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gold);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--navy);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
}
.btn-navy:hover {
  background: var(--navy-light);
  border-color: var(--navy-light);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid #25D366;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  font-size: 0.95rem;
}
.btn-whatsapp:hover {
  background: #1da851;
  border-color: #1da851;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* --- Navigation --- */
.navbar-ncr {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1050;
  transition: var(--transition);
}
.navbar-ncr.scrolled {
  box-shadow: var(--shadow-md);
}
.navbar-ncr .navbar-brand img {
  height: 48px;
  width: auto;
}
@media (max-width: 1199.98px) {
  .navbar-ncr .navbar-brand img { height: 40px; }
}
.navbar-ncr .nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--navy) !important;
  padding: 22px 10px !important;
  position: relative;
  transition: var(--transition);
  white-space: nowrap;
}
.navbar-ncr .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.navbar-ncr .nav-link:hover::after,
.navbar-ncr .nav-link.active::after {
  transform: scaleX(1);
}
.navbar-ncr .nav-link:hover {
  color: var(--gold) !important;
}
.navbar-ncr .nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-sm);
  margin-left: 4px;
  display: inline-flex !important;
  align-items: center;
  white-space: nowrap;
}
.navbar-ncr .nav-cta::after { display: none; }
.navbar-ncr .nav-cta:hover {
  background: var(--gold-dark);
  color: var(--white) !important;
}

.navbar-toggler {
  border: none;
  padding: 8px;
  font-size: 1.4rem;
  color: var(--navy);
}

/* --- Navbar Alignment Fix --- */
.navbar-ncr .navbar-collapse {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.navbar-ncr .navbar-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
}

/* --- Hero Section (Cinematic) --- */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #040d1a 0%, var(--navy-dark) 25%, var(--navy) 55%, var(--navy-light) 100%);
  overflow: hidden;
  padding-top: 20px;
  padding-bottom: 60px;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(184,147,62,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 20% 80%, rgba(184,147,62,0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to top, rgba(184,147,62,0.04) 0%, transparent 100%);
  pointer-events: none;
}
.hero-section .container { position: relative; z-index: 2; }
.hero-section h1 {
  color: var(--white);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}
.hero-section h1 .text-gold-highlight {
  color: var(--gold-light);
  position: relative;
}
.hero-section .lead {
  color: rgba(255,255,255,0.88);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.75;
  max-width: 100%;
  overflow-wrap: break-word;
}
.hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.hero-cta-group .btn {
  flex-shrink: 0;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: left;
}
.hero-stat .stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.hero-stat .stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Stat Strip --- */
.stat-strip {
  background: var(--parchment);
  padding: 30px 0;
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid var(--gray-200);
}
.stat-strip .stat-item {
  text-align: center;
}
.stat-strip .stat-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
}
.stat-strip .stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Cards --- */
.ncr-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  border: 1px solid var(--gray-100);
  height: 100%;
}
.ncr-card:hover {
  transform: translateY(-6px) scale(1.012);
  box-shadow: var(--shadow-xl);
}
.ncr-card .card-img-top {
  height: 200px;
  object-fit: cover;
  background: var(--gray-100);
}
.ncr-card .card-body { padding: 24px; }
.ncr-card .card-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.ncr-card .card-developer {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.ncr-card .card-locality {
  font-size: 0.82rem;
  color: var(--gray-400);
  margin-bottom: 12px;
}
.ncr-card .card-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 12px;
}
.ncr-card .rera-badge {
  display: inline-block;
  background: #ECFDF5;
  color: #059669;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* --- Feature Cards (Why Now) --- */
.feature-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  border-color: var(--gold);
}
.feature-card .feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(184, 147, 62, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  color: var(--gold);
}
.feature-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.feature-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: var(--gray-500);
}

/* --- Section Headers --- */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 0; }
.section-header .section-subtitle {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--gold-dark);
  margin-top: 10px;
  margin-bottom: 0;
}
.section-header p {
  max-width: 700px;
  margin: 18px auto 0;
  color: var(--gray-500);
  line-height: 1.8;
}

/* --- Trust Strip --- */
.trust-strip {
  padding: 40px 0;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-logo-item {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--gray-400);
  transition: var(--transition);
  white-space: nowrap;
}
.trust-logo-item:hover { color: var(--navy); }

/* --- Testimonials --- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--gold);
  height: 100%;
}
.testimonial-card .testimonial-quote {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--gray-600);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 20px;
}
.testimonial-card .testimonial-author {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}
.testimonial-card .testimonial-location {
  font-size: 0.82rem;
  color: var(--gray-400);
}
.testimonial-card .testimonial-project {
  font-size: 0.82rem;
  color: var(--gold-dark);
  font-weight: 500;
}

/* --- RERA Badge (Page Level) --- */
.rera-disclaimer-block {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.6;
}
.rera-disclaimer-block strong {
  color: var(--navy);
}

/* --- Map Container --- */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gray-100);
}
.map-container iframe, .map-container #map {
  width: 100%;
  height: 400px;
}

/* --- Filter Bar --- */
.filter-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
}
.filter-bar select,
.filter-bar input {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gray-700);
  background: var(--white);
  transition: var(--transition);
  width: 100%;
}
.filter-bar select:focus,
.filter-bar input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 147, 62, 0.15);
}
.filter-bar label {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-500);
  margin-bottom: 4px;
  display: block;
}

/* --- Calculator --- */
.calc-result {
  background: var(--parchment);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 2px solid var(--gold);
}
.calc-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.calc-location {
  text-align: center;
  padding: 20px;
  border-radius: var(--radius-md);
}
.calc-location.highlight {
  background: rgba(184, 147, 62, 0.1);
  border: 2px solid var(--gold);
}
.calc-location .calc-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}
.calc-location .calc-detail {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* --- Timeline --- */
.timeline {
  position: relative;
  padding-left: 30px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
}
.timeline-item {
  position: relative;
  margin-bottom: 32px;
  padding-left: 20px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -25px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 3px var(--gold);
}
.timeline-item .timeline-year {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--gold-dark);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.timeline-item h4 { margin-bottom: 4px; }
.timeline-item p { font-size: 0.9rem; margin-bottom: 0; }

/* --- Lead Magnet / CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(184, 147, 62, 0.08);
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,0.8); }

/* --- Lead Form --- */
.lead-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.lead-form .form-control {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
}
.lead-form .form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184, 147, 62, 0.15);
}
.lead-form .form-label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--gray-700);
  margin-bottom: 4px;
}

/* --- Footer --- */
.footer-ncr {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-ncr .row > [class*="col-"] {
  margin-top: 0;
  padding-top: 0;
}
.footer-ncr h5 {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 1rem;
  white-space: nowrap;
}
.footer-ncr p, .footer-ncr li, .footer-ncr a {
  color: rgba(255,255,255,0.6);
  font-size: 0.88rem;
  line-height: 2;
}
.footer-ncr a:hover { color: var(--gold-light); }
.footer-ncr .footer-logo { height: 44px; margin-bottom: 16px; }
.footer-ncr .footer-divider {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 20px;
}
.footer-ncr .footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-ncr .rera-footer {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.05);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  line-height: 1.6;
}
/* Footer links list alignment */
.footer-ncr ul.list-unstyled {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-ncr ul.list-unstyled li {
  padding: 0;
  margin: 0;
  line-height: 2.2;
}
.footer-ncr ul.list-unstyled li a {
  display: inline-block;
  text-decoration: none;
}
/* Footer contact items alignment */
.footer-ncr .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 4px;
  line-height: 1.7;
  overflow-wrap: break-word;
}
.footer-ncr .footer-contact-item i {
  flex-shrink: 0;
  margin-top: 4px;
}
/* Footer column alignment */
.footer-ncr .footer-cols > [class*="col-"] {
  display: flex;
  flex-direction: column;
}
.footer-ncr .footer-cols > [class*="col-"] > *:first-child {
  margin-top: 0;
}

/* --- Sticky Mobile CTA Bar --- */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
  z-index: 1040;
  padding: 10px 16px;
  display: none;
}
.sticky-cta-bar .btn {
  flex: 1;
  padding: 12px;
  font-size: 0.85rem;
  justify-content: center;
  border-radius: var(--radius-sm);
}
@media (max-width: 991.98px) {
  .sticky-cta-bar { display: flex; gap: 10px; }
  body { padding-bottom: 70px; }
}

/* --- Breadcrumb --- */
.breadcrumb-ncr {
  padding: 12px 0;
  font-size: 0.82rem;
}
.breadcrumb-ncr a { color: var(--gray-400); }
.breadcrumb-ncr a:hover { color: var(--gold); }
.breadcrumb-ncr .separator { color: var(--gray-300); margin: 0 8px; }
.breadcrumb-ncr .current { color: var(--gray-600); font-weight: 500; }

/* --- Page Header --- */
.page-header {
  background: linear-gradient(160deg, #040d1a 0%, var(--navy-dark) 30%, var(--navy) 100%);
  padding: 90px 0 55px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(184,147,62,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 {
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.page-header p {
  color: rgba(255,255,255,0.75);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Comparison Table --- */
.comparison-table {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.comparison-table thead th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 14px 18px;
  border: none;
}
.comparison-table tbody td {
  padding: 14px 18px;
  font-size: 0.9rem;
  border-color: var(--gray-100);
  vertical-align: middle;
}
.comparison-table tbody tr:hover {
  background: var(--parchment);
}
.comparison-table .highlight-col {
  background: rgba(184, 147, 62, 0.06);
  font-weight: 600;
  color: var(--navy);
}

/* --- Connectivity Item --- */
.connectivity-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-100);
  align-items: flex-start;
}
.connectivity-item:last-child { border-bottom: none; }
.connectivity-item .ci-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(184, 147, 62, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
}
.connectivity-item h5 { margin-bottom: 2px; font-size: 1rem; }
.connectivity-item p { margin-bottom: 0; font-size: 0.88rem; }

/* --- Team Card --- */
.team-card {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.team-card .team-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--parchment);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--navy);
  overflow: hidden;
  border: 3px solid var(--gold);
}
.team-card .team-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
}
.team-card .team-role {
  font-size: 0.82rem;
  color: var(--gold-dark);
  font-weight: 500;
  margin-bottom: 10px;
}
.team-card .team-bio {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* --- Insights / Blog --- */
.insight-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
}
.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.insight-card .insight-img {
  height: 180px;
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: 2rem;
}
.insight-card .insight-body { padding: 24px; }
.insight-card .insight-tag {
  display: inline-block;
  background: rgba(184, 147, 62, 0.1);
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.insight-card h4 { font-size: 1.05rem; margin-bottom: 8px; }
.insight-card p { font-size: 0.88rem; color: var(--gray-500); margin-bottom: 12px; }
.insight-card .insight-date {
  font-size: 0.78rem;
  color: var(--gray-400);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 1030;
  cursor: pointer;
  border: none;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }

/* --- Animations (Smooth Easing) --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Project Detail --- */
.project-gallery { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 30px; }
.project-gallery img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  background: var(--gray-100);
}
.amenity-tag {
  display: inline-block;
  background: var(--parchment);
  color: var(--gray-700);
  font-size: 0.82rem;
  padding: 6px 14px;
  border-radius: 20px;
  margin: 3px;
  border: 1px solid var(--gray-200);
}
.highlight-box {
  background: var(--parchment);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 20px;
}

/* --- Sidebar cards: prevent height stretching and overlap --- */
.ncr-card:not(:has(.card-img-top)) {
  height: auto;
}

/* Ensure clear separation — timeline section must paint over any stray sidebar content */
.bg-parchment.section-padding {
  position: relative;
  z-index: 2;
  overflow: visible;
}

/* --- Print --- */
@media print {
  .navbar-ncr, .sticky-cta-bar, .back-to-top { display: none !important; }
  body { padding-bottom: 0; }
  .hero-section { min-height: auto; padding: 40px 0; }
}

/* --- Placeholder image --- */
.img-placeholder {
  background: linear-gradient(135deg, var(--parchment) 0%, var(--parchment-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: 2.5rem;
}

/* --- No results --- */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-400);
}
.no-results i { font-size: 3rem; margin-bottom: 16px; display: block; }

/* --- Legal Page --- */
.legal-content h2 { font-size: 1.4rem; margin-top: 2rem; }
.legal-content h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.legal-content p, .legal-content li { font-size: 0.9rem; line-height: 1.8; }

/* WhatsApp icon helper */
.wa-icon::before { content: '\f232'; font-family: 'Font Awesome 6 Brands'; margin-right: 4px; }

/* ============================================================
   Professional Animations & Conversion-Optimized Enhancements
   ============================================================ */

/* --- Floating WhatsApp (Desktop) --- */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1045;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 4px 14px rgba(37,211,102,0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  animation: waFloat 3s ease-in-out infinite;
}
.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,0.5);
  color: #fff;
}
.floating-whatsapp .wa-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}
.floating-whatsapp .wa-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--navy);
  border-right: 0;
}
.floating-whatsapp:hover .wa-tooltip {
  opacity: 1;
  visibility: visible;
}
@keyframes waFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (max-width: 991.98px) {
  .floating-whatsapp { bottom: 85px; right: 16px; width: 52px; height: 52px; font-size: 1.4rem; }
  .floating-whatsapp .wa-tooltip { display: none; }
}

/* --- Urgency Strip --- */
.urgency-strip {
  background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 8px 60px 8px 16px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1060;
  line-height: 1.5;
  overflow-wrap: break-word;
}
.urgency-strip a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.urgency-strip a:hover { opacity: 0.9; }
.urgency-strip .pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  margin-right: 8px;
  animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* --- Animated Counters --- */
.counter-animate {
  display: inline-block;
  transition: all 0.5s ease;
}

/* --- Enhanced Card Hover Effects (Glassmorphism Shine) --- */
.ncr-card::after,
.feature-card::after,
.testimonial-card::after,
.team-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
  pointer-events: none;
  z-index: 1;
}
.ncr-card:hover::after,
.feature-card:hover::after,
.testimonial-card:hover::after,
.team-card:hover::after {
  left: 125%;
}
.ncr-card, .feature-card, .testimonial-card, .team-card {
  position: relative;
  overflow: hidden;
}
.ncr-card > *, .feature-card > *, .testimonial-card > *, .team-card > * {
  position: relative;
  z-index: 2;
}

/* --- Navbar Phone Number --- */
.navbar-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--navy) !important;
  text-decoration: none !important;
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--gray-200);
  transition: var(--transition);
  white-space: nowrap;
  align-self: center;
}
.navbar-phone:hover { color: var(--gold) !important; }
.navbar-phone i { color: var(--success); font-size: 0.95rem; }
@media (max-width: 1199.98px) { .navbar-phone { display: none; } }

/* --- Social Proof Badge --- */
.social-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(5,150,105,0.08);
  border: 1px solid rgba(5,150,105,0.2);
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}
.social-proof-badge .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  animation: pulseDot 1.5s ease-in-out infinite;
}

/* --- Enhanced Hero (Parallax-like Background Particles) --- */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0.2;
  animation: particleFloat 20s linear infinite;
}
.hero-particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 18s; }
.hero-particle:nth-child(2) { left: 25%; top: 60%; animation-delay: 2s; animation-duration: 22s; }
.hero-particle:nth-child(3) { left: 45%; top: 30%; animation-delay: 4s; animation-duration: 16s; }
.hero-particle:nth-child(4) { left: 65%; top: 70%; animation-delay: 1s; animation-duration: 25s; }
.hero-particle:nth-child(5) { left: 80%; top: 40%; animation-delay: 3s; animation-duration: 20s; }
.hero-particle:nth-child(6) { left: 90%; top: 15%; animation-delay: 5s; animation-duration: 19s; }
@keyframes particleFloat {
  0% { transform: translateY(0) rotate(0deg); opacity: 0; }
  10% { opacity: 0.2; }
  90% { opacity: 0.2; }
  100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* --- Why Invest Number Callout --- */
.invest-number-callout {
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  margin-bottom: 24px;
}
.invest-number-callout .inc-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
}
.invest-number-callout .inc-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* --- Pricing Highlight (Gradient Text) --- */
.price-highlight {
  display: inline-block;
  background: linear-gradient(135deg, var(--navy), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 9999;
  width: 0%;
  transition: width 0.1s linear;
}

/* --- Professional Scroll Animations (Smooth Easing) --- */
.fade-in-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-in-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-in-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* --- Stagger Delay for Cards in a Grid --- */
.fade-in-up:nth-child(1), .fade-in:nth-child(1) { transition-delay: 0ms; }
.fade-in-up:nth-child(2), .fade-in:nth-child(2) { transition-delay: 100ms; }
.fade-in-up:nth-child(3), .fade-in:nth-child(3) { transition-delay: 200ms; }
.fade-in-up:nth-child(4), .fade-in:nth-child(4) { transition-delay: 300ms; }
.fade-in-up:nth-child(5), .fade-in:nth-child(5) { transition-delay: 400ms; }
.fade-in-up:nth-child(6), .fade-in:nth-child(6) { transition-delay: 500ms; }

/* --- Micro-Interactions for Buttons --- */
.btn-gold, .btn-whatsapp, .btn-navy, .btn-outline-gold {
  position: relative;
  overflow: hidden;
}
.btn-gold::before, .btn-whatsapp::before, .btn-navy::before, .btn-outline-gold::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}
.btn-gold:hover::before, .btn-whatsapp:hover::before, .btn-navy:hover::before, .btn-outline-gold:hover::before {
  width: 300px;
  height: 300px;
}

/* --- Rating Stars for Testimonials --- */
.star-rating { display: inline-flex; gap: 2px; margin-bottom: 12px; }
.star-rating .bi-star-fill { color: var(--gold); font-size: 0.9rem; }
.star-rating .bi-star { color: var(--gray-300); font-size: 0.9rem; }

/* --- Image Placeholder Enhancement (Gradient + Pattern) --- */
.img-placeholder {
  background: linear-gradient(135deg, var(--parchment) 0%, var(--parchment-dark) 50%, var(--parchment) 100%) !important;
  background-size: 200% 200% !important;
  animation: placeholderShimmer 3s ease-in-out infinite !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  font-size: 2.5rem;
}
@keyframes placeholderShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- CTA Pulse Effect on Primary Buttons --- */
.cta-pulse {
  animation: ctaPulse 2s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); }
  50% { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
}

/* --- Button Scale Micro-Interaction --- */
.btn-gold:hover, .btn-whatsapp:hover, .btn-navy:hover, .btn-outline-gold:hover {
  transform: scale(1.03);
}

/* --- Connectivity Items Auto-Reveal --- */
.connectivity-item {
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.connectivity-item.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Timeline Items Auto-Reveal --- */
.timeline-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Trust Strip Premium --- */
.trust-strip {
  padding: 50px 0;
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}
.trust-logos { gap: 48px; }
.trust-logo-item {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--gray-300);
  transition: color 0.4s ease;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.trust-logo-item:hover { color: var(--navy); }

/* --- Hero Stats Number Upgrade --- */
.hero-stat .stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* --- Invest Number Callout Upgrade --- */
.invest-number-callout {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
  height: 100%;
}
.invest-number-callout:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* --- Navbar Glassmorphism on Scroll --- */
.navbar-ncr.scrolled {
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.92);
}

/* --- Feature Card Hover Refinement --- */
.feature-card {
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}


/* --- Navbar Medium Screen (prevent wrapping) --- */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .navbar-ncr .navbar-brand img { height: 38px; }
  .navbar-ncr .nav-link {
    font-size: 0.82rem !important;
    padding: 18px 8px !important;
  }
  .navbar-ncr .nav-cta {
    padding: 6px 14px !important;
    font-size: 0.8rem !important;
    margin-left: 4px;
  }
  .navbar-ncr .dropdown-toggle::after {
    font-size: 0.65rem;
    vertical-align: middle;
  }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .navbar-ncr .nav-link {
    font-size: 0.85rem !important;
    padding: 20px 10px !important;
  }
}
/* --- Responsive Adjustments --- */
@media (max-width: 767.98px) {
  .hero-section { min-height: 80vh; padding-top: 40px; }
  .hero-stats { gap: 24px; }
  .hero-stat .stat-number { font-size: 1.5rem; }
  .section-padding { padding: 60px 0; }
  .section-padding-lg { padding: 70px 0; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; justify-content: center; }
  .trust-logos { gap: 20px; }
  .page-header { padding: 65px 0 40px; }
  .calc-comparison { grid-template-columns: 1fr; }
  .filter-bar { padding: 16px; }
  .connectivity-item, .timeline-item { opacity: 1; transform: none; }
}
@media (max-width: 575.98px) {
  .navbar-ncr .navbar-brand img { height: 38px; }
  .btn-lg { padding: 14px 28px; font-size: 0.95rem; }
}


/* === SEO & Mobile Optimization Additions === */

/* --- Safe Area Support for Notched Phones (iPhone X+) --- */
@supports (padding: env(safe-area-inset-bottom)) {
  .sticky-cta-bar {
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    padding-left: calc(16px + env(safe-area-inset-left));
    padding-right: calc(16px + env(safe-area-inset-right));
  }
  .floating-whatsapp {
    bottom: calc(85px + env(safe-area-inset-bottom));
    right: calc(16px + env(safe-area-inset-right));
  }
  .back-to-top {
    bottom: calc(140px + env(safe-area-inset-bottom));
  }
}

/* --- Touch Target Minimum 48px (Google Mobile-Friendly) --- */
.navbar-ncr .nav-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.navbar-ncr .nav-cta {
  min-height: 44px;
}
.btn-gold, .btn-whatsapp, .btn-navy, .btn-outline-gold {
  min-height: 48px;
}
.lead-form .form-control {
  min-height: 48px;
  font-size: 16px;
}
.filter-bar select,
.filter-bar input {
  min-height: 48px;
  font-size: 16px;
}
.sticky-cta-bar .btn {
  min-height: 48px;
}
.breadcrumb-ncr a {
  padding: 4px 0;
}

/* --- Prevent horizontal overflow --- */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* --- Improved Mobile Typography & Layout --- */
@media (max-width: 767.98px) {
  h1 { font-size: 1.6rem !important; line-height: 1.25 !important; }
  h2 { font-size: 1.5rem !important; }
  h3 { font-size: 1.25rem !important; }
  .lead { font-size: 1rem; }

  .hero-section {
    min-height: 75vh;
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .hero-section .lead {
    font-size: 1rem;
    line-height: 1.6;
  }
  .hero-stats {
    gap: 16px;
    margin-top: 2rem;
  }
  .hero-stat .stat-number {
    font-size: 1.4rem;
  }
  .hero-stat .stat-label {
    font-size: 0.72rem;
  }
  .hero-cta-group {
    margin-top: 1.5rem;
  }
  .hero-cta-group .btn {
    width: 100%;
    padding: 14px 24px;
    justify-content: center;
    font-size: 0.95rem;
  }

  .section-padding { padding: 48px 0; }
  .section-header { margin-bottom: 36px; }

  .page-header { padding: 56px 0 32px; }
  .page-header h1 { font-size: 1.6rem; }
  .page-header p { font-size: 0.88rem; padding: 0 8px; }

  .ncr-card .card-body { padding: 16px; }
  .ncr-card .card-title { font-size: 1rem; }
  .ncr-card .card-price { font-size: 1.05rem; }

  .feature-card { padding: 24px 16px; }
  .feature-card p { font-size: 0.85rem; }

  .filter-bar { padding: 16px; margin-bottom: 20px; }
  .filter-bar label { font-size: 0.72rem; }
  .filter-bar select, .filter-bar input { padding: 12px; }

  .lead-form { padding: 20px 16px; }
  .lead-form .form-label { font-size: 0.82rem; }

  .stat-strip { padding: 20px 0; }
  .stat-strip .stat-value { font-size: 1.4rem; }
  .stat-strip .stat-label { font-size: 0.7rem; }

  .cta-banner { padding: 40px 0; }
  .cta-banner h2 { font-size: 1.4rem; }
  .cta-banner p { font-size: 0.9rem; }

  .footer-ncr { padding: 40px 0 0; }
  .footer-ncr h5 { font-size: 0.92rem; margin-bottom: 14px; }

  .trust-strip { padding: 28px 0; }
  .trust-logos { gap: 16px; flex-wrap: wrap; }
  .trust-logo-item { font-size: 0.88rem; }

  .urgency-strip { font-size: 0.7rem; padding: 6px 40px 6px 12px; line-height: 1.4; }
  .urgency-strip .urgency-dismiss { right: 8px; }

  .timeline { padding-left: 24px; }
  .timeline-item { margin-bottom: 24px; }

  .team-card { padding: 24px 16px; }
  .team-card .team-photo { width: 80px; height: 80px; font-size: 1.8rem; }

  .testimonial-card { padding: 20px 16px; }

  .comparison-table thead th,
  .comparison-table tbody td { padding: 10px 12px; font-size: 0.82rem; }

  .invest-number-callout { padding: 20px 12px; }
  .invest-number-callout .inc-number { font-size: 2rem; }

  .breadcrumb-ncr { font-size: 0.75rem; }

  .map-container iframe, .map-container #map { height: 280px; }

  .calc-result { padding: 20px 16px; }
  .calc-location .calc-price { font-size: 1.25rem; }

  .highlight-box { padding: 16px; }

  .rera-disclaimer-block { padding: 12px 14px; font-size: 0.78rem; }

  .connectivity-item, .timeline-item { opacity: 1; transform: none; }
}

/* --- Small Phone Fixes (< 375px like iPhone SE) --- */
@media (max-width: 374.98px) {
  .hero-section h1 { font-size: 1.35rem !important; line-height: 1.3 !important; }
  .page-header h1 { font-size: 1.35rem; }
  .section-padding { padding: 36px 0; }
  .hero-stats { gap: 12px; }
  .hero-stat .stat-number { font-size: 1.2rem; }
}

/* --- Tablet optimization --- */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero-section { min-height: 80vh; }
  .section-padding { padding: 70px 0; }
}

/* --- Touch feedback for mobile --- */
@media (hover: none) and (pointer: coarse) {
  .btn-gold:active, .btn-whatsapp:active, .btn-navy:active, .btn-outline-gold:active {
    transform: scale(0.97);
    opacity: 0.9;
  }
  .ncr-card:active, .feature-card:active { transform: scale(0.98); }
  .navbar-ncr .nav-link:active {
    background: rgba(184, 147, 62, 0.08);
    border-radius: var(--radius-sm);
  }
}

/* --- Landscape small height --- */
@media (orientation: landscape) and (max-height: 500px) {
  .hero-section { min-height: 100vh; padding: 20px 0; }
  .page-header { padding: 40px 0 24px; }
}

/* --- Print optimization --- */
@media print {
  .sticky-cta-bar, .floating-whatsapp, .back-to-top, .scroll-progress, .urgency-strip { display: none !important; }
  body { padding-bottom: 0 !important; }
  .hero-section { min-height: auto !important; padding: 40px 0 !important; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.8rem; color: #666; }
  a[href^="#"]::after, a[href^="tel:"]::after, a[href^="mailto:"]::after { content: none; }
}


/* --- Form Feedback (Success/Error) --- */
.form-feedback {
  display: none;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  margin-top: 16px;
  animation: feedbackSlide 0.3s ease;
  max-width: 100%;
  overflow-wrap: break-word;
}
.form-feedback.show { display: block; }
.form-feedback.success {
  background: rgba(5,150,105,0.08);
  color: var(--success);
  border: 1px solid rgba(5,150,105,0.2);
}
.form-feedback.error {
  background: rgba(220,38,38,0.08);
  color: var(--danger);
  border: 1px solid rgba(220,38,38,0.2);
}
@keyframes feedbackSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.form-submitting .btn-gold,
.form-submitting .btn-whatsapp,
.form-submitting .btn-navy {
  opacity: 0.7;
  pointer-events: none;
}

/* ============================================================
   NEW: Professional Upgrade Styles
   Article body, EMI Calculator, Comparison Tool, Cookie Consent,
   Awards, NRI, Newsletter, Skip-nav
   ============================================================ */

/* --- Article Body (Insights) --- */
.article-body { font-size: 1.05rem; line-height: 1.9; color: var(--gray-600); }
.article-body h2 { font-size: 1.6rem; margin-top: 2.5rem; margin-bottom: 1rem; color: var(--navy); }
.article-body h3 { font-size: 1.3rem; margin-top: 2rem; margin-bottom: 0.75rem; color: var(--navy); }
.article-body p { margin-bottom: 1.25rem; }
.article-body ul, .article-body ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.article-body li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.article-body table th { background: var(--navy); color: #fff; padding: 10px 14px; font-size: 0.9rem; text-align: left; }
.article-body table td { padding: 10px 14px; border-bottom: 1px solid var(--gray-200); font-size: 0.9rem; }
.article-body blockquote { border-left: 4px solid var(--gold); padding: 16px 20px; margin: 1.5rem 0; background: var(--parchment); font-style: italic; color: var(--gray-700); }

/* --- Insight Tag --- */
.insight-tag {
  display: inline-block;
  background: rgba(184,147,62,0.12);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-heading);
}

/* --- EMI Calculator --- */
.emi-result { background: var(--parchment); border-radius: var(--radius-lg); padding: 28px; margin-top: 20px; }
.emi-result .emi-figure { font-size: 2.2rem; font-weight: 800; color: var(--navy); font-family: var(--font-heading); }
.emi-bar-track { height: 12px; border-radius: 6px; background: var(--gray-200); overflow: hidden; margin-top: 8px; }
.emi-bar-fill { height: 100%; border-radius: 6px; transition: width 0.6s ease; }
.emi-toggle { display: flex; gap: 8px; margin-bottom: 2rem; }
.emi-toggle .btn { border-radius: var(--radius-sm); }
.bank-rates-table { margin-top: 24px; }
.bank-rates-table th { font-size: 0.85rem; }
.bank-rates-table td { font-size: 0.85rem; }

/* --- Project Comparison Tool --- */
.comparison-tool { background: var(--gray-50); border-radius: var(--radius-lg); padding: 32px; margin-top: 40px; }
.comparison-tool h3 { margin-bottom: 1.5rem; }
.comparison-result { margin-top: 24px; overflow-x: auto; }
.comparison-result table { width: 100%; border-collapse: collapse; }
.comparison-result th { background: var(--navy); color: #fff; padding: 12px 16px; font-size: 0.85rem; text-align: left; white-space: nowrap; }
.comparison-result td { padding: 12px 16px; border-bottom: 1px solid var(--gray-200); font-size: 0.85rem; vertical-align: top; }
.comparison-result .highlight-col { background: rgba(184,147,62,0.06); }

/* --- Awards / Credentials Strip --- */
.awards-strip { background: var(--parchment); padding: 40px 0; }
.awards-strip .award-badge { text-align: center; padding: 16px 12px; }
.awards-strip .award-badge i { font-size: 2rem; color: var(--gold); margin-bottom: 8px; display: block; }
.awards-strip .award-badge h6 { font-size: 0.85rem; margin-bottom: 4px; color: var(--navy); }
.awards-strip .award-badge p { font-size: 0.78rem; color: var(--gray-500); margin: 0; }

/* --- NRI Section --- */
.nri-section { background: var(--parchment); padding: 80px 0; }
.nri-section .nri-card { background: #fff; border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); height: 100%; transition: var(--transition); }
.nri-section .nri-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.nri-section .nri-card i { font-size: 1.8rem; color: var(--gold); margin-bottom: 12px; }

/* --- Step Card (NRI page) --- */
.step-card { position: relative; padding: 24px 24px 24px 64px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.step-card .step-num { position: absolute; left: 16px; top: 24px; width: 36px; height: 36px; border-radius: 50%; background: var(--gold); color: #fff; font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); }

/* --- Leaflet Map Container --- */
.map-container { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--gray-200); }
.map-container .leaflet-container { z-index: 1; }

/* --- Cookie Consent --- */
.cookie-consent { font-family: var(--font-body); }
.cookie-consent a:hover { color: var(--gold-light); }
.cookie-consent button:hover { opacity: 0.9; }

/* --- Skip Navigation --- */
.skip-nav:focus { top: 0 !important; z-index: 10000; }

/* --- Newsletter Form (footer) --- */
.footer-newsletter input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }

/* --- Responsive Fixes for New Components --- */
@media (max-width: 767.98px) {
  .emi-toggle { flex-direction: column; }
  .emi-toggle .btn { width: 100%; }
  .comparison-tool { padding: 20px; }
  .awards-strip .award-badge { padding: 12px 8px; }
  .awards-strip .award-badge i { font-size: 1.5rem; }
  .step-card { padding: 20px 20px 20px 52px; }
  .step-card .step-num { left: 10px; top: 20px; width: 30px; height: 30px; font-size: 0.8rem; }
  .article-body { font-size: 1rem; }
  .article-body h2 { font-size: 1.4rem; }
  .article-body h3 { font-size: 1.15rem; }
  .nri-section { padding: 60px 0; }
  .cookie-consent > div { flex-direction: column; text-align: center; }
}
