/* 
================================================================
   METALLY REAL ESTATE DEVELOPMENT - LUXURY DESIGN SYSTEM
   Bilingual Premium Soft UI & Glassmorphism Framework
   Enhanced Interactions & Scroll-Visibility Version
================================================================
*/

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://db.onlinewebfonts.com/c/11d2534b1be852ecc92863ef5cbda987?family=TT+Interphases+Pro');
@import url('https://db.onlinewebfonts.com/c/dee436f274c410c23fc3de43367ef1ae?family=Janna+LT');

/* Custom Variables */
:root {
  --primary-dark: #06332A;       /* Deep Pine Green from SS */
  --primary-dark-rgb: 6, 51, 42;
  --secondary-olive: #4E8A53;     /* Vibrant Sage/Leaf Green from SS */
  --secondary-olive-rgb: 78, 138, 83;
  --accent-leaf: #4E8A53;         /* Sharp vibrant accent green */
  --accent-leaf-bright: #6AD375;  /* Brighter, highly visible green for dark backgrounds */
  --accent-leaf-rgb: 78, 138, 83;
  --accent-leaf-dark: #3E7242;
  --bg-cream: #F2F7F5;            /* Soft, clean off-white mint from SS */
  --bg-white: #FFFFFF;
  --bg-deep-green: #031A12;       /* Near-black jungle green from SS */
  --text-dark: #06332A;           /* Deep pine green for text */
  --text-muted: #53756E;          /* Soft organic slate teal-green */
  --text-light: #F2F7F5;
  
  /* Gold Accents - Mapped to premium, sophisticated gold colors */
  --accent-gold: #C5A880;
  --accent-gold-dark: #A3835B;
  --shadow-gold: 0 0 25px rgba(197, 168, 128, 0.35);
  
  /* Fonts */
  --font-header: 'Playfair Display', 'Outfit', 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-sans: 'TT Interphases Pro', 'Inter', system-ui, -apple-system, sans-serif;
  --font-arabic: 'Janna LT', 'Cairo', system-ui, -apple-system, sans-serif;

  /* Elevation (Soft UI Shadows) */
  --shadow-soft: 0 10px 30px rgba(6, 51, 42, 0.04), 0 2px 10px rgba(6, 51, 42, 0.02);
  --shadow-medium: 0 15px 45px rgba(6, 51, 42, 0.08), 0 4px 15px rgba(6, 51, 42, 0.04);
  --shadow-inset: inset 0 2px 5px rgba(6, 51, 42, 0.05);
  --shadow-leaf: 0 0 25px rgba(78, 138, 83, 0.35);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Timing */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease-out;

  /* Interactive Spotlight & Parallax Variables */
  --mouse-x: 0.5;
  --mouse-y: 0.5;
  --scroll-top: 0;
}

/* General Reset & Base Styles */
* {
  box-sizing: border-box;
}

html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-cream);
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  color: var(--text-dark);
  overflow-x: hidden;
  transition: opacity 0.2s ease;
}

/* Font Classes dynamically toggled by main.js */
body.en-font {
  font-family: var(--font-sans);
}
body.en-font h1, 
body.en-font h2, 
body.en-font h3, 
body.en-font h4, 
body.en-font .navbar-brand {
  font-family: var(--font-header);
  letter-spacing: -0.02em;
}

body.ar-font {
  font-family: var(--font-arabic);
}
body.ar-font h1, 
body.ar-font h2, 
body.ar-font h3, 
body.ar-font h4, 
body.ar-font .navbar-brand,
body.ar-font .nav-link,
body.ar-font button {
  font-family: var(--font-arabic);
  font-weight: 600;
}

/* Luxury Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-cream);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-dark), var(--secondary-olive));
  border-radius: 10px;
  border: 2px solid var(--bg-cream);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-leaf-dark);
}

/* Text selections */
::selection {
  background-color: var(--accent-leaf);
  color: var(--primary-dark);
}

/* Utility Classes */
.text-gold { color: var(--accent-leaf); }
.text-green { color: var(--accent-leaf); }
.bg-deep-green { background-color: var(--bg-deep-green); }
.bg-cream { background-color: var(--bg-cream); }
.bg-green { background-color: var(--accent-leaf-bright) !important; color: var(--primary-dark) !important; font-weight: 700; }
.border-gold { border: 1px solid var(--accent-leaf); }
.border-green { border: 1px solid var(--accent-leaf); }
.text-justify { text-align: justify; }

/* Section Spacing */
section {
  padding: 110px 0;
  position: relative;
}
@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }
}

/* Brand Section Tags */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-leaf);
  border: 1px solid rgba(78, 138, 83, 0.4);
  padding: 6px 18px;
  border-radius: 50px;
  background-color: rgba(6, 51, 42, 0.04);
  margin-bottom: 24px;
  font-weight: 600;
}
.bg-deep-green .section-tag {
  background-color: rgba(250, 247, 242, 0.06);
}

/* Custom Modern Green Buttons */
.btn-gold, .btn-green {
  background: linear-gradient(135deg, var(--accent-leaf), var(--accent-leaf-dark));
  color: var(--bg-white) !important;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: none;
  padding: 14px 34px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(78, 138, 83, 0.4);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-gold:hover, .btn-green:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-leaf);
  background: linear-gradient(135deg, var(--accent-leaf-dark), var(--accent-leaf));
}
.btn-gold:active, .btn-green:active {
  transform: translateY(1px);
}

.btn-outline-gold, .btn-outline-green {
  background: transparent;
  color: var(--bg-cream) !important;
  border: 1.5px solid var(--accent-leaf-bright);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 32px;
  border-radius: 12px;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-outline-gold:hover, .btn-outline-green:hover {
  background: rgba(78, 138, 83, 0.08);
  color: var(--accent-leaf) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(78, 138, 83, 0.1);
}

/* Glassmorphism containers */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(78, 138, 83, 0.15);
  box-shadow: var(--shadow-soft);
}
.glass-panel-dark {
  background: rgba(6, 51, 42, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(78, 138, 83, 0.2);
  box-shadow: var(--shadow-medium);
  color: var(--text-light);
}

/* Soft UI Cards - Modern Editorial Aesthetic */
.soft-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(6, 51, 42, 0.05);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  height: 100%;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
@media (max-width: 768px) {
  .soft-card {
    padding: 24px;
  }
}
.soft-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(78, 138, 83, 0.25);
}

/* Responsive Borders */
@media (min-width: 768px) {
  .border-end-md {
    border-inline-end: 1px solid rgba(7, 44, 36, 0.1);
  }
}

/* Fixed Dual-Phase Glassmorphic Navbar */
.navbar {
  transition: var(--transition-smooth);
  padding: 20px 0;
  background: rgba(7, 44, 36, 0.85) !important; /* Premium semi-transparent dark emerald by default to prevent visibility loss */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 2000; /* Extremely high z-index to guarantee absolute top visibility */
  border-bottom: 1.5px solid rgba(78, 138, 83, 0.15);
}

/* Fully visible, high-contrast navbar state on scroll */
.navbar.scrolled {
  background: #051F19 !important; /* Pure solid high-contrast dark green - NO transparency overlay leaks */
  border-bottom: 2px solid var(--accent-leaf) !important; /* Elegant green borderline for clarity over white */
  padding: 10px 0;
  box-shadow: 0 10px 40px rgba(4, 22, 18, 0.2) !important;
}

.navbar-brand {
  display: flex;
  align-items: center;
}
.brand-logo-img {
  height: 42px;
  width: auto;
  transition: var(--transition-smooth);
}
.navbar.scrolled .brand-logo-img {
  height: 36px;
}
.navbar-brand:hover .brand-logo-img {
  transform: scale(1.03);
}
.footer-logo-img {
  height: 55px;
  width: auto;
  transition: var(--transition-smooth);
}
.footer-logo-img:hover {
  transform: scale(1.03);
}
.brand-title {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--bg-cream);
  line-height: 1;
  transition: var(--transition-fast);
}
.brand-subtitle {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--accent-leaf);
  font-family: var(--font-sans);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Navbar Scrolled color overrides to guarantee visibility over white backgrounds */
.navbar.scrolled .brand-title {
  color: #FFFFFF !important;
}
.navbar.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
}
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--accent-leaf) !important;
  background-color: rgba(255, 255, 255, 0.06);
}

.nav-link {
  color: rgba(250, 247, 242, 0.9) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 18px !important;
  margin: 0 3px;
  border-radius: 50px;
  transition: var(--transition-fast);
}
.nav-link:hover, .nav-link.active {
  color: var(--accent-leaf) !important;
  background-color: rgba(250, 247, 242, 0.08);
}

.lang-btn {
  background-color: rgba(250, 247, 242, 0.08);
  border: 1px solid rgba(78, 138, 83, 0.35);
  color: var(--accent-leaf) !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 18px !important;
  border-radius: 50px;
  transition: var(--transition-smooth);
}
.lang-btn:hover {
  background-color: var(--accent-leaf);
  color: var(--bg-white) !important;
  box-shadow: var(--shadow-leaf);
}

/* Mobile Collapse Menu Drawer Styling - Overrides Bootstrap defaults for visual legibility on white bg */
@media (max-width: 991.98px) {
  .navbar {
    padding: 14px 0;
  }
  .navbar-collapse {
    background: rgba(5, 31, 25, 0.98) !important; /* Full solid overlay glass menu */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1.5px solid rgba(78, 138, 83, 0.25) !important;
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 15px;
    box-shadow: var(--shadow-medium);
    animation: slideDownMenu 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
  @keyframes slideDownMenu {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .navbar-nav {
    align-items: flex-start !important;
  }
  .nav-item {
    width: 100%;
  }
  .nav-link {
    padding: 12px 20px !important;
    margin: 4px 0 !important;
    width: 100%;
    text-align: start;
    border-radius: 8px;
  }
  .lang-btn {
    display: inline-block;
    margin-top: 10px;
    width: auto;
  }
}

/* Decorative Floating Vector Shapes */
.floating-elements-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.floating-ring {
  position: absolute;
  border: 1.5px solid rgba(78, 138, 83, 0.08);
  border-radius: 50%;
  animation: floatRing 12s infinite linear;
}
.floating-ring-1 {
  width: 300px;
  height: 300px;
  top: 15%;
  right: -5%;
}
.floating-ring-2 {
  width: 450px;
  height: 450px;
  bottom: 10%;
  left: -10%;
  animation-duration: 20s;
  animation-direction: reverse;
}
.floating-ring-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  right: 15%;
  border-style: dashed;
  animation-duration: 15s;
}

@keyframes floatRing {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(180deg); }
  100% { transform: translateY(0px) rotate(360deg); }
}

/* Advanced Interactive & Parallax Systems */
.hero-spotlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    600px circle at calc(var(--mouse-x) * 100%) calc(var(--mouse-y) * 100%),
    rgba(78, 138, 83, 0.07) 0%,
    transparent 80%
  );
  z-index: 2;
  pointer-events: none;
  transition: background 0.15s ease-out;
}

.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  transform: translate3d(
    calc((var(--mouse-x) - 0.5) * var(--depth, 20) * 1px),
    calc((var(--mouse-y) - 0.5) * var(--depth, 20) * 1px),
    0
  );
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.parallax-wrap {
  position: relative;
  transform: translate3d(
    calc((var(--mouse-x) - 0.5) * var(--depth, 20) * 1px),
    calc((var(--mouse-y) - 0.5) * var(--depth, 20) * 1px),
    0
  );
  transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.scroll-parallax-layer {
  transform: translateY(calc(var(--scroll-top) * var(--parallax-speed, 0.15) * 1px));
  will-change: transform;
}

/* Staggered entry transition delays */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* Scroll-Draw Heading Underlines */
.reveal-on-scroll .heading-green-accent::after,
.reveal-on-scroll.heading-green-accent::after,
.reveal-on-scroll .heading-gold-accent::after,
.reveal-on-scroll.heading-gold-accent::after {
  width: 0% !important;
}
.reveal-visible .heading-green-accent::after,
.reveal-visible.heading-green-accent::after,
.reveal-visible .heading-gold-accent::after,
.reveal-visible.heading-gold-accent::after {
  width: 70px !important;
}


/* Premium 3D Card Hover Tilts & Animations */
.soft-card, .calc-output-card, .concept-card, .contact-info-card {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.soft-card:hover, .calc-output-card-metally:hover, .concept-card:hover, .contact-info-card:hover {
  transform: translateY(-8px) scale(1.02) rotateX(1.5deg) rotateY(-1.5deg);
  box-shadow: 0 25px 50px rgba(6, 51, 42, 0.12), 0 0 25px rgba(78, 138, 83, 0.2);
  border-color: rgba(78, 138, 83, 0.4) !important;
}
.calc-output-card-conv:hover {
  transform: translateY(-5px) scale(1.01) rotateX(1deg) rotateY(-1deg);
  box-shadow: 0 15px 35px rgba(6, 51, 42, 0.05);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: 80px;
  background-color: var(--primary-dark);
  overflow: hidden;
}

/* Background image with parallax overlay */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, rgba(7, 44, 36, 0.96) 25%, rgba(4, 22, 18, 0.65) 100%), url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
}

.hero-badge-slogan {
  display: inline-block;
  padding: 6px 18px;
  background-color: rgba(106, 211, 117, 0.15);
  border: 1px solid rgba(106, 211, 117, 0.4);
  color: var(--accent-leaf-bright);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
  backdrop-filter: blur(5px);
  text-shadow: 0 0 10px rgba(106, 211, 117, 0.5);
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.1em !important;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
@media (max-width: 992px) {
  .hero-title {
    font-size: 3rem;
  }
}
@media (max-width: 576px) {
  .hero-badge-slogan {
    font-size: 0.7rem;
    padding: 4px 12px;
    margin-bottom: 10px;
  }
  .hero-title {
    font-size: 1.85rem;
    margin-bottom: 4px;
    letter-spacing: 0.1em !important;
  }
  .hero-location {
    font-size: 1.05rem;
    margin-bottom: 12px;
    letter-spacing: 0.1em;
  }
  .luxury-star-anim {
    display: none !important;
  }
}

.hero-location {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent-leaf);
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 24px;
  color: var(--bg-cream);
  opacity: 0.95;
}
@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 1.4rem;
  }
}

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 40px;
  max-width: 560px;
}
@media (max-width: 576px) {
  .hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 12px;
  }
  .hero-desc {
    font-size: 0.88rem;
    margin-bottom: 20px;
    line-height: 1.6;
  }
  .btn-gold, .btn-green {
    padding: 10px 20px !important;
    font-size: 0.85rem !important;
  }
  .btn-outline-gold, .btn-outline-green {
    padding: 9px 18px !important;
    font-size: 0.85rem !important;
  }
}

/* Floating Metrics Grid */
.hero-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 576px) {
  .hero-metrics-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

.hero-metric-card {
  background: rgba(250, 247, 242, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(78, 138, 83, 0.25);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition-smooth);
}
.hero-metric-card:hover {
  background: rgba(250, 247, 242, 0.14);
  transform: translateY(-4px);
  box-shadow: var(--shadow-leaf);
}
.hero-metric-val {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-leaf);
  line-height: 1.2;
  margin-bottom: 4px;
}
.hero-metric-lbl {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--bg-cream);
  opacity: 0.8;
}

/* Founder Biography Section */
.founder-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 1.5px solid rgba(78, 138, 83, 0.25);
  background-color: var(--primary-dark);
}
.founder-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 6s ease;
  filter: brightness(0.9) contrast(1.05);
}
.founder-image-wrapper:hover .founder-img {
  transform: scale(1.06);
}

.founder-img-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(7, 44, 36, 0.9);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(78, 138, 83, 0.35);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  color: var(--text-light);
}

.strength-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--bg-white);
  border: 1px solid rgba(7, 44, 36, 0.05);
  padding: 8px 18px;
  margin: 5px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--primary-dark);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}
.strength-badge i {
  color: var(--accent-leaf-dark);
}
.strength-badge:hover {
  transform: translateY(-2px);
  border-color: var(--accent-leaf);
  box-shadow: 0 4px 12px rgba(7, 44, 36, 0.08);
}

.quote-box {
  border-inline-start: 4px solid var(--accent-leaf);
  padding-inline-start: 24px;
  margin: 30px 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Structured Living Concept Section */
.concept-tabs-nav {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  background-color: rgba(7, 44, 36, 0.03);
  padding: 8px;
  border-radius: 50px;
  border: 1px solid rgba(7, 44, 36, 0.05);
}
.concept-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 24px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 50px;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}
.concept-tab-btn.active, .concept-tab-btn:hover {
  background-color: var(--primary-dark);
  color: var(--bg-cream);
  box-shadow: var(--shadow-soft);
}

.concept-pill-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(78, 138, 83, 0.15);
  color: var(--accent-leaf);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.use-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  border: 1px solid rgba(7, 44, 36, 0.03);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-fast);
}
.use-item i {
  color: var(--secondary-olive);
  font-size: 1.2rem;
}
.use-item:hover {
  transform: translateX(6px);
  border-color: rgba(78, 138, 83, 0.35);
  box-shadow: var(--shadow-soft);
}
html[dir="rtl"] .use-item:hover {
  transform: translateX(-6px);
}

/* Interactive Floor Plan Section */
.floor-plan-pill-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.floor-plan-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid rgba(7, 44, 36, 0.03);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}
.floor-plan-pill i {
  color: var(--text-muted);
  transition: var(--transition-fast);
}
.floor-plan-pill.active, .floor-plan-pill:hover {
  background: var(--primary-dark);
  color: var(--bg-cream);
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-medium);
}
.floor-plan-pill.active i, .floor-plan-pill:hover i {
  color: var(--accent-leaf);
  transform: scale(1.1);
}

/* HTML/CSS interactive floor blueprint visual */
.blueprint-visual-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 250px;
  background: #02110e;
  border-radius: var(--radius-lg);
  border: 2px solid rgba(78, 138, 83, 0.25);
  box-shadow: var(--shadow-medium);
  overflow: hidden;
  padding: 20px;
}
.blueprint-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(78, 138, 83, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 138, 83, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 1;
}

.blueprint-layout {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* Laser scanning animation for CAD Blueprint */
.blueprint-laser {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-leaf), transparent);
  box-shadow: 0 0 8px var(--accent-leaf), 0 0 16px var(--accent-leaf);
  z-index: 5;
  animation: blueprintScan 5s infinite ease-in-out;
  pointer-events: none;
}
@keyframes blueprintScan {
  0% { top: 0%; opacity: 0; }
  10% { opacity: 0.8; }
  90% { opacity: 0.8; }
  100% { top: 100%; opacity: 0; }
}

/* Floor Blocks */
.floor-highlight {
  position: absolute;
  border: 1px dashed rgba(78, 138, 83, 0.4);
  background-color: rgba(78, 138, 83, 0.04);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(242, 247, 245, 0.5);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
  text-align: center;
  line-height: 1.35;
  padding: 6px;
}
.floor-highlight span {
  display: block;
  width: 100%;
  text-align: center;
}
@media (max-width: 768px) {
  .floor-highlight {
    font-size: 0.65rem;
    padding: 2px;
    letter-spacing: 0;
    line-height: 1.15;
  }
}
@media (max-width: 480px) {
  .floor-highlight {
    font-size: 0.55rem;
  }
}
.floor-highlight-bedroom {
  top: 15%;
  left: 10%;
  width: 45%;
  height: 45%;
}
.floor-highlight-hall {
  top: 15%;
  left: 58%;
  width: 32%;
  height: 70%;
}
.floor-highlight-pantry {
  top: 64%;
  left: 10%;
  width: 25%;
  height: 21%;
}
.floor-highlight-bath {
  top: 64%;
  left: 38%;
  width: 17%;
  height: 21%;
}

/* Active and Hover States */
.floor-highlight.active, .floor-highlight:hover {
  background-color: rgba(78, 138, 83, 0.15);
  border: 1.5px solid var(--accent-leaf);
  color: var(--accent-leaf);
  box-shadow: var(--shadow-leaf);
  transform: scale(1.02);
}

.blueprint-compass {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(78, 138, 83, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-leaf);
  font-size: 0.65rem;
  z-index: 3;
}

/* Floor Detail Card */
.floor-detail-card {
  border-radius: var(--radius-md);
  border-inline-start: 4px solid var(--accent-leaf) !important;
}

/* Operational Advantage Section */
#operations {
  background-color: var(--primary-dark) !important;
  background-image: radial-gradient(circle at 50% 10%, rgba(78, 138, 83, 0.12) 0%, transparent 70%);
}
.ops-dotted-canvas {
  opacity: 0.06;
}
.ops-feat-card {
  background: rgba(250, 247, 242, 0.02);
  border: 1.5px solid rgba(78, 138, 83, 0.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.ops-feat-card:hover {
  background: rgba(250, 247, 242, 0.05);
  border-color: var(--accent-leaf);
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(4, 22, 18, 0.4), var(--shadow-leaf);
}
.ops-feat-icon {
  font-size: 1.8rem;
  color: var(--accent-leaf);
  text-shadow: 0 0 10px rgba(78, 138, 83, 0.3);
}
.ops-feat-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(78, 138, 83, 0.25);
  transition: var(--transition-smooth);
}
.ops-feat-card:hover .ops-feat-num {
  color: var(--accent-leaf);
  text-shadow: 0 0 8px var(--accent-leaf);
}

/* Widescreen showcase gallery render */
.ops-showcase-container {
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(78, 138, 83, 0.2);
  overflow: hidden;
  position: relative;
  aspect-ratio: 21 / 9;
  background-color: var(--primary-dark);
  box-shadow: 0 25px 60px rgba(3, 14, 12, 0.5);
  margin-top: 24px;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
@media (max-width: 991px) {
  .ops-showcase-container {
    aspect-ratio: 16 / 9;
  }
}
@media (max-width: 576px) {
  .ops-showcase-container {
    aspect-ratio: 4 / 3;
  }
}
.ops-showcase-image-wrapper {
  width: 100%;
  height: 120%;
  position: absolute;
  top: -10%;
  left: 0;
  overflow: hidden;
}
.ops-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.9) contrast(1.02);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.ops-showcase-container:hover .ops-showcase-img {
  transform: scale(1.025);
}
.ops-showcase-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(0deg, rgba(3, 14, 12, 0.85) 0%, transparent 100%);
  padding: 30px;
  z-index: 3;
}

/* Side-by-side Investment showcase cards */
.invest-showcase-card {
  border-radius: var(--radius-xl);
  border: 1.5px solid rgba(78, 138, 83, 0.2);
  overflow: hidden;
  position: relative;
  min-height: 380px; height: 100%;
  background-color: var(--primary-dark);
  box-shadow: 0 20px 45px rgba(3, 14, 12, 0.4);
  margin-top: 24px;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.invest-showcase-img-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}
.invest-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.85) contrast(1.02);
}
.invest-showcase-card:hover .invest-showcase-img {
  transform: scale(1.045);
}

/* Investment Case & Calculator Section */
.invest-stat-card {
  text-align: center;
  padding: 30px;
  background: var(--bg-cream);
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(78, 138, 83, 0.15);
}
.invest-stat-val {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-dark);
}

/* Yield Calculator Card */
.calc-card-wrapper {
  background-color: var(--bg-white);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(78, 138, 83, 0.2);
  box-shadow: var(--shadow-medium);
  padding: 40px;
  margin-top: 50px;
}
@media (max-width: 576px) {
  .calc-card-wrapper {
    padding: 20px;
  }
}

/* Styled Inputs */
.calc-input-group {
  margin-bottom: 30px;
}
.calc-label-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 0.95rem;
}
.calc-val-readout {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  background-color: rgba(7, 44, 36, 0.04);
  padding: 4px 14px;
  border-radius: 50px;
  border: 1px solid rgba(7, 44, 36, 0.05);
}

input[type=range].calc-range {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
  outline: none;
  cursor: pointer;
}
input[type=range].calc-range:focus {
  outline: none;
}
input[type=range].calc-range::-webkit-slider-runnable-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: rgba(7, 44, 36, 0.08);
  border-radius: 5px;
  border: none;
  transition: var(--transition-fast);
}
input[type=range].calc-range::-webkit-slider-thumb {
  height: 22px;
  width: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-leaf), var(--accent-leaf-dark));
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -8px;
  box-shadow: 0 4px 10px rgba(7, 44, 36, 0.2);
  transition: var(--transition-smooth);
  border: 2px solid var(--bg-white);
}
input[type=range].calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: var(--shadow-leaf);
}
input[type=range].calc-range::-moz-range-track {
  width: 100%;
  height: 6px;
  cursor: pointer;
  background: rgba(7, 44, 36, 0.08);
  border-radius: 5px;
}
input[type=range].calc-range::-moz-range-thumb {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-leaf), var(--accent-leaf-dark));
  cursor: pointer;
  border: 2px solid var(--bg-white);
  box-shadow: 0 4px 10px rgba(7, 44, 36, 0.2);
}
input[type=range].calc-range::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: var(--shadow-leaf);
}

/* Outputs Cards styling */
.calc-output-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  height: 100%;
  transition: var(--transition-smooth);
}
.calc-output-card-conv {
  background-color: rgba(7, 44, 36, 0.02);
  border: 1.5px solid rgba(7, 44, 36, 0.05);
}
.calc-output-card-metally {
  background-color: var(--primary-dark);
  color: var(--text-light);
  border: 1.5px solid var(--accent-leaf);
  box-shadow: var(--shadow-medium);
}
.calc-output-label {
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.8;
  margin-bottom: 8px;
}
.calc-output-value {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}
.calc-output-card-metally .calc-output-value {
  color: var(--accent-leaf);
  text-shadow: 0 0 10px rgba(78, 138, 83, 0.25);
}
.calc-output-subvalue {
  font-size: 1.3rem;
  font-weight: 600;
}

/* Premium Advantage Alert */
.advantage-banner {
  background: linear-gradient(135deg, rgba(78, 138, 83, 0.08) 0%, rgba(78, 138, 83, 0.18) 100%);
  border: 1.5px solid var(--accent-leaf);
  border-radius: var(--radius-md);
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
}
@media (max-width: 768px) {
  .advantage-banner {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}
.advantage-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.advantage-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.advantage-amt-badge {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-dark);
  background-color: var(--bg-white);
  padding: 6px 20px;
  border-radius: 50px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(78, 138, 83, 0.3);
}

.calc-disclaimer-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.85;
  margin-top: 20px;
  text-align: center;
}

/* Dynamic yield graphic bars */
.yield-graph-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 30px;
  height: 180px;
  padding: 10px;
  margin-top: 20px;
  background-color: rgba(7, 44, 36, 0.02);
  border-radius: var(--radius-md);
  border: 1px solid rgba(7, 44, 36, 0.03);
}
.yield-bar {
  flex: 1;
  max-width: 80px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: height 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: 700;
  font-size: 0.8rem;
  padding-bottom: 10px;
}
.yield-bar-conv {
  background: rgba(7, 44, 36, 0.25);
  height: 55%; /* dynamic base */
  color: var(--primary-dark);
}
.yield-bar-metally {
  background: linear-gradient(0deg, var(--primary-dark), var(--secondary-olive));
  height: 90%; /* dynamic base */
  border: 1.5px solid var(--accent-leaf);
}

/* Contact Enquiry Hub */
.contact-info-card {
  background-color: var(--primary-dark);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-medium);
  border: 1px solid rgba(78, 138, 83, 0.2);
  height: 100%;
}
.info-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}
.info-detail-row:last-child {
  margin-bottom: 0;
}
.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(250, 247, 242, 0.08);
  border: 1px solid rgba(78, 138, 83, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-leaf);
  font-size: 1.2rem;
  flex-shrink: 0;
}
.info-label {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-leaf);
  opacity: 0.85;
  margin-bottom: 4px;
}
.info-value {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.4;
}

.whatsapp-link-btn {
  background-color: #25D366;
  color: white !important;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
}
.whatsapp-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Custom Soft UI Form Fields */
.form-group {
  margin-bottom: 24px;
  position: relative;
}
.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}
.bg-deep-green .form-label {
  color: var(--accent-leaf);
}

.form-control, .form-select {
  background-color: var(--bg-cream);
  border: 1.5px solid rgba(7, 44, 36, 0.06);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}
.form-control:focus, .form-select:focus {
  background-color: var(--bg-white);
  border-color: var(--accent-leaf);
  box-shadow: 0 0 15px rgba(78, 138, 83, 0.12);
  outline: none;
}

.map-placeholder-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(7, 44, 36, 0.05);
}
.styled-map-container {
  height: 250px;
  background-color: #e5e3df;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.styled-map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.1) brightness(0.95);
  opacity: 0.85;
}

.map-card-overlay {
  position: absolute;
  background: rgba(7, 44, 36, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(78, 138, 83, 0.25);
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  text-align: center;
  box-shadow: var(--shadow-medium);
}
.map-card-overlay i {
  color: var(--accent-leaf);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

/* Footer */
footer {
  background-color: var(--bg-deep-green);
  color: var(--text-light);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(78, 138, 83, 0.15);
}
.footer-logo {
  margin-bottom: 20px;
}
.footer-tagline {
  font-size: 0.95rem;
  opacity: 0.75;
  line-height: 1.6;
  max-width: 320px;
}
.footer-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-leaf);
  margin-bottom: 24px;
}
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links-list li {
  margin-bottom: 12px;
}
.footer-links-list a {
  color: var(--text-light);
  opacity: 0.8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}
.footer-links-list a:hover {
  opacity: 1;
  color: var(--accent-leaf);
  padding-inline-start: 4px;
}
html[dir="rtl"] .footer-links-list a:hover {
  padding-inline-start: 0;
  padding-inline-end: 4px;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(250, 247, 242, 0.05);
  border: 1px solid rgba(250, 247, 242, 0.1);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}
.social-icon-btn:hover {
  background-color: var(--accent-leaf);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(250, 247, 242, 0.05);
  font-size: 0.8rem;
  opacity: 0.7;
}

/* Animations And Micro-Transitions */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 10px rgba(78, 138, 83, 0.15); }
  50% { box-shadow: 0 0 25px rgba(78, 138, 83, 0.45); }
  100% { box-shadow: 0 0 10px rgba(78, 138, 83, 0.15); }
}
.pulse-glow-gold, .pulse-glow-green {
  animation: pulseGlow 3s infinite ease-in-out;
}

@keyframes spinDrift {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, -20px) rotate(180deg); }
  100% { transform: translate(0, 0) rotate(360deg); }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}
@keyframes pulseStar {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.15); }
}
@keyframes mouseScrollPulse {
  0% { opacity: 0; transform: translateY(-5px); }
  50% { opacity: 1; transform: translateY(5px); }
  100% { opacity: 0; transform: translateY(-5px); }
}
@keyframes textGlowGlint {
  0%, 100% { text-shadow: 0 0 10px rgba(78, 138, 83, 0.2); }
  50% { text-shadow: 0 0 20px rgba(78, 138, 83, 0.5), 0 0 30px rgba(78, 138, 83, 0.3); }
}

/* Animations Classes */
.luxury-star-anim {
  animation: pulseStar 4s infinite ease-in-out;
}
.rotating-ring-slow {
  animation: spinSlow 40s infinite linear;
}
.floating-slow-anim {
  animation: floatSlow 6s infinite ease-in-out;
}
.scroll-wheel-anim {
  animation: mouseScrollPulse 1.8s infinite ease-in-out;
}
.text-glint-anim {
  animation: textGlowGlint 4s infinite ease-in-out;
}

/* Heading Gold Accent Underline */
.heading-gold-accent, .heading-green-accent {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  margin-bottom: 24px;
}
.heading-gold-accent::after, .heading-green-accent::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-leaf) 50%, transparent 100%);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.heading-gold-accent:hover::after, .heading-green-accent:hover::after {
  width: 140px;
}
html[dir="rtl"] .heading-gold-accent::after,
html[dir="rtl"] .heading-green-accent::after {
  left: 50%;
  transform: translateX(-50%);
}

/* Luxury visual overlays & Canvas dotted background */
.dotted-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.04;
  pointer-events: none;
  background-image: radial-gradient(var(--accent-leaf) 1.5px, transparent 1.5px);
  background-size: 30px 30px;
  z-index: 1;
}
.bg-deep-green .dotted-canvas {
  opacity: 0.08;
}

/* Glow Status Dots */
.status-dot-glowing {
  width: 8px;
  height: 8px;
  background-color: var(--accent-leaf);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--accent-leaf), 0 0 20px var(--accent-leaf);
  animation: pulseStar 2s infinite ease-in-out;
  margin-inline-start: 8px;
}

/* Luxury button and badge micro-interactions */
.btn-gold, .btn-outline-gold, .btn-green, .btn-outline-green {
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-gold::before, .btn-outline-gold::before, .btn-green::before, .btn-outline-green::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: all 0.6s ease;
  z-index: -1;
}
.btn-gold:hover::before, .btn-outline-gold:hover::before, .btn-green:hover::before, .btn-outline-green:hover::before {
  left: 100%;
}

/* Custom Scroll-Reveal Classes */
.js-active .reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-active .reveal-visible.reveal-on-scroll {
  opacity: 1;
  transform: translateY(0);
}

/* Zoom Transition Reveal */
.js-active .reveal-zoom {
  opacity: 0;
  transform: scale(0.94);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-active .reveal-zoom.reveal-visible {
  opacity: 1;
  transform: scale(1);
}

/* Fallback for active state regardless of animation type */
.js-active .reveal-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* RTL layout specific adjustment overrides */
html[dir="rtl"] .blueprint-compass {
  left: 20px;
  right: auto;
}
html[dir="rtl"] .btn-gold i,
html[dir="rtl"] .btn-outline-gold i,
html[dir="rtl"] .btn-green i,
html[dir="rtl"] .btn-outline-green i {
  transform: scaleX(-1);
}

/* Premium Magazine Editorial Styles */
.magazine-editorial-box {
  border: 1px solid rgba(78, 138, 83, 0.15);
  padding: 35px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}
.magazine-editorial-box::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px dashed rgba(78, 138, 83, 0.25);
  border-radius: calc(var(--radius-lg) - 6px);
  pointer-events: none;
}
.magazine-editorial-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(78, 138, 83, 0.35);
}

.magazine-editorial::first-letter {
  font-family: var(--font-header);
  font-size: 3.5rem;
  font-weight: 700;
  float: left;
  line-height: 0.85;
  margin-right: 12px;
  color: var(--accent-leaf);
}
html[dir="rtl"] .magazine-editorial::first-letter {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  float: none;
  line-height: inherit;
  margin: 0;
  color: inherit;
}

/* Hero Executive Dashboard Specifics */
.ops-executive-card {
  transition: var(--transition-smooth);
}
.ops-executive-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-leaf) !important;
  border-color: rgba(78, 138, 83, 0.5) !important;
}
.bg-dark-green-opacity {
  background: rgba(3, 26, 18, 0.6);
}
.border-green-soft {
  border: 1px solid rgba(78, 138, 83, 0.2);
  transition: var(--transition-fast);
}
.bg-dark-green-opacity:hover .border-green-soft {
  border-color: var(--accent-leaf);
}


/* --- PORTAL & LISTINGS (ADDED FOR LARAVEL DYNAMIC EXPANSION) --- */

/* WhatsApp Widget */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: pulse-whatsapp 2s infinite;
}
.whatsapp-float:hover {
  background-color: #128C7E;
  color: #FFF;
  transform: translateY(-5px);
}
@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 576px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 26px;
  }
}

/* Portfolio Filter Bar */
.filter-bar-container {
  background: rgba(7, 44, 36, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(78, 138, 83, 0.2);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: relative;
  z-index: 10;
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}
.filter-select {
  background-color: rgba(250, 247, 242, 0.05);
  border: 1px solid rgba(78, 138, 83, 0.3);
  color: var(--bg-cream);
  border-radius: var(--radius-sm);
  padding: 12px 15px;
  width: 100%;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}
.filter-select:focus {
  outline: none;
  border-color: var(--accent-leaf-bright);
  background-color: rgba(250, 247, 242, 0.08);
  box-shadow: 0 0 0 3px rgba(106, 211, 117, 0.2);
}
.filter-select option {
  background-color: var(--primary-dark);
  color: var(--bg-cream);
}

/* Project Cards */
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(3, 26, 18, 0.9) 0%, rgba(3, 26, 18, 0.2) 50%, rgba(3, 26, 18, 0) 100%);
  z-index: 1;
}
.project-card img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.7s ease;
}
.project-card:hover img {
  transform: scale(1.05);
}
.project-card-content {
  position: relative;
  z-index: 2;
  padding: 30px;
  width: 100%;
}
.project-badge {
  background-color: var(--accent-leaf);
  color: var(--bg-cream);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: inline-block;
}

/* Property Cards */
.property-card {
  background-color: var(--primary-dark);
  border: 1px solid rgba(78, 138, 83, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.property-card:hover {
  transform: translateY(-5px);
  border-color: rgba(78, 138, 83, 0.5);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}
.property-img-wrapper {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.property-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.property-card:hover .property-img-wrapper img {
  transform: scale(1.05);
}
.property-status {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: rgba(6, 51, 42, 0.85);
  backdrop-filter: blur(5px);
  color: var(--accent-leaf-bright);
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(106, 211, 117, 0.3);
}
.property-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.property-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bg-cream);
  margin-bottom: 8px;
}
.property-location {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.property-specs {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(250, 247, 242, 0.05);
  flex-wrap: wrap;
}
.property-spec-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--bg-cream);
  font-size: 0.85rem;
  opacity: 0.9;
}
.property-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}
.property-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-leaf-bright);
}

/* Swiper Custom Styling */
.swiper-pagination-bullet {
  background: var(--bg-cream);
  opacity: 0.5;
}
.swiper-pagination-bullet-active {
  background: var(--accent-leaf-bright);
  opacity: 1;
}
.swiper-button-next:after, .swiper-button-prev:after {
  color: var(--accent-leaf-bright);
  font-weight: 900;
}


/* RTL Overrides for Swiper Navigation Arrows */
html[dir="rtl"] .swiper-button-prev {
  right: 10px !important;
  left: auto !important;
}
html[dir="rtl"] .swiper-button-next {
  left: 10px !important;
  right: auto !important;
}


/* --- PROJECT PAGE BESPOKE UI --- */
.spec-matrix-cell {
  transition: background-color 0.4s ease;
}
.spec-matrix-cell:hover {
  background-color: rgba(255, 255, 255, 0.03);
}
.pulse-marker {
  animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(116, 172, 114, 0.4), 0 0 0 10px rgba(116, 172, 114, 0.2);
  }
  100% {
    box-shadow: 0 0 0 15px rgba(116, 172, 114, 0), 0 0 0 30px rgba(116, 172, 114, 0);
  }
}


/* --- GLOBAL MOBILE & TABLET RESPONSIVENESS OVERRIDES --- */

/* Tablet (Max 991px) */
@media (max-width: 991.98px) {
  /* Reduce heavy padding globally */
  .py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  .p-5 {
    padding: 2.5rem !important;
  }
  
  /* Scale down massive display typography */
  .display-1 {
    font-size: 3.5rem !important;
  }
  .display-4 {
    font-size: 2.5rem !important;
  }
  .display-5 {
    font-size: 2.25rem !important;
  }
  .display-6 {
    font-size: 1.75rem !important;
  }

  /* Fixed height images override */
  .img-fluid[style*="height: 500px"],
  .bg-image[style*="height: 600px"] {
    height: 400px !important;
  }
}

/* Mobile (Max 768px) */
@media (max-width: 767.98px) {
  /* Further reduce padding for small screens */
  .py-6 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  /* Typography */
  .display-1 {
    font-size: 2.75rem !important;
    letter-spacing: 0 !important;
  }
  .display-4 {
    font-size: 2rem !important;
  }
  .display-5 {
    font-size: 1.75rem !important;
  }
  
  /* Project Specs Matrix Compression */
  .spec-matrix-cell {
    padding: 1.5rem 1rem !important;
  }
  .spec-matrix-cell h5 {
    font-size: 1rem !important;
  }
  
  /* Cinematic Hero Fixes */
  #project-hero {
    min-height: 100vh !important;
    height: auto !important;
    padding-top: 120px !important; /* Ensure navbar doesn't cover content */
  }
  
  /* Image height overrides for mobile */
  .img-fluid[style*="height: 500px"],
  .bg-image[style*="height: 600px"] {
    height: 300px !important;
  }
  
  /* Filter bar stacking */
  .filter-bar-container .row {
    row-gap: 0.5rem;
  }
  
  /* Ops showcase card minimum height fix */
  .ops-showcase-card {
    min-height: auto !important;
  }
  
  /* Contact Info Card Padding */
  .contact-info-card {
    padding: 2rem !important;
  }
}

/* Extra Small Mobile (Max 576px) */
@media (max-width: 575.98px) {
  .display-1 {
    font-size: 2.25rem !important;
  }
  
  /* Ensure matrix text doesn't overflow completely on tiny screens */
  .spec-matrix-cell {
    padding: 1rem 0.5rem !important;
  }
  .spec-matrix-cell h5 {
    font-size: 0.85rem !important;
  }
  .spec-matrix-cell p {
    font-size: 0.7rem !important;
  }
}

/* --- LIVE INVENTORY MATRIX --- */
.inventory-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.inventory-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(116, 172, 114, 0.15);
  border-color: rgba(116, 172, 114, 0.8) !important;
}
.inventory-card .badge {
  font-size: 0.75rem;
}

/* --- INTERACTIVE SPATIAL TABS --- */
.cursor-pointer {
  cursor: pointer;
}
.spatial-tab {
  background-color: transparent;
  border-left: 3px solid transparent;
}
.spatial-tab.active {
  background-color: white;
  border-left: 3px solid var(--accent-leaf);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.spatial-tab.active span.opacity-50 {
  opacity: 1 !important;
}
.transition-opacity {
  transition: opacity 0.5s ease-in-out;
}

/* Inventory Swiper Overrides */
.inv-swiper-pagination .swiper-pagination-bullet {
  background: var(--accent-leaf);
  opacity: 0.5;
  width: 10px;
  height: 10px;
}
.inv-swiper-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}
.inv-swiper-prev:hover,
.inv-swiper-next:hover {
  background: var(--accent-leaf) !important;
  border-color: var(--accent-leaf) !important;
}
.inventory-swiper .swiper-slide {
  height: auto;
}
.inventory-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* --- Project Page Bento Box Grid --- */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
  }
  .bento-card.large {
    grid-column: 1 / -1;
  }
}

.icon-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bento-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.15) !important;
}
.hover-scale-img {
  transition: transform 0.6s ease;
}
.image-wrapper:hover .hover-scale-img {
  transform: scale(1.05);
}
.shadow-xl {
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* --- Modern Project Page Redesign --- */
.w-lg-50 {
  width: 100% !important;
}
@media (min-width: 992px) {
  .w-lg-50 {
    width: 50% !important;
  }
  .border-end-lg {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.explore-btn-modern:hover .explore-circle {
  background: var(--accent-gold);
  border-color: var(--accent-gold) !important;
}
.explore-btn-modern:hover .explore-circle i {
  color: var(--dark-bg) !important;
}
.explore-btn-modern:hover span {
  color: #fff !important;
}

.bg-gradient-dark-up {
  background: linear-gradient(to top, rgba(3, 26, 18, 1) 0%, rgba(3, 26, 18, 0.7) 40%, transparent 100%);
}

.tall-glass-card {
  height: 450px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.tall-glass-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-10px);
}
.tall-glass-card:hover .card-glow-bg {
  opacity: 0.6;
}
.tall-glass-card:hover .card-icon {
  color: #fff !important;
  transform: scale(1.1);
}

/* --- Bespoke Project Page Redesign --- */
.bg-gradient-dark-radial {
  background: radial-gradient(circle at center, transparent 0%, rgba(3, 26, 18, 0.95) 100%);
}

.mouse-scroll-indicator {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  position: relative;
}
.mouse-scroll-indicator::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--accent-leaf);
  border-radius: 2px;
  animation: scrollWheel 2s infinite;
}
@keyframes scrollWheel {
  0% { top: 8px; opacity: 1; }
  100% { top: 24px; opacity: 0; }
}

.blueprint-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.blueprint-cell {
  padding: 3rem 2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: background 0.3s ease;
}
.blueprint-cell:last-child {
  border-right: none;
}
.blueprint-cell:hover {
  background: rgba(255, 255, 255, 0.02);
}
.blueprint-label {
  display: block;
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--accent-gold);
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
.blueprint-value {
  font-size: 4rem;
  font-weight: 300;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.blueprint-detail {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
}

.pulsing-marker {
  position: relative;
  width: 20px;
  height: 20px;
}
.marker-core {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.marker-ring, .marker-ring-2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: 2;
}
.marker-ring {
  width: 40px;
  height: 40px;
  opacity: 0.5;
  animation: pulse-ring 2s infinite ease-out;
}
.marker-ring-2 {
  width: 80px;
  height: 80px;
  opacity: 0.2;
  animation: pulse-ring 2s infinite ease-out 1s;
}
@keyframes pulse-ring {
  0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* --- Massive Project Page Updates --- */
.factsheet-card {
  transition: all 0.3s ease;
}
.factsheet-card:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  transform: translateY(-5px);
}

/* --- Project Page Enhanced Interactions --- */
/* Amenity Card Hover */
.amenity-card {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.amenity-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at top right, rgba(78, 138, 83, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.amenity-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-leaf) !important;
  box-shadow: var(--shadow-leaf);
}
.amenity-card:hover::before {
  opacity: 1;
}
.amenity-card:hover i {
  animation: pulseIcon 1s infinite alternate;
  color: var(--accent-leaf-bright) !important;
}

/* Image Zoom Hover */
.hover-zoom-img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.hover-zoom-img:hover, 
.overflow-hidden:hover > .hover-zoom-img {
  transform: scale(1.06);
}

/* Factsheet Hover Enhancements */
.factsheet-card:hover i {
  color: var(--accent-leaf-bright) !important;
  transform: scale(1.1);
  transition: all 0.3s ease;
}
.factsheet-card i {
  transition: all 0.3s ease;
}

@keyframes pulseIcon {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

/* --- Comprehensive Responsive Fixes for Project Page --- */
@media (max-width: 991px) {
  /* Scale down huge typography for tablets and mobiles */
  .display-1 { font-size: 4rem !important; }
  .display-3 { font-size: 3rem !important; }
  .display-5 { font-size: 2.5rem !important; }

  /* Adjust fixed image heights to prevent massive blocks on small screens */
  .hover-zoom-img[style*="height: 450px"],
  .hover-zoom-img[style*="height: 400px"] {
    height: 350px !important;
  }
}

@media (max-width: 768px) {
  .display-1 { font-size: 3.5rem !important; }
  .display-3 { font-size: 2.5rem !important; }
  .display-5 { font-size: 2rem !important; }

  /* Further reduce image heights for mobile */
  .hover-zoom-img[style*="height: 450px"],
  .hover-zoom-img[style*="height: 400px"] {
    height: 250px !important;
  }
  
  /* Reduce excessive padding on factsheet cards for mobile */
  .factsheet-card.p-5 { 
    padding: 2rem !important; 
  }
  
  /* Fix the Developer Vision floating badge so it fits perfectly on small mobile screens */
  .position-absolute.bottom-0.end-0.m-3.m-lg-4 {
    padding: 1rem !important;
    margin: 1rem !important;
    bottom: 0 !important;
    right: 0 !important;
  }
  .position-absolute.bottom-0.end-0.m-3.m-lg-4 h4 {
    font-size: 1.1rem !important;
  }
  .position-absolute.bottom-0.end-0.m-3.m-lg-4 p {
    font-size: 0.75rem !important;
  }
}

/* Responsive Layout Utilities */
.w-40 {
  width: 40% !important;
}
.w-md-75 {
  width: 75%;
}
@media (min-width: 576px) {
  .w-sm-auto {
    width: auto !important;
  }
}

@media (max-width: 992px) {
  .display-1 { 
    font-size: 3.8rem !important; 
  }
  .w-md-75 {
    width: 100% !important;
  }
}

@media (max-width: 576px) {
  .display-1 { 
    font-size: 2.5rem !important; 
  }
  .w-md-75 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Output Cards Mobilization */
  .calc-output-card {
    padding: 20px !important;
  }
  .calc-output-value {
    font-size: 1.6rem !important;
  }
  .calc-output-subvalue {
    font-size: 1.1rem !important;
  }
}

/* Investment Page Premium Custom Styling */
.hover-up {
  transition: var(--transition-smooth);
}
.hover-up:hover {
  transform: translateY(-5px);
}

/* Light Glass Panel Hover Interactions */
.glass-panel {
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.glass-panel:hover {
  border-color: rgba(78, 138, 83, 0.4) !important;
  box-shadow: 0 15px 35px rgba(6, 51, 42, 0.08), var(--shadow-leaf);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-5px);
}
.glass-panel::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 30%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.4) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}
.glass-panel:hover::after {
  left: 125%;
}

.glass-panel .rounded-circle {
  transition: var(--transition-smooth);
}
.glass-panel:hover .rounded-circle {
  transform: scale(1.1) rotate(5deg);
  background-color: var(--accent-leaf) !important;
  border-color: var(--accent-leaf) !important;
  box-shadow: 0 0 15px rgba(78, 138, 83, 0.4);
}
.glass-panel:hover .rounded-circle i {
  color: #ffffff !important;
}

/* Dark Glass Panel (Pillars Below Hero) Hover Interactions */
.glass-panel-dark {
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.glass-panel-dark:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--accent-leaf-bright) !important;
  box-shadow: 0 20px 45px rgba(3, 26, 18, 0.5), var(--shadow-leaf);
  background: rgba(6, 51, 42, 0.95);
}
.glass-panel-dark::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 30%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}
.glass-panel-dark:hover::after {
  left: 125%;
}

.glass-panel-dark .rounded-circle {
  transition: var(--transition-smooth);
}
.glass-panel-dark:hover .rounded-circle {
  transform: scale(1.1) rotate(5deg);
  background-color: var(--accent-leaf-bright) !important;
  border-color: var(--accent-leaf-bright) !important;
  box-shadow: 0 0 15px rgba(118, 186, 124, 0.5);
}
.glass-panel-dark:hover .rounded-circle i {
  color: #031a12 !important;
}

/* Step Card Translucent Watermarked Numbers */
.timeline-card-number {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 3.5rem;
  font-weight: 700;
  font-family: var(--font-header);
  color: var(--accent-leaf);
  opacity: 0.12;
  line-height: 1;
  pointer-events: none;
  transition: var(--transition-smooth);
}
.glass-panel:hover .timeline-card-number {
  opacity: 0.25;
  transform: scale(1.15) translateY(-3px);
  color: var(--accent-leaf-bright);
}

/* RTL Support for Step Card Watermarked Numbers */
html[dir="rtl"] .timeline-card-number {
  right: auto;
  left: 25px;
}

/* Scroll offset for navigation targets to prevent navbar overlap */
#contact, 
#inquiry-hub, 
#contact-cards {
  scroll-margin-top: 100px;
}

/* Active Tab Button Styling for Curation Forms */
#inquiry-hub .btn-outline-green {
  color: var(--accent-leaf) !important;
  border-color: var(--accent-leaf) !important;
  background-color: transparent !important;
}
#inquiry-hub .btn-outline-green:not(.active) {
  color: var(--accent-leaf) !important;
  background-color: transparent !important;
  border-color: var(--accent-leaf) !important;
  opacity: 1 !important;
}
#inquiry-hub .btn-outline-green:hover {
  color: var(--bg-cream) !important;
  background-color: var(--accent-leaf) !important;
  border-color: var(--accent-leaf) !important;
}
#inquiry-hub .btn-outline-green.active {
  background-color: var(--primary-dark) !important;
  color: var(--bg-cream) !important;
  border-color: var(--primary-dark) !important;
  box-shadow: var(--shadow-medium);
  transform: translateY(-2px);
}
#inquiry-hub .btn-outline-green.active:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-medium) !important;
  color: var(--bg-cream) !important;
}

/* Contact Page Specific Responsiveness */
#contact-hero {
  min-height: 100vh;
  padding-top: 140px;
  padding-bottom: 80px;
}
@media (max-width: 992px) {
  #contact-hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }
}
@media (max-width: 576px) {
  #contact-hero {
    padding-top: 100px;
    padding-bottom: 40px;
    min-height: 85vh; /* slightly shorter on mobile for neat navigation visibility */
  }
  #location-map .overflow-hidden {
    height: 320px !important;
  }
}

/* Premium Property Details Modal Styles */
.property-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 26, 18, 0.75);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px;
}
.property-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.property-modal-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 24px;
  border: 1px solid rgba(78, 138, 83, 0.15);
  box-shadow: 0 25px 60px rgba(3, 26, 18, 0.25);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.96);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-dark);
}
.property-modal-overlay.active .property-modal-card {
  transform: scale(1);
}
.property-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(242, 247, 245, 0.85);
  border: 1px solid rgba(78, 138, 83, 0.15);
  color: var(--text-dark);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-smooth);
}
.property-modal-close:hover {
  background: var(--accent-leaf);
  color: var(--bg-cream);
  transform: rotate(90deg);
}

/* Modal Grid Layout */
.property-modal-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
}
@media (max-width: 768px) {
  .property-modal-grid {
    grid-template-columns: 1fr;
  }
}

/* Modal Media Side */
.property-modal-media {
  padding: 30px;
  border-inline-end: 1px solid rgba(78, 138, 83, 0.1);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (max-width: 768px) {
  .property-modal-media {
    border-inline-end: none;
    border-bottom: 1px solid rgba(78, 138, 83, 0.1);
    padding: 20px;
  }
}
.property-modal-gallery-main {
  width: 100%;
  height: 300px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(78, 138, 83, 0.15);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.property-modal-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
.property-modal-thumbs {
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.property-modal-thumb-item {
  flex: 1;
  height: 70px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-soft);
}
.property-modal-thumb-item:hover,
.property-modal-thumb-item.active {
  border-color: var(--accent-leaf);
  transform: translateY(-2px);
}
.property-modal-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Modal Info Side */
.property-modal-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
@media (max-width: 768px) {
  .property-modal-info {
    padding: 20px;
    gap: 20px;
  }
}
.property-modal-header {
  border-bottom: 1px solid rgba(78, 138, 83, 0.1);
  padding-bottom: 15px;
}
.property-modal-title {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.property-modal-location {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.property-modal-location i {
  color: var(--accent-leaf);
  margin-inline-end: 6px;
}

.property-modal-specs-title,
.property-modal-price-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-leaf);
  margin-bottom: 12px;
  display: block;
}
.property-modal-specs-list {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.property-modal-spec-badge {
  background: rgba(78, 138, 83, 0.06);
  border: 1px solid rgba(78, 138, 83, 0.12);
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.property-modal-spec-badge i {
  color: var(--accent-gold);
}

.property-modal-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 300;
}

.property-modal-footer {
  border-top: 1px solid rgba(78, 138, 83, 0.1);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 576px) {
  .property-modal-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}
.property-modal-price-val {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  font-family: var(--font-header);
}
.property-modal-inquire-btn {
  background: var(--accent-leaf) !important;
  color: var(--bg-cream) !important;
  border: none;
  font-weight: 700;
  padding: 12px 30px;
  border-radius: 12px;
  transition: var(--transition-smooth);
}
.property-modal-inquire-btn:hover {
  background: var(--primary-dark) !important;
  color: var(--bg-cream) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-leaf);
}

/* RTL Specific Rules for Modal */
html[dir="rtl"] .property-modal-close {
  right: auto;
  left: 20px;
}

