.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    z-index: -2;
    object-fit: cover;
    background-image: url("../../images/develope/villa1.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.jumbotron {
    position: relative;
    z-index: 2;
    height: 30vh;
    display: flex;
    align-items: center;
}

.sectionheading {
    position: relative;
}

.sectionheading::after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: var(--color-white); /* fallback warna */
    margin: 5px auto 0 auto;
    border-radius: 2px;
    position: absolute;
    left: 0;
}

.content {
    z-index: 2;
}

.villa-card {
    width: 100%;
    height: 350px;
    /* atur tinggi sesuai kebutuhan */
    object-fit: cover;
    /* biar gambar nge-crop rapi */
    object-position: center;
    /* fokus ke tengah gambar */
    border-radius: 8px;
}

.backspan::before {
    content: "";
    position: absolute; /* lepas dari flow normal */
    top: 0;
    left: 0;
    height: 250px;
    width: 100%;
    margin-top: 90px;
    background-color: var(--color-first);
    z-index: -1; /* biar ada di belakang konten .backspan */
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
}

.backspan {
    position: relative; /* penting supaya pseudo bisa absolute di dalam */
    z-index: 1;
}

.backspan2::before {
    content: "";
    position: absolute; /* lepas dari flow normal */
    top: 0;
    left: 0;
    height: 250px;
    width: 100%;
    margin-top: 100px;
    background-color: white;
    z-index: -1; /* biar ada di belakang konten .backspan */
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
}

.backspan2 {
    position: relative; /* penting supaya pseudo bisa absolute di dalam */
    z-index: 1;
}

.enquirytext {
    padding-top: 70px;
}

.ourservice-bold {
    font-weight: 600;
}

.buttonvia-lg {
    padding: 20px 0px;
}

.timeline-container {
    position: relative;
    margin: 80px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--color-first);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-circle {
    width: 70px;
    height: 70px;
    background: #fff;
    border: 6px solid var(--color-first);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--color-first);
    font-size: 20px;
    margin: 0 auto;
    z-index: 5;
    position: relative;
}

/* animation */
.timeline-step {
    margin: 0px 0;
}

.timeline-step-content {
    padding: 0 20px;
}

.timeline-circle {
    transition: 0.4s ease;
    border-color: #d8d8d8;
    color: #d8d8d8;
}

.timeline-line {
    transition: background 0.5s ease;
    background: #e5e5e5;
}

/* Active */
.timeline-step.active .timeline-circle {
    border-color: var(--color-first);
    color: var(--color-first);
}

.timeline-line.active-line {
    background: var(--color-first);
}

.line-segment {
    width: 4px;
    height: 120px;
    /* bisa kamu adjust */
    background: #e5e5e5;
    margin: 0 auto;
    transition: background 0.4s ease;
}

.timeline-step.active .line-segment {
    background: var(--color-first);
}

/* animation */
.service-card {
    background: #556b2f; /* Hijau ala contoh kamu */
    color: white;
    padding: 20px 25px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    margin-top: 40px;
    font-weight: 500;
    font-size: 16px;
    width: 80%;
}

.service-icon {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #c8a84e; /* Gold ala desain */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.service-text{
    border: 2px solid var(--color-first);
    border-radius: 10px;
    position: relative;
    padding-top: 50px;
    padding-bottom: 20px;
    text-align: center;
    margin-top: -40px;
}


    .timelinemd{
        display: none;
    }
    .timelinelg{
        display: block;
    }

/* .st-adj {
    margin-top: -60px;
} */

@media (max-width: 768px) {
    .timelinelg{
        display: none;
    }
    .timelinemd{
        display: block;
    }


    .timeline-step-content {
        text-align: left !important;
        padding: 20px !important;
    }
}

@media (max-width: 1000px) {
    .hero-bg {
        height: 40vh;
    }

    .overlay {
        height: 40vh;
    }

    .jumbotron {
        height: 30vh;
    }

    .backspan::before {
        margin-top: 80px;
        height: 350px;
    }

    .backspan2 {
        margin-top: 80px !important;
    }

    .backspan2::before {
        height: 350px;
    }

    .enquirytext {
        padding-top: 50px;
    }
}

@media (max-width: 768px) {
    .jumbotron {
        text-align: center;
    }

    .buttonvia-lg {
        padding: 10px 0px;
    }

    .buttonvia-lg h3 {
        font-size: 20px !important;
    }

    .backspan::before {
        height: 650px;
    }

    .backspan2::before {
        height: 750px;
    }

    .enquirytext {
        padding-top: 0px;
        margin-top: 0px !important;
    }

    .marginbs2 {
        margin-top: 100px;
    }

    .minus5 {
        margin-top: 0px !important;
    }

    .section5 {
        margin-top: 200px;
    }
}
