.why-image {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), 
                url('../images/hero.png');
    background-size: cover;
    background-position: center;
    height: 85vh;
    min-height: 300px;
    position: relative;
}
.why-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
.stat-box {
    background: rgba(78, 81, 87, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 20px 30px;
    text-align: center;
    min-width: 150px;
    transition: transform 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
    background: rgba(78, 81, 87, 0.1);
}

.stat-box h3 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.ai-btn-register {
    background: var(--gradient-primary);
    color: rgb(94, 74, 234);
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    border: none;
    transition: transform 0.3s;
}

.ai-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}
.ai-section {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}
.ai-feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    height: 100%;
}

.ai-feature:hover {
    transform: translateY(-5px);
}
.ai-icon {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    /*-webkit-text-fill-color: transparent;*/
    background-clip: text;
    margin-bottom: 1rem;
    color: rgb(94, 74, 234);
}

/* Property Cards */
.property-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.property-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.property-badge {
    position: absolute;
    top: 15px;
    inset-inline-end: 15px;
    font-size: 0.8rem;
    padding: 5px 10px;
}

.property-price {
    font-size: 1.1rem;
    font-weight: 700;
}

.property-features {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
}

.property-features span {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Filter Buttons */
.filter-buttons {
    gap: 10px;
}

.btn-filter, .btn-filter-map {
    background-color: white;
    border: 1px solid #dee2e6;
    color: var(--secondary-color);
    padding: 8px 20px;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-filter:hover, .btn-filter.active, .btn-filter-map:hover, .btn-filter-map.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.card-title {
	font-size: 1.2rem;
}

.bg-adver {
	background-color: rgb(230, 230, 230);
}

.scroll-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.scroll-track {
  display: flex;
  gap: 12px;
  will-change: transform;
}

.scroll-card {
  min-width: 260px;
  max-width: 260px;
  flex: 0 0 auto;
  cursor: pointer;
}

.card-content {
  display: flex;
  align-items: center;
  padding: 8px;
}

.card-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
}
/*---------------------------------------------------------*/

.fade-wrapper {
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    overflow: hidden;
    width: 800px;
}


.scroll-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    padding: 20px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}
.scroll-container::-webkit-scrollbar { display: none; }

.card-item {
    flex: 0 0 auto;
    width: 300px;
    margin-right: 20px;
    cursor: pointer;
    /*transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);*/
    transition: transform 0.2s ease-in-out;
}
.card-item:hover { transform: scale(1.03); } /*transform: translateY(-5px);*/
.side-img { width: 70px; height: 60px; object-fit: cover; border-radius: 6px; }

@media (max-width: 768px) {
.stat-box {
    min-width: 120px;
    padding: 15px 20px;
}

.stat-box h3 {
    font-size: 1.8rem;
}	
}