/* ==========================================================================
   FORTUNE DEVELOPERS — NALINI REALTY DESIGN SYSTEM & ANIMATIONS
   Modern, Premium Real Estate Architecture & Interactive Motion
   ========================================================================== */

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

:root {
  /* Color Palette — Inspired by Nalini Realty */
  --navy: #071a2f;
  --navy-2: #0b2848;
  --navy-3: #103b68;
  --blue: #1261d7;
  --blue-dark: #0a47a7;
  --gold: #d3ab55;
  --gold-light: #f3c750;
  --ink: #142135;
  --muted: #687386;
  --muted-light: #99a7ba;
  --ivory: #f7f5f0;
  --bg: #f5f7fb;
  --white: #ffffff;
  --line: #dfe6ef;

  /* Radii & Elevation Shadows */
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow-sm: 0 10px 30px rgba(7, 26, 47, 0.08);
  --shadow: 0 18px 45px rgba(7, 26, 47, 0.12);
  --shadow-lg: 0 24px 70px rgba(7, 26, 47, 0.16);
  --shadow-blue: 0 14px 35px rgba(18, 97, 215, 0.28);
}

/* Light Theme Overrides */
body.light-theme {
  --navy: #071a2f;
  --bg: #f5f7fb;
  --white: #ffffff;
  --ink: #142135;
}

/* Dark Theme Overrides */
body:not(.light-theme) {
  --bg: #09182b;
  --white: #0f233a;
  --ink: #e8f0fa;
  --muted: #a1b2c7;
  --line: #1c334f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

body.modal-open {
  overflow: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
}

.icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  flex-shrink: 0;
}

.skip-link {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 12px 20px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
}

/* ==========================================================================
   SCROLL REVEAL & MOTION ANIMATIONS
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

.delay-3 {
  transition-delay: 0.45s;
}

/* Pulse animation for CTA badges */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(18, 97, 215, 0.4);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(18, 97, 215, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(18, 97, 215, 0);
  }
}

.btn-primary:focus,
.float-whatsapp {
  animation: pulseGlow 2.5s infinite;
}

/* ==========================================================================
   TOPBAR & STICKY HEADER
   ========================================================================== */

.topbar {
  background: var(--navy);
  color: #dfe9fb;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 0;
}

.topbar-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #c9d8f3;
}

.topbar-note .icon {
  color: var(--gold-light);
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #dfe9fb;
  font-weight: 500;
  transition: color 0.2s ease;
}

.topbar-links a:hover {
  color: var(--gold-light);
}

/* Sticky Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e8edf4;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

body:not(.light-theme) .site-header {
  background: rgba(7, 26, 47, 0.96);
  border-bottom-color: #172d47;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
}

.brand img {
  width: 170px;
  max-height: 54px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand img:hover {
  transform: scale(1.03);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 700;
  font-size: 15px;
}

.main-nav a:not(.btn) {
  padding: 10px 0;
  position: relative;
  color: var(--ink);
  transition: color 0.2s ease;
}

.main-nav a:not(.btn):hover,
.main-nav a.active {
  color: var(--blue);
}

.main-nav a.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2.5px;
  background: var(--gold);
  border-radius: 999px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.theme-toggle-btn {
  background: rgba(18, 97, 215, 0.08);
  border: 1px solid rgba(18, 97, 215, 0.18);
  color: var(--ink);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.theme-toggle-btn:hover {
  background: var(--blue);
  color: #fff;
  transform: rotate(15deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 800;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #ffffff !important;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px rgba(18, 97, 215, 0.38);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--navy-3), var(--navy-2));
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(16, 59, 104, 0.25);
}

.btn-secondary:hover {
  background: var(--navy-2);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(16, 59, 104, 0.35);
}

.btn-call {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.25);
}

.btn-call:hover {
  background: linear-gradient(135deg, #059669, #047857);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(16, 185, 129, 0.38);
}

.btn-gold {
  background: linear-gradient(135deg, #f0c44d, #bd7e08);
  color: #071a2f !important;
  box-shadow: 0 10px 25px rgba(211, 171, 85, 0.35);
}

.btn-gold:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 35px rgba(211, 171, 85, 0.45);
}

.btn-outline {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn-ghost {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-dark {
  color: #ffffff;
  background: var(--navy);
}

.btn-dark:hover {
  background: var(--navy-2);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  width: 44px;
  height: 44px;
  place-items: center;
  cursor: pointer;
  padding: 0;
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   HERO BANNER SECTION (STATIC DISPLAY - NO SLIDER)
   ========================================================================== */

.home-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background-image: url('hero.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 17, 37, 0.88) 0%, rgba(3, 17, 37, 0.76) 50%, rgba(3, 17, 37, 0.95) 100%);
  z-index: 1;
}

.hero-shell {
  position: relative;
  z-index: 5;
  width: 100%;
}

.hero-copy {
  padding: 110px 0 130px;
  max-width: 720px;
  margin-left: clamp(20px, 4.5vw, 55px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 13px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 2.5px;
  background: var(--gold-light);
  margin-right: 10px;
  border-radius: 999px;
}

.hero h1,
.hero h2 {
  font-size: clamp(32px, 4.5vw, 58px);
  line-height: 1.04;
  margin: 10px 0 14px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero h1 span,
.hero h2 span {
  color: var(--gold-light);
}

.hero p {
  font-size: 18px;
  color: #e7eef9;
  max-width: 630px;
  margin-bottom: 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(7, 26, 47, 0.5);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 24px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-arrow:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-50%) scale(1.1);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dots button.active {
  background: var(--gold-light);
  width: 32px;
  border-radius: 999px;
}

/* ==========================================================================
   OVERLAPPING PROPERTY SEARCH PANEL
   ========================================================================== */

.hero-search-section {
  position: relative;
  z-index: 15;
  margin-top: -45px;
}

.property-search-panel {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transition: background-color 0.3s ease;
}

.search-field-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body:not(.light-theme) .search-field-box {
  background: #142b45;
  border-color: #1f3b5c;
}

.search-field-box:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 97, 215, 0.12);
}

.search-field-box label {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-field-box select,
.search-field-box input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  outline: none;
}

.property-search-panel .btn {
  min-height: 52px;
  white-space: nowrap;
  padding: 0 30px;
}

/* ==========================================================================
   SECTIONS & TYPOGRAPHY
   ========================================================================== */

.section {
  padding: 80px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading.section-heading-left {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
  text-align: left;
  gap: 20px;
}

.section-kicker {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.section-kicker.light {
  color: var(--gold-light);
}

.section-heading h2 {
  margin: 8px 0 14px;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
  margin: 0;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.text-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   PROJECTS SECTION (ONGOING VS COMPLETED TABS & SHORT CARDS)
   ========================================================================== */

.projects-showcase {
  background: var(--white);
}

.project-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.project-tab-btn {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.project-tab-btn.active,
.project-tab-btn:hover {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
  box-shadow: 0 8px 20px rgba(18, 97, 215, 0.28);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 10px;
}

/* Compact Short Project Card (No Price) */
.project-card-short {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.project-card-short:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(7, 26, 47, 0.14);
}

.project-card-image {
  position: relative;
  overflow: hidden;
}

.project-card-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.badge-status {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
}

.badge-status.ongoing {
  background: var(--blue);
}

.badge-status.completed {
  background: #10b981;
}

.project-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-type-tag {
  font-size: 12px;
  font-weight: 800;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.project-card-content h3 {
  margin: 0 0 6px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
}

.project-card-location {
  font-size: 13.5px;
  color: var(--muted);
  margin: 0 0 14px;
}

.project-card-specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.project-card-specs span {
  font-size: 12px;
  font-weight: 700;
  background: var(--bg);
  color: var(--ink);
  padding: 5px 12px;
  border-radius: 8px;
}

.project-card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  align-items: center;
}

.project-card-actions .btn {
  padding: 10px 14px;
  font-size: 13.5px;
  min-height: 44px;
}

.project-card-actions .btn-call {
  flex: 0 0 auto;
  padding: 10px 16px;
}

.project-card-actions .btn-primary,
.project-card-actions .btn-secondary {
  flex: 1 1 auto;
}

/* ==========================================================================
   SOLUTIONS & SERVICES SECTION
   ========================================================================== */

.home-services {
  background: var(--bg);
}

.solution-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.solution-cards article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.solution-cards article:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(7, 26, 47, 0.14);
}

.solution-cards article img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.solution-cards article:hover img {
  transform: scale(1.04);
}

.solution-cards article>div {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.solution-cards article span {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(18, 97, 215, 0.08);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.solution-cards article h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
}

.solution-cards article p {
  color: var(--muted);
  margin: 0 0 20px;
  flex-grow: 1;
}

.solution-cards article button,
.solution-cards article a {
  color: var(--blue);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   ADVISOR / WHY CHOOSE US SECTION
   ========================================================================== */

.advisor-section {
  background: var(--bg);
}

.advisor-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.advisor-visual {
  position: relative;
}

.advisor-visual img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.advisor-copy .section-kicker {
  display: block;
  margin-bottom: 8px;
}

.advisor-copy h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.15;
  margin: 0 0 16px;
  font-weight: 800;
}

.advisor-copy p {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 28px;
}

.premium-checks {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.premium-checks>div {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
}

.premium-checks>div:hover {
  transform: translateX(4px);
}

.premium-checks svg {
  width: 24px;
  height: 24px;
  color: var(--blue);
  background: rgba(18, 97, 215, 0.1);
  padding: 4px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.premium-checks span strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
}

.premium-checks span small {
  color: var(--muted);
  font-size: 13.5px;
}

/* ==========================================================================
   GOOGLE REVIEWS SECTION & SPEEDY CAROUSEL SLIDER TRACK (NO AVATARS)
   ========================================================================== */

.google-reviews-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.review-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.review-summary strong {
  font-size: 20px;
  color: var(--ink);
}

.review-summary span {
  color: #f59e0b;
  letter-spacing: 2px;
}

/* Interactive Review Slider Shell */
.review-slider-shell {
  position: relative;
  margin: 36px 0;
  display: flex;
  align-items: center;
}

.review-track-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 10px 4px;
}

.google-review-track {
  display: flex;
  gap: 24px;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.google-review-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 310px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.google-review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.review-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.review-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
}

.review-head small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.review-stars {
  color: #f59e0b;
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-size: 15px;
}

.google-review-card p {
  color: var(--muted);
  font-size: 14.5px;
  margin: 0 0 16px;
  flex-grow: 1;
}

.google-source {
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.review-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-size: 24px;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
}

.review-arrow:hover {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
  transform: translateY(-50%) scale(1.08);
}

.review-prev {
  left: -20px;
}

.review-next {
  right: -20px;
}

.review-actions {
  text-align: center;
  margin-top: 24px;
}

/* ==========================================================================
   MAP CONTAINER & LOCATION SECTION
   ========================================================================== */

.map-section {
  background: var(--bg);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  line-height: 0;
}

.map-container iframe {
  width: 100%;
  height: 420px;
  border: 0;
}

/* ==========================================================================
   4-STEP PROCESS SECTION
   ========================================================================== */

.process-section {
  background: var(--navy);
  color: #ffffff;
}

.process-section .section-heading p {
  color: #c0d1e8;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.process-grid article {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 28px 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.process-grid article:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.09);
}

.process-grid article>span {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold-light);
  display: block;
  margin-bottom: 14px;
}

.process-grid article svg {
  width: 32px;
  height: 32px;
  color: var(--blue);
  margin-bottom: 16px;
}

.process-grid article h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
}

.process-grid article p {
  color: #c0d1e8;
  font-size: 14px;
  margin: 0;
}

/* ==========================================================================
   LEAD / ENQUIRY SECTION
   ========================================================================== */

.lead-section {
  background: linear-gradient(135deg, #071b35, #0d386c);
  color: #ffffff;
}

.lead-panel {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
  align-items: center;
}

.lead-panel h2 {
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.15;
  margin: 10px 0 16px;
  font-weight: 800;
}

.lead-panel p {
  color: #d1e2f7;
  font-size: 17px;
}

.enquiry-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--ink);
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.form-group label span {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(18, 97, 215, 0.12);
}

.enquiry-form .btn-primary {
  width: 100%;
  min-height: 52px;
  font-size: 16px;
  margin-top: 8px;
}

.form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 14px;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */

.site-footer {
  background: #051428;
  color: #bcd0e8;
  padding: 70px 0 28px;
}

.footer-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 48px;
  gap: 20px;
}

.footer-intro h2 {
  color: #ffffff;
  font-size: clamp(24px, 2.8vw, 34px);
  margin: 6px 0 0;
  font-weight: 800;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand img {
  width: 180px;
  filter: brightness(0) invert(1);
  margin-bottom: 16px;
}

.footer-brand p {
  color: #a1b7d4;
  font-size: 14.5px;
  margin-bottom: 20px;
}

.footer-contact-pills {
  display: flex;
  gap: 10px;
}

.footer-contact-pills a {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.25s ease;
}

.footer-contact-pills a:hover {
  background: var(--blue);
}

.footer-grid h4 {
  color: #ffffff;
  font-size: 18px;
  margin: 0 0 18px;
  font-weight: 800;
}

.footer-grid a:not(.btn) {
  display: block;
  color: #a1b7d4;
  margin: 10px 0;
  font-size: 14.5px;
}

.footer-grid a:not(.btn):hover {
  color: var(--gold-light);
}

.footer-office p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 8px 0;
  font-size: 14px;
  color: #a1b7d4;
}

.footer-office a {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: grid;
  place-items: center;
  margin: 0 !important;
}

.footer-socials a:hover {
  background: var(--blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  color: #8da4c4;
}

.footer-policy-links {
  display: flex;
  gap: 20px;
}

.footer-policy-links a {
  color: #8da4c4;
}

.footer-policy-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   FLOATING ACTIONS (PHONE LEFT, WHATSAPP RIGHT)
   ========================================================================== */

.floating-actions {
  position: fixed;
  inset: auto 0 16px 0;
  pointer-events: none;
  z-index: 99;
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
}

.floating-actions a {
  pointer-events: auto;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s ease;
}

.floating-actions a:hover {
  transform: scale(1.08);
}

.float-call {
  background: var(--blue);
}

.float-whatsapp {
  background: #25d366;
}

.back-to-top {
  position: fixed;
  bottom: 80px;
  right: 16px;
  z-index: 98;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.back-to-top:hover {
  background: var(--blue);
}

/* ==========================================================================
   MODAL DIALOGUE STYLES
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(4, 15, 30, 0.78);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: min(520px, 100%);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: 0;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
}

.modal-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
}

.modal-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 20px;
}

.modal-success-state {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.modal-success-state.active {
  display: block;
}

.modal-success-state svg {
  width: 56px;
  height: 56px;
  color: #17a65b;
  margin-bottom: 12px;
}

/* ==========================================================================
   RESPONSIVE DESIGN (BREAKPOINTS MATCHING EXACT SCREENSHOT MEASUREMENTS)
   ========================================================================== */

@media (max-width: 1024px) {

  .solution-cards,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .google-review-card {
    flex: 0 0 calc(50% - 12px);
  }

  .process-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .topbar {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    display: none;
    border-bottom: 1px solid var(--line);
  }

  body:not(.light-theme) .main-nav {
    background: var(--navy);
  }

  .main-nav.open {
    display: flex;
  }

  .advisor-grid,
  .lead-panel {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .advisor-visual img {
    height: 380px;
  }

  .hero-search-section {
    margin-top: -35px;
  }

  .property-search-panel {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
    border-radius: 22px;
  }

  .property-search-panel .btn {
    width: 100%;
    min-height: 52px;
    font-size: 16px;
    margin-top: 4px;
  }
}

/* Precise Mobile View Breakpoint matching Nalini Realty Mobile Screenshot */
@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .site-header {
    min-height: 64px;
  }

  .nav-wrap {
    min-height: 64px;
    padding: 8px 0;
  }

  .brand img {
    width: 145px;
    max-height: 44px;
  }

  .menu-toggle {
    display: grid;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  }

  body:not(.light-theme) .menu-toggle {
    background: #0d2138;
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
  }

  .home-hero {
    min-height: auto;
    padding: 44px 0 68px;
  }

  .hero-copy {
    padding: 20px 0 30px;
    max-width: 100%;
    margin-left: 0;
  }

  .eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--gold-light);
    margin-bottom: 6px;
  }

  .eyebrow::before {
    width: 22px;
    height: 2px;
    background: var(--gold-light);
    margin-right: 8px;
    border-radius: 999px;
  }

  .hero h1,
  .hero h2 {
    font-size: clamp(23px, 6.2vw, 28px);
    line-height: 1.08;
    font-weight: 800;
    margin: 8px 0 12px;
    letter-spacing: -0.4px;
    color: #ffffff;
  }

  .hero p {
    font-size: 14.5px;
    line-height: 1.45;
    color: #c9d7ec;
    margin-bottom: 22px;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    justify-content: center;
    border-radius: 999px;
    min-height: 48px;
  }

  .hero-arrow {
    display: none !important;
  }

  .hero-dots {
    bottom: 22px;
    gap: 6px;
  }

  .hero-dots button {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
  }

  .hero-dots button.active {
    width: 26px;
    height: 6px;
    border-radius: 999px;
    background: var(--gold-light);
  }

  .hero-search-section {
    margin-top: -30px;
  }

  .property-search-panel {
    padding: 16px;
    border-radius: 20px;
    gap: 10px;
  }

  .search-field-box {
    padding: 9px 12px;
    border-radius: 12px;
  }

  .search-field-box label {
    font-size: 10.5px;
  }

  .search-field-box select,
  .search-field-box input {
    font-size: 14px;
  }

  .solution-cards,
  .project-grid,
  .process-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .google-review-card {
    flex: 0 0 100%;
  }

  .review-prev {
    left: -10px;
  }

  .review-next {
    right: -10px;
  }

  .section {
    padding: 56px 0;
  }

  .section-heading.section-heading-left,
  .footer-intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}