/* ==========================================================================
   East Rose Estates (عقارات الوردة الشرقية) - Luxury Design System & Styles
   ========================================================================== */

/* --- CSS Variables & Color Palette --- */
:root {
  --primary-emerald: #0A3C2F;
  --primary-emerald-dark: #06261E;
  --primary-emerald-light: #135A47;
  --secondary-navy: #0E1B2E;
  --accent-gold: #D4AF37;
  --accent-gold-light: #E6C865;
  --accent-gold-dark: #B38F24;
  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;
  --bg-dark: #0B1320;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #F1F5F9;
  --border-light: rgba(148, 163, 184, 0.18);
  --border-gold: rgba(212, 175, 55, 0.35);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px rgba(10, 60, 47, 0.08);
  --shadow-lg: 0 20px 40px rgba(10, 60, 47, 0.14);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.25);
  
  --font-arabic-heading: 'Readex Pro', 'Tajawal', sans-serif;
  --font-arabic-body: 'Tajawal', sans-serif;
  --font-english-heading: 'Playfair Display', serif;
  --font-english-body: 'Inter', sans-serif;
  
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

/* --- Base & Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-arabic-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  direction: rtl;
  text-align: right;
}

body[dir="ltr"] {
  font-family: var(--font-english-body);
  direction: ltr;
  text-align: left;
}

body[dir="ltr"] h1,
body[dir="ltr"] h2,
body[dir="ltr"] h3,
body[dir="ltr"] .logo-text,
body[dir="ltr"] .hero-title {
  font-family: var(--font-english-heading);
}

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

ul {
  list-style: none;
}

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

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-arabic-heading);
  font-weight: 700;
  color: var(--primary-emerald-dark);
  line-height: 1.25;
}

.text-gold {
  color: var(--accent-gold) !important;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 50%, #997A15 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-white {
  color: #FFFFFF !important;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Buttons & UI Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  color: var(--primary-emerald-dark);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, #E6C865 0%, var(--accent-gold) 100%);
}

.btn-emerald {
  background: var(--primary-emerald);
  color: #FFFFFF;
}

.btn-emerald:hover {
  background: var(--primary-emerald-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline-gold:hover {
  background: var(--accent-gold);
  color: var(--primary-emerald-dark);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}

/* --- Section Styling --- */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* --- Glassmorphism Card --- */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.dark-glass {
  background: rgba(14, 27, 46, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: #FFFFFF;
}

/* ==========================================================================
   1. HEADER / NAVIGATION BAR
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(10, 60, 47, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.75rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #FFFFFF;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-emerald-dark);
  font-size: 1.3rem;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-arabic-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: #FFFFFF;
  letter-spacing: -0.2px;
}

.logo-sub {
  font-size: 0.72rem;
  color: var(--accent-gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.3rem 0;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.lang-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 4rem;
  background: linear-gradient(135deg, rgba(6, 38, 30, 0.88) 0%, rgba(14, 27, 46, 0.92) 100%),
              url('assets/images/hero.jpg') center/cover no-repeat;
  color: #FFFFFF;
  overflow: hidden;
}

.hero-overlay-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, rgba(0,0,0,0) 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.hero-title span {
  display: block;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(241, 245, 249, 0.88);
  margin-bottom: 2.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

/* Quick Search / Filter Bar */
.search-filter-box {
  background: rgba(14, 27, 46, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  margin-bottom: 3rem;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.filter-group {
  display: flex;
  flex-direction: column;
  text-align: right;
  gap: 0.35rem;
}

body[dir="ltr"] .filter-group {
  text-align: left;
}

.filter-label {
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.filter-select, .filter-input {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-select option {
  background: var(--secondary-navy);
  color: #FFFFFF;
}

.filter-select:focus, .filter-input:focus {
  border-color: var(--accent-gold);
  background: rgba(255, 255, 255, 0.12);
}

/* Stats counter strip */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-family: var(--font-arabic-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
}

body[dir="ltr"] .stat-number {
  font-family: var(--font-english-heading);
}

.stat-label {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   3. ABOUT US SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-img-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.about-img-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-img-frame:hover img {
  transform: scale(1.03);
}

.about-floating-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--primary-emerald);
  color: #FFFFFF;
  padding: 1.25rem 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--accent-gold);
  box-shadow: var(--shadow-gold);
  display: flex;
  align-items: center;
  gap: 1rem;
}

body[dir="ltr"] .about-floating-badge {
  left: auto;
  right: -20px;
}

.badge-icon {
  font-size: 2.2rem;
  color: var(--accent-gold);
}

.badge-text-title {
  font-weight: 700;
  font-size: 1.1rem;
}

.badge-text-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
}

.about-content-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.highlight-card {
  background: #FFFFFF;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border-right: 4px solid var(--accent-gold);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

body[dir="ltr"] .highlight-card {
  border-right: none;
  border-left: 4px solid var(--accent-gold);
}

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

.highlight-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-emerald-dark);
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.highlight-title i {
  color: var(--accent-gold);
}

.highlight-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   4. OUR SERVICES SECTION
   ========================================================================== */
.services-section {
  background: linear-gradient(180deg, var(--bg-light) 0%, rgba(10, 60, 47, 0.04) 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.service-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2.25rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-emerald) 0%, var(--accent-gold) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.4);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: rgba(10, 60, 47, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-emerald);
  font-size: 1.8rem;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: var(--primary-emerald);
  color: var(--accent-gold);
  box-shadow: var(--shadow-gold);
}

.service-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.85rem;
}

.service-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--accent-gold-dark);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.service-card:hover .service-link {
  color: var(--primary-emerald);
}

/* ==========================================================================
   5. FEATURED PROPERTIES
   ========================================================================== */
.properties-section {
  background: var(--bg-white);
}

.property-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.6rem 1.5rem;
  border-radius: var(--radius-full);
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary-emerald);
  color: #FFFFFF;
  border-color: var(--primary-emerald);
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

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

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

.property-thumb-wrap {
  position: relative;
  height: 230px;
  overflow: hidden;
}

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

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

.property-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-emerald);
  color: var(--accent-gold);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

body[dir="ltr"] .property-tag {
  right: auto;
  left: 1rem;
}

.property-price-tag {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(14, 27, 46, 0.88);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-gold);
}

body[dir="ltr"] .property-price-tag {
  left: auto;
  right: 1rem;
}

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

.property-location {
  font-size: 0.85rem;
  color: var(--accent-gold-dark);
  font-weight: 600;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.property-title {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--primary-emerald-dark);
}

.property-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.25rem;
}

.spec-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.spec-item i {
  color: var(--primary-emerald);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.spec-val {
  font-weight: 700;
  color: var(--text-dark);
}

.property-card-footer {
  margin-top: auto;
}

/* ==========================================================================
   6. WHY CHOOSE US
   ========================================================================== */
.why-us-section {
  background: var(--secondary-navy);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.why-us-section .section-title {
  color: #FFFFFF;
}

.why-us-section .section-subtitle {
  color: rgba(255, 255, 255, 0.75);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.why-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
  padding: 2.5rem 1.75rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.why-card:hover {
  background: rgba(10, 60, 47, 0.4);
  border-color: var(--accent-gold);
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.why-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(10, 60, 47, 0.4) 100%);
  border: 1px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent-gold);
}

.why-title {
  font-size: 1.3rem;
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.why-desc {
  font-size: 0.95rem;
  color: rgba(241, 245, 249, 0.8);
  line-height: 1.7;
}

/* ==========================================================================
   7. CONTACT & LOCATION SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-box {
  background: var(--primary-emerald-dark);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3rem 2.25rem;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-lg);
}

.contact-info-title {
  color: #FFFFFF;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.contact-info-desc {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  font-size: 0.98rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.info-icon {
  width: 48px;
  height: 48px;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.info-label {
  font-size: 0.82rem;
  color: var(--accent-gold);
  font-weight: 600;
  text-transform: uppercase;
}

.info-val {
  font-size: 1.05rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-top: 0.2rem;
}

.contact-form-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-title {
  font-size: 1.8rem;
  margin-bottom: 1.75rem;
  color: var(--primary-emerald-dark);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-emerald);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(10, 60, 47, 0.12);
}

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

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

body[dir="ltr"] .floating-actions {
  right: auto;
  left: 2rem;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.6rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: var(--transition-smooth);
  animation: pulse 2s infinite;
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-whatsapp {
  background: #25D366;
}

.float-phone {
  background: var(--accent-gold-dark);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   8. MODAL & DIALOG
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 19, 32, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  padding: 2.5rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-gold);
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--bg-light);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

body[dir="ltr"] .modal-close {
  left: auto;
  right: 1.25rem;
}

.modal-close:hover {
  background: var(--primary-emerald);
  color: #FFFFFF;
}

.modal-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--primary-emerald-dark);
}

.modal-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

/* Toast Feedback */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.toast {
  background: var(--primary-emerald-dark);
  color: #FFFFFF;
  border: 1px solid var(--accent-gold);
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  animation: slideUp 0.3s ease;
}

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

/* ==========================================================================
   9. FOOTER
   ========================================================================== */
.footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.75);
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-about-text {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-title {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -0.4rem;
  right: 0;
  width: 35px;
  height: 2px;
  background: var(--accent-gold);
}

body[dir="ltr"] .footer-title::after {
  right: auto;
  left: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

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

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

body[dir="ltr"] .footer-links a:hover {
  padding-right: 0;
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--accent-gold);
  color: var(--primary-emerald-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title { font-size: 2.5rem; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header { padding: 0.85rem 0; }
  .mobile-nav-toggle { display: block; }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: calc(100vh - 70px);
    background: var(--primary-emerald-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    transition: right 0.4s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    border-left: 1px solid var(--border-gold);
  }

  body[dir="ltr"] .nav-menu {
    right: auto;
    left: -100%;
    transition: left 0.4s ease;
    border-left: none;
    border-right: 1px solid var(--border-gold);
  }

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

  body[dir="ltr"] .nav-menu.active {
    left: 0;
  }

  .hero-title { font-size: 2rem; }
  .filter-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .properties-grid { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 2rem 1.25rem; }
  .modal-card { padding: 1.75rem 1.25rem; }
}
