/* Property Grid / Carousel */
.properties-highlight {
    overflow: hidden;
    width: 100%;
}

.property-grid1 {
    display: flex;
    width: max-content;
    padding: 15px 0;
    animation: scroll 120s linear infinite;
}

.property-grid1:hover {
    animation-play-state: running;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.property-card1 {
    flex: 0 0 250px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    aspect-ratio: 1/1;
    min-height: 250px;
    box-shadow: none;
    margin: 10px;
}

.property-card1 .property-images {
    width: 100%;
    height: 100%;
}

.property-card1 .property-images img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.property-card1:hover .property-images img {
    transform: scale(1.1);
}

.property-card1 .property-info1 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.property-card1:hover .property-info1 {
    transform: translateY(0);
}

.property-card1 h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
    color: white;
}

.property-card1 p {
    margin: 5px 0 15px;
    font-size: 0.9rem;
    opacity: 0.9;
    color: #eee;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .property-card1 {
        margin: 6px;
    }
}

@media (max-width: 576px) {
    .property-card1 {
        margin: 8px 0;
        margin-left: auto;
        margin-right: auto;
    }
}