
/* ===== CONTACT BANNER ===== */
.estate-contact-banner {
    position: relative;
    height: 450px;
    margin-top: 0px;
    display: flex;
    align-items: center;
    color: #fff;
    font-family: Arial, sans-serif;
    background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
}
section.estate-contact-banner.about-estate-contact-banner{
       background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?q=80&w=1200&auto=format&fit=crop') center/cover no-repeat !important;
 
} 
.cst-right h2 {
    font-size: 30px !important;
}
/* Overlay */
.estate-contact-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.4));
}

/* Container */
.estate-contact-banner .cst-container {
    display: flex;
    position: relative;
    z-index: 2;
    max-width: 100% !important;
    margin: unset!important;
    padding: 18px 52px;
    justify-content: start;
}

/* Content */
.estate-contact-banner-content {
    max-width: 600px;
}

.estate-contact-banner-content span {
    color: #caa14a;
    letter-spacing: 2px;
    font-weight: bold;
}

.estate-contact-banner-content h1 {
    font-size: 48px;
    margin: 15px 0;
    line-height: 1.2;
}

.estate-contact-banner-content p {
    color: #ddd;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Buttons */
.estate-contact-banner-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cst-btn-primary {
    padding: 12px 25px;
    background: linear-gradient(90deg, #caa14a, #e6c067);
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.cst-btn-primary:hover {
    transform: scale(1.05);
}

.cst-btn-outline {
    padding: 12px 25px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.cst-btn-outline:hover {
    background: #fff;
    color: #000;
}



.cst-estate-slider {
    background: #fff;
    /* 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: #000;
    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 {
    background: #3c2fa3;
    padding: 15px;
}

.cst-body h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 5px;
}

.loc {
    font-size: 13px;
    color: #fff;
    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;
}
.info span {
    color: #fff;
}
.bottom h4 {
    color: #fff;
    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: 30px;
    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: #3c2fa3;
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
}
.cst-btn:hover {
    color: #fff;
}
/* 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;
}
.cst-slider.cst-sliderrrrr .slick-dots li button:before {
    font-size: 19px;
    line-height: 20px;
    position: absolute;
}

.cst-slider.cst-sliderrrrr ul.slick-dots {
    margin-top: 5px;
    position: relative;
}
section.cst-popular-places {
    display: flex;
    background-size: contain;
    background-image: url('https://code-theme.com/html/findhouses/images/bg/bg-white-3.png');
    padding: 33px;
    background-repeat: repeat;
    align-items: center;
    justify-content: center;
}
.cst-why-choose{
   background-size: contain;
    background-image: url('https://code-theme.com/html/findhouses/images/bg/bg-white-3.png');
    background-repeat: repeat;   
}
.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: 100%;
    height: 120px;
}

.cst-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CONTENT */
.cst-content {
    padding: 20px;
}

.cst-content h4 {
    font-size: 14px;
    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) {
        .estate-contact-banner {
        height: 380px;
        text-align: center;
    }

    .estate-contact-banner-content h1 {
        font-size: 30px;
    }

    .estate-contact-banner-buttons {
        justify-content: center;
    }
     .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;
    }
}