@media (min-width: 1500px) {
    .img-hero {
        bottom: -60%;
        max-width: 790px;
    }

    .sub-img-hero {
        max-width: 750px;
        max-height: 750px;
    }
    .img-hero {
        bottom: -60%;
    }
    .img-hero::after {
        max-width: 765px;
        max-height: 765px;
    }
}

@media (max-width: 1370px) {
    .about__us__img .img {
        height: 400px;
    }

    .about__us__img .img:nth-child(2) {
        height: 350px;
    }

    .about__us__img .img:nth-child(3) {
        top: 320px;
    }

    .img__des {
        top: 420px;
        padding: 15px;
        font-size: 24px;
    }

    .about__us__text p {
        line-height: 2;
    }

    .retreat__title h2 {
        font-size: 16px;
    }

    .rate__rereat p {
        font-size: 15px;
    }

    .rate__rereat .icon {
        font-size: 14px;
    }

    .rate__rereat {
        gap: 5px;
    }

    .retreat_desc {
        font-size: 16px;
    }

    .rent-property .rent p {
        font-size: 20px;
    }

    .login .login-header a,
    .register .register-header a,
    .forget-password .forget-password-header a {
        font-size: 20px;
        font-weight: 500;
        color: var(--primary1);
        text-decoration: none;
    }

    .login .login-form-header a,
    .register .register-form .register-form-header a,
    .forget-password .login-form-header a {
        font-size: 20px;
        font-weight: 500;
        color: #8d8f95;
        position: relative;
        text-decoration: none;
    }
    .login .login-form form button,
    .register .register-form form button,
    .forget-password .forget-form form button,
    form button {
        font-size: 20px;
    }
    .login .login-header p,
    .register .register-header p,
    .forget-password .forget-password-header p,
    .reset-password .reset-password-header p {
        font-size: 20px;
        font-weight: 500;
    }
}

@media (max-width: 1200px) {
    .img-product {
        height: 280px;
    }
    .img-hero {
        width: 56%;
    }
    .contact-header {
        gap: 7px;
    }
    .sub-contact-header {
        gap: 5px;
    }
    .sub-contact-header h2 {
        font-size: 14px;
    }
    .img-contact-header {
        width: 40px;
        height: 40px;
    }
    .element ul {
        gap: 25px;
    }
    .element ul li a {
        font-size: 15px;
    }
    .logo {
        width: 100px;
    }
    h1 {
        font-size: 40px;
    }
    .img-product {
        height: 215px;
    }
    .price-product h2 {
        font-size: 14px;
    }
    .address-product {
        font-size: 15px;
    }
    .address-product img {
        width: 23px;
        height: 23px;
    }

    .property-profile aside .profile-header {
        gap: 5px;

        padding: 5px;
    }

    .property-profile aside .profile-header p {
        font-size: 14px;
    }
}

@media (max-width: 1024px) {
    .about__us__text p {
        line-height: 1.8;
        font-size: 18px;
    }

    .search__result {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .internal__links a {
        font-size: 18px;
    }

    .arrive__date p {
        color: var(--primary2);
        font-size: 17px;
    }

    .arrive__card {
        margin-top: 50px;
    }

    .rent-property .rent p {
        font-size: 14px;
    }

    .notifications__menu {
        position: absolute;
        top: 170px;
        background-color: #fff;
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        left: 40px;
        border-radius: 10px;
        width: 200px;
        transition: 0.4s;
        z-index: -1;
        opacity: 0;
    }

    .sended__message p,
    .recieved__message p {
        font-size: 16px;
    }

    .sended__message {
        padding: 3px 20px;
    }
    .recieved__message p {
        padding: 3px 20px;
    }

    .recieved__message img {
        width: 35px;
        height: 35px;
        border-radius: 50%;
    }

    .recorded {
        padding: 3px 10px;
    }

    .recorded .icon {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }

    .recorded__sende__msg .icon {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }

    .play-btn {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }

    .voice__Message {
        padding: 3px 10px;
    }

    .user__info .text h2 {
        font-size: 17px;
        margin-bottom: 0px;
    }

    .user__info img {
        width: 40px;
        height: 40px;
    }

    .user__info .img::before {
        bottom: 10px;
    }

    .product.custom__product {
        width: calc(100% / 2 - 15px);
        min-height: 535px;
    }


    .sub-contact-header h2 {
        font-size: 13px;
    }

    .img-contact-header {
        width: 35px;
        height: 35px;
    }

    .element ul li a {
        font-size: 13px;
    }

    .ctm-btn {
        font-size: 14px;
    }

    .nav-bar .logo {
        width: 70px;
    }

    .price-product {
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .sub__header {
        margin-bottom: 20px;
    }

    .search__filter p {
        color: var(--primary1);
        font-size: 18px;
    }

    .property-profile aside .profile-header img {
        width: 45px;
        height: 45px;
        border-radius: 50%;
    }
    .property-profile aside .profile-header .profile-info {
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .property-profile aside {
        padding: 20px 10px;
    }

    .card__servises {
        height: 325px;
    }
}

@media (max-width: 992px) {
    #new-password {
        margin-bottom: 20px;
    }
    .contact-header {
        display: none;
    }
    .sco-media {
        display: none;
    }

    .notifications__menu {
        top: 110px;
    }

    .element {
        display: none;
    }
    .top-bar {
        display: none;
    }

    .text-hero {
        width: 87%;
        padding: 70px 0;
        margin: auto;
        text-align: center;
    }
    .hero {
        min-height: 676px;
        width: 100%;
    }
    .search-header {
        margin: 25px auto;
    }
    .img-hero {
        width: 63%;
        margin: auto;
        left: 0;
        right: 0;
    }
    .img-hero::after {
        left: 0;
        bottom: 0;
        right: -10px;
        margin: auto;
    }
    .links-tabs-product ul li {
        width: calc(50% - 10px);
    }
    .statistics-index .col-lg-4:nth-of-type(2) .arrow-statistics {
        display: none;
    }
    .sub-blog-index:nth-of-type(1) .img-blog-index {
        width: 100%;
        height: 250px;
    }
    .sub-blog-index:nth-of-type(2) .img-blog-index,
    .sub-blog-index:nth-of-type(3) .img-blog-index {
        height: 200px;
    }
    .text-blog-index p {
        font-size: 15px;
        line-height: 28px;
        margin: 10px 0;
    }
    .text-blog-index h2 {
        font-size: 16px;
    }
    .sub-counter-header {
        width: 115px;
        height: 115px;
        top: 0;
    }
    .num-counter {
        font-size: 17px;
    }
    .menu-div {
        display: flex !important;
    }

    section.about__us {
        flex-direction: column;
    }

    .about__us__img .img {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        width: 200px;
        height: 200px;
    }

    .about__us__img .img:nth-child(2) {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        width: 200px;
        height: 200px;
    }

    .about__us__img .img:nth-child(3) {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        width: 200px;
        height: 200px;
    }

    .img__des {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        width: 200px;
    }

    .about__us__img {
        display: flex;
        align-items: center;
        justify-content: start;
        gap: 20px;
        flex-wrap: wrap;
        width: 100%;
    }

    .search__result {
        flex-direction: row;
    }

    .retreat__card {
        width: calc(100% / 2 - 20px);
    }

    .rating__card {
        margin-top: 50px;
        margin-bottom: 30px;
    }

    .paymen-user-way-add {
        margin-top: 50px;
    }

    .product.custom__product {
        width: 100%;
    }

    .btn-nav-bar > .ctm-btn {
        display: none;
    }

    .nav-bar {
        transform: translateY(20px);
    }

    .property-profile aside {
        margin-bottom: 30px;
    }

    .img-hero {
        width: 470px;
        margin: auto;
        bottom: -35%;
        right: 0;
    }

    .cutom-mka-tabs {
        margin-top: 30px;
    }

    .our__services .row .col-12.col-md-4 {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-blog-index {
        gap: 15px;
        display: flex;
        flex-wrap: wrap;
    }
    .sub-blog-index {
        flex-wrap: wrap;
    }
    .sub-blog-index:nth-of-type(2) .text-blog-index,
    .sub-blog-index:nth-of-type(3) .text-blog-index {
        width: 100%;
    }
    .sub-blog-index:nth-of-type(2) .img-blog-index,
    .sub-blog-index:nth-of-type(3) .img-blog-index {
        width: 100%;
        height: 250px;
    }
    .arrow-statistics {
        display: none;
    }
    .sub-statistics-index {
        margin: 25px 0;
        text-align: center;
    }

    .property__links__container {
        margin-bottom: 30px;
    }

    .add__property__link .link__number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .add__property__link h3 {
        font-size: 17px;
        margin-bottom: 7px;
    }

    .about__us__img {
        justify-content: center;
    }

    .our__vision h2 {
        font-size: 25px;
        margin: 20px 0;
    }

    .our__vision p {
        font-size: 18px;
        line-height: 1.7;
    }

    .section__img {
        width: 300px;
        height: 300px;
    }

    .card__servises .img {
        width: 50px;
        height: 50px;
        padding: 10px;
    }

    .card__servises {
        padding: 15px;
        height: 180px;
    }

    .card__servises h3 {
        font-size: 15px;
    }

    .card__servises h3 {
        font-size: 15px;
        margin-bottom: 10px;
    }

    .services__img {
        height: 380px;
        /* display: none; */
    }

    .form__contact__us {
        width: 95%;
    }

    .retreat__search .input {
        width: 300px;
    }

    .retreat__search .input .icon {
        width: 40px;
        height: 40px;
        left: 10px;
    }

    .retreat__search .input img.location {
        right: 10px;
        width: 25px;
        height: 25px;
    }

    .retreat__search .input input {
        padding-right: 40px;
    }

    .offcanvas.offcanvas-start.show {
        width: 400px;
    }

    .retreat__kind__inputs label img {
        width: 30px;
        height: 30px;
    }

    .retreat__kind__inputs label {
        padding: 10px;
        gap: 5px;
    }

    .retreat__imgs__haeder {
        flex-direction: column;
        gap: 10px;
    }

    .retreat__imgs__haeder h3 {
        font-size: 18px;
    }

    .grid__img__container {
        grid-template-rows: repeat(2, 150px);
    }

    .retreat__details__section .card {
        margin-top: 50px;
    }

    .opinion,
    section.add__comment form {
        width: 100%;
    }

    .about__us__img .img {
        width: 100%;
        height: 100%;
    }

    .about__us__img .img:nth-child(2) {
        width: 100%;
        height: 100%;
    }

    .about__us__img .img:nth-child(3) {
        width: 100%;
        height: 100%;
    }

    .img__des {
        width: 100%;
        height: 100%;
        text-align: center;
        justify-content: center;
    }

    .about__us__img {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 200px);
        grid-gap: 10px;
    }

    .login .login-header a,
    .register .register-header a,
    .forget-password .forget-password-header a {
        font-size: 18px;
        font-weight: 500;
        color: var(--primary1);
        text-decoration: none;
    }

    .login .login-form-header a,
    .register .register-form .register-form-header a,
    .forget-password .login-form-header a {
        font-size: 18px;
        font-weight: 500;
        color: #8d8f95;
        position: relative;
        text-decoration: none;
    }
    .login .login-form form button,
    .register .register-form form button,
    .forget-password .forget-form form button,
    form button {
        font-size: 18px;
        font-weight: 500;
    }
    .login .login-header p,
    .register .register-header p,
    .forget-password .forget-password-header p,
    .reset-password .reset-password-header p {
        font-size: 18px;
        font-weight: 500;
    }
    .forget-password .forget-password-header,
    .reset-password .reset-password-header {
        gap: 20px;
    }

    .forget-password .forget-form,
    .reset-password .reset-form {
        gap: 40px;
    }

    .record__message {
        cursor: pointer;
        width: 40px;
        height: 40px;
    }

    .login .login-form .login-links .col p,
    .register .register-form .register-links .col p {
        font-weight: 500;
    }

    .record__message img {
        width: 20px;
        height: 15px;
    }

    .send__message__input .input {
        height: 40px;
    }

    .cutom-mka-tabs {
        width: 90%;
    }

    section.about__us {
        margin-top: 50px;
    }

    .money-add-item label {
        font-size: 17px;
    }

    #num-error,
    #bank-error,
    #name-error {
        top: -20px;
        font-size: 13px !important;
    }

    .nav-property-cards h1 {
        font-size: 25px;
    }
}

@media (max-width: 650px) {
    .all__services {
        margin-bottom: 50px;
    }

    .card__servises {
        width: 100%;
        height: auto;
    }

    .services__img {
        height: 250px;
        overflow: hidden;
        border-radius: 10px;
    }

    .services__img img {
        object-fit: cover;
    }

    .money-add-item label {
        color: var(--primary2);
        font-size: 17px;
    }

    .contact__us__info {
        position: relative;
        left: 0;
        width: 0;
        width: 100%;
    }

    section.contact__info {
        margin-top: 50px;
    }

    .contact__us__img {
        height: 480px;
    }

    .blog {
        width: 100%;
    }

    .blog__search {
        margin-bottom: 30px;
    }

    .retreat__card {
        width: 100%;
    }

    .retreat__search {
        flex-direction: column;
        gap: 30px;
    }

    .retreat__search .input {
        width: 100%;
    }

    .search__filter {
        width: 100%;
    }

    .retreats__count {
        flex-direction: column-reverse;
        gap: 30px;
    }

    .grid__img__container {
        grid-template-rows: repeat(2, 100px);
    }

    .grid__img__container .show-more {
        font-size: 10px;
        right: 10px;
        bottom: 10px;
        padding: 10px 5px;
    }

    .retreat__imgs__haeder__links {
        flex-direction: column;
        width: 100%;
    }

    .retreat__imgs__haeder__links .retreat__link {
        width: 100%;
    }

    .retreat__details__section p {
        font-size: 15px;
    }

    .retreat__details__section .icons {
        flex-wrap: wrap;
        row-gap: 10px;
    }

    .retreat__details__section .features__container {
        gap: 10px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .notification {
        flex-direction: column;
        position: relative;
    }

    .notification .delete_note {
        position: absolute;
        top: 20px;
        left: 20px;
    }

    .notification .img {
        margin-left: auto;
        width: 40px;
        height: 40px;
    }

    .notification .img img {
        width: 25px;
        height: 25px;
    }

    .rating__card__content {
        flex-direction: column;
    }

    .paymen-user-way-add {
        flex-direction: column;
        text-align: center;
    }

    .paymen-user-way-add .frm__btn {
        width: 100%;
        margin-top: 20px;
    }

    .contact__us__info h3 span {
        font-size: 12px;
    }

    .contact__us__info p {
        text-align: center;
    }

    .forget-form form .input-check-code {
        padding: 0 10px;
        gap: 5px;
    }
    .forget-form form .input-check-code input {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }

    .forget-password .forget-password-header p:last-child {
        text-align: center;
    }
    .login .login-header {
        flex-wrap: wrap;
        align-items: center;
    }
    .login .login-header p {
        text-align: center;
        line-height: 1.8;
    }

    .our__message .row {
        flex-direction: column-reverse;
    }

    .our__vision p {
        font-size: 16px;
        text-align: center;
    }

    .our__vision h2 {
        text-align: center;
    }

    .our__vision .img {
        margin-left: auto;
        margin-right: auto;
    }

    .section__img {
        margin-top: 60px;
        margin-left: auto;
    }

    .make__pagination .nums .num {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .make__pagination .icon {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .make__pagination {
        gap: 15px;
    }

    .make__pagination .nums {
        gap: 5px;
    }

    .chat__content {
        flex-direction: column;
    }

    .product {
        width: 100%;
    }

    #contactSlider {
        display: none;
    }

    .property-list .list-nav .nav-card .card-header {
        flex-direction: column;
    }

    .our__vision p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 10;
        line-clamp: 5;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: normal;
    }
}

@media (max-width: 576px) {
    .img-hero {
        width: 322px;
        bottom: -105px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    .sub-counter-header {
        width: 90px;
        height: 90px;
        top: 0;
    }
    .num-counter {
        font-size: 12px;
    }
    .sub-counter-header img {
        width: 30px;
    }
    h1 {
        font-size: 28px;
    }
    .text-hero h2 {
        font-size: 17px;
    }
    .search-header {
        margin: 25px 0;
        position: relative;
        width: 100%;
    }

    .logo {
        width: 65px;
    }
    .btn-user {
        min-width: 45px;
        height: 45px;
        font-size: 21px;
    }
    .num-user {
        top: 3px;
        left: 4px;
    }
    .nav-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 25px;
        background-color: var(--color-white);
        padding: 20px 15px;
        border-radius: 25px;
        box-shadow: 0 2px 6px #0e202c17;
    }
    h3 {
        font-size: 14px;
        margin: 0;
    }
    .links-tabs-product ul a img {
        max-width: 23px;
    }
    .element-footer ul li a {
        font-size: 15px;
    }
    .element-footer h2 {
        margin-top: 25px;
    }
    .title-center h2 {
        font-size: 20px;
    }
    .title-center {
        text-align: center;
        margin: 20px !important;
        margin-bottom: 40px;
    }

    .end-page {
        background-color: var(--color-Primary1);
        margin-top: 55px;
        padding: 15px 0;
        text-align: center;
    }
    .end-page a,
    .end-page p {
        color: var(--color-white);
        font-size: 15px;
        margin: 5px auto;
    }
    .sub-features-index h2 {
        font-size: 16px;
    }
    .mr-section {
        margin: 40px 0;
    }
    .pg-section {
        padding: 40px 0;
    }

    .img__des {
        font-size: 13px;
    }

    .about__us__img {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 150px);
        grid-gap: 10px;
    }
    .forget-form form .input-check-code {
        padding: 0px;
        gap: 5px;
    }
    .forget-form form .input-check-code input {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .login .login-form .login-links .row,
    .register .register-form .register-links .row {
        gap: 15px;
        margin: 20px 0px 0;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
    }

    .login .login-form .login-links .col,
    .register .register-form .register-links .col {
        padding: 19px 0;
    }

    .msg__wave {
        width: 150px;
    }

    .recorded__sende__msg .send__wave__msg {
        width: 150px;
    }

    .voice__Message .waveform {
        width: 170px;
    }

    .people__chats {
        height: auto;
    }

    .people__chats.show {
        height: 300px;
    }

    .people_header {
        cursor: pointer;
    }

    .card__servises p {
        -webkit-line-clamp: none;
        line-clamp: none;
    }

    section.contact__info .main-container {
        width: 95%;
    }
    .property-list .list-nav .nav-card .img-container img {
        height: 220px;
    }

    .offer-description {
        flex-direction: column;
        align-items: start;
    }

    .offer-description h3 {
        text-align: right;
    }

    .add__photo {
        width: calc(100% / 2 - 10px);
    }

    #num-error,
    #bank-error,
    #name-error {
        top: 75px;
        right: 0;
    }

    #name-error {
        right: 0;
    }

    .money-add-item label {
        margin-top: 15px;
    }

    .offcanvas-header h3 {
        font-size: 17px;
    }

    .offcanvas .offcanvas-header button {
        font-size: 10px;
    }

    .about__us__text p {
        text-align: justify;
    }
}

@media (max-width: 425px) {
    .property__desc form input[type="submit"] {
        height: 50px;
        width: 179px;
    }

    .about__us__img .img {
        width: 100%;
    }

    .about__us__img .img:nth-child(2) {
        width: 100%;
    }

    .about__us__img .img:nth-child(3) {
        width: 100%;
    }

    .img__des {
        width: 100%;
    }

    .our__message .section__img {
        margin-right: auto;
        margin-bottom: 30px;
    }

    .contact__us__info a .img {
        width: 35px;
        height: 35px;
    }

    .contact__us__info h3 {
        font-weight: 400;
    }

    .contact__us__info a {
        gap: 5px;
    }

    .contact__us__info h2 {
        text-align: center;
    }

    .search__result {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .offcanvas.offcanvas-start.show {
        width: 300px;
    }

    .retreat__kind__inputs .input {
        width: 100%;
    }

    .retreat__kind__inputs label {
        width: 100%;
    }

    .frm__btns {
        flex-wrap: wrap;
    }

    .frm__btns button {
        width: 100%;
    }

    .grid__img__container {
        grid-template-rows: repeat(2, 70px);
    }

    .sub__header a {
        font-size: 11px;
    }

    .sub__header p {
        font-size: 11px;
    }

    .ctm-btn {
        padding: 14px 12px;
        font-size: 14px;
    }

    .navicon {
        width: 25px;
    }

    .sub__header span {
        font-size: 10px;
    }

    .rent-property .rent {
        flex-direction: column;
    }

    #map {
        height: 300px !important;
    }

    .retreat__search {
        gap: 0;
    }

    .retreats__count p {
        font-size: 16px;
    }
}

@media (max-width: 376px) {
    .retreat__title {
        flex-direction: column;
    }

    .property-list .list-nav .nav {
        width: 100%;
    }

    .property-profile .property-list .nav button {
        width: 45%;
        font-size: 14px;
    }
    .rent-property .rent.renter-details {
        flex-direction: column;
        align-items: start;
    }

    .forget-form form .input-check-code input {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    .login .login-form,
    .register .register-form,
    .logOut .logOut-form,
    .forget-password .forget-form,
    .reset-password .reset-form {
        padding: 30px 25px;
    }

    .property-profile aside .profile-header img {
        width: 50px;
        height: 50px;
    }

    .property-profile aside {
        padding: 20px 5px;
        margin-bottom: 30px;
    }

    .property-profile {
        margin-top: 0;
    }

    .img-hero {
        width: 250px;
        bottom: -105px;
    }

    .nav-bar .logo {
        width: 70px;
    }

    .ctm-btn {
        padding: 14px 12px;
        font-size: 14px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-bar .logo {
        width: 45px;
    }

    .btn-nav-bar {
        gap: 5px;
    }

    .contact__us__info a {
        flex-direction: column;
    }

    .contact__us__info {
        padding: 20px 5px;
    }

    .rent-property .rent p {
        width: 100%;
    }

    .confirm__card ul li {
        flex-direction: column;
        text-align: right;
    }

    .property__desc p {
        width: 100%;
    }

    .confirm__card ul li span {
        display: block;
        width: 100%;
    }
}

@media (max-width: 320px) {
    .add__photo {
        height: 120px;
    }
}
