/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #0a081c;
  background-color: #ffffff;
}

/* Custom Properties */
:root {
  --primary-blue: #008ffa;
  --primary-purple: #1800ff;
  --primary-teal: #0984cb;
  --primary-indigo: #120497;
  --primary-navy: #0d0748;
  --primary-dark: #0a081c;
  --primary-light: #dcdcdc;
  --primary-gray: #a7a7a7;

  --gradient-primary: linear-gradient(135deg, #008ffa 0%, #1800ff 100%);
  --gradient-secondary: linear-gradient(135deg, #0984cb 0%, #120497 100%);
  --gradient-dark: linear-gradient(135deg, #0d0748 0%, #0a081c 100%);
  --gradient-hero: linear-gradient(135deg, #008ffa 0%, #0984cb 50%, #1800ff 100%);
  --gradient-card: linear-gradient(135deg, rgba(0, 143, 250, 0.1) 0%, rgba(24, 0, 255, 0.1) 100%);

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Gradient Text */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

.btn-half {
  width: 48%;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  border: 2px solid var(--primary-blue);
  color: var(--primary-blue);
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: white;
}

.btn-white {
  background: white;
  color: var(--primary-dark);
}

.btn-white:hover {
  background: var(--primary-light);
}

.btn-outline-white {
  border: 2px solid white;
  color: white;
  background: transparent;
}

.btn-outline-white:hover {
  background: white;
  color: var(--primary-dark);
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}

.logo-icon {
  padding: 0.5rem;
  background: var(--gradient-primary);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon i {
  width: 1.25rem;
  height: 1.25rem;
  color: white;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--primary-blue);
}

.nav-link.active {
  color: var(--primary-blue);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--primary-light);
  background: transparent;
  border-radius: 0.375rem;
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 4rem;
  right: 0;
  width: 300px;
  height: calc(100vh - 4rem);
  background: linear-gradient(to bottom, white, rgba(220, 220, 220, 0.2));
  box-shadow: var(--shadow-lg);
  z-index: 40;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  font-size: 1.125rem;
  font-weight: 500;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mobile-nav-link:hover {
  color: var(--primary-blue);
}

.mobile-nav-cta {
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: var(--gradient-hero);
  padding: 5rem 0;
  overflow: hidden;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='white' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.2;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-highlight {
  color: #fbbf24;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-search {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-radius: 1rem;
  box-shadow: var(--shadow-2xl);
  padding: 1.5rem;
  max-width: 48rem;
  margin: 0 auto 4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .search-form {
    flex-direction: row;
  }
}

.search-input-group {
  flex: 1;
}

.search-input {
  width: 100%;
  height: 3.5rem;
  padding: 0 1rem;
  font-size: 1.125rem;
  border: none;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.8);
  transition: background-color 0.2s ease;
}

.search-input:focus {
  outline: none;
  background: white;
}

.search-select-group {
  width: 100%;
}

@media (min-width: 768px) {
  .search-select-group {
    width: 12rem;
  }
}

.search-select {
  width: 100%;
  height: 3.5rem;
  padding: 0 1rem;
  border: none;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.8);
  transition: background-color 0.2s ease;
}

.search-select:focus {
  outline: none;
  background: white;
}

.search-btn {
  height: 3.5rem;
  padding: 0 2rem;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.search-btn:hover {
  opacity: 0.9;
}

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

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

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

.stat-number {
  font-size: 1.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
}

/* Sections */
.featured-properties {
  padding: 5rem 0;
  background: linear-gradient(to bottom, white, rgba(220, 220, 220, 0.2));
}

.services-preview {
  padding: 5rem 0;
  background: linear-gradient(to bottom, rgba(220, 220, 220, 0.2), white);
}

/* Founder Section */
.founder-section {
  padding: 5rem 0;
  background: linear-gradient(to bottom, rgba(220, 220, 220, 0.1), white);
}

.founder-content {
  display: grid;
  gap: 3rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .founder-content {
    grid-template-columns: 1fr 2fr;
  }
}

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

.founder-img {
  width: 100%;
  max-width: 300px;
  height: 350px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: var(--shadow-xl);
  transition: transform 0.3s ease;
}

.founder-img:hover {
  transform: scale(1.02);
}

.founder-info {
  text-align: left;
}

@media (max-width: 767px) {
  .founder-info {
    text-align: center;
  }
}

.founder-name {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.founder-title {
  font-size: 1.25rem;
  color: var(--primary-teal);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.founder-description {
  color: var(--primary-gray);
  line-height: 1.75;
}

.founder-description p {
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-description {
  color: var(--primary-gray);
  max-width: 32rem;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.75;
}

.section-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Property Cards */
.properties-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .properties-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.property-card {
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  border: none;
  position: relative;
}

.property-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-xl);
}

.property-image-container {
  position: relative;
  overflow: hidden;
}

.property-image {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.property-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.property-card:hover .property-image-overlay {
  opacity: 1;
}

.property-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.property-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  border: none;
}

.property-badge.for-sale {
  background: var(--gradient-primary);
  color: white;
}

.property-badge.for-rent {
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
}

.property-badge.featured {
  background: linear-gradient(to right, #fbbf24, #f59e0b);
  color: white;
}

.property-content {
  padding: 1.25rem;
}

.property-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
}

.property-title:hover {
  color: var(--primary-blue);
}

.property-location {
  display: flex;
  align-items: center;
  color: var(--primary-gray);
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
}

.property-location i {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  color: var(--primary-blue);
}

.property-details {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--primary-gray);
  margin-bottom: 1rem;
}

.property-detail-item {
  display: flex;
  align-items: center;
}

.property-detail-item i {
  width: 1rem;
  height: 1rem;
  margin-right: 0.25rem;
  color: var(--primary-teal);
}

.property-description {
  font-size: 0.875rem;
  color: var(--primary-gray);
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-footer {
  padding: 1.25rem;
  padding-top: 0;
  background: linear-gradient(to right, transparent, rgba(220, 220, 220, 0.1));
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.property-price {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.property-type {
  font-size: 0.875rem;
  color: var(--primary-gray);
  text-transform: capitalize;
  background: rgba(220, 220, 220, 0.5);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
}

/* Service Cards */
.services-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  border: none;
  overflow: hidden;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-xl);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.service-header {
  padding: 1.5rem;
  position: relative;
  z-index: 10;
}

.service-title-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-icon {
  padding: 0.75rem;
  background: var(--gradient-primary);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon i {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.service-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-dark);
  transition: color 0.2s ease;
}

.service-card:hover .service-title {
  color: var(--primary-blue);
}

.service-content {
  flex: 1;
  padding: 0 1.5rem 1.5rem;
  position: relative;
  z-index: 10;
}

.service-description {
  color: var(--primary-gray);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.service-features-title {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.service-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-feature {
  font-size: 0.75rem;
  background: linear-gradient(to right, var(--primary-light), white);
  color: var(--primary-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 143, 250, 0.2);
  transition: border-color 0.2s ease;
}

.service-card:hover .service-feature {
  border-color: rgba(0, 143, 250, 0.4);
}

.service-footer {
  padding: 1.5rem;
  background: linear-gradient(to right, transparent, rgba(220, 220, 220, 0.2));
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

.service-price {
  font-size: 1.125rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-cta {
  background: var(--gradient-secondary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s ease;
  box-shadow: var(--shadow-lg);
}

.service-cta:hover {
  opacity: 0.9;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
}

.cta-content {
  background: var(--gradient-dark);
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-content {
    padding: 4rem;
  }
}

.cta-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='white' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.2;
}

.cta-inner {
  position: relative;
  z-index: 10;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* Footer */
.footer {
  background: var(--gradient-dark);
  padding: 4rem 0;
  margin-top: 5rem;
}

.footer-content {
  display: grid;
  gap: 2rem;
}

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

.footer-section {
  margin-bottom: 3rem;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
}

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

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

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

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

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

.footer-contact li {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.footer-contact li:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  margin-top: 3rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

/* Properties Page */
.properties-page {
  padding: 2rem 0;
}

.page-header {
  margin-bottom: 2rem;
}

.page-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-description {
  color: var(--primary-gray);
}

.search-sort-bar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .search-sort-bar {
    flex-direction: row;
    align-items: center;
  }
}

.search-input-wrapper {
  position: relative;
  flex: 1;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-gray);
  width: 1rem;
  height: 1rem;
}

.search-input-main {
  width: 100%;
  padding: 0.75rem 0.75rem 0.75rem 2.5rem;
  border: 1px solid var(--primary-light);
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

.search-input-main:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 143, 250, 0.1);
}

.sort-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--primary-light);
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .sort-select {
    width: 12rem;
  }
}

.sort-select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 143, 250, 0.1);
}

.mobile-filter-toggle {
  display: flex;
}

@media (min-width: 768px) {
  .mobile-filter-toggle {
    display: none;
  }
}

.properties-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .properties-layout {
    grid-template-columns: 1fr 3fr;
  }
}

.filters-sidebar {
  display: none;
}

@media (min-width: 768px) {
  .desktop-filters {
    display: block;
  }
}

.filter-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.filter-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--primary-light);
}

.filter-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.filter-content {
  padding: 1.5rem;
}

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

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.price-range-container {
  margin-top: 0.5rem;
}

.price-slider {
  width: 100%;
  height: 0.5rem;
  border-radius: 0.25rem;
  background: var(--primary-light);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  margin-bottom: 0.5rem;
}

.price-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--primary-blue);
  cursor: pointer;
}

.price-slider::-moz-range-thumb {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--primary-blue);
  cursor: pointer;
  border: none;
}

.price-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--primary-gray);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--primary-blue);
}

.checkbox-label {
  font-size: 0.875rem;
  text-transform: capitalize;
}

.filter-select,
.filter-input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--primary-light);
  border-radius: 0.375rem;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.filter-select:focus,
.filter-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 143, 250, 0.1);
}

.properties-main {
  min-height: 50vh;
}

.properties-results-header {
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.results-count {
  color: var(--primary-gray);
}

.no-results {
  text-align: center;
  padding: 3rem;
}

.no-results-text {
  color: var(--primary-gray);
  margin-bottom: 1rem;
}

/* Mobile Filter Modal */
.mobile-filter-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 50;
}

.mobile-filter-modal.active {
  display: flex;
  align-items: flex-end;
}

@media (min-width: 768px) {
  .mobile-filter-modal {
    display: none !important;
  }
}

.mobile-filter-content {
  background: white;
  width: 100%;
  max-height: 80vh;
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mobile-filter-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--primary-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-filter-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.mobile-filter-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.mobile-filter-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.mobile-filter-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--primary-light);
  display: flex;
  gap: 1rem;
}

/* Services Page */
.services-page {
  padding: 2rem 0;
}

.services-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-header .page-title {
  font-size: 2.25rem;
}

.services-header .page-description {
  font-size: 1.25rem;
  max-width: 48rem;
  margin: 0 auto;
}

.services-cta {
  background: var(--primary-light);
  border-radius: 1.5rem;
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .services-cta {
    padding: 3rem;
  }
}

.services-cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.services-cta-description {
  font-size: 1.125rem;
  color: var(--primary-gray);
  margin-bottom: 2rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.services-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .services-cta-buttons {
    flex-direction: row;
  }
}

/* Property Detail Page */
.property-detail-page {
  padding: 2rem 0;
}

.property-detail-header {
  margin-bottom: 2rem;
}

.property-detail-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.property-detail-location {
  display: flex;
  align-items: center;
  color: var(--primary-gray);
  margin-bottom: 1rem;
}

.property-detail-location i {
  width: 1rem;
  height: 1rem;
  margin-right: 0.25rem;
}

.property-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .property-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .property-detail-actions {
    flex-direction: row;
  }
}

.property-detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.property-detail-price {
  font-size: 1.875rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.property-detail-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .property-detail-layout {
    grid-template-columns: 2fr 1fr;
  }
}

.property-detail-main {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.property-detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.property-detail-main-image {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  border-radius: 0.5rem;
}

.property-detail-thumbnails {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .property-detail-thumbnails {
    grid-template-columns: repeat(4, 1fr);
  }
}

.property-detail-thumbnail {
  width: 100%;
  height: 6rem;
  object-fit: cover;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.property-detail-thumbnail:hover {
  opacity: 0.8;
}

.property-detail-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .property-detail-stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.property-stat {
  text-align: center;
  padding: 1rem;
  background: var(--primary-light);
  border-radius: 0.5rem;
}

.property-stat-icon {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 auto 0.5rem;
  color: var(--primary-blue);
}

.property-stat-value {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.property-stat-label {
  font-size: 0.875rem;
  color: var(--primary-gray);
}

.property-detail-section {
  margin-bottom: 2rem;
}

.property-detail-section:last-child {
  margin-bottom: 0;
}

.property-detail-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.property-detail-description {
  color: var(--primary-gray);
  line-height: 1.75;
}

.property-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .property-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.property-feature {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
}

.property-feature::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: var(--primary-blue);
  border-radius: 50%;
  margin-right: 0.75rem;
}

.property-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sidebar-card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--primary-light);
}

.sidebar-card-title {
  font-size: 1.125rem;
  font-weight: 600;
}

.sidebar-card-content {
  padding: 1.5rem;
}

.agent-info {
  margin-bottom: 1rem;
}

.agent-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.agent-title {
  font-size: 0.875rem;
  color: var(--primary-gray);
}

.agent-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.agent-contact-divider {
  padding-top: 1rem;
  border-top: 1px solid var(--primary-light);
}

.property-summary {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.property-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.property-summary-label {
  color: var(--primary-gray);
}

.property-summary-value {
  font-weight: 600;
  text-transform: capitalize;
}

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

.mortgage-payment {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.mortgage-label {
  font-size: 0.875rem;
  color: var(--primary-gray);
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 767px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero-section {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-search {
    padding: 1rem;
  }

  .featured-properties,
  .services-preview {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.875rem;
  }

  .cta-section {
    padding: 3rem 0;
  }

  .cta-content {
    padding: 2rem;
  }

  .cta-title {
    font-size: 1.875rem;
  }

  .footer {
    padding: 3rem 0;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.hidden {
  display: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

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

  100% {
    background-position: -200% 0;
  }
}



/* Property Cards Grid Layout */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 20px;
}

/* Individual Property Card */
.property-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  background: white;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.property-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Image Container */
.property-image-container {
  position: relative;
  padding-top: 75%;
  /* 4:3 Aspect Ratio */
  overflow: hidden;
}

.property-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

/* Badges */
.property-status-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #2563eb;
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: capitalize;
  z-index: 2;
}

.property-featured-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ffd700;
  color: #333;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

/* Card Content */
.property-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: #1e293b;
  line-height: 1.3;
}

.property-location {
  color: #64748b;
  font-size: 0.95rem;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.property-price {
  color: #0f172a;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 15px 0;
}

/* Specifications */
.property-specs {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #e2e8f0;
}

.property-specs span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #475569;
  font-size: 0.9rem;
}

/* Icons */
.property-specs i,
.property-featured-badge i {
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .properties-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
  }

  .property-card-content {
    padding: 15px;
  }

  .property-title {
    font-size: 1.1rem;
  }

  .property-price {
    font-size: 1.25rem;
  }
}

@media (max-width: 480px) {
  .properties-grid {
    grid-template-columns: 1fr;
  }

  .property-specs {
    flex-wrap: wrap;
    gap: 10px;
  }

  .property-specs span {
    flex: 1 0 40%;
  }
}




/* Property Detail Page */
.property-detail-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Header */
.property-detail-header {
  margin-bottom: 2rem;
  text-align: center;
}

.property-detail-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #1e293b;
  line-height: 1.2;
}

.property-detail-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #64748b;
  font-size: 1.1rem;
}

.property-detail-location i {
  width: 20px;
  height: 20px;
}

/* Gallery */
.property-gallery {
  margin-bottom: 3rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.main-image-wrapper {
  position: relative;
  padding-top: 65%;
  /* 16:9 aspect ratio */
  background-color: #f1f5f9;
}

.gallery-main-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  padding: 0.5rem;
  background: white;
}

@media (max-width: 768px) {
  .thumbnail-wrapper {
    grid-template-columns: repeat(3, 1fr);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
}

.thumbnail-image-container {
  position: relative;
  padding-top: 75%;
  /* 4:3 aspect ratio */
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
  scroll-snap-align: start;
}

.thumbnail-image-container:hover {
  transform: scale(1.03);
}

.gallery-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Detail Layout */
.property-detail-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .property-detail-layout {
    grid-template-columns: 2fr 1fr;
  }
}

/* Property Card */
.property-detail-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

.detail-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 1rem;
}

.detail-card-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.property-detail-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: #2563eb;
}

.detail-card-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

/* Property Specs */
.property-specs-large {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
  color: #475569;
}

.spec-item i {
  width: 24px;
  height: 24px;
  color: #2563eb;
  flex-shrink: 0;
}

/* Property Description */
.property-description {
  line-height: 1.7;
  color: #334155;
  font-size: 1.1rem;
}

.property-description p {
  margin-bottom: 1.2rem;
}

.property-description h2,
.property-description h3 {
  color: #1e293b;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-agent-card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 20px;
}

.contact-agent-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1e293b;
  margin-top: 0;
  margin-bottom: 1rem;
}

.contact-agent-card p {
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.btn-full {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
}

/* Status Badges */
.status-for-sale {
  background-color: #dcfce7;
  color: #166534;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
}

.status-for-rent {
  background-color: #dbeafe;
  color: #1e40af;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .property-detail-title {
    font-size: 2rem;
  }

  .property-detail-price {
    font-size: 1.5rem;
    margin-top: 1rem;
    width: 100%;
  }

  .detail-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .property-specs-large {
    grid-template-columns: 1fr 1fr;
  }
}

/* Floating Contact Button */
.floating-contact-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.floating-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-options.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.floating-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s ease;
  white-space: nowrap;
}

.floating-option:hover {
  transform: scale(1.05);
}

.floating-option.whatsapp {
  background-color: #25D366;
}

.floating-option.phone {
  background: var(--gradient-primary);
}

.floating-option i {
  width: 1.25rem;
  height: 1.25rem;
}

.floating-main-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: none;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-xl);
  transition: all 0.3s ease;
  position: relative;
}

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

.floating-main-btn i,
.floating-main-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
  display: block;
}

.floating-main-btn .close-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-180deg);
}

.floating-main-btn.active .main-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(180deg);
}

.floating-main-btn.active .close-icon {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0);
}

.floating-main-btn.active {
  background: var(--primary-dark);
}

@media (max-width: 768px) {
  .floating-contact-container {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}