.banner_section {
    padding: 0 0 0 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: -134px 0 0;
    .content {
        padding: 0 50px 50px 0;
        max-width: 700px;
        width: 100%;
        .estimation {
            display: flex;
            padding: 0 0 36px 0;
            align-items: center;
            @media (max-width: 767px) {
                flex-direction: column;
                padding: 0 0 17.5px 0;
            }
            .btn-new {
                padding: 13px 24px;
                background: #fff100;
                border-radius: 55px;
                border: none;
                font-size: 14px;
                font-family: Lato;
                font-weight: 800;
                line-height: 17px;
                @media (min-width: 768px) and (max-width: 991px) {
                    padding: 12px 18px;
                }
            }
            .text {
                font-family: "Lato";
                font-style: normal;
                font-weight: 800;
                font-size: 14px;
                line-height: 17px;
                color: #0b2766;
                padding-left: 11px;
                display: flex;
                align-items: center;

                @media (min-width: 768px) and (max-width: 991px) {
                    font-size: 12px;
                    display: block;
                    padding-left: 5px;
                    padding-bottom: 5px;
                    width: calc(100% - 86px);
                }
                @media (max-width: 767px) {
                    padding: 7px 0;
                }
                img {
                    padding-left: 4px;
                    padding-top: 4px;
                    @media (min-width: 768px) and (max-width: 991px) {
                        vertical-align: bottom;
                        margin-bottom: -5px;
                        padding-left: 0px;
                    }
                    @media (max-width: 767.5px) {
                        display: none;
                    }
                }
            }
        }
        .banner_heading {
            font-weight: 800;
            font-size: 56px;
            line-height: 100%;
            color: #0b2766;
            @media (max-width: 1439px) {
                font-size: 45px;
            }
        }
        .services_txt {
            display: flex;
            flex-wrap: wrap;
            position: relative;
            padding: 26px 0 0;
            .icon {
                position: absolute;
                font-weight: 800;
                font-size: 126px;
                line-height: 100%;
                color: #eef0f6;
                left: -30px;
                top: 5px;
                z-index: -1;
            }
            h2 {
                font-weight: 500;
                font-size: 20px;
                line-height: 170%;
                color: #0b2766;
                max-width: 230px;
                text-shadow: 0px 4px 4px rgb(0 0 0 / 25%);
            }
            .inner {
                width: calc(100% - 230px);
                padding: 0 0 0 34px;
                p {
                    font-size: 16px;
                    line-height: 170%;
                    color: #5673b1;
                }
            }
        }
        .view_grid {
            width: 100%;
            margin-top: 50px;
            max-width: 320px;
            @media (max-width: 1600px) {
                margin-top: 30px;
            }
            @media (max-width: 767px) {
                margin: 50px auto 0;
            }
            .view_box {
                display: flex;
                justify-content: space-between;
                padding: 0 0 20px 0;
                @media (max-width: 1439px) {
                    padding: 0 0 20px 0;
                }
                @media (max-width: 1365px) {
                    padding: 0 0 15px 0;
                }
                .grid_box {
                    a {
                        ul {
                            display: flex;
                            li {
                                padding: 0 2px;
                            }
                        }
                        img {
                            width: 100%;
                            max-width: 108px;
                        }
                        &:nth-child(2) {
                            img {
                                padding: 13px 0 0;
                                @media (max-width: 1365px) {
                                    padding: 2px 0 0;
                                }
                            }
                        }
                    }
                    .view_txt {
                        font-weight: bold;
                        font-size: 14px;
                        line-height: 130%;
                        text-align: right;
                        a,
                        span {
                            color: #5673b1;
                        }
                    }
                    .view_no {
                        font-weight: 800;
                        font-size: 24px;
                        line-height: 170%;
                        padding: 10px 0 0;
                        text-align: right;
                        @media (max-width: 1365px) {
                            padding: 2px 0 0;
                        }
                        a {
                            color: #0b2766;
                        }
                    }
                }
            }
        }
        .banner_content {
            max-width: 385px;
            padding: 15px 0 0;
            p {
                font-size: 16px;
                line-height: 170%;
                color: #5673b1;
                padding: 0 0 10px;
                &:first-child {
                    padding: 0 0 10px;
                }
            }
        }
        .banner_bar {
            display: flex;
            background: #f8f9fd;
            border: 1px solid #e7eaf3;
            box-sizing: border-box;
            box-shadow: 0px 14px 35px rgb(31 68 150 / 20%);
            border-radius: 100px;
            padding: 14px 12px 16px;
            justify-content: space-between;
            align-items: center;
            margin: 80px 0 0;
            .dropdown_block {
                padding: 0 15px;
                width: 30%;
                border-right: 1px solid rgba(129, 146, 184, 0.2);
                &:last-child {
                    border: none;
                }
                .heading_dropdown {
                    font-weight: 800;
                    font-size: 14px;
                    line-height: 150%;
                    color: #0b2766;
                }
                .dropdown {
                    position: relative;
                    cursor: pointer;
                    &.max_price_1,
                    &.max_price_2 {
                        display: none;
                        &.active {
                            display: block;
                        }
                    }
                    span {
                        font-size: 14px;
                        line-height: 150%;
                        color: #2c3e50; // Changed from #5673b1 to darker color for better contrast
                        position: relative;
                        display: inline-block;
                        padding: 0 8px 0 0;
                        min-width: 110px;
                        white-space: nowrap;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        width: -webkit-fill-available;
                        &:before {
                            content: "";
                            width: 0px;
                            height: 0px;
                            border-left: 4px solid transparent;
                            border-right: 4px solid transparent;
                            border-top: 5px solid #c5d0e8;
                            position: absolute;
                            right: 0;
                            top: 9px;
                        }
                    }
                    ul {
                        display: none;
                        position: absolute;
                        background: #f8f9fd;
                        width: 100%;
                        border-radius: 0 0 10px 10px;
                        box-shadow: 0px 10px 15px rgb(31 68 150 / 10%);
                        top: 100%;
                        z-index: 99;
                        max-height: 150px;
                        overflow-y: auto;
                        z-index: 99;
                        li {
                            padding: 10px 20px 10px 10px;
                            display: inline-flex;
                            align-items: center;
                            width: 100%;
                            font-size: 12px;
                            line-height: 100%;
                            color: #2c3e50; // Changed from #5673b1 to darker color for better contrast
                            cursor: pointer;
                            position: relative;
                            span {
                                width: initial;
                                min-width: initial;
                                padding: 0;
                                font-size: 10px;
                                position: absolute;
                                right: 10px;
                                z-index: 1;
                                &:before {
                                    display: none;
                                }
                            }
                            &:hover {
                                background: #e8f4f8; // Improved hover background for better contrast
                                color: #1a252f; // Darker text on hover
                            }
                        }
                        &.active {
                            display: block;
                        }
                    }
                }
                &.border {
                    border: none;
                }
            }
            .search_btn {
                background: #fff100;
                border-radius: 55px;
                width: 49px;
                height: 49px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                cursor: pointer;
                overflow: hidden;
                position: relative;
                z-index: 1;
                &:before {
                    content: "";
                    position: absolute;
                    z-index: -1;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    background: #f0dc00;
                    border-radius: 100%;
                    transform: scale(0);
                    transition-property: transform;
                    transition-duration: 0.5s;
                    transition-timing-function: ease-out;
                }
                span {
                    z-index: 3;
                }
                &:hover {
                    &:before {
                        transform: scale(2);
                    }
                }
            }
        }
    }
    .image {
        width: calc(100% - 700px);
        text-align: right;
        max-width: 600px;
        .image_Inner {
            position: relative;
            border-radius: 0 0 0 160px;
            overflow: hidden;
            img {
                border-radius: 0 0 0 160px;
                width: 100%;
                display: flex;
            }
            .view_grid {
                color: #fff;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                min-width: 235px;
                .view_box {
                    display: flex;
                    justify-content: space-between;
                    flex-wrap: wrap;
                    padding: 0 0 35px 0;
                    img {
                        border-radius: 0;
                        width: inherit;
                    }
                    .grid_box {
                        ul {
                            display: flex;
                            li {
                                padding: 0 2px;
                                img {
                                    display: flex;
                                }
                            }
                        }
                        .img {
                            padding: 13px 0 0;
                            max-width: 108px;
                        }
                        .view_txt {
                            font-weight: bold;
                            font-size: 14px;
                            line-height: 130%;
                            a {
                                color: #fff;
                            }
                        }
                        .view_no {
                            font-weight: 800;
                            font-size: 24px;
                            line-height: 170%;
                            padding: 10px 0 0;
                            a {
                                color: #fff;
                            }
                        }
                    }
                    &:last-child {
                        padding: 0;
                        /*.img {
                            max-width: 85px;
                        }*/
                    }
                    .btn_box {
                        width: 100%;
                        text-align: center;
                        padding: 30px 0 0;
                    }
                }
            }
            video {
                display: flex;
            }
        }
    }
}
.experties_page {
    .banner_section {
        align-items: initial;
        .image {
            @media (max-width: 767px) {
                width: 100%;
                max-width: 544px;
                margin: 0 auto;
                img {
                    width: 544px;
                    height: 400px;
                    object-fit: none;
                    object-position: 50% 25%;
                    border-radius: 20px;
                }
            }
        }
        .content {
            padding: 235px 50px 0 0;
        }
    }
}
.gestion_locative_page {
    .banner_section {
        .image {
            @media (max-width: 767px) {
                display: none;
            }
        }
    }
}
.service_page {
    .banner_section {
        .content {
            padding: 0 50px 35px 0;
        }
        .image {
            .image_Inner {
                img {
                    border-radius: 0;
                    @media (max-width: 767px) {
                        width: 600px;
                        height: 500px;
                        object-fit: cover;
                        object-position: top;
                    }
                    @media (max-width: 479px) {
                        height: 400px;
                    }
                }
            }
        }
    }
}

@media (max-width: 767.5px) {
    .banner_section {
        padding: 0 20px;
        margin: 50px 0 0;
        flex-direction: column-reverse;
        row-gap: 50px;
        .content {
            padding: 0;
            text-align: center;
            .banner_heading {
                font-size: 25px;
            }
            .banner_bar {
                max-width: 320px;
                margin: 30px auto 0;
                flex-wrap: wrap;
                border-radius: 20px;
                .dropdown_block {
                    padding: 10px 20px;
                    width: 100%;
                    border-right: none;
                    border-bottom: 1px solid rgba(129, 146, 184, 0.2);
                    text-align: left;
                    .dropdown {
                        span {
                            min-width: initial;
                            width: 100%;
                        }
                    }
                }
                .search_btn {
                    background: #fff100;
                    border-radius: 55px;
                    width: 100%;
                    height: 45px;
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                }
            }
            .banner_content {
                margin: 0 auto;
            }
        }
        .image {
            width: 100%;
            .image_Inner {
                border-radius: 50px;
                video {
                    max-height: 600px;
                    height: 100%;
                    object-fit: cover;
                }
            }
        }
    }
    .experties_page {
        .banner_section {
            .content {
                padding: 0;
            }
        }
    }
    .service_page {
        .banner_section {
            .content {
                padding: 0 15px 0 15px;
                margin: 0 auto;
                .services_txt {
                    .icon {
                        left: -20px;
                        top: 15px;
                        font-size: 85px;
                    }
                    h2 {
                        font-size: 16px;
                        max-width: initial;
                    }
                    .inner {
                        width: 100%;
                        padding: 10px 0 0;
                        p {
                            font-size: 14px;
                        }
                    }
                }
            }
        }
    }
}
@media (min-width: 768px) and (max-width: 991.5px) {
    .banner_section {
        padding: 0 0 0 20px;
        margin: 0;
        .content {
            padding: 0 10px 0 0;
            width: 55%;
            .banner_heading {
                font-size: 20px;
            }
            .banner_bar {
                margin: 20px 0 0;
                .dropdown_block {
                    padding: 0 5px;
                    .heading_dropdown {
                        font-size: 10px;
                    }
                    .dropdown {
                        span {
                            font-size: 10px;
                            min-width: initial;
                            &:before {
                                top: 4px;
                                border-left: 3px solid transparent;
                                border-right: 3px solid transparent;
                                border-top: 4px solid #c5d0e8;
                            }
                        }
                        ul {
                            li {
                                font-size: 10px;
                            }
                        }
                    }
                }
                .search_btn {
                    width: 30px;
                    height: 30px;
                    img {
                        width: 15px;
                    }
                }
            }
        }
        .image {
            min-height: 500px;
            width: 45%;
            .image_Inner {
                /*min-height: 570px;*/
                .view_grid {
                    top: 45%;
                    .view_box {
                        // &:last-child {
                        //     padding: 15px 0 0;
                        // }
                        .btn_box {
                            padding: 20px 0 0;
                        }
                    }
                }
            }
        }
    }
    .homepage {
        .banner_section {
            .image {
                min-height: 500px;
                .image_Inner {
                    min-height: 500px;
                }
            }
        }
    }
    .service_page {
        .banner_section {
            .image {
                min-height: 570px;
                .image_Inner {
                    min-height: 570px;
                }
            }
        }
    }
    .experties_page {
        .banner_section {
            align-items: center;
            .content {
                padding-top: 0;
            }
        }
    }
    .service_page {
        .banner_section {
            .content {
                padding: 0 10px 0 30px;
                .services_txt {
                    .icon {
                        left: -20px;
                        top: 15px;
                        font-size: 85px;
                    }
                    h2 {
                        font-size: 16px;
                        max-width: initial;
                    }
                    .inner {
                        width: 100%;
                        padding: 10px 0 0;
                        p {
                            font-size: 14px;
                        }
                    }
                }
            }
        }
    }
}
@media (min-width: 992px) and (max-width: 1199.5px) {
    .banner_section {
        padding: 0 0 0 50px;
        .content {
            max-width: inherit;
            padding: 0 30px 0 0;
            width: 60%;
            .banner_heading {
                font-size: 30px;
            }
            .banner_bar {
                margin: 40px 0 0;
                .dropdown_block {
                    padding: 0 15px;
                    .dropdown {
                        font-size: 12px;
                    }
                }
            }
            .services_txt {
                h2 {
                    font-size: 16px;
                }
                .inner {
                    p {
                        font-size: 14px;
                    }
                }
            }
        }
        .image {
            min-height: inherit;
            width: 40%;
            .image_Inner {
                /*min-height: 610px;*/
                .view_grid {
                    .view_box {
                        padding: 0 0 25px 0;
                        // &:last-child {
                        //     padding: 20px 0 0;
                        // }
                    }
                }
                img {
                    border-radius: 0 0 0 100px;
                }
            }
        }
    }
    .homepage {
        .banner_section {
            .image {
                min-height: 630px;
                .image_Inner {
                    min-height: 630px;
                }
            }
        }
    }
    .service_page {
        .banner_section {
            margin: 0;
            .image {
                min-height: 610px;
                .image_Inner {
                    min-height: 610px;
                }
            }
        }
    }
    .gestion_locative_page {
        .banner_section {
            .content {
                max-width: 770px;
                .banner_content {
                    max-width: inherit;
                }
            }
            .image {
                width: calc(100% - 370px);
            }
        }
    }
    .experties_page {
        .banner_section {
            align-items: center;
            .content {
                padding-top: 0;
            }
        }
    }
}
@media (min-width: 1200px) and (max-width: 1365.5px) {
    .banner_section {
        padding: 0 0 0 75px;
        .content {
            max-width: 700px;
            padding: 0 30px 0 0;
            .banner_heading {
                font-size: 35px;
            }
            .banner_bar {
                margin: 40px 0 0;
            }
            .banner_bar {
                .dropdown_block {
                    padding: 0 10px;
                    .dropdown {
                        span {
                            font-size: 12px;
                            width: 100%;
                            min-width: 100%;
                        }
                    }
                }
            }
        }
        .image {
            width: calc(100% - 500px);
            /*min-height: 700px;*/
            .image_Inner {
                /*min-height: 700px;*/
            }
        }
    }
    .homepage {
        .banner_section {
            .image {
                min-height: 720px;
                .image_Inner {
                    min-height: 720px;
                }
            }
        }
    }
    .service_page {
        .banner_section {
            .image {
                min-height: 830px;
                .image_Inner {
                    min-height: 830px;
                }
            }
        }
    }
}
@media (min-width: 1366px) and (max-width: 1439.5px) {
    .homepage {
        .banner_section {
            .image {
                min-height: 820px;
                .image_Inner {
                    min-height: 820px;
                }
            }
        }
    }
    .service_page {
        .banner_section {
            .image {
                min-height: 900px;
                .image_Inner {
                    min-height: 900px;
                }
            }
        }
    }
}
@media (min-width: 1440px) and (max-width: 1919px) {
    .homepage {
        .banner_section {
            .image {
                min-height: 945px;
                .image_Inner {
                    min-height: 945px;
                }
            }
        }
    }
    /*.banner_section {
        .image {
            min-height: 920px;
            .image_Inner {
                min-height: 920px;
            }
        }
    }*/
    .service_page {
        .banner_section {
            .image {
                min-height: 920px;
                .image_Inner {
                    min-height: 920px;
                }
            }
        }
    }
}
@media (min-width: 1920px) {
    .homepage {
        .banner_section {
            .image {
                min-height: 990px;
                .image_Inner {
                    min-height: 990px;
                }
            }
        }
    }
    .service_page {
        .banner_section {
            .image {
                min-height: 1030px;
                .image_Inner {
                    min-height: 1030px;
                }
            }
        }
    }
}
@media (min-width: 1921px) {
    .service_page {
        .banner_section {
            .image {
                .image_Inner {
                    border-radius: 0;
                }
            }
        }
    }
    .banner_section {
        padding: 0 100px;
        max-width: 1600px;
        margin: -134px auto 0;
        .content {
            max-width: initial;
            width: 60%;
        }
        .image {
            width: 40%;
            .image_Inner {
                border-radius: 0 0 160px 160px;
                img {
                    border-radius: 0 0 160px 160px;
                }
            }
        }
    }
}
