/*
Theme Name: Estate Theme
Theme URI: https://github.com/jatinRajpoot/estate-theme
Author: Bharti
Author URI: https://github.com/jatinRajpoot
Description: A modern, fully customizable real estate WordPress theme featuring property listings, blog sections, and SEO optimization. Perfect for real estate agencies, property managers, and brokers.
Version: 2.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: estate-theme
Tags: real-estate, property-listing, custom-colors, custom-logo, custom-menu, featured-images, theme-options, translation-ready, blog, one-column, two-columns
*/

/* =========================================
   MODERN REAL ESTATE THEME - MAIN STYLESHEET
   ========================================= */

/* ---------- Renfrew Font ---------- */
@font-face {
  font-family: 'Renfrew';
  src: url('./assets/Renfrew/RENFREWN.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---------- CSS Variables ---------- */
:root {
  /* Colors - Clean White/Dark palette (Nav Durga inspired) */
  --primary-dark: #1a1a2e;
  --primary-darker: #111122;
  --accent-gold: #1a1a2e;
  /* Dark charcoal accent */
  --accent-gold-light: #333344;
  --accent-gold-dark: #0d0d1a;
  --text-white: #ffffff;
  --text-light: #dbe4f0;
  --text-muted: #8899aa;
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(0, 0, 0, 0.1);
  --gradient-gold: linear-gradient(135deg, #1a1a2e 0%, #333344 50%, #1a1a2e 100%);
  --gradient-dark: linear-gradient(180deg, #1a1a2e 0%, #111122 100%);

  /* Typography - Renfrew */
  --font-primary: 'Renfrew', 'Playfair Display', 'Georgia', serif;
  --font-heading: 'Renfrew', 'Playfair Display', 'Georgia', serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.3s ease;
  --transition-medium: 0.5s ease;

  /* Shadows */
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-gold: 0 5px 30px rgba(0, 0, 0, 0.15);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background: #ffffff;
  color: #1a1a2e;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  outline: none;
}

/* ---------- Utility Classes ---------- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-subtitle {
  color: #1a1a2e;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 15px;
  display: block;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 600;
  margin-bottom: 20px;
}

.section-desc {
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition-fast);
}

.btn-primary {
  background: var(--gradient-gold);
  color: #ffffff;
}

.btn-primary:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
}

.btn-outline:hover {
  background: var(--accent-gold);
  color: #ffffff;
}

/* ---------- Header & Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-fast);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  padding: 15px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-tagline {
  font-size: 12px;
  color: var(--accent-gold);
  margin-top: 5px;
  font-weight: 400;
  letter-spacing: 1px;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: var(--gradient-gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 600;
}

.logo-text span {
  color: var(--accent-gold);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* WordPress menu list - row display */
.nav-menu-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu-list li {
  margin: 0;
  padding: 0;
}

.nav-menu-list li a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
  position: relative;
  text-decoration: none;
  transition: var(--transition-fast);
}

.nav-menu-list li a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition-fast);
}

.nav-menu-list li a:hover,
.nav-menu-list li.current-menu-item a,
.nav-menu-list li.current_page_item a {
  color: var(--text-white);
}

.nav-menu-list li a:hover::after,
.nav-menu-list li.current-menu-item a::after,
.nav-menu-list li.current_page_item a::after {
  width: 100%;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-light);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 5px;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-white);
  transition: var(--transition-fast);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.15) 40%,
      rgba(0, 0, 0, 0.25) 70%,
      rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 10px 24px;
  border-radius: 50px;
  margin-bottom: 30px;
  font-size: 14px;
  color: #ffffff;
  backdrop-filter: blur(10px);
  letter-spacing: 1px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 62px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 25px;
  color: #ffffff;
}

.hero-title span {
  color: #ffffff;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.3);
}

.hero-desc {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

/* Hero Search Box */
.hero-search {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 25px;
  max-width: 800px;
}

.search-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.search-tab {
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  color: var(--text-light);
  transition: var(--transition-fast);
}

.search-tab.active,
.search-tab:hover {
  background: var(--accent-gold);
  color: #ffffff;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 15px;
  align-items: end;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-field label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.search-field input,
.search-field select {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text-white);
  font-size: 15px;
}

.search-field input::placeholder {
  color: var(--text-muted);
}

.search-field select option {
  background: var(--primary-dark);
}

.search-btn {
  background: var(--gradient-gold);
  color: #ffffff;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.search-btn:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

/* Compact Inline Search Bar */
.hero-search-compact {
  background: #ffffff;
  border-radius: 12px;
  padding: 8px 8px 8px 25px;
  max-width: 750px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.search-form-inline {
  display: flex;
  align-items: center;
  gap: 0;
}

.search-field-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-right: 1px solid #e0e0e0;
  position: relative;
}

.search-field-inline:last-of-type {
  border-right: none;
}

.search-field-inline i {
  color: #666;
  font-size: 14px;
}

.search-field-inline select {
  background: transparent;
  border: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  padding-right: 15px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  min-width: 100px;
}

.search-field-inline select:focus {
  outline: none;
}

.search-field-inline select option {
  background: #fff;
  color: #333;
  padding: 10px;
}

.search-btn-inline {
  background: var(--accent-gold);
  color: #ffffff;
  padding: 16px 40px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  margin-left: auto;
}

.search-btn-inline:hover {
  background: var(--accent-gold-light);
  box-shadow: var(--shadow-gold);
}

/* Hero desc centered */
.hero-desc {
  text-align: center;
  margin: 0 auto 40px;
}

/* Hero Decoration */
.hero-decoration {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-stats {
  position: absolute;
  bottom: 50px;
  right: 100px;
  display: flex;
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--accent-gold);
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Page Hero (About, Properties, etc.) ---------- */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.9) 0%, rgba(26, 45, 74, 0.85) 100%),
    url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1920&q=80') center/cover no-repeat;
  position: relative;
  padding: 140px 0 80px;
  text-align: center;
  color: var(--text-white);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero .page-title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #d4a853 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {

  0%,
  100% {
    background-position: 0% center;
  }

  50% {
    background-position: 100% center;
  }
}

.page-hero .breadcrumb {
  color: var(--accent-gold);
  font-size: 16px;
}

.page-hero .breadcrumb a {
  color: var(--text-light);
  transition: color 0.3s;
}

.page-hero .breadcrumb a:hover {
  color: var(--accent-gold);
}

.page-hero .breadcrumb span {
  margin: 0 10px;
}

.page-hero .page-description {
  color: var(--text-light);
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.7;
}

/* ---------- Featured Properties ---------- */
.properties {
  background: var(--primary-darker);
}

.properties-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.properties-grid .property-card {
  flex: 1;
  min-width: 300px;
  max-width: 380px;
}

.property-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  overflow: hidden;
  transition: var(--transition-medium);
  position: relative;
  backdrop-filter: blur(10px);
}

.property-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #d4a853, #f0d799, #d4a853, transparent);
  transform: scaleX(0);
  transition: transform 0.5s;
  z-index: 5;
}

.property-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center top, rgba(212, 168, 83, 0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.property-card:hover::before {
  transform: scaleX(1);
}

.property-card:hover::after {
  opacity: 1;
}

.property-card .property-description {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
  border-color: rgba(212, 168, 83, 0.3);
}

.property-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.property-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent-gold);
  font-size: 32px;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

.property-card:hover .property-image img {
  transform: scale(1.1);
}

.property-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--accent-gold);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.property-favorite {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.property-favorite:hover {
  background: var(--accent-gold);
  color: #ffffff;
}

.property-delete {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  background: rgba(220, 53, 69, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition-fast);
  z-index: 100;
}

.property-delete:hover {
  background: #dc3545;
  transform: scale(1.1);
}

.admin-actions {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  z-index: 5;
  position: relative;
}

.property-content {
  padding: 20px;
}

/* ========== Premium Styles (Shared) ========== */

/* Premium Hero */
.premium-hero-shared {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
  padding-bottom: 60px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--primary-dark);
}

.premium-hero-shared::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 20% 40%, rgba(0, 0, 0, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(0, 0, 0, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.premium-hero-shared::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, #111122 0%, transparent 100%);
  pointer-events: none;
}

.premium-hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 50px 30px;
  max-width: 850px;
  margin: 0 auto;
}

.premium-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 14px 32px;
  border-radius: 50px;
  margin-bottom: 30px;
  font-size: 14px;
  color: #ffffff;
  backdrop-filter: blur(15px);
  animation: fadeInUp 0.6s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.premium-hero-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.premium-hero-badge i {
  font-size: 16px;
}

.premium-hero-title {
  font-family: var(--font-heading), 'Playfair Display', serif;
  font-size: 58px;
  font-weight: 700;
  margin-bottom: 24px;
  color: #ffffff;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

/* Premium Filter Box (Glassmorphism) */
.premium-filter-box {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 28px;
  padding: 35px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  margin: 0 auto;
  width: 100%;
}

.premium-filter-box::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.08) 0%, transparent 60%);
  pointer-events: none;
}



.property-price {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 8px;
}

.property-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}

.property-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13px;
  margin-bottom: 15px;
}

.property-features {
  display: flex;
  gap: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--card-border);
}

.feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-light);
}

.feature-icon {
  color: var(--accent-gold);
}

/* ---------- Why Choose Us ---------- */
.why-us {
  position: relative;
  overflow: hidden;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.why-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: var(--transition-fast);
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 0, 0, 0.3);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 32px;
  color: var(--accent-gold);
}

.why-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.why-desc {
  color: var(--text-light);
  font-size: 15px;
}

/* ---------- Statistics Section ---------- */
.stats-section {
  background: var(--gradient-dark);
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(41,98,255,0.05)" stroke-width="0.5"/></svg>');
  background-size: 200px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}

.stats-item {
  text-align: center;
  padding: 40px;
}

.stats-number {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 15px;
}

.stats-label {
  font-size: 16px;
  color: var(--text-light);
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--primary-dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 40px;
  transition: var(--transition-medium);
}

.testimonial-card:hover {
  border-color: rgba(212, 168, 83, 0.3);
}

.testimonial-rating {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}

.star {
  color: var(--accent-gold);
  font-size: 18px;
}

.testimonial-text {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 30px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-image {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-gold);
}

.author-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 3px;
}

.author-info span {
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Newsletter ---------- */
.newsletter {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(10, 22, 40, 1) 100%);
  position: relative;
}

.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.newsletter-text {
  max-width: 500px;
}

.newsletter-text h3 {
  font-family: var(--font-heading);
  font-size: 36px;
  margin-bottom: 15px;
}

.newsletter-text p {
  color: var(--text-light);
}

.newsletter-form {
  display: flex;
  gap: 15px;
  flex: 1;
  max-width: 500px;
}

.newsletter-form input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  padding: 18px 30px;
  color: var(--text-white);
  font-size: 15px;
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.footer {
  background: #f5f5f7;
  padding: 80px 0 30px;
  color: #1a1a2e;
}

.footer .footer-title {
  color: #1a1a2e;
}

.footer .footer-brand p,
.footer .footer-links a,
.footer .footer-contact li {
  color: #555555;
}

.footer .footer-links a:hover {
  color: #1a1a2e;
}

.footer .logo-text {
  color: #1a1a2e;
}

.footer .footer-bottom p {
  color: #888888;
}

.footer .footer-bottom {
  border-top-color: rgba(0, 0, 0, 0.1);
}

.footer .footer-bottom-links a {
  color: #888888;
}

.footer .footer-contact li i {
  color: #1a1a2e;
}

.footer .social-link {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #1a1a2e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-light);
  margin: 20px 0 30px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 45px;
  height: 45px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--accent-gold);
  color: #ffffff;
  border-color: var(--accent-gold);
}

.footer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--text-white);
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-light);
  font-size: 15px;
}

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--text-light);
  font-size: 15px;
}

.footer-contact li i {
  color: var(--accent-gold);
  margin-top: 4px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--card-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-bottom-links a:hover {
  color: var(--accent-gold);
}

/* ---------- Page Hero (For Inner Pages) ---------- */
.page-hero {
  padding: 180px 0 100px;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.95) 0%, rgba(26, 45, 74, 0.95) 100%);
  text-align: center;
  position: relative;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0, 0, 0, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a1a2e;
}

.section-title {
  color: #1a1a2e;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--accent-gold);
}

.breadcrumb span {
  color: var(--text-muted);
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: 25px;
  width: 500px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a2e;
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 16px 20px;
  color: var(--text-white);
  font-size: 15px;
  font-family: inherit;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* ---------- Cards Common ---------- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 35px;
  transition: var(--transition-medium);
}

.card:hover {
  border-color: rgba(0, 0, 0, 0.3);
}

/* ---------- Services Cards ---------- */
.service-card {
  text-align: center;
  padding: 50px 35px;
}

.service-icon {
  width: 90px;
  height: 90px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 36px;
  color: var(--accent-gold);
  transition: var(--transition-fast);
}

.service-card:hover .service-icon {
  background: var(--accent-gold);
  color: #ffffff;
}

.service-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
}

.service-desc {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 25px;
}

/* ---------- Team Cards ---------- */
.team-card {
  text-align: center;
  overflow: hidden;
}

.team-image {
  position: relative;
  height: 280px;
  margin: -35px -35px 25px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

.team-card:hover .team-image img {
  transform: scale(1.1);
}

.team-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(10, 22, 40, 0.9));
  display: flex;
  justify-content: center;
  gap: 15px;
  transform: translateY(100%);
  transition: var(--transition-fast);
}

.team-card:hover .team-overlay {
  transform: translateY(0);
}

.team-social {
  width: 40px;
  height: 40px;
  background: var(--accent-gold);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.team-social:hover {
  background: var(--text-white);
}

.team-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}

.team-role {
  color: var(--accent-gold);
  font-size: 14px;
}

/* ---------- Property Details Page ---------- */
.property-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 15px;
  margin-bottom: 40px;
}

.gallery-main {
  border-radius: 20px;
  overflow: hidden;
  height: 450px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  gap: 15px;
}

.gallery-thumb {
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-fast);
}

.gallery-thumb:hover {
  opacity: 0.8;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-info {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.property-main h1 {
  font-family: var(--font-heading);
  font-size: 36px;
  margin-bottom: 15px;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--card-border);
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
}

.meta-item i {
  color: var(--accent-gold);
}

.property-description {
  margin-bottom: 40px;
}

.property-description h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.property-description p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: var(--card-bg);
  border-radius: 10px;
}

.amenity-item i {
  color: var(--accent-gold);
  font-size: 20px;
}

/* Agent Card */
.agent-card {
  position: sticky;
  top: 120px;
}

/* ========== Global Premium Hero ========== */
.premium-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  padding: 140px 0 80px;
  text-align: center;
  overflow: hidden;
}

.premium-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 20% 40%, rgba(0, 0, 0, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 60%, rgba(0, 0, 0, 0.08) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}

.premium-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to top, var(--primary-dark) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.premium-hero .page-hero-content {
  position: relative;
  z-index: 2;
}

/* ========== Global Premium Components ========== */
.premium-info-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 24px;
  padding: 45px 28px;
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.premium-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #d4a853, #f0d799, #d4a853, transparent);
  transform: scaleX(0);
  transition: transform 0.5s;
}

.premium-info-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center top, rgba(212, 168, 83, 0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.premium-info-card:hover {
  transform: translateY(-12px);
  border-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.12);
}

.premium-info-card:hover::before {
  transform: scaleX(1);
}

.premium-info-card:hover::after {
  opacity: 1;
}

.info-icon-wrap {
  width: 85px;
  height: 85px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  position: relative;
  transition: all 0.5s;
  border: 1px solid rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}

.premium-info-card:hover .info-icon-wrap {
  background: linear-gradient(135deg, #1a1a2e 0%, #333344 50%, #1a1a2e 100%);
  transform: scale(1.12) rotate(5deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-color: transparent;
}

.premium-info-card:hover .info-icon-wrap i {
  color: #1a1a2e;
}

.info-icon-wrap i {
  font-size: 32px;
  color: #1a1a2e;
  transition: all 0.5s;
}

.premium-info-card h4,
.premium-info-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
  font-family: var(--font-heading), 'Oswald', sans-serif;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.premium-info-card:hover h4,
.premium-info-card:hover h3 {
  color: #1a1a2e;
}

.premium-info-card p {
  color: #a8b8c8;
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
}

/* ========== Premium Contact/Form Styles (Shared) ========== */
.contact-info-section {
  padding: 120px 0;
  background: linear-gradient(180deg, #111122 0%, #1a1a2e 40%, #222244 80%, #1a1a2e 100%);
  position: relative;
}

.premium-form-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 28px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.premium-form-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(212, 168, 83, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.form-header {
  margin-bottom: 35px;
  text-align: left;
  position: relative;
  z-index: 1;
}

.form-header h3,
.form-header h2 {
  font-family: var(--font-heading), 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
  line-height: 1.2;
}

.form-header p {
  color: #9aacbf;
  font-size: 16px;
  font-weight: 500;
}

.premium-form .form-row {
  display: flex !important;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 25px;
}

@media (min-width: 768px) {
  .premium-form .form-row.two-col {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

.premium-form .form-group {
  flex: 1;
  margin-bottom: 0;
  position: relative;
}

.premium-form .form-group.full-width {
  grid-column: 1 / -1;
  width: 100%;
}

.premium-form label,
#add-property-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e !important;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.premium-form input[type="text"],
.premium-form input[type="number"],
.premium-form input[type="email"],
.premium-form input[type="tel"],
.premium-form select,
.premium-form textarea,
#add-property-form input,
#add-property-form select,
#add-property-form textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 12px;
  padding: 16px 20px !important;
  color: #fff !important;
  font-size: 16px !important;
  font-family: inherit;
  transition: all 0.3s ease;
  height: auto !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

#add-property-form .file-upload-wrapper {
  height: 54px;
  /* Match standard input height approx */
  display: flex !important;
  align-items: center;
  padding: 0 20px;
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  width: 100%;
  cursor: pointer;
  transition: all 0.3s;
}

#add-property-form .file-upload-wrapper:hover {
  border-color: #d4a853;
  background: rgba(0, 0, 0, 0.3);
}

.premium-form textarea {
  min-height: 150px;
  resize: vertical;
}

.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus,
#add-property-form input:focus,
#add-property-form select:focus,
#add-property-form textarea:focus {
  outline: none !important;
  border-color: #1a1a2e !important;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.premium-form input::placeholder,
.premium-form textarea::placeholder {
  color: #6b7c8f;
}

.premium-form select option {
  background: #1a1a2e;
  color: #fff;
  padding: 10px;
}

.premium-form textarea {
  min-height: 130px;
  resize: vertical;
}

.premium-submit-btn,
#add-property-form .premium-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #1a1a2e 0%, #333344 50%, #1a1a2e 100%) !important;
  background-size: 200% auto;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px;
  padding: 17px 40px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.4s;
  margin-top: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.premium-submit-btn:hover {
  background-position: right center;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.35);
  transform: translateY(-3px);
}

.premium-submit-btn i {
  font-size: 14px;
}

/* File Upload Correction for new styles */
.file-upload-wrapper {
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}

.file-upload-wrapper:hover {
  border-color: #d4a853;
  background: rgba(255, 255, 255, 0.06);
}

/* Update .property-card for premium glassmorphism effect */
.property-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 24px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.property-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #d4a853, #f0d799, #d4a853, transparent);
  transform: scaleX(0);
  transition: transform 0.5s;
}

.property-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center top, rgba(212, 168, 83, 0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.property-card:hover {
  transform: translateY(-12px);
  border-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.12);
}

.property-card:hover::before {
  transform: scaleX(1);
}

.property-card:hover::after {
  opacity: 1;
}

.agent-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--card-border);
}

.agent-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-gold);
}

.agent-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.agent-info span {
  color: var(--accent-gold);
  font-size: 14px;
}

.agent-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.agent-contact a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
}

.agent-contact a i {
  color: var(--accent-gold);
}

/* ---------- FAQ Accordion ---------- */
.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 15px;
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 25px;
  background: transparent;
  color: var(--text-white);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-gold);
}

.faq-question i {
  transition: var(--transition-fast);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 25px 25px;
  color: var(--text-light);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

/* ---------- Responsive Design ---------- */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 52px;
  }

  .hero-stats {
    display: none;
  }

  .properties-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {

  /* Mobile Navigation */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--primary-darker);
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    z-index: 999;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    width: 100%;
  }

  .nav-menu-list li {
    width: 100%;
  }

  .nav-menu-list li a {
    font-size: 18px;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--card-border);
  }

  .nav-menu-list li a::after {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    z-index: 1001;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Mobile menu overlay */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Compact search bar mobile */
  .hero-search-compact {
    padding: 15px;
    border-radius: 15px;
  }

  .search-form-inline {
    flex-direction: column;
    gap: 15px;
  }

  .search-field-inline {
    width: 100%;
    padding: 15px;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .search-field-inline:last-of-type {
    border-bottom: none;
  }

  .search-field-inline select {
    width: 100%;
  }

  .search-btn-inline {
    width: 100%;
    text-align: center;
    margin-left: 0;
  }

  /* Services grid */
  .section [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* About section layout */
  .section.why-us [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .search-form {
    grid-template-columns: 1fr 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .property-info {
    grid-template-columns: 1fr;
  }

  .newsletter-content {
    flex-direction: column;
    text-align: center;
  }

  .newsletter-form {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-content {
    padding-top: 100px !important;
  }

  .section-title {
    font-size: 28px;
  }

  .section {
    padding: 60px 0;
  }

  .properties-grid,
  .testimonials-grid,
  .why-us-grid {
    grid-template-columns: 1fr;
  }

  /* Services 1 column on mobile */
  .section [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr !important;
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .property-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-main {
    height: 300px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== Extra Small Devices (320px - 480px) ========== */
@media (max-width: 480px) {

  /* Container & Base */
  .container {
    padding: 0 15px;
  }

  .section {
    padding: 50px 0;
  }

  /* Typography */
  .section-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .section-subtitle {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 10px;
  }

  .section-desc {
    font-size: 14px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  /* Buttons */
  .btn {
    padding: 12px 22px;
    font-size: 13px;
    gap: 8px;
    border-radius: 40px;
  }

  /* Header */
  .header {
    padding: 15px 0;
  }

  .header.scrolled {
    padding: 10px 0;
  }

  .logo-icon {
    width: 38px;
    height: 38px;
    font-size: 16px;
    border-radius: 10px;
  }

  .logo-text {
    font-size: 18px;
  }

  .site-tagline {
    font-size: 10px;
  }

  .site-logo-img {
    height: 50px !important;
  }

  .nav-menu {
    width: 100%;
    max-width: 100%;
    padding: 70px 20px 20px;
  }

  .nav-menu-list li a {
    font-size: 16px;
    padding: 12px 0;
  }

  /* Hero Section */
  .hero {
    min-height: auto;
    padding: 100px 0 60px;
  }

  .hero-content {
    padding-top: 30px !important;
    text-align: center;
  }

  .hero-badge {
    font-size: 11px;
    padding: 8px 15px;
    margin-bottom: 20px;
    gap: 8px;
  }

  .hero-title {
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .hero-desc {
    font-size: 14px;
    margin-bottom: 25px;
    padding: 0 10px;
  }

  .hero-buttons {
    gap: 10px;
    margin-bottom: 30px;
  }

  .hero-buttons .btn {
    padding: 12px 20px;
    font-size: 13px;
  }

  /* Compact Search Bar */
  .hero-search-compact {
    padding: 12px;
    border-radius: 12px;
    max-width: 100%;
  }

  .search-field-inline {
    padding: 12px 15px;
  }

  .search-field-inline i {
    font-size: 12px;
  }

  .search-field-inline select {
    font-size: 13px;
    min-width: 80px;
  }

  .search-btn-inline {
    padding: 14px 25px;
    font-size: 14px;
    border-radius: 8px;
  }

  /* Properties Grid */
  .properties-grid {
    gap: 20px;
  }

  .property-card {
    border-radius: 12px;
  }

  .property-image {
    height: 180px;
  }

  .property-content {
    padding: 15px;
  }

  .property-price {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .property-price span {
    font-size: 11px;
  }

  .property-title {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .property-location {
    font-size: 12px;
    margin-bottom: 12px;
  }

  .property-features {
    gap: 10px;
    padding-top: 12px;
  }

  .feature {
    font-size: 12px;
    gap: 4px;
  }

  .property-badge {
    font-size: 10px;
    padding: 3px 10px;
  }

  .property-favorite {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  /* Why Choose Us */
  .why-card {
    padding: 30px 20px;
    border-radius: 15px;
  }

  .why-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
    margin-bottom: 20px;
  }

  .why-title {
    font-size: 17px;
    margin-bottom: 10px;
  }

  .why-desc {
    font-size: 13px;
  }

  /* Stats Section */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stats-item {
    padding: 25px 15px;
  }

  .stats-number {
    font-size: 36px;
    margin-bottom: 10px;
  }

  .stats-label {
    font-size: 13px;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 25px 20px;
    border-radius: 15px;
  }

  .testimonial-rating {
    margin-bottom: 15px;
  }

  .star {
    font-size: 14px;
  }

  .testimonial-text {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

  .testimonial-author {
    gap: 12px;
  }

  .author-image {
    width: 45px;
    height: 45px;
  }

  .author-info h4 {
    font-size: 14px;
  }

  .author-info span {
    font-size: 12px;
  }

  /* Newsletter */
  .newsletter {
    padding: 50px 0;
  }

  .newsletter-text h3 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .newsletter-text p {
    font-size: 14px;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 12px;
  }

  .newsletter-form input {
    padding: 14px 20px;
    font-size: 14px;
  }

  /* Footer */
  .footer {
    padding: 50px 0 25px;
  }

  .footer-grid {
    gap: 30px;
    margin-bottom: 30px;
  }

  .footer-brand p {
    font-size: 14px;
    margin: 15px 0 20px;
  }

  .footer-social {
    gap: 10px;
  }

  .social-link {
    width: 38px;
    height: 38px;
    font-size: 14px;
  }

  .footer-title {
    font-size: 16px;
    margin-bottom: 18px;
  }

  .footer-links li {
    margin-bottom: 10px;
  }

  .footer-links a {
    font-size: 14px;
  }

  .footer-contact li {
    font-size: 13px;
    margin-bottom: 12px;
    gap: 10px;
  }

  .footer-bottom {
    padding-top: 20px;
    gap: 15px;
  }

  .footer-bottom p {
    font-size: 12px;
  }

  .footer-bottom-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-bottom-links a {
    font-size: 12px;
  }

  /* Page Hero */
  .page-hero {
    padding: 120px 0 60px;
  }

  .page-title {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .breadcrumb {
    font-size: 13px;
    gap: 10px;
  }

  /* Forms */
  .form-group {
    margin-bottom: 18px;
  }

  .form-group label {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .form-control {
    padding: 14px 16px;
    font-size: 14px;
    border-radius: 10px;
  }

  textarea.form-control {
    min-height: 120px;
  }

  /* Cards */
  .card {
    padding: 25px 20px;
    border-radius: 15px;
  }

  /* Services Cards */
  .service-card {
    padding: 35px 20px;
  }

  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 28px;
    margin-bottom: 20px;
  }

  .service-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .service-desc {
    font-size: 14px;
    margin-bottom: 18px;
  }

  /* Amenities */
  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .amenity-item {
    padding: 12px;
    gap: 10px;
    border-radius: 8px;
  }

  /* Blog Styles */
  .blog-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .blog-card .blog-image {
    height: 180px;
  }

  .blog-card .blog-content {
    padding: 18px;
  }

  .blog-meta {
    gap: 12px;
    font-size: 11px;
    margin-bottom: 12px;
  }

  .blog-title {
    font-size: 17px;
    margin-bottom: 12px;
  }

  .blog-excerpt {
    font-size: 13px;
    margin-bottom: 15px;
  }

  /* 404 Page */
  .error-404 {
    padding: 60px 0;
    min-height: 50vh;
  }

  .error-title {
    font-size: 80px;
  }

  .error-subtitle {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .error-description {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .error-actions {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
  }
}

/* ========== Extra Extra Small Devices (320px and below) ========== */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .hero-title {
    font-size: 22px;
  }

  .hero-badge {
    font-size: 10px;
    padding: 6px 12px;
  }

  .section-title {
    font-size: 20px;
  }

  .btn {
    padding: 10px 18px;
    font-size: 12px;
  }

  .logo-text {
    font-size: 16px;
  }

  .site-logo-img {
    height: 45px !important;
  }

  .property-image {
    height: 160px;
  }

  .property-price {
    font-size: 16px;
  }

  .property-title {
    font-size: 14px;
  }

  .stats-number {
    font-size: 30px;
  }

  .page-title {
    font-size: 24px;
  }

  .error-title {
    font-size: 60px;
  }

  .footer-title {
    font-size: 15px;
  }

  .newsletter-text h3 {
    font-size: 20px;
  }
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
  animation: fadeIn 0.6s ease forwards;
}

/* Delay classes */
.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.delay-5 {
  animation-delay: 0.5s;
}

/* ---------- Blog Styles ---------- */
.blog-section {
  background: var(--primary-dark);
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 50px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-medium);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 168, 83, 0.3);
}

.blog-card .blog-image {
  display: block;
  height: 200px;
  overflow: hidden;
}

.blog-card .blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-medium);
}

.blog-card:hover .blog-image img {
  transform: scale(1.05);
}

.blog-card .blog-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 13px;
  color: var(--text-muted);
}

.blog-meta i {
  margin-right: 5px;
  color: var(--accent-gold);
}

.blog-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-title a {
  color: var(--text-white);
}

.blog-title a:hover {
  color: var(--accent-gold);
}

.blog-excerpt {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.7;
}

.blog-link {
  color: var(--accent-gold);
  font-weight: 500;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.blog-link:hover {
  gap: 12px;
}

/* Blog Sidebar */
.blog-sidebar {
  position: sticky;
  top: 120px;
}

.blog-sidebar .widget {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 30px;
}

.blog-sidebar .widget-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-white);
}

/* ---------- Single Post Styles ---------- */
.single-post .blog-main {
  max-width: 800px;
}

.post-featured-image {
  margin-bottom: 30px;
  border-radius: 20px;
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  height: auto;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--card-border);
}

.post-meta span {
  color: var(--text-muted);
  font-size: 14px;
}

.post-meta i {
  margin-right: 8px;
  color: var(--accent-gold);
}

.post-content {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  color: var(--text-white);
  margin: 30px 0 15px;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content a {
  color: var(--accent-gold);
}

.post-content img {
  border-radius: 10px;
  margin: 20px 0;
}

.post-content blockquote {
  border-left: 4px solid var(--accent-gold);
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  color: var(--text-light);
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0;
  padding: 20px 0;
  border-top: 1px solid var(--card-border);
}

.tags-label {
  color: var(--text-muted);
  margin-right: 10px;
}

.tag-link {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-light);
}

.tag-link:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Author Box */
.author-box {
  display: flex;
  gap: 25px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  margin: 40px 0;
}

.author-avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.author-bio {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 15px;
}

.author-link {
  color: var(--accent-gold);
  font-size: 14px;
}

/* Post Navigation */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 40px 0;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 15px;
}

.post-navigation .nav-next {
  text-align: right;
}

.nav-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.nav-title {
  color: var(--text-white);
  font-weight: 500;
}

.nav-title:hover {
  color: var(--accent-gold);
}

/* ---------- Property Filters ---------- */
.property-filters-section {
  background: var(--primary-darker);
  padding: 40px 0;
}

.property-filters {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-group label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.filter-group select,
.filter-group input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text-white);
  font-size: 14px;
}

.filter-group select option {
  background: var(--primary-dark);
}

.filter-buttons {
  flex-direction: row;
  gap: 10px;
}

/* ---------- Pagination ---------- */
.pagination {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.pagination-list {
  display: flex;
  gap: 10px;
}

.pagination-item a,
.pagination-item span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  height: 45px;
  padding: 0 15px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  color: var(--text-light);
  font-size: 15px;
  transition: var(--transition-fast);
}

.pagination-item a:hover,
.pagination-item .current {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #ffffff;
}

/* ---------- Search Results ---------- */
.search-results-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.search-result-item {
  display: flex;
  gap: 25px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 15px;
  padding: 25px;
}

.result-thumbnail {
  flex-shrink: 0;
  width: 150px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
}

.result-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-type {
  display: inline-block;
  background: rgba(212, 168, 83, 0.15);
  color: var(--accent-gold);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 10px;
}

.result-title {
  font-size: 20px;
  margin-bottom: 10px;
}

.result-title a {
  color: var(--text-white);
}

.result-title a:hover {
  color: var(--accent-gold);
}

.result-excerpt {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 15px;
}

.result-link {
  color: var(--accent-gold);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.results-count {
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* ---------- 404 Page ---------- */
.error-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
}

.error-content {
  text-align: center;
  max-width: 500px;
}

.error-icon {
  width: 120px;
  height: 120px;
  background: rgba(212, 168, 83, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  font-size: 48px;
  color: var(--accent-gold);
}

.error-title {
  font-family: var(--font-heading);
  font-size: 120px;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 10px;
}

.error-subtitle {
  font-size: 28px;
  margin-bottom: 20px;
}

.error-description {
  color: var(--text-light);
  margin-bottom: 40px;
}

.error-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 40px;
}

.error-search {
  padding-top: 30px;
  border-top: 1px solid var(--card-border);
}

.error-search p {
  color: var(--text-muted);
  margin-bottom: 15px;
}

/* ---------- Comments ---------- */
.comments-area {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--card-border);
}

.comments-title {
  font-size: 24px;
  margin-bottom: 30px;
}

.comment-list {
  list-style: none;
}

.comment-item {
  margin-bottom: 30px;
}

.comment-body {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 15px;
  padding: 25px;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.comment-author .author-avatar {
  border-radius: 50%;
  overflow: hidden;
}

.comment-author .author-name {
  font-size: 16px;
  margin-bottom: 2px;
}

.comment-date {
  font-size: 13px;
  color: var(--text-muted);
}

.comment-content {
  color: var(--text-light);
  line-height: 1.7;
}

.comment-reply {
  margin-top: 15px;
}

.comment-reply a {
  color: var(--accent-gold);
  font-size: 14px;
}

.comment-reply-title {
  font-size: 22px;
  margin-bottom: 25px;
}

.comment-form .form-group {
  margin-bottom: 20px;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--text-white);
  font-size: 15px;
  font-family: inherit;
}

.comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* ---------- No Results ---------- */
.no-results {
  text-align: center;
  padding: 60px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
}

.no-results h2 {
  margin-bottom: 15px;
}

.no-results p {
  color: var(--text-light);
  margin-bottom: 30px;
}

/* ---------- Agent Card (Property Sidebar) ---------- */
.agent-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 30px;
  position: sticky;
  top: 120px;
}

.agent-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.agent-card .form-group input,
.agent-card .form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 14px;
  color: var(--text-white);
  font-family: inherit;
}

.agent-card .form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ---------- Property Info Layout ---------- */
.property-info {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  margin-top: 40px;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  padding: 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 15px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
}

.meta-item i {
  color: var(--accent-gold);
}

.property-description h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.property-description p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 15px;
}

/* Details Table */
.details-table {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 15px;
  overflow: hidden;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid var(--card-border);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--text-muted);
}

.detail-value {
  font-weight: 500;
}

/* WordPress specific */
.wp-caption {
  max-width: 100%;
  margin-bottom: 20px;
}

.wp-caption-text {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  padding: 10px;
}

.alignleft {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
}

.alignright {
  float: right;
  margin-left: 20px;
  margin-bottom: 20px;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}

/* Screen reader text */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* Search form */
.search-form {
  display: flex;
  gap: 10px;
}

.search-form .search-field {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  padding: 14px 20px;
  color: var(--text-white);
}

.search-form .search-submit {
  background: var(--accent-gold);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 14px 25px;
  font-weight: 500;
  cursor: pointer;
}

/* Property page responsive */
@media (max-width: 992px) {
  .property-info {
    grid-template-columns: 1fr;
  }

  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }

  .property-filters {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .search-result-item {
    flex-direction: column;
  }

  .result-thumbnail {
    width: 100%;
    height: 180px;
  }

  .author-box {
    flex-direction: column;
    text-align: center;
  }

  .post-navigation {
    grid-template-columns: 1fr;
  }

  .post-navigation .nav-next {
    text-align: left;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .property-filters {
    grid-template-columns: 1fr;
  }

  .error-title {
    font-size: 80px;
  }

  .error-actions {
    flex-direction: column;
  }

}

/* ---------- Property Listing Hero ---------- */
.property-listing-hero {
  min-height: 350px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.property-listing-hero .page-hero-content {
  text-align: center;
  width: 100%;
}

.property-listing-hero .page-title {
  font-size: 48px;
  margin-bottom: 15px;
}

.page-description {
  color: var(--text-light);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.7;
}

/* ---------- Photo Deck Component ---------- */
.photo-deck {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.photo-deck-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.photo-deck-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: scale(1.05);
}

.photo-deck-item.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.photo-deck-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-deck-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}

.deck-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition-fast);
}

.deck-dot.active {
  background: var(--accent-gold);
  transform: scale(1.2);
}

.deck-dot:hover {
  background: var(--accent-gold-light);
}

.photo-deck-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: var(--transition-fast);
  z-index: 5;
  font-size: 12px;
}

.property-card:hover .photo-deck-nav {
  opacity: 1;
}

.photo-deck-nav:hover {
  background: var(--accent-gold);
  color: #ffffff;
}

.photo-deck-prev {
  left: 10px;
}

.photo-deck-next {
  right: 10px;
}

.photo-count {
  position: absolute;
  top: 15px;
  right: 55px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 5;
}

/* Property Card with Photo Deck */
.property-card.has-photo-deck .property-image {
  height: 220px;
}

/* Property Description */
.property-description {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  overflow: hidden;
}

/* ---------- Media Queries for Photo Deck ---------- */
@media (max-width: 992px) {
  .property-listing-hero .page-title {
    font-size: 38px;
  }

  .page-description {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .property-listing-hero {
    min-height: 280px;
  }

  .property-listing-hero .page-title {
    font-size: 32px;
  }

  .page-description {
    font-size: 15px;
    padding: 0 15px;
  }

  .photo-deck-nav {
    width: 28px;
    height: 28px;
    opacity: 1;
  }

  .deck-dot {
    width: 6px;
    height: 6px;
  }
}

/* ========== Contact Form Section ========== */
.contact-form-section {
  position: relative;
  overflow: hidden;
}

.contact-form-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.home-contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  /* Slightly adjusted ratio */
  gap: 80px;
  /* Increased gap */
  align-items: start;
  /* Align correctly at top */
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 60px;
  /* Increased padding */
  backdrop-filter: blur(10px);
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.contact-info-side {
  padding-right: 0;
  /* Let gap handle spacing */
  padding-left: 0;
  padding-top: 20px;
  /* Align visual top with form */
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 30px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid var(--card-border);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.contact-info-item:hover {
  transform: translateY(-5px);
  border-color: var(--accent-gold);
  background: rgba(0, 0, 0, 0.1);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 18px;
}

.contact-info-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-white);
}

.contact-info-item a,
.contact-info-item span {
  color: var(--text-light);
  font-size: 14px;
  transition: var(--transition-fast);
  overflow-wrap: anywhere;
}

.contact-info-item a:hover {
  color: var(--accent-gold);
}

/* Contact Form Styles */
.contact-form-side {
  /* Removed background and border to avoid double-boxing */
  padding: 40px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form .form-group.full-width {
  margin-bottom: 25px;
}

.contact-form label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  background: rgba(0, 0, 0, 0.3);
  /* Darker input background */
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 15px 18px;
  color: var(--text-white);
  font-size: 15px;
  font-family: var(--font-primary);
  transition: var(--transition-fast);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  background: rgba(0, 0, 0, 0.05);
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231a1a2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  cursor: pointer;
}

.contact-form select option {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 10px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .submit-btn {
  width: 100%;
  justify-content: center;
  padding: 18px 40px;
  background: var(--accent-gold);
  /* Solid Gold (now Blue) */
  color: #ffffff;
  /* White Text */
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 16px;
  font-weight: 600;
}

.contact-form .submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Contact Form Responsive */
@media (max-width: 992px) {
  .home-contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 35px;
  }

  .contact-info-side {
    padding-right: 0;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .home-contact-wrapper {
    gap: 32px;
    padding: 30px;
  }

  .contact-info-side {
    padding-top: 0;
  }

  .contact-info-item {
    align-items: flex-start;
  }

  .contact-form-side {
    padding: 30px 25px;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .home-contact-wrapper {
    padding: 25px;
  }

  .contact-form-side {
    padding: 25px;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Extra Small Devices (320px - 480px) */
@media (max-width: 480px) {
  .contact-form-section {
    padding: 60px 0;
  }

  .home-contact-wrapper {
    padding: 20px;
    gap: 30px;
    border-radius: 16px;
  }

  .contact-info-side .section-title {
    font-size: 24px !important;
    line-height: 1.3;
  }

  .contact-info-side .section-subtitle {
    font-size: 12px;
  }

  .contact-info-side p {
    font-size: 14px;
  }

  .contact-info-items {
    gap: 18px;
    margin-top: 20px;
  }

  .contact-info-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    font-size: 16px;
    border-radius: 10px;
  }

  .contact-info-item h4 {
    font-size: 13px;
  }

  .contact-info-item a,
  .contact-info-item span {
    font-size: 13px;
  }

  .contact-form-side {
    padding: 20px;
    border-radius: 16px;
  }

  .contact-form .form-row {
    gap: 12px;
    margin-bottom: 12px;
  }

  .contact-form label {
    font-size: 11px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 8px;
  }

  .contact-form textarea {
    min-height: 100px;
  }

  .contact-form .form-group.full-width {
    margin-bottom: 20px;
  }

  .contact-form .submit-btn {
    padding: 14px 30px;
    font-size: 14px;
  }
}


/* File Upload Styling */
.file-upload-wrapper {
  position: relative;
  width: 100%;
  height: 52px;
  /* Match typical input height */
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition-fast);
}

.file-upload-wrapper:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-gold);
}

.file-upload-wrapper input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  /* Hide default input */
  cursor: pointer;
  z-index: 2;
}

.file-upload-wrapper .placeholder-text {
  color: var(--text-muted);
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-upload-wrapper i {
  color: var(--accent-gold);
  font-size: 18px;
}

/* Premium Form Grid Layout */
.premium-form .form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .premium-form .form-row.two-col {
    grid-template-columns: 1fr;
  }
}

/* ---------- Blue Theme Contact Section (Overrides) ---------- */
.contact-form-section.blue-theme {
  /* Keeping background dark/navy as per request but ensuring elements pop */
  --accent-blue: #1a1a2e;
  --accent-blue-hover: #333344;
  --accent-blue-soft: rgba(0, 0, 0, 0.1);
}

.contact-form-section.blue-theme .section-subtitle {
  color: var(--accent-blue);
  font-weight: 700;
  letter-spacing: 1px;
}

.contact-form-section.blue-theme .contact-info-icon {
  background: var(--accent-blue-soft);
  color: var(--accent-blue);
  border: 1px solid rgba(0, 0, 0, 0.2);
}

.contact-form-section.blue-theme .contact-info-item:hover .contact-info-icon {
  background: var(--accent-blue);
  color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.contact-form-section.blue-theme .premium-form-card,
.contact-form-section.blue-theme .contact-form-side form {
  /* Ensure form container has consistent styling if direct form styling is used */
  border-color: rgba(0, 0, 0, 0.2);
}

.contact-form-section.blue-theme .form-control:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* Blue Button Style */
.btn-blue {
  background: linear-gradient(135deg, #1a1a2e 0%, #0039Cb 100%);
  color: #fff;
  border: none;
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #333344 0%, #1a1a2e 100%);
  color: #fff;
}

.contact-form-section.blue-theme .form-group label {
  color: #a8b8c8;
  /* Softer text for label */
}

/* Layout Fix for Contact Section */
.home-contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  /* Give more space to form if needed, or 1:1 */
  gap: 80px;
  align-items: center;
}

@media (max-width: 991px) {
  .home-contact-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.contact-info-side {
  padding-right: 20px;
}

.contact-form-side {
  position: relative;
  z-index: 2;
}

/* Ensure the form has the "Box" look from the image */
.contact-form-section.blue-theme .contact-form,
.contact-form-section .contact-form {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.contact-form .form-row {
  display: flex;
  /* Ensure side-by-side inputs */
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form .form-group {
  flex: 1;
  width: 100%;
}

/* =========================================
   BLOG & ARCHIVE STYLES
   ========================================= */

/* Blog Layout */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .blog-layout {
    grid-template-columns: 2fr 1fr;
  }
}

/* Blog Grid (Main Content) */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Blog Card */
.blog-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(212, 168, 83, 0.1);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(212, 168, 83, 0.3);
}

.blog-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  display: block;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 13px;
  color: var(--accent-gold);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-title {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: 15px;
  line-height: 1.3;
}

.blog-title a {
  color: var(--text-white);
  transition: color 0.3s ease;
}

.blog-title a:hover {
  color: var(--accent-gold);
}

.blog-excerpt {
  color: var(--text-light);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-gold);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: gap 0.3s ease;
}

.blog-link:hover {
  gap: 12px;
  color: var(--text-white);
}

/* Pagination */
.pagination {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #ffffff;
}

/* Sidebar */
.sidebar {
  background: rgba(10, 22, 40, 0.5);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.widget {
  margin-bottom: 40px;
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--text-white);
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 10px;
  margin-bottom: 20px;
  display: inline-block;
}

.widget ul li {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.widget ul li:last-child {
  border-bottom: none;
}

.widget ul li a {
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
}

.widget ul li a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

/* Single Post Styles */
.single-post .blog-main {
  background: rgba(10, 22, 40, 0.5);
  padding: 40px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.post-featured-image {
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
}

.post-featured-image img {
  width: 100%;
  height: auto;
}

.single-post .post-meta {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.post-content {
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.8;
}

.post-content h2,
.post-content h3,
.post-content h4 {
  color: var(--text-white);
  font-family: var(--font-heading);
  margin-top: 40px;
  margin-bottom: 20px;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}

.post-content li {
  margin-bottom: 10px;
}

.post-tags {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.tags-label {
  color: var(--text-white);
  font-weight: 600;
  margin-right: 10px;
}

.tag-link {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tag-link:hover {
  background: var(--accent-gold);
  color: #ffffff;
  border-color: var(--accent-gold);
}

/* Author Box */
.author-box {
  background: rgba(255, 255, 255, 0.02);
  padding: 30px;
  border-radius: 10px;
  margin-top: 50px;
  display: flex;
  gap: 25px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.author-avatar img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--accent-gold);
}

.author-name {
  font-size: 20px;
  color: var(--text-white);
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.author-bio {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 15px;
}

.author-link {
  color: var(--accent-gold);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* Post Navigation */
.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  gap: 20px;
}

.nav-previous,
.nav-next {
  width: 48%;
}

.nav-next {
  text-align: right;
}

.nav-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 5px;
  text-transform: uppercase;
}

.nav-title {
  color: var(--text-white);
  font-weight: 600;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-title:hover {
  color: var(--accent-gold);
}


/* ==============================================
   WHITISH NAV DURGA-INSPIRED THEME OVERRIDE LAYER
   ==============================================
   This layer converts the dark theme into a
   premium whitish design without breaking
   dark-background sections (hero, footer, contact).
   ============================================== */

/* --- Header: transparent initially (white text over hero) --- */
.header {
  background: transparent;
}

/* Header initial state: white text (over hero image) */
.header .logo-text {
  color: #ffffff;
}

.header .logo-text span {
  color: rgba(255, 255, 255, 0.8);
}

.header .nav-menu-list li a,
.header .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.header .nav-menu-list li a:hover,
.header .nav-menu-list li.current-menu-item a,
.header .nav-menu-list li.current_page_item a,
.header .nav-link:hover,
.header .nav-link.active {
  color: #ffffff;
}

.header .mobile-toggle span {
  background: #ffffff;
}

/* Header scrolled: white bg, dark text */
.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.header.scrolled .logo-text {
  color: #1a1a2e;
}

.header.scrolled .logo-text span {
  color: #1a1a2e;
}

.header.scrolled .nav-menu-list li a,
.header.scrolled .nav-link {
  color: #555555;
}

.header.scrolled .nav-menu-list li a:hover,
.header.scrolled .nav-menu-list li.current-menu-item a,
.header.scrolled .nav-menu-list li.current_page_item a,
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
  color: #1a1a2e;
}

.header.scrolled .mobile-toggle span {
  background: #1a1a2e;
}

/* --- Hero buttons: clean white/glass on image --- */
.hero .btn-primary {
  background: #ffffff;
  color: #1a1a2e;
  border: none;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero .btn-primary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
}

/* --- Sections: white/light backgrounds --- */
.section {
  background: #ffffff;
}

.section.why-us {
  background: #f5f5f7 !important;
}

/* General section text dark on light */
.section .section-title {
  color: #1a1a2e;
}

.section .section-desc {
  color: #555555;
}

.section .section-subtitle {
  color: #1a1a2e;
}

/* --- Properties: light background + card style --- */
.properties {
  background: #f5f5f7 !important;
}

.properties .section-title,
.properties .section-desc {
  color: #1a1a2e;
}

.properties .property-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  backdrop-filter: none;
}

.properties .property-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  transform: translateY(-6px);
}

.properties .property-content {
  color: #1a1a2e;
}

.properties .property-title {
  color: #1a1a2e;
}

.properties .property-location {
  color: #888888;
}

.properties .property-features {
  border-top-color: rgba(0, 0, 0, 0.08);
}

.properties .feature {
  color: #555555;
}

.properties .property-badge {
  background: #1a1a2e;
  color: #ffffff;
}

/* --- Why Choose Us: light cards --- */
.section.why-us .section-title,
.section.why-us h2 {
  color: #1a1a2e;
}

.section.why-us p {
  color: #555555;
}

.section.why-us .why-card {
  background: #ffffff !important;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.section.why-us .why-title {
  color: #1a1a2e;
}

.section.why-us .why-desc {
  color: #555555;
}

/* Stats in about/why-us section */
.section.why-us [style*="color: var(--accent-gold)"] {
  color: #1a1a2e !important;
}

/* --- Services Section: white --- */
.section .service-card,
.section .premium-info-card {
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.section .service-card:hover,
.section .premium-info-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.section .service-card h3,
.section .premium-info-card h3 {
  color: #1a1a2e;
}

.section .service-card p,
.section .premium-info-card p {
  color: #555555;
}

/* --- Testimonials: light background --- */
.section .testimonial-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.section .testimonial-text {
  color: #555555;
}

.section .testimonial-author .author-name {
  color: #1a1a2e;
}

.section .testimonial-author .author-role {
  color: #888888;
}

/* --- Blog Cards: light --- */
.section .blog-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.section .blog-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.section .blog-card h3 a {
  color: #1a1a2e;
}

.section .blog-card p {
  color: #555555;
}

.section .blog-date {
  color: #888888;
}

/* --- Newsletter: light to match theme --- */
.newsletter {
  background: #f5f5f7 !important;
  color: #1a1a2e;
}

.newsletter .section-title {
  color: #1a1a2e;
}

.newsletter p {
  color: #555555;
}

.newsletter-form input {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #1a1a2e;
}

/* --- About page: whitish --- */
.section.about-us {
  background: #f5f5f7 !important;
}

.section.about-us .section-title,
.section.about-us h2 {
  color: #1a1a2e;
}

.section.about-us p {
  color: #555555;
}

/* --- Contact Form Section: Light theme to match Nav Durga --- */
.contact-form-section.blue-theme {
  background: #f5f5f7 !important;
  color: #1a1a2e !important;
}

.contact-form-section.blue-theme .section-title {
  color: #1a1a2e;
}

.contact-form-section.blue-theme .section-subtitle {
  color: #888888;
}

.contact-form-section.blue-theme p {
  color: #555555;
}

/* --- Premium Hero (about, contact pages): subtle dark --- */
.premium-hero-shared {
  background-color: #1a1a2e;
}

/* --- Premium boxes on about/contact: light --- */
.premium-box {
  background: #f5f5f7;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 40px;
}

.premium-box .premium-info-card {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
}

.premium-box .premium-info-card h3 {
  color: #1a1a2e;
}

.premium-box .premium-info-card p {
  color: #555555;
}

/* --- Single Blog Post: light --- */
.single-post-content {
  color: #1a1a2e;
}

.single-post-content h1,
.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  color: #1a1a2e;
}

.single-post-content p {
  color: #555555;
}

/* --- Post navigation: light --- */
.post-navigation .nav-label {
  color: #888888;
}

.post-navigation .nav-title {
  color: #1a1a2e;
}

/* --- Search filter box on hero: keep dark glass look --- */
.hero .premium-filter-box {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  backdrop-filter: blur(15px);
}

/* --- Archive/listing pages: dark hero --- */
.property-listing-hero {
  background-color: #1a1a2e;
}
/* =========================================
   NAV DURGA DESIGN LAYER (2026 REDESIGN)
   ========================================= */
:root {
  --m3m-navy: #071224;
  --m3m-navy-soft: #0d1b31;
  --m3m-text: #1f2b3d;
  --m3m-muted: #74839b;
  --m3m-line: #dbe2ec;
  --m3m-bg: #f3f5f7;
  --m3m-white: #ffffff;
  --m3m-green: #67bd12;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--m3m-bg);
  color: var(--m3m-text);
}

h1,
h2,
h3,
h4,
.m3m-logo-mark,
.m3m-hero-content h1,
.m3m-signature-copy h2,
.m3m-section-heading h2,
.m3m-properties-hero-inner h1,
.m3m-enquiry-card h2,
.m3m-enquiry-tagline {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0;
}

.container {
  max-width: 1220px;
}

.site-main {
  padding-top: 84px;
}

.m3m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: all 0.2s ease;
}

.m3m-btn:hover {
  transform: translateY(-1px);
}

.m3m-btn-light {
  background: #fff;
  color: var(--m3m-navy);
}

.m3m-btn-light:hover {
  border-color: #cfd8e4;
}

.m3m-btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.68);
  color: #fff;
}

.m3m-btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

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

.m3m-btn-dark:hover {
  background: #0c1c35;
}

.m3m-btn-accent {
  background: var(--m3m-green);
  color: #fff;
}

.m3m-btn-accent:hover {
  background: #5ea611;
}

.m3m-btn-clear {
  background: #fff;
  border-color: #ced8e5;
  color: #2b3d56;
}

/* Header */
.m3m-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1300;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(7, 18, 36, 0.93) 0%, rgba(7, 18, 36, 0.78) 100%);
  backdrop-filter: blur(6px);
}

.m3m-header.scrolled {
  padding: 10px 0;
  background: rgba(7, 18, 36, 0.97);
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.m3m-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.m3m-logo {
  color: #fff;
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.m3m-logo .custom-logo-link,
.m3m-footer-logo .custom-logo-link {
  display: inline-flex;
}

.m3m-logo .custom-logo,
.m3m-footer-logo .custom-logo {
  max-height: 50px;
  width: auto;
}

.m3m-logo-mark {
  font-size: 34px;
  color: #fff;
}

.m3m-logo-tagline {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.m3m-nav-menu {
  display: block;
  justify-self: center;
}

.m3m-nav-menu .nav-menu-list {
  display: flex;
  align-items: center;
  gap: 20px;
}

.m3m-nav-menu .nav-menu-list a {
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.84;
}

.m3m-nav-menu .nav-menu-list a:hover,
.m3m-nav-menu .nav-menu-list .current-menu-item > a,
.m3m-nav-menu .nav-menu-list .current_page_item > a {
  opacity: 1;
}

.m3m-nav-menu .menu-item-has-children {
  position: relative;
}

.m3m-nav-menu .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 200px;
  padding: 10px;
  background: rgba(7, 18, 36, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  display: none;
  z-index: 40;
}

.m3m-nav-menu .menu-item-has-children:hover > .sub-menu {
  display: block;
}

.m3m-nav-menu .sub-menu li + li {
  margin-top: 6px;
}

.m3m-nav-menu .sub-menu a {
  font-size: 10px;
  letter-spacing: 0.08em;
}

.m3m-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.m3m-header-link {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.86;
}

.m3m-header-link:hover,
.m3m-enquire-link {
  opacity: 1;
}

.m3m-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.m3m-icon-btn:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.m3m-mobile-toggle {
  display: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  align-items: center;
  justify-content: center;
}

.m3m-mobile-toggle span {
  width: 14px;
  height: 1px;
  background: #fff;
  margin: 1.5px 0;
}

/* Homepage */
.m3m-homepage > section {
  background: #fff;
}

.m3m-home-hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  padding: 120px 0 70px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.m3m-hero-content {
  width: min(870px, 100%);
}

.m3m-kicker {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 100px;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.m3m-hero-content h1 {
  margin-top: 16px;
  margin-bottom: 12px;
  color: #fff;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.03;
}

.m3m-hero-content p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  line-height: 1.75;
  max-width: 690px;
}

.m3m-hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.m3m-inline-search {
  margin-top: 28px;
  background: #fff;
  border: 1px solid #d7dfeb;
  padding: 14px;
  border-radius: 4px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.m3m-inline-search label {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.m3m-inline-search label span {
  color: #6f819d;
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.m3m-inline-search select {
  height: 42px;
  border: 1px solid #ccd6e3;
  border-radius: 2px;
  padding: 0 10px;
  font-size: 13px;
  color: #2a3a52;
  background: #fff;
}

.m3m-signature-section,
.m3m-stats-strip,
.m3m-iconic-section,
.m3m-verticals-section,
.m3m-trending-section,
.m3m-voices-section {
  padding: 60px 0;
}

.m3m-signature-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 26px;
  align-items: center;
}

.m3m-signature-copy h2 {
  color: #22334c;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  margin-bottom: 14px;
}

.m3m-signature-copy p {
  color: #6f8099;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
}

.m3m-signature-copy .m3m-btn {
  margin-top: 10px;
}

.m3m-highlight-card {
  display: block;
  position: relative;
  min-height: 380px;
  border-radius: 0;
  overflow: hidden;
}

.m3m-highlight-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m3m-highlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 18, 36, 0) 24%, rgba(7, 18, 36, 0.7) 100%);
}

.m3m-highlight-info {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
}

.m3m-highlight-info h3 {
  color: #fff;
  font-size: 26px;
  margin-bottom: 4px;
}

.m3m-highlight-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

.m3m-highlight-info .m3m-btn {
  margin-top: 8px;
  height: 34px;
  font-size: 10px;
}

.m3m-stats-strip {
  border-top: 1px solid var(--m3m-line);
  border-bottom: 1px solid var(--m3m-line);
  padding-top: 20px;
  padding-bottom: 20px;
}

.m3m-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.m3m-stat-item {
  text-align: center;
  padding: 6px 10px;
  border-right: 1px solid #e4eaf2;
}

.m3m-stat-item:last-child {
  border-right: 0;
}

.m3m-stat-item strong {
  display: block;
  color: #1f304b;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.1;
  margin-bottom: 6px;
}

.m3m-stat-item span {
  color: #75859d;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.m3m-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.m3m-section-heading h2 {
  color: #1f2f48;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.m3m-section-heading a {
  color: #2e4668;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.m3m-iconic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.m3m-iconic-card {
  border: 1px solid #dde5ef;
  background: #fff;
}

.m3m-iconic-image {
  display: block;
  aspect-ratio: 16 / 9;
}

.m3m-iconic-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m3m-iconic-body {
  padding: 12px;
}

.m3m-iconic-body h3 {
  color: #1f2f48;
  font-size: 22px;
  margin-bottom: 5px;
}

.m3m-iconic-body p {
  color: #74849c;
  font-size: 13px;
}

.m3m-iconic-body .m3m-btn {
  margin-top: 9px;
  height: 34px;
  font-size: 10px;
}

.m3m-verticals-section {
  background: #f5f6f8;
}

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

.m3m-vertical-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
}

.m3m-vertical-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.95);
}

.m3m-vertical-card:first-child img {
  filter: grayscale(0.2);
}

.m3m-vertical-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 14px;
  background: linear-gradient(180deg, rgba(8, 18, 34, 0) 0%, rgba(8, 18, 34, 0.85) 100%);
}

.m3m-vertical-overlay h3 {
  color: #fff;
  font-size: 20px;
  margin-bottom: 4px;
}

.m3m-vertical-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  line-height: 1.55;
}

.m3m-trending-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 22px;
}

.m3m-trending-copy h2 {
  color: #1f2f48;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  margin-bottom: 10px;
}

.m3m-trending-copy p {
  color: #74849b;
  font-size: 14px;
  line-height: 1.78;
  margin-bottom: 14px;
}

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

.m3m-news-card {
  border: 1px solid #dde5ef;
  background: #fff;
}

.m3m-news-image {
  display: block;
  aspect-ratio: 4 / 3;
}

.m3m-news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m3m-news-body {
  padding: 10px;
}

.m3m-news-body span {
  display: block;
  color: #7888a0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 5px;
}

.m3m-news-body h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
}

.m3m-news-body h3 a {
  color: #22334c;
}

.m3m-voices-section {
  background: #f7f8fa;
}

.m3m-voices-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.m3m-voice-card {
  border: 1px solid #dde5ef;
  background: #fff;
}

.m3m-voice-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: grayscale(1);
}

.m3m-voice-card blockquote {
  margin: 0;
  padding: 12px;
  color: #55667e;
  font-size: 13px;
  line-height: 1.8;
  min-height: 132px;
}

.m3m-voice-card cite {
  display: block;
  padding: 0 12px 12px;
  color: #7c8ca5;
  font-size: 12px;
  font-style: normal;
}

/* Properties page */
.m3m-properties-page {
  background: #f3f5f7;
}

.m3m-properties-hero {
  min-height: 330px;
  display: flex;
  align-items: center;
  padding: 106px 0 44px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.m3m-properties-hero-inner {
  max-width: 700px;
}

.m3m-properties-hero-inner span {
  display: inline-block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 40px;
  padding: 6px 14px;
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.m3m-properties-hero-inner h1 {
  color: #fff;
  margin-bottom: 8px;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.08;
}

.m3m-properties-hero-inner p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.7;
}

.m3m-project-filters {
  margin-top: -22px;
  position: relative;
  z-index: 2;
}

.m3m-filter-form {
  background: #fff;
  border: 1px solid #d8e1ed;
  border-radius: 999px;
  padding: 7px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 7px;
}

.m3m-filter-form label {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 10px;
}

.m3m-filter-form label span {
  color: #7e8ea3;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.m3m-filter-form select {
  height: 34px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: #25364f;
  font-size: 13px;
}

.m3m-filter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding-right: 2px;
}

.m3m-filter-actions .m3m-btn {
  width: 100%;
  height: 34px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.m3m-project-list-wrap {
  padding: 36px 0 64px;
}

.m3m-project-block {
  margin-bottom: 36px;
}

.m3m-project-heading {
  margin-bottom: 14px;
}

.m3m-project-heading h2 {
  color: #25354e;
  font-size: clamp(28px, 3.3vw, 42px);
  line-height: 1.1;
}

.m3m-project-heading p {
  margin-top: 2px;
  color: #7d8ea5;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.m3m-properties-page .m3m-project-grid,
.m3m-sample-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.m3m-properties-page .property-card,
.m3m-sample-project-card {
  border: 1px solid #dde5ef;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.m3m-properties-page .property-image,
.m3m-sample-project-image {
  aspect-ratio: 4 / 3;
  position: relative;
}

.m3m-properties-page .property-image img,
.m3m-properties-page .photo-deck-item img,
.m3m-sample-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m3m-properties-page .property-content,
.m3m-sample-project-body {
  padding: 9px;
}

.m3m-image-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
}

.m3m-properties-page .property-title {
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 1.45;
  color: #25354f;
}

.m3m-properties-page .property-title a,
.m3m-sample-project-body h3 {
  color: #25354f;
}

.m3m-properties-page .property-description {
  display: none;
}

.m3m-properties-page .property-location,
.m3m-sample-project-body p {
  color: #8090a8;
  font-size: 11px;
  margin-bottom: 7px;
}

.m3m-properties-page .property-features {
  border-top: 1px solid #e8edf4;
  padding-top: 7px;
  gap: 6px;
}

.m3m-properties-page .feature {
  color: #6e8099;
  font-size: 10px;
}

.m3m-properties-page .feature i {
  font-size: 10px;
}

.property-enquire-btn {
  margin-top: 10px;
  width: 100%;
  height: 36px;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.m3m-properties-page .property-badge,
.m3m-sample-project-image span {
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(7, 18, 36, 0.86);
}

.m3m-properties-page .property-favorite,
.m3m-properties-page .property-delete {
  width: 24px;
  height: 24px;
  top: 8px;
  right: 8px;
}

.m3m-properties-page .photo-deck {
  height: 100%;
}

.m3m-properties-page .photo-deck-track {
  height: 100%;
}

.m3m-properties-page .photo-deck-item {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.m3m-properties-page .photo-deck-item.active {
  opacity: 1;
}

/* Enquiry page */
.m3m-enquiry-hero {
  min-height: calc(100vh - 84px);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 108px 0 48px;
}

.m3m-enquiry-shell {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 20px;
  align-items: center;
}

.m3m-enquiry-intro {
  min-height: 440px;
  display: flex;
  align-items: flex-end;
}

.m3m-enquiry-tagline {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
}

.m3m-enquiry-card {
  max-width: 740px;
  margin-left: auto;
  background: #f3f3f3;
  border: 1px solid #d5deea;
  border-radius: 0;
  padding: 22px;
}

.m3m-enquiry-card h2 {
  color: #273850;
  font-size: clamp(42px, 4vw, 56px);
  line-height: 1;
  margin-bottom: 14px;
}

.m3m-form-alert {
  margin-bottom: 10px;
  padding: 10px 11px;
  border-radius: 0;
  font-size: 13px;
}

.m3m-form-success {
  background: #eaf7dd;
  border: 1px solid #c5e5a1;
  color: #2b6e0a;
}

.m3m-form-error {
  background: #fcebeb;
  border: 1px solid #f0c3c6;
  color: #91202b;
}

.m3m-enquiry-form {
  display: grid;
  gap: 10px;
}

.m3m-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.m3m-enquiry-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.m3m-enquiry-form label span {
  color: #526784;
  font-size: 12px;
}

.m3m-enquiry-form input,
.m3m-enquiry-form select,
.m3m-enquiry-form textarea {
  width: 100%;
  border: 1px solid #c6d0de;
  border-radius: 0;
  background: #fff;
  color: #243652;
  font-size: 14px;
  padding: 10px 11px;
}

.m3m-enquiry-form textarea {
  resize: vertical;
  min-height: 120px;
}

.m3m-enquiry-form .m3m-btn {
  width: 240px;
  max-width: 100%;
  margin: 10px auto 0;
}

/* Footer */
.m3m-footer {
  background: #f1f4f8;
  border-top: 1px solid #d8e0ea;
  color: #51667f;
  padding: 50px 0 20px;
}

.m3m-footer-top {
  display: grid;
  grid-template-columns: 0.95fr 2.05fr;
  gap: 24px;
  border-bottom: 1px solid #d9e2ec;
  padding-bottom: 24px;
}

.m3m-footer-brand p {
  margin-top: 12px;
  color: #6d7f96;
  font-size: 14px;
  line-height: 1.7;
}

.m3m-footer-social {
  margin-top: 12px;
}

.m3m-footer .social-link {
  width: 32px;
  height: 32px;
  background: #fff;
  border: 1px solid #cad5e3;
  color: #4f6480;
}

.m3m-footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.m3m-footer .footer-title {
  color: #263852;
  font-size: 12px;
  margin-bottom: 9px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.m3m-footer .footer-links,
.m3m-footer .footer-contact {
  display: grid;
  gap: 6px;
}

.m3m-footer .footer-links a,
.m3m-footer .footer-contact a,
.m3m-footer .footer-contact span {
  color: #637890;
  font-size: 13px;
  line-height: 1.6;
}

.m3m-footer .footer-contact li {
  display: flex;
  gap: 8px;
}

.m3m-footer .footer-contact li i {
  margin-top: 4px;
}

.m3m-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
}

.m3m-footer-bottom p,
.m3m-footer-bottom a {
  color: #74859d;
  font-size: 12px;
}

.m3m-footer .footer-bottom-links {
  display: flex;
  gap: 12px;
}

@media (max-width: 1320px) {
  .m3m-header-link:not(.m3m-enquire-link) {
    display: none;
  }
}

/* Blog page */
.m3m-blog-page {
  background: #f3f5f7;
}

.m3m-blog-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 108px 0 46px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.m3m-blog-hero-inner {
  max-width: 740px;
}

.m3m-blog-kicker {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 7px 14px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.m3m-blog-hero-inner h1 {
  color: #fff;
  margin-top: 12px;
  margin-bottom: 8px;
  font-size: clamp(36px, 4.8vw, 58px);
  line-height: 1.06;
}

.m3m-blog-hero-inner p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.7;
  max-width: 640px;
}

.m3m-blog-hero-meta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.m3m-blog-hero-meta a {
  color: #fff;
}

.m3m-blog-add-btn {
  margin-top: 16px;
}

.m3m-blog-content {
  padding: 36px 0 70px;
}

.m3m-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.m3m-blog-card {
  border: 1px solid #dde5ef;
  background: #fff;
  overflow: hidden;
}

.m3m-blog-card-image {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
}

.m3m-blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m3m-blog-category {
  position: absolute;
  left: 8px;
  top: 8px;
  background: rgba(7, 18, 36, 0.88);
  color: #fff;
  border-radius: 40px;
  padding: 4px 8px;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.m3m-blog-card-body {
  padding: 10px;
}

.m3m-blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #7b8ba3;
  font-size: 11px;
}

.m3m-blog-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.m3m-blog-card-title {
  margin-top: 7px;
  margin-bottom: 6px;
  font-size: 18px;
  line-height: 1.35;
}

.m3m-blog-card-title a {
  color: #24364f;
}

.m3m-blog-card-title a:hover {
  color: #415f85;
}

.m3m-blog-card-excerpt {
  color: #74859d;
  font-size: 13px;
  line-height: 1.72;
}

.m3m-blog-readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #2b4465;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.m3m-blog-readmore:hover {
  color: #20334f;
  gap: 8px;
}

.m3m-blog-pagination {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.m3m-blog-pagination .page-numbers {
  min-width: 34px;
  height: 34px;
  border: 1px solid #d4ddeb;
  background: #fff;
  color: #3a4f6b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  font-size: 12px;
}

.m3m-blog-pagination .page-numbers.current,
.m3m-blog-pagination .page-numbers:hover {
  background: #0f2342;
  border-color: #0f2342;
  color: #fff;
}

.m3m-blog-empty {
  background: #fff;
  border: 1px solid #dde5ef;
  padding: 30px;
  text-align: center;
}

.m3m-blog-empty h2 {
  color: #283a54;
  margin-bottom: 8px;
}

.m3m-blog-empty p {
  color: #73849c;
  margin-bottom: 14px;
}

/* Enquiry modal */
body.estate-modal-open {
  overflow: hidden;
}

.estate-enquiry-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
}

.estate-enquiry-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 36, 0.56);
}

.estate-enquiry-modal-dialog {
  position: relative;
  width: min(720px, calc(100vw - 28px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  margin: 20px auto;
  background: #f3f3f3;
  border: 1px solid #d5deea;
  padding: 20px;
}

.estate-enquiry-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #c0cfde;
  background: #fff;
  color: #274463;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.estate-enquiry-modal-dialog h2 {
  color: #273850;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
  margin-bottom: 14px;
}

.estate-enquiry-modal-form {
  display: grid;
  gap: 10px;
}

.estate-enquiry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.estate-enquiry-modal-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.estate-enquiry-modal-form label span {
  color: #526784;
  font-size: 12px;
}

.estate-enquiry-modal-form input,
.estate-enquiry-modal-form textarea {
  width: 100%;
  border: 1px solid #c6d0de;
  background: #fff;
  color: #243652;
  font-size: 14px;
  padding: 10px 11px;
  border-radius: 0;
}

.estate-enquiry-modal-form textarea {
  resize: vertical;
  min-height: 110px;
}

.estate-enquiry-modal-form .m3m-btn {
  width: 240px;
  max-width: 100%;
  margin: 8px auto 0;
}

.search-result-item button.result-thumbnail {
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

.search-result-item button.result-link {
  border: 0;
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

/* About page */
.navdurga-about-page {
  background: #f3f5f7;
}

.navdurga-about-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  padding: 108px 0 48px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.navdurga-about-hero-inner {
  max-width: 760px;
}

.navdurga-about-kicker {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 7px 14px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.navdurga-about-hero-inner h1 {
  color: #fff;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.06;
  margin-top: 12px;
  margin-bottom: 8px;
}

.navdurga-about-hero-inner p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.72;
}

.navdurga-about-breadcrumb {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
}

.navdurga-about-breadcrumb a {
  color: #fff;
}

.navdurga-about-overview {
  padding: 50px 0 34px;
  background: #fff;
}

.navdurga-about-overview-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
}

.navdurga-about-section-label {
  display: inline-flex;
  color: #6f819d;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.navdurga-about-copy h2 {
  color: #24354e;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  margin-bottom: 10px;
}

.navdurga-about-copy p {
  color: #73849c;
  font-size: 14px;
  line-height: 1.78;
  margin-bottom: 10px;
}

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

.navdurga-about-stats article {
  border: 1px solid #dbe3ee;
  background: #f8fafc;
  padding: 12px;
}

.navdurga-about-stats strong {
  display: block;
  color: #24354f;
  font-size: 26px;
  line-height: 1.1;
}

.navdurga-about-stats span {
  display: block;
  margin-top: 4px;
  color: #7687a1;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.navdurga-about-visual {
  position: relative;
}

.navdurga-about-visual img {
  width: 100%;
  border: 1px solid #dce4ee;
  min-height: 320px;
  object-fit: cover;
}

.navdurga-about-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: #0f2241;
  color: #fff;
  padding: 8px 14px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navdurga-about-values {
  padding: 36px 0 70px;
  background: #f3f5f7;
}

.navdurga-about-values-head {
  text-align: center;
  margin-bottom: 16px;
}

.navdurga-about-values-head h2 {
  color: #24354e;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.navdurga-about-values-head p {
  color: #74859d;
  font-size: 14px;
  margin-top: 8px;
}

.navdurga-about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.navdurga-value-card {
  border: 1px solid #dce4ee;
  background: #fff;
  padding: 18px;
}

.navdurga-value-icon {
  width: 46px;
  height: 46px;
  border: 1px solid #c9d7e6;
  color: #2a425f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 10px;
}

.navdurga-value-card h3 {
  color: #24354e;
  font-size: 24px;
  margin-bottom: 6px;
}

.navdurga-value-card p {
  color: #74859d;
  font-size: 14px;
  line-height: 1.74;
}

/* Responsive */
@media (max-width: 1120px) {
  .m3m-inline-search,
  .m3m-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 10px;
  }

  .m3m-filter-actions {
    grid-column: span 2;
  }

  .m3m-verticals-grid,
  .m3m-trending-cards,
  .m3m-voices-grid,
  .m3m-blog-grid,
  .m3m-properties-page .m3m-project-grid,
  .m3m-sample-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .m3m-signature-grid,
  .m3m-trending-grid,
  .m3m-enquiry-shell,
  .m3m-footer-top,
  .navdurga-about-overview-grid {
    grid-template-columns: 1fr;
  }

  .m3m-enquiry-intro {
    min-height: auto;
    align-items: flex-start;
  }

  .m3m-enquiry-card {
    margin-left: 0;
    max-width: none;
  }

  .m3m-mobile-toggle {
    display: inline-flex;
  }

  .m3m-nav-menu {
    display: none;
  }

  .m3m-nav-menu.active {
    display: block;
    position: absolute;
    top: calc(100% + 6px);
    right: 16px;
    width: min(320px, calc(100vw - 32px));
    background: rgba(7, 18, 36, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.14);
    padding: 12px;
    border-radius: 6px;
    z-index: 1600;
  }

  .m3m-nav-menu .nav-menu-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .m3m-nav-menu .sub-menu {
    position: static;
    margin-top: 6px;
    border-radius: 4px;
    width: 100%;
    display: block;
  }
}

@media (max-width: 760px) {
  .site-main {
    padding-top: 78px;
  }

  .m3m-header {
    padding: 10px 0;
  }

  .m3m-header-inner {
    grid-template-columns: auto 1fr;
    gap: 12px;
  }

  .m3m-header-link,
  .m3m-icon-phone,
  .m3m-icon-instagram {
    display: none;
  }

  .m3m-logo-mark {
    font-size: 28px;
  }

  .m3m-home-hero,
  .m3m-properties-hero,
  .m3m-enquiry-hero {
    padding-top: 96px;
  }

  .m3m-inline-search,
  .m3m-filter-form,
  .m3m-form-grid,
  .estate-enquiry-grid,
  .m3m-stats-grid,
  .m3m-iconic-grid,
  .m3m-verticals-grid,
  .m3m-trending-cards,
  .m3m-voices-grid,
  .m3m-blog-grid,
  .m3m-properties-page .m3m-project-grid,
  .m3m-sample-grid,
  .m3m-footer-columns,
  .navdurga-about-values-grid {
    grid-template-columns: 1fr;
  }

  .navdurga-about-stats {
    grid-template-columns: 1fr;
  }

  .m3m-stats-grid {
    border-top: 1px solid #e4eaf2;
    border-bottom: 1px solid #e4eaf2;
  }

  .m3m-stat-item {
    border-right: 0;
    border-bottom: 1px solid #e4eaf2;
    padding: 10px;
  }

  .m3m-stat-item:last-child {
    border-bottom: 0;
  }

  .m3m-filter-actions {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .m3m-project-heading {
    display: block;
  }

  .m3m-footer-bottom {
    display: block;
  }

  .m3m-footer .footer-bottom-links {
    margin-top: 8px;
  }
}

/* =========================================
   FINAL NEUTRAL OVERRIDES (NO BLUE TONES)
   ========================================= */
:root {
  --m3m-navy: #1f1f1f;
  --m3m-navy-soft: #262626;
  --m3m-text: #222222;
  --m3m-muted: #6f6f6f;
  --m3m-line: #dddddd;
  --m3m-bg: #f5f5f3;
  --m3m-green: #67bd12;
}

body {
  background: var(--m3m-bg);
  color: var(--m3m-text);
}

.site-main {
  padding-top: 70px;
}

.m3m-logo-tagline {
  display: none;
}

.header,
.header.scrolled,
#masthead,
.m3m-header,
.m3m-header.scrolled {
  background: #ffffff !important;
  border-bottom: 1px solid #e1e1e1 !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  padding: 8px 0 !important;
}

.m3m-header-inner {
  gap: 14px;
}

.header .logo-text,
.header .logo-text span,
.header .nav-menu-list li a,
.header .nav-link,
.m3m-logo,
.m3m-logo-mark,
.m3m-nav-menu .nav-menu-list a,
.m3m-header-link,
.m3m-icon-btn {
  color: #222222 !important;
}

.m3m-logo .custom-logo,
.m3m-footer-logo .custom-logo {
  max-height: 40px;
}

.m3m-logo-mark {
  font-size: clamp(20px, 1.9vw, 28px);
  line-height: 1;
  white-space: nowrap;
}

.m3m-nav-menu .nav-menu-list a,
.m3m-header-link {
  font-size: 11px;
  letter-spacing: 0.1em;
  opacity: 0.95;
}

.m3m-nav-menu .nav-menu-list a:hover,
.m3m-nav-menu .nav-menu-list .current-menu-item>a,
.m3m-nav-menu .nav-menu-list .current_page_item>a,
.m3m-header-link:hover,
.m3m-enquire-link {
  color: #000;
}

.m3m-nav-menu .sub-menu,
.m3m-nav-menu.active {
  background: #fff;
  border: 1px solid #dddddd;
}

.m3m-nav-menu .sub-menu a,
.m3m-nav-menu.active .nav-menu-list a {
  color: #222;
}

.m3m-icon-btn,
.m3m-mobile-toggle {
  border-color: #c9c9c9;
  background: #fff;
}

.m3m-icon-btn:hover,
.m3m-mobile-toggle:hover {
  background: #f4f4f4;
  border-color: #aeaeae;
}

.m3m-mobile-toggle span {
  background: #222;
}

.m3m-nav-menu .nav-menu-list {
  gap: 16px;
}

.m3m-home-hero,
.m3m-properties-hero,
.m3m-enquiry-hero,
.m3m-blog-hero,
.navdurga-about-hero,
.navdurga-single-hero {
  position: relative;
  isolation: isolate;
}

.m3m-home-hero {
  overflow: hidden;
  min-height: 480px;
  align-items: flex-start;
  padding: 112px 0 42px;
}

.m3m-hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.m3m-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.m3m-hero-video-wrap.video-disabled {
  display: none;
}

.m3m-hero-filter-only {
  width: min(980px, 100%);
}

.m3m-hero-filter-only .m3m-inline-search {
  margin-top: 96px;
}

.m3m-home-hero::before,
.m3m-properties-hero::before,
.m3m-enquiry-hero::before,
.m3m-blog-hero::before,
.navdurga-about-hero::before,
.navdurga-single-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(24, 24, 24, 0.78) 0%, rgba(24, 24, 24, 0.55) 42%, rgba(24, 24, 24, 0.78) 100%);
  z-index: -1;
}

.m3m-home-hero > .container,
.m3m-properties-hero > .container,
.m3m-enquiry-hero > .container,
.m3m-blog-hero > .container,
.navdurga-about-hero > .container,
.navdurga-single-hero > .container {
  position: relative;
  z-index: 1;
}

.m3m-homepage,
.m3m-properties-page,
.m3m-blog-page,
.navdurga-about-page,
.navdurga-single-page {
  background: #f5f5f3;
}

.m3m-signature-section,
.m3m-stats-strip,
.m3m-iconic-section,
.m3m-trending-section,
.m3m-voices-section,
.navdurga-about-overview,
.navdurga-about-values,
.m3m-blog-content,
.navdurga-single-content {
  background: #f5f5f3;
}

.m3m-verticals-section,
.m3m-voices-section {
  background: #efefec;
}

.m3m-signature-copy h2,
.m3m-section-heading h2,
.m3m-trending-copy h2,
.navdurga-about-copy h2,
.navdurga-about-values-head h2,
.m3m-project-heading h2,
.m3m-properties-page .property-title,
.m3m-properties-page .property-title a,
.m3m-sample-project-body h3,
.m3m-blog-card-title a,
.m3m-blog-empty h2,
.navdurga-about-stats strong,
.navdurga-value-card h3,
.m3m-stat-item strong,
.navdurga-single-author h3 {
  color: #222;
}

.m3m-signature-copy p,
.m3m-trending-copy p,
.m3m-news-body span,
.m3m-news-body h3 a,
.m3m-blog-card-excerpt,
.m3m-blog-empty p,
.m3m-stat-item span,
.m3m-section-heading a,
.navdurga-about-copy p,
.navdurga-value-card p,
.navdurga-about-values-head p,
.navdurga-single-body,
.navdurga-single-author p {
  color: #666;
}

.m3m-footer {
  background: #efefec;
  border-top: 1px solid #dddddd;
  color: #525252;
}

.m3m-footer .footer-title,
.m3m-footer .footer-links a,
.m3m-footer .footer-contact a,
.m3m-footer .footer-contact span,
.m3m-footer-bottom p,
.m3m-footer-bottom a {
  color: #555;
}

.m3m-footer .social-link {
  border-color: #cccccc;
  color: #444;
}

.m3m-btn-dark,
.btn-blue {
  background: #222;
  border-color: #222;
}

.m3m-btn-dark:hover,
.btn-blue:hover {
  background: #111;
  border-color: #111;
}

.m3m-section-heading a,
.m3m-blog-readmore,
.m3m-blog-card-title a:hover,
.m3m-footer .footer-links a:hover,
.m3m-footer .footer-contact a:hover,
.m3m-footer-bottom a:hover {
  color: #222;
}

.m3m-blog-pagination .page-numbers.current,
.m3m-blog-pagination .page-numbers:hover {
  background: #222;
  border-color: #222;
  color: #fff;
}

.navdurga-value-icon,
.estate-enquiry-modal-close {
  color: #333;
  border-color: #cfcfcf;
}

.navdurga-about-badge,
.m3m-blog-category,
.m3m-properties-page .property-badge,
.m3m-sample-project-image span {
  background: rgba(34, 34, 34, 0.9);
}

.m3m-inline-search label span,
.m3m-filter-form label span,
.m3m-news-body span,
.m3m-blog-card-meta,
.m3m-blog-hero-meta,
.m3m-properties-page .property-location,
.m3m-sample-project-body p,
.navdurga-about-section-label {
  color: #777;
}

.m3m-inline-search,
.m3m-filter-form,
.m3m-blog-card,
.m3m-news-card,
.m3m-iconic-card,
.m3m-voice-card,
.navdurga-about-stats article,
.navdurga-value-card,
.m3m-blog-empty,
.m3m-blog-pagination .page-numbers {
  border-color: #dddddd;
}

.m3m-inline-search select,
.m3m-filter-form select,
.m3m-enquiry-form input,
.m3m-enquiry-form select,
.m3m-enquiry-form textarea,
.estate-enquiry-modal-form input,
.estate-enquiry-modal-form textarea {
  border-color: #cccccc;
  color: #222;
}

.estate-enquiry-modal-overlay {
  background: rgba(0, 0, 0, 0.52);
}

.estate-enquiry-modal-dialog,
.m3m-enquiry-card {
  background: #f5f5f3;
  border-color: #d9d9d9;
}

.estate-enquiry-modal-dialog h2,
.m3m-enquiry-card h2 {
  color: #222;
}

.estate-enquiry-modal-form label span,
.m3m-enquiry-form label span {
  color: #555;
}

.estate-enquiry-modal-form input,
.estate-enquiry-modal-form textarea,
.m3m-enquiry-form input,
.m3m-enquiry-form select,
.m3m-enquiry-form textarea {
  border-color: #cccccc;
  color: #222;
}

.navdurga-about-stats article,
.navdurga-value-card,
.m3m-iconic-card,
.m3m-news-card,
.m3m-blog-card,
.m3m-voice-card,
.navdurga-single-article,
.widget {
  border-color: #dddddd;
  background: #ffffff;
}

.navdurga-about-badge,
.m3m-blog-category,
.m3m-properties-page .property-badge,
.m3m-sample-project-image span {
  background: rgba(34, 34, 34, 0.9);
}

/* Single blog page */
.navdurga-single-hero {
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 88px 0 34px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.navdurga-single-hero-inner {
  max-width: 860px;
}

.navdurga-single-hero-inner > span {
  display: inline-flex;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.navdurga-single-hero-inner h1 {
  color: #fff;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.1;
  margin: 10px 0 8px;
}

.navdurga-single-crumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
}

.navdurga-single-crumbs a {
  color: #fff;
}

.navdurga-single-content {
  padding: 30px 0 68px;
}

.navdurga-single-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  align-items: start;
}

.navdurga-single-article {
  border: 1px solid #dddddd;
  background: #fff;
  padding: 16px;
}

.navdurga-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: #666;
  font-size: 12px;
  margin-bottom: 12px;
}

.navdurga-single-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.navdurga-single-featured-image {
  margin-bottom: 14px;
}

.navdurga-single-featured-image img {
  width: 100%;
  height: auto;
}

.navdurga-single-body {
  color: #444;
  line-height: 1.78;
  font-size: 16px;
}

.navdurga-single-body h1,
.navdurga-single-body h2,
.navdurga-single-body h3,
.navdurga-single-body h4,
.navdurga-single-body h5,
.navdurga-single-body h6 {
  color: #222;
  margin-top: 18px;
  margin-bottom: 8px;
}

.navdurga-single-body p,
.navdurga-single-body li {
  color: #444;
}

.navdurga-single-body a {
  color: #222;
  text-decoration: underline;
}

.navdurga-single-tags {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e5e5e5;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.navdurga-single-tags span {
  color: #444;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.navdurga-single-tags a {
  border: 1px solid #d5d5d5;
  background: #f8f8f8;
  color: #444;
  padding: 5px 9px;
  font-size: 12px;
}

.navdurga-single-author {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #e2e2e2;
  background: #f9f9f9;
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: start;
}

.navdurga-single-author-avatar img {
  border-radius: 50%;
}

.navdurga-single-author h3 {
  margin: 0 0 5px;
  font-size: 22px;
}

.navdurga-single-author p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.7;
}

.navdurga-single-author a {
  color: #222;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.navdurga-single-post-nav {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e5e5e5;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.navdurga-single-post-nav > div {
  border: 1px solid #dddddd;
  background: #fafafa;
  padding: 10px;
}

.navdurga-single-post-nav span {
  display: block;
  color: #777;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.navdurga-single-post-nav a {
  color: #222;
  font-size: 13px;
  line-height: 1.5;
}

.navdurga-single-page .comments-area {
  margin-top: 18px;
  border-top: 1px solid #e5e5e5;
  padding-top: 14px;
}

.navdurga-single-page .widget {
  border: 1px solid #dddddd;
  background: #fff;
}

.navdurga-single-page .widget-title,
.navdurga-single-page .widget a,
.navdurga-single-page .comments-area a {
  color: #222;
}

.navdurga-single-page .widget a:hover,
.navdurga-single-page .comments-area a:hover {
  color: #000;
}

.navdurga-single-page input,
.navdurga-single-page textarea {
  border: 1px solid #cccccc;
  color: #222;
  background: #fff;
}

.navdurga-single-page input[type='submit'],
.navdurga-single-page .comment-reply-link {
  background: #222;
  border-color: #222;
  color: #fff;
}

.navdurga-single-page input[type='submit']:hover,
.navdurga-single-page .comment-reply-link:hover {
  background: #111;
  border-color: #111;
}

@media (max-width: 980px) {
  .navdurga-single-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-main {
    padding-top: 64px;
  }

  .m3m-header,
  .m3m-header.scrolled {
    padding: 5px 0;
  }

  .m3m-logo-mark {
    font-size: 24px;
  }

  .navdurga-single-hero {
    padding-top: 72px;
    min-height: 250px;
  }

  .m3m-home-hero {
    min-height: 360px;
    padding: 88px 0 24px;
  }

  .m3m-hero-filter-only .m3m-inline-search {
    margin-top: 56px;
  }

  .navdurga-single-hero-inner h1 {
    font-size: 34px;
  }

  .navdurga-single-author {
    grid-template-columns: 1fr;
  }

  .navdurga-single-post-nav {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   HOMEPAGE VIDEO + HEADER/FILTER MATCH
   ========================================= */
body.front-page .site-main {
  padding-top: 0;
}

body.front-page .header,
body.front-page #masthead,
body.front-page .m3m-header {
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
  min-height: 92px;
}

body.front-page .header.scrolled,
body.front-page #masthead.scrolled,
body.front-page .m3m-header.scrolled {
  background: #fff !important;
  border-bottom: 1px solid #e0e0e0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(8px) !important;
  padding: 0 !important;
  min-height: 92px;
}

body.front-page .m3m-header-inner {
  min-height: 92px;
  align-items: center;
  gap: 18px;
}

body.front-page .m3m-logo,
body.front-page .m3m-logo-mark,
body.front-page .m3m-nav-menu .nav-menu-list a,
body.front-page .m3m-header-link,
body.front-page .m3m-icon-btn {
  color: #fff !important;
}

body.front-page .m3m-nav-menu .nav-menu-list a {
  font-size: 12px;
  letter-spacing: 0.12em;
  opacity: 0.92;
}

body.front-page .m3m-nav-menu .nav-menu-list a:hover,
body.front-page .m3m-nav-menu .nav-menu-list .current-menu-item > a,
body.front-page .m3m-nav-menu .nav-menu-list .current_page_item > a,
body.front-page .m3m-header-link:hover {
  color: #fff !important;
  opacity: 1;
}

body.front-page .m3m-icon-btn,
body.front-page .m3m-mobile-toggle {
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
}

body.front-page .m3m-mobile-toggle span {
  background: #fff;
}

body.front-page .header.scrolled .m3m-logo,
body.front-page .header.scrolled .m3m-logo-mark,
body.front-page .header.scrolled .m3m-nav-menu .nav-menu-list a,
body.front-page .header.scrolled .m3m-header-link,
body.front-page .header.scrolled .m3m-icon-btn,
body.front-page .m3m-header.scrolled .m3m-logo,
body.front-page .m3m-header.scrolled .m3m-logo-mark,
body.front-page .m3m-header.scrolled .m3m-nav-menu .nav-menu-list a,
body.front-page .m3m-header.scrolled .m3m-header-link,
body.front-page .m3m-header.scrolled .m3m-icon-btn {
  color: #222 !important;
}

body.front-page .header.scrolled .m3m-nav-menu .nav-menu-list a:hover,
body.front-page .header.scrolled .m3m-nav-menu .nav-menu-list .current-menu-item > a,
body.front-page .header.scrolled .m3m-nav-menu .nav-menu-list .current_page_item > a,
body.front-page .header.scrolled .m3m-header-link:hover,
body.front-page .m3m-header.scrolled .m3m-nav-menu .nav-menu-list a:hover,
body.front-page .m3m-header.scrolled .m3m-nav-menu .nav-menu-list .current-menu-item > a,
body.front-page .m3m-header.scrolled .m3m-nav-menu .nav-menu-list .current_page_item > a,
body.front-page .m3m-header.scrolled .m3m-header-link:hover {
  color: #111 !important;
}

body.front-page .header.scrolled .m3m-icon-btn,
body.front-page .header.scrolled .m3m-mobile-toggle,
body.front-page .m3m-header.scrolled .m3m-icon-btn,
body.front-page .m3m-header.scrolled .m3m-mobile-toggle {
  border-color: #d0d0d0;
  background: #fff;
}

body.front-page .header.scrolled .m3m-mobile-toggle span,
body.front-page .m3m-header.scrolled .m3m-mobile-toggle span {
  background: #222;
}

body.front-page .m3m-home-hero {
  height: 100vh;
  min-height: 640px;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
}

body.front-page .m3m-hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

body.front-page .m3m-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.front-page .m3m-home-hero::before {
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.14) 34%, rgba(0, 0, 0, 0.45) 100%);
}

body.front-page .m3m-home-hero > .container {
  z-index: 2;
  height: 100%;
  display: flex;
}

body.front-page .m3m-homepage,
body.front-page .m3m-homepage > section:not(.m3m-home-hero),
body.front-page .m3m-signature-section,
body.front-page .m3m-stats-strip,
body.front-page .m3m-iconic-section,
body.front-page .m3m-verticals-section,
body.front-page .m3m-trending-section,
body.front-page .m3m-voices-section {
  background: #fff !important;
}

body.front-page .m3m-hero-filter-only {
  width: min(1120px, 100%);
  min-height: calc(100vh - 84px);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 34px;
}

body.front-page .m3m-hero-filter-tagline {
  margin: 0 0 18px;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 3.4vw, 56px);
  line-height: 1.08;
  text-align: center;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
}

body.front-page .m3m-hero-filter-only .m3m-inline-search {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

body.front-page .m3m-home-hero .m3m-filter-dropdown {
  position: relative;
}

body.front-page .m3m-home-hero .m3m-filter-trigger {
  width: 100%;
  min-height: 56px;
  padding: 8px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  background: rgba(18, 18, 18, 0.3);
  backdrop-filter: blur(9px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
}

body.front-page .m3m-home-hero .m3m-filter-trigger span {
  font-size: clamp(16px, 1.5vw, 24px);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
}

body.front-page .m3m-home-hero .m3m-filter-trigger i {
  font-size: 16px;
  color: #fff;
  transition: transform 0.2s ease;
}

body.front-page .m3m-home-hero .m3m-filter-dropdown.is-open .m3m-filter-trigger i {
  transform: rotate(180deg);
}

body.front-page .m3m-home-hero .m3m-filter-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  width: 100%;
  background: #f6f6f6;
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

body.front-page .m3m-home-hero .m3m-filter-dropdown.is-open .m3m-filter-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

body.front-page .m3m-home-hero .m3m-filter-option {
  width: 100%;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #1b1b1b;
  text-align: left;
  font-size: 18px;
  line-height: 1.2;
  padding: 10px 14px;
  cursor: pointer;
}

body.front-page .m3m-home-hero .m3m-filter-option:hover {
  background: #e9ecef;
}

body.front-page .m3m-home-hero .m3m-filter-option.is-active {
  background: #68c216;
  color: #fff;
}

body.front-page .m3m-home-hero .m3m-inline-search .m3m-btn-accent {
  min-height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #68c216;
  color: #fff;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

body.front-page .m3m-home-hero .m3m-inline-search .m3m-btn-accent:hover {
  background: #5db011;
}

@media (max-width: 980px) {
  body.front-page .site-main {
    padding-top: 0;
  }

  body.front-page .header,
  body.front-page .header.scrolled,
  body.front-page #masthead,
  body.front-page .m3m-header,
  body.front-page .m3m-header.scrolled {
    min-height: 80px;
  }

  body.front-page .m3m-header-inner {
    min-height: 80px;
  }

  body.front-page .m3m-home-hero {
    height: 90vh;
    min-height: 560px;
  }

  body.front-page .m3m-hero-video-wrap {
    position: absolute;
    inset: 0;
  }

  body.front-page .m3m-hero-filter-only {
    min-height: calc(90vh - 80px);
    padding-bottom: 20px;
  }

  body.front-page .m3m-hero-filter-tagline {
    font-size: 30px;
    margin-bottom: 14px;
  }

  body.front-page .m3m-hero-filter-only .m3m-inline-search {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  body.front-page .m3m-home-hero .m3m-filter-trigger,
  body.front-page .m3m-home-hero .m3m-inline-search .m3m-btn-accent {
    min-height: 52px;
  }

  body.front-page .m3m-home-hero .m3m-filter-trigger span {
    font-size: 16px;
  }

  body.front-page .m3m-home-hero .m3m-filter-option {
    font-size: 16px;
  }

  body.front-page .m3m-home-hero .m3m-inline-search .m3m-btn-accent {
    font-size: 18px;
  }
}

/* =========================================
   MOBILE NAVBAR FIX
   ========================================= */
body.estate-mobile-nav-open {
  overflow: hidden;
}

@media (max-width: 1120px) {
  .m3m-header,
  .m3m-header.scrolled {
    min-height: 76px;
  }

  .m3m-header-inner {
    grid-template-columns: minmax(0, 1fr) auto !important;
    min-height: 76px;
    gap: 10px;
  }

  .m3m-logo-wrapper,
  .m3m-logo {
    min-width: 0;
    max-width: 100%;
  }

  .m3m-logo .custom-logo {
    max-height: 34px;
    width: auto;
  }

  .m3m-logo-mark {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: clamp(18px, 4.2vw, 24px);
    line-height: 1.1;
  }

  .m3m-header-actions {
    justify-self: end;
    gap: 8px;
  }

  .m3m-header-link,
  .m3m-icon-phone,
  .m3m-icon-instagram,
  .m3m-icon-search {
    display: none !important;
  }

  .m3m-mobile-toggle {
    display: inline-flex !important;
  }

  .m3m-nav-menu.active {
    position: fixed;
    top: 84px;
    left: 12px;
    right: 12px;
    width: auto;
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    border-radius: 12px;
    padding: 14px;
    z-index: 2500;
    background: #ffffff;
    border: 1px solid #dddddd;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
  }

  .m3m-nav-menu .nav-menu-list {
    gap: 6px;
  }

  .m3m-nav-menu .nav-menu-list a {
    display: block;
    width: 100%;
    padding: 10px 2px;
    font-size: 13px;
    letter-spacing: 0.08em;
  }

  .m3m-nav-menu .sub-menu {
    margin-top: 4px;
    padding: 8px;
  }
}

@media (max-width: 760px) {
  .m3m-header,
  .m3m-header.scrolled {
    min-height: 70px;
  }

  .m3m-header-inner {
    min-height: 70px;
  }

  .m3m-nav-menu.active {
    top: 78px;
    max-height: calc(100dvh - 90px);
  }
}

/* =========================================
   MOBILE NAV CONSISTENCY PATCH
   ========================================= */
@media (max-width: 1120px) {
  /* Keep hamburger icon visible on light headers for inner pages. */
  .m3m-header .m3m-mobile-toggle span {
    background: #222222 !important;
  }

  /* Preserve white icon on the homepage hero before header is scrolled. */
  body.front-page .m3m-header:not(.scrolled) .m3m-mobile-toggle span {
    background: #ffffff !important;
  }

  /* Opened mobile menu uses a white panel, so force readable dark links. */
  body.front-page .m3m-nav-menu.active .nav-menu-list a,
  body.front-page .m3m-nav-menu.active .sub-menu a {
    color: #222222 !important;
    opacity: 1;
  }
}

/* =========================================
   MOBILE NAV REFINEMENT (COMPACT + ANIMATED)
   ========================================= */
@media (max-width: 1120px) {
  body.estate-mobile-nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 15, 30, 0.26) 0%, rgba(8, 15, 30, 0.56) 100%);
    backdrop-filter: blur(2px);
    z-index: 1200;
  }

  .m3m-header .m3m-mobile-toggle {
    position: relative;
    z-index: 2700;
    transition: border-color 0.24s ease, background-color 0.24s ease;
  }

  .m3m-header .m3m-mobile-toggle span {
    display: block;
    transition: transform 0.24s ease, opacity 0.2s ease, background-color 0.2s ease;
  }

  body.estate-mobile-nav-open .m3m-mobile-toggle {
    background: #f4f7ff;
    border-color: #b9c8e5;
  }

  .m3m-header .m3m-nav-menu {
    display: block !important;
    position: fixed;
    top: 86px;
    right: 12px;
    left: auto;
    width: min(290px, calc(100vw - 24px));
    max-width: none;
    height: auto;
    max-height: min(74dvh, 520px);
    overflow-y: auto;
    padding: 14px;
    margin: 0;
    border-radius: 18px;
    border: 1px solid rgba(108, 131, 168, 0.26);
    background: linear-gradient(160deg, #f7fbff 0%, #edf4ff 45%, #f4f8ff 100%);
    box-shadow: 0 22px 42px rgba(11, 23, 46, 0.24);
    backdrop-filter: blur(8px);
    z-index: 2600;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px) scale(0.96);
    transform-origin: top right;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease, visibility 0s linear 0.3s;
  }

  .m3m-header .m3m-nav-menu.active {
    left: auto;
    right: 12px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  .m3m-header .m3m-nav-menu .nav-menu-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .m3m-header .m3m-nav-menu .nav-menu-list > li {
    width: 100%;
    opacity: 0;
    transform: translateY(8px);
    transition: transform 0.26s ease, opacity 0.22s ease;
  }

  .m3m-header .m3m-nav-menu.active .nav-menu-list > li {
    opacity: 1;
    transform: translateY(0);
  }

  .m3m-header .m3m-nav-menu.active .nav-menu-list > li:nth-child(1) {
    transition-delay: 0.04s;
  }

  .m3m-header .m3m-nav-menu.active .nav-menu-list > li:nth-child(2) {
    transition-delay: 0.08s;
  }

  .m3m-header .m3m-nav-menu.active .nav-menu-list > li:nth-child(3) {
    transition-delay: 0.12s;
  }

  .m3m-header .m3m-nav-menu.active .nav-menu-list > li:nth-child(4) {
    transition-delay: 0.16s;
  }

  .m3m-header .m3m-nav-menu.active .nav-menu-list > li:nth-child(5) {
    transition-delay: 0.2s;
  }

  .m3m-header .m3m-nav-menu.active .nav-menu-list > li:nth-child(6) {
    transition-delay: 0.24s;
  }

  .m3m-header .m3m-nav-menu .nav-menu-list a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(137, 157, 191, 0.26);
    color: #16263f !important;
    font-size: 12px;
    letter-spacing: 0.12em;
    line-height: 1.2;
    background: rgba(255, 255, 255, 0.68);
    opacity: 1;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  }

  .m3m-header .m3m-nav-menu .nav-menu-list a:hover,
  .m3m-header .m3m-nav-menu .nav-menu-list a:focus-visible,
  .m3m-header .m3m-nav-menu .nav-menu-list .current-menu-item > a,
  .m3m-header .m3m-nav-menu .nav-menu-list .current_page_item > a {
    border-color: rgba(83, 116, 168, 0.5);
    background: #ffffff;
    transform: translateX(2px);
    outline: none;
  }

  .m3m-header .m3m-nav-menu .sub-menu {
    position: static;
    top: auto;
    left: auto;
    min-width: 0;
    width: 100%;
    margin-top: 6px;
    padding: 8px;
    border-radius: 10px;
    display: block;
    background: rgba(255, 255, 255, 0.86);
    border-color: rgba(137, 157, 191, 0.3);
  }
}

@media (max-width: 760px) {
  .m3m-header .m3m-nav-menu,
  .m3m-header .m3m-nav-menu.active {
    top: 78px;
    right: 10px;
    width: min(280px, calc(100vw - 20px));
    max-height: calc(100dvh - 90px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .m3m-header .m3m-mobile-toggle,
  .m3m-header .m3m-mobile-toggle span,
  .m3m-header .m3m-nav-menu,
  .m3m-header .m3m-nav-menu .nav-menu-list > li,
  .m3m-header .m3m-nav-menu .nav-menu-list a {
    transition: none !important;
  }

  .m3m-header .m3m-nav-menu {
    transform: none;
  }
}

/* =========================================
   HOMEPAGE HEADER SCROLL GUARD (FINAL LAYER)
   ========================================= */
body.front-page #masthead:not(.scrolled) {
  background: transparent !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.front-page #masthead.scrolled {
  background: #ffffff !important;
  border-bottom: 1px solid #e0e0e0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  backdrop-filter: blur(8px) !important;
}
