/* ====== SLIDER CONTAINER ====== */
.slider-container {
    position: relative;
    width: 100%;
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9ff, #ffffff);
    overflow: hidden;
}

/* Title Styling */
.featured-properties__title-group h2 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    color: #001a72;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* ====== SLIDER ====== */
.slider {
    display: flex;
    gap: 25px;
    transition: transform 0.6s cubic-bezier(.25,.8,.25,1);
    width: max-content;
    padding: 10px 40px;
}

/* ====== PRODUCT CARD ====== */
.product {
    flex: 0 0 240px;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

/* Card Hover Effect */
.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

/* Image Styling */
.product img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product:hover img {
    transform: scale(1.08);
}

/* Overlay Gradient on Image */
.product::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 170px;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    top: 0;
    left: 0;
    z-index: 1;
}

/* ====== PRODUCT INFO ====== */
.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 120px;
}

/* Location Title */
.location-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.5;
    color: #001a72;
    margin: 0;
    transition: color 0.3s ease;
}

.location-title a {
    text-decoration: none;
    color: inherit;
}

.product:hover .location-title {
    color: #ff6600;
}

/* ====== NAVIGATION BUTTONS ====== */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #001a72, #0033cc);
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 20;
}

.nav:hover {
    transform: translateY(-50%) scale(1.1);
    background: linear-gradient(135deg, #0033cc, #0055ff);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .slider {
        padding: 10px 20px;
        gap: 15px;
    }

    .product {
        flex: 0 0 200px;
    }

    .featured-properties__title-group h2 {
        font-size: 22px;
    }
}
