/* Root theme */
:root {
  --color-primary: #00f2fe;
  /* glowing cyber cyan */
  --color-accent: #00ff88;
  /* neon emerald */
  --color-secondary: #9d4edd;
  /* neon violet */
  --color-text: #f1f5f9;
  /* slate 100 - bright text */
  --color-muted: #94a3b8;
  /* slate 400 - secondary text */
  --color-bg: #030712;
  /* deep space obsidian */
  --color-surface: #0b0f19;
  /* dark dashboard surface */
  --color-card-bg: rgba(15, 23, 42, 0.55);
  /* semi-transparent glass card */
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 30px rgba(0, 242, 254, 0.06);
  --shadow-lg: 0 20px 50px rgba(157, 78, 221, 0.12);

  /* Header theme (editable) */
  --header-bg: rgba(3, 7, 18, 0.75);
  --header-fg: #f1f5f9;
  --header-border: rgba(0, 242, 254, 0.15);
  --header-toggle-border: rgba(0, 242, 254, 0.3);
}

/* Base */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
    'Apple Color Emoji', 'Segoe UI Emoji';
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

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

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
  scroll-margin-top: 88px;
}

.section-title {
  margin: 0 0 24px;
  font-size: 32px;
  line-height: 1.25;
  transform: translateX(450px) translateY(-30px);
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  color: var(--header-fg);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--header-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  width: 100%;
  margin: 0;

}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: none;
}

/* Ensure 10px gap between logo and SMname in header */
.site-header .brand {
  gap: 10px;
  color: var(--header-fg);
}

/* Ensure SMname wordmark fits within the nav bar */
.brand span img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* Shift header brand images (logo and SMname) 20px right without affecting layout */
.site-header .brand img {
  transform: translateX(50px);
  transform-origin: left center;
}

/* Scale logo.svg by 20% everywhere without affecting layout */
img[src$="logo.svg"] {
  transform: scale(1.2);
  transform-origin: left center;
  animation: slowLogoGlow 4.5s ease-in-out infinite;
}

/* Apply the same slow breathing glow to SMname wordmark */
img[src$="SMname.png"] {
  animation: slowLogoGlow 4.5s ease-in-out infinite;
}

/* Slow, premium breathing glow animation for logo & wordmark */
@keyframes slowLogoGlow {

  0%,
  100% {
    filter: drop-shadow(0 0 2px rgba(0, 242, 254, 0.55)) drop-shadow(0 0 5px rgba(0, 242, 254, 0.25));
  }

  50% {
    filter: drop-shadow(0 0 5px rgba(0, 242, 254, 0.85)) drop-shadow(0 0 12px rgba(0, 242, 254, 0.55)) drop-shadow(0 0 20px rgba(0, 242, 254, 0.25));
  }
}

/* In header, keep the 50px right shift and scale only the logo.svg */
.site-header .brand img[src$="logo.svg"] {
  transform: translateX(50px) scale(1.2);
}

/* Increase visual gap between logo and SMname without affecting layout */
.site-header .brand img[src$="SMname.png"] {
  transform: translateX(80px) scale(1.5);
  transform-origin: left center;
}

.nav {
  position: relative;
}

/* Shift main navigation 100px left on desktop */
.site-header .nav[aria-label="Main navigation"] {
  transform: translateX(-100px);
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 22px;
  padding: 0;
  margin: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
}

.nav-list a:hover {
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 10px;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--color-text);
}

/* Ensure proper contrast when header has a colored background */
.site-header .nav-list a {
  color: var(--header-fg);
}

.site-header .nav-list a:hover {
  opacity: 0.9;
}

.site-header .nav-toggle {
  border-color: var(--header-toggle-border);
}

.site-header .nav-toggle-bar {
  background: var(--header-fg);
}

/* Hero */
.hero {
  position: relative;
  padding-top: 120px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/wall.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
  margin-top: 100px;
}

/* Ensure hero text is above wallpaper */
.hero-copy {
  position: relative;
  z-index: 1;
  margin-left: -70px;
  margin-top: 80px;
}

/* Make hero text and CTAs white on wallpaper */
.hero-copy h1 {
  color: #ffffff;
}

.hero-copy .tagline {
  color: #ffffff;
  margin-top: -50px;
}

.hero-copy .btn-primary {
  color: #ffffff;
}

.hero-copy .btn-outline {
  color: #ffffff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
}

.hero-copy .btn-outline:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
}

/* Hide the separate hero image since wallpaper is used */
.hero .hero-visual {
  display: none;
}

.hero-copy h1 {
  font-size: 42px;
  line-height: 1.15;
  margin: 0 0 12px;
}

.tagline {
  font-size: 18px;
  color: var(--color-muted);
  margin: 0 0 26px;
}

.hero-cta {
  display: flex;
  gap: 14px;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 80px;
  background: radial-gradient(80% 80% at 50% 0%, rgba(27, 158, 119, 0.15), transparent 70%);
}

/* Lottie hero container sizing */
.hero-video {
  width: 100%;
  max-width: 960px;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  transform: translateX(-35px);
}

/* About */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Light blue gradient background for About container */
.about .container.grid-2 {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.05), rgba(157, 78, 221, 0.08)) !important;
  border: 1px solid rgba(0, 242, 254, 0.1) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 100vh;
  align-items: center;
  margin-top: -120px;
}

/* About background video layering */
.about {
  position: relative;
  min-height: 100vh;
  overflow: visible;
}

.about-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.about-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(3, 7, 18, 0.85), rgba(3, 7, 18, 0.92));
  z-index: 1;
}

.about-video-bg img,
.about-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
  transform: translateX(-100px);
}

/* Shift only the About Us heading 100px left */
.about .about-copy h2 {
  color: var(--color-primary) !important;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.45) !important;
  margin-left: -100px;
}

/* Shift only the top-level About description paragraph 100px left */
.about .about-copy>p {
  color: var(--color-text) !important;
  margin-left: -100px;
  margin-right: 110px;
}

.about .about-media img {
  margin-left: 70px;
  margin-top: 80px;
}

.about-card {
  padding: 20px 18px;
  min-height: 240px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  background: #92a2cf31;
  box-shadow: var(--shadow-sm);

}

/* Services */
.services {
  background: var(--color-surface);
}

/* Move entire Services section content up by 60px (previously 50px) */
.services .container {
  margin-top: -60px;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  width: auto;
  height: auto;
  transform: translateX(100%);
  margin: 0 auto;
}

/* New layout to place image beside the grid without disrupting other sections */
.services-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.services-illustration img {
  width: 60%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* Set only the service.png image to 10% width without affecting others */
.services-illustration img[src$="service.png"] {
  width: 70%;
  transform: translateY(20px) translateX(-130px);
}

/* Overlay finance image similarly without affecting layout */
.services-illustration {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.services-illustration .finance-image {
  position: static;
  width: 100%;
  transform: translateY(60px) translateX(-200px);
}

/* Prevent the services grid from being shifted when inside the new layout */
.services-layout .services-grid {
  width: 100%;
  transform: none;
  margin: 0;
}

.service-card {
  padding: 24px;
  background: #92a2cf31;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.service-card h3 {
  margin-top: 0;
}

.service-card ul {
  margin: 0;
  padding-left: 18px;
}

.service-card li {
  list-style: none;
  padding-left: 0;
}

/* Cinematic upward scrolling text block */
.cinematic-scroll {
  position: relative;
  height: 200px;
  overflow: hidden;
  mask-image: linear-gradient(transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(transparent 0%, black 15%, black 85%, transparent 100%);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

.cinematic-tilt {
  perspective: 800px;
  height: 100%;
}

.cinematic-inner {
  padding: 16px 18px;
  height: 100%;
  transform-origin: center bottom;
  transform: rotateX(8deg) translateZ(0);
  animation: cinematicScroll 16s linear infinite;
}

.cinematic-inner p {
  margin: 0;
  color: #d5d8dd;
  line-height: 1.9;
  font-size: 16px;
}

@keyframes cinematicScroll {
  0% {
    transform: rotateX(8deg) translateY(60%) translateZ(0);
  }

  100% {
    transform: rotateX(8deg) translateY(-120%) translateZ(0);
  }
}

/* Properties */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  justify-items: center;
}

/* Shift the properties tabs 100px to the right */
.properties-tabs {
  margin-left: 50px;
}

/* Active tab styling */
.properties-tabs [role="tab"].active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

/* Pin the first property to the left edge under the logo on desktop */
.properties-grid .align-under-logo {
  justify-self: start;
  margin-left: -340px;
  margin-right: 280px;
  translate: 20px;
}

/* Set 10px gap between Property 1 and Property 2 */
.properties-grid .property-card:nth-child(2) {
  margin-left: -125px;
}

/* Set 10px gap between Property 1 and Property 2 */
.properties-grid .property-card:nth-child(3) {
  margin-left: -390px;
}

/* Set 10px gap between Property 1 and Property 2 */
.properties-grid .property-card:nth-child(4) {
  margin-left: -655px;
}

@media (max-width: 960px) {
  .properties-grid .align-under-logo {
    margin-left: 0;
    justify-self: stretch;
  }
}

/* Make the "Featured Properties" section title white only in the properties section */
.properties .section-title {
  color: #ffffff;
  font-family: 'Orbitron', 'Arial', sans-serif;
  font-weight: 800;
  font-size: 36px;
  text-decoration: underline;
  letter-spacing: 3px;
  background: linear-gradient(45deg, #00d4ff, #ff00ff, #00ff88, #ff6b35);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: futuristicGlow 3s ease-in-out infinite, gradientShift 4s ease-in-out infinite;
  text-shadow:
    0 0 5px rgba(0, 212, 255, 0.8),
    0 0 10px rgba(0, 212, 255, 0.6),
    0 0 15px rgba(0, 212, 255, 0.4);
  position: relative;
  overflow: hidden;
  max-width: 100%;
  transform: translateY(-40px);
  text-align: center;
  margin: 0 auto;
  display: block;
  width: fit-content;
}

.properties .section-title::before {
  display: none;
}

@keyframes futuristicGlow {

  0%,
  100% {
    filter: brightness(1) contrast(1);
  }

  50% {
    filter: brightness(1.2) contrast(1.1);
  }
}

@keyframes gradientShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

.property-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-md);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

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

.property-body {
  padding: 12px 14px 16px;
}

/* Optimize text sizing for smaller property cards */
.property-card h3 {
  font-size: 14px;
  line-height: 1.3;
  margin: 0 0 6px;
}

.property-meta {
  margin: 4px 0 6px;
  color: var(--color-muted);
  font-size: 13px;
}

.property-price {
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 8px;
  font-size: 13px;
}

/* Smooth zoom animation for highlighted price */
.zoom-price {
  display: inline-block;
  animation: zoomPulse 2.2s ease-in-out infinite;
  transform-origin: center;
}

@keyframes zoomPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.14);
  }

  100% {
    transform: scale(1);
  }
}

.property-actions {
  display: flex;
  gap: 10px;
}

/* Property 1 - Leftmost position */
.properties-grid .property-card:nth-child(1) {
  justify-self: start;
  width: 280px;
  transform: translateY(12px);
}

.properties-grid .property-card:nth-child(1).is-visible {
  transform: translateY(-50px);
}

/* Property 2 - Left center position */
.properties-grid .property-card:nth-child(2) {
  justify-self: start;
  width: 280px;
  transform: translateX(-180px) translateY(12px);
}

.properties-grid .property-card:nth-child(2).is-visible {
  transform: translateX(-180px) translateY(-50px);
}

/* Property 3 - Right center position */
.properties-grid .property-card:nth-child(3) {
  justify-self: start;
  width: 280px;
  transform: translateX(100px) translateY(12px);
}

.properties-grid .property-card:nth-child(3).is-visible {
  transform: translateX(100px) translateY(-50px);
}

/* Property 4 - Rightmost position */
.properties-grid .property-card:nth-child(4) {
  justify-self: start;
  width: 280px;
  transform: translateX(380px) translateY(12px);
}

.properties-grid .property-card:nth-child(4).is-visible {
  transform: translateX(380px) translateY(-50px);
}

/* Preserve translateX and add hover lift for nth-child properties on desktop */
.properties-grid .property-card:nth-child(1):hover {
  transform: translateY(-56px) !important;
}

.properties-grid .property-card:nth-child(2):hover {
  transform: translateX(-180px) translateY(-56px) !important;
}

.properties-grid .property-card:nth-child(3):hover {
  transform: translateX(100px) translateY(-56px) !important;
}

.properties-grid .property-card:nth-child(4):hover {
  transform: translateX(380px) translateY(-56px) !important;
}

.properties-grid .property-card:nth-child(5) {
  grid-column: 6;
  transform: translateX(-700px) scale(0.5);
  width: 400px;
  transform-origin: top left;
  justify-self: start;
}

.properties-grid .property-card:nth-child(6) {
  grid-column: 3;
  transform: translateX(-100px) translateY(-300px) scale(0.5);
  width: 400px;
  transform-origin: top left;
  justify-self: start;
}

.properties-grid .property-card:nth-child(7) {
  grid-column: 4;
  transform: translateX(-300px) translateY(-300px) scale(0.5);
  width: 400px;
  transform-origin: top left;
  justify-self: start;
}

.properties-grid .property-card:nth-child(8) {
  grid-column: 5;
  transform: translateX(-500px) translateY(-300px) scale(0.5);
  width: 400px;
  transform-origin: top left;
  justify-self: start;
}

.properties-grid .property-card:nth-child(9) {
  grid-column: 6;
  transform: translateX(-700px) translateY(-300px) scale(0.5);
  width: 400px;
  transform-origin: top left;
  justify-self: start;
}

.properties-grid .property-card:nth-child(10) {
  grid-column: 7;
  transform: translateX(-900px) translateY(-300px) scale(0.5);
  width: 400px;
  transform-origin: top left;
  justify-self: start;
}

/* Completed Properties Tab - All properties in single line */
.properties-grid.completed-properties {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  padding: 20px 0;
  background: transparent;
}

.properties-grid.completed-properties .property-card {
  flex: 0 0 auto;
  width: 336px;
  max-width: 336px;
  transform: none !important;
  margin: 0;
  justify-self: auto;
  grid-column: auto;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.properties-grid.completed-properties .property-card:nth-child(1) {
  order: 1;
  transform: none !important;
  justify-self: auto;
  grid-column: auto;
}

.properties-grid.completed-properties .property-card:nth-child(2) {
  order: 2;
  transform: none !important;
  justify-self: auto;
  grid-column: auto;
}

.properties-grid.completed-properties .property-card:nth-child(3) {
  order: 3;
  transform: none !important;
  justify-self: auto;
  grid-column: auto;
}

.properties-grid.completed-properties .property-card:nth-child(4) {
  order: 4;
  transform: none !important;
  justify-self: auto;
  grid-column: auto;
}

.properties-grid.completed-properties .property-card:nth-child(5) {
  order: 5;
  transform: none !important;
  justify-self: auto;
  grid-column: auto;
}

.properties-grid.completed-properties .property-card:nth-child(6) {
  order: 6;
  transform: none !important;
  justify-self: auto;
  grid-column: auto;
}

/* Financial */
.financial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.financial-card {
  padding: 22px;
  background: #92a2cf31;
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Testimonials */
.testimonials {
  background: var(--color-surface);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.testimonial {
  margin: 0;
  padding: 20px 22px;
  background: #92a2cf31;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
}

.testimonial blockquote {
  margin: 0 0 12px;
}

/* Contact */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact-form {
  padding: 20px;
  background: #92a2cf31;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
  margin-top: -40px;
}

.form-field {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.form-field input,
.form-field textarea {
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  font: inherit;
}

.form-actions {
  display: flex;
  gap: 10px;
}

.contact-info .info-block,
.contact-info .map-block {
  background: #92a2cf31;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  width: auto;
  margin-top: -40px;
}

/* Contact info styling with white color for all phone and email */
.contact-info .info-block .phone-1,
.contact-info .info-block .phone-2,
.contact-info .info-block .phone-3,
.contact-info .info-block .email-1,
.contact-info .info-block .email-2,
.contact-info .info-block .email-3,
.contact-info .info-block .email-4 {
  color: #90e606;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info .info-block .phone-1:hover,
.contact-info .info-block .phone-2:hover,
.contact-info .info-block .phone-3:hover,
.contact-info .info-block .email-1:hover,
.contact-info .info-block .email-2:hover,
.contact-info .info-block .email-3:hover,
.contact-info .info-block .email-4:hover {
  color: #e0e0e0;
  text-decoration: underline;
}

.contact-info {
  display: grid;
  gap: 16px;
}

/* CTA */
.section.cta-final {
  background: #466070;
}

.cta-final-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Make key sections full-height with shared background image */
.about,
.services,
.properties,
.financial,
.testimonials,
.contact {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background-image: linear-gradient(rgba(3, 7, 18, 0.85), rgba(3, 7, 18, 0.92)), url('../images/about.jpg') !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Contact Us section title styling */
.contact .section-title {
  color: white;
}

/* Financial Solutions section title styling */
.financial .section-title {
  color: white;
}

/* Testimonials section title styling */
.testimonials .section-title {
  color: white;
}

/* Testimonials content styling */
.testimonials .testimonial blockquote {
  color: white;
}

.testimonials .testimonial figcaption {
  color: #05fc6c;
}

/* About section main paragraph styling */
.about .about-copy>p {
  color: #eaebea;
}

/* About cards text alignment */
.about .about-card p {
  text-align: justify !important;
}

/* Service cards text alignment */
.service-card p {
  text-align: justify !important;
}

/* Financial Solutions cards text alignment */
.financial-card p {
  text-align: justify !important;
}

/* All cards text color - white */
.about-card p,
.service-card p,
.financial-card p {
  color: #eaebea !important;
}

/* Card headings color - dark blue */
.about-card h3,
.service-card h3,
.financial-card h3 {
  color: var(--color-primary) !important;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

/* Navigation button animations - Dynamic style */
.nav-list a {
  position: relative;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 8px 16px;
  border: 2px solid transparent;
  border-radius: 20px;
  background: linear-gradient(45deg, transparent, transparent);
  overflow: hidden;
  display: inline-block;
}

.nav-list a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(11, 61, 145, 0.15), rgba(27, 158, 119, 0.15));
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: -1;
}

.nav-list a::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transition: left 0.7s ease;
}

.nav-list a:hover::before {
  width: 120px;
  height: 120px;
}

.nav-list a:hover::after {
  left: 100%;
}

.nav-list a:hover {
  color: #0b3d91;
  font-weight: 600;
  border-color: rgba(11, 61, 145, 0.2);
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 6px 20px rgba(11, 61, 145, 0.15);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-list a:active {
  transform: translateY(0) scale(0.99);
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(11, 61, 145, 0.1);
}

/* Footer */
.site-footer {
  padding: 40px 0 60px;
  background: #0b1220;
  color: #e5e7eb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 24px;
}

.site-footer a {
  color: #cbd5e1;
  text-decoration: none;
}

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

.footer-brand .brand span {
  color: #e5e7eb;
}

.social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.disclaimer {
  font-size: 12px;
  color: #9ca3af;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, var(--color-primary), var(--color-secondary), transparent 60%);
  transition: transform 0.5s ease;
  transform: translate(-50%, -50%) scale(0);
  z-index: -1;
  border-radius: 50%;
}

.btn:hover::before {
  transform: translate(-50%, -50%) scale(1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #030712 !important;
  border: none;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.5), 0 0 40px rgba(157, 78, 221, 0.3);
  color: #ffffff !important;
}

.btn-outline {
  background: transparent;
  color: var(--color-primary) !important;
  border: 1px solid rgba(0, 242, 254, 0.4);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
  color: #ffffff !important;
}

/* Utility: shift element 200px to the right */
.shift-right-200 {
  margin-left: 900px;
  width: 250px;
  background-color: #367fdf;
  transform: translateY(-70px);
}

/* Utility: shift element 50px to the left */
.shift-left-50 {
  margin-left: -50px;
  background-color: #1b9e77;
  transform: translateY(-20px);
}

/* Interactive Property Filter Tabs */
.properties-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.properties-tabs .btn {
  cursor: pointer;
  pointer-events: auto;
  border-radius: 20px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.properties-tabs .btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(11, 61, 145, 0.2);
}

/* Fade & Blur Filtered-Out Properties to preserve desktop custom layout positions */
.properties-grid .property-card {
  transition: transform 300ms ease, opacity 300ms ease, filter 300ms ease, box-shadow 220ms ease;
}

.properties-grid .property-card.is-filtered-out {
  opacity: 0.08;
  filter: grayscale(100%) blur(1.5px);
  pointer-events: none;
  transform: scale(0.9) !important;
}

/* Premium Glassmorphism Enquiry Modal */
.enquiry-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.enquiry-modal-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.enquiry-modal {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  width: min(500px, 90%);
  padding: 30px;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.25);
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.enquiry-modal-overlay.is-active .enquiry-modal {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: var(--color-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--color-text);
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-header h3 {
  margin: 0 0 8px;
  color: var(--color-primary);
  font-size: 22px;
  font-family: 'Merriweather', serif;
}

.enquiry-sub {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
  font-weight: 500;
}

.modal-choices {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.choice-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 14px;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.6);
  text-align: left;
  cursor: pointer;
  width: 100%;
  transition: all 0.25s ease;
}

.choice-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.choice-info {
  display: flex;
  flex-direction: column;
}

.choice-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text);
  margin-bottom: 2px;
}

.choice-desc {
  font-size: 12px;
  color: var(--color-muted);
  line-height: 1.4;
}

/* WhatsApp Choice Styles */
.wa-choice {
  border-color: rgba(37, 211, 102, 0.15);
}

.wa-choice .choice-icon {
  background: rgba(37, 211, 102, 0.1);
  color: #25D366;
}

.wa-choice:hover {
  background: rgba(37, 211, 102, 0.05);
  border-color: #25D366;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.15);
}

/* Email Choice Styles */
.email-choice {
  border-color: rgba(11, 61, 145, 0.15);
}

.email-choice .choice-icon {
  background: rgba(11, 61, 145, 0.1);
  color: var(--color-primary);
}

.email-choice:hover {
  background: rgba(11, 61, 145, 0.05);
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 61, 145, 0.15);
}


/* Floating WhatsApp */
.floating-wa {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
  animation: floatingWaGlow 3s ease-in-out infinite;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s ease;
  z-index: 999;
}

.floating-wa:hover {
  filter: brightness(1.06);
  transform: scale(1.1) rotate(5deg);
}

@keyframes floatingWaGlow {

  0%,
  100% {
    box-shadow: 0 0 12px rgba(0, 255, 136, 0.35);
  }

  50% {
    box-shadow: 0 0 25px rgba(0, 255, 136, 0.65), 0 0 10px rgba(0, 255, 136, 0.2);
  }
}

/* Scroll reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Swipe-from-right animation helper for reveal-on-scroll - updated to vertical reveal to prevent right-to-left horizontal jump */
.reveal-on-scroll.from-right {
  transform: translateY(12px);
}

.reveal-on-scroll.from-right.is-visible {
  transform: translateY(0);
}

/* Completed Properties Page Styles */
.page-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: white;
  text-align: center;
  padding: 1% 0 10px;
}

.page-header-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 10px;
  font-family: 'Merriweather', serif;
}

.page-subtitle {
  font-size: 16px;
  margin: 0 0 15px;
  opacity: 0.9;
  line-height: 1.6;
}

.breadcrumb {
  font-size: 14px;
  opacity: 0.8;
}

.breadcrumb a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
  opacity: 1;
}

.completed-properties {
  background: var(--color-surface);
}

.property-status {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.property-status.completed {
  background: #10b981;
  color: white;
}

.completion-date {
  color: var(--color-muted);
  font-size: 14px;
  margin: 8px 0 15px;
  font-style: italic;
}

.property-description {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e2e8f0;
}

.property-description p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.6;
}

/* Success Metrics Section */
.success-metrics {
  background: white;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.metric-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.metric-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  font-family: 'Merriweather', serif;
}

.metric-label {
  font-size: 16px;
  color: var(--color-muted);
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 20px;
  font-family: 'Merriweather', serif;
}

.cta-content p {
  font-size: 18px;
  margin: 0 0 30px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 160px;
}

/* Properties CTA Section */
.properties-cta {
  margin-top: 20px;
  text-align: center;
  padding: 10px;
  background: var(transparent);
  border-radius: var(transparent);
  box-shadow: var(transparent);
  width: 600px;
  transform: translateY(-200px) translateX(900px);
  height: 100px;
}

.properties-cta .cta-content h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 10px;
  color: rgb(90, 83, 83);
}

.properties-cta .cta-content p {
  font-size: 12px;
  color: white;
  margin: 0 0 25px;
}

/* Footer Updates */
.footer-section ul li a[href="completed-properties.html"] {
  color: var(--color-accent);
  font-weight: 500;
}

/* Responsive */
@media (max-width: 960px) {

  /* Container adjustments */
  .container {
    width: 95%;
    padding: 0 10px;
  }

  /* Section padding adjustments */
  .section {
    padding: 40px 0;
  }

  /* Header adjustments */
  .nav-container {
    height: 70px;
    padding: 0 15px;
  }

  /* Reset nav shift on mobile */
  .site-header .nav[aria-label="Main navigation"] {
    transform: none;
  }

  /* Brand adjustments for mobile */
  .site-header .brand img[src$="logo.svg"] {
    transform: translateX(20px) scale(1);
  }

  .site-header .brand img[src$="SMname.png"] {
    transform: translateX(40px) scale(1.2);
  }

  /* Navigation toggle */
  .nav-toggle {
    display: inline-block;
  }

  .nav-list {
    position: absolute;
    right: 0;
    top: 70px;
    background: var(--header-bg);
    border: 1px solid var(--header-border);
    border-radius: 12px;
    padding: 20px;
    flex-direction: column;
    gap: 15px;
    box-shadow: var(--shadow-md);
    display: none;
    min-width: 200px;
  }

  .nav-list.is-open {
    display: flex;
  }

  .nav-list a {
    padding: 10px 15px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
  }

  .nav-list a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }

  /* Hero section mobile adjustments */
  .hero {
    padding-top: 80px;
    min-height: 80vh;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
    text-align: center;
  }

  .hero-copy {
    margin-left: 0;
    margin-top: 20px;
  }

  .hero-copy h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .tagline {
    font-size: 16px;
    margin: 0 0 20px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
    padding: 14px 20px;
  }

  /* Hero video adjustments */
  .hero-video {
    height: 300px;
    transform: none;
    margin: 0 auto;
  }

  /* About section mobile adjustments */
  .about .container.grid-2 {
    margin-top: -50px;
    min-height: auto;
    padding: 30px 20px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about .about-copy h2 {
    margin-left: 0;
    font-size: 28px;
    text-align: center;
  }

  .about .about-copy>p {
    margin-left: 0;
    margin-right: 0;
    text-align: center;
  }

  .about .about-media img {
    margin-left: 0;
    margin-top: 20px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
  }

  .about-cards {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    transform: none !important;
    margin-top: 20px !important;
  }

  .about-card {
    min-height: auto;
    padding: 20px;
  }

  /* Services section mobile adjustments */
  .services .container {
    margin-top: -30px;
  }

  .services-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .services-illustration {
    text-align: center;
  }

  .services-illustration img[src$="service.png"] {
    width: 80%;
    transform: none;
    margin: 0 auto;
  }

  .services-illustration .finance-image {
    transform: none;
    width: 80%;
    margin: 20px auto 0;
  }

  .services-grid {
    transform: none;
    margin: 0;
  }

  .service-card {
    padding: 20px;
  }

  .cinematic-scroll {
    height: 150px;
  }

  .cinematic-inner p {
    font-size: 14px;
    line-height: 1.7;
  }

  /* Properties section mobile adjustments */
  .properties-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .properties-tabs {
    margin-left: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
  }

  .properties-tabs .btn {
    padding: 10px 16px;
    font-size: 14px;
  }

  .properties .section-title {
    font-size: 28px;
    transform: none;
    margin-bottom: 20px;
  }

  /* Reset all property card positioning for mobile and force vertical-only scroll reveal */
  .properties-grid .property-card,
  .properties-grid .property-card:nth-child(1),
  .properties-grid .property-card:nth-child(2),
  .properties-grid .property-card:nth-child(3),
  .properties-grid .property-card:nth-child(4),
  .properties-grid .property-card:nth-child(5),
  .properties-grid .property-card:nth-child(6),
  .properties-grid .property-card:nth-child(7),
  .properties-grid .property-card:nth-child(8) {
    transform: translateY(12px) !important;
    width: 100% !important;
    justify-self: stretch !important;
    grid-column: auto !important;
    margin: 0 0 20px !important;
  }

  .properties-grid .property-card.is-visible,
  .properties-grid .property-card:nth-child(1).is-visible,
  .properties-grid .property-card:nth-child(2).is-visible,
  .properties-grid .property-card:nth-child(3).is-visible,
  .properties-grid .property-card:nth-child(4).is-visible,
  .properties-grid .property-card:nth-child(5).is-visible,
  .properties-grid .property-card:nth-child(6).is-visible,
  .properties-grid .property-card:nth-child(7).is-visible,
  .properties-grid .property-card:nth-child(8).is-visible {
    transform: translateY(0) !important;
  }

  .properties-grid .property-card:hover,
  .properties-grid .property-card:nth-child(1):hover,
  .properties-grid .property-card:nth-child(2):hover,
  .properties-grid .property-card:nth-child(3):hover,
  .properties-grid .property-card:nth-child(4):hover,
  .properties-grid .property-card:nth-child(5):hover,
  .properties-grid .property-card:nth-child(6):hover,
  .properties-grid .property-card:nth-child(7):hover,
  .properties-grid .property-card:nth-child(8):hover {
    transform: translateY(-6px) !important;
  }

  /* Completed properties mobile adjustments */
  .properties-grid.completed-properties {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .properties-grid.completed-properties .property-card {
    width: 100%;
    max-width: 400px;
  }

  .properties-grid.completed-properties .property-card:nth-child(1),
  .properties-grid.completed-properties .property-card:nth-child(2),
  .properties-grid.completed-properties .property-card:nth-child(3),
  .properties-grid.completed-properties .property-card:nth-child(4),
  .properties-grid.completed-properties .property-card:nth-child(5),
  .properties-grid.completed-properties .property-card:nth-child(6) {
    order: auto;
  }

  .properties-grid .align-under-logo {
    margin-left: 0;
    margin-right: 0;
    translate: none;
  }

  .property-card {
    max-width: 400px;
    margin: 0 auto;
  }

  .property-body {
    padding: 15px;
  }

  .property-body h3 {
    font-size: 16px;
    line-height: 1.4;
  }

  /* Financial section mobile adjustments */
  .financial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .financial-card {
    padding: 20px;
  }

  /* Testimonials section mobile adjustments */
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial {
    padding: 20px;
  }

  /* Contact section mobile adjustments */
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form {
    padding: 20px;
  }

  .form-field input,
  .form-field textarea {
    padding: 14px 16px;
    font-size: 16px;
    /* Prevents zoom on iOS */
  }

  .form-actions {
    flex-direction: column;
    gap: 12px;
  }

  .form-actions .btn {
    width: 100%;
    padding: 14px 20px;
  }

  .contact-info .info-block,
  .contact-info .map-block {
    padding: 20px;
  }

  /* Footer mobile adjustments */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  /* CTA section mobile adjustments */
  .cta-final-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .cta-final-inner h2 {
    font-size: 24px;
  }

  .cta-final-inner .btn {
    width: 100%;
    max-width: 280px;
    padding: 14px 20px;
  }

  /* Floating WhatsApp mobile adjustments */
  .floating-wa {
    right: 15px;
    bottom: 15px;
    width: 50px;
    height: 50px;
    font-size: 14px;
  }

  /* Section title mobile adjustments */
  .section-title {
    font-size: 28px;
    transform: none;
    text-align: center;
    margin-bottom: 20px;
  }

  /* Utility adjustments for mobile */
  .shift-right-200,
  .shift-left-50 {
    margin-left: 0;
    transform: none;
    width: auto;
  }
}

/* Additional mobile optimizations for smaller screens */
@media (max-width: 480px) {
  .container {
    width: 98%;
    padding: 0 5px;
  }

  .section {
    padding: 30px 0;
  }

  .hero-copy h1 {
    font-size: 28px;
  }

  .tagline {
    font-size: 15px;
  }

  .hero-video {
    height: 250px;
  }

  .about-card {
    padding: 15px;
  }

  .service-card {
    padding: 15px;
  }

  .property-body {
    padding: 12px;
  }

  .property-body h3 {
    font-size: 15px;
  }

  .financial-card {
    padding: 15px;
  }

  .testimonial {
    padding: 15px;
  }

  .contact-form {
    padding: 15px;
  }

  .contact-info .info-block,
  .contact-info .map-block {
    padding: 15px;
  }

  .nav-list {
    min-width: 180px;
    right: 10px;
  }

  .floating-wa {
    right: 10px;
    bottom: 10px;
    width: 45px;
    height: 45px;
    font-size: 12px;
  }
}

/* Mobile Responsiveness for New Elements */
@media (max-width: 768px) {
  .page-title {
    font-size: 36px;
  }

  .page-subtitle {
    font-size: 18px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .metric-number {
    font-size: 36px;
  }

  .cta-content h2 {
    font-size: 28px;
  }

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

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .properties-cta {
    margin-top: 40px;
    padding: 15px 10px;
    width: 60px;
    height: 20px;
  }

  .properties-cta .cta-content h3 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .page-header {
    padding: 40px 0 30px;
  }

  .page-title {
    font-size: 20px;
  }

  .page-subtitle {
    font-size: 14px;
  }

  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .cta-content h2 {
    font-size: 24px;
  }

  /* Completed properties small mobile adjustments */
  .properties-grid.completed-properties {
    gap: 20px;
  }

  .properties-grid.completed-properties .property-card {
    max-width: 320px;
  }
}

/* ==========================================================================
   FUTURISTIC STYLING ADDITIONS (HUD, Blueprint Grid, Bento, Cyber-accents)
   ========================================================================== */

/* Typography */
h1,
h2,
h3,
.section-title {
  font-family: 'Orbitron', 'Inter', sans-serif !important;
  letter-spacing: 1px;
}

/* Digital Blueprint Grid Backdrop */
.grid-bg-overlay {
  background-image:
    linear-gradient(rgba(0, 242, 254, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 254, 0.035) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center top;
}

/* Global Viewport Blueprint Laser Scan Line */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-primary), var(--color-accent), var(--color-primary), transparent);
  box-shadow: 0 0 10px var(--color-primary), 0 0 18px var(--color-primary);
  opacity: 0.22;
  animation: globalLaserScan 8s linear infinite;
  pointer-events: none;
  z-index: 9999;
}

@keyframes globalLaserScan {
  0% {
    transform: translateY(-20px);
    opacity: 0;
  }

  5% {
    opacity: 0.22;
  }

  95% {
    opacity: 0.22;
  }

  100% {
    transform: translateY(102vh);
    opacity: 0;
  }
}

/* HUD Glassmorphism Cards */
.hud-card,
.about-card,
.service-card,
.property-card,
.financial-card,
.testimonial {
  background: radial-gradient(600px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
      rgba(0, 242, 254, 0.08),
      transparent 40%), var(--color-card-bg) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 242, 254, 0.12) !important;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
  border-radius: var(--radius);
}

/* HUD Corner Brackets */
.hud-card::before,
.hud-card::after,
.about-card::before,
.about-card::after,
.service-card::before,
.service-card::after,
.property-card::before,
.property-card::after,
.financial-card::before,
.financial-card::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.hud-card::before,
.about-card::before,
.service-card::before,
.property-card::before,
.financial-card::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid rgba(0, 242, 254, 0.35);
  border-left: 2px solid rgba(0, 242, 254, 0.35);
}

.hud-card::after,
.about-card::after,
.service-card::after,
.property-card::after,
.financial-card::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid rgba(157, 78, 221, 0.35);
  border-right: 2px solid rgba(157, 78, 221, 0.35);
}

/* HUD Card Hover Effects */
.hud-card:hover,
.about-card:hover,
.service-card:hover,
.property-card:hover,
.financial-card:hover,
.testimonial:hover {
  border-color: rgba(0, 242, 254, 0.4) !important;
  box-shadow: 0 10px 30px rgba(0, 242, 254, 0.15), 0 0 20px rgba(157, 78, 221, 0.08) !important;
  transform: translateY(-5px);
}

.hud-card:hover::before,
.about-card:hover::before,
.service-card:hover::before,
.property-card:hover::before,
.financial-card:hover::before {
  border-color: var(--color-primary);
}

.hud-card:hover::after,
.about-card:hover::after,
.service-card:hover::after,
.property-card:hover::after,
.financial-card:hover::after {
  border-color: var(--color-secondary);
}

/* Specific overrides for HUD Property cards */
.property-card {
  background: var(--color-card-bg) !important;
}

.property-body h3 {
  color: var(--color-text) !important;
}

.property-meta {
  color: var(--color-muted) !important;
}

.property-price {
  color: var(--color-accent) !important;
}

.completion-date {
  color: var(--color-muted) !important;
  font-size: 12px;
}

.property-description p {
  color: var(--color-text) !important;
}

.property-status.completed {
  background: rgba(0, 255, 136, 0.12) !important;
  color: var(--color-accent) !important;
  border: 1px solid rgba(0, 255, 136, 0.25);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 8px;
}

/* ASYMMETRIC BENTO GRIDS */

/* About Section Bento Grid */
.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 22px !important;
  margin-top: 30px !important;
  transform: translateX(-100px) !important;
}

.about-card:nth-child(1) {
  grid-column: span 2 !important;
}

.about-card:nth-child(2) {
  grid-column: span 1 !important;
}

.about-card:nth-child(3) {
  grid-column: span 3 !important;
}

/* Financial Solutions Section - Restored to balanced equal-width column layout for desktop and mobile grid alignments */

/* Particle Canvas Backdrop styling */
#hero-particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

/* Glassmorphism Enquiry Modal Custom styling */
.enquiry-modal {
  background: rgba(10, 15, 30, 0.7) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  border: 1px solid rgba(0, 242, 254, 0.2) !important;
  color: var(--color-text) !important;
}

.choice-card {
  background: rgba(15, 23, 42, 0.4) !important;
  border: 2px solid rgba(0, 242, 254, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.choice-title {
  color: var(--color-text) !important;
}

.choice-desc {
  color: var(--color-muted) !important;
}

.modal-header h3 {
  color: var(--color-primary) !important;
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.enquiry-sub {
  color: var(--color-muted) !important;
}

.wa-choice:hover {
  background: rgba(37, 211, 102, 0.08) !important;
  border-color: #25D366 !important;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.2) !important;
}

.email-choice:hover {
  background: rgba(0, 242, 254, 0.08) !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.2) !important;
}

/* Glassmorphism Form elements styling */
.form-field input,
.form-field textarea {
  background: rgba(15, 23, 42, 0.45) !important;
  border: 1px solid rgba(0, 242, 254, 0.15) !important;
  color: var(--color-text) !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.3) !important;
  outline: none;
}

.form-field label {
  color: var(--color-muted);
  font-weight: 500;
}

/* Interactive properties tabs outline styling */
.properties-tabs .btn-outline {
  background: rgba(15, 23, 42, 0.4) !important;
  border: 1px solid rgba(0, 242, 254, 0.2) !important;
  color: var(--color-primary) !important;
}

.properties-tabs .btn-outline:hover,
.properties-tabs .btn-outline.active {
  background: var(--color-primary) !important;
  color: #030712 !important;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.45) !important;
}

/* Success popup visual override */
.success-popup {
  background: rgba(10, 15, 30, 0.8) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1.5px solid var(--color-accent) !important;
  color: var(--color-text) !important;
  box-shadow: 0 20px 50px rgba(0, 255, 136, 0.2) !important;
}

.success-popup h3 {
  color: var(--color-accent) !important;
  text-shadow: 0 0 8px rgba(0, 255, 136, 0.3);
}

.success-popup p {
  color: #e2e8f0 !important;
}

.success-popup button {
  background: var(--color-accent) !important;
  color: #030712 !important;
  font-weight: 600 !important;
  border-radius: 20px !important;
}

.success-popup button:hover {
  background: #00e676 !important;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.4) !important;
}

/* Navigation menu fixes */
.site-header .nav-list a {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 8px 12px !important;
  transition: color 0.3s ease, text-shadow 0.3s ease !important;
}

.site-header .nav-list a::before,
.site-header .nav-list a::after {
  display: none !important;
}

.site-header .nav-list a:hover {
  color: var(--color-primary) !important;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.5) !important;
  transform: none !important;
}

/* Perfect alignment and scale-zoom hover effect for property-card images */
.property-card img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

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

/* Premium Glassmorphism Visitor Counter */
.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.visitor-counter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  color: #cbd5e1;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.visitor-counter:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 242, 254, 0.25);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.1);
}

.visitor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #05fc6c;
  box-shadow: 0 0 8px #05fc6c;
  animation: visitorPulse 2s infinite;
}

.visitor-text {
  font-weight: 500;
}

.visitor-number {
  font-weight: 700;
  color: #00f2fe;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
  font-family: 'Orbitron', monospace;
  letter-spacing: 0.5px;
}

@keyframes visitorPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(5, 252, 108, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(5, 252, 108, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(5, 252, 108, 0);
  }
}

@media (max-width: 640px) {
  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}