/* ============================================
   SENEGAL LUXURY REAL ESTATE - Design System
   Color Palette: White, Green, Yellow
   ============================================ */

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

/* === CSS Variables === */
:root {
  --green-primary: #00c853;
  --green-dark: #1b5e20;
  --green-deeper: #0a3d0a;
  --green-light: #b9f6ca;
  --green-glow: rgba(0, 200, 83, 0.4);
  --yellow-primary: #ffd600;
  --yellow-dark: #ffab00;
  --yellow-light: #fff9c4;
  --yellow-glow: rgba(255, 214, 0, 0.4);
  --white: #ffffff;
  --off-white: #f5f7f5;
  --light-gray: #e8ece8;
  --dark: #0d1b0d;
  --dark-card: #112211;
  --text-dark: #1a2e1a;
  --text-muted: #5a6e5a;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.1);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.15);
  --shadow-glow-green: 0 0 40px rgba(0,200,83,0.2);
  --shadow-glow-yellow: 0 0 40px rgba(255,214,0,0.2);
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.7;
}

/* === Custom Scrollbar === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--green-primary), var(--yellow-primary));
  border-radius: 4px;
}

/* === Selection === */
::selection {
  background: var(--green-primary);
  color: var(--white);
}

/* === Utility === */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(0,200,83,0.1), rgba(255,214,0,0.1));
  border: 1px solid rgba(0,200,83,0.2);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-title .highlight {
  background: linear-gradient(135deg, var(--green-primary), var(--yellow-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
}

/* === Animated Background Orbs === */
.bg-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: orbFloat 20s ease-in-out infinite;
}

.bg-orb:nth-child(1) {
  width: 500px;
  height: 500px;
  background: var(--green-primary);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.bg-orb:nth-child(2) {
  width: 400px;
  height: 400px;
  background: var(--yellow-primary);
  bottom: -50px;
  left: -50px;
  animation-delay: -7s;
}

.bg-orb:nth-child(3) {
  width: 350px;
  height: 350px;
  background: var(--green-light);
  top: 40%;
  left: 30%;
  animation-delay: -14s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(60px, -40px) scale(1.1); }
  50% { transform: translate(-30px, 60px) scale(0.9); }
  75% { transform: translate(-60px, -30px) scale(1.05); }
}

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,200,83,0.1);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--green-primary), var(--yellow-primary));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  box-shadow: var(--shadow-glow-green);
  animation: logoPulse 3s ease-in-out infinite;
}

.nav-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: var(--shadow-glow-green);
  animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0,200,83,0.2); }
  50% { box-shadow: 0 0 40px rgba(0,200,83,0.4); }
}

.nav-logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-dark);
}

.nav-logo-text span {
  color: var(--green-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-dark);
  padding: 8px 18px;
  border-radius: 50px;
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a:hover {
  color: var(--green-primary);
  background: rgba(0,200,83,0.06);
}

.nav-cta {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark)) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  box-shadow: var(--shadow-glow-green);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,200,83,0.4) !important;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark)) !important;
  color: var(--white) !important;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.mobile-toggle span {
  width: 28px;
  height: 2.5px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* === HERO SECTION === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--white) 0%, var(--off-white) 40%, rgba(185,246,202,0.2) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url('images/villa-almadies.png') center/cover;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 5% 100%);
  opacity: 0.85;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 5% 100%);
  background: linear-gradient(135deg, rgba(0,200,83,0.3), rgba(255,214,0,0.15));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 45%;
  padding: 120px 0 80px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: rgba(0,200,83,0.08);
  border: 1px solid rgba(0,200,83,0.15);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 28px;
  animation: fadeInUp 0.8s ease;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--green-primary);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--text-dark);
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title .accent {
  background: linear-gradient(135deg, var(--green-primary), var(--yellow-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 30px rgba(0,200,83,0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 0.5s;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,200,83,0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--light-gray);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
  background: rgba(0,200,83,0.04);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stat {
  text-align: left;
}

.hero-stat-icon {
  color: var(--green-primary);
  margin-bottom: 6px;
  animation: iconFloat 3s ease-in-out infinite;
}

.hero-stat-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--green-primary);
}

.hero-stat-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Floating Elements */
.hero-floating {
  position: absolute;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}

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

.float-card {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,200,83,0.1);
}

.float-card-1 {
  bottom: 15%;
  right: 8%;
  animation-delay: -2s;
}

.float-card-2 {
  top: 25%;
  right: 5%;
  animation-delay: -4s;
}

.float-card .fc-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.float-card .fc-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.float-card .fc-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* === Animations === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

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

@keyframes iconPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

@keyframes iconGlow {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(0,200,83,0.3)); }
  50% { filter: drop-shadow(0 0 10px rgba(0,200,83,0.6)); }
}

/* Animated Icon Styles */
.icon-animated {
  display: inline-flex;
  animation: iconPulse 2.5s ease-in-out infinite;
}

.icon-animated svg,
.about-feature-icon svg,
.contact-info-icon svg,
.fc-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--green-primary);
  animation: iconGlow 3s ease-in-out infinite;
}

.about-feature-icon {
  animation: iconFloat 4s ease-in-out infinite;
}

.about-feature:nth-child(2) .about-feature-icon {
  animation-delay: -1.5s;
}

.about-feature:nth-child(3) .about-feature-icon {
  animation-delay: -3s;
}

.fc-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--green-primary);
}

.contact-info-icon {
  animation: iconFloat 3.5s ease-in-out infinite;
}

.contact-info-card:nth-child(2) .contact-info-icon {
  animation-delay: -1s;
}

.contact-info-card:nth-child(3) .contact-info-icon {
  animation-delay: -2s;
}

.contact-info-card:nth-child(4) .contact-info-icon {
  animation-delay: -3s;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* === ABOUT / FEATURES SECTION === */
.about-section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

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

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

.about-image {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,200,83,0.15), rgba(255,214,0,0.1));
  border-radius: var(--radius-lg);
}

.about-accent-box {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--green-primary), var(--yellow-primary));
  color: white;
  padding: 24px 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow-green);
  z-index: 2;
}

.about-accent-box .aab-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2rem;
}

.about-accent-box .aab-label {
  font-size: 0.85rem;
  opacity: 0.9;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.about-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.about-feature:hover {
  background: rgba(0,200,83,0.04);
  border-color: rgba(0,200,83,0.1);
  transform: translateX(8px);
}

.about-feature-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, rgba(0,200,83,0.1), rgba(255,214,0,0.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.about-feature h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* === PROPERTIES SECTION === */
.properties-section {
  padding: 120px 0;
  background: var(--off-white);
  position: relative;
  z-index: 1;
}

.properties-header {
  text-align: center;
  margin-bottom: 50px;
}

.properties-header .section-subtitle {
  margin: 0 auto;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 12px 28px;
  border: 2px solid var(--light-gray);
  border-radius: 50px;
  background: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-tab:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
}

.filter-tab.active {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  color: var(--white);
  border-color: var(--green-primary);
  box-shadow: 0 4px 20px rgba(0,200,83,0.3);
}

/* Property Cards */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.04);
  transition: var(--transition-smooth);
  opacity: 1;
  transform: translateY(0);
}

.property-card.hidden {
  display: none;
}

.property-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,200,83,0.15);
}

.property-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

.property-card:hover .property-card-image img {
  transform: scale(1.1);
}

.property-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.property-badge.new {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  color: white;
}

.property-badge.premium {
  background: linear-gradient(135deg, var(--yellow-primary), var(--yellow-dark));
  color: var(--dark);
}

.property-badge.exclusive {
  background: linear-gradient(135deg, var(--dark), #333);
  color: white;
}

.property-price {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  color: white;
  padding: 8px 18px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
}

.property-price .currency {
  color: var(--yellow-primary);
  font-size: 0.85rem;
}

.property-card-body {
  padding: 24px;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--green-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.property-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.property-features {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--light-gray);
}

.property-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.property-feature .pf-icon {
  font-size: 1rem;
}

/* === MAP SECTION === */
.map-section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.map-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.map-section .section-subtitle {
  margin: 0 auto;
}

.map-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.map-tab {
  padding: 12px 28px;
  border: 2px solid var(--light-gray);
  border-radius: 50px;
  background: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 8px;
}

.map-tab:hover {
  border-color: var(--green-primary);
  color: var(--green-primary);
}

.map-tab.active {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  color: var(--white);
  border-color: var(--green-primary);
  box-shadow: 0 4px 20px rgba(0,200,83,0.3);
}

.map-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(0,200,83,0.1);
}

#main-map {
  width: 100%;
  height: 550px;
  z-index: 1;
}

.map-overlay-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  z-index: 500;
  max-width: 280px;
  border: 1px solid rgba(0,200,83,0.1);
}

.map-overlay-info h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.map-overlay-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* === BEFORE/AFTER GALLERY === */
.gallery-section {
  padding: 120px 0;
  background: var(--dark);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.gallery-section .section-badge {
  background: rgba(0,200,83,0.15);
  border-color: rgba(0,200,83,0.25);
  color: var(--green-light);
}

.gallery-section .section-title {
  color: var(--white);
}

.gallery-section .section-subtitle {
  color: rgba(255,255,255,0.6);
}

.gallery-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.gallery-section .section-subtitle {
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  height: 400px;
}

.comparison-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  user-select: none;
}

.comparison-slider .before-img,
.comparison-slider .after-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comparison-slider .before-img {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.comparison-slider .after-img {
  z-index: 1;
}

.comparison-slider .slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: var(--green-primary);
  z-index: 3;
  cursor: ew-resize;
  transform: translateX(-50%);
  box-shadow: 0 0 20px rgba(0,200,83,0.5);
}

.comparison-slider .slider-handle::before {
  content: '◄ ►';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--green-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: white;
  letter-spacing: 4px;
  box-shadow: 0 0 30px rgba(0,200,83,0.5);
}

.comparison-label {
  position: absolute;
  bottom: 16px;
  padding: 8px 18px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 4;
}

.comparison-label.before-label {
  left: 16px;
  background: rgba(0,0,0,0.7);
  color: white;
}

.comparison-label.after-label {
  right: 16px;
  background: linear-gradient(135deg, var(--green-primary), var(--yellow-primary));
  color: white;
}

/* === TESTIMONIALS === */
.testimonials-section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.testimonials-section .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.testimonials-section .section-subtitle {
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition-smooth);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,200,83,0.2);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 28px;
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(0,200,83,0.1), rgba(255,214,0,0.1));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.testimonial-stars {
  color: var(--yellow-primary);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-primary), var(--yellow-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-family: var(--font-heading);
}

.testimonial-author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-author-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* === CONTACT SECTION === */
.contact-section {
  padding: 120px 0;
  background: linear-gradient(160deg, var(--off-white) 0%, rgba(185,246,202,0.15) 100%);
  position: relative;
  z-index: 1;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-cards {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--light-gray);
  transition: var(--transition-smooth);
}

.contact-info-card:hover {
  border-color: rgba(0,200,83,0.2);
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, rgba(0,200,83,0.1), rgba(255,214,0,0.1));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-info-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-info-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-gray);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 4px rgba(0,200,83,0.1);
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(0,200,83,0.3);
}

.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,200,83,0.45);
}

/* === FOOTER === */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 30px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand-text {
  font-size: 0.92rem;
  line-height: 1.8;
  margin-top: 16px;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-social-link:hover {
  background: var(--green-primary);
  border-color: var(--green-primary);
  color: white;
  transform: translateY(-4px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--green-primary);
  padding-left: 6px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--green-primary);
  text-decoration: none;
}

/* === SCROLL-REVEAL ANIMATIONS === */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] { transform: translateY(40px); }
[data-aos="fade-up"].aos-animate { transform: translateY(0); }

[data-aos="fade-left"] { transform: translateX(-40px); }
[data-aos="fade-left"].aos-animate { transform: translateX(0); }

[data-aos="fade-right"] { transform: translateX(40px); }
[data-aos="fade-right"].aos-animate { transform: translateX(0); }

[data-aos="zoom-in"] { transform: scale(0.85); }
[data-aos="zoom-in"].aos-animate { transform: scale(1); }

/* === Particle Grid Background === */
.particle-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(circle, rgba(0,200,83,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .gallery-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }
  
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-bottom: 1px solid var(--light-gray);
    box-shadow: var(--shadow-md);
  }

  .hero::before,
  .hero::after { display: none; }
  
  .hero-content { max-width: 100%; }
  .hero-floating { display: none; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-features { grid-template-columns: 1fr; }
  .properties-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  
  .hero-title { font-size: 2.4rem; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* === Loading Screen === */
.loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

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

.loader-logo {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--green-primary), var(--yellow-primary));
  border-radius: 20px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0,200,83,0.4); }
  50% { transform: scale(1.1); box-shadow: 0 0 40px 20px rgba(0,200,83,0); }
}

.loader-bar {
  width: 200px;
  height: 4px;
  background: var(--light-gray);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.loader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-primary), var(--yellow-primary));
  border-radius: 2px;
  animation: loaderFill 1.5s ease-in-out forwards;
}

@keyframes loaderFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* === Interactive card glow effect === */
.glow-card {
  position: relative;
}

.glow-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--green-primary), var(--yellow-primary), var(--green-primary));
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  background-size: 200% 200%;
  animation: gradientMove 3s ease infinite;
}

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

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Leaflet custom popup */
.leaflet-popup-content-wrapper {
  border-radius: 16px !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15) !important;
  border: 1px solid rgba(0,200,83,0.1) !important;
}

.leaflet-popup-content {
  margin: 16px 20px !important;
  font-family: var(--font-body) !important;
}

.popup-content h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.popup-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.popup-content .popup-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--green-primary);
}

.popup-content img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* ===========================
   FUTURISTIC MAP MODAL
   =========================== */
.futuristic-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.futuristic-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 27, 13, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(17, 34, 17, 0.95);
  border: 1px solid rgba(0, 200, 83, 0.3);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 50px rgba(0, 200, 83, 0.2);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.futuristic-modal.active .modal-content-wrapper {
  transform: scale(1) translateY(0);
}

/* Hologram Scanning Line */
.modal-hologram-effect {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 200, 83, 0) 0%, rgba(0, 200, 83, 0.05) 50%, rgba(0, 200, 83, 0) 100%);
  background-size: 100% 200%;
  animation: hologramScan 4s linear infinite;
  pointer-events: none;
  z-index: 10;
}

@keyframes hologramScan {
  0% { background-position: 0% -100%; }
  100% { background-position: 0% 200%; }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  background: var(--green-primary);
  border-color: var(--green-primary);
  transform: rotate(90deg);
}

.modal-body-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .modal-body-content {
    flex-direction: row;
  }
}

.modal-image-container {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .modal-image-container {
    width: 45%;
    height: auto;
    min-height: 100%;
  }
}

.modal-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-image-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 34, 17, 1) 0%, transparent 100%);
}

@media (min-width: 768px) {
  .modal-image-container::after {
    background: linear-gradient(to left, rgba(17, 34, 17, 1) 0%, transparent 100%);
  }
}

.modal-status-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(0, 200, 83, 0.2);
  border: 1px solid var(--green-primary);
  color: var(--green-light);
  padding: 6px 12px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 15px rgba(0, 200, 83, 0.4);
  animation: modalPulse 2s infinite;
}

@keyframes modalPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(0, 200, 83, 0.4); }
  50% { box-shadow: 0 0 25px rgba(0, 200, 83, 0.8); }
}

.modal-details {
  padding: 24px;
  text-align: left;
  flex: 1;
}

@media (min-width: 768px) {
  .modal-details {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* Subscription UI */
.modal-subscription {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.subscription-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-open {
  background: rgba(0, 200, 83, 0.2);
  color: var(--green-light);
  border: 1px solid var(--green-primary);
}

.badge-closed {
  background: rgba(255, 59, 48, 0.2);
  color: #ff8a80;
  border: 1px solid #ff5252;
}

.badge.hidden {
  display: none !important;
}

.subscription-stats {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.stat-current {
  color: var(--white);
  font-weight: 700;
  font-size: 1.1rem;
}

.subscription-progress {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 24px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--green-primary), var(--yellow-primary));
  border-radius: 4px;
  transition: width 1s ease-in-out;
}

.progress-bar.closed {
  background: linear-gradient(90deg, #ff5252, #d50000);
}

.btn-adherer {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 20px rgba(0, 200, 83, 0.25);
}

.btn-adherer:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 200, 83, 0.4);
}

.btn-adherer:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  cursor: not-allowed;
  box-shadow: none;
}

.modal-city {
  color: var(--green-primary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.modal-title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.modal-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.modal-specs {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green-light);
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.spec-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--green-primary);
}
