.full-width-rectangle-container {
    width: 100%;
    position: relative;
    padding: 0;
    margin-top: 6rem;
}

.full-width-rectangle {
    height: 210px;
    background-color: #ECB159;
    position: relative;
    overflow: visible;
    display: flex;
    align-items: flex-end;
}

.rectangle-content {
    display: flex;
    align-items: center;
}

.rectangle-image {
    height: 260px;
    width: auto;
    position: absolute;
    bottom: 0;
    left: 150px;
    object-fit: cover;
}

.rectangle-text {
    color: black;
    max-width: 35%;
    margin-top: 40px;
    margin-bottom: 20px;
    margin-left: 640px;
    padding-left: 0;
}

.consultation-button {
    padding: 0.7rem 7rem;
    font-size: 0.900rem;
    width: auto;
    border-radius: 50px;
    border: 2px solid #8B4513;
    background-color: #8B4513;
    color: white;
}

.consultation-button:hover {
    background-color: #6F4F28;
    border-color: #6F4F28;
    color: white;
}

@media (max-width: 992px) {
    .rectangle-text {
        margin-left: 450px;
        max-width: 50%;
    }

    .rectangle-image {
        left: 50px;
        height: 220px;
    }

    .full-width-rectangle {
        height: 200px;
    }

    .consultation-button {
        padding: 0.5rem 5rem;
        font-size: 0.800rem;
    }
}

@media (max-width: 768px) {
    .rectangle-text {
        margin-left: 350px;
        max-width: 50%;
    }

    .rectangle-image {
        left: 20px;
        height: 180px;
    }

    .full-width-rectangle {
        height: 200px;
    }

    .consultation-button {
        padding: 0.5rem 3rem;
        font-size: 0.800rem;
    }
}

@media (max-width: 670px) {
    .rectangle-content {
        flex-direction: column;
        align-items: center;
    }

    .rectangle-text {
        text-align: center;
        margin-left: 0;
        max-width: 90%;
        margin-top: 20px;
        margin-bottom: 0;
    }

    .rectangle-image {
        position: relative;
        left: 0;
        height: 140px;
        margin-bottom: 20px;
    }

    .full-width-rectangle {
        height: auto;
        padding: 20px;
    }

    .consultation-button {
        width: 100%;
        padding: 0.7rem;
        font-size: 1rem;
    }
}