@media (min-width: 1440px) {
  /* results_page */
  .results_page .site_header.v2 .container {
    max-width: 1370px;
    width: 100%;
    padding: 0 3.5rem;
  }
}

@media (min-width: 992px) and (max-width: 1439.99px) {
  .site_header.v2 .container {
    max-width: 100%;
    padding: 0 3.5rem;
    width: 100%;
  }
}

@media (min-width: 1240px) {
  .container {
    width: 1180px;
  }
}

@media (min-width: 992px) and (max-width: 1239.99px) {
  .container {
    width: 960px;
  }

  html {
    font-size: 55%;
  }
}

/* ------ Medium devices (tablets, 768px and down) -----*/
@media (min-width: 768px) {
  .user_icon.v2 {
    width: -webkit-fill-available;
    padding: 0 2rem;
    display: flex;
  }

  .user_icon.v2 span {
    margin-left: 1rem;
    color: #267eee;
    font-size: 1.4rem;
  }

  .search_btn.v2 {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: #fff;
    font-size: 1.4rem;
  }
}

/* ------ Medium devices (tablets, 991px and down) -----*/
@media (max-width: 991px) {
  html {
    font-size: 62.5%;
  }

  br {
    display: none;
  }

  :root {
    --fullMenuHeight: 6.5rem;
  }

  .content {
    text-align: center;
  }

  /* =========== Header area ========== */
  .hamburger_btn {
    width: 3.7rem;
    height: 3.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hamburger_btn img {
    width: 2rem;
  }

  .primary_menu_links {
    margin-right: 5.8rem;
  }

  .search_input input {
    height: 4rem;
    width: 20rem;
    padding: 0 1.8rem;
  }

  .primary_menu_links a.active {
    text-decoration: underline !important;
  }

  nav {
    padding: 0.7rem;
  }

  /* =========== HEader area ============ */
  .logo img {
    width: 12.5rem;
  }

  /* =================== hero_area =================== */
  .hero_area .content h1 {
    font-size: 4rem;
    line-height: 1;
  }

  .hero_area .button {
    margin: 0 auto;
  }

  .scroll_icon {
    margin: 0 auto;
    margin-top: 5rem;
  }

  .hero_area {
    padding: 12rem 0 5rem;
  }

  .hero_area .content p {
    font-size: 1.5rem;
    padding: 1rem 0 2rem;
    margin-top: -1rem;
  }

  .faq_area {
    padding: 10rem 0 10rem;
  }

  .footer_links {
    padding: 7rem 0 2rem 0;
  }

  .footer_section .row {
    padding: 5rem 0;
  }

  .accordion_item {
    padding: 2rem 0 2rem;
    text-align: left;
  }

  .accordion_item button p {
    text-align: left;
  }

  .product_nav {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 0 2rem;
  }

  .about_img {
    width: 100%;
    transform: translate(0, 0);
  }

  .hero_area .content h1 {
    line-break: anywhere;
  }

  /* ============== about_area ================ */
  .modal {
    z-index: 99999;
  }

  .modal-backdrop {
    z-index: 9999;
  }

  .about_area .row {
    flex-direction: column;
    gap: 1rem;
  }

  .about_area .content p {
    max-width: 100%;
  }

  .about_area .content h2 {
    justify-content: center;
  }

  .about_area .content {
    padding: 0;
  }

  .about_img2 {
    display: none;
  }

  .about_area {
    padding: 5rem 0 6rem;
  }

  .text_img1 {
    width: 16rem;
  }

  /* menu */
  .close_btn img {
    width: 3rem;
    filter: var(--black_img);
  }

  .primary_menu_links a {
    color: #fff;
    height: 5rem;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
    opacity: 1;
    font-size: 2rem;
    justify-content: center;
    color: var(--white);
    text-align: center;
  }

  .primary_menu_links {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start !important;
    padding: 0;
    margin: 0;
  }

  .modal-dialog {
    margin: 0;
    max-width: 100%;
  }

  .modal-content {
    padding: 2rem 0 1rem 0;
    height: 28rem;
    background: #267eee;
  }

  .modal_header .logo img {
    width: 12rem !important;
    filter: var(--white_img);
  }

  .menu_modal .close_btn img {
    filter: var(--white_img);
  }

  .modal_header .logo {
    display: block;
  }

  .modal_header {
    padding: 0 2rem 1rem 2rem;
  }

  .modal-body {
    padding: 2rem 2rem 2rem 2rem;
    border-top: 0.1rem solid #ffffff17;
    margin-top: 1.5rem;
  }

  .service br {
    display: block;
  }

  .flag_wrap {
    margin: 1.5rem auto;
  }

  .hero_img {
    width: 42rem;
    right: -8rem;
  }

  .filter_area .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }

  .filter_area {
    border-radius: 1rem;
  }

  .map_wrap > img {
    width: 100%;
  }

  .contact_right {
    padding: 3rem 2rem 4rem 2rem;
    margin-top: 3rem;
  }

  .checkbox {
    margin: 2rem 0;
  }

  .contact_area {
    padding: 7rem 0;
  }

  .text_contents {
    padding: 4rem 3rem;
  }

  /* ========================= Dashboard Resposive =========================== */
  .dashboard_page {
    font-size: 62.5%;
  }

  .sidebar_active .dashboard_content {
    filter: blur(1rem) grayscale(1);
  }

  .dashboard_sidebar {
    width: 25rem;
    padding: 3rem;
    left: -35rem;
    position: absolute;
    transition: 0.35s ease;
  }

  .sidebar_active .dashboard_sidebar {
    left: 0;
    z-index: 99;
    box-shadow: 0 0.8rem 1.6rem 0rem rgba(0, 0, 0, 0.15);
  }

  .step_menu {
    padding-top: 3rem;
  }

  .dashboard_area {
    grid-template-columns: 1fr;
  }

  .dashboard_header {
    padding: 0 2rem;
    height: 7rem;
  }

  .dashboard_step_percentage .circle {
    transform: scale(0.8);
  }

  .circle span {
    font-size: 1.8rem;
  }

  .quiter_btn {
    padding: 0 1rem;
    font-size: 1.2rem;
    gap: 0.8rem;
    height: 2.8rem;
  }

  .select_btn {
    height: 3.2rem;
    padding: 0 2rem;
    gap: 0.8rem;
    font-size: 1.25rem;
  }

  .select_btns {
    width: 100%;
    padding: 0;
    gap: 1rem 1rem;
    margin-top: 2rem;
  }

  .dashboard_mid_top.mb_40 {
    margin-bottom: 2rem;
  }

  .dashboard_mid_top h2 {
    font-size: 2.6rem;
  }

  .dashboard_mid {
    padding: 0 2rem;
  }

  .back_icon {
    height: 3rem !important;
    width: 3rem;
  }

  .back_icon img {
    width: 1.4rem;
  }

  .dashboard_bottom .button_black {
    height: 4rem;
    font-size: 1.4rem;
    padding: 0 2.2rem;
    gap: 1rem;
  }

  .dashboard_bottom {
    padding: 2rem;
  }

  .range-container {
    width: 100%;
  }

  .range_wrapper.mt_60 {
    margin-top: 3rem;
  }

  .range_wrapper p {
    padding-bottom: 1rem;
    line-height: 1.35;
  }

  .select_btn img {
    width: 1.8rem;
  }

  .select_btn .appartment {
    width: 1.6rem;
  }

  .inc_dec_wrapper p {
    padding: 2rem 0 1.5rem;
  }

  .inc_dec_wrapper input,
  .dashboard_input {
    height: 4.5rem;
  }

  .checkbox.v2 .check {
    width: 1.6rem;
    height: 1.6rem;
  }

  .checkbox.v2 {
    margin: 0;
    width: 1.6rem;
  }

  .checkbox.v2 .check img {
    width: 3rem;
    left: -0.35rem;
  }

  .product_area.v2 {
    padding-top: 10rem;
  }

  .collapse_content ul {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .collapse_content ul li .span2 {
    font-size: 1.4rem;
    line-height: 1.35;
  }

  /* asib khan */

  .news-content-text br {
    display: inline-block;
  }

  .as-news-content {
    padding: 0;
  }

  .as-news-area {
    padding: 7rem 0;
  }

  .as-news-content .text_xl {
    padding-bottom: 4rem;
    padding-right: 0;
  }

  .news-content-text {
    margin-bottom: 4.5rem;
  }

  .as-news-content h4 {
    margin-bottom: 1.5rem;
  }

  .article_area {
    padding: 10rem 0 12.3rem;
  }

  .swiper-button {
    display: none;
  }

  .as-hero-slider .button {
    margin: 0 auto;
  }

  .swiper-slide {
    padding: 20rem 0 15rem;
    text-align: center;
  }

  .as-hero-slider h2 {
    font-size: 4rem;
    line-height: 4.5rem;
  }

  .as-hero-slider {
    padding-right: 0;
  }

  .swiper-slide .col-md-8 {
    margin: 0 auto;
  }

  /* =================== mesInformation_area ================ */
  .mesInformation_area .create_template_form {
    padding: 2.5rem;
    border-radius: 2rem;
    margin-top: 2.5rem;
  }

  .collapse_wrappers_content {
    padding: 2.5rem;
    border-radius: 2rem;
    margin-top: 2rem;
  }

  .info_tab {
    display: flex;
    align-items: center;
    width: fit-content;
    white-space: nowrap;
    padding: 1rem;
    border-radius: 15rem;
    gap: 1rem;
    margin: 0 auto;
    margin-bottom: 1rem;
  }

  .info_tab .nav_link {
    padding: 1rem 3rem;
    border-radius: 10rem;
  }

  .info_tab .nav_link.active {
    font-weight: 600;
  }

  /* ================= Dropdown Box ================= */
  .dropdown_box {
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    border-radius: 0;
    top: 0;
    height: 100%;
    transform: translateY(0);
    overflow: auto;
  }

  .dropdown_footer {
    position: sticky;
    bottom: 0;
    left: 0;
    background: #fff;
    box-shadow: 0 -0.6rem 0.8rem 0 rgba(0, 0, 0, 0.1);
    border: 0;
  }

  .dropdown_inner {
    min-height: 100%;
  }

  .dropdown_box_top {
    padding: 3rem 2rem;
  }

  .dropdown_footer {
    padding: 1.6rem 2rem;
  }

  .fillter_num .dropdown_inner {
    min-height: 100%;
  }

  /* =================== Metropolitan =================== */
  .img_56_wrap img {
    margin: 0 auto;
  }

  .hero_v3_right .text-end {
    text-align: center !important;
    padding: 0;
  }

  .img_56_wrap {
    padding-bottom: 0;
  }

  /* =================== avancement_steps =================== */
  .avancement_steps {
    max-width: 100%;
  }

  .step_line {
    width: 16rem;
  }

  /* ======================= apartments_accordion ===================== */
  .apartments_accordion .collapse_btn_1 .text_xl {
    text-align: left;
    font-size: 1.6rem;
    padding-right: 2rem;
  }

  .apartments_accordion .custom_accordion_btn {
    padding: 2.5rem 0 2.5rem 0;
  }

  .apartments_accordion .collapse_btn_1 .text_lg {
    font-size: 1.6rem;
  }

  .apartments_accordion .custom_accordion_btn .text_lg {
    font-size: 1.6rem;
  }

  .apartments_accordion .custom_accordion_btn .text_lg.mr_25 {
    margin-right: 1.5rem;
  }

  .apartments_accordion .arrow_down_icon {
    width: 1.6rem;
  }

  .apartments_accordion .collapse_content ul {
    padding: 0rem 0 2rem 3.5rem;
  }

  /* ======================= contact_area.v2 ===================== */
  .contact_area.v2 .contact_left {
    display: none;
  }

  /* ======================= product_area.v2 ===================== */
  .product_area.v3 .container > .button {
    margin-bottom: 6rem;
  }
}

/*----- sm devices (tablets, 767px and down) -----*/
@media (max-width: 767px) {
  /* ============ default styles ============ */
  html {
    font-size: 55%;
  }

  body {
    font-size: 1.4rem;
  }

  h2 {
    font-size: 3rem;
    line-height: 1.15;
  }

  /* padding margins sm */
  .content {
    text-align: center;
  }

  .content .button {
    margin: 0 auto;
  }

  /* menu */
  .primary_menu {
    width: 540px;
  }

  .button {
    height: 4rem;
    font-size: 1.4rem;
  }

  /* ============= search_input area =============== */
  .search_input {
    position: absolute;
    width: 28rem;
    height: 4.5rem;
    right: 0;
    top: 100%;
    background: #5454c8;
    border-radius: 0.8rem;
    padding: 0.6rem 1.2rem;
    display: grid !important;
    grid-template-columns: 1fr 1.8rem;
    gap: 0.8rem;
    transition: 0.25s ease;
    transform: translateY(4rem);
    opacity: 0;
    pointer-events: none;
  }

  .search_area.active .search_input {
    transform: translateY(2rem);
    opacity: 1;
    pointer-events: all;
  }

  .search_area {
    position: relative;
  }

  .search_input input {
    height: 100%;
    width: 100%;
    border: 0.1rem solid #cdcdcd;
  }

  .search_input .search_inner {
    width: 1.8rem;
    filter: brightness(0) saturate(100%) invert(91%) sepia(100%) saturate(0%)
      hue-rotate(59deg) brightness(106%) contrast(101%);
  }

  .search_input .close {
    width: 2rem;
  }

  .search_outter {
    margin-left: 0;
  }

  .footer_link_boxes {
    flex-direction: column;
    gap: 2.5rem;
  }

  .accordion-body {
    padding: 1rem 2rem 0 4.5rem;
  }

  .accordion_button {
    gap: 1.5rem;
    grid-template-columns: 3rem 1fr;
  }

  .faq_area .section_top {
    padding-bottom: 4rem;
  }

  .hero_img {
    position: absolute;
    right: -26rem;
    top: 0;
    width: 52rem;
  }

  .map_wrap .product_item {
    width: 32rem;
  }

  .hero_ring {
    left: -5.5rem;
    width: 105rem;
  }

  .hero_img {
    right: -35rem;
    width: 52rem;
  }

  .flag_wrap h5 {
    font-size: 2.3rem;
    line-height: 1.1;
  }

  .flag_wrap {
    padding: 1rem 1.5rem 1.2rem 1.5rem;
    gap: 1.5rem;
    width: 100%;
    border-radius: 0 1.6rem 1.6rem 1.6rem;
  }

  .flag {
    width: 2rem;
  }

  .hover_area > p {
    left: 2rem;
    top: 2rem;
    font-size: 1.4rem;
    line-height: 1.2;
  }

  .hover_area {
    padding: 14rem 0 34rem;
  }

  .product_area {
    padding: 6rem 0 8rem;
  }

  .flag_bg {
    width: 20rem;
    right: -6rem;
    top: -7rem;
  }

  .hero_inner {
    padding: 12rem 0 7rem;
  }

  .hero_inner .content h1 {
    font-size: 3.5rem;
    line-height: 4rem;
    border-bottom: 0.6rem solid #267eee;
  }

  .text_contents {
    padding: 3rem 2rem;
  }

  .legal_text_area {
    padding-bottom: 5rem;
  }

  .hero_inner.v2 {
    padding: 12rem 0 12rem;
  }

  /* ====================== Dashboard area ====================== */

  /* =========== collapse_content =========== */
  .collapse_content ul {
    grid-template-columns: 1fr 1fr;
  }

  .collapse_wrap .button {
    font-size: 1.1rem;
    height: 3.2rem;
    padding: 0 1.2rem 0 1.2rem;
    line-height: 1.35;
    gap: 0.8rem;
    white-space: nowrap;
  }

  span.collapse_btn_left {
    width: auto;
    text-align: left;
  }

  .collapse_btn_1 {
    font-size: 1.3rem;
    width: 8rem;
    line-height: 1.24;
  }

  /* =========== search dropdown =========== */
  .d_search_dropdown {
    right: 0;
    position: fixed !important;
    top: 0 !important;
    transform: translateY(0) !important;
    width: 100% !important;
  }

  .d_search_field input {
    width: 100%;
  }

  /* ============== Creation Modal ============== */
  .CreationTemplate_modal .modal-content {
    padding: 2rem;
    border-radius: 2rem;
    height: 100vh;
    overflow: auto;
    border-radius: 0;
  }

  .create_template_form {
    grid-template-columns: 1fr;
    gap: 1.5rem 1.5rem;
  }

  .result_checkboxes {
    grid-template-columns: 1fr 1fr;
  }

  .result_checkboxes .checkbox {
    margin: 0;
  }

  .CreationTemplate_modal .modal-dialog {
    height: 100vh;
    background: #fff;
  }

  .CreationTemplate_modal .modal-body .button {
    margin-top: 2.5rem;
  }

  .CreationTemplate_modal .modal-header {
    padding-bottom: 3.5rem;
    padding-top: 3rem;
  }

  .CreationTemplate_modal .modal-header p {
    line-height: 1.35;
    padding-bottom: 0.5rem;
  }

  .form_group_inner .form_control {
    padding-left: 12rem;
  }

  /* asib khan */
  .as-content h2 {
    font-size: 4rem;
    line-height: 4.5rem;
  }

  .as-news-area {
    padding: 7rem 0 2rem;
  }

  .article_area {
    padding: 6rem 0 8rem;
  }

  /* ================== apartments_area ================== */
  .apartments_faq_left p.pl_70.pr_50 {
    padding: 0 2rem;
  }

  .apartments_accordion .collapse_btn_1 {
    gap: 0.35rem;
    width: fit-content;
    flex-direction: column;
    text-align: left;
    align-items: flex-start !important;
  }

  .apartments_accordion .custom_accordion_btn .text_lg {
    font-size: 1.4rem;
  }

  .apartments_accordion .custom_accordion_btn .text_lg {
    font-size: 1.4rem;
    text-align: left;
  }

  .apartments_accordion .collapse_btn_1 .text_xl {
    font-size: 1.4rem;
    padding-right: 0;
  }

  .apartments_accordion .custom_accordion_btn .text_lg.mr_25 {
    width: 10rem;
    text-align: right;
  }

  .apartments_accordion .collapse_content ul li {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 1rem;
    padding: 2rem 1rem 2rem 2rem;
  }

  .apartments_accordion .collapse_content ul {
    padding: 0rem 0 2rem 1rem;
  }

  .apartments_accordion .apartments_faq_right a {
    width: 100%;
  }

  .apartments_faq_right {
    width: 100%;
  }

  /* ============= metros_content ============ */
  .metros_content {
    padding: 3rem 2.5rem 4rem 2.5rem;
  }

  .metro_logos img {
    width: 5.6rem;
  }

  /* ============= metropolitan_hero ============ */
  .metropolitan_slider img {
    height: 26rem;
  }

  .img_56_wrap p {
    padding-bottom: 0 !important;
    margin-top: 0;
  }

  /* =================== avancement_area ==================== */
  .avancement_step_icon img {
    width: 1.8rem;
  }

  .avancement_step_icon {
    width: 4.5rem;
    height: 4.5rem;
  }

  .avancement_step.active .avancement_step_icon_Wrap:before {
    width: 5.6rem;
    height: 5.6rem;
  }

  .avancement_step p {
    display: none;
  }

  .step_line {
    left: 3rem;
  }

  .avancement_56_img {
    width: 12rem;
  }

  .avancement_area .section_top h2 {
    font-size: 2.8rem;
  }

  .avancement_area .section_top {
    margin-bottom: 4.5rem;
  }

  .avancement_area {
    padding: 6rem 0 5.5rem;
  }

  /* ============== sticky_btns ============== */
  .sticky_btns {
    padding: 2rem;
    border-radius: 1.5rem;
    right: -25.5rem;
  }

  .sticky_btns a img {
    width: 2rem;
  }

  .sticky_btns a span {
    font-size: 1.6rem;
  }

  /* ============== hero_area.v3 ============== */
  .hero_area.v3 h1 {
    padding-bottom: 1rem;
    font-size: 3.2rem;
    line-height: 1.25;
  }

  .search_area.v2 .d_search_box {
    margin: 0;
  }
}

/*----- xs devices (landscape phones, 575px and down) -----*/
@media (max-width: 575px) {
  html {
    font-size: 2.5vw;
  }

  .container {
    padding: 0 2rem;
  }

  .content .button {
    width: 100%;
  }

  .search_input {
    right: -1.5rem;
  }

  /* ====================== Dashboard area ====================== */
  .d_search_box {
    margin-right: 1.5rem;
  }

  .site_header.v2 .container {
    padding: 0 2rem;
  }

  .step_line {
    width: 6.5rem;
  }
}
