.ajax-slider {
    opacity: 0; /* Sembunyikan slider sebelum ia dimuat */
    transform: scale(0.95); /* Sedikit kecil untuk efek */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out; /* Transisi smooth */
}

.slick-initialized {
    opacity: 1; /* Paparkan slider selepas diinisialisasi */
    transform: scale(1); /* Kembali ke saiz asal */
}



.property-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.slider-image img {
    width: 100%;
    height: auto;
    display: block;
}

.ajax-slider .slick-prev,
.ajax-slider .slick-next {
    background-color: #ff3366; /* Warna latar belakang */
    color: #fff; /* Warna ikon */
    border-radius: 50%; /* Bulat */
    width: 18px;
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px; /* Saiz ikon */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    cursor: pointer;
    transition: background-color 0.3s ease;
    border: none;
    font-size: 0;
}

.ajax-slider .slick-prev {
    left: 10px;
}

.ajax-slider .slick-next {
    right: 10px;
}


.slick-prev:hover, .slick-next:hover {
    background-color: #ff99aa; /* Warna hover */
}

.slick-prev {
    left: -50px; /* Jarak dari slider */
}

.slick-next {
    right: -50px; /* Jarak dari slider */
}

/* Gantikan teks dengan ikon */
.slick-prev::before, .slick-next::before {
    color: #000;
    content: '';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 20px;
}
.slick-prev::before {
    content: '\f104'; /* Ikon Font Awesome untuk anak panah kiri */
}

.slick-next::before {
    content: '\f105'; /* Ikon Font Awesome untuk anak panah kanan */
}



.slick-dots {
    display: flex;
    justify-content: center;
    margin-top: 0;
    padding: 0;
    list-style: none;
    position: absolute;
    right: 6px;
    bottom: 8px;
}

.slick-dots li {
    margin: 0 3px; /* Jarak antara dots */
}

.slick-dots li button {
   background-color: #ccc; /* Warna dot */
    border: none;
    border-radius: 50%; /* Jadikan bulat */
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 0px 6px;
    font-size: 8px;
    color: transparent; /* Sembunyikan teks */
    text-indent: -9999px; /* Letak teks di luar pandangan */
}

.slick-dots li button:hover {
    background-color: #ff99aa; /* Warna hover */
}

.slick-dots li.slick-active button {
    background-color: #ff3366; /* Warna dot aktif */
}


/*pagination*/
#property-results .pagination {
    display: flex;
    gap: 5px;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
}

#property-results .pagination a,
#property-results .pagination span {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none !important;
    color: #007bff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#property-results .pagination a.current {
    background-color: #007bff;
    color: #fff;
    border: 1px solid #007bff;
}

#property-results .pagination span.disabled {
    color: #aaa;
    cursor: not-allowed;
}

#property-results .pagination a:hover {
    background-color: #0056b3;
    color: #fff;
}

#property-results .pagination span.dots {
    border: none;
    background: none;
    cursor: default;
    color: #888;
}


/*pagination end*/