/* Eras ITC Font Face Declarations */
@font-face {
  font-family: 'Eras ITC';
  src: url('../fonts/itc-eras-ultra/ITC Eras Light Regular.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Eras ITC';
  src: url('../fonts/itc-eras-ultra/ITC Eras Book Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Eras ITC';
  src: url('../fonts/itc-eras-ultra/ITC Eras Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Eras ITC';
  src: url('../fonts/itc-eras-ultra/ITC Eras Demi Regular.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Eras ITC';
  src: url('../fonts/itc-eras-ultra/ITC Eras Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Eras ITC';
  src: url('../fonts/itc-eras-ultra/ITC Eras Ultra Regular.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --text: #1a1a1a;
  --text-muted: #858284;
  --primary: #ce1512;
  --primary-dark: #a8110e;
  --accent: #3f6db2;
  --accent-light: #5a86c7;
  --neutral: #858284;
  --stroke: #e8e8e8;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 6px 16px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

/* Scroll Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll-delay-1 {
  transition-delay: 0.1s;
}

.animate-on-scroll-delay-2 {
  transition-delay: 0.2s;
}

.animate-on-scroll-delay-3 {
  transition-delay: 0.3s;
}

.animate-on-scroll-delay-4 {
  transition-delay: 0.4s;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

img, video {
  max-width: 100%;
  height: auto;
}

html {
  scroll-behavior: smooth;
  background: #ffffff;
  overflow-x: hidden;
  width: 100%;
}

main {
  background: #ffffff;
}

body {
  font-family: 'Eras ITC', 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: #ffffff;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
  overflow-x: hidden;
  width: 100%;
}

.container {
  width: min(1280px, 92%);
  margin: 0 auto;
  padding: 0 24px;
  max-width: 100%;
  box-sizing: border-box;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Eras ITC', 'Montserrat', sans-serif;
  font-weight: 500 !important;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 500 !important;
}

h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 500 !important;
  color: var(--primary);
}

h3 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500 !important;
  color: var(--primary);
}

p {
  color: var(--text-muted);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.7;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 8px;
  border: 1px solid transparent;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  font-family: 'Eras ITC', 'Montserrat', sans-serif;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn.primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn.secondary {
  background: var(--accent);
  color: #ffffff;
}

.btn.secondary:hover {
  background: var(--accent-light);
  box-shadow: 0 8px 24px rgba(63, 109, 178, 0.3);
}

.btn.outline {
  background: transparent;
  border-color: var(--stroke);
  color: var(--text);
}

.btn.outline:hover {
  background: var(--bg-alt);
  border-color: var(--primary);
}

.btn.link {
  background: transparent;
  color: var(--primary);
  padding: 8px 0;
  font-weight: 600;
}

.btn.link:hover {
  color: var(--primary-dark);
  transform: translateX(4px);
}

/* Banner / Hero buttons (pill style – uniform across site) */
.btn-banner {
  border-radius: 50px;
  padding: 16px 32px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
  font-family: 'Eras ITC', 'Montserrat', sans-serif;
}
.btn-banner-solid {
  background: white;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.btn-banner-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}
.btn-banner-outline {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  border-color: white;
}
.btn-banner-outline:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Cards */
.card {
  background: var(--bg);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

/* Top Bar - Contact Information */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  min-height: 48px;
  display: block;
  visibility: visible;
  transition: var(--transition);
  animation: fadeInDown 0.4s ease-out;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  padding: 12px 40px;
}

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

.top-bar-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.top-bar-phone span {
  display: inline-block;
  color: inherit;
}

.top-bar-phone svg {
  flex-shrink: 0;
  opacity: 0.8;
  transition: var(--transition);
}

.top-bar-phone:hover {
  color: #ffffff;
}

.top-bar-phone:hover svg {
  opacity: 1;
  transform: scale(1.1);
}

.top-bar-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
  user-select: none;
}

.top-bar-email {
  display: flex;
  align-items: center;
}

.top-bar-email-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.top-bar-email-link span {
  display: inline-block;
  color: inherit;
}

.top-bar-email-link svg {
  flex-shrink: 0;
  opacity: 0.8;
  transition: var(--transition);
}

.top-bar-email-link:hover {
  color: #ffffff;
}

.top-bar-email-link:hover svg {
  opacity: 1;
  transform: scale(1.1);
}

/* Header - Modern Style */
.site-header {
  position: fixed;
  top: 48px;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 0;
  transition: var(--transition);
  animation: fadeInDown 0.6s ease-out 0.2s both;
}

.site-header.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1600px;
  margin: 0 auto;
  padding: 20px 40px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 85px;
  width: auto;
}

.brand-text {
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
}

.main-nav a {
  position: relative;
}

.main-nav a.active {
  color: var(--accent);
  font-weight: 600;
}

.main-nav a.active::after {
  background: var(--accent);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--primary);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-phone {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.header-phone svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.header-phone:hover {
  color: var(--primary);
}

.header-phone:hover svg {
  transform: scale(1.1);
}

.header-favorites {
  background: none;
  border: none;
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 4px;
  transition: var(--transition);
}

.header-favorites:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

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

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.header-cta {
  padding: 10px 20px;
  font-size: 14px;
}

/* Hero Section - Modern Style */
.hero {
  position: relative;
  min-height: 73vh;
  display: flex;
  align-items: center;
  margin-top: 128px;
  background: linear-gradient(135deg, rgba(63, 109, 178, 0.95) 0%, rgba(133, 130, 132, 0.95) 100%);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  opacity: 0.6;
}

/* Still image hero background (non-home pages) */
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.6;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  z-index: 1;
}

.hero-background {
  position: absolute;
  inset: 0;
  background: rgba(63, 109, 178, 0.45);
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 100px 0;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  color: #ffffff;
  font-size: clamp(32px, 5.2vw, 58px);
  font-weight: 500;
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.02em;
  animation: fadeInDown 1s ease-out 0.2s both;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(18px, 2.5vw, 24px);
  margin-bottom: 40px;
  font-weight: 400;
  line-height: 1.6;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: none;
}

.hero-cta .btn,
.hero-cta .btn-banner {
  animation: none;
}

/* Property Search Form Section - Below Hero */
.search-form-section {
  position: relative;
  margin-top: -60px;
  z-index: 10;
  padding: 0 24px;
}

.property-search-form {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 15px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: end;
  box-shadow: var(--shadow-xl);
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid rgba(63, 109, 178, 0.1);
  animation: scaleIn 0.6s ease-out 0.3s both;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.search-select {
  padding: 12px 16px;
  border: 1px solid var(--stroke);
  border-radius: 4px;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.search-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.search-submit {
  padding: 12px 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: end;
  min-height: 44px;
}

.search-submit svg {
  width: 16px;
  height: 16px;
}

.price-range {
  display: flex;
  gap: 10px;
}

.price-range .search-select {
  flex: 1;
}

.search-submit {
  padding: 12px 20px;
  font-size: 14px;
}

/* Quality Features Section */
.quality-features {
  padding: 100px 0;
  background: #ffffff;
}

.quality-features .section-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  color: var(--text);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(63, 109, 178, 0.1) 0%, rgba(133, 130, 132, 0.1) 100%);
  border-radius: 50%;
  color: var(--accent);
  transition: var(--transition-slow);
  animation: scaleIn 0.6s ease-out both;
}

.feature-card:nth-child(1) .feature-icon {
  animation-delay: 0.2s;
}

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

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

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.1);
}

.feature-title {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.feature-description {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto;
}

/* Stats Header */
.stats-header {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(255, 255, 255, 0.3) 50%, var(--accent) 100%);
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

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

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.stat-item {
  text-align: center;
  position: relative;
  padding: 20px;
  transition: var(--transition);
}

.stat-item::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: width 0.4s ease;
  box-shadow: 0 0 10px rgba(63, 109, 178, 0.5);
}

.stat-item:hover::after {
  width: 60px;
}

.stat-item:not(:last-child)::before {
  content: '';
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.stat-number {
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
  line-height: 1;
  position: relative;
  display: inline-block;
  text-shadow: 0 2px 10px rgba(63, 109, 178, 0.3);
}

.stat-number::before {
  content: '';
  position: absolute;
  top: -5px;
  left: -10px;
  right: -10px;
  bottom: -5px;
  background: radial-gradient(circle, rgba(63, 109, 178, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-item:hover .stat-number::before {
  opacity: 1;
}

.stat-label {
  font-size: clamp(14px, 1.6vw, 16px);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
  transition: color 0.3s ease;
}

.stat-item:hover .stat-label {
  color: #ffffff;
}

.stat-divider {
  display: none;
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}

.section-header h2 {
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease-out;
  color: var(--primary);
  font-weight: 500;
}

.section-description {
  font-size: clamp(16px, 1.8vw, 18px);
  color: var(--text-muted);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Featured Listings */
.featured-listings {
  padding: 100px 0;
  background: var(--bg-alt);
  animation: fadeIn 0.8s ease-out;
}

.featured-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.featured-item {
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  transition: var(--transition-slow);
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  animation: fadeInUp 0.6s ease-out both;
}

.featured-item:nth-child(1) {
  animation-delay: 0.1s;
}

.featured-item:nth-child(2) {
  animation-delay: 0.2s;
}

.featured-item:nth-child(3) {
  animation-delay: 0.3s;
}

.featured-item:nth-child(4) {
  animation-delay: 0.4s;
}

.featured-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-8px);
}

.property-image {
  height: 200px;
  transition: all 0.3s ease;
}

.property-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.property-collapsible {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease;
  padding: 0;
  margin-top: 0;
}

.property-collapsible.open {
  max-height: 1000px;
  opacity: 1;
  padding-top: 16px;
  padding-bottom: 0;
  margin-top: 0;
}

.property-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  margin-top: 16px;
  background: var(--bg-alt);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: var(--accent);
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.property-toggle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(63, 109, 178, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

.property-toggle:hover::before {
  width: 200px;
  height: 200px;
}

.property-toggle:hover {
  background: rgba(63, 109, 178, 0.1);
}

.property-toggle svg {
  transition: transform 0.3s ease;
  width: 16px;
  height: 16px;
}

.property-toggle.active svg {
  transform: rotate(180deg);
}

/* About Section */
.about-section {
  padding: 120px 0;
  background: var(--accent);
  position: relative;
  animation: fadeIn 0.8s ease-out;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  align-items: center;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out;
}

.about-image-wrapper {
  position: relative;
  width: 100%;
  animation: fadeInRight 0.8s ease-out 0.2s both;
}

.about-image {
  position: relative;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.15);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  background: #f8f9fa;
  aspect-ratio: 4 / 3;
}

.about-section:hover .about-image {
  transform: translateY(-8px);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.2);
}

.about-image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

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

/* Stats Section */
.stats-section {
  padding: 80px 0;
  background: #ffffff;
  position: relative;
}

.stats-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
  padding: 0 80px;
  width: 100%;
}

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

.stat-number {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat-text {
  font-size: clamp(11px, 1.2vw, 14px);
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 400;
}

.about-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  background: transparent;
  animation: fadeInLeft 0.8s ease-out 0.2s both;
}

.about-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  opacity: 0.9;
}

.about-title {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 500;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 32px;
  letter-spacing: -0.03em;
  max-width: 600px;
}

.about-description {
  font-size: clamp(16px, 1.8vw, 18px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  max-width: 520px;
  font-weight: 400;
}

/* City Vision Section */
.city-vision {
  padding: 100px 0;
  background: #ffffff;
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.vision-item {
  text-align: center;
  animation: fadeInUp 0.6s ease-out both;
}

.vision-item:nth-child(1) {
  animation-delay: 0.1s;
}

.vision-item:nth-child(2) {
  animation-delay: 0.2s;
}

.vision-item:nth-child(3) {
  animation-delay: 0.3s;
}

.vision-item:nth-child(4) {
  animation-delay: 0.4s;
}

.vision-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(63, 109, 178, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.vision-item:hover .vision-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--primary);
  color: #ffffff;
}

.vision-item h3 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #000000;
}

.vision-item p {
  font-size: 15px;
  color: #000000;
  line-height: 1.6;
}

.mission-statement {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 40px;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow);
}

.mission-statement p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin: 0;
}

.mission-statement strong {
  color: var(--accent);
  font-weight: 700;
}

/* Infrastructure Section */
.infrastructure-section {
  padding: 100px 0;
  background: #ffffff;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid transparent;
}

.amenity-item:hover {
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.amenity-item svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.amenity-item:hover svg {
  color: var(--primary);
}

.amenity-item span {
  font-size: 15px;
  color: var(--text);
  font-weight: 500;
}

.featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: none;
}

.featured-badge.sold-out {
  background: var(--neutral);
  color: #ffffff;
}

.property-image {
  width: 100%;
  height: 200px;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  background: #f0f0f0;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(63, 109, 178, 0.2) 0%, rgba(133, 130, 132, 0.2) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.featured-item:hover .property-image::after {
  opacity: 1;
}

.featured-item:hover .property-image img,
.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-status {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.property-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.property-price span {
  font-size: 14px;
  color: var(--text-muted);
}

.property-info h3 {
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 500;
  color: #000000;
}

.property-location {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.property-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.property-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.property-feature-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.property-feature-item span {
  color: var(--text-muted);
  font-size: 14px;
}

.property-description {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.property-payment {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: rgba(63, 109, 178, 0.05);
  border-radius: 8px;
  margin-bottom: 12px;
}

.payment-plan {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.payment-label {
  color: var(--text-muted);
  font-weight: 500;
}

.payment-amount {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}

.property-type {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Property Types */
.property-types {
  padding: 100px 0;
  background: #ffffff;
}

.property-types.commercial {
  background: var(--bg-alt);
}

.property-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.property-type-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-type-card {
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.property-type-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--neutral) 100%);
  transition: transform 0.4s ease;
}

.property-type-card:hover .property-type-image {
  transform: scale(1.05);
}

.property-type-content {
  padding: 24px;
}

.property-type-content h3 {
  margin-bottom: 8px;
}

.property-count {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

/* Why Choose */
.why-choose {
  padding: 100px 0;
  background: #ffffff;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.why-choose-item {
  text-align: center;
}

.why-number {
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, var(--neutral) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.why-choose-item h3 {
  margin-bottom: 16px;
}

.why-choose-item p {
  color: var(--text-muted);
}

/* Inquiry Form */
.inquiry-form-section {
  padding: 100px 0;
  background: var(--bg-alt);
}

.inquiry-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.form-select {
  padding: 12px 16px;
  border: 1px solid var(--stroke);
  border-radius: 4px;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  cursor: pointer;
}

.form-select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-checkbox {
  margin-bottom: 24px;
}

.form-checkbox label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-muted);
}

/* Properties Grid */
.properties-grid-section {
  padding: 100px 0;
  background: #ffffff;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.property-card {
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 0, 0, 0.1);
}

.property-content {
  padding: 20px;
}

.property-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--stroke);
}

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

/* Explore Cities */
.explore-cities {
  padding: 100px 0;
  background: var(--bg-alt);
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.city-card {
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.city-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--neutral) 100%);
  transition: transform 0.4s ease;
}

.city-card:hover .city-image {
  transform: scale(1.05);
}

.city-content {
  padding: 24px;
}

.city-content h3 {
  margin-bottom: 8px;
}

.city-count {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

/* Meet Agents */
.meet-agents {
  padding: 100px 0;
  background: #ffffff;
}

.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.agent-card {
  background: #ffffff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  text-align: center;
}

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

.agent-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(63, 109, 178, 0.3);
}

.agent-image {
  width: 100%;
  height: 250px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--neutral) 100%);
  transition: transform 0.4s ease;
}

.agent-card:hover .agent-image {
  transform: scale(1.05);
}

.agent-content {
  padding: 24px;
}

.agent-content h3 {
  margin-bottom: 8px;
}

.agent-role {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
}

.agent-description {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 16px;
  line-height: 1.6;
}

/* Testimonials */
/* Why Choose Section */
.why-choose-section {
  padding: 120px 0;
  background: #ffffff;
  position: relative;
}

.why-choose-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(63, 109, 178, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 1;
}

.why-choose-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(63, 109, 178, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out both;
}

.why-choose-item:nth-child(1) {
  animation-delay: 0.1s;
}

.why-choose-item:nth-child(2) {
  animation-delay: 0.2s;
}

.why-choose-item:nth-child(3) {
  animation-delay: 0.3s;
}

.why-choose-item:nth-child(4) {
  animation-delay: 0.4s;
}

.why-choose-item:nth-child(5) {
  animation-delay: 0.5s;
}

.why-choose-item:nth-child(6) {
  animation-delay: 0.6s;
}

.why-choose-item:nth-child(7) {
  animation-delay: 0.7s;
}

.why-choose-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--neutral) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-choose-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(63, 109, 178, 0.12);
  border-color: rgba(63, 109, 178, 0.2);
}

.why-choose-item:hover::before {
  opacity: 1;
}

.why-choose-icon {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(63, 109, 178, 0.1) 0%, rgba(133, 130, 132, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.why-choose-item:hover .why-choose-icon {
  background: var(--primary);
  color: #ffffff;
  transform: scale(1.1);
}

.why-choose-item h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.why-choose-item p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0;
}

/* Partners Section */
.partners-section {
  padding: 0;
  background: #ffffff;
  position: relative;
}

.partners-container {
  width: 100%;
  background: #ffffff;
  padding: 60px 0 40px;
}

.partners-header {
  text-align: center;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

.partners-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  padding: 0 40px 50px;
  max-width: 1400px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-width: 150px;
  max-width: 200px;
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: fadeIn 0.6s ease-out both;
}

.partner-item:nth-child(1) {
  animation-delay: 0.1s;
}

.partner-item:nth-child(2) {
  animation-delay: 0.2s;
}

.partner-item:nth-child(3) {
  animation-delay: 0.3s;
}

.partner-item:nth-child(4) {
  animation-delay: 0.4s;
}

.partner-item:nth-child(5) {
  animation-delay: 0.5s;
}

.partner-item:hover {
  transform: scale(1.1);
}

.partner-item:hover {
  opacity: 0.8;
}

.partner-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  color: #333333;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-item:hover .partner-logo-placeholder {
  opacity: 1;
  filter: grayscale(80%);
}

.partner-logo-placeholder svg {
  width: 100%;
  height: 100%;
  max-width: 120px;
  max-height: 60px;
}

.partner-logo-placeholder img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-item:hover .partner-logo-placeholder img {
  opacity: 1;
  filter: grayscale(80%);
}

/* Flyers Section - 3 columns, 2 rows */
.flyers-section {
  padding: clamp(60px, 10vw, 120px) 0;
  background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.flyers-section .container {
  max-width: 100%;
  padding: 0 clamp(16px, 4vw, 48px);
}

.flyers-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto clamp(32px, 6vw, 48px);
  padding: 0 16px;
}

.flyers-heading {
  font-size: clamp(24px, 5vw, 42px);
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
  margin: 0;
  word-wrap: break-word;
}

.flyers-badge {
  display: inline-block;
  padding: 8px 20px;
  background: linear-gradient(135deg, rgba(206, 21, 18, 0.1) 0%, rgba(63, 109, 178, 0.1) 100%);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 50px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.flyers-desc {
  font-size: clamp(16px, 3vw, 20px);
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 400;
  margin: 0;
}

.flyers-slider-container {
  position: relative;
  max-width: 1500px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.flyers-slider-container .flyers-slider-wrapper {
  height: 1300px;
  max-height: 80vh;
}

.flyers-slider-wrapper {
  flex: 1;
  overflow: hidden;
  border-radius: 24px;
  position: relative;
  background: #f8fafc;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}

.flyers-slider-track {
  display: flex;
  position: relative;
  width: 100%;
  height: 100%;
}

.flyer-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateX(100%);
  pointer-events: none;
  will-change: transform;
  visibility: hidden;
}

.flyer-slide.active {
  transform: translateX(0);
  transition: transform 0.8s ease-in-out;
  pointer-events: auto;
  visibility: visible;
  z-index: 2;
}

.flyer-slide.ease-in {
  transform: translateX(0);
  transition: transform 0.8s ease-in-out;
  visibility: visible;
  z-index: 2;
}

.flyer-slide.ease-out {
  transform: translateX(-100%);
  transition: transform 0.8s ease-in-out;
  visibility: visible;
  z-index: 1;
}

.flyer-card {
  display: block;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: #f8fafc;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}

.flyer-card:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.flyers-slider-wrapper {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.flyer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.flyers-slider-btn {
  width: 64px;
  height: 64px;
  border: none;
  background: white;
  color: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.flyers-slider-btn:hover {
  background: var(--primary);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(206, 21, 18, 0.3);
}

.flyers-slider-btn:active {
  transform: scale(0.95);
}

.flyers-slider-btn svg {
  width: 32px;
  height: 32px;
}

.flyers-slider-dots {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 48px;
}

.flyers-slider-dot {
  width: 16px;
  height: 16px;
  border: none;
  background: #d1d5db;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.flyers-slider-dot:hover {
  background: #9ca3af;
  transform: scale(1.2);
}

.flyers-slider-dot.active {
  background: var(--primary);
  width: 48px;
  border-radius: 8px;
}

/* Large desktop */
@media (min-width: 1600px) {
  .flyers-slider-container .flyers-slider-wrapper {
    height: 1300px;
  }
}

/* Tablet and below */
@media (max-width: 1024px) {
  .flyers-slider-container {
    max-width: 95%;
    gap: 16px;
  }
  
  .flyers-slider-container .flyers-slider-wrapper {
    height: 800px;
    max-height: 70vh;
  }
  
  .flyers-slider-btn {
    width: 52px;
    height: 52px;
  }
  
  .flyers-slider-btn svg {
    width: 26px;
    height: 26px;
  }
}

/* Tablet portrait and mobile landscape */
@media (max-width: 768px) {
  .flyers-slider-container {
    max-width: 100%;
    gap: 0;
    padding: 0 20px;
  }
  
  .flyers-slider-container .flyers-slider-wrapper {
    height: 600px;
    max-height: 60vh;
  }
  
  /* Hide navigation buttons on mobile */
  .flyers-slider-btn {
    display: none;
  }
  
  .flyers-slider-wrapper {
    border-radius: 20px;
  }
  
  .flyer-card {
    border-radius: 20px;
  }
  
  .flyers-slider-dots {
    margin-top: 24px;
    gap: 8px;
  }
  
  .flyers-slider-dot {
    width: 8px;
    height: 8px;
    background: #e5e7eb;
  }
  
  .flyers-slider-dot.active {
    width: 24px;
    border-radius: 4px;
  }
}

/* Mobile portrait */
@media (max-width: 480px) {
  .flyers-slider-container {
    padding: 0 16px;
  }
  
  .flyers-slider-container .flyers-slider-wrapper {
    height: 400px;
    max-height: 50vh;
  }
  
  .flyers-slider-wrapper {
    border-radius: 16px;
  }
  
  .flyer-card {
    border-radius: 16px;
  }
  
  .flyers-slider-dots {
    margin-top: 20px;
    gap: 6px;
  }
  
  .flyers-slider-dot {
    width: 6px;
    height: 6px;
    background: #e5e7eb;
    opacity: 0.6;
  }
  
  .flyers-slider-dot.active {
    width: 20px;
    border-radius: 3px;
    opacity: 1;
  }
  
  .flyers-slider-dot:hover {
    opacity: 0.8;
  }
  
  .flyers-heading {
    font-size: clamp(22px, 6vw, 32px);
    padding: 0 8px;
  }
}

/* Very small devices */
@media (max-width: 360px) {
  .flyers-slider-container {
    padding: 0 12px;
  }
  
  .flyers-slider-container .flyers-slider-wrapper {
    height: 350px;
    max-height: 45vh;
  }
}

/* Flyers lightbox (flexbox) */
.flyers-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.flyers-lightbox[hidden] {
  display: none !important;
}

.flyers-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.flyers-lightbox-flex {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 100%;
  z-index: 1;
}

.flyers-lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s ease;
}

.flyers-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.flyers-lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

/* Leadership / Meet Our Team - full width, cards wider than tall */
.leadership-grid-wrap {
  width: 100%;
  padding: 0 clamp(24px, 5vw, 48px);
  box-sizing: border-box;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1600px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .leadership-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card {
  background: #fff;
  padding: 0 0 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--stroke);
  transition: var(--transition);
  overflow: hidden;
  text-align: center;
}

.team-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.team-card-ceo {
  background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
  border-width: 2px;
}

.team-card-ceo:hover {
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(206, 21, 18, 0.15);
}

.team-card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, rgba(63, 109, 178, 0.08) 0%, rgba(63, 109, 178, 0.04) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 20px;
}

.team-card-ceo .team-card-photo {
  background: linear-gradient(135deg, rgba(206, 21, 18, 0.08) 0%, rgba(206, 21, 18, 0.04) 100%);
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card-photo-placeholder {
  color: var(--text-muted);
  opacity: 0.5;
}

.team-card-ceo .team-card-photo-placeholder {
  color: var(--primary);
  opacity: 0.4;
}

.team-card-name {
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 8px;
  padding: 0 24px;
}

.team-card-ceo .team-card-name {
  font-size: 24px;
  margin-bottom: 8px;
}

.team-card-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  padding: 0 24px;
}

.team-card-role-ceo {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.team-card-bio {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  padding: 0 24px;
}

.team-card-ceo .team-card-bio {
  font-size: 16px;
  line-height: 1.7;
}

.testimonials {
  padding: 120px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(63, 109, 178, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(63, 109, 178, 0.08);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out both;
}

.testimonial-card:nth-child(1) {
  animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
  animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
  animation-delay: 0.3s;
}

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

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(63, 109, 178, 0.12);
  border-color: rgba(63, 109, 178, 0.2);
}

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

.testimonial-quote {
  margin-bottom: 20px;
  color: var(--accent);
  opacity: 0.6;
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  color: #fbbf24;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 32px;
  font-weight: 400;
  position: relative;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--neutral) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.testimonial-author-info strong {
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}

.testimonial-author-info span {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.3;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 100px 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(63, 109, 178, 0.4), transparent);
}

.site-footer::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: radial-gradient(ellipse at center, rgba(63, 109, 178, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 80px;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.footer-brand {
  max-width: 400px;
}

.footer-logo img {
  height: 90px;
  width: auto;
  margin-bottom: 24px;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  position: relative;
  z-index: 1;
}

.footer-column h4 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 15px;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--accent);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 20px;
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-contact {
  list-style: none;
}

.footer-contact li {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.6;
}

.footer-contact li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-contact a:hover {
  color: #ffffff;
}

.footer-phone {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  letter-spacing: 0.5px;
  font-size: 15px;
  display: inline-block;
}

.footer-newsletter-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-form input {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 15px;
  transition: all 0.3s ease;
  font-family: inherit;
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(63, 109, 178, 0.1);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form button {
  padding: 14px 28px;
  width: 100%;
  border-radius: 10px;
  font-weight: 600;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-legal a:hover {
  color: #ffffff;
}

.footer-legal span {
  color: rgba(255, 255, 255, 0.3);
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal[aria-hidden="false"] {
  display: flex;
}

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

.modal-content {
  position: relative;
  width: min(600px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--stroke);
  font-size: 24px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

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

.lead-form {
  display: grid;
  gap: 20px;
}

.lead-form label {
  display: grid;
  gap: 8px;
}

.lead-form label span {
  font-weight: 600;
  color: var(--text);
}

.lead-form input,
.lead-form select {
  padding: 12px 16px;
  border: 1px solid var(--stroke);
  border-radius: 4px;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
}

.lead-form input:focus,
.lead-form select:focus {
  outline: none;
  border-color: var(--primary);
}

/* Responsive */
/* Tablet and below (1024px and below) */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  .hero-title {
    font-size: clamp(30px, 4.8vw, 38px);
  }

  .hero-subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
  }

  .hero-cta {
    flex-direction: column;
    gap: 14px;
  }

  .hero-cta .btn,
  .hero-cta .btn-banner {
    width: auto;
    max-width: 280px;
    padding: 14px 28px;
    font-size: 15px;
  }

  .search-form-section {
    margin-top: -50px;
    padding: 0 20px;
  }

  .property-search-form {
    padding: 12px 14px;
    grid-template-columns: repeat(5, 1fr);
  }

  .featured-listings {
    padding: 80px 0;
  }

  .featured-slider {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .city-vision {
    padding: 80px 0;
  }

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

  .infrastructure-section {
    padding: 80px 0;
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-content {
    gap: 40px;
    padding: 0 30px 50px;
  }
}

@media (max-width: 1023px) {
  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }
  
  .main-nav.active {
    transform: translateX(0);
  }
  
  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--stroke);
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  .header-phone {
    display: none;
  }
  
  .property-search-form {
    grid-template-columns: 1fr;
    padding: 12px 11px;
  }
  
  .search-submit {
    grid-column: 1;
    width: 100%;
  }
  
  .quality-features {
    padding: 60px 0;
  }
  
  .quality-features .section-title {
    margin-bottom: 40px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .feature-card {
    padding: 30px 20px;
  }
  
  .about-section {
    padding: 80px 0;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-content {
    padding: 0;
  }
  
  .about-image-wrapper {
    position: relative;
  }
  
  .about-image {
    border-radius: 16px;
    aspect-ratio: 16 / 9;
  }
  
  .stats-section {
    padding: 60px 0;
  }
  
  .stats-container {
    padding: 0;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    padding: 0 40px;
  }
  
  .stat-number {
    font-size: 36px;
  }
  
  .stat-text {
    font-size: 12px;
  }
  
  .about-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding-top: 24px;
  }
  
  .about-content {
    padding: 60px 24px;
  }
  
  .about-title {
    margin-bottom: 20px;
  }
  
  .stats-header {
    padding: 60px 0;
  }
  
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .stat-item:not(:last-child)::before {
    display: none;
  }
  
  .stat-item:nth-child(2n)::before {
    display: none;
  }
  
  .stat-divider {
    display: none;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 32px 24px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: 12px;
  }

  .footer-legal span {
    display: none;
  }
}

/* Tablet portrait and below (768px and below) */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    min-height: 400px;
  }

  .hero-overlay {
    padding: 80px 0;
  }

  .hero-title {
    font-size: clamp(29px, 5.6vw, 35px);
    margin-bottom: 16px;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: clamp(17px, 3.5vw, 20px);
    margin-bottom: 28px;
  }

  .hero-cta .btn,
  .hero-cta .btn-banner {
    padding: 14px 24px;
    font-size: 15px;
    max-width: 260px;
  }

  .search-form-section {
    margin-top: -40px;
    padding: 0 16px;
  }

  .property-search-form {
    grid-template-columns: 1fr;
    padding: 10px 11px;
    gap: 10px;
  }

  .quality-features {
    padding: 60px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-section {
    padding: 60px 0;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }

  .about-image {
    aspect-ratio: 16 / 9;
  }

  .city-vision {
    padding: 60px 0;
  }

  .vision-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .infrastructure-section {
    padding: 60px 0;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .featured-listings {
    padding: 60px 0;
  }

  .featured-slider {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .property-info {
    padding: 16px;
  }

  .property-features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .partners-container {
    padding: 50px 0 30px;
  }

  .partners-content {
    gap: 30px;
    padding: 0 20px 40px;
  }

  .testimonials {
    padding: 60px 0;
  }

  .site-footer {
    padding: 60px 0 0;
  }
}

/* Responsive Design Updates */
@media (max-width: 1024px) {
  .top-bar-inner {
    padding: 10px 30px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .top-bar-contact {
    gap: 12px;
  }

  .top-bar-phone,
  .top-bar-email-link {
    font-size: 12px;
  }

  .top-bar-divider {
    font-size: 11px;
  }

  .brand-logo {
    height: 70px;
  }
}

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

  .top-bar-inner {
    padding: 10px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .top-bar-contact {
    gap: 10px;
    flex-wrap: wrap;
  }

  .top-bar-phone,
  .top-bar-email-link {
    font-size: 11px;
  }

  .top-bar-divider {
    display: none;
  }

  .site-header {
    top: auto;
  }
}

@media (max-width: 640px) {
  .top-bar {
    padding: 0;
  }

  .top-bar-inner {
    padding: 8px 16px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }

  .top-bar-contact {
    gap: 6px;
    flex: 1;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .top-bar-contact::-webkit-scrollbar {
    display: none;
  }

  .top-bar-phone {
    font-size: 10px;
    flex-shrink: 0;
  }

  .top-bar-phone span {
    display: none;
  }

  .top-bar-phone:first-child span {
    display: inline;
  }

  .top-bar-email {
    flex-shrink: 0;
  }

  .top-bar-email-link {
    font-size: 10px;
  }

  .top-bar-email-link span {
    display: none;
  }

  .site-header {
    top: 40px;
  }

  .header-inner {
    padding: 15px 20px;
  }
  
  .hero {
    margin-top: 110px;
    min-height: 350px;
  }
  
  .hero-overlay {
    padding: 60px 0;
  }
  
  .hero-title {
    font-size: clamp(26px, 6.4vw, 32px);
    line-height: 1.2;
    margin-bottom: 16px;
  }
  
  .hero-subtitle {
    font-size: clamp(16px, 4vw, 18px);
    margin-bottom: 32px;
  }

  .hero-cta {
    gap: 12px;
  }

  .hero-cta .btn,
  .hero-cta .btn-banner {
    padding: 12px 20px;
    font-size: 14px;
    width: auto;
    max-width: 280px;
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-content {
    padding: 0;
  }
  
  .about-image {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
  }
  
  .about-image-placeholder {
    width: 100%;
    height: 100%;
  }
  
  .stats-section {
    padding: 50px 0;
  }
  
  .stats-container {
    padding: 0;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 24px;
  }
  
  .stat-number {
    font-size: 32px;
  }
  
  .stat-text {
    font-size: 11px;
  }
  
  .about-cta-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .featured-slider,
  .properties-grid,
  .property-types-grid,
  .cities-grid,
  .agents-grid,
  .testimonials-grid,
  .features-grid,
  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .partners-container {
    padding: 40px 0 30px;
  }

  .partners-header {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .partners-content {
    flex-direction: column;
    gap: 30px;
    padding: 0 20px 40px;
  }

  .partner-item {
    min-width: auto;
    max-width: 100%;
  }

  .partner-logo-placeholder {
    height: 50px;
  }

  .partner-logo-placeholder svg {
    max-height: 50px;
  }

  .partner-logo-placeholder img {
    max-height: 50px;
  }

  
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-header {
    padding: 50px 0;
  }
  
  .stats-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .stat-item:not(:last-child)::before {
    display: none;
  }
  
  .stat-item::after {
    width: 40px;
  }
  
  .quality-features {
    padding: 50px 0;
  }
  
  .quality-features .section-title {
    margin-bottom: 35px;
  }
  
  .feature-card {
    padding: 25px 20px;
  }
  
  .feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
  }
  
  .feature-icon svg {
    width: 36px;
    height: 36px;
  }
}

/* Additional Responsive Styles for All Pages */
@media (max-width: 992px) {
  /* Contact Page Grid */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Projects and Rentals Grids */
  .property-card,
  .featured-item {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  /* Hero adjustments */
  .hero {
    margin-top: 100px;
    min-height: 400px;
  }

  /* Hide specific elements on mobile */
  .top-bar-divider:nth-child(n+3) {
    display: none;
  }

  .top-bar-phone:nth-child(n+5) {
    display: none;
  }

  /* Form fields responsive */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px !important; /* Prevents zoom on iOS */
  }

  /* Button sizes */
  .btn {
    padding: 14px 28px;
    font-size: 15px;
    width: 100%;
    max-width: 100%;
  }

  .btn.primary,
  .btn.secondary {
    width: 100%;
  }

  /* Image container fixes */
  img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 640px) {
  /* Container padding */
  .container {
    padding: 0 16px;
    width: 100%;
  }

  /* Text sizes */
  h1 {
    font-size: clamp(28px, 8vw, 40px);
  }

  h2 {
    font-size: clamp(24px, 6vw, 36px);
  }

  h3 {
    font-size: clamp(20px, 5vw, 28px);
  }

  p {
    font-size: clamp(14px, 3vw, 16px);
  }

  /* Card padding */
  .card,
  .feature-card,
  .property-card,
  .testimonial-card {
    padding: 20px;
  }

  /* Grid resets */
  [style*="display: grid"],
  [style*="display:grid"] {
    grid-template-columns: 1fr !important;
  }

  /* Flex resets */
  [style*="display: flex"]:not(.btn):not(.social-link) {
    flex-direction: column !important;
  }

  /* Remove transforms on mobile for better performance */
  .about-main-image {
    transform: rotate(0deg) !important;
  }

  /* Modal adjustments */
  .modal-content {
    width: 95%;
    padding: 20px;
  }

  /* Footer adjustments */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .footer-top {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Hide decorative elements on small screens */
  [style*="radial-gradient"]:not(.hero):not(.hero *) {
    display: none !important;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  /* Increase touch targets */
  button,
  a,
  .btn,
  .property-toggle {
    min-height: 44px;
    min-width: 44px;
  }

  /* Remove hover effects on touch devices */
  *:hover {
    transform: none !important;
  }

  /* Simplified animations */
  * {
    animation: none !important;
  }
}

/* Prevent horizontal scroll */
html,
body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Fix for iOS Safari viewport units */
@supports (-webkit-touch-callout: none) {
  .hero {
    min-height: -webkit-fill-available;
  }
}

/* Print styles */
@media print {
  .top-bar,
  .site-header,
  .mobile-menu-toggle,
  .search-form-section,
  .site-footer,
  .btn,
  video {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  img {
    max-width: 100%;
    page-break-inside: avoid;
  }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary: #000000;
    --accent: #000000;
    --text: #000000;
    --bg: #ffffff;
  }

  .btn {
    border: 2px solid currentColor;
  }
}
