@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   1. CORE DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
  /* Fonts */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Layout Spacings */
  --header-height: 80px;
  --container-max-width: 1280px;
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Global Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Constant Accent Colors (Premium Warm Gold/Amber & Blue Slate) */
  --primary-gold: #d97706; /* Amber 600 */
  --primary-gold-rgb: 217, 119, 6;
  --primary-gold-hover: #b45309; /* Amber 700 */
  
  --secondary-blue: #1e3a8a; /* Blue 900 */
  --success-color: #10b981; /* Emerald 500 */
  --danger-color: #ef4444; /* Red 500 */
  
  /* Fonts weights */
  --fw-light: 300;
  --fw-normal: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-extrabold: 800;
}

/* Light Theme Tokens */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc; /* Slate 50 */
  --bg-card: #ffffff;
  --bg-navbar: rgba(255, 255, 255, 0.8);
  --bg-input: #f1f5f9; /* Slate 100 */
  
  --text-primary: #0f172a; /* Slate 900 */
  --text-secondary: #475569; /* Slate 600 */
  --text-muted: #64748b; /* Slate 500 */
  --text-white: #ffffff;
  --text-inverse: #ffffff;
  
  --border-color: #e2e8f0; /* Slate 200 */
  --border-color-focus: #cbd5e1; /* Slate 300 */
  
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.4);
  --glass-shadow: rgba(0, 0, 0, 0.03);
}

/* Dark Theme Tokens */
[data-theme="dark"] {
  --bg-primary: #090d16; /* Deep Cosmic Navy/Black */
  --bg-secondary: #111827; /* Gray 900 */
  --bg-card: #1f2937; /* Gray 800 */
  --bg-navbar: rgba(9, 13, 22, 0.8);
  --bg-input: #374151; /* Gray 700 */
  
  --text-primary: #f9fafb; /* Gray 50 */
  --text-secondary: #d1d5db; /* Gray 300 */
  --text-muted: #9ca3af; /* Gray 400 */
  --text-white: #ffffff;
  --text-inverse: #090d16;
  
  --border-color: #374151; /* Gray 700 */
  --border-color-focus: #4b5563; /* Gray 600 */
  
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 2px -1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.25), 0 2px 4px -2px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  
  --glass-bg: rgba(17, 24, 39, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   2. STYLES RESET & BASE SETUP
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

ul {
  list-style: none;
}

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

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-gold);
}

/* ==========================================================================
   3. REUSABLE UTILITIES & LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 6rem 0;
}

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

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

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Section Header Style */
.section-header {
  margin-bottom: 3.5rem;
  max-width: 650px;
}
.section-header.center {
  margin-left: auto;
  margin-right: auto;
}
.section-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  color: var(--primary-gold);
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  background: rgba(var(--primary-gold-rgb), 0.1);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
}
.section-title {
  font-size: 2.25rem;
  font-weight: var(--fw-bold);
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--text-primary);
}
.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  font-size: 0.95rem;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-gold), #f59e0b);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(var(--primary-gold-rgb), 0.3);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-gold-hover), var(--primary-gold));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(var(--primary-gold-rgb), 0.4);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: var(--border-color-focus);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--primary-gold);
}
.btn-outline:hover {
  background-color: var(--primary-gold);
  color: var(--text-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}
.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.05rem;
}

/* Fav/Heart Icon Button */
.btn-favorite {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  color: #64748b;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: var(--transition-normal);
  z-index: 10;
}
.btn-favorite:hover, .btn-favorite.active {
  color: #ef4444;
  transform: scale(1.1);
  background: #ffffff;
}

/* ==========================================================================
   4. NAVIGATION HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.header.sticky {
  height: 70px;
  background-color: var(--bg-navbar);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: var(--fw-extrabold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}
.logo-icon {
  color: var(--primary-gold);
  font-size: 1.7rem;
}
.logo span {
  color: var(--primary-gold);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: var(--fw-medium);
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-gold);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-gold);
  transition: var(--transition-normal);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Dropdown Menu styling */
.nav-item-dropdown {
  position: relative;
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 100;
}
.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-link {
  display: block;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
  transition: var(--transition-normal);
}
.dropdown-link:hover {
  background-color: var(--bg-secondary);
  color: var(--primary-gold);
  padding-left: 1.75rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Dynamic Attractive Light/Dark Toggle Switch */
.theme-toggle-btn {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  width: 50px;
  height: 28px;
  border-radius: var(--radius-full);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}
.theme-toggle-btn i {
  font-size: 0.85rem;
  transition: var(--transition-normal);
}
.theme-toggle-btn .fa-sun {
  color: var(--primary-gold);
}
.theme-toggle-btn .fa-moon {
  color: #94a3b8;
}
.theme-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-gold), #f59e0b);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: transform var(--transition-normal);
}

[data-theme="dark"] .theme-toggle-thumb {
  transform: translateX(22px);
  background: linear-gradient(135deg, #38bdf8, #1e3a8a); /* blue sky/night look */
}
[data-theme="dark"] .theme-toggle-btn .fa-sun {
  color: #4b5563;
}
[data-theme="dark"] .theme-toggle-btn .fa-moon {
  color: #38bdf8;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  z-index: 1001;
}
.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

/* ==========================================================================
   5. HOME - HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  background: linear-gradient(rgba(11, 15, 25, 0.5), rgba(11, 15, 25, 0.65)), 
              url('../images/hero-bg.jpg') no-repeat center center/cover;
}

.hero-content {
  text-align: center;
  color: var(--text-white);
  max-width: 850px;
  margin-top: -20px;
}
.hero-badge {
  display: inline-block;
  background: rgba(var(--primary-gold-rgb), 0.18);
  border: 1px solid rgba(var(--primary-gold-rgb), 0.3);
  backdrop-filter: blur(8px);
  color: #fcd34d;
  font-weight: var(--fw-bold);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease;
}
.hero-title {
  font-size: 3.75rem;
  font-weight: var(--fw-extrabold);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}
.hero-title span {
  color: var(--primary-gold);
  background: linear-gradient(to right, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  color: #e2e8f0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1.2s ease;
}

/* Interactive Hero Search Form */
.hero-search {
  background-color: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 20px 40px var(--glass-shadow);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
  animation: fadeInUp 1.4s ease;
}

.search-tabs {
  display: flex;
  gap: 0.75rem;
}
.search-tab-btn {
  padding: 0.5rem 1.25rem;
  font-weight: var(--fw-bold);
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  background-color: var(--bg-input);
  transition: var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.search-tab-btn.active {
  background-color: var(--primary-gold);
  color: var(--text-white);
}

.search-fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: center;
}

.search-field-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid var(--border-color);
  padding-right: 1rem;
}
.search-field-group:last-child {
  border-right: none;
  padding-right: 0;
}

.search-field-group label {
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.search-field-group label i {
  color: var(--primary-gold);
}

.search-field-group input,
.search-field-group select {
  width: 100%;
  font-weight: var(--fw-semibold);
  color: var(--text-primary);
  font-size: 0.95rem;
  cursor: pointer;
}

/* Dropdown icons color fix for custom styles */
.search-field-group select option {
  background-color: var(--bg-card);
  color: var(--text-primary);
}

@media (max-width: 900px) {
  .hero-title { font-size: 2.75rem; }
  .search-fields { grid-template-columns: repeat(2, 1fr); }
  .search-field-group { border-right: none; padding-right: 0; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 2.25rem; }
  .search-fields { grid-template-columns: 1fr; }
  .hero-search { padding: 1.25rem; }
}

/* ==========================================================================
   6. FEATURED LISTINGS GRID & CARDS
   ========================================================================== */
.listings-grid {
  margin-top: 1rem;
}

.property-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-color-focus);
}

.property-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.5 / 1;
}
.property-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.property-card:hover .property-img {
  transform: scale(1.08);
}

.property-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary-gold);
  color: var(--text-white);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: var(--fw-bold);
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-transform: uppercase;
}
.property-badge.rent {
  background-color: #2563eb; /* Blue */
}

.property-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-type {
  font-size: 0.8rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
}

.property-title {
  font-size: 1.25rem;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}
.property-location i {
  color: var(--primary-gold);
}

.property-specs {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
  margin-bottom: 1.25rem;
}
.spec-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.spec-item i {
  color: var(--primary-gold);
}

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

.property-price {
  font-size: 1.4rem;
  font-weight: var(--fw-extrabold);
  color: var(--text-primary);
}
.property-price span {
  font-size: 0.85rem;
  font-weight: var(--fw-medium);
  color: var(--text-muted);
}

/* ==========================================================================
   7. LISTINGS FILTERS SECTION
   ========================================================================== */
.listings-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .listings-layout {
    grid-template-columns: 1fr;
  }
}

.filters-sidebar {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-sm);
}

.filter-group {
  margin-bottom: 1.75rem;
}
.filter-group:last-child {
  margin-bottom: 0;
  border-bottom: none;
}
.filter-group-title {
  font-size: 1.05rem;
  font-weight: var(--fw-bold);
  margin-bottom: 1rem;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-search-input {
  width: 100%;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: var(--transition-normal);
}
.filter-search-input:focus {
  border-color: var(--primary-gold);
  background-color: var(--bg-primary);
}

.filter-select {
  width: 100%;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  cursor: pointer;
}
.filter-select:focus {
  border-color: var(--primary-gold);
}

.filter-checkbox-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  cursor: pointer;
}
.checkbox-item input {
  width: 18px;
  height: 18px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  accent-color: var(--primary-gold);
}

/* Price Range Slider Styling */
.price-slider-wrapper {
  padding-top: 0.5rem;
}
.price-slider {
  width: 100%;
  accent-color: var(--primary-gold);
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--border-color);
}
.price-values {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
}

.results-count-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.results-info {
  font-weight: var(--fw-medium);
  color: var(--text-secondary);
}
.results-info span {
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}

.view-toggles {
  display: flex;
  gap: 0.5rem;
}
.view-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background-color: var(--bg-input);
  color: var(--text-secondary);
  transition: var(--transition-normal);
}
.view-btn.active {
  background-color: var(--primary-gold);
  color: var(--text-white);
}

/* Grid & List Alternating styles */
.properties-listings-grid.list-view {
  grid-template-columns: 1fr;
}
.properties-listings-grid.list-view .property-card {
  flex-direction: row;
  height: auto;
}
.properties-listings-grid.list-view .property-img-wrapper {
  width: 350px;
  aspect-ratio: 1.3 / 1;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .properties-listings-grid.list-view .property-card {
    flex-direction: column;
  }
  .properties-listings-grid.list-view .property-img-wrapper {
    width: 100%;
  }
}

/* ==========================================================================
   8. PROPERTY DETAILS PAGE
   ========================================================================== */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .detail-layout {
    grid-template-columns: 1fr;
  }
}

/* Main Gallery Slider */
.property-gallery-slider {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 1.8 / 1;
}
.gallery-slides {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 0.5s ease-in-out;
}
.gallery-slide {
  min-width: 100%;
  height: 100%;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slider Controls */
.gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition-normal);
  z-index: 10;
}
.gallery-btn:hover {
  background-color: var(--primary-gold);
}
.gallery-btn-prev { left: 1rem; }
.gallery-btn-next { right: 1rem; }

.gallery-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition-normal);
}
.gallery-dot.active {
  background-color: var(--primary-gold);
  width: 25px;
  border-radius: var(--radius-full);
}

/* Property Stats Badges */
.property-details-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.detail-title-wrap h1 {
  font-size: 2.25rem;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.detail-price-wrap {
  text-align: right;
}
.detail-price-wrap .price {
  font-size: 2.5rem;
  font-weight: var(--fw-extrabold);
  color: var(--primary-gold);
}
.detail-price-wrap .per-month {
  font-size: 1rem;
  color: var(--text-muted);
}
@media (max-width: 640px) {
  .detail-price-wrap { text-align: left; }
  .property-details-meta { flex-direction: column; }
}

.spec-grid-large {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2.5rem;
}
@media (max-width: 640px) {
  .spec-grid-large { grid-template-columns: repeat(2, 1fr); }
}
.large-spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid var(--border-color);
}
.large-spec-item:last-child {
  border-right: none;
}
@media (max-width: 640px) {
  .large-spec-item:nth-child(2n) { border-right: none; }
}
.large-spec-item i {
  font-size: 1.75rem;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
}
.large-spec-val {
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}
.large-spec-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.detail-section {
  margin-bottom: 2.5rem;
}
.detail-section-title {
  font-size: 1.4rem;
  font-weight: var(--fw-bold);
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  border-left: 4px solid var(--primary-gold);
  padding-left: 0.75rem;
}

.features-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 640px) {
  .features-list { grid-template-columns: repeat(2, 1fr); }
}
.feature-point {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
}
.feature-point i {
  color: var(--success-color);
}

/* Map Mock Block */
.map-placeholder {
  height: 350px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}
.map-visual-placeholder {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #e2e8f0 10%, #cbd5e1 90%);
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-theme="dark"] .map-visual-placeholder {
  background: radial-gradient(circle, #1e293b 10%, #0f172a 90%);
}
.map-pin {
  width: 48px;
  height: 48px;
  color: var(--primary-gold);
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
  animation: bounce 2s infinite;
}
.map-card-popup {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background-color: var(--bg-card);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  font-size: 0.9rem;
}

/* Side Contact Agent Widget */
.agent-contact-widget {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: sticky;
  top: 100px;
  box-shadow: var(--shadow-md);
}

.agent-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}
.agent-profile-img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}
.agent-profile-name {
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}
.agent-profile-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.agent-badge-label {
  display: inline-block;
  background-color: rgba(var(--primary-gold-rgb), 0.1);
  color: var(--primary-gold);
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-top: 0.25rem;
}

/* Form Groups Styles */
.inquiry-form-group {
  margin-bottom: 1.25rem;
}
.inquiry-form-group input,
.inquiry-form-group textarea {
  width: 100%;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition-normal);
}
.inquiry-form-group input:focus,
.inquiry-form-group textarea:focus {
  border-color: var(--primary-gold);
  background-color: var(--bg-primary);
}
.inquiry-form-group textarea {
  height: 100px;
  resize: none;
}

.form-validation-msg {
  font-size: 0.75rem;
  color: var(--danger-color);
  margin-top: 0.35rem;
  display: none;
}

/* ==========================================================================
   9. WHY CHOOSE US
   ========================================================================== */
.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-color-focus);
}
.feature-icon-box {
  width: 70px;
  height: 70px;
  background-color: rgba(var(--primary-gold-rgb), 0.1);
  color: var(--primary-gold);
  font-size: 2rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition-normal);
}
.feature-card:hover .feature-icon-box {
  background-color: var(--primary-gold);
  color: var(--text-white);
  transform: rotateY(180deg);
}
.feature-card-title {
  font-size: 1.35rem;
  font-weight: var(--fw-bold);
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}
.feature-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ==========================================================================
   10. STATS & ANIMATED COUNTER SECTION
   ========================================================================== */
.stats-section {
  background: linear-gradient(135deg, #1e3a8a, #0b1329); /* premium dark slate blue */
  color: var(--text-white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(var(--primary-gold-rgb), 0.1) 0%, transparent 60%);
  pointer-events: none;
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: 3.5rem;
  font-weight: var(--fw-extrabold);
  color: var(--primary-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-title {
  font-size: 1.05rem;
  font-weight: var(--fw-semibold);
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   11. TESTIMONIALS SLIDER / CAROUSEL
   ========================================================================== */
.testimonial-carousel-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 1rem;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 1rem;
}

.testimonial-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  position: relative;
  border-top: 5px solid var(--primary-gold);
}
@media (max-width: 640px) {
  .testimonial-card { padding: 1.75rem; }
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.testimonial-quote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-user-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-user-name {
  font-size: 1.05rem;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
}
.testimonial-user-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonial-nav-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition-normal);
}
.testimonial-dot.active {
  background-color: var(--primary-gold);
  width: 25px;
  border-radius: var(--radius-full);
}

.quote-icon-decor {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  font-size: 6rem;
  color: var(--border-color);
  opacity: 0.25;
  pointer-events: none;
}

/* ==========================================================================
   12. FAQ ACCORDION
   ========================================================================== */
.faq-accordion-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-normal);
}
.faq-item:hover {
  border-color: var(--border-color-focus);
}
.faq-item.active {
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-md);
}

.faq-question-btn {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  text-align: left;
}
.faq-question-btn i {
  color: var(--primary-gold);
  transition: transform var(--transition-normal);
}
.faq-item.active .faq-question-btn i {
  transform: rotate(180deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease-out;
}
.faq-item.active .faq-answer-panel {
  max-height: 500px; /* high placeholder */
}
.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  font-size: 1rem;
  border-top: 1px solid transparent;
}
.faq-item.active .faq-answer-content {
  border-top-color: var(--border-color);
}

/* ==========================================================================
   13. AGENTS TEAM SECTION
   ========================================================================== */
.agent-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}
.agent-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--border-color-focus);
}

.agent-img-box {
  position: relative;
  aspect-ratio: 1 / 1.15;
  overflow: hidden;
}
.agent-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.agent-card:hover .agent-img-box img {
  transform: scale(1.05);
}

.agent-social-overlay {
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(to top, rgba(11, 15, 25, 0.95), rgba(11, 15, 25, 0));
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  transition: var(--transition-normal);
}
.agent-card:hover .agent-social-overlay {
  bottom: 0;
}
.agent-social-link {
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #111827;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition-normal);
}
.agent-social-link:hover {
  background-color: var(--primary-gold);
  color: var(--text-white);
  transform: translateY(-3px);
}

.agent-info {
  padding: 1.5rem;
  text-align: center;
}
.agent-name {
  font-size: 1.2rem;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.agent-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.agent-meta-contact {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.agent-meta-contact span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.agent-meta-contact i {
  color: var(--primary-gold);
}

/* ==========================================================================
   14. NEWSLETTER SIGNUP SECTION
   ========================================================================== */
.newsletter-section {
  background-color: var(--bg-secondary);
}

.newsletter-box {
  background: linear-gradient(135deg, #1e3a8a, #0b1329), 
              url('../images/property-8.jpg') no-repeat center center/cover;
  background-blend-mode: overlay;
  padding: 4.5rem;
  border-radius: var(--radius-lg);
  color: var(--text-white);
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}
@media (max-width: 768px) {
  .newsletter-box { padding: 2.5rem 1.5rem; }
}

.newsletter-box-title {
  font-size: 2.25rem;
  font-weight: var(--fw-bold);
  margin-bottom: 0.75rem;
}
.newsletter-box-desc {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-form {
  display: flex;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  max-width: 600px;
  margin: 0 auto;
  align-items: center;
}
@media (max-width: 500px) {
  .newsletter-form {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    gap: 0.75rem;
  }
}

.newsletter-input-wrap {
  flex-grow: 1;
  position: relative;
  width: 100%;
}
.newsletter-input-wrap i {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.newsletter-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 3rem;
  color: var(--text-primary);
  background: transparent;
  font-size: 0.95rem;
}
@media (max-width: 500px) {
  .newsletter-input {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding-left: 3rem;
  }
}

.newsletter-form button {
  white-space: nowrap;
}
@media (max-width: 500px) {
  .newsletter-form button {
    width: 100%;
  }
}

.newsletter-validation-msg {
  color: #f87171;
  font-size: 0.8rem;
  margin-top: 0.75rem;
  display: none;
  font-weight: var(--fw-semibold);
}

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-widget-about p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 1.25rem 0 1.75rem;
  max-width: 320px;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}
.footer-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-normal);
}
.footer-social-icon:hover {
  background-color: var(--primary-gold);
  border-color: var(--primary-gold);
  color: var(--text-white);
  transform: translateY(-3px);
}

.footer-widget-title {
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-gold);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-link {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.footer-link:hover {
  color: var(--primary-gold);
  padding-left: 0.35rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.footer-contact-item i {
  color: var(--primary-gold);
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.footer-bottom-links a:hover {
  color: var(--primary-gold);
}

/* ==========================================================================
   16. MOBILE MENU OVERLAY & ANIMATIONS
   ========================================================================== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-card);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 1.75rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-item-dropdown {
    width: 100%;
  }
  .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    border: none;
    box-shadow: none;
    background: transparent;
    padding-left: 1rem;
    display: none;
  }
  .nav-item-dropdown.active .dropdown-menu {
    display: block;
  }
  
  .nav-actions {
    margin-right: 1.5rem;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   17. 404 & CONTACT US SPECIFIC ELEMENTS
   ========================================================================== */
.error-page-container {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}
.error-content {
  max-width: 550px;
}
.error-code {
  font-size: 8rem;
  font-weight: var(--fw-extrabold);
  line-height: 1;
  color: var(--primary-gold);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary-gold), #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.error-title {
  font-size: 2rem;
  font-weight: var(--fw-bold);
  margin-bottom: 1rem;
}
.error-desc {
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

/* Contact Info Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}
.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.contact-card-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}
.contact-card-box:hover {
  border-color: var(--border-color-focus);
  box-shadow: var(--shadow-md);
}
.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background-color: rgba(var(--primary-gold-rgb), 0.1);
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}
.contact-card-details h3 {
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.contact-card-details p,
.contact-card-details a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-form-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}
@media (max-width: 640px) {
  .contact-form-card { padding: 1.75rem; }
}

.contact-form-title {
  font-size: 1.6rem;
  font-weight: var(--fw-bold);
  margin-bottom: 0.5rem;
}
.contact-form-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
}
