:root {
  --bcg-color: #ffee00;
  --second-color: #ffee00;
  --second-paragraph: #333333da;
  --paragraph: #333;
  --black-bcg: #ffffff;
  --title-color: #000;
  --welcome-img: url(/img/index/light/background.png);
  --border-color: #f0f0f0;
  --white-shadow: 1px solid #33333367;
  --second-icon: #33333396;
  --date: #33333381;
  --dark-yellow: #e4d500;
  --second-bcg: #f8f8f8;
  --picture-color: #ffffff;
  --bcg-opacity: 0.85;
  --welcome-gradient: linear-gradient(
    135deg,
    #ffee00 0%,
    #e4d500 30%,
    #e6c500 70%,
    #d4b000 100%
  );
  --text-primary: #1a1a1a;
  --text-secondary: rgba(26, 26, 26, 0.7);
  --search-bg: rgba(255, 255, 255, 0.95);
  --input-bg: rgba(255, 255, 255, 0.8);
  --input-border: rgba(26, 26, 26, 0.12);
}

.dark-theme {
  --second-paragraph: #e0e0e0;
  --paragraph: #f0f0f0;
  --black-bcg: #0f0f0f;
  --title-color: #ffffff;
  --welcome-img: url(/img/index/dark/pcbcg.png);
  --border-color: rgba(255, 255, 255, 0.1);
  --white-shadow: 1px solid rgba(255, 255, 255, 0.1);
  --second-icon: #f0f0f09c;
  --date: #f0f0f073;
  --second-bcg: #1a1a1a;
  --picture-color: #0c0c0c;
  --bcg-color: #fff700;
  --dark-yellow: #ffee00;
  --bcg-opacity: 0.9;
  --welcome-gradient: linear-gradient(
    135deg,
    #fff700 0%,
    #ffee00 25%,
    #ffe000 50%,
    #e6cc00 75%,
    #1a1a1a 100%
  );
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --search-bg: rgba(26, 26, 26, 0.95);
  --input-bg: rgba(40, 40, 40, 0.8);
  --input-border: rgba(255, 255, 255, 0.15);
}

/*
  Disable all load-time animations while `body` has the `no-load-animations` class.
  This preserves hover animations because the class is removed after the page finishes loading.
*/
body.no-load-animations .animate__animated {
  animation: none !important;
}

/* Welcome Section - Clean Minimal Design */
#welcome {
  background: linear-gradient(135deg, 
    var(--black-bcg) 0%, 
    var(--second-bcg) 30%,
    var(--black-bcg) 70%,
    var(--second-bcg) 100%
  );
  position: relative;
  top: 69px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  overflow: hidden;
}

#welcome::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(
      circle at 15% 25%, 
      rgba(255, 238, 0, 0.12) 0%, 
      transparent 35%
    ),
    radial-gradient(
      circle at 85% 75%, 
      rgba(255, 193, 7, 0.08) 0%, 
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 10%, 
      rgba(255, 238, 0, 0.06) 0%, 
      transparent 60%
    ),
    radial-gradient(
      circle at 20% 80%, 
      rgba(255, 152, 0, 0.05) 0%, 
      transparent 45%
    );
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  25% { transform: translateY(-10px) rotate(1deg); }
  50% { transform: translateY(-5px) rotate(-1deg); }
  75% { transform: translateY(-15px) rotate(0.5deg); }
}

#welcome::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(45deg, rgba(255, 238, 0, 0.03) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(255, 193, 7, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 238, 0, 0.015) 1px, transparent 1px),
    linear-gradient(rgba(255, 238, 0, 0.015) 1px, transparent 1px);
  background-size: 80px 80px, 120px 120px, 60px 60px, 100px 100px;
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
  animation: slide 30s linear infinite;
}

@keyframes slide {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-80px, -80px); }
}

.hero-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 30px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: var(--bcg-color);
  color: #000;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 30px;
}

.hero-content h1 {
  font-size: 3.2rem;
  color: var(--title-color);
  font-weight: 200;
  line-height: 1.1;
  margin: 0 0 25px;
  letter-spacing: -0.02em;
}

.highlight {
  color: var(--bcg-color);
  font-weight: 500;
  display: block;
  margin-top: 10px;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--second-paragraph);
  line-height: 1.6;
  margin: 0 0 60px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 60px;
  font-weight: 300;
}

.search-section {
  margin: 0 0 50px;
  padding: 30px;
  background: var(--second-bcg);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.search-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 25px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}

.search-input {
  flex: 1;
  min-width: 180px;
  padding: 18px 20px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--black-bcg);
  color: var(--title-color);
  font-size: 1rem;
  font-weight: 300;
  transition: all 0.3s ease;
  height: 58px;
  box-sizing: border-box;
}

.search-select {
  flex: 1;
  min-width: 160px;
  padding: 18px 20px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: var(--black-bcg);
  color: var(--title-color);
  font-size: 1rem;
  font-weight: 300;
  transition: all 0.3s ease;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
  height: 58px;
  box-sizing: border-box;
}

.search-input:focus,
.search-select:focus {
  outline: none;
  border-color: var(--bcg-color);
  box-shadow: 0 0 0 2px rgba(255, 238, 0, 0.2);
}

.search-input::placeholder {
  color: var(--second-paragraph);
  opacity: 0.6;
}

.search-btn {
  background: var(--bcg-color);
  color: #000;
  padding: 18px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 58px;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.search-btn:hover {
  background: var(--dark-yellow);
  transform: translateY(-1px);
}



.hero-cta {
  display: flex;
  gap: 25px;
  justify-content: center;
  margin-top: 0;
}

.cta-primary {
  background: var(--bcg-color);
  color: #000;
  padding: 20px 40px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-primary:hover {
  background: var(--dark-yellow);
  transform: translateY(-1px);
}

.cta-secondary {
  background: transparent;
  color: var(--title-color);
  padding: 20px 40px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-secondary:hover {
  border-color: var(--bcg-color);
  background: var(--second-bcg);
  transform: translateY(-1px);
}

/* Stats Section - Card Layout */
#stats {
  background: var(--black-bcg);
  padding: 80px 0;
}

.stats-container {
  max-width: 1400px;
  margin: 100px auto;
  padding: 0 30px;
}

.stats-intro {
  text-align: center;
  margin-bottom: 60px;
}

.stats-intro h3 {
  font-size: 2.5rem;
  color: var(--title-color);
  font-weight: 400;
  margin: 0 0 15px;
}

.stats-intro span {
  font-weight: 800;
  color: var(--bcg-color);
}

.stats-intro p {
  font-size: 0.95rem;
  color: var(--second-paragraph);
  margin: 0;
}

.stats-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-card {
  background: var(--second-bcg);
  border-radius: 16px;
  padding: 35px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  width: calc(25% - 22.5px);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
  background: var(--bcg-color);
  border-radius: 12px;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 60px;
}

.stat-icon .material-symbols-outlined {
  font-size: 1.8rem;
  color: #000;
  font-weight: 600;
}

.stat-details {
  flex: 1;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--title-color);
  line-height: 1;
  margin-bottom: 5px;
}

.stat-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 5px;
}

.stat-desc {
  font-size: 0.95rem;
  color: var(--second-paragraph);
  line-height: 1.3;
  margin: 0;
}

/* Properties Section - Clean Minimal Style */
#properties {
  background: var(--second-bcg);
  padding: 80px 0;
}

#properties h3 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--title-color);
  font-weight: 300;
  margin: 0 0 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 30px;
}

.business-showcase {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.business-card {
  background: var(--black-bcg);
  border-radius: 20px;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.business-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--bcg-color) 0%,
    var(--dark-yellow) 100%
  );
  opacity: 0;
}

.business-card:hover {
  transform: translateY(-8px);
  border-color: var(--bcg-color);
}

.business-card:hover::before {
  opacity: 1;
}

.business-card.selected {
  border-color: var(--bcg-color);
  box-shadow: 0 15px 40px rgba(255, 238, 0, 0.2);
  transform: translateY(-4px);
}

.business-card.selected::before {
  opacity: 1;
}

.business-image {
  position: relative;
  width: 100%;
  height: 150px;
  overflow: hidden;
  background: var(--second-bcg);
}

.business-image .image-skeleton {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 2.2rem;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.business-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.business-card:hover .business-image img {
  transform: scale(1.08);
}

.price-badge-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(
    135deg,
    var(--bcg-color) 0%,
    var(--dark-yellow) 100%
  );
  color: #1a1a1a;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.card-header {
  position: relative;
  padding: 25px 25px 0;
  background: var(--black-bcg);
}

.price-tag {
  position: absolute;
  top: 25px;
  right: 25px;
  background: linear-gradient(
    135deg,
    var(--bcg-color) 0%,
    var(--dark-yellow) 100%
  );
  color: #1a1a1a;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  transform: scale(1);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Theme-aware location icon color */
:root {
  --location-icon-color: var(--bcg-color);
}

.dark-theme {
  --location-icon-color: #fff;
}

.price-tag:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 238, 0, 0.4);
}

.card-content {
  padding: 25px;
}

.business-meta {
  margin-bottom: 18px;
}

.business-title {
  margin-bottom: 12px;
}

.business-title h4 {
  font-size: 1.4rem;
  color: var(--title-color);
  font-weight: 600;
  margin: 0;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.business-location {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.location-info {
  display: flex;
  align-items: center;
  color: var(--second-paragraph);
  font-size: 0.95rem;
  font-weight: 500;
}

.location-info i {
  /* location icon color follows theme via --location-icon-color */
  color: var(--location-icon-color, var(--bcg-color));
  margin-right: 8px;
  opacity: 1;
  font-size: 1rem;
}

.broker-rating-small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--second-paragraph);
  font-size: 0.9rem;
  margin-top: 6px;
}

.broker-rating-small i { color: #f5c518; font-size: 0.95rem; }
.broker-rating-small .rating-value { font-weight: 700; color: var(--title-color); margin-left: 4px; }
.broker-rating-small .rating-count { color: var(--second-paragraph); margin-left: 4px; }

.posted-time {
  font-size: 0.85rem;
  color: var(--second-paragraph);
  opacity: 0.7;
  font-weight: 500;
  margin-left: 24px;
}

.business-description {
  color: var(--second-paragraph);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 16px 0;
  font-weight: 400;
  opacity: 0.9;
}

.business-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.tag {
  background: linear-gradient(135deg, var(--bcg-color), var(--dark-yellow));
  color: #1a1a1a;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 2px solid rgba(255, 238, 0, 0.1);
  margin-top: 18px;
}

.broker-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.broker-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bcg-color), var(--dark-yellow));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  font-size: 0.9rem;
  font-weight: 700;
  border: 3px solid rgba(255, 238, 0, 0.2);
  transition: all 0.3s ease;
}

.broker-avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(255, 238, 0, 0.3);
}

.broker-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.broker-name {
  font-weight: 600;
  color: var(--title-color);
  font-size: 0.9rem;
}

.broker-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--second-paragraph);
}

.broker-rating i {
  color: var(--bcg-color);
  font-size: 0.8rem;
  opacity: 1;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-contact {
  background: linear-gradient(
    135deg,
    var(--bcg-color) 0%,
    var(--dark-yellow) 100%
  );
  color: #1a1a1a;
  border: none;
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-save {
  background: transparent;
  color: var(--second-paragraph);
  border: 2px solid var(--bcg-color);
  padding: 8px 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ensure action buttons sit above the card overlay and are clickable */
.card-actions,
.card-actions .btn-contact,
.card-actions .btn-save {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.btn-save:hover {
  color: var(--bcg-color);
  background: rgba(255, 238, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 238, 0, 0.2);
}

.btn-save i {
  font-size: 0.9rem;
}

/* Notification Styles */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, var(--bcg-color), var(--dark-yellow));
  color: #1a1a1a;
  padding: 16px 20px;
  border-radius: 16px;
  font-weight: 600;
  z-index: 1000;
  box-shadow: 0 8px 25px rgba(255, 238, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 0.95rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.notification.show {
  transform: translateX(0);
}

/* Tag Hover Effects */
.tag:hover {
  background: linear-gradient(135deg, var(--dark-yellow), var(--bcg-color));
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 238, 0, 0.3);
}

/* Header entrance animation */
.card-header {
  animation: fadeInDown 0.3s ease-out both;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Price Tag Animations */
.price-tag {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card Content Animation */
.card-content {
  animation: fadeIn 0.6s ease-out 0.4s both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Categories Section - Card Grid */
#categories {
  background: var(--black-bcg);
  padding: 80px 0;
}

.categories-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.categories-wrapper h3 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--title-color);
  font-weight: 400;
  margin: 0 0 60px;
}

.categories-wrapper span {
  font-weight: 800;
  color: var(--bcg-color);
}

#stats .category-card {
  background: linear-gradient(
    135deg,
    var(--black-bcg) 0%,
    var(--second-bcg) 100%
  );
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  overflow: hidden;
}

#stats .category-card:hover {
  transform: translateY(-3px) scale(1.01);
}

#stats .category-visual {
  background: linear-gradient(
    135deg,
    var(--bcg-color) 0%,
    var(--dark-yellow) 100%
  );
  border-radius: 50%;
  width: 80px;
  height: 80px;
}

#stats .category-visual i {
  font-size: 2.2rem;
  color: #1a1a1a;
}

#stats .category-content h4 {
  color: var(--title-color);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--title-color);

}

#stats .listing-count {
  color: var(--bcg-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-top: 8px;
}

.category-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.category-card {
  background: var(--second-bcg);
  border-radius: 16px;
  padding: 30px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  cursor: pointer;
  width: calc(50% - 12.5px);
}

.category-card:hover {
  border-color: var(--bcg-color);
}

.category-visual {
  background: var(--bcg-color);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 70px;
}

.category-visual i {
  font-size: 1.8rem;
  color: #000;
}

.category-content {
  flex: 1;
}

.category-content h4 {
  font-size: 1.4rem;
  color: var(--title-color);
  font-weight: 700;
  margin: 0 0 8px;
}

.category-content p {
  color: var(--second-paragraph);
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0 0 8px;
}

/* CTA Section - Clean Design */
#cta {
  background: transparent; /* removed background as requested */
  padding: 100px 0;
  text-align: center;
}

.cta-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 30px;
}

.cta-wrapper h3 {
  font-size: 2.4rem;
  color: var(--title-color);
  font-weight: 400;
  margin: 0 0 25px;
  line-height: 1.2;
}

.cta-wrapper span {
  font-weight: 700;
  color: var(--bcg-color);
}

.cta-wrapper p {
  font-size: 1rem;
  color: var(--second-paragraph);
  line-height: 1.6;
  margin: 0 0 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 50px;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--bcg-color);
  color: #000;
  border-color: var(--bcg-color);
}

.btn-primary:hover {
  background: var(--dark-yellow);
  border-color: var(--dark-yellow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--title-color);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--second-bcg);
  border-color: var(--bcg-color);
  color: var(--title-color);
}

.btn-primary i,
.btn-secondary i {
  font-size: 1rem;
}

/* Mobile App Section */
#mobileApp {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(255,238,0,0.04), rgba(0,0,0,0));
  /* removed top border to eliminate white line above the section */
  border-top: none;
}

.app-presentation {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.app-showcase {
  display: flex;
  align-items: center;
  gap: 80px;
}

.app-info {
  width: 55%;
}

.app-intro {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--title-color);
  padding: 12px 0;
  width: fit-content;
  margin-bottom: 30px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.app-intro i {
  font-size: 1.2rem;
}

.app-info h3 {
  font-size: 2.4rem;
  color: var(--title-color);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 25px;
}

.app-info span {
  font-weight: 600;
  color: var(--bcg-color);
}

.app-summary {
  font-size: 1rem;
  color: var(--second-paragraph);
  line-height: 1.7;
  margin: 0 0 40px;
}

  .app-benefits {
  display: flex;
  gap: 30px;
  margin: 40px 0;
  padding: 30px 0;
  /* remove top/bottom borders to avoid white lines surrounding benefits */
  border-top: none;
  border-bottom: none;
}

.benefit-point {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.benefit-point i {
  color: var(--bcg-color);
  font-size: 1.3rem;
}

.benefit-point span {
  color: var(--title-color);
  font-weight: 500;
  font-size: 1rem;
}

.download-area h4 {
  color: var(--title-color);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 20px;
}

.app-downloads {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.download-btn {
  transition: none;
}

.download-btn:hover {
  transform: none;
}

.download-btn img {
  height: 50px;
}

.download-info {
  color: var(--second-paragraph);
  font-size: 0.9rem;
  margin: 0;
}

.app-preview {
  width: 45%;
  display: flex;
  justify-content: center;
}

.device-mockup {
  position: relative;
  max-width: 300px;
}

.device-screen {
  padding: 20px;
}

.app-screenshot {
  width: 100%;
}

/* Responsive Design */

@media (max-width: 1279px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .search-row {
    max-width: 650px;
    gap: 12px;
  }

  .search-btn {
    min-width: 55px;
    padding: 18px 18px;
  }

  .stats-intro h3 {
    font-size: 2.2rem;
  }

  #properties h3 {
    font-size: 2.2rem;
  }

  .business-title h4 {
    font-size: 1.2rem;
  }

  .categories-wrapper h3 {
    font-size: 2.2rem;
  }

  .cta-wrapper h3 {
    font-size: 2.2rem;
  }

  .app-info h3 {
    font-size: 2.2rem;
  }

  .app-summary {
    font-size: 1.05rem;
  }
}

@media (max-width: 1023px) {
  #welcome {
    min-height: 80vh;
    padding: 60px 0;
  }

  .hero-container {
    padding: 0 20px;
  }

  .search-section {
    padding: 25px;
    max-width: 500px;
    margin: 0 auto 40px;
  }

  .search-row {
    gap: 12px;
    max-width: 100%;
  }

  .search-input,
  .search-select {
    font-size: 0.95rem;
    height: 54px;
    padding: 16px 20px;
  }

  .search-select {
    padding-right: 36px;
  }

  .search-btn {
    padding: 16px;
    min-width: 100px;
    height: 54px;
    font-size: 0.95rem;
  }

  .hero-cta {
    justify-content: center;
    flex-wrap: wrap;
  }

  .business-showcase {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .business-card {
    width: 100%;
    min-width: auto;
  }

  .category-layout {
    gap: 20px;
  }

  .category-card {
    width: 45%;
    min-width: 250px;
  }

  .app-showcase {
    gap: 40px;
  }

  .stats-layout {
    justify-content: center;
    gap: 20px;
  }

  .stat-card {
    width: 45%;
    min-width: 0;
    max-width: initial;
  }

  .app-showcase {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .app-info,
  .app-preview {
    width: 100%;
  }

  .app-benefits {
    justify-content: center;
    gap: 30px;
  }

  .app-info h3 {
    font-size: 2.2rem;
    text-align: center;
  }

  .app-summary {
    text-align: center;
    font-size: 1.05rem;
  }

  .download-area {
    text-align: center;
  }
}

@media (max-width: 768px) {
  #welcome {
    padding: 50px 0;
    min-height: 70vh;
  }

  .hero-container {
    padding: 0 20px;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.05rem;
    margin-bottom: 50px;
  }

  .search-section {
    padding: 20px;
    margin-bottom: 40px;
    max-width: 100%;
  }

  .search-row {
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
  }

  .search-input,
  .search-select {
    padding: 16px 20px;
    font-size: 0.95rem;
    width: 100%;
    height: 52px;
    box-sizing: border-box;
  }

  .search-select {
    padding-right: 36px;
  }

  .search-btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1rem;
    height: 52px;
    box-sizing: border-box;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
    padding: 18px 30px;
  }

  .stats-layout {
    flex-direction: column;
    gap: 20px;
  }

  .stat-card {
    width: 100%;
    padding: 25px 20px;
  }

  .stat-icon {
    min-width: 50px;
    height: 50px;
  }

  .stat-icon .material-symbols-outlined {
    font-size: 1.6rem;
  }

  .business-showcase {
    padding: 0 15px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .business-card {
    margin: 0;
  }

  .card-header {
    padding: 20px 20px 0;
  }

  .price-tag {
    top: 20px;
    right: 20px;
    font-size: 0.9rem;
    padding: 8px 15px;
  }

  .card-content {
    padding: 20px;
  }

  .business-title h4 {
    font-size: 1.2rem;
  }

  .business-tags {
    gap: 6px;
  }

  .tag {
    font-size: 0.85rem;
    padding: 5px 12px;
  }

  .card-footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .card-actions {
    width: 100%;
    justify-content: space-between;
  }

  .btn-contact {
    flex: 1;
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .category-layout {
    flex-direction: column;
  }

  .category-card {
    width: 100%;
  }

  .app-showcase {
    flex-direction: column;
    gap: 40px;
  }

  .app-info,
  .app-preview {
    width: 100%;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .cta-wrapper h3 {
    font-size: 2.2rem;
  }

  .app-benefits {
    flex-direction: column;
    gap: 20px;
  }

  .app-downloads {
    gap: 10px;
    justify-content: center;
  }

  .download-btn img {
    height: 42px;
  }
}

@media (max-width: 499px) {
  #welcome {
    padding: 40px 0;
    min-height: 60vh;
  }

  .hero-container {
    padding: 0 15px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .search-section {
    padding: 20px 15px;
    margin-bottom: 30px;
  }

  .search-row {
    flex-direction: column;
    gap: 12px;
  }

  .search-input,
  .search-select {
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  .search-btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    justify-content: center;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  .cta-primary,
  .cta-secondary {
    width: 100%;
    padding: 16px 30px;
    justify-content: center;
  }

  /* Price tag positioning - move below posted time */
  .price-tag {
    position: static;
    margin-top: 8px;
    font-size: 0.85rem;
    padding: 6px 12px;
    display: inline-block;
    width: fit-content;
  }

  .business-location {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  /* Make stats section look exactly like categories section */
  .stats-layout,
  #stats .category-layout {
    flex-direction: column;
    gap: 15px;
  }

  /* Override #stats .category-card specific styles to match .category-card */
  #stats .category-card {
    background: var(--second-bcg) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    padding: 20px 15px !important;
    gap: 15px !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    background-clip: initial !important;
    position: static !important;
    overflow: visible !important;
    transform: none !important;
  }

  #stats .category-card:hover {
    border-color: var(--bcg-color) !important;
    transform: none !important;
  }

  /* Override #stats .category-visual to match .category-visual */
  #stats .category-visual {
    background: var(--bcg-color) !important;
    border-radius: 12px !important;
    padding: 12px !important;
    min-width: 50px !important;
    height: 50px !important;
    width: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #stats .category-visual i {
    font-size: 1.4rem !important;
    color: #000 !important;
  }

  /* Override #stats .category-content to match .category-content */
  #stats .category-content h4 {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: var(--title-color) !important;
    margin: 0 0 5px !important;
  }

  #stats .category-content p {
    font-size: 0.87rem !important;
    color: var(--second-paragraph) !important;
    line-height: 1.3 !important;
    margin: 0 0 8px !important;
  }

  .stat-card {
    width: 100%;
    padding: 20px 15px;
    gap: 15px;
    border-radius: 16px;
    background: var(--second-bcg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
  }

  .stat-card:hover {
    border-color: var(--bcg-color);
  }

  .stat-icon {
    background: var(--bcg-color);
    border-radius: 12px;
    padding: 12px;
    min-width: 50px;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .stat-icon .material-symbols-outlined {
    font-size: 1.4rem;
    color: #000;
    font-weight: 600;
  }

  .stat-details {
    flex: 1;
  }

  .stat-value {
    display: none;
  }

  .stat-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--title-color);
    margin: 0 0 5px;
  }

  .stat-desc {
    font-size: 0.87rem;
    color: var(--second-paragraph);
    line-height: 1.3;
    margin: 0 0 8px;
  }

  /* Categories section - ensure identical styling */
  .category-card {
    width: 100%;
    padding: 20px 15px;
    gap: 15px;
    border-radius: 16px;
    background: var(--second-bcg);
    border: 1px solid var(--border-color);
  }

  .category-visual {
    background: var(--bcg-color);
    border-radius: 12px;
    padding: 12px;
    min-width: 50px;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .category-visual i {
    font-size: 1.4rem;
    color: #000;
  }

  .category-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--title-color);
    margin: 0 0 5px;
  }

  .category-content p {
    font-size: 0.87rem;
    color: var(--second-paragraph);
    line-height: 1.3;
    margin: 0 0 8px;
  }

  /* Identical listing count styling for both sections */
  .stats-layout .listing-count,
  .category-layout .listing-count,
  #stats .listing-count {
    color: var(--bcg-color) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 0.75rem !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    display: inline-block !important;
    margin-top: 0 !important;
  }

  /* Other sections adjustments */
  .business-showcase {
    padding: 0 8px;
  }

  .stats-intro h3,
  #properties h3,
  .categories-wrapper h3,
  .cta-wrapper h3 {
    font-size: 1.8rem;
  }

  .cta-wrapper p {
    font-size: 0.9rem;
  }

  .business-title h4 {
    font-size: 1.1rem;
  }

  .business-description {
    font-size: 0.85rem;
  }
}

/* Advanced Search Styles */
.advanced-search-link {
  margin-top: 20px;
  text-align: center;
}

.advanced-search-link a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border: 1px solid var(--input-border);
  border-radius: 8px;
  background: var(--input-bg);
  backdrop-filter: blur(10px);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.advanced-search-link a:hover {
  color: #000;
  border-color: var(--bcg-color);
  background: var(--bcg-color);
  transform: translateY(-1px);
}

.dark-theme .advanced-search-link a {
  color: var(--paragraph);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
}

.dark-theme .advanced-search-link a:hover {
  color: #000;
  background: var(--bcg-color);
  border-color: var(--bcg-color);
}

/* Modal Styles */
.modal-content {
  background: var(--black-bcg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  backdrop-filter: blur(20px);
}

.modal-header {
  background: var(--second-bcg);
  border-bottom: 1px solid var(--border-color);
  border-radius: 16px 16px 0 0;
  padding: 24px 28px;
}

.modal-title {
  color: var(--title-color);
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-body {
  padding: 28px;
  background: var(--black-bcg);
}

.modal-footer {
  background: var(--second-bcg);
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 16px 16px;
  padding: 20px 28px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.form-label {
  color: var(--title-color);
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  display: block;
}

.form-control,
.form-select {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: 8px;
  color: var(--text-primary);
  padding: 12px 14px;
  font-size: 14px;
  transition: all 0.2s ease;
  width: 100%;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--bcg-color);
  outline: none;
  background: var(--input-bg);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.form-control::placeholder {
  color: var(--text-secondary);
  opacity: 0.8;
}

.dark-theme .form-control,
.dark-theme .form-select {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--paragraph);
}

.dark-theme .form-control:focus,
.dark-theme .form-select:focus {
  border-color: var(--bcg-color);
  background: rgba(255, 255, 255, 0.08);
}

.dark-theme .form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.btn-primary {
  background: var(--bcg-color);
  border: none;
  color: #000;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover {
  background: var(--dark-yellow);
  color: #000;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--input-border);
  color: var(--text-primary);
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--second-bcg);
  border-color: var(--input-border);
  color: var(--text-primary);
  transform: translateY(-1px);
}

.dark-theme .btn-secondary {
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--paragraph);
}

.dark-theme .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-close {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-primary);
  opacity: 0.7;
  transition: all 0.2s ease;
  padding: 8px;
  border-radius: 6px;
}

.btn-close:hover {
  opacity: 1;
  background: var(--second-bcg);
}

.dark-theme .btn-close {
  color: var(--paragraph);
}

.row {
  margin-bottom: 0;
}

.mb-3 {
  margin-bottom: 1.5rem !important;
}

@media (max-width: 768px) {
  .modal-dialog {
    margin: 20px 15px;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .modal-header,
  .modal-footer {
    padding: 20px;
  }
  
  .modal-title {
    font-size: 18px;
  }
  
  .advanced-search-link a {
    font-size: 13px;
    padding: 8px 14px;
  }
  
  .btn-primary,
  .btn-secondary {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Modern Modal Styles - Updated to match welcome section */
.modern-modal {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 10000 !important;
  animation: fadeIn 0.3s ease-out !important;
}

.modern-modal.show {
  display: block !important;
}

.modal-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(5px) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 20px !important;
}

.modal-container {
  background: var(--black-bcg) !important;
  border-radius: 16px !important;
  max-width: 900px !important;
  width: 100% !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  position: relative !important;
  animation: slideUp 0.3s ease-out !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  border: 1px solid var(--border-color) !important;
}

.modal-container::-webkit-scrollbar {
  width: 6px !important;
}

.modal-container::-webkit-scrollbar-track {
  background: var(--second-bcg) !important;
}

.modal-container::-webkit-scrollbar-thumb {
  background: var(--bcg-color) !important;
  border-radius: 3px !important;
}

.modal-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 24px 30px !important;
  margin: 0 !important;
  border-bottom: 1px solid var(--border-color) !important;
  background: var(--bcg-color) !important;
  border-radius: 16px 16px 0 0 !important;
  position: relative !important;
}

.modal-header h3 {
  margin: 0 !important;
  font-size: 1.5rem !important;
  font-weight: 500 !important;
  color: #000 !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  position: relative !important;
  z-index: 1 !important;
}

.modal-header h3 i {
  font-size: 1.2rem !important;
  color: #000 !important;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.modal-close {
  background: transparent !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  font-size: 1.1rem !important;
  color: #000 !important;
  cursor: pointer !important;
  padding: 8px !important;
  border-radius: 8px !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  z-index: 1 !important;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1) !important;
  color: #000 !important;
  border-color: rgba(0, 0, 0, 0.3) !important;
  transform: scale(1.05) !important;
}

.modal-body {
  padding: 35px !important;
  max-height: none !important;
  overflow: visible !important;
  background: transparent !important;
  flex: 1 !important;
  overflow-y: auto !important;
}

.modal-body::-webkit-scrollbar {
  width: 0 !important;
  background: transparent !important;
}

.form-group {
  margin-bottom: 20px !important;
  position: relative !important;
}

.form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
  margin-bottom: 20px !important;
}

.form-row .form-group:only-child {
  grid-column: 1 / -1 !important;
}

.form-row.single-item {
  grid-template-columns: 1fr !important;
}

.form-label {
  display: block !important;
  margin-bottom: 6px !important;
  font-weight: 500 !important;
  color: var(--title-color) !important;
  font-size: 0.9rem !important;
}

.form-input,
.form-select {
  width: 100% !important;
  height: 56px !important;
  padding: 0 16px !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 12px !important;
  font-size: 1rem !important;
  font-weight: 400 !important;
  color: var(--paragraph) !important;
  background: var(--black-bcg) !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  font-family: inherit !important;
  line-height: 1.5 !important;
  outline: none !important;
}

.form-input:hover,
.form-select:hover {
  border-color: var(--bcg-color) !important;
}

.form-input:focus,
.form-select:focus {
  outline: none !important;
  border-color: var(--bcg-color) !important;
  box-shadow: 0 0 0 2px rgba(255, 238, 0, 0.2) !important;
}

.form-input::placeholder {
  color: #888 !important;
  font-weight: 400 !important;
}

/* Select-specific styling to match input exactly */
.form-select {
  cursor: pointer !important;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23888' d='M6 8L0 0h12z'/></svg>") !important;
  background-position: right 16px center !important;
  background-repeat: no-repeat !important;
  background-size: 12px !important;
  padding-right: 45px !important;
}

.dark-theme .form-select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23ccc' d='M6 8L0 0h12z'/></svg>") !important;
}

.form-select option {
  background: var(--black-bcg) !important;
  color: var(--paragraph) !important;
  padding: 8px !important;
  font-weight: 400 !important;
  font-size: 1rem !important;
}

.modal-footer {
  padding: 30px 35px !important;
  margin: 0 !important;
  border-top: 3px solid var(--bcg-color) !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 12px !important;
  background: var(--second-bcg) !important;
  border-radius: 0 0 16px 16px !important;
}

.btn-primary,
.btn-secondary {
  height: 44px !important;
  padding: 10px 20px !important;
  margin-right: 20px !important;
  border: none !important;
  border-radius: 12px !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 120px !important;
  justify-content: center !important;
  text-decoration: none !important;
}

.btn-primary:last-child,
.btn-secondary:last-child {
  margin-right: 0 !important;
}

.btn-primary {
  background: var(--bcg-color) !important;
  color: #000 !important;
  border: 1px solid var(--bcg-color) !important;
}

.btn-primary:hover {
  background: var(--dark-yellow) !important;
  transform: translateY(-1px) !important;
}

.btn-primary i {
  color: #000 !important;
  font-size: 0.9rem !important;
}

.btn-secondary {
  background: transparent !important;
  color: var(--paragraph) !important;
  border: 1px solid var(--border-color) !important;
}

.btn-secondary:hover {
  background: var(--black-bcg) !important;
  border-color: var(--bcg-color) !important;
  transform: translateY(-1px) !important;
}

/* Notification Styles */
.notification {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  background: var(--black-bcg) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 12px !important;
  padding: 16px 20px !important;
  z-index: 10001 !important;
  min-width: 300px !important;
  max-width: 500px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  transform: translateX(100%) !important;
  opacity: 0 !important;
  transition: all 0.3s ease !important;
}

.notification.show {
  transform: translateX(0) !important;
  opacity: 1 !important;
}

.notification.success {
  border-left: 4px solid var(--bcg-color) !important;
}

.notification.error {
  border-left: 4px solid #ff4757 !important;
}

.notification-content {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.notification.success .notification-content i {
  color: var(--bcg-color) !important;
  font-size: 1.1rem !important;
}

.notification.error .notification-content i {
  color: #ff4757 !important;
  font-size: 1.1rem !important;
}

.notification-content span {
  color: var(--paragraph) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Mobile Responsive - Match welcome section responsive behavior */
@media (max-width: 1279px) {
  .modal-container {
    max-width: 800px !important;
  }

  .form-input,
  .form-select {
    height: 50px !important;
    font-size: 0.95rem !important;
  }

  .btn-primary,
  .btn-secondary {
    height: 40px !important;
    font-size: 0.9rem !important;
    padding: 0 18px !important;
  }
}

@media (max-width: 1023px) {
  .modal-container {
    max-width: 700px !important;
  }

  .modal-header h3 {
    font-size: 1.4rem !important;
  }

  .form-label {
    font-size: 0.85rem !important;
  }
}

@media (max-width: 767px) {
  .modal-container {
    margin: 15px !important;
    max-height: 90vh !important;
    border-radius: 12px !important;
    max-width: none !important;
  }

  .modal-header {
    padding: 20px 28px !important;
    border-radius: 12px 12px 0 0 !important;
  }

  .modal-header h3 {
    font-size: 1.3rem !important;
  }

  .modal-body {
    padding: 28px !important;
  }

  .form-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .modal-footer {
    padding: 25px 28px !important;
    border-radius: 0 0 12px 12px !important;
  }

  .notification {
    top: 15px !important;
    right: 15px !important;
    left: 15px !important;
    min-width: auto !important;
    max-width: none !important;
    transform: translateY(-100%) !important;
  }
  
  .notification.show {
    transform: translateY(0) !important;
  }
}

@media (max-width: 499px) {
  .modal-overlay {
    padding: 10px !important;
  }

  .modal-container {
    margin: 0 !important;
    max-height: 95vh !important;
    border-radius: 16px !important;
  }

  .modal-header {
    padding: 16px 20px !important;
    border-radius: 16px 16px 0 0 !important;
  }

  .modal-header h3 {
    font-size: 1.1rem !important;
    gap: 8px !important;
  }

  .modal-close {
    width: 32px !important;
    height: 32px !important;
    font-size: 1rem !important;
  }

  .modal-body {
    padding: 25px !important;
  }

  .form-group {
    margin-bottom: 16px !important;
  }

  .form-row {
    margin-bottom: 16px !important;
    gap: 12px !important;
  }

  .form-input,
  .form-select {
    height: 50px !important;
    font-size: 1rem !important;
    padding: 0 15px !important;
  }

  .form-select {
    padding-right: 40px !important;
    background-position: right 15px center !important;
  }

  .form-label {
    font-size: 0.8rem !important;
    margin-bottom: 4px !important;
  }

  .modal-footer {
    flex-direction: column !important;
    padding: 22px 25px !important;
    gap: 10px !important;
    border-radius: 0 0 16px 16px !important;
  }

  .btn-primary,
  .btn-secondary {
    width: 100% !important;
    height: 44px !important;
    font-size: 0.95rem !important;
    justify-content: center !important;
    margin-right: 0 !important;
    margin-bottom: 10px !important;
  }

  .btn-primary:last-child,
  .btn-secondary:last-child {
    margin-bottom: 0 !important;
  }
}

/* Skeleton Loader Styles */
.skeleton {
  background: linear-gradient(90deg, var(--second-bcg) 25%, #e0e0e0 50%, var(--second-bcg) 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 8px;
}

.dark-theme .skeleton {
  background: linear-gradient(90deg, #2a2a2a 25%, #353535 50%, #2a2a2a 75%);
  background-size: 200% 100%;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-card {
  background: var(--black-bcg);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.skeleton-price {
  width: 100px;
  height: 32px;
  margin-bottom: 20px;
  border-radius: 8px;
}

.skeleton-title {
  width: 70%;
  height: 24px;
  margin-bottom: 10px;
}

.skeleton-location {
  width: 50%;
  height: 16px;
  margin-bottom: 15px;
}

.skeleton-description {
  width: 100%;
  height: 60px;
  margin-bottom: 20px;
}

.skeleton-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.skeleton-tag {
  width: 80px;
  height: 28px;
  border-radius: 14px;
}

.skeleton-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skeleton-broker {
  width: 180px;
  height: 40px;
  border-radius: 20px;
}

.skeleton-btn {
  width: 100px;
  height: 40px;
  border-radius: 12px;
}

.no-ads-message {
  text-align: center;
  padding: 80px 20px;
  border-radius: 20px;
  margin: 40px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  grid-column: 1 / -1;
}

.no-ads-message i {
  font-size: 4rem;
  color: var(--second-icon);
  margin-bottom: 20px;
  opacity: 0.5;
}

.no-ads-message h3 {
  color: var(--title-color);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.no-ads-message p {
  color: var(--second-paragraph);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
}
