@media only screen and (min-width: 641px) {

    .gform_wrapper.gravity-theme .gfield.gf_list_2col .gfield_checkbox,
    .gform_wrapper.gravity-theme .gfield.gf_list_2col .gfield_radio {
        display: flex !important;
        gap: 10px;
    }

    .gform_wrapper.gravity-theme .gfield.gf_list_2col .gfield_radio br {
        display: none !important;
    }

    .gform_wrapper.gravity-theme .gfield.gf_list_2col .gfield_radio .gchoice {
        display: flex !important;
    }

    .gform_wrapper.gravity-theme .gfield.gf_list_2col .gfield_radio .gchoice .gchoice_other_control {
        display: inline-block !important;
        padding: 5px 10px !important;
        margin-top: 0 !important;
    }
}

@media(min-width:1025px) {

    /*----------  Genral  ----------*/
    a:hover {
        color: var(--green);
        text-decoration: none;
        outline: none !important;
    }

    .slick-arrow.slick-disabled:hover::before {
        background-color: #fff;
        color: #eaeacc;
    }

    /*----------  Back To Top  ----------*/
    .back-to-top:hover {
        transform: scale(1.1);
        bottom: 85px;
        cursor: pointer;
        background: var(--green);
    }

    .back-to-top:hover>.arrow {
        transform: translateY(-150%) translateX(-50%);
        opacity: 0;
    }

    .back-to-top:hover>.text {
        transform: translateY(-50%) translateX(-50%);
        opacity: 1;
    }

    /*----------  Button  ----------*/
    .btn:hover {
        background-color: transparent;
        border-color: var(--green);
        color: var(--green);
    }

    /*----------  Header  ----------*/
    .header-nav ul li.sub-menu:hover .sub-menu,
    .header-nav ul .mega-menu:hover>ul {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }

    .header-nav ul a:hover {
        color: var(--gray);
    }

    .header-nav ul li:hover .icon-arrow::before {
        transform: translateY(30%) rotate(-45deg);
    }

    .header-nav-wrap>ul>li>a::before {
        content: '';
        left: 50%;
        bottom: 10px;
        position: absolute;
        width: 0;
        transform: translateX(-50%);
        height: 1px;
        background-color: #000;
        transition: .4s all ease-in-out;
    }

    .header-nav-wrap>ul>li:hover>a::before {
        width: calc(100% - 2.3rem);
    }

    .header-nav ul .sub-menu ul a:hover {
        background-color: #f5f5f5;
    }

    .header-nav ul .mega-menu .sub-menu ul a:hover {
        background-color: transparent;
        font-weight: 500;
    }

    .header-nav-wrap>ul>.current-menu-item>a::before {
        content: '';
        left: 50%;
        bottom: 10px;
        position: absolute;
        width: calc(100% - 2.3rem);
        transform: translateX(-50%);
        height: 1px;
        background-color: #000;
    }

    /*----------  Footer  ----------*/
    .footer .footer-nav li:hover a {
        color: var(--yellow);
        margin-left: 10px;
    }

    .footer .social-icons a:hover {
        opacity: 0.7;
    }

    .project-list-item:hover .project-list-item-thumb img {
        transform: scale(1.05);
    }

    .project-list-item:hover .project-list-item-button {
        color: #000;
        border-color: #000;
        font-weight: 500;
    }
}

@media(max-width:1699px) {
    .language-wrap {
        position: unset;
        transform: none;
    }
}

@media(max-width:1499px) {
    .hero-title {
        font-size: 50px;
    }

    .hero-sub-title {
        font-size: 36px;
    }

    .sec-title,
    .property-cms h2 {
        font-size: 40px;
    }

    .header-nav ul li .icon-arrow {
        right: 5px;
    }


    .brand-head .img-box {
        width: 50px;
    }

    .retails-brand-box .img-box {
        width: 50px;
    }

    .retails-brand-title {
        font-size: 20px;
    }

    .retails-brand-box {
        height: calc(160px - 10px);
    }
}

@media(max-width:1399px) {
    .header-nav ul li .icon-arrow {
        right: 0;
    }

    .header-nav ul a {
        padding: 15px 15px;
    }
}

@media(max-width:1199px) {
    .header-nav {
        position: fixed;
        inset: 0;
        transform: translateX(-100%);
        transition: .6s all ease-in-out;
        z-index: 9;
    }

    .header-nav-wrap {
        position: relative;
        background-color: var(--cream);
        max-width: 450px;
        z-index: 10;
        height: 100vh;
        overflow: auto;
    }

    .nav-overlay {
        background-color: rgba(0, 0, 0, 0.4);
        position: fixed;
        inset: 0;
        z-index: 15;
        transform: translateX(-100%);
        transition: .4s all ease-in-out;
    }

    .nav-open .nav-overlay {
        transform: translateX(0%);
    }

    .nav-open .header-nav {
        transform: translateX(0%);
    }

    .header-nav-wrap>ul {
        display: flex;
        flex-direction: column;
        align-items: unset;
        border-top: 1px solid #ccc;
    }

    .header-nav-wrap>ul>li>a {
        border-top: 1px solid #ccc;
    }

    .header-nav-wrap>ul>li:last-child>a {
        border-bottom: 1px solid #ccc;
    }

    .header-nav-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
    }

    .header-nav-toggle-btn {
        width: 30px;
        background-color: transparent;
        border-color: transparent;
        margin-left: 0;
        position: relative;
    }

    .header-nav-toggle-btn span {
        display: block;
        width: 80%;
        height: 2px;
        background-color: var(--green);
        border-radius: 2px;
        margin-bottom: 6px;
    }

    .header-nav-toggle-btn span:last-child {
        margin-bottom: 0;
    }

    .header-nav-toggle-btn span:nth-child(2) {
        width: 100%;
    }

    .header-nav-btn-close {
        width: 30px;
        height: 20px;
    }

    .header-nav-btn-close span {
        width: 100%;
        background-color: var(--green);
    }

    .header-nav-btn-close span:nth-child(1) {
        transform: rotate(45deg) translateY(5px);
    }

    .header-nav-btn-close span:nth-child(2) {
        transform: rotate(-45deg) translateY(-6px);
    }

    .header-logo-wrap {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .header-logo {
        display: inline-block;
    }

    .header-nav ul li .icon-arrow {
        width: 40px;
        height: 40px;
        padding: 15px;
        transform: unset;
        top: 9px;
    }

    .header-nav ul li .icon-arrow::before {
        transform: rotate(45deg) translateY(3px);
    }

    .header-nav ul li .icon-arrow.expanded::before {
        transform: rotate(135deg) translateY(3px);
    }

    .header-nav ul li.sub-menu ul.sub-menu,
    .header-nav ul .mega-menu>ul {
        display: none;
        position: unset;
        border-top: none;
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
        width: 100%;
        padding-block: 10px;
        padding-left: 10px;
        transition: none;
    }

    .header-nav ul .mega-menu>ul .icon-arrow {
        display: unset;
        height: 34px;
        padding-block: 12px;
        top: 0;
    }

    .header-nav ul .mega-menu>ul .three-col li {
        width: 100%;
    }

    .header-nav ul .mega-menu>ul .three-col ul,
    .header-nav li ul {
        display: none;
        height: auto !important;
    }

    .header-nav-wrap .current-menu-item>a {
        font-weight: 500;
    }

    /*----------  Home  ----------*/
    .hero-slide {
        height: 50vh;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-description {
        left: 30px;
    }

    .why-town-sec .row {
        --bs-gutter-x: 30px;
    }

    /*----------  About Sec  ----------*/
    .page-hero-sec {
        height: 50vh;
        min-height: 400px;
    }

    .error-wrapper,
    .thank-you-wrapper {
        max-height: 650px;
    }

    .project-featured-item,
    .community-features-item {
        flex: 0 0 33.33%;
    }

    .project-featured-item:nth-child(3n+1) {
        border-left: 0;
    }

    .project-featured-item:nth-child(4n),
    .project-featured-item:nth-child(5n),
    .project-featured-item:nth-child(6n) {
        border-top: 1px solid #c9c3bb;
    }

    .customer-portal-sec {
        height: 60vh;
    }

    .cms-con,
    .why-town-box,
    .upcoming-event-text {
        font-size: 16px;
    }

    .why-town-title {
        font-size: 26px;
    }

    .header-nav ul .mega-menu>ul>li ul {
        padding-left: 10px;
    }


    .header-nav ul .mega-menu>ul>li ul li {
        width: 48% !important;
        display: inline-block;
        vertical-align: top;
    }

    .header-nav ul .mega-menu>ul .three-col li {
        width: 48% !important;
    }

    .cs-gallery-dt-head .h1,
    .cs-gallery-dt-head h1 {
        font-size: 30px !important;
    }

    .retails-brand-boxes .modal-content {
        margin: 0 20px;
    }
}

@media(max-width:991px) {

    /*----------  About Sec  ----------*/
    .about-sec nav .nav-tabs {
        justify-content: start;
    }

    .about-img-box {
        max-width: 500px;
        margin: auto;
        padding-left: 0;
    }

    .about-content-box .cms-con {
        font-size: 14px;
    }

    .facility-box {
        text-align: center;
    }

    .facility-box img {
        margin: auto;
    }

    .community-features-content {
        padding-top: 30px;
    }

    .community-features-img-box {
        max-width: 500px;
        margin: auto;
    }

    .header-logo {
        width: 80px;
    }

    .is-sticked .header-logo {
        width: 80px;
    }

    .nashama-logo,
    .is-sticked .nashama-logo {
        width: 140px;
    }

    .why-town-img-box {
        width: 60px;
        height: 60px;
    }

    .contact-sec nav ul {
        justify-content: start;
    }

    .hero-sub-title {
        font-size: 30px;
    }

    .hero-info-text {
        font-size: 26px;
    }

    .sec-title,
    .property-cms h2 {
        font-size: 30px;
    }

    .hero-title {
        font-size: 36px;
        max-width: 500px;
    }

    .enquiry-popup-in {
        min-height: 500px !important;
    }

    .notification-content {
        font-size: 14px !important;
    }

    .notification-title {
        font-size: 18px !important;
    }

    .float.open .p-whatsapp a {
        height: 50px;
        width: 50px;
        padding: 10px
    }

    .float .actions .p-info:nth-child(1) {
        transform: translateY(-170px)
    }

    .float .actions .p-info:nth-child(2) {
        transform: translateY(-230px)
    }

    .float .actions .p-info:nth-child(3) {
        transform: translateY(-290px)
    }

    .float .trigger {
        width: 50px;
        height: 50px;
        padding: 10px
    }

    .float.open .trigger {
        padding: 14px
    }

    .float {
        bottom: 20px;
        right: 14px;
    }


}

@media(max-width:767px) {
    .header {
        padding-block: 10px;
    }

    .header-logo img {
        max-height: 30px;
    }

    .header-nav-toggle-btn span {
        background-color: var(--green);
    }

    .hero-slide {
        height: 400px;
    }

    .hero-content-box {
        justify-content: center;
    }

    .hero-title {
        margin: unset;
    }

    .hero-description {
        position: unset;
        text-align: center;
        margin-top: 10px;
    }

    .page-hero-sec {
        height: 50vh;
        min-height: 350px;
    }

    /*----------  About Us  ----------*/
    .about-sec .nav-link {
        padding-inline: 10px;
        font-size: 16px;
    }

    .error-wrapper,
    .thank-you-wrapper {
        min-height: 350px;
        max-height: 450px;
    }

    .gform_wrapper.gravity-theme .gfield.gfield--width-full {
        margin-top: 6px;
    }

    .floorplan-map>svg {
        margin-left: 0;
    }

    .floorplan-block .nav,
    .reatil-stores-map .nav {
        justify-content: center;
        margin-top: 20px;
        gap: 10px;
    }

    .floorplan-block .nav-link,
    .reatil-stores-map .nav-link {
        font-size: 16px;
    }

    .floorplan-tab-cl {
        margin-bottom: 30px;
        margin-right: 0;
    }

    .hero-title {
        font-size: 28px;
    }

    .cms-con,
    .why-town-box,
    .project-list-item-content,
    .upcoming-event-text {
        font-size: 14px;
    }

    .cms-con :is(ul, ol) :is(li) {
        font-size: 14px;
    }

    .footer-nav a {
        padding-block: 3px;
    }

    .why-town-title {
        font-size: 22px;
    }

    .enquiry-popup-r {
        padding: 20px !important;
    }

    body .gform-field-label {
        font-size: 14px !important;
    }

    .enquiry-popup-in .h2,
    .enquiry-popup-in h2 {
        margin-bottom: 0px;
    }

    .about-wrap .common-sec {
        padding-top: 20px !important;
    }

    .contact-wrap-head,
    .contact-wrap-map {
        display: block;
        width: 100%;
        display: inline-block;
        vertical-align: middle;
    }
}

@media only screen and (max-width: 641px) {
    .gform_wrapper.gravity-theme input:not([type=radio]):not([type=checkbox]):not([type=image]):not([type=file]) {
        line-height: 1 !important;
    }
}

@media(max-width:568px) {
    .header .row {
        --bs-gutter-x: 0;
    }

    .header-logo {
        max-width: 90px;
        width: auto;
    }

    .header-nav-wrap .header-logo {
        max-width: 120px;
    }

    .sticky-button-item {
        font-size: 20px;
    }

    .sticky-button-item span {
        display: none;
    }

    .cs-gallery-dt-head .h1,
    .cs-gallery-dt-head h1 {
        font-size: 26px !important;
    }

    .cms-con ul li:before {
        width: 8px;
        height: 8px;
        top: 4px;
    }

    .header-logo.nashama-logo {
        width: 120px;
        max-width: 120px;
    }

    .about-sec .nav-tabs {
        justify-content: start;
    }

    .project-featured-item,
    .community-features-item {
        flex: 0 0 50%;
    }

    .project-featured-item:nth-child(3n) {
        border-top: 1px solid #c9c3bb;
    }

    .project-featured-item:nth-child(3n+1) {
        border-left: 1px solid #c9c3bb;
    }

    .project-featured-item:nth-child(2n+1) {
        border-left: 0;
    }

    .language-wrap .js-wpml-ls-item-toggle.wpml-ls-item-toggle {
        padding: 9px 12px;
    }

    .language-wrap .js-wpml-ls-item-toggle.wpml-ls-item-toggle span {
        width: 0ch;
    }

    .mobile-video {
        display: none;
    }

    .desktop-video {
        display: block;
    }

    .hero-sub-title {
        font-size: 24px;
    }

    .hero-info-text {
        font-size: 20px;
    }

    .sec-title,
    .property-cms h2 {
        font-size: 26px;
        line-height: 1.1;
    }

    .floorplan-tab-cl-item {
        font-size: 16px !important;
    }

    .floorplan-tab-cl .slick-slide {
        padding: 0 8px !important;
    }

    .floorplan-tab-cl .slick-arrow {
        width: 30px !important;
        height: 30px !important;
    }

    .floorplan-tab-cl {
        margin-bottom: 40px !important;
    }

    .language-wrap {
        position: unset;
    }

    .retails-brand-boxes .modal-content {
        margin: 0;
    }

    .brand-head .img-box {
        width: 40px;
    }

    .retails-brand-title {
        font-size: 16px;
    }

    .brand-head .retails-brand-title {
        padding-left: 10px;
    }

    .retails-brand-boxes .modal-content {
        padding: 15px;
    }

    .retails-brand-box .img-box {
        width: 40px;
    }

    .retails-brand-box {
        height: calc(100% - 10px);
        padding: 10px;
    }

    .retails-brand-boxes .modal-body {
        padding: 15px;
    }

    .retails-brand-boxes .btn-close {
        width: 15px;
        height: 15px;
        padding: 4px;
    }

    .floorplan-map {
        height: 190px;
    }

    .about-sec #nav-gallery .sec-head {
        justify-content: start;
    }

    .community-features-slider .slick-dots li button,
    .construction-update-slider .slick-dots li button {
        width: 12px;
    }
}

@media(max-width:390px) {

    .about-sec .nav-link {
        font-size: 14px;
    }
}

@media (min-width: 1199px) and (max-width: 1550px) {

    .header-logo {
        width: 90px !important;
    }

    .nashama-logo {
        width: 140px !important;
    }

    .header-nav ul a,
    .header-nav ul ul a {
        font-size: 16px;
    }

    .header-nav ul .sub-menu>a,
    .header-nav ul .mega-menu>a {
        padding-right: 20px;
    }

    .hero-title {
        font-size: 42px;
        max-width: 600px;
    }

    .common-sec {
        padding-block: 50px;
    }

    .header-nav ul .mega-menu>ul ul li a {
        font-size: 16px;
    }

    .header-nav ul .mega-menu>ul>li a {
        font-size: 18px;
    }

    .hero-sub-title {
        font-size: 26px;
    }

    .hero-info-text {
        font-size: 22px;
    }

    .sec-title,
    .property-cms h2 {
        font-size: 30px;
    }

    .page-banner-content .h1,
    .page-banner-content h1 {
        font-size: 30px;
    }

    .page-banner-slider-item {
        min-height: 90vh !important;
    }

    .sec-head {
        margin-bottom: 15px;
    }

    .notification-title {
        font-size: 18px !important;
    }

    .notification-sec {
        max-width: 370px !important;
        left: 15px !important;
        bottom: 15px !important;
    }

    .notification-content {
        font-size: 14px !important;
    }

    .page-hero-sec {
        height: 85vh;
        min-height: 33.75rem;
    }

    .mortgage-calculator-sec {
        padding-block: 0 !important;
        transform: scale(.9);
    }

    .page-hero-title {
        font-size: 40px;
    }

    .page-hero-sub-title {
        font-size: 30px;
    }

    .about-img-box img {
        aspect-ratio: 1 / 1;
        object-position: top;
    }

    .about-content-box .sec-title {
        font-size: 26px;
    }

    .cms-con {
        margin-bottom: 15px;
    }

    .about-content-box .sec-head {
        margin-bottom: 20px;
    }

    .accordion-button {
        font-size: 20px;
        padding: 10px;
    }

    .upcoming-event-button {
        font-size: 18px;
    }

    .contact-sec nav ul li a {
        font-size: 16px;
        padding: 15px 20px;
    }

    .facility-box img {
        width: 40px;
        height: 40px;
    }

    .location-frame-wrap {
        margin-top: 20px;
    }

    .location-frame-wrap img {
        width: 100%;
        aspect-ratio: 1/0.4;
        object-fit: cover;
        object-position: bottom;
    }

    .welcome-town-square-sec .cms-con,
    .project-head .cms-con {
        max-width: 700px;
        margin: auto;
    }

    .facility-title {
        font-size: 20px;
        margin-top: 10px;
    }

    .floorplan-tab-cl-item {
        font-size: 16px !important;
    }

    .facility-text {
        font-size: 16px;
    }

    .sticky-button-item {
        font-size: 20px;
    }

    .project-list-item-title {
        font-size: 20px;
    }

    .project-list-item-content {
        font-size: 14px;
    }

    .project-list-item-button {
        font-size: 16px;
    }

    .project-featured-title {
        font-size: 16px;
    }

    .cms-con ul li:before {
        width: 8px;
        height: 8px;
    }

    .bank-details-content .cms-con p {
        font-size: 18px;
    }

    .notification-sec {
        padding: 20px;
    }

    .cms-con :is(ul, ol) :is(li) {
        font-size: 16px;
    }

    .about-sec .nav-link {
        font-size: 16px;
        padding: 15px;
    }

    .is-sticked .header {
        padding-block: 8px;
    }

    .header-nav ul .mega-menu>ul {
        max-width: 1180px;
        left: -250px;
    }

    .aed-item {
        font-size: 18px;
    }

    .reatil-stores-text {
        font-size: 20px;
    }

    .why-town-title {
        font-size: 22px;
    }

    .why-town-content-box p {
        font-size: 16px;
    }

    .footer {
        padding-block: clamp(1.875rem, .252rem + 5.195vw, 3.375rem) clamp(.938rem, .329rem + 1.948vw, 0.875rem);
    }

    .footer-nav {
        margin-top: 10px;
    }

    .footer-nav a {
        font-size: 14px;
        padding-bottom: 1px;
    }

    .footer-logo {
        max-width: 160px;
    }

    .social-icons {
        margin-block: 15px;
    }

    .container {
        max-width: 80% !important;
    }

    .mortgage-calculator-sec .container {
        max-width: 100% !important;
    }

    .facility-head .cms-con {
        max-width: 700px;
        margin: auto;
    }

    .header .container {
        max-width: 90% !important;
    }

    .hero-description {
        left: 50px;
    }

    .cms-con,
    .why-town-box,
    .upcoming-event-text {
        font-size: 16px;
    }

    .why-town-img-box {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }

    .copyright-text {
        margin-top: 20px;
        font-size: 14px;
    }

    .btn {
        min-width: 120px;
        padding: 10px 20px;
        font-size: 16px;
    }

    .gform_button.button {
        padding: 10px 35px;
        font-size: 18px !important;
    }

    .enquiry-popup.style-2 {
        max-width: 50.25rem !important;
    }

    .enquiry-popup-in,
    #mortgageOffers .enquiry-popup-in {
        min-height: 500px !important;
    }

    .mortgage-calculator-wrap .sec-head h2 {
        font-size: 30px !important;
    }

    .calc-result {
        padding: 10px !important;
        margin-left: 5% !important;
    }

    body .gform-field-label {
        font-size: 14px !important;
    }

    .enquiry-popup-r {
        padding: 20px !important;
    }

    .location-sec .sec-head {
        margin-bottom: 20px;
    }

    .contact-map-wrap {
        overflow: hidden;
    }

    .past-event-title {
        font-size: 18px;
    }

    .past-event-title::after {
        width: 10px;
        height: 10px;
    }

    .floorplan-tab-cl .slick-arrow {
        width: 30px !important;
        height: 30px !important;
    }

    .floorplan-tab-cl {
        margin-bottom: 40px !important;
    }

    div.floorplan-prop-item {
        width: 280px;
        padding: 10px;
    }

    /*div.floorplan-prop-item .fpi-thumb{
        height: 170px;
    }*/
    .propertyName {
        font-size: 18px !important;
    }


    .retails-brand-boxes .modal-dialog {
        max-width: 60%;
    }

    .float .trigger {
        width: 50px;
        height: 50px;
    }

    .float.open .p-whatsapp a {
        width: 50px;
        height: 50px;
    }

    .blog-entry-content .h2,
    .blog-entry-content h2 {
        margin-top: 40px !important;
        margin-bottom: 40px !important;
        font-size: 30px !important;
    }

    .blog-entry-content .wp-block-table,
    .blog-entry-content p,
    .blog-entry-content ul {
        font-size: 16px !important;
        margin-bottom: 10px !important;
    }

    .hero-sec .slick-dots li button {
        width: 50px;
    }
}