.cst-estate-slider {
    background: linear-gradient(135deg, #000000, #D4AF37);
    /* background: #000; */
    padding: 80px 0;
}

/* container */
.cst-wrapper {
    width: 90%;
    margin: auto;
}

/* heading */
.cst-head {
    text-align: center;
    margin-bottom: 40px;
}

.cst-head h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 600;
}

.cst-head p {
    color: #ffd6dc;
    margin-top: 5px;
}

/* card */
.cst-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

/* image */
.cst-img {
    position: relative;
}

.cst-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* tags */
.tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #555;
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
}

.tag.right {
    left: auto;
    right: 10px;
}

.tag.red {
    background: #ff385c;
}

/* body */
.cst-body {
    padding: 15px;
}

.cst-body h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.loc {
    font-size: 13px;
    color: #777;
    margin-bottom: 10px;
}

/* info */
.info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    font-size: 13px;
    color: #555;
    margin-bottom: 15px;
}

/* bottom */
.bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom h4 {
    font-size: 16px;
    font-weight: 600;
}

.icons span {
    margin-left: 10px;
    cursor: pointer;
}

/* slider spacing */
.cst-slider .cst-item {
    padding: 0 10px;
}

/* dots */
.cst-estate-slider .slick-dots li button:before {
    color: #fff;
}

.cst-why-choose {
    padding: 50px 30px;
    background: #f7f7f7;
}

.cst-why-choose .cst-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cst-why-choose .cst-header p {
    color: #777;
    margin-bottom: 50px;
}

/* GRID */
.cst-why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* CARD */
.cst-why-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 40px 25px;
    text-align: center;
    transition: 0.3s ease;
    opacity: 0; /* for animation */
}

/* ICON */
.cst-icon {
    margin-bottom: 20px;
}

.cst-icon img {
    width: 70px;
    height: auto;
}

/* TEXT */
.cst-why-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.cst-why-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}

/* HOVER */
.cst-why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}
.cst-popup-properties {
    padding: 50px 30px;
    background: #f7f7f7;
}

.cst-popup-properties .cst-header h2 {
    font-size: 30px;
    font-weight: 700;
}

.cst-popup-properties .cst-header p {
    color: #777;
    margin-bottom: 40px;
}

/* GRID */
.cst-property-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* CARD */
.cst-property-card {
    display: flex;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
    opacity: 0;
}

/* IMAGE */
.cst-img {
    width: 45%;
    position: relative;
}

.cst-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* BADGES */
.cst-badge {
    position: absolute;
    top: 15px;
    padding: 5px 10px;
    font-size: 12px;
    color: #fff;
    border-radius: 3px;
}

.cst-badge.red {
    left: 15px;
    background: #ff4d4d;
}

.cst-badge.dark {
    right: 15px;
    background: #444;
}

/* IMAGE ICONS */
.cst-img-icons {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    gap: 10px;
}

.cst-img-icons span {
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px;
    border-radius: 5px;
    font-size: 12px;
}

/* CONTENT */
.cst-content {
    padding: 20px;
    width: 55%;
}

.cst-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.cst-location {
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
}

/* META */
.cst-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    font-size: 13px;
    color: #555;
    margin-bottom: 15px;
}

/* BOTTOM */
.cst-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cst-actions span {
    margin-left: 10px;
    cursor: pointer;
}

/* BUTTON */
.cst-btn {
    display: inline-block;
    margin-top: 30px;
    background: #ff4d4d;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
}

/* HOVER */
.cst-property-card:hover {
    transform: translateY(-5px);
}

/* ===============================
   REUSABLE ANIMATION
================================= */
.animate-left {
    transform: translateX(-80px);
}

.animate-right {
    transform: translateX(80px);
}

.cst-animate-active {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
}


section.cst-popular-places {
    padding: 50px 30px;
}
.cst-popular-places {
    padding: 80px 0;
    background: #f5f5f5;
}

.cst-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cst-header p {
    color: #777;
    margin-bottom: 40px;
}

/* GRID */
.cst-places-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* CARD */
.cst-place-card {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
    opacity: 0;
}

/* IMAGE */
.cst-img {
    width: 45%;
    height: 120px;
}

.cst-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CONTENT */
.cst-content {
    padding: 20px;
}

.cst-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.cst-content span {
    color: #777;
    font-size: 14px;
}

/* HOVER */
.cst-place-card:hover {
    transform: translateY(-5px);
}

/* ===============================
   ANIMATION SYSTEM (REUSABLE)
================================= */
.animate-left {
    transform: translateX(-80px);
}

.animate-right {
    transform: translateX(80px);
}

.cst-animate-active {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s ease;
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 1024px) {
     .cst-img img { height: 180px; }
        .cst-why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .cst-places-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 992px) {

    .cst-property-grid {
        grid-template-columns: 1fr;
    }

    .cst-property-card {
        flex-direction: column;
    }

    .cst-img,
    .cst-content {
        width: 100%;
    }

    .cst-img {
        height: 220px;
    }
}
@media (max-width: 600px) {
     .cst-head h2 { font-size: 24px; }
        .cst-why-grid {
        grid-template-columns: 1fr;
    }
    
    .cst-places-grid {
        grid-template-columns: 1fr;
    }

    .cst-place-card {
        flex-direction: column;
    }

    .cst-img {
        width: 100%;
        height: 180px;
    }
}