/* ==========================================================================
   Ventura Living - Dark Blue, Black, and Gold Theme Styling
   ========================================================================== */

:root {
  --header-total-height: 118px;
  --primary-dark-blue: #07132B;   /* Deep Dark Blue for Header, Top Bar, Footer, Major BG */
  --primary-blue: #0E2347;        /* Dark Blue for Sections & Major Containers */
  --accent-gold: #D4AF37;         /* Premium Gold Accent for Buttons, Icons, Borders, Badges */
  --accent-gold-hover: #E6C35C;   /* Light Gold for Hover States */
  --accent-gold-dark: #B59226;    /* Deep Gold for Text Contrast */
  --text-dark: #0A0E17;           /* Black / Very Dark for Headings & Main Text */
  --text-muted: #4B5563;          /* Secondary Muted Text */
  --bg-light: #F8FAFC;            /* Light Neutral Background for Contrast */
  --white: #FFFFFF;               /* Clean White for Content Areas & Dark BG Text */
  --border-color: #E2E8F0;        /* Clear Form & Card Borders */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 14px rgba(7,19,43,0.12);
  --shadow-lg: 0 10px 25px rgba(7,19,43,0.22);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Reset & Global */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

/* Global Bilingual Language Visibility Controls */
body.lang-si .lang-en,
html[lang="si"] .lang-en,
html[data-lang="si"] .lang-en {
  display: none !important;
}

body:not(.lang-si) .lang-si,
html:not([lang="si"]):not([data-lang="si"]) body:not(.lang-si) .lang-si {
  display: none !important;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 4%;
  box-sizing: border-box;
}

@media (max-width: 992px) {
  .container {
    padding: 0 24px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 16px;
  }
}

/* Buttons - Gold & Dark Blue Palette */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary, .btn-accent {
  background-color: var(--accent-gold);
  color: var(--primary-dark-blue) !important;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover, .btn-accent:hover {
  background-color: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
  color: var(--primary-dark-blue) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.35);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--accent-gold);
  color: var(--accent-gold-dark) !important;
}

.btn-outline:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark-blue) !important;
}

.btn-white {
  background-color: var(--white);
  color: var(--primary-dark-blue) !important;
  border-color: var(--white);
}

.btn-white:hover {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--primary-dark-blue) !important;
  transform: translateY(-2px);
}

/* Replaced Green CTA Button with Premium Gold Pill Button */
.btn-green {
  background-color: var(--accent-gold);
  color: var(--primary-dark-blue) !important;
  border-radius: 50px;
  padding: 10px 20px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
  border: none;
  white-space: nowrap;
}

.btn-green:hover {
  background-color: var(--accent-gold-hover);
  color: var(--primary-dark-blue) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.4);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 50px;
  letter-spacing: 0.5px;
  line-height: 1.35;
  white-space: normal;
  width: auto;
  min-width: fit-content;
  max-width: 100%;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  overflow-wrap: break-word;
  word-break: normal;
}

.badge-sale { background-color: #B91C1C; color: white; }
.badge-rent { background-color: var(--primary-blue); color: var(--accent-gold); border: 1px solid var(--accent-gold); }
.badge-featured { background-color: var(--accent-gold); color: var(--primary-dark-blue); }

/* Bilingual Property Tags: Specific Brand Styling */
.badge-new {
  background-color: #1D4ED8;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.badge-urgent {
  background-color: #DC2626;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.badge-sold {
  background-color: #475569;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.badge-under-offer,
.badge-under_offer {
  background-color: #D97706;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Strictly suppress No Tag badges across all public pages & components */
.badge-none,
.badge-no-tag,
.badge-no_tag,
[data-property-tag="none"],
[data-property-tag="no_tag"],
[data-property-tag=""] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 640px) {
  .badge {
    font-size: 0.7rem;
    padding: 4px 10px;
    line-height: 1.3;
  }
  .property-badges {
    top: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
    gap: 6px;
  }
  .vip-card-badges {
    top: 10px;
    left: 10px;
    max-width: calc(100% - 20px);
    gap: 5px;
  }
}

/* 2. Top Contact Bar (Dark Blue) */
.top-bar {
  background-color: #040B1A;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-info a {
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-info a i {
  color: var(--accent-gold);
}

.top-bar-info a:hover {
  color: var(--accent-gold);
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.social-links a:hover { color: var(--accent-gold); }

/* Language Selector Pill */
.lang-selector {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  padding: 2px;
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  padding: 4px 10px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background-color: var(--accent-gold);
  color: var(--primary-dark-blue);
}

/* 3. Main Header & Navigation (Dark Blue Background) */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--primary-dark-blue);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: var(--transition);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  gap: 15px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

/* Website Header & Footer Circular Logo Container */
.main-header .logo,
footer .logo,
.main-footer .logo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  min-height: 64px !important;
  border-radius: 50% !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22) !important;
  flex-shrink: 0 !important;
  padding: 4px !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

footer .logo,
.main-footer .logo {
  margin-bottom: 15px !important;
}

.main-header .logo:hover,
footer .logo:hover,
.main-footer .logo:hover {
  transform: scale(1.04) !important;
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4) !important;
}

.brand-logo-img,
.footer-logo-img {
  width: 50px !important;
  height: 34px !important;
  max-width: 86% !important;
  max-height: 86% !important;
  object-fit: contain !important;
  display: block !important;
  margin-bottom: 0 !important;
}

/* Homepage Logo Smooth Horizontal 3D Spin Animation (Y-Axis) */
@keyframes horizontalLogoSpin {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.homepage-logo-spin {
  animation: horizontalLogoSpin 12s ease-in-out infinite;
  transform-origin: center center;
  transform-style: preserve-3d;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .homepage-logo-spin {
    animation: none !important;
  }
}

.admin-logo-img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--white) !important;
  padding: 6px 0;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold) !important;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--accent-gold);
  border-radius: 2px;
}

.nav-badge-gold {
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold) !important;
  padding: 5px 12px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.4px;
  transition: var(--transition);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-badge-gold:hover, .nav-badge-gold.active {
  background-color: var(--accent-gold);
  color: var(--primary-dark-blue) !important;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--accent-gold);
  cursor: pointer;
}

/* 4. Homepage Hero Banner Slider with Screen Fit */
.hero-banner {
  position: relative;
  width: 100%;
  height: calc(100vh - var(--header-total-height, 118px));
  min-height: 580px;
  background-color: var(--primary-dark-blue);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-slider {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 580px;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 3;
  transition: background-color 0.2s ease;
}

.banner-overlay-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 50px 0 60px;
}

.banner-heading {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  text-align: center;
  line-height: 1.25;
  margin-bottom: 30px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.75);
  letter-spacing: -0.5px;
}

/* Shared Sub-Page Banner Component (Properties, Land, Commercial, etc.) */
.page-banner {
  background: var(--primary-dark-blue);
  color: var(--white);
  padding: 50px 0;
  text-align: center;
}

.page-banner h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.page-banner p {
  color: #CBD5E1;
  opacity: 0.85;
  max-width: 650px;
  margin: 10px auto 0;
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .page-banner {
    padding: 38px 0;
  }
  .page-banner h1 {
    font-size: 1.75rem;
  }
  .page-banner p {
    font-size: 0.92rem;
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .page-banner {
    padding: 32px 0;
  }
  .page-banner h1 {
    font-size: 1.5rem;
  }
}

.hero-filter-panel {
  background: var(--primary-dark-blue);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45);
  padding: 24px 28px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

.hero-filter-panel .form-group label {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.2px;
}

.hero-filter-panel .form-group label i {
  color: var(--accent-gold);
}

.filter-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 15px;
}

.filter-top-bar .filter-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}

.filter-top-bar .tab-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  padding: 8px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-top-bar .tab-btn.active {
  background-color: var(--accent-gold);
  color: var(--primary-dark-blue) !important;
  border-color: var(--accent-gold);
}

.quick-locations {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.quick-loc-label {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  margin-right: 2px;
}

.quick-loc-link {
  color: var(--accent-gold);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  transition: var(--transition);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.quick-loc-link:hover {
  background: var(--accent-gold);
  color: var(--primary-dark-blue) !important;
}

.hero-search-form .hero-filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}

.hero-select {
  background-color: #040B1A !important;
  color: var(--white) !important;
  border: 1px solid rgba(212, 175, 55, 0.35) !important;
  font-weight: 600;
  height: 46px;
  border-radius: var(--radius-sm);
  padding: 0 14px;
  box-sizing: border-box;
}

.hero-select:focus {
  border-color: var(--accent-gold) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25) !important;
}

.hero-select option {
  background-color: #040B1A;
  color: var(--white);
}

.hero-search-btn {
  height: 46px;
  padding: 0 28px;
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
  box-sizing: border-box;
}

.banner-nav {
  position: absolute;
  bottom: 25px;
  right: 40px;
  z-index: 10;
  display: flex;
  gap: 10px;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.banner-dot.active {
  background: var(--accent-gold);
  width: 30px;
  border-radius: 10px;
}

/* 5. Listing Property Search Filter Panel */
.listing-filter-panel {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 40px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  box-sizing: border-box;
}

.listing-filter-panel .form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark, #0F172A);
  display: flex;
  align-items: center;
  gap: 5px;
}

.listing-filter-panel .form-group label i {
  color: var(--accent-gold-dark, #B38F24);
}

.search-filter-wrapper {
  position: relative;
  z-index: 20;
  margin-top: -80px;
  margin-bottom: 60px;
}

.search-filter-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 30px;
  border: 1px solid var(--border-color);
}

.filter-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}

.tab-btn {
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 8px 20px;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.tab-btn.active {
  background-color: var(--primary-dark-blue);
  color: var(--accent-gold);
}

.search-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  align-items: start;
}

.search-form-grid .form-control {
  height: 46px;
  box-sizing: border-box;
}

.filter-btn-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.filter-btn-inner {
  display: flex;
  gap: 8px;
  align-items: center;
  width: 100%;
}

.filter-btn-group .filter-submit-btn {
  flex: 1;
  height: 46px;
  padding: 0 20px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  white-space: nowrap;
}

.filter-btn-group .filter-reset-btn {
  height: 46px;
  width: 46px;
  min-width: 46px;
  max-width: 46px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F1F5F9;
  color: #475569;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-sizing: border-box;
  transition: var(--transition);
}

.filter-btn-group .filter-reset-btn:hover {
  background: #E2E8F0;
  color: #0F172A;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 5px;
}

.form-group label i {
  color: var(--accent-gold-dark);
}

.form-control {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  font-size: 0.95rem;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

/* 6. Quick Action Cards */
.section {
  padding: 60px 0;
}

@media (max-width: 768px) {
  .section {
    padding: 40px 0;
  }
}

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

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

.section-header p,
.lead-paragraph {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}

.section-subtitle {
  color: var(--accent-gold-dark);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.3;
}

.action-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.action-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.action-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
}

.action-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background-color: #FFFBEB;
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--accent-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}

.action-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.action-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

/* Homepage Action Cards: Dark Blue & Gold Styling */
.action-cards-grid .action-card {
  background: var(--primary-dark-blue);
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 4px 20px rgba(7, 19, 43, 0.25);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.action-cards-grid .action-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.2);
  border-color: var(--accent-gold);
}

.action-cards-grid .action-icon {
  background-color: rgba(212, 175, 55, 0.12);
  border: 1.5px solid var(--accent-gold);
  color: var(--accent-gold);
  transition: var(--transition);
}

.action-cards-grid .action-card:hover .action-icon {
  background-color: var(--accent-gold);
  color: var(--primary-dark-blue);
  transform: scale(1.05);
}

.action-cards-grid .action-card h3 {
  color: var(--accent-gold);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.3px;
}

.action-cards-grid .action-card p {
  color: #E6C35C;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.action-cards-grid .action-card .btn,
.action-cards-grid .action-card .btn-outline {
  background-color: var(--primary-dark-blue);
  color: var(--accent-gold) !important;
  border: 1.5px solid var(--accent-gold);
  font-weight: 700;
  padding: 8px 24px;
  border-radius: var(--radius-sm);
  margin-top: auto;
  transition: var(--transition);
}

.action-cards-grid .action-card .btn:hover,
.action-cards-grid .action-card .btn-outline:hover {
  background-color: var(--accent-gold);
  color: var(--primary-dark-blue) !important;
  border-color: var(--accent-gold);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}

/* 7 & 9. Property Cards (Grid & Featured) */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  width: 100%;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.property-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.property-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.property-badges {
  position: absolute;
  top: 15px;
  left: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 2;
  max-width: calc(100% - 30px);
}

.property-ref {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(7, 19, 43, 0.85);
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  padding: 3px 8px;
  font-size: 0.75rem;
  border-radius: 4px;
  font-weight: 700;
}

.property-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-location {
  color: var(--text-muted);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 15px;
}

.property-location i {
  color: var(--accent-gold-dark);
}

.property-features {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 18px;
  font-size: 0.88rem;
  color: var(--text-dark);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.feature-item i {
  color: var(--accent-gold-dark);
}

.property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.property-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-dark-blue);
}

/* 8. Explore Property Categories */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.category-card {
  position: relative;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: block;
}

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

.category-card:hover img {
  transform: scale(1.08);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(7,19,43,0.9) 0%, rgba(0,0,0,0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: var(--white);
}

.category-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--white);
}

.category-card p {
  font-size: 0.85rem;
  color: var(--accent-gold);
  font-weight: 600;
}

/* 10. Services Section - Clean Multi-Column Grid */
.services-section {
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 30px;
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: #0A1733;
  border-radius: 12px;
  padding: 24px 20px;
  min-height: 180px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-sizing: border-box;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
  border-color: rgba(212, 175, 55, 0.6);
}

.service-icon-box {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D4AF37;
  font-size: 1.25rem;
  transition: all 0.25s ease;
  margin-bottom: 16px;
}

.service-card:hover .service-icon-box {
  background: #D4AF37;
  color: #07132B;
  transform: scale(1.05);
}

.service-content {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 10px;
  color: #D4AF37;
  line-height: 1.35;
}

.service-card p {
  color: #CBD5E1;
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* 11. Overseas Property Owner Section (Dark Blue + Gold) */
.overseas-section {
  background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--primary-blue) 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.overseas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.overseas-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--white);
}

.overseas-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  opacity: 0.95;
}

.overseas-features {
  margin-bottom: 35px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.overseas-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
}

.overseas-feature-item i {
  color: var(--accent-gold);
  font-size: 1.1rem;
}

.overseas-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* 12 & 13. Trust & Process */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.trust-card {
  text-align: center;
  padding: 25px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.trust-card:hover {
  border-color: var(--accent-gold);
}

.trust-icon {
  font-size: 2rem;
  color: var(--accent-gold-dark);
  margin-bottom: 15px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  position: relative;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  border: 1px solid var(--border-color);
  position: relative;
}

.step-num {
  width: 50px;
  height: 50px;
  background: var(--primary-dark-blue);
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 20px;
}

/* 14. Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  position: relative;
}

.testimonial-stars {
  color: var(--accent-gold-dark);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-size: 0.98rem;
  line-height: 1.6;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-dark-blue);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

/* 17. Bottom CTA (Dark Blue + Gold) */
.cta-banner {
  background: linear-gradient(rgba(7, 19, 43, 0.9), rgba(14, 35, 71, 0.9)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.cta-banner h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--white);
}

.cta-banner p {
  font-size: 1.15rem;
  margin-bottom: 30px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.95;
}

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

/* 18. Contact & Enquiry Section */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--primary-dark-blue);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  height: 100%;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-info-card h3 {
  color: var(--accent-gold);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--accent-gold);
  margin-top: 3px;
}

.contact-info-item a {
  color: var(--white);
}

.contact-info-item a:hover {
  color: var(--accent-gold);
}

/* 19. Footer (Dark Blue + Gold) */
footer {
  background-color: #040B1A;
  color: rgba(255, 255, 255, 0.85);
  padding-top: 70px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-grid,
.footer-content {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-intro,
.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-col h4, footer h4 {
  color: var(--accent-gold);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-bottom {
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 15px;
}

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

.footer-legal a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-legal a:hover { color: var(--accent-gold); }

@media (max-width: 1440px) {
  .nav-menu {
    gap: 9px;
  }
  .nav-link {
    font-size: 0.81rem;
    letter-spacing: 0.1px;
  }
  .nav-badge-gold {
    padding: 4px 10px;
    font-size: 0.78rem;
  }
  .btn-green {
    padding: 8px 16px;
    font-size: 0.88rem;
  }
}

@media (max-width: 1200px) {
  .nav-menu {
    gap: 7px;
  }
  .nav-link {
    font-size: 0.75rem;
  }
  .nav-badge-gold {
    padding: 3px 8px;
    font-size: 0.72rem;
  }
  .btn-green {
    padding: 7px 12px;
    font-size: 0.8rem;
  }
}

/* Responsive Media Queries (Mobile & Tablet) */
@media (max-width: 992px) {
  /* Homepage Hero Banner Natural Expansion on Tablet & Mobile */
  .hero-banner {
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    display: block !important;
    padding: 32px 0 36px 0 !important;
  }

  .banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .slide {
    min-height: 100% !important;
    height: 100% !important;
  }

  .hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
  }

  .hero-banner .banner-overlay-content,
  .banner-overlay-content {
    position: relative;
    z-index: 5;
    padding: 0;
    width: 100%;
  }

  .banner-heading {
    font-size: 2.1rem;
    line-height: 1.25;
    margin-bottom: 22px;
    padding: 0 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .hero-banner .banner-nav,
  .banner-nav {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    margin: 22px auto 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
    z-index: 10;
    width: 100%;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 80px);
    background: var(--primary-dark-blue);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 25px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border-right: 1px solid rgba(212, 175, 55, 0.2);
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: block;
  }

  .overseas-grid, .contact-section-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  .slide-content h1, .slide-content h2 {
    font-size: 2.2rem;
  }

  /* Property Search Filters Tablet Layout */
  .hero-search-form .hero-filter-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .hero-btn-group .hero-search-btn {
    width: 100%;
  }

  .search-form-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .search-form-grid .filter-btn-group:last-child {
    grid-column: span 1;
  }

  .search-form-grid .filter-btn-group:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .hero-banner {
    padding: 26px 0 30px 0 !important;
  }

  .banner-heading {
    font-size: 1.7rem;
    line-height: 1.28;
    margin-bottom: 18px;
    padding: 0 8px;
  }

  .hero-filter-panel {
    padding: 20px 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .filter-top-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
  }

  .filter-top-bar .filter-tabs {
    display: flex;
    gap: 8px;
    width: 100%;
  }

  .filter-top-bar .tab-btn {
    flex: 1 1 0;
    text-align: center;
    padding: 9px 8px;
    font-size: 0.88rem;
    white-space: normal;
    line-height: 1.25;
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .quick-locations {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .top-bar-info {
    font-size: 0.78rem;
  }

  .footer-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .search-filter-wrapper {
    margin-top: 0;
  }

  .slide-content h1, .slide-content h2 {
    font-size: 1.8rem;
  }

  .overseas-features {
    grid-template-columns: 1fr;
  }

  /* Property Search Filters Mobile Layout */
  .hero-banner {
    padding: 20px 0 24px 0 !important;
  }

  .banner-heading {
    font-size: 1.45rem;
    line-height: 1.3;
    margin-bottom: 16px;
    padding: 0 4px;
  }

  .hero-filter-panel,
  .listing-filter-panel {
    padding: 16px 14px;
    border-radius: 12px;
  }

  .hero-search-form .hero-filter-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .hero-filter-panel .form-group {
    width: 100%;
    margin-bottom: 0;
  }

  .hero-filter-panel .form-group label {
    font-size: 0.82rem;
    margin-bottom: 5px;
  }

  .hero-select {
    width: 100%;
    height: 48px;
    font-size: 0.92rem;
    border-radius: 8px;
    box-sizing: border-box;
  }

  .hero-btn-group {
    width: 100%;
    margin-top: 4px;
  }

  .hero-btn-group .hero-search-btn,
  .hero-search-btn {
    width: 100%;
    height: 48px;
    font-size: 0.95rem;
    font-weight: 800;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
  }

  .search-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .search-form-grid .filter-btn-group:last-child {
    grid-column: 1 / -1;
  }

  .filter-btn-group .filter-btn-label {
    display: none;
  }

  .filter-btn-group {
    width: 100%;
  }

  .filter-top-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .filter-top-bar .filter-tabs {
    width: 100%;
  }

  .filter-top-bar .tab-btn {
    flex: 1 1 0;
    text-align: center;
    padding: 8px 10px;
    font-size: 0.85rem;
  }

  .hero-banner .banner-nav,
  .banner-nav {
    margin: 18px auto 0 auto !important;
  }
}

@media (max-width: 360px) {
  .hero-banner {
    padding: 16px 0 20px 0 !important;
  }

  .banner-heading {
    font-size: 1.22rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .hero-filter-panel {
    padding: 12px 10px;
  }

  .filter-top-bar .tab-btn {
    font-size: 0.78rem;
    padding: 6px 4px;
    min-height: 38px;
  }

  .quick-loc-link {
    font-size: 0.76rem;
    padding: 3px 6px;
  }

  .hero-select {
    height: 44px;
    font-size: 0.88rem;
    padding: 0 10px;
  }

  .hero-btn-group .hero-search-btn,
  .hero-search-btn {
    height: 44px;
    font-size: 0.9rem;
  }
}

/* Property Detail Gallery Component & Responsive Layout */
.property-gallery-section {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.main-gallery-stage {
  width: 100%;
  max-width: 100%;
  height: 540px;
  position: relative;
  background: var(--primary-dark-blue, #07132B);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  user-select: none;
  -webkit-user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.main-gallery-stage img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: auto;
  transform: none !important;
  transition: opacity 0.25s ease;
}

.property-detail-fullwidth,
.property-gallery-section {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.gallery-thumbnails-strip {
  display: flex;
  gap: 12px;
  margin-top: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  padding-bottom: 8px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.gallery-thumb-item {
  flex: 0 0 110px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--primary-dark-blue, #07132B);
  transition: all 0.2s ease;
  box-sizing: border-box;
  flex-shrink: 0;
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsive Gallery for Desktop, Tablet, and Mobile */
@media (max-width: 1024px) {
  .main-gallery-stage {
    height: 440px;
  }
  .gallery-thumb-item {
    flex: 0 0 95px;
    height: 70px;
  }
}

@media (max-width: 768px) {
  .property-detail-layout {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }

  .main-gallery-stage {
    height: 330px !important;
    border-radius: 10px;
  }

  .gallery-thumb-item {
    flex: 0 0 85px !important;
    height: 62px !important;
  }

  .main-gallery-stage .gallery-nav-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.95rem !important;
  }

  .main-gallery-stage .gallery-action-btn {
    font-size: 0.75rem !important;
    padding: 6px 12px !important;
  }
}

@media (max-width: 480px) {
  .main-gallery-stage {
    height: 260px !important;
  }

  .gallery-thumb-item {
    flex: 0 0 72px !important;
    height: 52px !important;
  }
}

/* Homepage Full-Screen Background Video Banner */
.hero-banner {
  position: relative;
  overflow: hidden;
}

.hero-banner.is-video-mode .banner-slider,
.hero-banner.is-video-mode .banner-nav {
  display: none !important;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  background-color: transparent;
}

.hero-video-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-bg-video.is-playing {
  opacity: 1;
}

.hero-youtube-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-youtube-wrap.is-playing {
  opacity: 1;
}

.hero-youtube-wrap iframe,
.hero-youtube-wrap #hero-youtube-player {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 aspect ratio */
  min-height: 100%;
  min-width: 177.78vh; /* 16:9 aspect ratio */
  transform: translate(-50%, -50%);
  pointer-events: none;
  border: 0;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.5);
  transition: background-color 0.2s ease;
}

.hero-video-play-btn {
  position: absolute;
  bottom: 25px;
  right: 25px;
  z-index: 5;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(7, 19, 43, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.6);
  color: #FFFFFF;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.hero-video-play-btn:hover {
  background: #D4AF37;
  color: #07132B;
  border-color: #D4AF37;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
}

.hero-video-play-btn i {
  color: #D4AF37;
  font-size: 0.85rem;
  transition: color 0.25s ease;
}

.hero-video-play-btn:hover i {
  color: #07132B;
}

.hero-banner .banner-overlay-content {
  position: relative;
  z-index: 10;
}

/* =================================================== */
/* 5. HOMEPAGE ADVERTISEMENT SLIDESHOW CAROUSEL        */
/* =================================================== */
.homepage-ads-section {
  padding: 40px 0 20px 0;
  background-color: var(--bg-light, #F8FAFC);
}

.ads-carousel-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(7, 19, 43, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: #07132B;
}

.ads-slides-track {
  position: relative;
  width: 100%;
  min-height: 280px;
  height: 380px;
}

.ads-slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.02);
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  overflow: hidden;
}

.ads-slide-item.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.ads-slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 6s ease;
}

.ads-slide-item.active .ads-slide-img {
  transform: scale(1.05);
}

.ads-slide-badge {
  position: absolute;
  top: 20px;
  left: 24px;
  z-index: 5;
  background: #D4AF37;
  color: #07132B;
  font-weight: 900;
  font-size: 0.7rem;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ads-slide-content {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: 40px 35px 30px 35px;
  background: linear-gradient(to top, rgba(7, 19, 43, 0.95) 0%, rgba(7, 19, 43, 0.6) 65%, transparent 100%);
  color: white;
}

.ads-slide-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 8px 0;
  line-height: 1.25;
}

.ads-slide-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 16px 0;
  max-width: 680px;
  line-height: 1.45;
}

.ads-slide-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #D4AF37;
  color: #07132B;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 9px 20px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  transition: all 0.2s ease;
}

.ads-slide-cta-btn:hover {
  background: #E5C358;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

/* Controls */
.ads-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(7, 19, 43, 0.65);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  backdrop-filter: blur(4px);
  transition: all 0.2s ease;
}

.ads-nav-btn:hover {
  background: #D4AF37;
  color: #07132B;
  border-color: #D4AF37;
  transform: translateY(-50%) scale(1.08);
}

.ads-prev-btn { left: 16px; }
.ads-next-btn { right: 16px; }

.ads-carousel-footer {
  position: absolute;
  bottom: 18px;
  right: 25px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ads-dots-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ads-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  padding: 0;
}

.ads-dot.active {
  background: #D4AF37;
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.8);
}

.ads-play-pause-btn {
  background: rgba(7, 19, 43, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.ads-play-pause-btn:hover {
  background: #D4AF37;
  color: #07132B;
  border-color: #D4AF37;
}

@media (max-width: 768px) {
  .main-header .logo,
  footer .logo,
  .main-footer .logo {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
    padding: 5px !important;
  }

  .brand-logo-img,
  .footer-logo-img {
    width: 38px !important;
    height: 25px !important;
  }

  .ads-slides-track {
    height: 300px;
  }
  .ads-slide-content {
    padding: 24px 20px 20px 20px;
  }
  .ads-slide-title {
    font-size: 1.25rem;
  }
  .ads-slide-desc {
    font-size: 0.82rem;
    margin-bottom: 12px;
  }
  .ads-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
}

@media (min-width: 993px) {
  .hero-banner .banner-nav {
    position: absolute;
    bottom: 25px;
    right: 40px;
    z-index: 10;
  }
}

/* ==========================================================================
   Featured Locations Section (Homepage)
   ========================================================================== */
.featured-locations-section {
  background-color: #07132B;
  padding: 65px 0 75px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.featured-locations-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  row-gap: 20px;
  margin-top: 35px;
}

.featured-location-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 320px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(212, 175, 55, 0.25);
  background-color: #0A1733;
}

.featured-location-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  border-color: #D4AF37;
}

.featured-location-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1;
}

.featured-location-card:hover .featured-location-img {
  transform: scale(1.08);
}

.featured-location-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(7, 19, 43, 0.1) 0%, rgba(7, 19, 43, 0.4) 45%, rgba(7, 19, 43, 0.95) 100%);
  z-index: 2;
  pointer-events: none;
}

.featured-location-arrow {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(7, 19, 43, 0.75);
  border: 1px solid rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D4AF37;
  font-size: 0.8rem;
  z-index: 3;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.featured-location-card:hover .featured-location-arrow {
  background: #D4AF37;
  color: #07132B;
  transform: translate(2px, -2px);
}

.featured-location-info {
  position: relative;
  z-index: 3;
}

.featured-location-name {
  font-size: 1.22rem;
  font-weight: 800;
  color: #D4AF37;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 7px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.featured-location-name i {
  font-size: 0.95rem;
}

.featured-location-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.35;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

@media (max-width: 1200px) {
  .featured-locations-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .featured-locations-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding-bottom: 12px;
    margin-right: -15px;
    padding-right: 15px;
  }
  .featured-location-card {
    flex: 0 0 240px;
    height: 290px;
    scroll-snap-align: start;
  }
}

/* ==========================================================================
   Overseas Property Management Hub Section (Homepage)
   ========================================================================== */
.overseas-hub-section {
  background-color: #050B14;
  padding: 75px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.overseas-hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid #D4AF37;
  padding: 6px 18px;
  border-radius: 50px;
  color: #D4AF37;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.overseas-hub-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 40px;
  margin-bottom: 45px;
}

@media (max-width: 1100px) {
  .overseas-hub-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .overseas-hub-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

@media (max-width: 520px) {
  .overseas-hub-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.overseas-hub-card {
  background: rgba(14, 35, 71, 0.45);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 26px 20px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.overseas-hub-card:hover {
  transform: translateY(-4px);
  border-color: #D4AF37;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.overseas-hub-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D4AF37;
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.overseas-hub-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
  line-height: 1.35;
}

.overseas-hub-card-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  margin: 0;
}

.overseas-hub-cta-panel {
  background: rgba(7, 19, 43, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 16px;
  padding: 35px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.overseas-hub-cta-text h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.overseas-hub-cta-text p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.overseas-hub-cta-buttons {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Listing Call to Action Section (Homepage)
   ========================================================================== */
.listing-cta-section {
  background-color: #07132B;
  padding: 70px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  text-align: center;
}

.listing-cta-heading {
  font-size: 2.3rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.25;
}

.listing-cta-intro {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 760px;
  margin: 0 auto 35px auto;
  line-height: 1.65;
}

.listing-cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Interactive Mortgage Estimator Section & Styles
   ========================================================================== */
.mortgage-estimator-section {
  background-color: #07132B;
  padding: 75px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.estimator-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: flex-start;
  margin-top: 40px;
}

@media (max-width: 992px) {
  .estimator-container {
    grid-template-columns: 1fr;
  }
}

.estimator-controls-card {
  background: rgba(14, 35, 71, 0.5);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  padding: 35px 30px;
}

.estimator-slider-group {
  margin-bottom: 28px;
}

.estimator-slider-group:last-child {
  margin-bottom: 0;
}

.estimator-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.estimator-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
}

.estimator-value-badge {
  font-size: 1.05rem;
  font-weight: 800;
  color: #D4AF37;
  background: rgba(212, 175, 55, 0.12);
  padding: 4px 12px;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.estimator-range {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  outline: none;
  transition: opacity 0.2s;
}

.estimator-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #D4AF37;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
  border: 2px solid #07132B;
}

.estimator-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #D4AF37;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
  border: 2px solid #07132B;
}

.estimator-minmax-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
}

.estimator-summary-card {
  background: rgba(7, 19, 43, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 16px;
  padding: 35px 30px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 100px;
}

.estimator-repayment-badge {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #D4AF37;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: inline-block;
}

.estimator-repayment-lkr {
  font-size: 2.5rem;
  font-weight: 800;
  color: #D4AF37;
  line-height: 1.1;
  margin-bottom: 6px;
}

.estimator-repayment-aud {
  font-size: 0.98rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 25px;
}

.estimator-breakdown-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
  text-align: left;
}

.estimator-breakdown-table td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.88rem;
}

.estimator-breakdown-table td:first-child {
  color: rgba(255, 255, 255, 0.7);
}

.estimator-breakdown-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: #FFFFFF;
}

.estimator-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.45;
  margin-top: 15px;
  text-align: left;
}

/* ===================================================
   RESPONSIVE PROPERTY DESCRIPTION & DOSSIER STYLES
   =================================================== */


/* Parent Overview Card */
.property-overview-card {
  background: white;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--border-color);
  margin-bottom: 35px;
  box-shadow: var(--shadow-sm);
  width: 100%;
  box-sizing: border-box;
}

/* Description Header & Language Selector Row */
.desc-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 16px;
}

/* Imported HTML Scoped Base Rules */
#prop-desc-html-container {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

#prop-desc-html-container .dossier-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
}

#prop-desc-html-container .lux-card {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

#prop-desc-html-container img {
  max-width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  display: block;
}

/* Table Horizontal Scrolling Wrapper for General Tables */
#prop-desc-html-container .table-responsive {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  margin-bottom: 16px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.table-scroll-hint {
  display: none;
  font-size: 0.75rem;
  color: var(--accent-gold-light, #F3E5AB);
  background: rgba(7, 19, 43, 0.9);
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 8px;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-weight: 600;
}

/* ---------------------------------------------------
   MOBILE BREAKPOINTS (<= 768px: 430px, 390px, 375px, 320px)
   --------------------------------------------------- */
@media (max-width: 768px) {
  /* 1. Outer Container & Card Spacing: approx 16px */
  .property-overview-card {
    padding: 16px 12px !important;
    border-radius: 10px !important;
    margin-bottom: 24px !important;
  }

  .desc-header-row {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
    padding-bottom: 14px !important;
  }

  .desc-header-row h4 {
    font-size: 1.05rem !important;
  }

  /* Hide print/pdf button on mobile to preserve clean language selector */
  .desc-print-btn {
    display: none !important;
  }

  /* 2. Container Fitting & Overriding Desktop Fixed Widths */
  #prop-desc-html-container .dossier-wrapper {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  #prop-desc-html-container .lux-card {
    padding: 18px 14px !important;
    margin-bottom: 16px !important;
    border-radius: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  /* 3. Scaled Typography:
     - Titles: 26-32px
     - Section Headings: 20-24px
     - Body Text: 16px
  */
  #prop-desc-html-container .dossier-title,
  #prop-desc-html-container h1 {
    font-size: clamp(25px, 6.5vw, 30px) !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    hyphens: auto !important;
    white-space: normal !important;
    letter-spacing: 0.01em !important;
  }

  #prop-desc-html-container .section-heading,
  #prop-desc-html-container h2 {
    font-size: clamp(20px, 5.2vw, 23px) !important;
    line-height: 1.35 !important;
    margin-top: 18px !important;
    margin-bottom: 14px !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    white-space: normal !important;
  }

  #prop-desc-html-container h3 {
    font-size: 18px !important;
    line-height: 1.4 !important;
    margin-top: 14px !important;
    margin-bottom: 10px !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  #prop-desc-html-container p,
  #prop-desc-html-container li,
  #prop-desc-html-container .spec-desc {
    font-size: 15.5px !important;
    line-height: 1.65 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
  }

  /* 4. Natural Wrapping for Subtitles, Locations, Badges, and Text */
  #prop-desc-html-container .dossier-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding-bottom: 16px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
  }

  #prop-desc-html-container .dossier-subtitle {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }

  #prop-desc-html-container .badge-pill {
    font-size: 0.75rem !important;
    padding: 6px 14px !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    display: inline-block !important;
    max-width: 100% !important;
    line-height: 1.4 !important;
  }

  /* 5. Stacking Multi-Column Grids Vertically */
  #prop-desc-html-container .pillar-grid,
  #prop-desc-html-container .specs-grid,
  #prop-desc-html-container .towns-grid,
  #prop-desc-html-container .features-grid,
  #prop-desc-html-container [class*="grid"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  #prop-desc-html-container .pillar-card,
  #prop-desc-html-container .spec-card,
  #prop-desc-html-container .town-card {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px !important;
  }

  #prop-desc-html-container .contact-box {
    padding: 18px 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  #prop-desc-html-container .contact-links {
    flex-direction: column !important;
    gap: 10px !important;
    align-items: stretch !important;
  }

  #prop-desc-html-container .contact-link-item {
    font-size: 0.85rem !important;
    word-break: break-all !important;
    justify-content: center !important;
  }

  /* 6. CONVERT “Nearby Commercial Centers, Amenities & Commute Times” TABLE TO STACKED CARDS */
  #prop-desc-html-container table.poi-table,
  #prop-desc-html-container table.poi-table tbody,
  #prop-desc-html-container table.poi-table tr,
  #prop-desc-html-container table.poi-table td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  #prop-desc-html-container table.poi-table thead {
    display: none !important;
  }

  #prop-desc-html-container table.poi-table tr {
    background: rgba(15, 30, 54, 0.95) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    border-radius: 10px !important;
    padding: 14px 16px !important;
    margin-bottom: 14px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
  }

  #prop-desc-html-container table.poi-table td {
    padding: 7px 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
    text-align: left !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  #prop-desc-html-container table.poi-table td:last-child {
    border-bottom: none !important;
    padding-bottom: 0 !important;
  }

  #prop-desc-html-container table.poi-table td[data-label]::before {
    content: attr(data-label);
    display: block !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: var(--gold-primary, #D4AF37) !important;
    margin-bottom: 3px !important;
    opacity: 0.95 !important;
  }

  /* Visible scrolling cue for general tables */
  .table-scroll-hint {
    display: inline-flex !important;
  }
}

/* =================================================== */
/* 27. PROPERTY DETAILS: MULTILINGUAL SHARE BAR & ENQUIRY */
/* =================================================== */
.prop-share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: #F8FAFC;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  margin-top: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.prop-share-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: #07132B;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 6px;
}

.prop-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.prop-share-btn-wa {
  background: rgba(37, 211, 102, 0.12);
  color: #128C7E;
  border-color: rgba(37, 211, 102, 0.3);
}
.prop-share-btn-wa:hover {
  background: #25D366;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.prop-share-btn-fb {
  background: rgba(24, 119, 242, 0.1);
  color: #1877F2;
  border-color: rgba(24, 119, 242, 0.3);
}
.prop-share-btn-fb:hover {
  background: #1877F2;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.prop-share-btn-x {
  background: rgba(7, 19, 43, 0.08);
  color: #07132B;
  border-color: rgba(7, 19, 43, 0.2);
}
.prop-share-btn-x:hover {
  background: #07132B;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(7, 19, 43, 0.3);
}

.prop-share-btn-li {
  background: rgba(10, 102, 194, 0.1);
  color: #0A66C2;
  border-color: rgba(10, 102, 194, 0.3);
}
.prop-share-btn-li:hover {
  background: #0A66C2;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

.prop-share-btn-copy {
  background: rgba(212, 175, 55, 0.15);
  color: #07132B;
  border-color: rgba(212, 175, 55, 0.4);
}
.prop-share-btn-copy:hover {
  background: #D4AF37;
  color: #07132B;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Property Page Enquiry Section */
.prop-enquiry-section {
  background: #FFFFFF;
  border-radius: 14px;
  padding: 32px 30px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 6px 24px rgba(7, 19, 43, 0.06);
  margin-top: 35px;
  margin-bottom: 35px;
  width: 100%;
  box-sizing: border-box;
}

.prop-enquiry-header {
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
}

.prop-enquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 768px) {
  .prop-enquiry-grid {
    grid-template-columns: 1fr;
  }
}

.prop-enquiry-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.prop-enquiry-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #07132B;
}

.prop-enquiry-field input,
.prop-enquiry-field textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid #CBD5E1;
  font-size: 0.92rem;
  background: #F8FAFC;
  box-sizing: border-box;
  font-family: inherit;
  transition: all 0.2s ease;
}

.prop-enquiry-field input:focus,
.prop-enquiry-field textarea:focus {
  outline: none;
  border-color: #D4AF37;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

.prop-enquiry-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* ===================================================
   LATEST PROPERTY LISTINGS - 20 PER SLIDE CAROUSEL
   =================================================== */
.latest-header-wrapper {
  position: relative;
  margin-bottom: 35px;
}

.latest-title-group {
  text-align: center !important;
  margin: 0 auto !important;
  max-width: 850px;
}

.latest-carousel-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 768px) {
  .latest-carousel-nav {
    position: static;
    justify-content: center;
    margin-top: 15px;
  }
}

.latest-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color, #E2E8F0);
  background: #FFFFFF;
  color: var(--primary-blue, #07132B);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.latest-nav-btn:hover:not(:disabled) {
  background: var(--primary-blue, #07132B);
  color: #D4AF37;
  border-color: var(--primary-blue, #07132B);
  transform: translateY(-1px);
}

.latest-nav-btn:disabled,
.latest-nav-btn.disabled {
  opacity: 0.35;
  cursor: default !important;
  transform: none !important;
}

.latest-slide-counter {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted, #64748B);
  padding: 0 4px;
  user-select: none;
}

.latest-carousel-viewport {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  touch-action: pan-y pinch-zoom;
}

.latest-properties-track {
  display: flex;
  width: 100%;
  will-change: transform;
}

.latest-properties-slide {
  flex: 0 0 100%;
  min-width: 100%;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

/* Five rows of properties per page on desktop (4 columns x 5 rows = 20 properties per slide) */
.latest-properties-slide .properties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

@media (max-width: 1100px) {
  .latest-properties-slide .properties-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .latest-properties-slide .properties-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 520px) {
  .latest-properties-slide .properties-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.latest-carousel-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
}

.latest-page-dot {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-color, #CBD5E1);
  background: #FFFFFF;
  color: #475569;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.latest-page-dot:hover {
  border-color: #D4AF37;
  color: #07132B;
}

.latest-page-dot.active {
  background: #07132B;
  color: #D4AF37;
  border-color: #07132B;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(7, 19, 43, 0.2);
}

/* ===================================================
   VIP LUXURY PROPERTIES CAROUSEL (HOMEPAGE)
   =================================================== */
.vip-properties-section {
  background: #07132B;
  color: #FFFFFF;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.vip-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.vip-header-titles {
  text-align: left;
}

.vip-eyebrow {
  color: #D4AF37;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.vip-heading {
  font-size: 2.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.vip-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vip-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(11, 26, 56, 0.8);
  color: #D4AF37;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.vip-nav-btn:hover:not(:disabled) {
  background: #D4AF37;
  color: #07132B;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.vip-nav-btn:disabled {
  opacity: 0.35;
  cursor: default !important;
}

.vip-carousel-viewport {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  touch-action: pan-y pinch-zoom;
}

.vip-carousel-track {
  display: flex;
  gap: 20px;
  will-change: transform;
}

.vip-property-card {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 280px;
  box-sizing: border-box;
  background: #0B1E3F;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.vip-property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 175, 55, 0.6);
}

@media (max-width: 1023px) {
  .vip-property-card {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 639px) {
  .vip-property-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
}

.vip-card-img-wrap {
  position: relative;
  display: block;
  height: 220px;
  overflow: hidden;
  background: #1E293B;
}

.vip-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.vip-property-card:hover .vip-card-img-wrap img {
  transform: scale(1.05);
}

.vip-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 2;
  max-width: calc(100% - 24px);
}

.vip-badge-tag {
  background: #D4AF37;
  color: #07132B;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.vip-card-ref {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(7, 19, 43, 0.85);
  color: #F8FAFC;
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.vip-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.vip-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vip-card-location {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}

.vip-card-location i {
  color: #D4AF37;
  margin-right: 4px;
}

.vip-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.8);
}

.vip-card-features .feature-item i {
  color: #D4AF37;
  margin-right: 4px;
}

.vip-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.vip-card-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #D4AF37;
}

.btn-vip {
  background: #D4AF37;
  color: #07132B;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.8rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-vip:hover {
  background: #E6C25B;
  color: #07132B;
  transform: translateY(-1px);
}

.vip-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
}

.vip-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.vip-dot.active {
  width: 26px;
  background: #D4AF37;
}




